Skip to content

SQL-024: Insert CUSTOMER_PROVIDER for mdlCustomerContact

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

Classification

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

Parameters

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

Tables

Table Access Columns used
CUSTOMER_PROVIDER INSERT COMPANY_SEQ_NUM, PROVIDER_SEQ_NUM

Sample SQL

INSERT INTO CUSTOMER_PROVIDER (COMPANY_SEQ_NUM, PROVIDER_SEQ_NUM) VALUES (:CustomerID, :ProviderID)

Operations and processes

Business rules

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

Sources

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