SQL-083: Update Pa Policy Data
This statement supports the premium-audit library by update Pa Policy Data.
Classification
Field
Value
SQL ID
SQL-083
Operation type
Update
Execution method
IDataRequest.SQLStatement (CommandType.Text)
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsAuditPolicySchedulingDetail
Criteria property
UpdateSQL
Lifecycle method
BeforeUpdate / AfterUpdate
Parameters
Parameter
Direction
Type
Max length
Description
:IsDifficultToSchedule
Input
bound from m_IsDifficultToSchedule.ToY_N_String
1
Bound in clsAuditPolicySchedulingDetail.BeforeUpdate (line 200)
:SchedulingNotes
Input
bound from m_SchedulingNotes
4000
Bound in clsAuditPolicySchedulingDetail.BeforeUpdate (line 201)
:UpdateDate
Input
bound from Now
—
Bound in clsAuditPolicySchedulingDetail.BeforeUpdate (line 202)
:UpdateUser
Input
bound from UpdateUser
30
Bound in clsAuditPolicySchedulingDetail.BeforeUpdate (line 203)
:PolicyNum
Input
bound from MyCriteria.PolicyNum
—
Bound in clsAuditPolicySchedulingDetail.BeforeUpdate (line 206)
Tables
Table
Access
Columns used
PA_POLICY
UPDATE
See sample SQL.
Sample SQL
UPDATE
PA_POLICY
SET
DIFFICULT_TO_SCHEDULE_FLAG = : IsDifficultToSchedule ,
SCHEDULING_NOTES_TEXT = : SchedulingNotes ,
UPDATE_DATE = : UpdateDate ,
UPDATE_USER = : UpdateUser ,
UPDATE_SEQ_NUM = UPDATE_SEQ_NUM + 1
WHERE
PA_POLICY . POLICY_NUM = : PolicyNum
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/clsAuditPolicySchedulingDetail.vb:423