#12868 [29x]-Adjust Cost creates an additional unexpected variance amount due to rounding precision during cost adjustment
Fixed a rounding precision issue in the Adjust Cost process that was creating unexpected variance amounts during inventory cost adjustments.
- 5files
- 4AL files
- 2objects
Pull request · merged into releases/29.x (BC29) on 2026-10-21 by DeepsShukla · 5 files (+103 -5), 4 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Rounding precision errors were causing additional variances during cost adjustment calculations
- The fix applies to inventory and assembly costing modules
- Test case added to verify the rounding behavior is correct
- Changes affect both W1 and localized versions (APAC, RU)
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 5895 “Inventory Adjustment”, Base Application: modified
- Table extension 990 “Asm. Inventory Adjmt. Entry”, Base Application: modified
src/Layers/APAC/BaseApp/Inventory/Costing/InventoryAdjustment.Codeunit.al: modified, not in the BC29 snapshot
Context
- Work items: AB#654418
- Labels: Team: SCM
- Systems: inventory
- From the description: “Adjust Cost creates an additional unexpected variance amount due to rounding precision during cost adjustment”
Possibly related
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: Manually adjust item costs documents cost adjustment processes affected by rounding precision issues. (model-linked)
- Posting date on adjustment value entry compared to the source entry — possibly related: Posting dates on adjustment value entries explains how General Ledger Setup affects cost adjustment timing. (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).