R27012 Shipment - Line Keep Product

Code 27012
Name LineKeepProduct
Entity Logistics.Shipment.Shipments Entity
Layer Back-End
Attribute Line.ShipmentOrderLine
Events Planned +
Modify NO
Action If "ShipmentOrderLine" has value, then ShipmentLine.ParentSalesOrderLine = ShipmentOrderLine.ParentSalesOrderLine.
Description The shipment lines could be added manually only by choosing a parent "Shipment Order Line" or "Parent Sales Order Line". In this case, we have to make sure that the right documents referred. If the field "Shipment Order Line" in the line has value, then the value of the field "Parent Sales Order Line" in the current line must be the same as the value in the field "Parent Sales Order Line" of the corresponding line of the Shipment order.
Message Shipment line [Line Number] in document [Document Type] [Document Number] can't be saved because it has different parent sales order line than the parent sales order line of the corresponding shipment order line.

Check that the correct shipment order line is selected and that the parent sales order line is the same as the one in the shipment order line.
Introduced In Version 2017
Revocable NO

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.