R39040 Accounting Voucher Lines - Line New Currency Is Valid
Name | Value |
---|---|
Code | R39040 |
Entity | Finance.Accounting.AccountingVoucherLines Entity |
Name | LineNewCurrencyIsValid |
Attribute | Currency |
Layer | Front-End |
Events | AttributeChanged (Currency) |
Priority | Normal |
Modify | NO |
Applicable Legislations | ALL // no condition needed |
Action | Validates that: If (Account != null) AND (Account.Currency != null) AND (Account.LimitToBaseCurrency = False) THEN (Currency == Account.Currency) If (Account != null) AND (Account.LimitToBaseCurrency = TRUE) THEN (Currency = AccountingVoucher.EnterpriseCompany.BaseCurrency OR AccountingVoucher.EnterpriseCompany.ReportingCurrency) |
Description | If the Account specified in Voucher Lines does not have the 'Limit to base currency' enabled, then the Currency in the Accounting Voucher Line must match the specified Account Currency (if any). However, if the 'Limit to base currency' is enabled, then the Currency used in the Accounting Voucher Line must be either the Enterprise Company's Base Currency or Reporting Currency. |
Message | The selected Currency is invalid. This account allows only '{Account.Currency}' or, if limited to base currency, the enterprise company's Base '{AccountingVoucher.EnterpriseCompany.BaseCurrency}' or Reporting '{AccountingVoucher.EnterpriseCompany.ReportingCurrency}' currency. Please select a valid currency. |
Version | Introduced: 2026 |
Revocable | YES |