Skip to content

SQL-030: Read Pa Event Data

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

Classification

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

Parameters

Parameter Direction Type Max length Description
:EventSeqNum Input bound from MyCriteria.EventSeqNum — Bound in clsAuditEvent.BeforeRetrieve (line 294)

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_EVENT_SEQ_NUM = :EventSeqNum

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/clsAuditEvent.vb:529