The running average cost price and serial numbers in D365FO (or AX)
Hylke Britstra
Microsoft MVP for AI ERP / Trainer & Consultant & Manager Innovation D365 FO at Mprise
A couple of weeks ago I wrote an article about the 'Running average cost price' in D365FO (or AX). This article has been widely read and I got more responses on this article then regular. Apparently this topic is interesting for a lot of readers.
Therefore in this article I give a follow up on this topic. In this article it goes about the running average cost price again, but now from the focus on working with the running average cost price on the tracking dimension 'Serial number' to see how it works when you track the financial inventory on a deeper level then the item.
To have an example in this article I use this with an item related to FIFO (First in, First out).
Setup on the Tracking dimension groups
To be able to have the inventory valuation method working on a dimension level, you have to select the option 'Financial inventory' on that dimension. In this case I have created a Tracking dimension group 'TD' where I selected this field on the active tracking dimension 'Serial number':
When finished, I have created a new released product with this tracking dimension. Also I have linked this released product to the Item model group FIFO where (not surprising you) the inventory valuation method FIFO will be used:
In this case the FIFO principle (First in, First out) must be used: not on the item transaction level, but on the serial number transaction level.
The transactions:
To make this example I have created purchase transactions for this released product. For each serial number I have created the same transaction values:
(If you don't have the serial number in the transactions form, you can add this dimension via 'Display dimensions' and selecting the tracking dimension 'Serial number'):
So for each serial number the inventory value is as following:
So the running average cost price is $ 5,55 ($ 55,50 / 10). If I open the On-hand form and click on the released item to see the details, this is indeed the running average cost price value presented in D365FO:
Now I am going to sell the items:
领英推荐
Based on the running average cost price of $ 5,55 both cost amounts are given to these transactions:
Inventory closing
As already written in the previous article about the running average cost price, the inventory valuation method FIFO will be used when running the inventory closing.
Based on FIFO (First in, First out) on item level, the first sales order would consume the total cost price of Purchase order 00000127 (because 4 items are purchased here and the sales order has a quantity of 5). But after running the inventory closing, you can see that the settlement of receipt and issues is creating different cost prices on the sales order lines:
And this is the effect of selecting the field 'Financial inventory' on the Tracking dimension 'Serial number'. Based on this option, FIFO isn't calculated for the item in total but FIFO is calculated for all transaction related to one serial number. Therefore the cost price values of the sales orders presented above are based on the following order, the red line presenting serial number A and the blue line presenting serial number B:
(in this situation I could better not post purchase order 00000126 and 00000125 on the same financial date because this can be confusing because the transactions are presented in a different order then the FIFO order, my excuses for that). The calculation is as following now:
Based on the different selling quantities for each serial number, the inventory value for each serial number is also different now. This also means that both serial numbers has a different running average cost price now:
Serial number A has a running average cost price of $ 6,50:
The clarification for this amount:
Serial number B has a running average cost price of $ 6,07:
The clarification for this amount:
Microsoft MVP for AI ERP / Trainer & Consultant & Manager Innovation D365 FO at Mprise
1 年Pieter Thijsse Claase in dit artikel vind je een voorbeeld!
Driving Digital Transformation Success | Experienced Services and Solutions Director with Expertise in ERP Implementation & MS Dynamics 365
1 年Helpful! Thanks for the effort
Senior Solutions Architect and Functional Advisor at MCA Connect
1 年Another great article! “DO NOT FORGET THE FINANCIAL CHECK BOX” on your inventory dimensions. Especially if you are not running standard cost (Double Check Warehouses :) ) Keep the great content coming!
D365 Functional Consultant | Passionate About Leveraging Technology to Drive Business Value
1 年Thanks for sharing your knowledge with us ??
Functional Consultant Microsoft Dynamics 365 ERP Finance and Operation and Supply chain Management
1 年Thanks for posting Hylke Britstra