Hello,
I’m working with the Current Operations form via the IDO REST API, and I’ve run into some behavior I can’t reconcile with the documentation.
Specifically:
- When I send UseFixedSched/UseOffsetHrs = false in my API payload, the field is automatically reset back to True when I retrieve the record (RefreshItems).
- I attempted to control this by adjusting JshSchedHrs/JshOffsetHrs.
- If I set it to -1, the input mask rejects it.
- If I set it to 0, the system resets it to 0 and still flips Use Fixed Schedule back to True.
- In the UI, I can clear the checkbox manually, but I haven’t found a way to achieve this through the API.
From the documentation I understand:
- If Use Fixed Schedule is selected, the Scheduler Rule is forced to Fixed.
- If it’s cleared, the rule should revert to Per Piece.
- Outside operations always enforce Use Fixed Schedule = True regardless (though in my case, the work center is not outside).
Questions:
- Is there a hidden dependency where FixedSchedHrs or another field forces Use Fixed Schedule = True, even if I send false?
- Through the IDO REST API, is there a way to truly “clear” the FixedSchedHrs field (null it out), rather than sending 0?
- Has anyone successfully managed to keep Use Fixed Schedule = False when creating/updating operations via the API?
Any guidance or confirmation would be greatly appreciated.
Thanks,
Carson
UpdateCollection Body (SLJobRoutes)
[{'Job': ' 267', 'Suffix': '0', 'Type': 'S', 'ItmItem': 'R1100022', 'OperNum': 10, 'Wc': 'REM', 'JshMatrixType': 'P', 'JshSchedDrv': 'M', 'ScheduleDriver': 'Machine', 'CntrlPoint': '1', 'BflushType': 'N', 'EffectDate': '20250908 00:00:00.000', 'JshOffsetHrs': None, 'JshSchedHrs': None, 'JshSetuprule': 5, 'VovhdRateMch': 0, 'FovhdRateMch': 0}]
UpdateCollection Response
{'Message': None, 'Success': True, 'RefreshItems': [{'Action': 1, 'ItemId': 'PBT=[jobroute] …', 'Properties': [{'Name': 'Job', 'Value': ' 267'}, {'Name': 'Suffix', 'Value': '0'}, {'Name': 'Type', 'Value': 'S'}, {'Name': 'ItmItem', 'Value': 'R1100022'}, {'Name': 'OperNum', 'Value': '10'}, {'Name': 'Wc', 'Value': 'REM'}, {'Name': 'JshMatrixType', 'Value': 'P'}, {'Name': 'JshSchedDrv', 'Value': 'M'}, {'Name': 'ScheduleDriver', 'Value': 'Fixed'}, {'Name': 'CntrlPoint', 'Value': '1'}, {'Name': 'BflushType', 'Value': 'N'}, {'Name': 'EffectDate', 'Value': '20250908 00:00:00.000'}, {'Name': 'JshOffsetHrs', 'Value': '0.00'}, {'Name': 'JshSchedHrs', 'Value': '0.00'}, {'Name': 'JshSetuprule', 'Value': '0'}, {'Name': 'VovhdRateMch', 'Value': '0.000'}, {'Name': 'FovhdRateMch', 'Value': '0.000'}, {'Name': 'InWorkflow', 'Value': '0'}]}]}