Page 6181 "E-Document Purchase Draft"
EDocument · Microsoft.eServices.EDocument.Processing.Import.Purchase
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 2 connected objects and pages
EDocument · Microsoft.eServices.EDocument.Processing.Import.Purchase · captioned “Purchase Document Draft” · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Purchase Document Draft |
| Extensible | false |
| SourceTable | E-Document |
| PageType | Card |
| ApplicationArea | Basic, Suite |
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 |
|---|---|---|---|
| General | Purchase Document | RecordLinkTxt |
Specifies the record, document, journal line, or ledger entry, that is linked to the electronic document. |
| Draft Type | Read into Draft Impl. | Specifies the type of draft document. | |
| Buy-from | Vendor No. | EDocumentPurchaseHeader."[BC] Vendor No." |
Specifies the internal vendor identifier code. |
| Vendor Name | EDocumentPurchaseHeader."Vendor Company Name" |
Specifies the extracted name of the vendor who delivers the products. | |
| Vendor Address | EDocumentPurchaseHeader."Vendor Address" |
Specifies the extracted vendor’s address. | |
| Document | Document Type | Document Type | Specifies the electronic document type. |
| Document No. | EDocumentPurchaseHeader."Sales Invoice No." |
Specifies the extracted ID for this specific document. | |
| Posting Description | EDocumentPurchaseHeader."Posting Description" |
Specifies the extracted posting description for the document. | |
| Document Date | EDocumentPurchaseHeader."Document Date" |
Specifies the extracted document date. | |
| Due Date | EDocumentPurchaseHeader."Due Date" |
Specifies the extracted due date. | |
| Applies-to Doc. No. | EDocumentPurchaseHeader."Applies-to Doc. No." |
Specifies the posted purchase invoice number in Business Central that this credit memo applies to. | |
| General | Status | Status | Specifies whether the EDocument is in progress and awaiting processing, has been processed into a Purchase Document, or encountered an error. The processing behavior depends on the EDocument Service setup. |
| Content | Lines | part Page 6183 “E-Doc. Purchase Draft Subform” | — |
| E-Document Details | Applied VAT Amount Diff. | AppliedVATAmountDiff |
Specifies the VAT amount difference that was automatically applied to reconcile the document total VAT with the computed line VAT amounts. |
| Amount Excl. VAT | EDocumentPurchaseHeader."Sub Total" |
Specifies the total amount of the electronic document excluding VAT. | |
| Invoice Discount | EDocumentPurchaseHeader."Total Discount" |
Specifies the discount in addition to the lines | |
| Total VAT | EDocumentPurchaseHeader."Total VAT" |
Specifies the total VAT | |
| Amount Incl. VAT | EDocumentPurchaseHeader.Total |
Specifies the total amount of the electronic document including VAT. | |
| Currency Code | EDocumentPurchaseHeader."Currency Code" |
Specifies the electronic document currency code. | |
| FactBoxes | Documents | part Page 1178 “Doc. Attachment List Factbox” | — |
| Preview | part Page 6111 “Inbound E-Doc. Picture” | — | |
| Details | part Page 6108 “Inbound E-Doc. Factbox” | — | |
| ErrorMessagesFactBox | part Page 701 “Error Messages Part” | — |
Actions
| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Process | Finalize draft | Process the electronic document into a business central document | |
| Reset draft | Resets the draft document. Any changes made to the draft document will be lost. | ||
| Analyze document | Analyze the selected electronic document | ||
| Link to existing document | Link this electronic document to an existing purchase document in Business Central. Use this when you have already created the document manually and want to attach the e-document to it. | ||
| View | View pdf | View pdf. | |
| View extracted data | View the extracted data from the source file. | ||
| Help | Provide feedback | Provide feedback on the Payables Agent experience. | |
| Vendors | Historical Vendor Matches | Opens Vendor Assignment History to see names and addresses matched to vendors based on received e-documents. | Page 6151 “E-Doc. Vendor Assignment Hist.” |
| Vendor List | Opens the Vendor List. | Page 27 “Vendor List” | |
| Create Vendor | Creates a vendor based on the invoice details. |
Trigger event subscribers
- OnAfterValidateEvent(Invoice Discount): Codeunit 6103 “E-Document Subscribers” OnAfterValidateDraftPageDiscount
- OnAfterValidateEvent(Total VAT): Codeunit 6103 “E-Document Subscribers” OnAfterValidateDraftPageVAT
- OnAfterValidateEvent(Vendor No.): Codeunit 6103 “E-Document Subscribers” OnAfterValidateDraftPageVendorNo
Procedures
14 local procedures, no public ones.
Triggers
OnOpenPage, OnAfterGetRecord
Relations
- source table Table 6121 “E-Document”
Recent changes
- 2026-08-18 #9257 Hide Provide feedback action on E-Document Purchase Draft when user-i… (main, BC30, fix)
- 2026-08-14 #9711 Fix E-Document purchase draft header Sub Total overwrite; notify on mismatch (main, BC30, fix)
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-Document Purchase Draft"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.