Hi everyone,
we’re implementing Security Filters in Business Central to restrict access to Bank Accounts based on the user’s department.
The restriction is applied through the Shortcut Dimension 2 Code, and the visibility filtering itself works as expected.
However, we’re running into a major issue:
When a user tries to add a Bank Account to the Payment Reconciliation Journal, Business Central throws an error because the Security Filter blocks access to the record.
What makes this more complicated is that the error occurs inside the Base App, specifically when standard code performs database operations such as <Rec>.Count() or <Rec>.FindSet() on the Bank Account table.
Because these operations respect the Security Filter, they fail when the user does not have access to all bank accounts.
I tried setting the record to SecurityFilter::Ignored, but the relevant functions do not expose any events or triggers where we could temporarily override or adjust the security filter.
Is there any supported way to bypass or override Security Filters during this specific operation, or are there alternative approaches to achieve department‑based visibility for Bank Accounts without running into this error?
Thanks for any response!