Skip to content

SQL-044: clsAuditorZipCode

Updates a PA_AUDITOR_ZIP_CODE row to new values using the original auditor ID and zip code as the composite WHERE key.

Classification

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

Parameters

Parameter Direction Type Max length Description
:PAAuditorID Input Decimal N/A New auditor ID value.
:ZipCode Input String 5 New zip code value.
:OrigPAAuditorID Input Decimal N/A Original auditor ID (WHERE clause).
:OrigZipCode Input String 5 Original zip code (WHERE clause).

Tables

Table Access Columns used
PA_AUDITOR_ZIP_CODE UPDATE PA_AUDITOR_ID, ZIP_CODE

Sample SQL

UPDATE PA_AUDITOR_ZIP_CODE
SET PA_AUDITOR_ID = :PAAuditorID,
    ZIP_CODE = :ZipCode
WHERE PA_AUDITOR_ZIP_CODE.PA_AUDITOR_ID = :OrigPAAuditorID
  AND PA_AUDITOR_ZIP_CODE.ZIP_CODE = :OrigZipCode

Operations and processes

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\clsAuditorZipCode.vb