-
Notifications
You must be signed in to change notification settings - Fork 73
Closed
Description
animallocation records need to be written when an exit movement is recorded and when the animal dies.
Primary reason is so that reports on animallocation do not need to look elsewhere and do union queries to fill in this data, like the "animal location history" report does.
Keeping the two in sync is going to be difficult. Add two new columns to animallocationhistory:
MovementID int
IsDeath int
This will make it easier for the update code to find the existing record and update it if necessary