SQL-080: Update Pa Auditor Zip Code Data
This statement supports the premium-audit library by update Pa Auditor Zip Code Data.
Classification
Field
Value
SQL ID
SQL-080
Operation type
Update
Execution method
IDataRequest.SQLStatement (CommandType.Text)
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsAuditorZipCode
Criteria property
UpdateSQL
Lifecycle method
BeforeUpdate / AfterUpdate
Parameters
Parameter
Direction
Type
Max length
Description
:PAAuditorID
Input
bound from m_PAAuditorID
10
Bound in clsAuditorZipCode.BeforeUpdate (line 251)
:ZipCode
Input
bound from m_ZipCode
5
Bound in clsAuditorZipCode.BeforeUpdate (line 252)
:OrigPAAuditorID
Input
bound from m_PAAuditorID.OriginalValue
10
Bound in clsAuditorZipCode.BeforeUpdate (line 253)
:OrigZipCode
Input
bound from m_ZipCode.OriginalValue
5
Bound in clsAuditorZipCode.BeforeUpdate (line 254)
Tables
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
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/clsAuditorZipCode.vb:497