Hi Community,
Could you help me with this:
I create a new role in BC, but in this case the user that will be working in this role, he will have not permission to Post sales order, my inquiry is how I can lock or hide this action for specific role and user?
Thank you for your time.
Hi, If you don't need to set conditions, you can easily remove them by using the Customize Pages function on the Profile page.
Hope this helps.
Thanks.
ZHU
Hi
In your User Setup page create a boolean field called as IsAccessible and after creating that field in User Setup table and page extension.
Then in the Business Central User Setup page just select this boolean to be true whichever user needs to be shown the post action.
If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much.
Hi Vaishnavi,
I try follow your instructions but "User Setup" does not contain a definition for IsAccessible because is a global variable.
Could you said me how I can fixing and how assigned the user.
thank you
IsAccessible:= Rec_User.IsAccessible;
Hi,
You can create a boolean in user setup page and whenever the boolean is true then in your onopen page trigger use the below logic of sales order card page extension
Var IsAccessible: boolean // declare a global variable
//To get the user and which user is able to see post action
You can achieve it with the permission sets by removing access to the post.
Or you can go to the profiles and customize the sales order page to hide the post actions.
André Arnaud de Cal...
291,969
Super User 2025 Season 1
Martin Dráb
230,842
Most Valuable Professional
nmaenpaa
101,156