Hi,
Have you considered using a revaluation to reverse out the COGS entries on the 7 mil stock that was sold?
Would this not resolve the issue?
The WIP of production, is only transferred to COGS when the output is completely finished (adjusted) and then sold. How Manufactoring Costing is done within NAV is described here in more detail.
msdn.microsoft.com/.../hh997360(v=nav.71).aspx
Christiaan.