Skip to content

SQL-087: Update Pa Premium Audit Result Data

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

Classification

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

Parameters

Parameter Direction Type Max length Description
:ResultXML Input bound from ResultXML — Bound in clsPremiumAuditResult.AddParameters (line 160)
:CreateDate Input bound from m_CreateDate — Bound in clsPremiumAuditResult.AddParameters (line 161)
:CreateUser Input bound from m_CreateUser — Bound in clsPremiumAuditResult.AddParameters (line 162)
:UpdateDate Input bound from m_UpdateDate — Bound in clsPremiumAuditResult.AddParameters (line 163)
:UpdateUser Input bound from m_UpdateUser — Bound in clsPremiumAuditResult.AddParameters (line 164)
:AuditSeqNum Input bound from AuditSeqNum — Bound in clsPremiumAuditResult.BeforeDelete (line 129)
:UpdateNum Input bound from m_UpdateNum — Bound in clsPremiumAuditResult.BeforeDelete (line 130)

Tables

Table Access Columns used
PA_PREMIUM_AUDIT_RESULT UPDATE See sample SQL.

Sample SQL

UPDATE
  PA_PREMIUM_AUDIT_RESULT
SET
  PA_PAR_XML_TEXT = :ResultXML,
  CREATE_DATE = :CreateDate,
  CREATE_USER = :CreateUser,
  UPDATE_DATE = :UpdateDate,
  UPDATE_USER = :UpdateUser,
  UPDATE_NUM = UPDATE_NUM + 1
WHERE
  PA_AUDIT_SEQ_NUM = :AuditSeqNum
  AND UPDATE_NUM = :UpdateNum

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/clsPremiumAuditResult.vb:620