Skip to content

[MAIN]-FIX-Bug 652365 - #12161

Open
v-praghav wants to merge 3 commits into
mainfrom
bugs/Bug-652365-Qty-Rounding-Precision-on-Item-1007-causes-the-Quantity-main
Open

v-praghav wants to merge 3 commits into
mainfrom
bugs/Bug-652365-Qty-Rounding-Precision-on-Item-1007-causes-the-Quantity-main

Conversation

@v-praghav

@v-praghav v-praghav commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

What & why

ISSUE: Refreshing a production order fails when a valid component base quantity is smaller than its rounding precision.

CAUSE & SOLUTION: Premature rounding reduces the nonzero base quantity to zero; preserve the unrounded value only in this case while retaining standard rounding otherwise.

Linked work

AB#652365

Fixes #

How I validated this

  • I read the full diff and it contains only changes I intended.
  • I built the affected app(s) locally with no new analyzer warnings.
  • I ran the change in Business Central and confirmed it behaves as expected.
  • I added or updated tests for the new behavior, or explained below why none are needed.

What I tested and the outcome (required — be specific: scenarios, commands, screenshots for UI changes)

Risk & compatibility

@github-actions github-actions Bot added the Team: SCM GitHub request for SCM area label Sep 30, 2026
@github-actions github-actions Bot added this to the Version 30.0 milestone Sep 30, 2026
…Bug-652365-Qty-Rounding-Precision-on-Item-1007-causes-the-Quantity-main

:qa
@v-praghav
v-praghav marked this pull request as ready for review October 1, 2026 16:12
@v-praghav
v-praghav requested a review from a team as a code owner October 1, 2026 16:12

This branch was successfully deployed

1 active deployment
triage — 3d4a9eca Deployed Oct 1, 2026 by v-praghav via Classify team ownership #6455
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team: SCM GitHub request for SCM area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant