code change · fixInventoryofficial - Microsoftreviewed - checked by Opus

#11714 [Main]-Adjust Cost creates an additional unexpected variance amount due to rounding precision during cost adjustment.

Cost adjustment for assembly items now uses unit-amount rounding precision instead of general ledger setup precision, eliminating unexpected variance amounts from rounding differences.

Pull request · merged into main (BC30) on 2026-10-14 by DeepsShukla · 5 files (+101 -5), 4 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • During cost adjustment, cost shares are now rounded with unit-amount precision (0.00001) instead of the G/L Setup amount rounding precision
  • Removes an unexpected extra variance that rounding created during cost adjustment of assembly items
  • The Inventory Adjustment codeunit is changed in the W1, APAC and RU layers, and the Asm. Inventory Adjmt. Entry table extension in W1
  • Adds a regression test to SCM Costing Bugs II
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#651000
  • Labels: Team: SCM
  • Systems: inventory
  • From the description: “GetUnitCostsFromItem() rounds the cost shares using Unit-Amount Rounding Precision (0.00001).”

No source states these links: they share an object, a model read them, or a person found the same subject.

  • Manually adjust the costs of items — possibly related: Documents manually adjusting item costs and handling cost variances during inventory adjustments. (model-linked)

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).