code change · fixPurchasing & Payablesofficial - Microsoftreviewed - checked by Opus

#10290 [Main] -Drop shipment undo receipt fails for service and non-inventory items.

Undo receipt and undo shipment operations now work correctly for drop shipments involving service and non-inventory items by removing unnecessary cost application filters and adding a fallback lookup method through drop shipment links.

Pull request · merged into main (BC30) on 2026-08-18 by DhavalMore88 (community contribution) · 4 files (+168 -10), 3 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Removed ‘Cost Application’ filter from drop shipment application entry lookup to include cost-less entries for non-inventoriable items
  • Guarded the item application entry lookup so a missing entry is skipped instead of erroring
  • Added fallback lookup of the sales shipment line through the drop shipment document link when the item ledger entry path finds nothing
  • Enables both undo shipment and undo receipt for service and non-inventory drop shipments
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#646535
  • Labels: ADO: Sync, From Fork, Team: SCM
  • Systems: purchasing, sales
  • From the description: “Drop shipment undo receipt fails for service and non-inventory items.”

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