Skip to content

SQL-025: Insert CUSTOMER_SOURCE for mdlCustomerContact

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

Classification

Field Value
SQL ID SQL-025
Operation type Create
Execution method Inline via SqlHelper.DataQuery
Database Oracle
Schema [unqualified]**
Command type Text
Business object mdlCustomerContact
Criteria property GetCustomerIDForRTW
Lifecycle method GetCustomerIDForRTW

Parameters

Parameter Direction Type Max length Description
:CustomerID Input Decimal N/A Customer primary key
:RTWLoadCode Input String 5 RTW load code

Tables

Table Access Columns used
CUSTOMER_SOURCE INSERT COMPANY_CODE, COMPANY_SEQ_NUM, SOURCE_SYSTEM_ID

Sample SQL

INSERT INTO CUSTOMER_SOURCE (COMPANY_SEQ_NUM, COMPANY_CODE, SOURCE_SYSTEM_ID) VALUES (:CustomerID, 'RTW', :RTWLoadCode)

Operations and processes

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

Sources

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