R30425-3 StoreTransactionLine - Copy Parent Store Order Line Values
| Code | 30425-3 |
| Entity | Logistics.Inventory.StoreTransactionLines Entity |
| Name | CopyParentStoreOrderLineValues |
| Attribute | Product, QuantityUnit,QuantityBase, Quantity,OriginalProduct |
| Layer | Front-End |
| Events | AttributeChanged(ParentStoreOrderLine) |
| Priority | Normal |
| Modify | YES |
| Applicable Legislations | ALL // no condition needed |
| Action | if (ParentStoreOrderLine != null)
{
l.LineNo = ParentStoreOrderLine.LineNo; l.Product = ParentStoreOrderLine.Product; l.QuantityUnit = ParentStoreOrderLine.QuantityUnit; l.QuantityBase = ParentStoreOrderLine.QuantityBase; l.Quantity = ParentStoreOrderLine.Quantity; l.OriginalProduct = ParentStoreOrderLine.Product; } |
| Description | When Parent Store Order Line is changed, copy the related values to the current line. |
| 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.