Skip to content

SQL-013: Insert COMPANY_PHONE for clsCustomerPhoneCollection

This statement supports clsCustomerPhoneCollection by executing a create operation against COMPANY_PHONE.

Classification

Field Value
SQL ID SQL-013
Operation type Create
Execution method Inline
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsCustomerPhoneCollection
Criteria property InsertSQL
Lifecycle method BeforeInsert

Parameters

Parameter Direction Type Max length Description
:CustomerID Input Decimal N/A Customer primary key
:PhoneID Input Decimal N/A Phone primary key

Tables

Table Access Columns used
COMPANY_PHONE INSERT COMPANY_SEQ_NUM, PHONE_SEQ_NUM

Sample SQL

Insert into COMPANY_Phone ( COMPANY_SEQ_NUM, Phone_SEQ_NUM ) Values ( :CustomerID, :PhoneID)

Operations and processes

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

Sources

  • Business\SAIF.Business.CustomerContact\Customer\clsCustomerPhoneCollection.vb