IBM Support

DOM: scheduleOrder and scheduleOrderlines API

Question & Answer


Question

DOM: scheduleOrder and scheduleOrderlines API

Answer

Q) We have an Order with multiple order lines. We need each order line to get scheduled using a different Scheduling rule.
How can we do this.

A)Currently this is not possible as the Schedule order rule is at the order level and not at the line level.

Q)What is the difference between ScheduleOrder and ScheduleOrderLines Api.

A)ScheduleOrder Api looks for all the constraints involved but ScheduleOrderLines API is designed in a very simple fashion and it doesn’t check for as many parameters and constraints as scheduleOrder does.
In order to achieve the above requirement, prior to scheduleOrderLines Api; call getPossibleSchedules API which will let you know what are the lines that can possibly be scheduled. With this information you can form the input for scheduleOrderLines and schedule the corresponding order lines

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

FAQ3062

Document Information

Modified date:
16 June 2018

UID

swg21519112