Skip to content

SQL-085: clsCustomerEmailCollection

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

Classification

Field Value
SQL ID SQL-085
Operation type Delete
Execution method Inline
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsCustomerEmailCollection
Criteria property DeleteSQL
Lifecycle method BeforeDelete

Parameters

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

Tables

Table Access Columns used
COMPANY_EMAIL DELETE COMPANY_SEQ_NUM, EMAIL_ADDRESS_SEQ_NUM

Sample SQL

Delete COMPANY_Email Where COMPANY_Email.COMPANY_SEQ_NUM = :CustomerID AND COMPANY_Email.Email_Address_SEQ_NUM = :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