Dear Experts
Users randomly received the following permission error when they try to post Purchase Receipt or Sales Return Receipt:
You do not have permission to read the G/L Entry table.
We are using NAV 2009 RTC.
Most of the cases users are able to post and print, which means there is no issue with the permission setup.
Please let me know if you have any clue of this issue.
Thank you.
Li
0
Answers
Try check user access on Database, set users who access as DB_OWNER.
so all users can posting on tables.
Andwian
Hi William
We prefer to not to change the permission to DB_Owner to regular users as they are not the owner of the database.
Just to let you know this error does not happen all the time, which is really confusing to us.
Thank you.
Li
Hi Andwian
We are using Security Filter so that users don’t post GL Entries from Journal Entry page, by mistake.
May I know if this will cause the issue?
Thank you.
Li
Could you please explain in more detail, what Security Filter did you use?
Do you apply SETPERMISSIONFILTER?
Andwian
Hi Andwian
Thank you for your response.
Regarding your question, we applied the following security filter for all the role IDs that allow Read Permission for Tabledata 17.
G/L Entry: Source Code=<>GENJNL
We dont apply any SETPERMISSIONFILTER.
The confusing part is the error doesn't always pop up? And even it pops up, later on, users will be able to post.
Do you think this is related to responsibility center setup (the function is there, but only applies to purchase. the issue exists in both purchase and sales), or two users access the post and print function at the same time?
Thank you.
Li
Andwian
Thank you Andwian!
Thank you Kishorm. You have pointed the right issue. I could replicate the error by adding a new GL Entry posted from General Journal. We added a read permission to the users that have issue and the issue was resolved.
Thank you so much for your kind support.
Li
Thank you for pointing that out. =D>
Andwian
Could you explain it again in little steps
"...the last record had source code = GENJNL then the restricted users will get the error".
Q.
Why would they get the error "You do not have permission to read the G/L Entry table."?
In this case on G/L Entry permission security filter was "Source Code<>GENJNL": when the following code in sales post codeunit is performed if G/L Entry record read has
Source Code = GENJNL security filter isn't respect and the error is raised:
Anyone know if it's possible using security filtering to apply modify/delete criteria?
Maybe it's better to set a filter higher up the tree, on table GL Account, field Direct Posting=false, or on Register.
Andwian
Oops, typo - but I think a couple of you got the intended meaning - last bit was supposed to say...
"so the restricted users will then be able to post WITHOUT getting an error."
Finally, I can locate the typos. But indeed, I read it like this, before: I read it correctly, and understand correctly, although without 'OUT'. Maybe it is true fact that human brain could correct the typos automatically.
Andwian