---
id: object/page/6171
type: object
title: Page 6171 "E-Doc. Create Purch Order Line"
summary: Page 6171 "E-Doc. Create Purch Order Line" in EDocument (Microsoft.eServices.EDocument.OrderMatch). 3 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: 98ac6b5e5d23b316440663d027479af6f8ea1ae5398bd716e104137ea6244f72
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/EDocument/app/src/Processing/OrderMatching/EDocCreatePurchOrderLine.Page.al
    title: src/Apps/W1/EDocument/app/src/Processing/OrderMatching/EDocCreatePurchOrderLine.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 6171
name: E-Doc. Create Purch Order Line
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: []
counts:
  fields: 0
  procedures: 4
  events: 0
  subscribers: 0
  controls: 10
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 6171 "E-Doc. Create Purch Order Line"

> Page 6171 "E-Doc. Create Purch Order Line" in EDocument (Microsoft.eServices.EDocument.OrderMatch). 3 public procedures. Introduced in BC29, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| SourceTable | Purchase Line |
| PageType | Card |
| ApplicationArea | All |

## 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 |
|---|---|---|---|
| Content | Type | [Type](../table/39.md#fields) | Specifies the line type. |
|  | No. | [No.](../table/39.md#fields) | Specifies what you received, such as a product or a general ledger account. |
|  | Description | [Description](../table/39.md#fields) | Specifies the description of what was received. |
|  | Unit Of Measure Code | [Unit of Measure Code](../table/39.md#fields) | Specifies how each unit of the item or resource is measured, such as in pieces or hours. |
|  | Quantity | [Quantity](../table/39.md#fields) | Specifies the quantity that was received. |
|  | Unit Price | [Direct Unit Cost](../table/39.md#fields) | Specifies the price of one unit of what you received. |
|  | Discount % | [Line Discount %](../table/39.md#fields) | Specifies the discount percentage that is granted for the line. |
|  | Total Amount | `TotalAmount` | Specifies the total amount of the line. |
|  | Incoming E-Document Line Total Amount | `IncomingEDocumentLineTotalAmount` | Specifies the total amount of the incoming e-document line. |
|  | Learn matching rule | `SaveMatch` | Specifies whether a matching rule should be created. Item references are created for Items and Text To Account mappings are created for G/L Accounts. |

## Procedures

- `SetEDocumentMatchingValues()`
- `SetSharedTable(var TempPurchaseLineToSet: Record "Purchase Line" temporary)` (internal)
- `SetEDocImportedLine(TempEDocImportedLineToSet: Record "E-Doc. Imported Line" temporary)` (internal)

Plus 1 local procedures.

## Triggers

OnOpenPage, OnQueryClosePage, OnAfterGetCurrRecord

## Relations

- source table [Table 39 "Purchase Line"](../table/39.md)

## Across versions

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

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. Create Purch Order Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
