Skip to content

[E-Document] Fix historical matching and capability registration#7752

Merged
dayland merged 1 commit into
mainfrom
bugs/631283-edoc-capability-registration
Apr 20, 2026
Merged

[E-Document] Fix historical matching and capability registration#7752
dayland merged 1 commit into
mainfrom
bugs/631283-edoc-capability-registration

Conversation

@dayland
Copy link
Copy Markdown
Contributor

@dayland dayland commented Apr 20, 2026

Bug 631283: Fix three issues in e-document AI matching:

  1. Register Copilot capability on-demand in SaaS if not already registered, preventing matching from silently failing.

  2. Add missing fields to SetLoadFields in CopilotLineMatching (Description, Product Code, Quantity, Unit of Measure, Unit Price) so historical matching receives the data it needs.

  3. Fix Product Code search in historical matching — was searching Purch. Inv. Line "No." (G/L Account) instead of the vendor's product code. Now enriches temp table with product codes from E-Doc. Purchase Line History during loading and searches "Vendor Item No." for the ProductCode match type.

Fixes AB#631283

@github-actions github-actions Bot added the AL: Apps (W1) Add-on apps for W1 label Apr 20, 2026
@github-actions github-actions Bot modified the milestone: Version 29.0 Apr 20, 2026
Bug 631283: Fix three issues in e-document AI matching:

1. Register Copilot capability on-demand in SaaS if not already
   registered, preventing matching from silently failing.

2. Add missing fields to SetLoadFields in CopilotLineMatching
   (Description, Product Code, Quantity, Unit of Measure, Unit Price)
   so historical matching receives the data it needs.

3. Fix Product Code search in historical matching — was searching
   Purch. Inv. Line "No." (G/L Account) instead of the vendor's
   product code. Now enriches temp table with product codes from
   E-Doc. Purchase Line History during loading and searches
   "Vendor Item No." for the ProductCode match type.
@dayland dayland force-pushed the bugs/631283-edoc-capability-registration branch from 9d513cc to bc06d20 Compare April 20, 2026 12:59
@dayland dayland marked this pull request as ready for review April 20, 2026 13:01
@dayland dayland requested a review from a team as a code owner April 20, 2026 13:01
@dayland dayland requested review from Groenbech96 and mynjj April 20, 2026 13:03
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AL Documentation Audit

Documentation gaps were detected in the following apps:

  • E-Document-Core: 0% documentation coverage

To generate documentation, run /al-docs init or /al-docs update using GitHub Copilot CLI or Claude Code.
This review is for awareness to help keep documentation in sync with code changes. It is okay to dismiss this request.

@dayland dayland merged commit 159b552 into main Apr 20, 2026
39 of 64 checks passed
@dayland dayland deleted the bugs/631283-edoc-capability-registration branch April 20, 2026 21:39
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.

5 participants