SQL-009: Insert COMPANY_ADDRESS for clsCustomerAddressCollection
This statement supports clsCustomerAddressCollection by executing a create operation against COMPANY_ADDRESS.
Classification
| Field |
Value |
| SQL ID |
SQL-009 |
| Operation type |
Create |
| Execution method |
Inline |
| Database |
Oracle |
| Schema |
[unqualified]** |
| Command type |
Text |
| Business object |
clsCustomerAddressCollection |
| Criteria property |
InsertSQL |
| Lifecycle method |
BeforeInsert |
Parameters
| Parameter |
Direction |
Type |
Max length |
Description |
:CustomerID |
Input |
Decimal |
N/A |
Customer primary key |
:AddressID |
Input |
Decimal |
N/A |
Address primary key |
Tables
| Table |
Access |
Columns used |
| COMPANY_ADDRESS |
INSERT |
ADDRESS_SEQ_NUM, COMPANY_SEQ_NUM |
Sample SQL
Insert into COMPANY_ADDRESS ( COMPANY_SEQ_NUM, ADDRESS_SEQ_NUM ) Values ( :CustomerID, :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