SQL-048: Retrieve losscontrolpolicyserviceplan
Retrieve losscontrolpolicyserviceplan in the context of clsLossControlPolicyServicePlan.
Classification
Field
Value
SQL ID
SQL-048
Operation type
Read
Execution method
Reader/Scalar
Database
Oracle
Command type
Text
Schema
[unqualified]
Business object
clsLossControlPolicyServicePlan
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve / AfterRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:PolicyNumber
Input
Numeric*
inferred/unknown
Bind variable in clsLossControlPolicyServicePlan.RetrieveSQL.
:ServiceDate
Input
Date
inferred/unknown
Bind variable in clsLossControlPolicyServicePlan.RetrieveSQL.
Tables
Sample SQL
SELECT
LC_POLICY_SERVICE_PLAN . POLICY_NUM as PolicyNumber ,
LC_POLICY_SERVICE_PLAN . EFF_DATE as EffectiveDate ,
LC_POLICY_SERVICE_PLAN . EXP_DATE as ExpirationDate ,
LC_POLICY_SERVICE_PLAN . LC_SERVICE_PLAN_CODE as LossControlServicePlanCode ,
LC_POLICY_SERVICE_PLAN . CREATE_USER as CreateUser ,
LC_POLICY_SERVICE_PLAN . CREATED_DATE as CreatedDate ,
LC_POLICY_SERVICE_PLAN . UPDATE_USER as UpdateUser ,
LC_POLICY_SERVICE_PLAN . UPDATE_DATE as UpdateDate
FROM LC_POLICY_SERVICE_PLAN
WHERE
LC_POLICY_SERVICE_PLAN . POLICY_NUM = : PolicyNumber
AND LC_POLICY_SERVICE_PLAN . EFF_DATE >= : ServiceDate
AND ( LC_POLICY_SERVICE_PLAN . EXP_DATE < : ServiceDate OR LC_POLICY_SERVICE_PLAN . EXP_DATE IS NULL )
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/clsLossControlPolicyServicePlan.vb