---
title: "Page 6181 E-Document Purchase Draft"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/6181-e-document-purchase-draft/
type: page
id: 6181
name: "E-Document Purchase Draft"
app: "E-Document Core"
namespace: Microsoft.eServices.EDocument.Processing.Import.Purchase
versions: "26-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/page/6181-e-document-purchase-draft/source/?v=28 https://jonas-paprotka.de/ref/page/6181-e-document-purchase-draft/source/"
checked: 2026-11-20
changed: 2026-11-07
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 6181 E-Document Purchase Draft

JOP-AL, https://jonas-paprotka.de/ref/page/6181-e-document-purchase-draft/

| | |
| --- | --- |
| App | E-Document Core |
| Namespace | Microsoft.eServices.EDocument.Processing.Import.Purchase |
| Versions | 26-29 |
| Minors | W1 26.0-29.0; DE 26.0-29.0; US 26.0-29.0, [every minor](https://jonas-paprotka.de/ref/page/6181-e-document-purchase-draft/editions.json) |
| Source table | 6121 |
| PageType | Card |
| Extensible | No |
| Source file | src/Processing/Import/Purchase/EDocumentPurchaseDraft.Page.al |

## Extended in Microsoft's apps by

- [Page customization PA E-Doc. Purchase Draft](https://jonas-paprotka.de/ref/pagecustomization/pa-e-doc-purchase-draft/), Payables Agent, 26-29

## Trigger events

| Name | Parameters | ElementName | Docs |
| --- | --- | --- | --- |
| OnOpenPageEvent | (var Rec: Record "E-Document") | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onopenpageevent-page-trigger/ |
| OnAfterGetRecordEvent | (var Rec: Record "E-Document") | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onaftergetrecordevent-page-trigger/ |
| OnAfterGetCurrRecordEvent | (var Rec: Record "E-Document") | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onaftergetcurrrecordevent-page-trigger/ |
| OnNewRecordEvent | (var Rec: Record "E-Document"; BelowxRec: Boolean; var xRec: Record "E-Document") | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onnewrecordevent-page-trigger/ |
| OnInsertRecordEvent | (var Rec: Record "E-Document"; BelowxRec: Boolean; var xRec: Record "E-Document"; var AllowInsert: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-oninsertrecordevent-page-trigger/ |
| OnModifyRecordEvent | (var Rec: Record "E-Document"; var xRec: Record "E-Document"; var AllowModify: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onmodifyrecordevent-page-trigger/ |
| OnDeleteRecordEvent | (var Rec: Record "E-Document"; var AllowDelete: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-ondeleterecordevent-page-trigger/ |
| OnQueryClosePageEvent | (var Rec: Record "E-Document"; var AllowClose: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onqueryclosepageevent-page-trigger/ |
| OnClosePageEvent | (var Rec: Record "E-Document") | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onclosepageevent-page-trigger/ |
| OnBeforeActionEvent | (var Rec: Record "E-Document") | per action, ElementName: action name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onbeforeactionevent-page-trigger/ |
| OnAfterActionEvent | (var Rec: Record "E-Document") | per action, ElementName: action name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onafteractionevent-page-trigger/ |
| OnBeforeValidateEvent | (var Rec: Record "E-Document"; var xRec: Record "E-Document") | per field, ElementName: control name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onbeforevalidateevent-page-trigger/ |
| OnAfterValidateEvent | (var Rec: Record "E-Document"; var xRec: Record "E-Document") | per field, ElementName: control name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onaftervalidateevent-page-trigger/ |

## Controls

| Name | Kind | Type | In | Versions | Obsolete |
| --- | --- | --- | --- | --- | --- |
| content | area | - | - | 26-29 | - |
| General | group | - | content | 26-29 | - |
| Record | field | Text | General | 26-29 | - |
| DraftType | field | Enum E-Doc. Read into Draft | General | 26-29 | - |
| Buy-from | group | - | General | 26-29 | - |
| Vendor No. | field | Code[20] | Buy-from | 26-29 | - |
| Vendor Name | field | Text[250] | Buy-from | 26-29 | - |
| Vendor Address | field | Text[250] | Buy-from | 26-29 | - |
| Document | group | - | General | 26-29 | - |
| Document Type | field | Enum E-Document Type | Document | 26-29 | - |
| Document No. | field | Text[100] | Document | 26-29 | - |
| Document Date | field | Date | Document | 26-29 | - |
| Due Date | field | Date | Document | 26-29 | - |
| Status | field | Enum E-Document Status | General | 26-29 | - |
| Lines | part | - | content | 26-29 | - |
| E-Document Details | group | - | content | 26-29 | - |
| Amount Incl. VAT | field | Decimal | E-Document Details | 26-29 | - |
| Amount Excl. VAT | field | Decimal | E-Document Details | 26-29 | - |
| Currency Code | field | Code[10] | E-Document Details | 26-29 | - |
| ErrorMessagesPart | part | - | content | 26 | - |
| factboxes | area | - | - | 26-29 | - |
| Attached Documents List | part | - | factboxes | 26-29 | - |
| InboundEDocPicture | part | - | factboxes | 26-29 | - |
| InboundEDocFactbox | part | - | factboxes | 26-29 | - |
| Invoice Discount | field | Decimal | E-Document Details | 27-29 | - |
| Total VAT | field | Decimal | E-Document Details | 27-29 | - |
| ErrorMessagesFactBox | part | - | factboxes | 27-29 | - |
| Posting Description | field | Text[100] | Document | 28-29 | - |
| Vendor Invoice No. | field | Text[100] | Document | 28 | - |
| Applies-to Doc. No. | field | Text[100] | Document | 28-29 | - |
| Applied VAT Amount Diff. | field | Decimal | E-Document Details | 28-29 | - |

## Actions

| Name | Kind | In | Versions | Obsolete |
| --- | --- | --- | --- | --- |
| Processing | area | - | 26-29 | - |
| CreateDocument | action | ProcessDocument | 26-29 | - |
| ResetDraftDocument | action | ProcessDocument | 26-29 | - |
| AnalyzeDocument | action | ProcessDocument | 26-29 | - |
| ViewFile | action | ViewDocument | 26-29 | - |
| ViewExtractedDocumentData | action | ViewDocument | 26-29 | - |
| ClearErrors | action | Processing | 26 | - |
| Navigation | area | - | 26-29 | - |
| Vendors | group | Navigation | 26-29 | - |
| CreateVendorAction | action | Vendors | 26-29 | - |
| Promoted | area | - | 26-29 | - |
| Category_Process | group | Promoted | 26-29 | - |
| Promoted_CreateDocument | actionref | Category_Process | 26-29 | - |
| Promoted_AnalyseDocument | actionref | Category_Process | 26-29 | - |
| Promoted_ViewFile | actionref | Category_View | 26-29 | - |
| Promoted_ClearErrors | actionref | Category_Process | 26 | - |
| GetFeedback | action | Help | 27-29 | - |
| HistoricalVendorMatches | action | Vendors | 27-29 | - |
| OpenVendorList | action | Vendors | 27-29 | - |
| Promoted_GetFeedback | actionref | Category_Help | 27-29 | - |
| ProcessDocument | group | Processing | 28-29 | - |
| LinkToExistingDocument | action | ProcessDocument | 28-29 | - |
| ViewDocument | group | Processing | 28-29 | - |
| Help | group | Processing | 28-29 | - |
| Category_View | group | Promoted | 28-29 | - |
| Promoted_ViewExtractedData | actionref | Category_View | 28-29 | - |
| Category_Help | group | Promoted | 28-29 | - |

## Source

Symbols: Microsoft.E-DocumentCore.symbols.e1d97edc-c239-46b4-8d84-6368bdf67c8b, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
