SQL-013: Insert Pa Result Data
This statement supports the premium-audit library by insert Pa Result Data.
Classification
Field
Value
SQL ID
SQL-013
Operation type
Insert
Execution method
IDataRequest.SQLStatement (CommandType.Text)
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsAuditResult
Criteria property
InsertSQL
Lifecycle method
BeforeInsert / AfterInsert
Parameters
Parameter
Direction
Type
Max length
Description
:AuditSeqNum
Input
bound from AuditSeqNum
—
Bound in clsAuditResult.BeforeInsert (line 290)
:ResultCode
Input
bound from ResultCode
5
Bound in clsAuditResult.BeforeInsert (line 291)
:ResultFlag
Input
bound from ResultFlag
1
Bound in clsAuditResult.BeforeInsert (line 292)
:SortOrderNum
Input
bound from SortOrderNum
—
Bound in clsAuditResult.BeforeInsert (line 293)
:CreateUser
Input
bound from CreateUser
30
Bound in clsAuditResult.BeforeInsert (line 294)
:CreateDate
Input
bound from CreateDate
—
Bound in clsAuditResult.BeforeInsert (line 295)
:UpdateSeqNum
Input
bound from UpdateSeqNum
—
Bound in clsAuditResult.BeforeInsert (line 296)
Tables
Table
Access
Columns used
PA_RESULT
INSERT
See sample SQL.
Sample SQL
INSERT INTO
PA_RESULT
(
PA_AUDIT_SEQ_NUM ,
PA_RESULT_CODE ,
RESULT_FLAG ,
SORT_ORDER_NUM ,
CREATE_USER ,
CREATE_DATE ,
UPDATE_SEQ_NUM
)
VALUES
(
: AuditSeqNum ,
: ResultCode ,
nvl (: ResultFlag , 'N' ),
: SortOrderNum ,
: CreateUser ,
: CreateDate ,
: UpdateSeqNum
)
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/clsAuditResult.vb:609