Skip to content

SQL-057: Read CUSTOMER_POLICY for mdlCustomerContact

This statement supports mdlCustomerContact by executing a read operation against CUSTOMER_POLICY.

Classification

Field Value
SQL ID SQL-057
Operation type Read
Execution method Inline via SqlHelper.ScalarQuery
Database Oracle
Schema [unqualified]**
Command type Text
Business object mdlCustomerContact
Criteria property GetCustomerIDForPolicy
Lifecycle method GetCustomerIDForPolicy

Parameters

Parameter Direction Type Max length Description
:Policy Input Decimal N/A Policy number

Tables

Table Access Columns used
CUSTOMER_POLICY SELECT See sample SQL**

Sample SQL

Select company_seq_num from customer_policy where policy_num = :Policy

Operations and processes

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

Sources

  • Business\SAIF.Business.CustomerContact\mdlCustomerContact.vb