Versions Compared

Key

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

...

  • Code (varchar (64) )

  • PolicyHolderUUID (fk policyHolder)

  • AmountNotified (float)

  • AmountRectified (float)

  • AmountDue (float)

  • DateApproved (datetime) READ ONLY

  • DatePaymentDue (date ) READ ONLY, NICE TO HAVE update possible only with the approve/counter authority

  • State (ConfigEnum:ContractState, 2 (which corresponds to Draft) by default, read-only)

  • PayementReference(varchar 256)

  • Amendment (0 by default, read-only)*

  • DateValidFrom

  • DateValidTo

...

Code, DateValidFrom and DateValidTo is mandatory

Nice to have:

  • with update/create authority,

    • Date payment due READ ONLY

  • with the authority “Approve/ask for change”

    • Editable

on contract update

PH Can be set but not edited once saved.

  • with update authority,

    • in updatable state only Code, PH, DateValidFrom and DateValidTo cannot be changed,

    • no changes possible in other status

  • with the authority “Approve/ask for change”

    • in updatable state all can be changed,

    • in “Approvable” changes are possible only Code, DateValidFrom and DateValidTo cannot be changed,

...