Hi, on a back date these two rarely tie unless every value entry actually reached the G/L. I'd start from the value entries and compare Cost Amount (Actual) against Cost Posted to G/L, normally the gap is sitting right there. Run Adjust Cost - Item Entries first, then the Post Invt. Cost to G/L - Test report before the real one, it lists the skipped entries. Skipped is the usual reason on old dates, if the accounting period is closed or allowed posting dates block it, the batch job just skips that value entry and the amount never lands in G/L.
Other thing worth checking, manual entries straight on the inventory account. Filter G/L Entries on it and look at the source code, anything not coming from inventory posting is your difference. After you find it, turn Direct Posting off on that account.
Is the difference the same on every back date, or only on 31 December?
Glad to help - follow up if anything is unclear.
► If this solved it, marking it verified helps others too.
Regards,
Grigorios Mavrogeorgis
Business Central Consultant & AL Developer
Work: Gmsoft Limited
Blog: insidebusinesscentral
LinkedIn: linkedin.com/in/gregorymavrogeorgis