Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

How to get Dimension description. for inventTable.Dimension[2]

$
0
0

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.

}


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>