Skip to content

SQL-067: Read Pa Reason Code Data

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

Classification

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

Parameters

Parameter Direction Type Max length Description
:Code Input bound from MyCriteria.Code 5 Bound in clsPAReasonCode.BeforeRetrieve (line 127)

Tables

Table Access Columns used
PA_REASON_CODE SELECT See sample SQL.

Sample SQL

SELECT
  PA_REASON_CODE.CODE as Code,
  PA_REASON_CODE.CODE_DESCR as CodeDescription,
  PA_REASON_CODE.REVISION_FLAG as RevisionFlag,
  PA_REASON_CODE.LOV_FLAG as LOVFlag
FROM
  PA_REASON_CODE
WHERE
  PA_REASON_CODE.CODE = :Code

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/clsPAReasonCode.vb:277