Skip to content

SQL-089: Update paymentplan collection

Update paymentplan collection in the context of clsPaymentPlanCollection.

Classification

Field Value
SQL ID SQL-089
Operation type Update
Execution method NonQuery
Database Oracle
Command type Text
Schema [unqualified]
Business object clsPaymentPlanCollection
Criteria property UpdateSQL
Lifecycle method BeforeUpdate / AfterUpdate

Parameters

Parameter Direction Type Max length Description
:PolicyNum Input Numeric* inferred/unknown Bind variable in clsPaymentPlanCollection.UpdateSQL.
:PolicyPeriodEffDate Input Date inferred/unknown Bind variable in clsPaymentPlanCollection.UpdateSQL.
:DefaultPlanCode Input String* inferred/unknown Bind variable in clsPaymentPlanCollection.UpdateSQL.
:RenewalPlanCode Input String* inferred/unknown Bind variable in clsPaymentPlanCollection.UpdateSQL.
:Installments Input Unknown* inferred/unknown Bind variable in clsPaymentPlanCollection.UpdateSQL.
:PercentDown Input Unknown* inferred/unknown Bind variable in clsPaymentPlanCollection.UpdateSQL.
:BillingDefaultCode Input String* inferred/unknown Bind variable in clsPaymentPlanCollection.UpdateSQL.
:CreateDate Input Date inferred/unknown Bind variable in clsPaymentPlanCollection.UpdateSQL.
:CreateUser Input String* inferred/unknown Bind variable in clsPaymentPlanCollection.UpdateSQL.
:UpdateDate Input Date inferred/unknown Bind variable in clsPaymentPlanCollection.UpdateSQL.
:UpdateUser Input Date inferred/unknown Bind variable in clsPaymentPlanCollection.UpdateSQL.
:PremHistSetID Input Numeric* inferred/unknown Bind variable in clsPaymentPlanCollection.UpdateSQL.

Tables

Table Access Columns used
BILLING_MASTER UPDATE See sample SQL

Sample SQL

Update BILLING_MASTER
SET
  POLICY_NUM = :PolicyNum,
  POLICY_PERIOD_EFF_DATE = :PolicyPeriodEffDate,
  DEFAULT_PLAN_CODE = :DefaultPlanCode,
  RENEWAL_PLAN_CODE = :RenewalPlanCode,
  INSTALLMENTS = :Installments,
  PERCENT_DOWN = :PercentDown,
  BILLING_DEFAULT_CODE = :BillingDefaultCode,
  CREATE_DATE = :CreateDate,
  CREATE_USER = :CreateUser,
  UPDATE_DATE = :UpdateDate,
  UPDATE_USER = :UpdateUser,
  PREM_HIST_SET_ID = :PremHistSetID
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