![]() ![]() The third element in the container is the number of dimensions, two in this case. Notice how the account number is repeated the first element is actually the display value, I just use the account number for both (I’m actually not entirely sure where the display value is used). Assuming you have a main account ‘0001’, a dimension called “Place” with a value of “Home”, and a dimension called “Purpose” with a value of “Expenses”, you can create a container like this: dimensions = The underlying data structures are rather complex, but fortunately the utility class AxdDimensionUtil can help you with this. This is handled automatically by the user interface, but as a programmer you may have to do the same from code. You have probably seen the dynamic account strings, in which main account numbers are merged with ledger dimensions into one string. The way ledger dimensions work changed drastically with the release of Dynamics AX 2012. It may or may not be valid for other versions. The information in this post is based on Dynamics AX 2012 R3. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |