I'm having problems with re-scheduling production orders in a bath job. Currently we do re-schedule all production orders in status Scheduled again in a batch job, which is working fine. Now we want to be able to schedule a group of production orders in another scheduling direction (Backward from delivery date instead of Forward from tomorrow).
To make this happen, I'm trying to reset the status of all production orders with current status Scheduled (to Estimated), to make sure they are out of the scheduling. After this I will re-schedule in two separate batch jobs.
When running the batch job to reset the status of the production orders, the first run works without problems. But when running the batch job for the second time, I do get an error mentioning "The status cannot be reset from Estimated to Estimated on production 3884 because of the parameter setup."
As far as I can see, the batch job is trying to reset the status of the same production order. So I thought I forgot the Late Section option, but this function is already turned on.
Anybody an idea how to solve this problem?