R27049 PaymentAccount - Enterprise Company

Code R27049
Entity Finance.Payments.PaymentAccounts Entity
Name EnterpriseCompany
Layer Back-End
Attribute EnterpriseCompany
Events Commit
Modify NO
Action If (PaymentAccount.BankAccount != null

Enterprise Company != null
Description In the Payment Account definition, if the user enters a value in the Bank Account attribute, he also must enter a value in the Enterprise Company attribte. Bank Accounts always refer to specific Enterprise Company.
Message An error occurred while saving data to the database The payment account '{0}' has no enterprise company and therefore cannot have bank account. The payment accounts can only have bank accounts of their enterprise company.,PaymentAccountName
Introduced In Version 2017
Revocable NO

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