Within this and the following post I would like to show how one can setup budget control for fixed assets in AX2012 and AX7. Let’s start with the setup and configuration in AX2012 first by referring to the following example.
Setup
The first step in my setup process is specifying the main account that is used for posting fixed asset acquisitions in the fixed asset posting profile form. Please note that the main account setup here (account no. 180100) is a balance sheet account.
Because I am aware that the budget control configuration form does only allow setting up a single account structure, I setup my ledger with only one account structure that includes all of my balance sheet and income statement accounts.
My next step was selecting this account structure in the budget control configuration form and specifying that budget control shall be executed at the main account level only.
To let Dynamics AX check and ensure that I do not spent more money than the amount budgeted, I setup the following budget control rule, which defines that my main (balance sheet) accounts that start with “180” shall be subject to budget control.
Record budget amounts for the fixed assets
After setting up and activating budget control, I recorded fixed asset budgets for the different fixed assets that I setup for the years 2020 to 2024. For details, please see the next screen-print.
After transferring those budget values to the budgeting module, I double-checked the amounts transferred and updated the budget balances.
A first thing that I noticed in the budget register entry form was that the first column denominated “budget check results” did not include a green check mark for my transferred budget values.
As I wanted to compare this behavior with the one that can be identified for ordinary expense related budgets, I modified my budget control configuration and setup a second budget control rule for my travel expense accounts. Once that was done, I recorded a budget for one of those travel expense accounts and noticed that Dynamics AX automatically shows me a green check mark when entering the budget amount. Please see the next screen-print.
Post vendor invoice
Irrespective of the issue with the green check mark and after having done all the necessary setup, I finally tried recording and posting a vendor invoice. Please note that the invoice amount that I entered exceeds the budgeted amount. Details of my test are included in the next screen-print.
What you can identify from the screen-print above is that Dynamics AX allowed me posting the invoice for my fixed asset even though the invoice exceeds the budgeted amount by 25000 EUR.
This was not quite what I expected. For that reason, I changed the budget control configuration several times in order to execute the budget control at different levels and with different main account-financial dimension combinations. Yet, irrespective of the budget control configuration that I used, I was always able to post the vendor invoice even though the posted amount exceeded the budgeted one.
Solution: Code adjustment
After this disappointing result, I started having a look at the program code that is responsible for executing the budget control check and noticed that standard Dynamics AX runs the budget control check only for expense, profit&loss and total accounts. As balance sheet accounts – such as the one that I setup for my fixed asset acquisitions – are by default excluded from budget control, I slightly modified the code in the following two methods:
Second test run
Once the code adjustments were implemented, I setup a new fixed asset and entered a budget for it. The next screen-print shows you the process of entering the budget amount for the newly created fixed asset. The main difference that you can identify in the screen-print below compared to the earlier budget registration is the green check mark in the budget check column.
Please note that the previously recorded budgets for my „old“ fixed assets are not influenced by the code change, which induced me setting up a new fixed asset and fixed asset budget for the following tests.
With the new setup in place I tried once again recording a vendor invoice for the acquisition of my fixed asset. Interestingly and different from before, Dynamics AX did now prevent me from posting the invoice as the total invoice amount exceeded the budget amount. Please see the next screen-print.
After reducing my total invoice amount to one below the total budgeted amount I was finally able to get the invoice posted.
Summary
By doing some little code modifications you can let Dynamics AX check available budgets for balance sheet accounts. An important prerequisite for this budget control check is that the balance sheet accounts – for which you want to have the budget control enabled – are included in the account structure that is setup in the budget configuration form. In other words, if you want to have also balance sheet accounts checked for available budget funds, you might have to reconsider the setup of your account structures e.g. by including all accounts into a single account structure and by making use of advanced account structure rules.
Please do also note that additional code modifications are necessary in the budget control inquiry forms to get the balance sheet accounts included for subsequent comparisons.
Within the next post I will take a look at the same process and differences in the new Dynamics AX7. Till then.
Nice Post.But i have query here corresponding to content mentioned above “Because I am aware that the budget control configuration form does only allow setting up a single account structure, I setup my ledger with only one account structure that includes all of my balance sheet and income statement accounts”.
Can you please elaborate more with example?
LikeLike
Hi Deepak Kalra, What I mean by saying that you can only setup a single account structure in the budget control configuration form can be identified from the 3rd screenshot in the post. In this screenshot you will find an account structure with the name “LRE DEMF”. This is the only place where you can setup an account structure for budget control. Now imagine that you setup two account structures; one that includes all you Balance sheet accounts and one that includes all your profit & loss accounts. When setting up budget control you have to decide whether you want to have budget control enabled for your balance sheet or profit & loss accounts because you can only setup one single account structure in the budget control configuration form. An alternative – and this is what I am referring to – is using only one single account structure for your whole company that includes all of your balance sheet and profit & loss accounts. Using this approach will probably require that you are working with advanced rule structures as most companies are not interested in tracking e.g. cost center information on balance sheet accounts. Hope this information helps clarify things. All the best, Ludwig
LikeLike
The article clearly suggest budget control shall be activated by doing code change.
We appreciate the clear and elaborate way of explanation,
LikeLike
Reinhardt, anexcellent post as normal! Happily balance sheet accounts can now be budget checked in AX 7 – I am checking whether the constraint on the single account structure remains, but I would assume it does as the controls have not been changed.
LikeLike
Hi Adrian,
Many thanks for your feedback and letting the AX community know.
Much appreciated!
Best regards,
Ludwig
LikeLike
Dear Ludwig,
Many thanks for a very informative blog !!!
I have one query, when we sell a fixed asset, ax post gain or loss accordingly, can we assign 2 different Code for gain and loss, so when we sell fixed asset, according to profit or loss, ax post accounting entry in assigned GL code.
LikeLike
Hi, Yes, AX can differentiate between profits and losses and can post them on separate accounts if you wish. The setup of all the required accounts is, however, not that easy and requires a lot of testing, checking, etc. Best regards, Ludwig
LikeLike
I have a trouble with Dynamics 365, I can’t setup budget control for fixed asset. It is bug in Dynamics 365?
LikeLike
Hi, Here is a post that I made for ‘AX7’ as it was called at that time. Have you checked that post and tried to follow the steps? If you still have trouble, please creata a new thread on the AX/D365 community forum; ideally with some screenprints that illustrate your problem. Many thanks and best regards, Ludwig
LikeLike