Skip to content

SQL-078: Update Pa Event Data

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

Classification

Field Value
SQL ID SQL-078
Operation type Update
Execution method IDataRequest.SQLStatement (CommandType.Text)
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsAuditEvent
Criteria property UpdateSQL
Lifecycle method BeforeUpdate / AfterUpdate

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.BeforeDelete (line 240)

Tables

Table Access Columns used
PA_EVENT UPDATE See sample SQL.

Sample SQL

UPDATE
  PA_EVENT
SET
  EVENT_DATE = :EventDate,
  EVENT_TEXT = :EventText,
  EVENT_USER_ID = :EventUserID,
  PA_AUDIT_SEQ_NUM = :AuditSeqNum,
  PA_EVENT_CODE = :EventCode,
  PA_EVENT_SEQ_NUM = :EventSeqNum
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:544