Skip to content

SQL-060: Retrieve insurance carrier

Retrieve insurance carrier in the context of clsInsuranceCarrier.

Classification

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

Parameters

Parameter Direction Type Max length Description
:Code Input bound from MyCriteria.Code 5 Bound in clsInsuranceCarrier.BeforeRetrieve (line 330)

Tables

Table Access Columns used
CARRIER_CODE SELECT See sample SQL

Sample SQL

SELECT
  CARRIER_CODE.CARRIER_CODE as Code,
  CARRIER_CODE.EFF_DATE as EffectiveDate,
  CARRIER_CODE.EXP_DATE as ExpirationDate,
  CARRIER_CODE.CARRIER_SHORT_NAME as CarrierShortName,
  CARRIER_CODE.CARRIER_NAME as CarrierName,
  CARRIER_CODE.UPDATE_DATE as UpdateDate,
  CARRIER_CODE.UPDATE_USER as UpdateUser,
  CARRIER_CODE.CARRIER_GROUP_CODE as CarrierGroupCode
FROM
  CARRIER_CODE
WHERE
  carrier_code = :Code

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.Core\clsInsuranceCarrier.vb