Skip to content

SQL-083: clsCustomerAddressCollection

This statement supports clsCustomerAddressCollection by executing a delete operation against COMPANY_ADDRESS.

Classification

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

Parameters

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

Tables

Table Access Columns used
COMPANY_ADDRESS DELETE ADDRESS_SEQ_NUM, COMPANY_SEQ_NUM

Sample SQL

Delete COMPANY_ADDRESS Where COMPANY_ADDRESS.COMPANY_SEQ_NUM = :CustomerID AND COMPANY_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\Customer\clsCustomerAddressCollection.vb