code change · fixIntegration & APIsofficial - Microsoftreviewed - checked by Opus

#10466 Resolve purchase lines to items on exact description match

Inbound purchase invoice lines now resolve to items when the description exactly matches one existing item, instead of falling through to G/L account matching.

Pull request · merged into main (BC30) on 2026-08-24 by Explorer986 · 4 files (+184 -2), 3 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Adds deterministic item matching by description for e-document import
  • Only triggers when exactly one non-blocked item with matching description and compatible unit of measure exists
  • Runs after item reference and text-to-account mapping steps to preserve explicit setup
  • Ambiguous cases retain previous G/L account matching behavior
  • No schema or upgrade impact
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#647171
  • Labels: AL: Apps (W1), Team: Integrations
  • Systems: integration
  • From the description: “Resolves the line to the item when there is exactly one eligible item with that description.”

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