Skip to content

SQL-010: Retrieve audit assignment override

Retrieves the default auditor ID and do-not-assign auditor ID for a given policy number from PA_ASSIGN_OVERRIDE.

Classification

Field Value
SQL ID SQL-010
Operation type Read
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsAuditAssignmentOverride
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve

Parameters

Parameter Direction Type Max length Description
:PolicyNumber Input Decimal 10 Policy number to retrieve the override for.

Tables

Table Access Columns used
PA_ASSIGN_OVERRIDE SELECT DEFAULT_PA_AUDITOR_ID, DONOT_ASSIGN_PA_AUDITOR_ID, POLICY_NUM

Sample SQL

SELECT
    P.DEFAULT_PA_AUDITOR_ID AS DefaultAuditorID,
    P.DONOT_ASSIGN_PA_AUDITOR_ID AS DoNotAssignAuditorID,
    P.POLICY_NUM AS PolicyNumber
FROM PA_ASSIGN_OVERRIDE P
WHERE P.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