Skip to content

SQL-010: Retrieve clsDTECRate data

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

Classification

Field Value
SQL ID SQL-010
Operation type Read
Execution method Data portal — criteria SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsDTECRate
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve / AfterRetrieve

Parameters

Parameter Direction Type Max length Description
:MarketType Input Not specified not specified Bound parameter.
:EffectiveDate Input Not specified not specified Bound parameter.

Tables

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

Sample SQL

Select
  DTEC_RATE.MARKET_TYPE_CODE as MarketTypeCode,
  DTEC_RATE.EFF_DATE as EffectiveDate,
  DTEC_RATE.EXP_DATE as ExpirationDate,
  DTEC_RATE.DTEC_RATE as Rate,
  DTEC_RATE.CREATE_USER as CreateUser,
  DTEC_RATE.CREATE_DATE as CreateDate,
  DTEC_RATE.UPDATE_USER as UpdateUser,
  DTEC_RATE.UPDATE_DATE as UpdateDate
From
  DTEC_RATE
Where
  market_type_code = :MarketType
  and eff_date <= :EffectiveDate
  and (exp_date is null or exp_date > :EffectiveDate)

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\clsDTECRate.vb:522-540