Skip to content

SQL-007: Insert PERSON_PHONE for clsContactPhoneCollection

This statement supports clsContactPhoneCollection by executing a create operation against PERSON_PHONE.

Classification

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

Parameters

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

Tables

Table Access Columns used
PERSON_PHONE INSERT PERSON_SEQ_NUM, PHONE_SEQ_NUM

Sample SQL

Insert into Person_Phone ( Person_SEQ_NUM, Phone_SEQ_NUM ) Values ( :ContactID, :PhoneID)

Operations and processes

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

Sources

  • Business\SAIF.Business.CustomerContact\Contact\clsContactPhoneCollection.vb