R26726 AccountingVouchers – Line Currency Is Valid
Name | Value |
---|---|
Code | R26726 |
Entity | Finance.Accounting.AccountingVouchers Entity |
Name | LineCurrencyIsValid |
Attribute | AccountingVoucherLine.Currency |
Layer | Back-End |
Events | Planning + |
Modify | NO |
Action | For each VoucherLine in the current document, validates that: • If (Account.LimitToBaseCurrency == FALSE), AND (Account.Currency = NULL) then Currency = any value • If (Account.LimitToBaseCurrency == FALSE), AND (Account.Currency != NULL) then Currency = AccountCurrency • If (Account.LimitToBaseCurrency == TRUE), then Currency = EnterpriseCompany.BaseCurrency OR EnterpriseCompany.ReportingCurrency |
Description | For each line in the current Accounting Voucher, the system validates the currency according to the Account’s settings. If the Account is not limited to base currency (Limit To Base Currency is not check-marked) and has no specified currency, any currency is allowed in the Accounting Voucher Line. If the Account is not limited to base currency (Limit To Base Currency is not check-marked) and has a specified currency, it must match the Currency in the Accounting Voucher Line. If the Account is limited to base currency (Limit To Base Currency is check-marked), then the currency used in the Accounting Voucher Line must be either the Enterprise Company's Base Currency or Reporting Currency. |
Message | Line number '{AccountingVoucherLine.LineNo}' of document '{AccountingVoucher.DisplayText}', contains an invalid currency. The selected account allows only specific currencies. If the account is limited to base currency, the voucher line must use the company's base or reporting currency. If the account allows other currencies but has a specified currency, it must match the one used in this line. Please review the account's currency settings. |
Version | Introduced in: 2026 |
Revocable | NO |