code change · fixManufacturingofficial - Microsoftreviewed - checked by Opus

#14847 Subcontracting: Don't offer WIP transfer receipt lines for item charges

Item Charge Assignment in subcontracting no longer offers WIP transfer receipt lines for assignment, preventing posting failures caused by division by zero when charges are split between component and WIP lines.

Pull request · merged into main (BC30) on 2026-12-04 by alexei-dobriansky · 2 files (+338 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Filters out WIP transfer receipt lines from Get Transfer Receipt Lines dialog in item charge assignment
  • Adds early error message when posting assignments to WIP lines created before this change
  • Prevents “Attempted to divide by zero” error that occurred because WIP lines have zero base quantity
  • Component lines from the same receipt remain available for item charge assignment
  • WIP share is not dropped or reallocated to other lines
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#660064
  • Labels: AL: Apps (W1), Engineering Factory, Team: SCM
  • Systems: manufacturing

No source states these links: they share an object, a model read them, or a person found the same subject.

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