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
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:
The purpose of this implementation is to keep the live tables limited to active data