Business Central controls this on the G/L account, not on the dimension value. Use Dimensions-Multiple on the Chart of Accounts and set an Allowed Values Filter on the DEPARTMENT dimension. To keep MARKETING and SALES on Travel and Entertainment accounts only, you need two setups: one on the T&E accounts (allow only MARKETING and SALES) and one on every other account (block MARKETING and SALES).
Got this error? "Dimension value DEPARTMENT, ADM is not allowed for G/L Account, 8430." The account has an Allowed Values Filter. Change the department on the line to one the account accepts, or ask your BC admin which departments are allowed.
The example
The finance team wants the MARKETING and SALES departments used only on Travel and Entertainment & PR expenses. Every other account should reject them.
Why one setup is not enough
The Allowed Values Filter sits on the account. It controls which departments that account accepts. It does not control where a department can be used.
If you only restrict the Travel and Entertainment accounts, users can still post MARKETING to Office Supplies, Salaries or any other account without a filter. You need both:
| Accounts | Value Posting | Allowed Values Filter |
| Travel, Entertainment & PR | Code Mandatory | MARKETING|SALES |
| All other P&L accounts | Code Mandatory | <>MARKETING&<>SALES |
Step 1: Allow only MARKETING and SALES on the T&E accounts
- Open Chart of Accounts and select the Travel and Entertainment accounts.
- Choose Account › Dimensions-Multiple.
- Add DEPARTMENT and set Value Posting to Code Mandatory.
- Click the ... in the Allowed Values Filter field.
- Tick MARKETING and SALES, then click OK.
The filter now shows MARKETING|SALES.
Step 2: Block MARKETING and SALES on all other accounts
- In Chart of Accounts, select the other P&L posting accounts. Leave out the T&E accounts.
- Choose Account › Dimensions-Multiple, add DEPARTMENT and set Value Posting to Code Mandatory.
- Type
<>MARKETING&<>SALESdirectly in Allowed Values Filter.
Ticking ADM, PROD and PURCHASING saves a fixed list. Any department you create later is then blocked on all these accounts until someone updates them. The typed filter allows new departments automatically. If you open the ... page to check it, close it with Cancel. Clicking OK can turn your filter into a fixed list.
ADM|PROD|<>SALES&<>MARKETING looks like "only ADM and PROD", but it allows everything except SALES and MARKETING, including PURCHASING. Pick one:
ADM|PROD– only these two. SALES and MARKETING are blocked automatically.<>MARKETING&<>SALES– everything except these two.
Code Mandatory also makes the department compulsory on these accounts. If the department should stay optional, test whether your BC version accepts the filter with Value Posting left blank. For balance sheet accounts that never carry a department, set Value Posting to No Code.
Step 3: Test both directions
Create a General Journal line for a Travel account with department ADM and post it. Business Central stops the posting.
Then try MARKETING on any other expense account. It should be stopped too. If it posts, Step 2 is missing on that account.
- Dimensions-Multiple applies the line to every selected account. If some accounts already have their own DEPARTMENT default, such as Same Code PROD, leave them out and update them one by one.
- Open journals, recurring journals and unposted documents with MARKETING or SALES on other accounts will fail at posting. Clear them first. Posted entries are not affected.
- New G/L accounts do not get the filter automatically. Add it when you create the account.
Quick Recap
| 1 | T&E accounts › Dimensions-Multiple › DEPARTMENT, Code Mandatory, MARKETING|SALES |
| 2 | All other P&L accounts › Dimensions-Multiple › DEPARTMENT, Code Mandatory, type <>MARKETING&<>SALES |
| 3 | Don't mix a list like ADM|PROD with <> in the same filter |
| 4 | Test both directions before go-live |
Have a question about dimensions in Business Central? Drop a comment below — happy to help.







Comments
Post a Comment