Skip to content

SQL-012: Insert COMPANY_NOTE for clsCustomerNote

This statement supports clsCustomerNote by executing a create operation against COMPANY_NOTE.

Classification

Field Value
SQL ID SQL-012
Operation type Create
Execution method Inline
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsCustomerNote
Criteria property InsertSQL
Lifecycle method BeforeInsert

Parameters

Parameter Direction Type Max length Description
:NoteText Input String 4000 Free-form note text
:CustomerID Input Decimal N/A Customer primary key

Tables

Table Access Columns used
COMPANY_NOTE INSERT COMPANY_SEQ_NUM, NOTE_TEXT

Sample SQL

Insert into COMPANY_NOTE ( COMPANY_SEQ_NUM, NOTE_TEXT ) Values ( :CustomerID, :NoteText)

Operations and processes

Note: Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business\SAIF.Business.CustomerContact\Customer\clsCustomerNote.vb