How to get table label in dynamics ax 2012 using x++

 display TableLabel getTableLabel()
{
    FieldLabel      ret;
    DictTable       dictTable;
    TableId           tableId     = tableNum(Salestable);
    if(tableId)
    {
        dictTable   = new DictTable(tableId);
        ret             = dictTable.label();
    }
    return ret;
}

Comments

Popular posts from this blog

How to loop through enum in dynamics ax 2012 using x++

How to read from csv file in Dynamics AX 2012 Through X++

How to Create Transfer Journal in Dynamics AX 2012 Through X++