Configure account structures in Ax 2012 R2/R3

In order to assign financial dimensions to a Main account, Account structure needs configured correctly. This is a step by step guide how to configure Account structure and assign it to Main ledger account.