Skip to content

SQL-076: Retrieve ratingrulemaster

Retrieve ratingrulemaster in the context of clsRatingRuleMaster.

Classification

Field Value
SQL ID SQL-076
Operation type Read
Execution method Reader/Scalar
Database Oracle
Command type Text
Schema [unqualified]
Business object clsRatingRuleMaster
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve / AfterRetrieve

Parameters

Parameter Direction Type Max length Description
:EffectiveDate Input Date inferred/unknown Bind variable in clsRatingRuleMaster.RetrieveSQL.
:FinancialSystemCode Input String* inferred/unknown Bind variable in clsRatingRuleMaster.RetrieveSQL.

Tables

Table Access Columns used
PREM_RATING_RULE_MASTER SELECT See sample SQL

Sample SQL

SELECT
  PREM_RATING_RULE_MASTER.RATING_RULE_MASTER_ID as ID,
  PREM_RATING_RULE_MASTER.RATING_RULE_MASTER_EFF_DATE as EffectiveDate,
  PREM_RATING_RULE_MASTER.RATING_RULE_MASTER_EXP_DATE as ExpirationDate,
  PREM_RATING_RULE_MASTER.FINANCIAL_SYSTEM_CODE as FinancialSystemCode
FROM PREM_RATING_RULE_MASTER
WHERE
  PREM_RATING_RULE_MASTER.RATING_RULE_MASTER_EFF_DATE <= :EffectiveDate
  AND (
    PREM_RATING_RULE_MASTER.RATING_RULE_MASTER_EXP_DATE > :EffectiveDate
    OR PREM_RATING_RULE_MASTER.RATING_RULE_MASTER_EXP_DATE IS NULL)
  AND PREM_RATING_RULE_MASTER.FINANCIAL_SYSTEM_CODE = :FinancialSystemCode

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.Premium/Rating/clsRatingRuleMaster.vb