#9398 [Main]Incorrect Cost Amount (Actual) in Value Entries after posting Assembly Process and calulating the assembly standard costsInitial commit
Fixes wrong Cost Amount (Actual) in value entries for assembly orders after Calc. Assembly Std. Cost. For assembly orders, the inventory adjustment now recalculates overhead from the cost shares and re-rounds it, so per-unit and per-output indirect costs match.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-07-24 by sanjmaurya (community contribution) · 2 files (+239 -0), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Root cause: per-unit and per-output indirect costs were rounded inconsistently after the standard cost was recalculated with high precision
- For assembly orders, overhead is recomputed after the if/else in codeunit 5896, whichever branch ran
- Costs are rounded, then indirect cost and unit cost are recalculated
- A test was added to SCMCalculateAssemblyCost
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 5896 “Calc. Inventory Adjmt. - Order”, Base Application: modified
Context
- Work items: AB#642126
- Labels: ADO: Sync, From Fork, Team: SCM
- Systems: inventory
- From the description: “Incorrect Cost Amount (Actual) in Value Entries after posting Assembly Process and calulating the assembly standard costs”
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).