Skip to content

SQL-049: Retrieve paymentplan

Retrieve paymentplan in the context of clsPaymentPlan.

Classification

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

Parameters

Parameter Direction Type Max length Description
:PolicyNumber Input Numeric* inferred/unknown Bind variable in clsPaymentPlan.RetrieveSQL.
:PolicyPeriodEffectiveDate Input Date inferred/unknown Bind variable in clsPaymentPlan.RetrieveSQL.

Tables

Table Access Columns used
BILLING_MASTER SELECT See sample SQL

Sample SQL

SELECT
  BILLING_MASTER.POLICY_NUM as PolicyNumber,
  BILLING_MASTER.POLICY_PERIOD_EFF_DATE as PolicyPeriodEffectiveDate,
  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 PremiumHistorySetID
FROM BILLING_MASTER
WHERE
  BILLING_MASTER.POLICY_NUM = :PolicyNumber
  AND BILLING_MASTER.POLICY_PERIOD_EFF_DATE = :PolicyPeriodEffectiveDate

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