Thursday, March 9, 2023

get current user worker in X++

 get current user worker in X++.


curUserId()

HcmWorkerLookup::currentWorker();
HcmWorker::userId2Worker(curUserId());
HcmWorker::worker2Name(HcmWorker::userId2Worker(curUserId()));


Keep Daxing!!


No comments:

Post a Comment