Skip to content

SQL-055: Read CUSTOMER_SOURCE for mdlCustomerContact

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

Classification

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

Parameters

Parameter Direction Type Max length Description
:WorkerID Input String 30 Worker identifier

Tables

Table Access Columns used
CUSTOMER_SOURCE SELECT See sample SQL**

Sample SQL

Select company_seq_num from CUSTOMER_SOURCE where source_system_id = :WorkerID and company_code = 'WORK'

Operations and processes

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

Sources

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