Inconsistent Costing Methods and an Adjust Cost Job That Runs for Hours in Business Central

Why cost adjustment is slow, how to change the costing method on items with history, why inventory valuation and the inventory account disagree, and how to pilot the fix before year end.

Adjust Cost - Item Entries is slow when it has too much to forward: cost adjustment that runs rarely, so months pile up; average cost items calculated per day or per item, location and variant; back-dated postings; negative inventory; and long chains of transfers, assembly and production. A costing method cannot be changed on an item with ledger entries. Microsoft's documented route is to rename the item, copy it to a new item with the right method, convert the stock with assembly orders that preserve cost, then block the old item. Pilot that on one item group in a sandbox copy before year end, measure the runtime, reconcile the Inventory Valuation to the inventory G/L account, then roll out.

Why does Adjust Cost - Item Entries run for hours?

Because cost adjustment forwards every changed inbound cost to every outbound entry that used it, and some setups multiply that work. Microsoft's own diagnostics on the track item cost adjustments page warn about the same patterns: adjustment that is not scheduled, average cost settings that are not optimal for performance, inventory periods not in use, many periods or many production and assembly orders waiting, and single items that take more than five minutes.

CauseWhat you seeWhere to look
Adjustment runs rarelyEach run carries weeks or months of entries, and the run before a close is the longestAutomatic Cost Adjustment on Inventory Setup and the job queue schedule
Average cost calculated finelyMany valuation dates per item, each one recalculatedAverage Cost Period and Average Cost Calc. Type on Inventory Setup
Back-dated postings on average cost itemsAverage cost recalculated for every later entry in the periodPosting dates against entry dates on item ledger entries
Negative inventoryOutbound entries wait for an inbound entry and are adjusted again when it arrivesItem ledger entries with remaining quantity below zero
Long application chainsTransfers between locations, assembly, production and returns forward cost through several stepsItem Application Entries, Cost Adjmt. Orders
A few items with data problemsThe whole run fails or restarts because of one itemCost adjustment logs and the Costing Issues Detection report

How do you find the items that make cost adjustment slow?

Measure before you change anything. Recent versions of Business Central add a set of tools on the Inventory Cost Adjustment page, documented on track item cost adjustments; check that your version has them before you plan around them.

  • Set Cost Adjustment Logging on Inventory Setup to All for the investigation, then read the log per run and per item for duration and cost differences.
  • Group items into item batches with a Timeout (Minutes) value. A failed or timed out batch is split and rerun up to Max. Retry Attempts, which isolates the problem items.
  • Run the Cost Adjustment Tracer on a batch with the Trace checkbox selected, and read the Trace Log in Analysis View mode for the slowest items.
  • Run the Costing Issues Detection report and read Action Messages for data and setup problems the system has already found.
  • For high-volume items, Adjust Cost Until Valuation Date adjusts period by period, and the Item-by-Item Adjustment toggle on Adjust Cost - Item Entries saves after each item, so a failure does not undo the whole run.
  • Exclude item from adjustment keeps the rest of the inventory adjusted while one item is investigated. Include it again before the period is closed.

Why do items end up with inconsistent costing methods?

Usually by accident. Items are created by copying an old item card, so whatever method that card had spreads; a migration loads every item with the same default; a new category is set up by someone who did not know the policy; or Standard is chosen and then nobody maintains the standard costs. The result is similar items valued on different bases, margins that cannot be compared, and an auditor asking why.

The accounting policy decides the method, not the system. Agree with your auditor which cost formula applies to which kind of inventory before changing anything, because a change of method is a change of accounting policy for those items. Microsoft notes on costing methods that LIFO is disallowed in many countries or regions. Then set the Default Costing Method on Inventory Setup so new items start with the agreed method.

MethodSuitsCost adjustment behaviour to know
FIFOStable product cost, items with a shelf lifeBack-dated outbound entries are not reapplied to give a correct FIFO flow
AverageUnstable cost, stock that is mixed and cannot be told apartCalculated per period and per item or per item, location and variant; back-dated entries recalculate the average
StandardManufacturing and strict cost control, with people to maintain standardsDifferences go to variance accounts; standards need regular updates
SpecificSerial tracked, high-value itemsNeeds item tracking on every inbound and outbound transaction; applications are fixed

How do you change the costing method on an item that already has history?

Not on the item card: Business Central blocks the change once item ledger entries exist. Microsoft documents the workaround on changing costing methods for items, and we follow it. Rename the original item, for example with a prefix, so the new item can take the original number. Create the new item with Copy Item and set the agreed costing method; for Standard, also set the standard cost. Move the related master data that Copy Item does not carry, such as stockkeeping units, substitutions, BOM lines, bin content and prices.

Calculate the quantity to convert with the physical inventory journal, then post one assembly order per item, location and variant with stock: the new item is the output, the old item is the only component with quantity per one. Assembly orders carry the cost across, keep it flowing if purchase invoices or charges for the old item are still to come, and can be reversed. Keep enough of the old item for orders already promised, then block it when it reaches zero. Run Adjust Cost - Item Entries on the old items before the conversion, so the carried cost is current.

Which average cost settings make the job slower, and can they change?

Two settings on Inventory Setup decide how much work average cost items create. Average Cost Period sets how often the average is recalculated, from Day up to Accounting Period; a shorter period means more valuation dates per item. Average Cost Calc. Type decides whether the average is per item or per item, location and variant; the second gives a more precise cost per site, and many more averages to maintain.

They can change, but Microsoft notes that changing the period or the calculation type means every affected entry must be adjusted again. Make that change at the start of a period, after the previous period has been fully adjusted and posted, and run it in a sandbox copy first to see how long the first adjustment takes. If the business does not use cost per location, item level averaging with a monthly period is usually the lighter and still accurate choice; confirm the choice with finance and the auditor.

Why does the inventory valuation not match the inventory account in the general ledger?

Because the two are built from different entries, and anything that reaches one and not the other shows up as a difference. The Inventory Valuation report reads value entries; the inventory account holds G/L entries, which value entries only reach through cost posting. If Automatic Cost Posting is off, nothing reaches the ledger until Post Inventory Cost to G/L runs, and that job should always run after cost adjustment.

CauseHow to confirm itFix
Cost not adjusted or not posted to the G/LRun Post Inventory Cost to G/L without Post selected and read the values ready to postAdjust, then post; schedule both in the job queue
Skipped entries during cost postingThe Skipped Entries section of the report, or the Post Invt. Cost to G/L - Test reportFix the missing posting setup and post again
Received not invoiced stockValuation includes expected cost, but it reaches the ledger only on interim accounts and only if Expected Cost Posting to G/L is onCompare against the interim account, or report invoiced value only
Manual journals posted straight to the inventory accountG/L entries on the account with a general journal source codeTurn off Direct Posting on the account and reverse or reclassify the entries
Posting setup that sends inventory to several accounts, or uses the account for other thingsInventory Posting Setup per location and inventory posting groupCorrect the setup for future postings and reclassify history with the auditor
Different dates or filtersReport run at a different date or location filter from the trial balanceRun both for the same date and without location filters

How do you reconcile inventory to the general ledger account by account?

With the Inventory - G/L Reconciliation page, described on reconcile inventory costs with the general ledger. It projects value entries onto the inventory-related account types as if they were posted, shows them in the Inventory, Inventory (Interim) and WIP Inventory columns, compares the total with the G/L Total, and shows the Difference. With Show Warning selected, it explains the likely reason for each difference, and every amount drills down to its entries.

Run it for the period end you have to sign off, after cost adjustment and cost posting. A difference that remains after both is a posting that bypassed inventory costing, usually a manual journal or a setup error, and the drill-down finds it. Keep the matrix, the Inventory Valuation report and the Invt. Valuation - Cost Spec. report for the same date as the evidence for the auditor.

How do you pilot the cleanup on one item group before year end?

Pick one item category that shows both problems, a slow item and a wrong method, and take it through the whole sequence in a sandbox copy of production first. Microsoft itself recommends starting the costing method conversion with a single item or a small set.

  • Baseline: log one full cost adjustment run, note the slowest items, and run the Inventory - G/L Reconciliation for the last closed period.
  • Fix the setup for the group: schedule cost adjustment and cost posting, review Average Cost Period and Average Cost Calc. Type, clear negative inventory where the cause is a process.
  • Convert the items whose method is wrong with the rename, copy and assembly order route, and agree the method with the auditor first.
  • Measure again: runtime for the group, cost differences produced, and the reconciliation difference for the same date.
  • Repeat in production at a period boundary, then roll out to the next group, finishing before the year-end close and the audit date.

What does Solzet deliver for costing and inventory reconciliation in Business Central?

Solzet measures the cost adjustment run with logging and the tracer, finds the items and settings that make it slow, agrees the costing method per item group with your finance lead and auditor, converts the wrong items with the documented rename, copy and assembly order route, schedules adjustment and cost posting, and reconciles inventory to the general ledger for the period you have to sign off. We pilot one item group in a sandbox copy first and work to the auditor's date. Our own senior consultants and AL developers do the work. The service line is Dynamics 365 Business Central; after a migration, see post-migration audit and stabilisation.

Where customer data and sales pipeline sit in a CRM next to the ERP, buyers who would rather not carry Microsoft licensing for it can choose a custom CRM. We recommend the right solution: Dynamics 365 (Customer Engagement, Business Central or Finance and Operations), Power Platform, or a custom-built CRM. One team for CRM, ERP and the integration between them.

What do people ask us?

Why is Adjust Cost - Item Entries so slow in Business Central?

Usually because it runs rarely and carries a backlog, because average cost is calculated per day or per item, location and variant, because of back-dated postings or negative inventory, or because a few items with data problems make the run restart. Logging and item batches show which.

Can I change the costing method on an item that has transactions?

Not directly. Business Central blocks the change once item ledger entries exist. Microsoft documents renaming the item, copying it to a new item with the right method and converting the stock with assembly orders, which preserve cost.

Why does the Inventory Valuation report not match the inventory G/L account?

Common causes are cost not adjusted or not posted to the G/L, skipped entries during cost posting, expected cost for received but not invoiced stock, manual journals posted to the inventory account, and posting setup errors. The Inventory - G/L Reconciliation page shows the difference by account type.

Should Automatic Cost Posting be on?

It is a choice. With it on, cost reaches the G/L as entries post. With it off, schedule Post Inventory Cost to G/L after cost adjustment so the ledger is never far behind. Either way, adjust before you post.

Does changing the average cost period fix a slow adjustment?

It can reduce the work, but changing the period or calculation type means all affected entries are adjusted again. Do it at a period start, in a sandbox copy first, and agree it with finance.

How should we prepare inventory costing before an audit?

Adjust and post cost for the period, reconcile with the Inventory - G/L Reconciliation page, keep the valuation reports for the same date, and document any costing method changes with the agreed policy and the conversion postings.

Does Solzet clean up costing methods and cost adjustment in Business Central?

Yes. We measure the run, fix the setup, convert items with the wrong method, schedule adjustment and posting, and reconcile inventory to the G/L, starting with a pilot item group in a sandbox copy.

Which solution is right for your business?

Tell us what you need. A senior consultant replies within one business day with a recommendation (Customer Engagement, Business Central, Finance and Operations, Power Platform or a custom-built CRM), not a sales script.