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

Can we filter Sales Lines to show only specific G/L Account(s)?

(0) ShareShare
ReportReport
Posted on by 225

Hi,

We have a requirement where on Sales Lines, when users choose G/L Account as Type, we want to allow on selected accounts to appear.

Appreciate if someone can guide us.

TIA,

Shaishav Merchant  

  • Suggested answer
    JAngle Profile Picture
    161 on at

    A standard way of achieving this would be using a security filter in a permission set. The flaw here would be that only a collection of users who log sales quotes/orders etc would have that permission set. You would add the security filter for the g/l account table. It would impact a user whenever they access it - so not just for sales lines.

    Alternative would be a modification that is similar to the item table. It has a field called “sales blocked”. That could be copied.

  • ShaishavM Profile Picture
    225 on at

    Hi Josh,

    Much appreciate your reply.

    We need these users to view full chart of account, so can't use Security Filter.

    This restriction is required only when selecting G/L Account on Sales Lines.

    Currently;

    1. We created a Boolean field on COA, "Show on Sales Line"

    2. When TRUE, system validates and gives an error message when any other account is selected.

    3. However, it still lists all accounts.

    4. We want to display only accounts where the "Show on Sales Line" is TRUE.

    I am confident this can be achieved, but not sure how.

    Thanks

    Shaishav Merchant.  

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 677 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 430 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 280 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans