R24956-1.1 TransferOrder - Check Store Enterprise Company

Code R24956-1.1
Entity Logistics.Inventory.TransferOrders Entity
Name CheckStoreEnterpriseCompany
Attribute FromStore, ToStore
Layer Back-End
Events Commit
Release +
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action

If FromStore.EnterpriseCompany !=null, validate that:
FromStore.EnterpriseCompany == EnterpriseCompany

If ToStore.EnterpriseCompany != null, validate that:
ToStore.EnterpriseCompany == EnterpriseCompany

Description If From Store and To Store fields are filled in, their enterprise
company must be the same as the enterprise company of the document.
Message From Store and To Store should be with the same Enterprise Company as the Enterprise
Company of document '{DocumentText}'.
Version Introduced: v.2016
Revocable NO

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