SQL-051: Read Pa Review Result Data
This statement supports the premium-audit library by read Pa Review Result Data.
Classification
Field
Value
SQL ID
SQL-051
Operation type
Read
Execution method
IDataRequest.SQLStatement (CommandType.Text)
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsAuditReviewResult
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve / AfterRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:ReviewResultSeqNum
Input
bound from MyCriteria.ReviewResultSeqNum
—
Bound in clsAuditReviewResult.BeforeRetrieve (line 350)
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_audit . pa_type_code as PremiumAuditTypeCode
FROM
PA_REVIEW_RESULT
JOIN
pa_audit on pa_audit . pa_audit_seq_num = pa_review_result . pa_audit_seq_num
WHERE
PA_REVIEW_RESULT . PA_REVIEW_RESULT_SEQ_NUM = : ReviewResultSeqNum
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/clsAuditReviewResult.vb:682