R36440 Vehicle - Vehicle And Managed Asset Enterprise Company Are Equal

Code R36440
Entity Applications.Fleet.Vehicles Entity
Name VehicleAndManagedAssetEnterpriseCompanyAreEqual
Layer Back-End
Attribute EnterpriseCompany
Events Commit
Modify NO
Action If Vehicle.EnterpriseCompany != Null AND Vehicle.ManageAsset != Null,
validate that Vehicle.EnterpriseCompany == ManageAsset.EnterpriseCompany.
Description The rule validates that the selected managed asset has the same enterprise company
as the vehicle.
Message The Enterprise Company of the vehicle '{Vehicle.RegistrationNumber}'
differs from that of the selected managed asset '{ManagedAsset.Name}'.
Please select a managed asset with an Enterprise Company that equals
the Enterprise Company of the vehicle.
Introduced In Version 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.