Monday, 20 October 2014

get AX username in a X++ job

create a new job and paste the code there:

                     UserInfo                    userinfo;

                   Select name from userinfo where userinfo.id == curUserId();

                    Box::info("Welcome"+userinfo.name);

No comments:

Post a Comment

intercompany PO multiple product receipt by x++

public void processStampICPO(PackingSlipId _deliveryNote,                             Transdate _deliverydate,                             ...