Skip to content

SQL-048: Read Pa Result Type Data

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

Classification

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

Parameters

Parameter Direction Type Max length Description
:AuditTypeCode Input bound from clsAudit.ConvertAuditType(MyCriteria.AuditType — Bound in clsAuditResultTypeCollection.BeforeRetrieve (line 194)

Tables

Table Access Columns used
PA_RESULT_TYPE SELECT See sample SQL.

Sample SQL

SELECT
  PA_RESULT_TYPE.PA_RESULT_CODE as AuditResultCode,
  PA_RESULT_TYPE.PA_TYPE_CODE as AuditTypeCode,
  PA_RESULT_TYPE.SORT_ORDER_NUM as SortOrder
FROM
  PA_RESULT_TYPE
WHERE
  PA_RESULT_TYPE.PA_TYPE_CODE = :AuditTypeCode

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/clsAuditResultTypeCollection.vb:379