SQL-064: Read Pa Selection Rule Value Data
This statement supports the premium-audit library by read Pa Selection Rule Value Data.
Classification
Field
Value
SQL ID
SQL-064
Operation type
Read
Execution method
IDataRequest.SQLStatement (CommandType.Text)
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsAuditSelectionTesterValue
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve / AfterRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:RuleId
Input
bound from MyCriteria.RuleID
—
Bound in clsAuditSelectionTesterValue.BeforeRetrieve (line 122)
:ValueKey
Input
bound from MyCriteria.ValueKey
5
Bound in clsAuditSelectionTesterValue.BeforeRetrieve (line 123)
Tables
Sample SQL
SELECT
PA_SELECTION_RULE_VALUE . PA_SELECTION_RULE_ID as RuleId ,
PA_SELECTION_RULE_VALUE . PA_SLCTN_RULE_VAL_TYPE_CODE as RuleValueTypeCode ,
PA_SELECTION_RULE_VALUE . SELECTION_RULE_LIST_TEXT as RuleListText ,
PA_SELECTION_RULE_VALUE . SELECTION_RULE_RANGE_HIGH_TEXT as RuleRangeHighText ,
PA_SELECTION_RULE_VALUE . SELECTION_RULE_RANGE_LOW_TEXT as RuleRangeLowText ,
PA_SELECTION_RULE_VALUE . SELECTION_RULE_VALUE_TEXT as RuleValueText
FROM
PA_SELECTION_RULE_VALUE
WHERE
PA_SELECTION_RULE_ID = : RuleId
AND PA_SLCTN_RULE_VAL_TYPE_CODE = : ValueKey
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/clsAuditSelectionTesterValue.vb:303