This statement supports clsContactAddressCollection by executing a delete operation against PERSON_ADDRESS.
Classification
| Field |
Value |
| SQL ID |
SQL-078 |
| Operation type |
Delete |
| Execution method |
Inline |
| Database |
Oracle |
| Schema |
[unqualified]** |
| Command type |
Text |
| Business object |
clsContactAddressCollection |
| Criteria property |
DeleteSQL |
| Lifecycle method |
BeforeDelete |
Parameters
| Parameter |
Direction |
Type |
Max length |
Description |
:AddressID |
Input |
Decimal |
N/A |
Address primary key |
:ContactID |
Input |
Decimal |
N/A |
Contact primary key |
Tables
| Table |
Access |
Columns used |
| PERSON_ADDRESS |
DELETE |
ADDRESS_SEQ_NUM, PERSON_SEQ_NUM |
Sample SQL
Delete Person_ADDRESS Where Person_ADDRESS.Person_SEQ_NUM = :ContactID AND Person_ADDRESS.ADDRESS_SEQ_NUM = :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