Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Restricting users from posting into specific GLs

Posted on by 304

Morning, 

Is there a way to do this? if so, how?

Many thanks

Alejandra

  • Suggested answer
    Amit Baru Profile Picture
    Amit Baru 3,025 on at
    RE: Restricting users from posting into specific GLs

    Hi,

    According to the Query, If you want to restrict user for selected G/L Account. Follow the steps

    1. Create one Field in G/L Account table and one field on User Setup table

    2. Write code on

     > Gen. Journal Line fields on validate "Account No." and "Bal. Account No."

     > Sales Line Field on Validate "No."

     > Purchase Line Field on Validate "No."

     > Service Line field on Validate "No."

    At the time of selecting the G/L Account, system check the User permission and check at which G/L Account marked for restriction.

    Regards

    Amit Sharma

    www.erpconsultors.com

    www.linkedin.com/.../

    Click on Yes button, if solution is useful.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    RE: Restricting users from posting into specific GLs

    I think the easiest way will be to implement a security filter on the G/L Account table.

    Please refer to this doc:

    docs.microsoft.com/.../security-filters

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans