RE: Cost amount on sales invoice does not match actual cost of materials
We found a solution to this and wanted to share it. It ended up being much simpler than expected.
We confirmed that, for some reason, no Adjustment Entries were not posted to correct the Cost Amount (Actual) on the shipment lines. This does not explain why the Cost Amount was so much larger to begin with but why it remained. We see lots of other shipments that started with a Cost Amount higher than expected but subsequent Adjustment Entries corrected.
What ended up working was using the revaluation journal on the output entry for the item we shipped. We revalued the output entry by the smallest amount possible. This then forced the shipment lines to be revalued as well. After the revaluation the shipment entries now had a Cost Amount (Actual) that matched what was output. Then, to prevent further mistakes, we revalued the output back to its original value so that it matched what had recorded in consumption. After combing through all the ILE and GLE it looks like everything lines up and appears as expected.
When going through the revaluation process it seems like this prompted NAV to post the correct Adjustment Entries.