R20750-3 PaymentSlip - Payment Account Enterprise Company Should Equal EC

Code R20750-3
Entity Finance.Payments.PaymentSlips Entity
Name PaymentAccountEnterpriseCompanyShouldEqualEC
Attribute PaymentAccount
Layer Back-End
Events Planning
Modify NO
Action Validate that:

PaymentAccount.EnterpriseCompany = null or PaymentAccount.EnterpriseCompany == PaymentSlip.EnterpriseCompany
Description The rule validates that the Payment Account that is filled in the current Payment Slip does not belong to another Enterprise Company.
Message Payment Account should be from the same enterprise company as document '{DocumentText}'

Message also used in:

R20750-2 PaymentOrder - Payment Account Enterprise Company Should Equal EC

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

R20750-5 PaymentTransfer - Payment Account Enterprise Company Should Equal EC

R20750-6 InvoiceOrder - Payment Account Enterprise Company Should Equal EC

R20750-7 Invoice - Payment Account Enterprise Company Should Equal EC

R20750-1 BulkPaymentOrder - Payment Account Enterprise Company Should Equal EC

R20750-9 PurchaseInvoice - Payment Account Enterprise Company Should Equal EC
Introduced In Version 2015
Revocable NO

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