Skip to content

SQL-056: Read Pa Selection Category Code Data

This statement supports the premium-audit library by read Pa Selection Category Code Data.

Classification

Field Value
SQL ID SQL-056
Operation type Read
Execution method IDataRequest.SQLStatement (CommandType.Text)
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsAuditSelectionCategoryCodeCollection
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve / AfterRetrieve

Parameters

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

Tables

Table Access Columns used
PA_SELECTION_CATEGORY_CODE JOIN See sample SQL.
PA_SLCTN_CATEGORY_GROUP_CODE JOIN See sample SQL.

Sample SQL

SELECT
  PSCC.CODE as Code,
  PSCC.CODE_DESCR as CodeDescription,
  PSCC.PA_SLCTN_CATEGORY_GROUP_CODE as GroupCode,
  PSCC.SELECT_ORDER_NUM as SelectionOrderNum,
  PSCGC.CODE_DESCR as GroupCodeDescription,
  PSCGC.PRIORITY_NUM as PriorityNumber
FROM
  PA_SELECTION_CATEGORY_CODE PSCC,
  PA_SLCTN_CATEGORY_GROUP_CODE PSCGC
WHERE
  PSCC.PA_SLCTN_CATEGORY_GROUP_CODE = PSCGC.CODE

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/clsAuditSelectionCategoryCodeCollection.vb:286