Permission problem posting purchase
fernando_lm
Member Posts: 27
I am trying to design a full set of roles. It seems Navision is not taking into account internal Permissions of Codeunit 5802... Or I am missing something else.
I am working on Nav5.0 SP1 W1.
A user to post purchase orders was created. A series of permission roles were assigned to it, mainly based on Navision standard roles. If I login as this user and try to post a purchase order the following error appears:
"You do not have permission to insert into the G/L - Item Ledger Relation table.
Contact your system manager...."
The error pops up when running this code from Codeunit 5802:
CreateGLItemLedgRelationEntry()
GLItemLedgRelation.INIT;
GLItemLedgRelation."G/L Entry No." := GLReg."To Entry No.";
GLItemLedgRelation."Value Entry No." := TempGLItemLedgRelation."Value Entry No.";
GLItemLedgRelation."G/L Register No." := GLReg."No.";
GLItemLedgRelation.INSERT;<<<<<<<<<<<<
However codeunit 5802 includes rmid permissions for this table.
All ideas will be appreciated.
I am working on Nav5.0 SP1 W1.
A user to post purchase orders was created. A series of permission roles were assigned to it, mainly based on Navision standard roles. If I login as this user and try to post a purchase order the following error appears:
"You do not have permission to insert into the G/L - Item Ledger Relation table.
Contact your system manager...."
The error pops up when running this code from Codeunit 5802:
CreateGLItemLedgRelationEntry()
GLItemLedgRelation.INIT;
GLItemLedgRelation."G/L Entry No." := GLReg."To Entry No.";
GLItemLedgRelation."Value Entry No." := TempGLItemLedgRelation."Value Entry No.";
GLItemLedgRelation."G/L Register No." := GLReg."No.";
GLItemLedgRelation.INSERT;<<<<<<<<<<<<
However codeunit 5802 includes rmid permissions for this table.
All ideas will be appreciated.
0
Comments
-
Hi
On a standard super user role can you post this transaction - just to ensure it is not a license issue.
As well as your custom permission set for this user have you provided them with the ALL permission? - it might be worth adding this to their roles and testing again.0 -
The users need insert indirect permission for this table.0
-
Hi,
The users actually don't need specific permission for this table. No permissions for this table exist on standard nav the permission is granted by an indirect permission through the codeunit 5802.
So the problem is deeper than that. It looks like either a problem with the ALL permissions or the licence.0 -
Thanks a lot for writing back.
Yes I can invoice the purch order with a SUPER user. I would be greatfull if you could tell me which series of standard roles do you often use for a purchases person.
Thanks in advance for any help.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 333 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions