R20750-5 PaymentTransfer - Payment Account Enterprise Company Should Equal EC
| Code | R20750-5 |
| Entity | Finance.Payments.Transfers Entity |
| Name | PaymentAccountEnterpriseCompanyShouldEqualEC |
| Attribute | SourcePaymentAccount, DestinationPaymentAccount, EnterpriseCompany |
| Layer | Back-End |
| Events | Planning + |
| Priority | Normal |
| Modify | NO |
| Applicable Legislations | ALL // no condition needed |
| Action | Validate that: (SourcePaymentAccount.EnterpriseCompany == EnterpriseCompany OR SourcePaymentAccount.EnterpriseCompany = Null ) AND (DestinationPaymentAccount.EnterpriseCompany == EnterpriseCompany OR DestinationPaymentAccount.EnterpriseCompany = Null) |
| Description | If the source and the destination payment accounts contain enterprise companies, then make sure that the payment transfer's enterprise company is the same as the enterprise companies of both payment accounts. |
| 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.