Skip to content

SQL-004: Insert PERSON_ADDRESS for clsContactAddressCollection

This statement supports clsContactAddressCollection by executing a create operation against PERSON_ADDRESS.

Classification

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

Parameters

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

Tables

Table Access Columns used
PERSON_ADDRESS INSERT ADDRESS_SEQ_NUM, PERSON_SEQ_NUM

Sample SQL

Insert into Person_ADDRESS ( Person_SEQ_NUM, ADDRESS_SEQ_NUM ) Values ( :ContactID, :AddressID)

Operations and processes

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

Sources

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