R36423 Asset - Fixed Asset And Managed Asset Enterprise Company Are Equal

Code R36423
Entity Finance.Assets.Assets Entity
Name FixedAssetAndManagedAssetEnterpriseCompanyAreEqual
Layer Back-End
Attribute EnterpriseCompany
Events Commit
Modify NO
Action If ManagedAsset !=Null, and ManagedAsset.EnterpriseCompany is not NULL validate that
Finance.Assets.Asset.EnterpriseCompany == ManagedAsset.EnterpriseCompany.
Description The rule validates that the selected managed asset has the same enterprise company
as the fixed asset, and does not throw an error if ManagedAsset.EnterpriseCompany is empty.
Message The Enterprise Company for the selected managed asset '{ManagedAsset.Code}: {ManagedAsset.Name}' and the current fixed asset '{Finance.Assets.Asset.Code}: {Finance.Assets.Asset.Name}' are different.
Please, select a managed asset whose Enterprise Company is the same as the one of the fixed asset, or is not specified.
Introduced v.24
Revocable NO

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