Hi all,
Please let me know how to get dimension description in AX4.
Please find my code below and let me know what I should do ?
while select sLines
where sLines.createdDate >= createDate && sLines.createdDate <= EndDate
if(sLines)
{
select invTable
where invTable.ItemId == sLines.ItemId;
if(invTable)
{
select busRel
where busRel.Name == Dimensions::find(SysDimension::Center,invTable.Dimension[2]).Description;
info(strfmt("%1",busRel.Name));
}
////////////////////////////////////////////////////////////////////////////////
WHEN I RUN THE ABOVE CODE . AM I NOT GETTING ANY THING EXCEPT AN EMPTY INFO POPS UP.
MY REQUIREMENT IS TO GET THE DIMENSION DESCRIPTION . PLEASE LET ME KNOW HOW COULD I DO THIS.
}