Skip to content

SQL-011: Insert COMPANY_EMAIL for clsCustomerEmailCollection

This statement supports clsCustomerEmailCollection by executing a create operation against COMPANY_EMAIL.

Classification

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

Parameters

Parameter Direction Type Max length Description
:CustomerID Input Decimal N/A Customer primary key
:EmailAddressID Input Decimal N/A Email address primary key

Tables

Table Access Columns used
COMPANY_EMAIL INSERT COMPANY_SEQ_NUM, EMAIL_ADDRESS_SEQ_NUM

Sample SQL

Insert into COMPANY_Email ( COMPANY_SEQ_NUM, Email_Address_SEQ_NUM ) Values ( :CustomerID, :EmailAddressID)

Operations and processes

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

Sources

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