Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Code (varchar)*
  • Name (varchar)

Cade is mandatory

ContributionPlanBundleDetails - under ContributionPlanBundle (HistoryBusinessModel)
  • ContributionPlanBundleUUID: (fk ContributionPlanBundle)*
  • ContributionPlanUUID: (fk_contributionPlan)*

All fields are mandatory

ContributionPlan(HistoryBusinessModel)

  • Code (varchar 32)*
  • name(varchar 256)*
  • CalculationUUID*
  • BenefitPlanUUID (fk_product )*
  • Periodicity (int)*
    • Number of month between 2 payment

Grace Period,Rate,Threshold will be stored on the json_ext part of HistoryModel

All fields are mandatory

Services and Mutations

  • C/U/D service ContributionPlanBundle
    • check authority
    • ensure Code uniqueness for ValidTo/ValidFrom
    • Ensure mandatory fields are present
    • code not editable once created
    • Ensure that the periodicity for the contribution plan are the same
    • Ensure that the detail DatevalidFrom is greater or equal to CP DatevalidFrom 
    • Ensure that the detail DatevalidTo is lesseror equal to CP DatevalidTo or DatevalidTo  is null
  • Replace ContributionPlanBundle
  • C/U/D service ContributionPlan
    • check authority
    • ensure Code uniqueness for ValidTo/ValidFrom
    • Ensure mandatory fields are present
    • code not editable once created
  • Replace ContributionPlan

...

  • code
  • name
  • DateValidTo
  • DateValidFrom
  • Delete (Trash) and Edit (Pen) and replace buttons at the end of the line (see Location module)

...

It should be possible to sort the result per column in ASC or DESC order

Add a contribution plan bundle

When clicked on add the ContributionPlanBundle card open

Edit a contribution plan bundle

When edit on add the ContributionPlanBundle card open, all fields but CODE can be edited

Replace a contribution plan bundle

When edit on add the ContributionPlanBundle card open, all fields but CODE can be edited

ContributionPlanBundle card

  • code (mandatory, not editable once created)
  • name (mandatory)
  • DateValidTo (mandatory)
  • DateValidFrom

...

    • name
    • code
    • product
    • periodicity
    • DateValidTo (from the details not from CP)
    • DateValidFrom (from the detailsnot from cp)
    • replace, edit and delete button

a add button should be placed on the top right of the list,

Add a contribution plan in the  bundle

When clicked on add the create popup will be displayed,  all fields but CPB are editable (CPB is defined by the parent page), here are the mandatory fields

  • contribution plan selected
  • DateValidTo (from the details not from CP)


Edit a contribution plan in the  bundle,

When clicked on edit the update popup will be displayed,  only DateValidTo will be editable

Replace a contribution plan in the  bundle

When clicked on replace the replacend popup will be displayed,  all fields but CPB are editable (CPB is defined by the parent page), here are the mandatory fields

  • contribution plan selected
  • DateValidTo (from the details not from CP)


The material (Save) UI button will save the changes

...