code change · fixSales & Receivablesofficial - Microsoftreviewed - checked by Opus

#12145 [Main]-Item charge assignment update Error on sales order when there is no Price. "Sorry, we just updated this page. Reopen it and try again." when running in SaaS

Fixed an error on sales orders when assigning item charges by amount when some item lines have no price. The assignment record set is now refreshed after bulk updates to prevent stale data issues.

Pull request · merged into main (BC30) on 2026-10-06 by neeleshsinghal · 4 files (+164 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Item charge assignment by amount failed with a page refresh error in SaaS when an item line had zero price
  • The assignment fields were cleared with ModifyAll but the record set was not refreshed before the allocation logic ran
  • Added FindSet() call after bulk updates to refresh the record set
  • Regression test added covering zero-price and priced item line scenarios
  • Fixes issue AB#581982
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#581982
  • Labels: Team: SCM
  • Systems: sales
  • From the description: “Refresh the record set with FindSet() after the bulk updates.”

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).