Skip to content

[BC Idea]: [Event Request] Extend Item Mapping Logic After Importing Purchase Document – E-Document Core #5247

@GianinaIfrim

Description

@GianinaIfrim

BC Idea Link

microsoft/ALAppExtensions#29259 (comment)

Description

All of our customers have requested the ability to map an item received in a purchase document (order or invoice) in E-Documents using additional fields beyond just Item Reference or GTIN Code.
For example, some have asked to map items based on the EAN Code, Description, Description 2, or even the Item Code. They would like us to implement a multi-layered mapping logic that finds the best possible match.

Although they will review the imported lines afterward, having these extra mapping steps would make the process much more efficient.
Currently, however, it is not possible to add additional logic to map the received item with an item in Business Central.

Describe the request

This is the standard code — codeunit 6140 "E-Doc. Import", local procedure CreatePurchaseDocumentFromImportedDocument(…):

Image

Could you please add a publisher similar to the following:

Image

Currently, we use a default G/L Account when the item cannot be found ΓÇö otherwise, the purchase document could not be created from the E-Document.
At the moment, if there is no Item Reference or GTIN Code, the default G/L Account is used.

However, we need to extend this logic to include additional mapping steps, so adding a publisher here would allow us to implement that extra logic.

Thank you, and have a great day!

I will provide the implementation for this BC Idea

  • I will provide the implementation for this BC Idea

Metadata

Metadata

Assignees

No one assigned

    Labels

    ApprovedThe issue is approvedBCIdeaIssue related to a BCIdeaIntegrationGitHub request for Integration area

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions