As we know that Microsoft Dynamics AX 2012 has all new financial dimension framework and which is a really good enhancement in AX but for developers it is bit complex at the same time if you try handling it by your own code rather than using framework or utility classes. My intension is to let you guys now few important framework classes and few code sample to handle leger dimension is different scenarios.
Classes:
- DimensionDefaultingEngine
- AxdDimensionUtil
- DimensionStorage
Useful X++ code for ledger dimensions
Create Ledger Dimension through string values:
For this we needs to create a container with main account and all other required dimensions: