Table 6100 "E-Document Purchase Header"
EDocument · Microsoft.EServices.EDocument.Processing.Import.Purchase
Across versions
- BC23-28not present
- BC29present
- BC30changed
Neighbourhood 3 connected objects and pages
EDocument · Microsoft.EServices.EDocument.Processing.Import.Purchase · BC29-30 · source at ea08af5e · facts from BC29
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | E-Document Entry No. | Integer | — | TableRelation Table 6121 “E-Document” (“E-Document”.“Entry No”); DataClassification SystemMetadata |
| 2 | Customer Company Name | Text[250] | Specifies the name of the customer company. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 3 | Customer Company Id | Text[250] | Specifies the ID of the customer company. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 4 | Purchase Order No. | Text[100] | Specifies the purchase order number. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 5 | Sales Invoice No. | Text[100] | Specifies the sales invoice number. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 6 | Invoice Date | Date | Specifies the invoice date. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 7 | Due Date | Date | Specifies the due date. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 8 | Document Date | Date | Specifies the document date. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 9 | Vendor Company Name | Text[250] | Specifies the name of the vendor company. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 10 | Vendor Address | Text[250] | Specifies the address of the vendor company. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 11 | Vendor Address Recipient | Text[250] | Specifies the recipient of the vendor address. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 12 | Customer Address | Text[250] | Specifies the address of the customer company. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 13 | Customer Address Recipient | Text[250] | Specifies the recipient of the customer address. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 14 | Billing Address | Text[250] | Specifies the billing address. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 15 | Billing Address Recipient | Text[250] | Specifies the recipient of the billing address. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 16 | Shipping Address | Text[250] | Specifies the shipping address. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 17 | Shipping Address Recipient | Text[250] | Specifies the recipient of the shipping address. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 18 | Sub Total | Decimal | Specifies the sub total. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 19 | Total Discount | Decimal | Specifies the total discount. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 20 | Total VAT | Decimal | Specifies the total VAT. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 21 | Total | Decimal | Specifies the total. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 22 | Amount Due | Decimal | Specifies the amount due. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 23 | Previous Unpaid Balance | Decimal | Specifies the previous unpaid balance. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 24 | Currency Code | Code[10] | Specifies the currency code. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 25 | Remittance Address | Text[250] | Specifies the remittance address. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 26 | Remittance Address Recipient | Text[250] | Specifies the recipient of the remittance address. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 27 | Service Address | Text[250] | Specifies the service address. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 28 | Service Address Recipient | Text[250] | Specifies the recipient of the service address. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 29 | Service Start Date | Date | Specifies the service start date. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 30 | Service End Date | Date | Specifies the service end date. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 31 | Vendor VAT Id | Text[100] | Specifies the vendor VAT ID. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 32 | Customer VAT Id | Text[100] | Specifies the customer VAT ID. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 33 | Payment Terms | Text[250] | Specifies the payment terms. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 34 | Customer GLN | Text[13] | Specifies the customer global location number. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 35 | Vendor GLN | Text[13] | Specifies the vendor global location number. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 36 | Vendor External Id | Text[250] | Specifies the vendor external ID. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 37 | Vendor Contact Name | Text[250] | Specifies the vendor contact name. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 38 | Posting Description | Text[100] | — | DataClassification CustomerContent |
| 39 | Applies-to Doc. No. | Text[100] | — | DataClassification CustomerContent |
| 40 | Vendor Invoice No. | Text[100] | Specifies the vendor’s original invoice number that this credit memo references. via Page 6182 “E-Doc. Readable Purchase Doc.” | DataClassification CustomerContent |
| 101 | [BC] Vendor No. | Code[20] | Vendor No. caption | TableRelation Vendor.“No.”; DataClassification CustomerContent |
| 102 | [BC] Purchase Order No. | Code[20] | Purchase Order No. caption | TableRelation Table 38 “Purchase Header” (“Purchase Header”.“No.” where(“Document Type” = const(Order))); DataClassification CustomerContent |
Keys
- PK: E-Document Entry No. (clustered)
Procedures
GetFromEDocument(EDocument: Record "E-Document")InsertForEDocument(EDocument: Record "E-Document")GetBCVendor(): Record VendorGetAppliedVATAmountDiff(): DecimalFeatureName(): Text(internal)IsFinalized(): Boolean(internal)
Triggers
OnDelete
Relations
- [BC] Purchase Order No.: TableRelation Table 38 “Purchase Header”
- E-Document Entry No.: TableRelation Table 6121 “E-Document”
Pages and codeunits on this table
- Page 6182 “E-Doc. Readable Purchase Doc.” (source table)
Recent changes
- 2026-09-24 #11815 Improvements to E-Documents PO matching (E2E findings) (main, BC30, fix)
- 2026-09-11 #11318 [main] Bug 649189: Update E-Document vendor invoice caption (main, BC30, fix)
- 2026-09-09 #11168 Restore E-Document vendor invoice field compatibility (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: "table", object_name: "E-Document Purchase Header"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.