R36453 Service Object - Service Object And Managed Asset Enterprise Company Are Equal
| Code | R36453 |
| Entity | Applications.Service.ServiceObjects Entity |
| Name | ServiceObjectAndManagedAssetEnterpriseCompanyAreEqual |
| Layer | Back-End |
| Attribute | EnterpriseCompany |
| Events | Commit |
| Modify | NO |
| Action | If ServiceObject.EnterpriseCompany != Null AND ServiceObject.ManageAsset != Null AND ServiceObject.ManagedAsset.EnterpriseCompany != Null, validate that ServiceObject.EnterpriseCompany == ManagedAsset.EnterpriseCompany. |
| Description | The rule validates that the selected managed asset has the same enterprise company as the service object 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 service object '{ServiceObject.Name}'
are different. Please, select a managed asset with an Enterprise Company that is the same as the Enterprise Company of the service object, 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.