SQL-047: Read Pa Result Type Data
This statement supports the premium-audit library by read Pa Result Type Data.
Classification
Field
Value
SQL ID
SQL-047
Operation type
Read
Execution method
IDataRequest.SQLStatement (CommandType.Text)
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsAuditResultType
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve / AfterRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:AuditResultCode
Input
unknown
—
Bind variable present in SQL text; no matching AddParm located**
:AuditTypeCode
Input
bound from MyCriteria.AuditTypeCode
5
Bound in clsAuditResultType.BeforeRetrieve (line 198)
Tables
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_CODE = : AuditResultCode
AND 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/clsAuditResultType.vb:447