This statement supports mdlCustomerContact by executing a create operation against CUSTOMER_AGENT.
Classification
| Field |
Value |
| SQL ID |
SQL-019 |
| Operation type |
Create |
| Execution method |
Inline via SqlHelper.DataQuery |
| Database |
Oracle |
| Schema |
[unqualified]** |
| Command type |
Text |
| Business object |
mdlCustomerContact |
| Criteria property |
CreateAgent |
| Lifecycle method |
CreateAgent |
Parameters
| Parameter |
Direction |
Type |
Max length |
Description |
:CustomerID |
Input |
Decimal |
N/A |
Customer primary key |
:ContactID |
Input |
Decimal |
N/A |
Contact primary key |
:AgentID |
Input |
Decimal |
N/A |
Agent number |
Tables
| Table |
Access |
Columns used |
| CUSTOMER_AGENT |
INSERT |
AGENT_NUM, COMPANY_SEQ_NUM, PERSON_SEQ_NUM |
Sample SQL
INSERT INTO CUSTOMER_AGENT (COMPANY_SEQ_NUM, PERSON_SEQ_NUM, AGENT_NUM) VALUES (:CustomerID, :ContactID, :AgentID)
Operations and processes
Business rules
Note: Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources
Business\SAIF.Business.CustomerContact\mdlCustomerContact.vb