web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Security Filters - Business Central

(3) ShareShare
ReportReport
Posted on by 6
I want to include a security filter for the purchase line table. With the filter, user should be able to access a specific list of items and specific set of GL accounts.
 
I attempted to achieve this by including both items and GL accounts in security filter in the same permission set and different permission sets. With both the approaches, when user selects items in purchase lines, system shows an error "A security filter has been applied to table Purchase Line. You cannot access records that are outside this filter".
 
Is it possible to have a security filter for both items and GL accounts at the same time and how?
Attachement 1.png
Attachment 2.png
I have the same question (0)
  • Suggested answer
    Mustafa Omerbegović Profile Picture
    1,477 Moderator on at
    Hello,

    It may be a better option to set a security filter on the Items and Chart of Accounts tables, not on the purchase line. If you exclude items from the item table on the permission set, then the users will not be able to see them when they want to populate the purchase line.
     
    I have the same setup for Vendor. The client wants to filter out every vendor that starts with 3* for some users. Works great.
     
    Greetings, Mustafa
  • Suggested answer
    Mansi Soni Profile Picture
    8,951 Super User 2026 Season 1 on at

    Hello, In Business Central, security filters can apply to specific fields in a table and combine conditions using AND logic. So, if you try to apply filters for both Items and G/L Accounts on the Purchase Line table, the system expects a single record to match both conditions at the same time. But in reality, a purchase line is either for an item or for a G/L account - not both - so this setup doesn’t work and leads to that error you're seeing.

    To handle this, the best approach is to create separate permission sets: one that filters items and another that filters G/L accounts. Then, assign them based on what the user actually needs access to. Unfortunately, Business Central doesn’t support OR logic in security filters, so combining both filters in one set won’t work.

    Hope this will help you to resolve it!

    Regards,
    Mansi Soni

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,302 Super User 2026 Season 1 on at
    In your case, don't apply it to the Purchase Line. Apply the security filter to the Item and G/L Accounts table. However, this will make the users only able to see the filtered Item and G/L Accounts on all areas (not just purchase).
  • Gerardo Rentería García Profile Picture
    25,555 Most Valuable Professional on at

    Hi, good day
    I hope this can help you, and give you some hints.

    Hide Confidential Records with Security in Business Central - Sharing The Righter Way - Cynthiapriebe.com

    Best Regards
    Gerardo

  • Suggested answer
    YUN ZHU Profile Picture
    99,086 Super User 2026 Season 1 on at
    Or you could consider customizing it, so you can add some default filters.
    More details: Dynamics 365 Business Central: How to make some filters mandatory on the list page (users can not change or remove)
     
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,993 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,116 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans