Hi Friends,
In one of my earlier posts, I explained in detail about how to create and setup organization hierarchies in Microsoft dynamics AX 2012 and I also highlighted all the benefits which can be derived by using the organization hierarchies at different places in Microsoft dynamics AX 2012.
In today’s post I will explain one of the advantage/benefit which we can derive by using the organization hierarchy in the General ledger module.
In AX 2009 and earlier versions we used to have the dimension set hierarchies to ensure controlling of financial transactions entries in the system. In many situations, it is needed that only a se of financial dimensions are allowed to be keyed in, in a transaction. For example, when Department A is chosen in a financial transaction, only cost center C1 and C2 can be chosen, but no other cost centers.
This can be achieved by using the organization hierarchies in Microsoft dynamics AX 2012.

To demonstrate the use of this functionality in AX 2012, I would use the below example.
When Department Administration is entered, then the cost centers Administration(UK) and Administration(USA) should be only allowed and when department Marketing is chosen, then cost center Marketing research(UK) and Marketing research(USA) should be allowed for entry in the financial transactions.
1. The first step involved in this to create the required internal organization hierarchy to represent the overall dimensions hierarchy.
2. Navigate to Organization administration > Common > Organizations > Organization hierarchies for and follow the steps in my earlier post to create and publish the organization structure. Below diagram shows how the organization structure will look like after this is setup.

3. Once the organization structure is created and published, the next step is use this is the account structures under GL module.
4. Navigate to GL > Setup > Chart of accounts > Configure Account structures, and then select the account structure for which you want to set up the hierarchies.
5. Select the Account structure and click Edit button.
6. Click Relationships button.
7. The Select relationships form shows all the organization hierarchies. Notice that the organization hierarchy which we created above is shown and also system shows all possible combinations of hierarchy values based on the setup done in the hierarchy.

8. Now that we want to control the entry of the cost centers based on selection made for the department dimension, select the record which shows Party A = Department and Party B = Cost center and click Ok button. Note that you can also select multiple relationships here based on your hierarchy needs.
9. Once the relationship setup is done, Activate the account structure by clicking Activate button.
10. Let us now create and general journal and see the impact of this relationship setup at the account structure level. Navigate to GL > Journals > General journal.
11. Create a new journal and click Lines button.
12. Below diagram shows the account structure we will key in in this financial transaction.

13. Select a ledger account(Say 401120) and select Department = Administration.

14. The next segment in the account structure is the Cost center. As soon as you open the drop down for this, notice that system only shows the two cost centers which we have set up in the organization hierarchy. Now, user who is entering the financial transaction, cannot enter erroneous data, as he/she will see only the dimensions which the business wants to be entered. See screen below.

15. Similarly, notice the the cost centers when we enter Marketing as the Department.

Simple and easy.
In few of my upcoming posts I will highlight the areas where the organization hierarchies can be leveraged and used. If you have any queries regarding this, please reach out to me.
Till next time !!
Sandeep