---
id: object/page/6167
type: object
title: Page 6167 "E-Doc. Order Line Matching"
summary: Page 6167 "E-Doc. Order Line Matching" in EDocument (Microsoft.eServices.EDocument.OrderMatch). 1 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - edocument
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: fc58e03329ac80346dd96787a1a0d186eaff0c19e634a3242495dfbbf1e147ad
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/EDocument/app/src/Processing/OrderMatching/EDocOrderLineMatching.Page.al
    title: src/Apps/W1/EDocument/app/src/Processing/OrderMatching/EDocOrderLineMatching.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/finance-how-use-edocuments-purchase
    title: Use E-Documents in the purchase process
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-how-use-edocuments-purchase
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/set-up-and-use-e-documents
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9954
    - change/bcapps/9572
object_type: page
object_id: 6167
name: E-Doc. Order Line Matching
caption: Purchase Order Matching
namespace: Microsoft.eServices.EDocument.OrderMatch
app: EDocument
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/finance-how-use-edocuments-purchase.md
counts:
  fields: 0
  procedures: 9
  events: 0
  subscribers: 0
  controls: 6
  actions: 9
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 6167 "E-Doc. Order Line Matching"

> Page 6167 "E-Doc. Order Line Matching" in EDocument (Microsoft.eServices.EDocument.OrderMatch). 1 public procedures. Introduced in BC29, still in BC30.

EDocument · Microsoft.eServices.EDocument.OrderMatch · captioned "Purchase Order Matching" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/EDocument/app/src/Processing/OrderMatching/EDocOrderLineMatching.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Purchase Order Matching |
| SourceTable | E-Document |
| PageType | Card |
| ApplicationArea | All |
| Permissions | tabledata "E-Document" = m |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Document Details | Vendor Name | [Bill-to/Pay-to Name](../table/6121.md#fields) | Specifies the customer/vendor name of the electronic document. |
|  | E-Document No. | [Incoming E-Document No.](../table/6121.md#fields) | Specifies the electronic document number. |
|  | E-Document Date | [Document Date](../table/6121.md#fields) | Specifies the electronic document date. |
|  | E-Document Amount | [Amount Incl. VAT](../table/6121.md#fields) | Specifies the e-document amount including VAT. |
| Control8 | Imported Lines | part [Page 6165 "E-Doc. Imported Line Sub"](../page/6165.md) | — |
|  | Purchase Order Lines | part [Page 6168 "E-Doc. Purchase Order Sub"](../page/6168.md) | — |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Apply To Purchase Order | Applies the matching and updates purchase order lines |  |
|  | Match Manually | Manually match selected lines in both panes to link each imported line to one or more related purchase order lines. |  |
|  | Match Automatically | Automatically search and match lines that have same Type, No., Unit Price, Discount and Unit Of Measure. |  |
|  | Remove Match | Remove selection of matched purchase order lines. |  |
|  | Reset Matching | Removes all matches made for E-Document. |  |
|  | Show Pending Lines | Show all e-document lines that have not been completely matched. |  |
|  | Show All Lines | Show all e-document lines. |  |
| Prompting | Match with Copilot <small>obsolete Pending 29.0; #if not CLEAN29</small> | Match e-document lines with the assistance of Copilot |  |
| Navigation | Purchase Order | Opens the Purchase Order page with the related order | [Page 50 "Purchase Order"](../page/50.md) |

## Procedures

- `SetTempRecord(var EDocument: Record "E-Document")` (internal)

Plus 8 local procedures.

## Triggers

OnAfterGetRecord

## Relations

- source table [Table 6121 "E-Document"](../table/6121.md)

## Recent changes

- 2026-08-06 [#9954 Restoring undefined action. (Purchase Orders page can't be open in latest `main`)](../../changes/bcapps/9954.md) (main, BC30, fix)
- 2026-07-22 [#9572 Obsolete E-Document Purchase Order Matching Copilot](../../changes/bcapps/9572.md) (main, BC30, obsoletion)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

## Documented on Microsoft Learn

- [Use E-Documents in the purchase process](https://learn.microsoft.com/dynamics365/business-central/finance-how-use-edocuments-purchase)

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "E-Doc. Order Line Matching")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
