Requirement: Unable to modify the Requested ShipDate attribute on a service line if work order is present in the order and order is in created status.
Facing Error- "OMP10085 Cannot change Attribute for Product Line already associated with a Delivery Line."
Resolving the problem
If Product line is associated with a Delivery Line then above attributes (PersonInfoShipTo, ReqShipDate, ReqDeliveryDate, ReceivingNode, ShipNode and MergeNode) cannot be changed (as per the changeOrder API documentation). For changing this value, it should be changed on Delivery line and change is propagated to all the associated Product Lines. This is applicable if work order is not created.
If work order is created and is not cancelled then system does not allow to change attributes (PersonInfoShipTo, ReqShipDate, ReqDeliveryDate, ReceivingNode, ShipNode and MergeNode), no matter whether the appointment is taken or not. System checks if work order is created do not allow to change these attributes.
For delivery orders, user do not need to put a RequestedShipdate. Scheduling uses appointments dates and schedules accordingly. The ExpectedDeliveryDate/ExpectedShipmentDates are adjusted on the schedule as soon as the appointment is modified.