Hi Florian,
Completely overlooked that old routes copied to Production orders would interfere. You would have to delete the old production orders that use an obsolete resource that you'd like to remove. There are obviously some downside such as loss of history or traceability, so someone would need to weigh the importance of keeping there records against the need to remove obsolete resources.
If you have access to a copy of Production Environment, I suggest that you test this and assess just how far back you would need to go to be able to remove the obsolete resources.
Go to Production Control>Periodic Tasks > Clean-Up >Production orders clean-up. You see that there is no query beyond the <Ended before> date field to limit which production orders get deleted.
Not sure of the reason to deactivate the resource, but alternatives to deleting production orders could be a combination of these:
1) Change the description to highlight that they are Obsolete ("Obs-Coating", "Coating-No longer use", "ZZ-Coating")
2) If its a Resources of Human resource type, terminate the Worker in HR module and delete the worker assignment from the resource.
3) Depending on mechanism for resource assignment, remove anything that scheduling engine would use:
- Remove Resource from any Resource groups
- Remove any calendar assignment or assign to a Calendar that has not open days/hours
- Change Efficiency percentage to 0
- Remove any Capabilities (in FastTab) taht could be use to assign job
There might be other ideas out there...