R26727 AccountingVoucher - Line Account Enterprise Company Equals Voucher Enterprise Company

Code R26727
Entity Finance.Accounting.AccountingVouchers Entity
Name LineAccountECEqualsEC
Attribute Line.Account
Layer Back-End
Events Planning +
Priority Normal
Modify NO
Action AccountingVoucherLine.Account.EnterpriseCompany == null

OR AccountingVoucherLine.Account.EnterpriseCompany == AccountingVoucher.EnterpriseCompany
Description Checks if every line's Account is for an Enteprise Company equal to the Enteprise Company specified in the Accounting Voucher.
Message Line '{LineNo}' in document '{DocumentText}' has an account for an enterprise company other than the enterprise company specified in the document.

Sort Messages By Attribute: LineNo
Introduced In Version 2020.1
Revocable NO

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