Skip to content

Add vendor matching telemetry to E-Document import#8711

Open
ventselartur wants to merge 2 commits into
mainfrom
bugs/639684-PAVendorTelemetry
Open

Add vendor matching telemetry to E-Document import#8711
ventselartur wants to merge 2 commits into
mainfrom
bugs/639684-PAVendorTelemetry

Conversation

@ventselartur

@ventselartur ventselartur commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Why

When an E-Document is imported and a purchase draft is prepared, the vendor is resolved through several strategies (by number, GLN, VAT id, service participant, name and address) and can also be carried over from history or assigned by a provider. Today we only emit a single boolean telemetry point indicating whether a vendor was found, which makes it impossible to understand how vendors are being matched in the field, where matching falls back to fuzzy name/address logic, or why no vendor was assigned. This change enriches the import session telemetry so we can analyze vendor-matching behavior and diagnose failures.

AB#639684

Summary

  • Added Vendor Match Method telemetry in E-Document Import Helper.FindVendor, tagging which identifier (No, GLN, VAT Id) matched the vendor.
  • Added Vendor Matched By Name Not Address boolean telemetry when a name-only candidate is found during fuzzy matching.
  • Added Vendor Assignment Source telemetry in EDoc Prepare Purch. Draft distinguishing Already Assigned, Provider, History, and None.
  • Added Vendor Info Present boolean and Vendor Match Method outcomes (None - No Vendor Info, Service Participant, Name and Address, None - No Match) in E-Doc. Providers.
  • Refactored the provider's no-vendor-information branch into a single block so the warning and early-exit share one condition.

@ventselartur ventselartur requested review from a team June 22, 2026 09:29
@github-actions github-actions Bot added the AL: Apps (W1) Add-on apps for W1 label Jun 22, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant