R37902 PurchaseInvoice - Check Supplier Enterprise Company
| Code | R37902 |
| Entity | Logistics.Procurement.PurchaseInvoices Entity |
| Name | CheckSupplierEnterpriseCompany |
| Layer | Back-End |
| Attribute | Supplier |
| Events | Planning + |
| Modify | NO |
| Action | Validate that: Supplier.EnterpriseCompany == PurchaseInvoice.EnterpriseCompany OR Supplier.EnterpriseCompany == null |
| Description | The rule validates that the selected supplier has the same enterprise company as the document. A supplier without selected enterprise company is regarded as valid for all enterprise companies. |
| Message | The supplier's enterprise company is different from the document's enterprise company. Please, select a supplier that belongs to the same enterprise company as the purchase invoice document. |
| Introduced in Version | v.25 |
| Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.