// Get Worker Dept from Worker in ax
display Name WorkerDepartmentName()
{
HcmWorker hcmWorker;
str deptName;
select RecId from hcmWorker
where hcmWorker.RecId == this.UpdatedByWorker;
deptName = hcmWorker.primaryDepartmentName();
return deptName;
}
display Name WorkerDepartmentName()
{
HcmWorker hcmWorker;
str deptName;
select RecId from hcmWorker
where hcmWorker.RecId == this.UpdatedByWorker;
deptName = hcmWorker.primaryDepartmentName();
return deptName;
}
No comments:
Post a Comment