Skip to content

SQL-018: Retrieve active class paragraph text

This document records the SQL used by clsManualClassBase in SAIF.Business.Policy.Rating.

Classification

Field Value
SQL ID SQL-018
Operation type Read
Execution method Application method — text
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsManualClassBase
Criteria property N/A — non-Criteria method
Lifecycle method GetClassParagraph

Parameters

Parameter Direction Type Max length Description
:ManualClassNumber Input Not specified not specified Bound parameter.
:ARD Input Not specified not specified Bound parameter.
:MarketTypeCode Input Not specified not specified Bound parameter.

Tables

Table Access Columns used
MANUAL_CLASS_PARAGRAPH_USAGE SELECT See sample SQL and source for column usage.
MANUAL_CLASS_PARAGRAPH SELECT See sample SQL and source for column usage.

Sample SQL

SELECT
  p.class_paragraph
FROM
  manual_class_paragraph_usage pu,
  manual_class_paragraph p
WHERE
  pu.manual_class_num = :ManualClassNumber
  AND pu.PARAGRAPH_EFF_DATE <= :ARD
  AND (pu.paragraph_exp_date >= :ARD OR pu.paragraph_exp_date IS NULL)
  AND pu.market_type_code = :MarketTypeCode
  AND pu.new_outstanding_code = 'N'
  AND pu.paragraph_num = p.paragraph_num

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.Rating\clsManualClassBase.vb:848-884