Skip to content

SQL-003: Fetch Next Pa Auditor Value

This statement supports the premium-audit library by fetch Next Pa Auditor Value.

Classification

Field Value
SQL ID SQL-003
Operation type Sequence
Execution method IDataRequest.SQLStatement (CommandType.Text)
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsAuditor
Criteria property CreateSQL
Lifecycle method BeforeCreate / AfterCreate

Parameters

Parameter Direction Type Max length Description
— — — — No bound parameters detected in source.

Tables

Table Access Columns used
PA_AUDITOR SELECT See sample SQL.

Sample SQL

SELECT
  TO_NUMBER(MAX(PA_AUDITOR_ID)) + 1
FROM
  PA_AUDITOR

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/clsAuditor.vb:785