Posts

Showing posts from November, 2011

Cumulative update pack 2 for Microsoft Dynamics AX 2012

Cumulative update pack 2 for Microsoft Dynamics AX 2012 has been released. This pack contains close to 70 fixes for various bugs. The pack also contains the cumulative update pack 1 for Microsoft Dynamics AX 2012 which was released earlier. The build number after applying this pack will be 6.0.947.280 You can download the pack and read more about the fixes in the pack here .

Set financial dimension values through code in AX 2012

Image
In Dynamics AX 2012, the dimensions framework has gone for a complete makeover. We can now have an unlimited number of financial dimensions. In Dynamics AX 4 and Dynamics AX 2009, the dimensions were actually stored as an array of string fi?>elds. This has changed in Dynamics AX 2012 where the dimension is stored as a recid. Recently I came across a requirement where if the CostCenter dimension was set to a particular value, the department dimension's value should change to a different value and vice versa. I developed the code and thought it will be a good idea to share it here. My requirement was in the ProjTable form but you can use this code in any of your form which uses the default financial dimensions. Override the DefaultDimension field's dataChanged() method on your main datasource and add the below code. // Financial dimension change code - Zubair - Begin public void dataChanged() { DimensionAttribute dimToBeChanged; DimensionAttributeValue dimAttr...