1.76 B2 5743 Deactivated schedule still available
Submitted by Guest on Fri, 28/02/2014 - 05:22
If you deactivate a schedule, it will happily disappear from the Admin|Organisation|Schedule and Schedule View screens (unless of course you ask for inavtive items to be shown).
However, the Workflow|Scheduling screen will happily display and let you use a schedule that has been deactivated.
This behaviour is, I think, inconsistent with the normal 'if you deactivate something it disappears from (normal) view' behaviour.
In order to remove a schedule from the Workflow|Scheduling screen, you need to delete the unwanted schedule from the schedule view.
Note that this is a totally non-critical problem and we only discovered it by accident.
Regards, Tim G
Re: 1.76 B2 5743 Deactivated schedule still available
Schedule views are a bit different, as there is no facility to show/hide inactive schedules, and it doesn't make much sense to provide it.
In general, it is better to remove a relationship to an inactive item where possible; it is one less object that needs to be loaded from the database to then be discarded.
Re: 1.76 B2 5743 Deactivated schedule still available
OK - have updated both http://www.openvpms.org/documentation/csh/1.7/admin/organisation/schedule and http://www.openvpms.org/documentation/csh/1.7/admin/organisation/worklist to say that you should remove the shedule/work list from the any views if you deactivate.
Regards, Tim G