Hello all,
My Requirement:-
I need to create a single Query in AX 2012 which will take a Default Financial Dimension name (like CostCenter, Department, ExpensePurpose, BusinessUnit) as argument i.e. as Range and output all the Values & Descriptions of that particular Dimension. Like this below image:-
My Findings:-
I have joined these tables -- DimensionAttribute, DimensionAttributeValue, DimensionAttributeValueSet and DimensionAttributeValueSetItem and fetched Values for each system dimensions but I couldn't reach their Descriptions. Then I realised that the descriptions are stored in the DirPartyTable under Name field. I also found out that different default dimensions have different Views like DimAttributeOMCostCenter or DimAttributeOMDepartment or DimAttributeTrvTravelTxt (which are either join between DirPartyTable and OMOperatingUnit, or just a view over TrvTravelTxt) which output both Values & Descriptions. I also know that DimensionFinancialTag table which outputs Values & Descriptions is only used for custom dimensions and not for default system dimensions.
I need one single generic Query which will fetch me Values & Descriptions of all the 4 default dimensions.
Plz help.