Dimension creation in master table through code

Hi All,

I have dimension name and financial dimension values. I needs to insert these values into master tables through code.

Lets say, I have dimension “XYZ” and related financial dimension values are “X1, X2, Y1, Y2”. Now dimension name “XYZ” should be inserted “DimensionAttribute” table and all the financial dimension values must be inserted into corresponding line level table.

I don’t how to get the remaining standard field values through code. Any classes and methods available? Please suggest me a solution.

Thanks in advance.

Regards,

Faisal Raja J

Hi

Can any one give me steps and code on how to create a new custom financial dimension(not the financial dimension values/Combinations) in AX 2012 through code which should appear in the field “use values from”.

Thanks

To insert the Values of the corresponding record for financial dimensions you could check the table “DimensionFinancialTag”, it stores all the values of particular custom dimensions. In order to get the relations for field “FinancialTagCategory” , check “DimensionAttributeDirCategory” table.