Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Current Situation
When a schedule and an order are configured via JOE and stored at the same time the schedule shown in JOC displays 0 at UsedByOrders, which is wrong.
The problem occurs due to the ordering in which the JobScheduler Objects are stored by the InventoryPlugin.
At the moment the order is stored in the DB the schedule hasn´t been stored yet and therefore there is no (schedule)Id to be determined.
Desired Behavior
When a schedule is configured and referenced by an order or job it should always determine the correct values for UsedByJobs and UsedByOrders.
Workaround
Save the order again after the schedule is saved and the values are displayed correctly.