SQL-006: Insert Pa Event Data
This statement supports the premium-audit library by insert Pa Event Data.
Classification
Field
Value
SQL ID
SQL-006
Operation type
Insert
Execution method
IDataRequest.SQLStatement (CommandType.Text)
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsAuditEvent
Criteria property
InsertSQL
Lifecycle method
BeforeInsert / AfterInsert
Parameters
Parameter
Direction
Type
Max length
Description
:EventDate
Input
bound from EventDate
—
Bound in clsAuditEvent.BeforeInsert (line 264)
:EventText
Input
bound from m_EventText
100
Bound in clsAuditEvent.BeforeInsert (line 268)
:EventUserID
Input
bound from EventUserID
30
Bound in clsAuditEvent.BeforeInsert (line 265)
:AuditSeqNum
Input
bound from AuditSeqNum
—
Bound in clsAuditEvent.BeforeInsert (line 266)
:EventCode
Input
bound from EventCode
5
Bound in clsAuditEvent.BeforeInsert (line 267)
:EventSeqNum
Input
bound from EventSeqNum
—
Bound in clsAuditEvent.BeforeInsert (line 271)
Tables
Table
Access
Columns used
PA_EVENT
INSERT
See sample SQL.
Sample SQL
INSERT INTO
PA_EVENT
(
EVENT_DATE ,
EVENT_TEXT ,
EVENT_USER_ID ,
PA_AUDIT_SEQ_NUM ,
PA_EVENT_CODE ,
PA_EVENT_SEQ_NUM
)
VALUES
(
: EventDate ,
: EventText ,
: EventUserID ,
: AuditSeqNum ,
: EventCode ,
: 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:509