Skip to content

SQL-087: clsCustomerPhoneCollection

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

Classification

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

Parameters

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

Tables

Table Access Columns used
COMPANY_PHONE DELETE COMPANY_SEQ_NUM, PHONE_SEQ_NUM

Sample SQL

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