Shop Floor Controls Work Planner AX 2009 Help

Question Status

Dex Rimington asked a question on 5 Dec 2012 1:23 AM

Hi All,

I need help in Shop Floor Controls in the Works Planner. It currently displays employe number but I also need Employe Name.

Can anyone help me get this in there ?


I have been into setup but it does not seem to be in there.





Mesut Boztas responded on 24 Mar 2013 2:59 AM

Hi Dex,

To see employee name together with Employee ID, please do following developments in your system.

1- Open Classes/ JmgWorkPlannerForm_Employee / initRowLAbels method

2- Change Line:39 as this. rowLabels.insert(rowNumber, jmgEmployee.EmplId +'-'+/;

3- Open Classes/ JmgWorkPlannerForm/ getRowLAbels method

4- Replace current code by below code part.

public str getRowLabel(int _row, boolean _showOriginal = true)
    str     rowText;
    if (rowLabels.exists(_row))
        rowText = rowLabels.lookup(_row);
        if(strFind(rowText,'-',1,strLen(rowText)) && _showOriginal)
            return subStr(rowText,1,strFind(rowText,'-',1,strLen(rowText))-1);
            return rowText;
    return '';

5 - Open Forms/ JmgWorkPlannerForm/ Design / Group / Tab / EmployeeView / EmplTableGroup/ EmployeeTable/ methods/ RowLabel method

6- Replace current code by below code part.

public str rowLabel(int _row)
    str ret;

    if (employeeWorkPlannerForm)
        ret = employeeWorkPlannerForm.getRowLabel(_row,false);

    return ret;

8 - Now it is ok.


Istanbul -2013