R37966 StoreOrder – Check Is Fulfilled For Completion

Code R37966
Entity Logistics.Inventory.StoreOrders Entity
Name CheckIsFulfilledForCompletion
Attribute StoreOrderLinesUnfulfilledView.IsFulfilled
Layer Back-End
Events Completing +
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action For all records in StoreOrderLinesUnfulfilledView where StoreOrder == current StoreOrder

, validate that:

IsFulfilled == True.
Description The store order can not be completed, if any of its lines is not fulfilled.
Message Store order '{DisplayText}' cannot be completed because it has not been fulfilled.

Ensure that all lines are fulfilled and try again.
Version
Revocable YES

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