I am working on a manufacturing demo in Business Central for a jewellery store and have run into an issue with cost adjustment on production output that I hope someone can help clarify.
After posting the output for a finished production order, the Cost Amount (Actual) on the output item ledger entry is not getting updated and remains at zero. When I try to run the Adjust Cost – Item Entries batch job to resolve this, I receive the following error:
"The Capacity Ledger Entry does not exist. Identification fields and values: Entry No. = '2005'"
From my initial investigation, it appears that the Adjust Cost routine is attempting to reference a Capacity Ledger Entry that either does not exist or has a broken link to the corresponding output value entry. The production order does have a routing set up with four work centres — Casting, Polishing, Stone Setting, and Quality Control — all with shop calendars assigned and certified.
I have already verified that the routing lines are present on the production order and that all work centres have direct unit costs filled in. However, the capacity ledger entry referenced in the error cannot be located under Capacity Ledger Entries.
Has anyone encountered this before? Specifically, I would like to understand whether this is caused by the output being posted before the routing was fully active, or whether there is a known data integrity issue between output ledger entries and capacity ledger entries in this version. Any guidance on how to cleanly reverse and re-post without creating further inconsistencies would also be greatly appreciated.
Thank you in advance.

Report
All responses (
Answers (