C/AL code for specific user

I need only specific user to update the sales price.In the user setup table i have created a boolean .only the person with that boolean tick can update the sales price.how to write c/al code for this?
thanks
gugan

Answers

  • Rishi1109Rishi1109 Member Posts: 43
    Usersetup.get(USERID);
    IF USERSETUP.BOOLEAN THEN BEGIN//Booloean is field which you created in UserSetup
    //Update Sales Price here
    END;
    Thanks and Regards
    Rishi
  • krikikriki Member, Moderator Posts: 9,112
    [Topic closed because of double posting]
    See https://forum.mibuso.com/discussion/74318

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


This discussion has been closed.