Hey
I am trying to limit the user’s ability to navigate to the Purchase Invoice page (51).
But i am not able to use the indirect execute permission, because i am not able to add the permission to my codeunit, i can only add TableData permission to my codeunit.
So how do i use the indirect execute permission?
I apologize, I did not see your latest reply as the thread page had not loaded when I sent my previous message. I was only able to see your initial reply
Regards
No, where did you get that from?
Do you understand how permission work?
I dont see what is hard to understand?
If you want to use an indirect permission (x insted of X), then the object you are using needs to have the permission insted, so you can "inherit" its permission.
But you are not able to add an page Execute permission to a codeunit, so where would i use a indirect execute permission if not in a codeunit?
Sorry, but Its uncomprensible :S
Do u want to open a page from a codeunit?
Then use Page.Run
Do u want not to open the same page in the same codeunit?
then dont use the code above (?)
U want a user be unable to open a page?
then use the permission module where u can filter the page, so the user cant open it (nothing to do with codeunits)
Pls we need more information of what u are tryiing to do
I want to open my page with my codeunit, so i can give the codeunit Execute permission to the page, and not the user.
Which codeunit you talking about? Do you want to enable indirect permission for your codeunit or your table? I don't understand
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,993 Most Valuable Professional
nmaenpaa 101,156