R30425-8 StoreTransactionLine - Check Parent Store Order Line

Code 30425-8
Entity Logistics.Inventory.StoreTransactionLines Entity
Name CheckParentStoreOrderLine
Attribute ParentStoreOrderLine
Layer Front-End
Events AttributeChanged(ParentStoreOrderLine)
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action if (ParentStoreOrderLine == null AND StoreTransaction.ParentStoreOrder != null)

throw
Description When Parent Store Order Line is changed, check if it is empty. If there is a Parent Store Order in the document, Parent Store Order Line in the line cannot be empty.
Message // use the message from R30425-6 StoreTransactionLine - Set Parent Store Order Line From Product Line No
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.