Skip to content

SQL-059: Read CUSTOMER_PROVIDER for mdlCustomerContact

This statement supports mdlCustomerContact by executing a read operation against CUSTOMER_PROVIDER.

Classification

Field Value
SQL ID SQL-059
Operation type Read
Execution method Inline via SqlHelper.ScalarQuery
Database Oracle
Schema [unqualified]**
Command type Text
Business object mdlCustomerContact
Criteria property GetCustomerIDForProvider
Lifecycle method GetCustomerIDForProvider

Parameters

Parameter Direction Type Max length Description
:ProviderID Input Decimal N/A Provider sequence number

Tables

Table Access Columns used
CUSTOMER_PROVIDER SELECT See sample SQL**

Sample SQL

Select company_seq_num from customer_provider where provider_seq_num = :ProviderID

Operations and processes

Note: Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business\SAIF.Business.CustomerContact\mdlCustomerContact.vb