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 Supplier's enterprise company is different than 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.