SQL-054: Read Pa Review Result Data
This statement supports the premium-audit library by read Pa Review Result Data.
Classification
Field
Value
SQL ID
SQL-054
Operation type
Read
Execution method
IDataRequest.SQLStatement (CommandType.Text)
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsAuditReviewResultCollection
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve / AfterRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:AuditSeqNum
Input
bound from MyCriteria.AuditSeqNum
—
Bound in clsAuditReviewResultCollection.BeforeRetrieve (line 190)
Tables
Sample SQL
SELECT
PA_REVIEW_RESULT . PA_REVIEW_RESULT_SEQ_NUM as ReviewResultSequenceNumber ,
PA_REVIEW_RESULT . PA_AUDIT_SEQ_NUM as AuditSeqNum ,
PA_REVIEW_RESULT . REVIEWER_AUDITOR_ID as ReviewerAuditorID ,
PA_REVIEW_RESULT . PA_REVIEW_REASON_CODE as ReviewReasonCode ,
PA_REVIEW_RESULT . PA_REVIEW_RESULT_CODE as ReviewResultCode ,
PA_REVIEW_RESULT . CREATE_USER as CreateUser ,
PA_REVIEW_RESULT . CREATE_DATE as CreateDate ,
PA_REVIEW_RESULT . UPDATE_USER as UpdateUser ,
PA_REVIEW_RESULT . UPDATE_DATE as UpdateDate ,
PA_REVIEW_RESULT . UPDATE_SEQ_NUM as UpdateSeqNum ,
pa . pa_type_code as PremiumAuditTypeCode
FROM
PA_REVIEW_RESULT
JOIN
pa_audit pa on ( pa . pa_audit_seq_num = pa_review_result . pa_audit_seq_num )
WHERE
PA_REVIEW_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/clsAuditReviewResultCollection.vb:356