D365O - How to get current worker through X++
Views (8747)
The current user or worker could be retrieved through following code since AX 2012
DirPersonUser::currentWorker()
However, In Dynamics 365 for operation this has refactored to;
HcmWorkerLookup::currentWorker()
DirPersonUser::currentWorker()
However, In Dynamics 365 for operation this has refactored to;
HcmWorkerLookup::currentWorker()
This was originally posted here.

Like
Report
*This post is locked for comments