Skip to content

SQL-045: Read Pa Result Data

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

Classification

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

Parameters

Parameter Direction Type Max length Description
:AuditSeqNum Input bound from MyCriteria.AuditSeqNum — Bound in clsAuditResult.BeforeRetrieve (line 324)

Tables

Table Access Columns used
PA_RESULT SELECT See sample SQL.

Sample SQL

SELECT
  PA_RESULT.PA_AUDIT_SEQ_NUM as AuditSeqNum,
  PA_RESULT.PA_RESULT_CODE as ResultCode,
  PA_RESULT.RESULT_FLAG as ResultFlag,
  PA_RESULT.SORT_ORDER_NUM as SortOrderNum,
  PA_RESULT.CREATE_USER as CreateUser,
  PA_RESULT.CREATE_DATE as CreateDate,
  PA_RESULT.UPDATE_USER as UpdateUser,
  PA_RESULT.UPDATE_DATE as UpdateDate,
  PA_RESULT.UPDATE_SEQ_NUM as UpdateSeqNum
FROM
  PA_RESULT
WHERE
  PA_RESULT.PA_AUDIT_SEQ_NUM = :AuditSeqNum

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/clsAuditResult.vb:631