Tuesday, January 29, 2013

How to display dimension combination values name in AX 2012

Dimension combinations are stored are DimensionAttributeValueCombination class. But they are stored as a combination for example: (100010-AX-00001- – - -). How would you know the value in each combination belongs to what dimension?
This was one of my requirements to find name against each dimension combination values and display it on Trial Balance screen.
The answer is through dimension storage class. This class is used to manipulate these combinations.
The code below helps you in finding out the required values. 

No comments:

Post a Comment

I will appreciate your comments !

Download large bacpac (sandbox database) to DEV environment much faster

As the LCS website gets slower and slower and the database backups get bigger and bigger.  Use AZCopy to download objects out of LCS asset l...