Skip to content

Latest commit

 

History

History
47 lines (45 loc) · 4.82 KB

R20750-9.md

File metadata and controls

47 lines (45 loc) · 4.82 KB

erp.type: business-rule erp.entity: Logistics.Procurement.PurchaseInvoices

R20750-9 PurchaseInvoice - Payment Account Enterprise Company Should Equal EC

+-----------------------------+---------------------------------------------------------------------------------------+ | Code | R20750-9 | +-----------------------------+---------------------------------------------------------------------------------------+ | Entity | @Logistics.Procurement.PurchaseInvoices | +-----------------------------+---------------------------------------------------------------------------------------+ | Name | PaymentAccountEnterpriseCompanyShouldEqualEC | +-----------------------------+---------------------------------------------------------------------------------------+ | Attribute | PaymentAccount, EnterpriseCompany | +-----------------------------+---------------------------------------------------------------------------------------+ | Layer | Back-End | +-----------------------------+---------------------------------------------------------------------------------------+ | Events | Planning + | +-----------------------------+---------------------------------------------------------------------------------------+ | Priority | Normal | +-----------------------------+---------------------------------------------------------------------------------------+ | Modify | NO | +-----------------------------+---------------------------------------------------------------------------------------+ | Applicable Legislations | ALL // no condition | | | needed | +-----------------------------+---------------------------------------------------------------------------------------+ | Action | If PaymentAccount != Null, validate that: | | |
| | | PaymentAccount.EnterpriseCompany == EnterpriseCompany | | | OR PaymentAccount.EnterpriseCompany = Null | +-----------------------------+---------------------------------------------------------------------------------------+ | Description | If the document contains a payment account, and the payment account contains an | | | enterprise company, then make sure that the document's enterprise company is the | | | same as the payment account enterprise company. | +-----------------------------+---------------------------------------------------------------------------------------+ | Message | Use the message from: | | |

| | | R20750-3 PaymentSlip - Payment Account Enterprise Company Should Equal | | | EC | +-----------------------------+---------------------------------------------------------------------------------------+ | Version | Introduced: 2015 | +-----------------------------+---------------------------------------------------------------------------------------+ | Revocable | NO | +-----------------------------+---------------------------------------------------------------------------------------+

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.