SQL-012: Insert Pa Policy Data
This statement supports the premium-audit library by insert Pa Policy Data.
Classification
Field
Value
SQL ID
SQL-012
Operation type
Insert
Execution method
IDataRequest.SQLStatement (CommandType.Text)
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsAuditPolicySchedulingDetail
Criteria property
InsertSQL
Lifecycle method
BeforeInsert / AfterInsert
Parameters
Parameter
Direction
Type
Max length
Description
:PolicyNum
Input
bound from PolicyNum
—
Bound in clsAuditPolicySchedulingDetail.BeforeInsert (line 231)
:IsDifficultToSchedule
Input
bound from m_IsDifficultToSchedule.ToY_N_String
1
Bound in clsAuditPolicySchedulingDetail.BeforeInsert (line 230)
:SchedulingNotes
Input
bound from m_SchedulingNotes
4000
Bound in clsAuditPolicySchedulingDetail.BeforeInsert (line 229)
:CreateUser
Input
bound from CreateUser
30
Bound in clsAuditPolicySchedulingDetail.BeforeInsert (line 233)
:CreateDate
Input
bound from CreateDate
—
Bound in clsAuditPolicySchedulingDetail.BeforeInsert (line 232)
Tables
Table
Access
Columns used
PA_POLICY
INSERT
See sample SQL.
Sample SQL
INSERT INTO
PA_POLICY
VALUES
(
: PolicyNum ,
null ,
null ,
null ,
: IsDifficultToSchedule ,
: SchedulingNotes ,
null ,
: CreateUser ,
: CreateDate ,
null ,
null ,
0
)
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:388