Skip to content

SQL-084: Update Pa Result Data

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

Classification

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

Parameters

Parameter Direction Type Max length Description
:ResultFlag Input bound from ResultFlag 1 Bound in clsAuditResult.BeforeUpdate (line 353)
:UpdateUser Input bound from m_UpdateUser 30 Bound in clsAuditResult.BeforeUpdate (line 355)
:UpdateDate Input bound from m_UpdateDate — Bound in clsAuditResult.BeforeUpdate (line 356)
:UpdateSeqNum Input bound from UpdateSeqNum — Bound in clsAuditResult.BeforeUpdate (line 354)
:AuditSeqNum Input bound from m_AuditSeqNum — Bound in clsAuditResult.BeforeUpdate (line 359)
:ResultCode Input bound from m_ResultCode 5 Bound in clsAuditResult.BeforeUpdate (line 360)

Tables

Table Access Columns used
PA_RESULT UPDATE See sample SQL.

Sample SQL

UPDATE
  PA_RESULT
SET
  RESULT_FLAG = :ResultFlag,
  UPDATE_USER = :UpdateUser,
  UPDATE_DATE = :UpdateDate,
  UPDATE_SEQ_NUM = :UpdateSeqNum
WHERE
  PA_RESULT.PA_AUDIT_SEQ_NUM = :AuditSeqNum
  AND PA_RESULT.PA_RESULT_CODE = :ResultCode

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/clsAuditResult.vb:650