AX 常用函数

clientComputerName()   ----->  取客户端计算机名kjs102

CurExt()   ------> 公司账户名 

SysCompanyUserInfo::emplId2UserId(OprEmpl)   ---> 工号转用户

  HcmWorker::findByPerson(DirPersonUser::find(workflowWorkItemTable.UserId).PersonParty).PersonnelNumber);   

FormWindowControl w =element.control( control::window);  ---->图片
Image img = NULL;

_delayHandle = 0;
if (Image::canLoad(_name))
{
img = new Image(_name);
}

w.image( img );

//get computer name-------------------

xSession xSession = new xSession();

print xSession.clientComputerName();

//--------------------------------------------------

原文地址:https://www.cnblogs.com/KobeZhang/p/4595279.html