Skip to content

SPB - Closure and archiving of historical bonus #734

@cmondinoeos

Description

@cmondinoeos

Implement an action “Close bonus” on the bonus contract that verifies there are no non-settled lines, temporary entries, or pending settlements, and then sets the contract status to “Closed.”

The closed contract must not be editable, except for a notes field added in the header.

Add an action “Archive bonus” that moves all tables related to the bonus into the corresponding Archive tables:

  • Bonus Header Archive
  • Bonus Line Archive
  • Bonus Ledger Entry Archive
  • Bonus Allocation Entry Archive
  • Bonus Application Entry Archive

The purpose of this implementation is to keep the live tables limited to active data

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions