922 B
922 B
Changelog
Unreleased
Breaking Changes
- W-3 (fix-assignment-asset-movement-audit):
Assignment.idis no longer stable across person swaps. WhenupdateAssignmentUseCaseorupdateAssetUseCasechanges a person on an active assignment, the old assignment is now closed (withclosedAt/closedByIdset;AssignmentStockReturnrow created for QUANTITY;AssignmentAssetLine.returnedAtset for SERIALIZED) and a NEWAssignmentis created with a newid. Any code that holds anAssignment.idexpecting stability across person swaps must be updated to look up the new id (e.g., via the activeAssignmentfor the person/asset). The change replaces a phantomRETURN+ASSIGNMENTpattern that wrote both movements to the sameAssignment.idwithout creating anAssignmentStockReturnrow.
Released
Unreleased changes appear above. Released versions will be added below as they are tagged.