#12161 [MAIN]-FIX-Bug 652365
Fixed production order refresh failing when a component base quantity is smaller than its rounding precision by preserving the unrounded value in this specific case.
- 3files
- 2AL files
- 1objects
Pull request · merged into main (BC30) on 2026-11-03 by v-praghav · 3 files (+115 -0), 2 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Refreshing production orders now handles components with base quantities smaller than rounding precision
- Solution preserves unrounded values when premature rounding would reduce a nonzero quantity to zero
- Standard rounding behavior is maintained in other scenarios
- Test coverage added for the new behavior
- Behaviour changes for users or extensions.
AL objects touched
- Table 5407 “Prod. Order Component”, Base Application: modified
src/Layers/IT/BaseApp/Manufacturing/Document/ProdOrderComponent.Table.al: modified, not in the BC30 snapshot
Context
- Work items: AB#652365
- Labels: Team: SCM
- Systems: manufacturing
- From the description: “Refreshing a production order fails when a valid component base quantity is smaller than its rounding precision.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Prod. Order - Job Card (report) — possibly related: Production order components and routing lines needed, related to Prod. Order Component table. (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).