#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.
- 4files
- 3AL files
- 3objects
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
- Codeunit 6175 “E-Doc. Activity Log Session”, EDocument: modified
- Codeunit 6406 “EDoc Prepare Purch. Draft”, EDocument: modified
- Codeunit 6124 “E-Doc. Providers”, EDocument: modified
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.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- FAQ for mapping e-documents with purchase orders — possibly related: Documents e-document matching assistance using item descriptions and details for invoice matching. (model-linked)
- Match Purchase Invoice Drafts to Purchase Orders — possibly related: Documents matching purchase invoices to purchase orders, the core function of e-document draft resolution. (model-linked)
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).