Skip to content

SQL-081: clsContactPhoneCollection

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

Classification

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

Parameters

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

Tables

Table Access Columns used
PERSON_PHONE DELETE PERSON_SEQ_NUM, PHONE_SEQ_NUM

Sample SQL

Delete Person_Phone Where Person_Phone.Person_SEQ_NUM = :ContactID AND Person_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\Contact\clsContactPhoneCollection.vb