R30423-4 ShipmentLine - Set Unshipped Quantity
Code | 30423-4 |
Entity | Logistics.Shipment.ShipmentLines Entity |
Name | SetUnshippedQuantity |
Attribute | QuantityUnit, Quantity |
Layer | Front-End |
Events | AttributeChanged(ShipmentOrderLine) |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | unshippedQuantity = ShipmentOrderLine.GetUnshippedQuantity();
ShipmentLine .QuantityUnit = unshippedQuantity.Unit;
ShipmentLine .Quantity = unshippedQuantity;
using NoEvents ShipmentLine .ParentSalesOrderLine = ShipmentOrderLine.ParentSalesOrderLine ShipmentLine.Lot = ShipmentLine.ParentSalesOrderLine.Lot |
Description | When Shipment Order Line is changed, Quantity and Quantity Unit are changed to the calculated not shipped quantity from the shipment order, Parent Sales Order Line is changed to the Shipment Order Line's Parent Sales Order Line and Lot is changed to the Parent Sales Order Line's Lot. |
Message | |
Version | Introduced: 2020.1 |
Revocable | YES |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.