R30484-1 StoreGroup - Is Enterprise Company Valid

Code R30484-1
Entity Logistics.Inventory.StoreGroups Entity
Name IsEnterpriseCompanyValid
Attribute EnterpriseCompany
Layer Front-End
Events AttributeChanged(EnterpriseCompany)
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action if(EnterpriseCompany!=CurrentEnterpriseCompany)

throw
Description When EnterpriseCompany is changed, if the new value for Enterprise company is different from the Enterprise Company of the currently logged user, an exception is thrown.
Message The selected enterprise company is different from the current enterprise company. The record may become not visible.
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.