microsoft / microsoft/BCApps

[Extensibility Request][E-Document] Enable extension of Import Process 2.0

Open
#7,531 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

AI-Triage Team: Integrations
Dominant language
AL
Stars
683
Forks
459
Avg merge
3d 26m
Merged PRs (30d)
633

Description

Describe the issue

We are trying to implement document import process from our OCR using E-Document.

We are starting with a basic customization - to control over Text to Account mapping, that was done previously via premapping codeunits in Data Exchange.

Import Version 1.0 logic ignores our premapping changes, and we do not have control over what items and accounts will be used for purchase lines.

So we are trying to implement Import Version 2.0 which is stated as current in E-Document docs. We are following this manual: https://github.com/microsoft/BCApps/blob/main/src/Apps/W1/EDocument/App/docs/extensibility.md.

But every object we need to is internal (e.g. E-Document Purchase Line/Header which are parameters to the interfaces that need to be implemented according to the docs).

That is why we are lost in how to use E-Document feature at all. Is it now exclusively created for Payables Agent alone?

Expected behavior

Be able to extend E-Document functionality according to documentation.

Steps to reproduce
  1. Create an extensibility app.
  2. Try to implement IPurchaseLineProvider interface.
Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/Apps/W1/EDocument/App/docs/extensibility.md and the IPurchaseLineProvider interface described there. Reproduce the issue by creating an extensibility app and attempting to implement that interface, then inspect which E-Document Purchase Line/Header objects are inaccessible. Done means the documented Import Process 2.0 extension path can be used by an external app.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.