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

Code 20750-4
Entity Finance.Payments.PaymentTransactions Entity
Name PaymentAccountEnterpriseCompanyShouldEqualEC
Attribute PaymentAccount
Layer Back-End
Events Planning +
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action Validate that: PaymentTransaction.PaymentAccount.EnterpriseCompany==null OR PaymentTransaction.PaymentAccount.EnterpriseCompany == PaymentTransaction.EnterpriseCompany
Description If the payment transaction contains a payment account, and the payment account contains an enterprise company, then make sure that the payment transaction'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 2022
Revocable NO