Skip to content

SQL-042: clsAuditAssignmentOverride

Updates the default auditor, do-not-assign auditor, and update-tracking fields for an existing policy-level audit assignment override in PA_ASSIGN_OVERRIDE.

Classification

Field Value
SQL ID SQL-042
Operation type Update
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsAuditAssignmentOverride
Criteria property UpdateSQL
Lifecycle method BeforeUpdate

Parameters

Parameter Direction Type Max length Description
:DefaultAuditorID Input Decimal N/A Updated default auditor ID.
:DoNotAssignAuditorID Input Decimal N/A Updated do-not-assign auditor ID.
:UpdateUser Input String 30 Username performing the update.
:UpdateDate Input DateTime N/A Update timestamp.
:PolicyNumber Input Decimal 10 Policy number identifying the row.

Tables

Table Access Columns used
PA_ASSIGN_OVERRIDE UPDATE DEFAULT_PA_AUDITOR_ID, DONOT_ASSIGN_PA_AUDITOR_ID, UPDATE_USER, UPDATE_DATE, UPDATE_SEQ_NUM, POLICY_NUM

Sample SQL

UPDATE PA_ASSIGN_OVERRIDE
SET DEFAULT_PA_AUDITOR_ID = :DefaultAuditorID,
    DONOT_ASSIGN_PA_AUDITOR_ID = :DoNotAssignAuditorID,
    UPDATE_USER = :UpdateUser,
    UPDATE_DATE = :UpdateDate,
    UPDATE_SEQ_NUM = UPDATE_SEQ_NUM + 1
WHERE POLICY_NUM = :PolicyNumber

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.External.Users\clsAuditAssignmentOverride.vb