---
title: "Page 6171 E-Doc. Create Purch Order Line, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/points/
object: https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/
app: "E-Document Core"
major: 29
source: https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Page 6171 E-Doc. Create Purch Order Line, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/points/

6 procedures and triggers with a step in src/Apps/W1/EDocument/App/src/Processing/OrderMatching/EDocCreatePurchOrderLine.Page.al, in source order, read from the text, not from a run.

## Type.OnValidate

[Line 25](https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/source/#L25), trigger.

- [27](https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/source/#L27) calls `SetEDocumentMatchingValues`
- [28](https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/source/#L28) calls `CheckAndShowCannotSaveMatchNotification`

## No..OnValidate

[Line 36](https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/source/#L36), trigger.

- [38](https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/source/#L38) calls `SetEDocumentMatchingValues`

## Learn matching rule.OnValidate

[Line 101](https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/source/#L101), trigger.

- [103](https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/source/#L103) calls `CheckAndShowCannotSaveMatchNotification`

## OnQueryClosePage

[Line 127](https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/source/#L127), trigger.

- [141](https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/source/#L141) calls [Codeunit 6164 E-Doc. Line Matching](https://jonas-paprotka.de/ref/codeunit/6164-e-doc-line-matching/) `CreateMatchingRule`

## OnAfterGetCurrRecord

[Line 145](https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/source/#L145), trigger.

- [147](https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/source/#L147) calls `SetEDocumentMatchingValues`

## SetEDocumentMatchingValues

[Line 150](https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/source/#L150).

- [159](https://jonas-paprotka.de/ref/page/6171-e-doc-create-purch-order-line/source/#L159) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `Initialize`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
