Skip to content

SQL-040: Read COMPANY_NOTE for clsCustomerNote

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

Classification

Field Value
SQL ID SQL-040
Operation type Read
Execution method Inline
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsCustomerNote
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve

Parameters

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

Tables

Table Access Columns used
COMPANY_NOTE SELECT COMPANY_SEQ_NUM, NOTE_TEXT

Sample SQL

Select COMPANY_NOTE.COMPANY_SEQ_NUM as CustomerID, COMPANY_NOTE.NOTE_TEXT as NoteText From COMPANY_NOTE Where COMPANY_NOTE.COMPANY_SEQ_NUM = :CustomerID

Operations and processes

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

Sources

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