SQL-031: Read Pa Event Data
This statement supports the premium-audit library by read Pa Event Data.
Classification
Field
Value
SQL ID
SQL-031
Operation type
Read
Execution method
IDataRequest.SQLStatement (CommandType.Text)
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsAuditEventCollection
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve / AfterRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:AuditSeqNum
Input
bound from MyCriteria.AuditSeqNum
—
Bound in clsAuditEventCollection.BeforeRetrieve (line 179)
Tables
Table
Access
Columns used
PA_EVENT
SELECT
See sample SQL.
Sample SQL
SELECT
PA_EVENT . EVENT_DATE as EventDate ,
PA_EVENT . EVENT_TEXT as EventText ,
PA_EVENT . EVENT_USER_ID as EventUserID ,
PA_EVENT . PA_AUDIT_SEQ_NUM as AuditSeqNum ,
PA_EVENT . PA_EVENT_CODE as EventCode ,
PA_EVENT . PA_EVENT_SEQ_NUM as EventSeqNum
FROM
PA_EVENT
WHERE
PA_EVENT . PA_AUDIT_SEQ_NUM = : AuditSeqNum
ORDER BY
PA_EVENT . PA_AUDIT_SEQ_NUM ,
PA_EVENT . EVENT_DATE ,
PA_EVENT . PA_EVENT_CODE
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/clsAuditEventCollection.vb:402