Permission problem posting purchase

fernando_lm
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.

Comments

  • SD-JR
    SD-JR Member Posts: 94
    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.
    Regards,

    Ger
    Simply Dynamics Ltd
    skype: gf.simplydynamics
    Web: www.simplydynamics.ie
  • Karenh
    Karenh Member Posts: 209
    The users need insert indirect permission for this table.
  • SD-JR
    SD-JR Member Posts: 94
    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.
    Regards,

    Ger
    Simply Dynamics Ltd
    skype: gf.simplydynamics
    Web: www.simplydynamics.ie
  • fernando_lm
    fernando_lm Member Posts: 27
    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.