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();
//--------------------------------------------------
posted on 2015-06-23 13:45 Kobe.Zhang 阅读(376) 评论(0) 编辑 收藏 举报