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 Posts: 42Member
    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 Posts: 8,796Member, Moderator
    [Topic closed because of double posting]
    See https://forum.mibuso.com/discussion/74318

    Regards,Alain Krikilion
    Use the SEARCH,Luke! || No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
    NAV TechDays 2019: 21 & 22 November 2019, Antwerp (Belgium)
This discussion has been closed.