Restrict dimension values by account
An Accounting Dimension Filter checks the dimension value of each ledger entry that posts to selected accounts. It stops a document with a wrong value before submission. For example, the Sales - NET account must always carry the Sales department.
The amounts and accounts of the document do not change. The filter checks only the tag.
Prerequisites
- The accounting dimension exists, with its values.
- You know which accounts need the rule.
Create a filter
- Open the Accounting Dimension Filter list and select Add Accounting Dimension Filter.
- Select the Accounting Dimension and the Company.
- Keep Apply restriction on dimension values selected, and select Allow Or Restrict Dimension:
- Allow: only the listed values can be used with the accounts. Use it when few values are valid.
- Restrict: the listed values cannot be used with the accounts. Use it when only a few values are wrong.
- In Applicable On Account, add each account. Select Is Mandatory on a row to require a value on that account.
- In Applicable Dimension, add the values to allow or restrict.
- Save. The filter applies at once. It does not need to be submitted.
If you clear Apply restriction on dimension values, the filter only makes the dimension mandatory on the accounts with Is Mandatory selected.
How the filter checks documents
When a row of a document posts to an account in the filter:
- with Allow, a value outside the list stops the document;
- with Restrict, a value in the list stops the document;
- with Is Mandatory, an empty value stops the document.
The check runs on each ledger row, which matters for documents with many income and expense rows. Existing submitted entries do not change.
Select Disabled to stop a filter for a while without deleting it.
Keep filters manageable
Start with the accounts where a wrong tag hurts reports most, usually income and expense accounts. Avoid several filters on the same account. Test each filter with a draft document before you roll it out, and note why it exists.
Troubleshooting
The dimension is mandatory
The document posts to an account with Is Mandatory. Enter an allowed value on that row.
A valid value is not accepted
Check Allow Or Restrict Dimension, the company, and the list of values.
The filter has no effect
Check that the document posts to an account in the filter, and that the filter is not disabled.