R31412 StoreTransaction - Check Line Store Bin

Code R31412
Entity Logistics.Inventory.StoreTransactions Entity
Name CheckLineStoreBin
Attribute StoreTransactionLine.StoreBin
Layer Back-End
Events Releasing +
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action For each line validate that:

If (StoreBin !=Null),

StoreBin.Store = StoreTransaction.Store
Description If the store transaction line contains a store bin thеn make sure that the store bin is defined for the store.
Message In line number '{LineNo}' of document '{DocumentText}' is selected an invalid store bin. The selected store bin '{StoreBin.StoreBinName}' is not defined for the store '{Store.StoreName}'. Select a store bin which is defined for store '{Store.StoreName}'.
Version Introduced: 21
Revocable NO

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