Task: Penalties as a contract
Description
Packages that record penalties for records of their own, such as lateness incidents and leave requests, use the
contract Penalties of the core: who may record one, which penalty holds a source, and the penalty as the API
shows it. The command Record answers the ID of the penalty instead of the entity, and Penalty
moved to the contracts of the core.
Impact
None for users. A package recording penalties reads the result of Record as an ID.