Skip to content

SQL-021: Insert CUSTOMER_GROUP for mdlCustomerContact

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

Classification

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

Parameters

Parameter Direction Type Max length Description
:CustomerID Input Decimal N/A Customer primary key
:GroupAssociationCode Input String 5 Group association code

Tables

Table Access Columns used
CUSTOMER_GROUP INSERT COMPANY_SEQ_NUM, GROUP_ASSOCIATION_CODE

Sample SQL

INSERT INTO CUSTOMER_GROUP (COMPANY_SEQ_NUM, GROUP_ASSOCIATION_CODE) VALUES (:CustomerID, :GroupAssociationCode)

Operations and processes

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

Sources

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