Skip to content

SQL-050: Retrieve paymentplan collection

Retrieve paymentplan collection in the context of clsPaymentPlanCollection.

Classification

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

Parameters

Parameter Direction Type Max length Description
:PolicyNum Input Numeric* inferred/unknown Bind variable in clsPaymentPlanCollection.RetrieveSQL.
:PolicyPeriodEffDate Input Date inferred/unknown Bind variable in clsPaymentPlanCollection.RetrieveSQL.

Tables

Table Access Columns used
BILLING_MASTER SELECT See sample SQL

Sample SQL

SELECT
  BILLING_MASTER.POLICY_NUM as PolicyNum,
  BILLING_MASTER.POLICY_PERIOD_EFF_DATE as PolicyPeriodEffDate,
  BILLING_MASTER.DEFAULT_PLAN_CODE as DefaultPlanCode,
  BILLING_MASTER.RENEWAL_PLAN_CODE as RenewalPlanCode,
  BILLING_MASTER.INSTALLMENTS as Installments,
  BILLING_MASTER.PERCENT_DOWN as PercentDown,
  BILLING_MASTER.BILLING_DEFAULT_CODE as BillingDefaultCode,
  BILLING_MASTER.CREATE_DATE as CreateDate,
  BILLING_MASTER.CREATE_USER as CreateUser,
  BILLING_MASTER.UPDATE_DATE as UpdateDate,
  BILLING_MASTER.UPDATE_USER as UpdateUser,
  BILLING_MASTER.PREM_HIST_SET_ID as PremHistSetID
FROM BILLING_MASTER
WHERE
  BILLING_MASTER.POLICY_NUM = :PolicyNum
  AND BILLING_MASTER.POLICY_PERIOD_EFF_DATE = :PolicyPeriodEffDate

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/clsPaymentPlanCollection.vb