R36433 Rental Asset - Rental Asset And Managed Asset Enterprise Company Are Equal
Code | R36433 |
Entity | Applications.Rental.Assets Entity |
Name | RentalAssetAndManagedAssetEnterpriseCompanyAreEqual |
Layer | Back-End |
Attribute | EnterpriseCompany |
Events | Commit |
Modify | NO |
Action | If Rental.Asset.EnterpriseCompany != Null AND Rental.Asset.ManagedAsset != Null AND Rental.Asset.ManagedAsset.EnterpriseCompany != Null, validate that Rental.Asset.EnterpriseCompany == ManagedAsset.EnterpriseCompany. |
Description | The rule validates that the selected managed asset has the same enterprise company as the rental 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 rental asset '{RentalAssetCode}: {RentalAssetName}' are
different. Please, select a managed asset whose Enterprise Company is the same as the one of the rental 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.