Skip to content

SQL-044: Read Pa Policy Data

This statement supports the premium-audit library by read Pa Policy Data.

Classification

Field Value
SQL ID SQL-044
Operation type Read
Execution method IDataRequest.SQLStatement (CommandType.Text)
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsAuditPolicySchedulingDetail
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve / AfterRetrieve

Parameters

Parameter Direction Type Max length Description
:PolicyNum Input bound from MyCriteria.PolicyNum — Bound in clsAuditPolicySchedulingDetail.BeforeRetrieve (line 176)

Tables

Table Access Columns used
PA_POLICY SELECT See sample SQL.

Sample SQL

SELECT
  DIFFICULT_TO_SCHEDULE_FLAG as IsDifficultToSchedule,
  SCHEDULING_NOTES_TEXT as SchedulingNotes,
  POLICY_NUM as PolicyNum,
  UPDATE_DATE as UpdateDate,
  UPDATE_USER as UpdateUser,
  UPDATE_SEQ_NUM as UpdateSeqNum
FROM
  PA_POLICY
WHERE
  PA_POLICY.POLICY_NUM = :PolicyNum

Operations and processes

Business rules

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business/SAIF.Business.Policy.Audit.Premium/clsAuditPolicySchedulingDetail.vb:408