Table 122 "Purch. Inv. Header"
Base Application · Microsoft.Purchases.History
- 114fields
- 16procedures
- 6events
- 6Learn pages
- 16countries replace it
- 16fields reference it
- 6event subscribers
- 5objects it calls
Across versions
- BC23present
- BC241 fields changed
- BC251 fields added
- BC262 fields changed, 1 fields removed
- BC272 fields changed
- BC2869 fields changed, 2 fields added
- BC292 fields added
- BC30unchanged
Neighbourhood 81 connected objects and pages
Base Application · Microsoft.Purchases.History · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 138 “Posted Purchase Invoice” (4 Learn pages), Page 146 “Posted Purchase Invoices” (4).
Properties
| Property | Value |
|---|---|
| Caption | Purch. Inv. Header |
| DataClassification | CustomerContent |
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 |
|---|---|---|---|---|
| 2 | Buy-from Vendor No. Δ BC26 | Code[20] | Specifies the identifier of the vendor that you bought the items from. | TableRelation Table 23 “Vendor”; NotBlank |
| 3 | No. Δ BC28 | Code[20] | Specifies the posted invoice number. | |
| 4 | Pay-to Vendor No. Δ BC26 | Code[20] | Specifies the number of the vendor that you received the invoice from. | TableRelation Table 23 “Vendor”; NotBlank |
| 5 | Pay-to Name Δ BC28 | Text[100] | Specifies the name of the vendor who you received the invoice from. | |
| 6 | Pay-to Name 2 Δ BC27 | Text[50] | Specifies an additional part of the name of the vendor who you receive the invoice from. | |
| 7 | Pay-to Address Δ BC28 | Text[100] | Specifies the address of the vendor that you received the invoice from. | |
| 8 | Pay-to Address 2 Δ BC28 | Text[50] | Specifies additional address information. | |
| 9 | Pay-to City Δ BC28 | Text[30] | Specifies the city of the vendor on the purchase document. | TableRelation Table 225 “Post Code” (“Post Code”.City) |
| 10 | Pay-to Contact Δ BC28 | Text[100] | Specifies the name of the person you should contact at the vendor who you received the invoice from. | |
| 11 | Your Reference | Text[35] | — | |
| 12 | Ship-to Code Δ BC28 | Code[10] | Specifies the address on purchase orders shipped with a drop shipment directly from the vendor to a customer. | TableRelation Table 222 “Ship-to Address” (“Ship-to Address”.Code where(“Customer No.” = field(“Sell-to Customer No.”))) |
| 13 | Ship-to Name Δ BC28 | Text[100] | Specifies the name of the customer at the address that the items are shipped to. | |
| 14 | Ship-to Name 2 Δ BC28 | Text[50] | Specifies an additional part of the name of the company at the address to which the items in the purchase order were shipped. | |
| 15 | Ship-to Address Δ BC28 | Text[100] | Specifies the address that the items in the purchase order were shipped to. | |
| 16 | Ship-to Address 2 Δ BC28 | Text[50] | Specifies additional address information. | |
| 17 | Ship-to City Δ BC28 | Text[30] | Specifies the city of the vendor on the purchase document. | TableRelation Table 225 “Post Code” (“Post Code”.City) |
| 18 | Ship-to Contact Δ BC28 | Text[100] | Specifies the name of a contact person at the address that the items in the purchase order were shipped to. | |
| 19 | Order Date | Date | — | |
| 20 | Posting Date Δ BC28 | Date | Specifies the date the purchase header was posted. | |
| 21 | Expected Receipt Date Δ BC28 | Date | Specifies the date on which the invoiced items were expected. | |
| 22 | Posting Description Δ BC28 | Text[100] | Specifies any text that is entered to accompany the posting, for example for information to auditors. | |
| 23 | Payment Terms Code Δ BC28 | Code[10] | Specifies the code to use to find the payment terms that apply to the purchase header. | TableRelation Table 3 “Payment Terms” (Payment Terms) |
| 24 | Due Date Δ BC28 | Date | Specifies when the invoice is due. The program calculates the date using the Payment Terms Code and Document Date fields on the purchase header. | |
| 25 | Payment Discount % Δ BC28 | Decimal | Specifies the payment discount percent granted if payment is made on or before the date in the Pmt. Discount Date field. | |
| 26 | Pmt. Discount Date Δ BC28 | Date | Specifies the date on which the amount in the entry must be paid for a payment discount to be granted. | |
| 27 | Shipment Method Code Δ BC28 | Code[10] | Specifies the delivery conditions of the related shipment, such as free on board (FOB). | TableRelation Table 10 “Shipment Method” (Shipment Method) |
| 28 | Location Code Δ BC28 | Code[10] | Specifies the code for the location where the items are registered. | TableRelation Table 14 “Location” (Location where(“Use As In-Transit” = const(false))) |
| 29 | Shortcut Dimension 1 Code Δ BC28 | Code[20] | Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1))) |
| 30 | Shortcut Dimension 2 Code Δ BC28 | Code[20] | Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2))) |
| 31 | Vendor Posting Group Δ BC28 | Code[20] | Specifies the vendor’s market type to link business transactions made for the vendor with the appropriate account in the general ledger. | TableRelation Table 93 “Vendor Posting Group” (Vendor Posting Group); not editable |
| 32 | Currency Code Δ BC28 | Code[10] | Specifies the currency code used to calculate the amounts on the invoice. | TableRelation Table 4 “Currency”; not editable |
| 33 | Currency Factor Δ BC28 | Decimal | — | |
| 35 | Prices Including VAT | Boolean | — | |
| 37 | Invoice Disc. Code | Code[20] | — | |
| 41 | Language Code | Code[10] | — | TableRelation Table 8 “Language” |
| 42 | Format Region | Text[80] | — | TableRelation “Language Selection”.“Language Tag” |
| 43 | Purchaser Code Δ BC28 | Code[20] | Specifies which purchaser is assigned to the vendor. | TableRelation Table 13 “Salesperson/Purchaser” (Salesperson/Purchaser) |
| 44 | Order No. Δ BC28 | Code[20] | Specifies the number of the purchase order that this invoice was posted from. | |
| 46 | Comment | Boolean | — | FlowField: exist(“Purch. Comment Line” where(“Document Type” = const(“Posted Invoice”), “No.” = field(“No.”), “Document Line No.” = const(0))); not editable |
| 47 | No. Printed Δ BC28 | Integer | Specifies how many times the document has been printed. | not editable |
| 51 | On Hold | Code[3] | — | |
| 52 | Applies-to Doc. Type | Enum “Gen. Journal Document Type” | — | enum Enum 6 “Gen. Journal Document Type” |
| 53 | Applies-to Doc. No. | Code[20] | — | |
| 55 | Bal. Account No. | Code[20] | — | TableRelation Table 15 “G/L Account”, Table 270 “Bank Account” (if (“Bal. Account Type” = const(“G/L Account”)) “G/L Account” else if (“Bal. Account Type” = const(“Bank Account”)) “Bank Account”) |
| 60 | Amount Δ BC28 | Decimal | Specifies the total, in the currency of the invoice, of the amounts on all the invoice lines. | FlowField: sum(“Purch. Inv. Line”.Amount where(“Document No.” = field(“No.”))); not editable |
| 61 | Amount Including VAT Δ BC28 | Decimal | Specifies the total of the amounts, including VAT, on all the lines on the document. | FlowField: sum(“Purch. Inv. Line”.“Amount Including VAT” where(“Document No.” = field(“No.”))); not editable |
| 66 | Vendor Order No. Δ BC28 | Code[35] | Specifies the vendor’s order number. | |
| 68 | Vendor Invoice No. Δ BC28 | Code[35] | Specifies the vendor’s own invoice number. | |
| 70 | VAT Registration No. | Text[20] | — | |
| 72 | Sell-to Customer No. | Code[20] | — | TableRelation Table 18 “Customer” |
| 73 | Reason Code | Code[10] | — | TableRelation Table 231 “Reason Code” (Reason Code) |
| 74 | Gen. Bus. Posting Group | Code[20] | — | TableRelation Table 250 “Gen. Business Posting Group” (Gen. Business Posting Group) |
| 76 | Transaction Type | Code[10] | — | TableRelation Table 258 “Transaction Type” (Transaction Type) |
| 77 | Transport Method | Code[10] | — | TableRelation Table 259 “Transport Method” (Transport Method) |
| 78 | VAT Country/Region Code | Code[10] | — | TableRelation Table 9 “Country/Region” (Country/Region) |
| 79 | Buy-from Vendor Name Δ BC28 | Text[100] | Specifies the name of the vendor who shipped the items. | |
| 80 | Buy-from Vendor Name 2 Δ BC27 | Text[50] | Specifies an additional part of the name of the vendor that you’re buying from. | |
| 81 | Buy-from Address Δ BC28 | Text[100] | Specifies the address of the vendor who shipped the items. | |
| 82 | Buy-from Address 2 Δ BC28 | Text[50] | Specifies additional address information. | |
| 83 | Buy-from City Δ BC28 | Text[30] | Specifies the city of the vendor on the purchase document. | TableRelation Table 225 “Post Code” (“Post Code”.City) |
| 84 | Buy-from Contact Δ BC28 | Text[100] | Specifies the name of the contact person at the vendor who delivered the items. | |
| 85 | Pay-to Post Code Δ BC28 | Code[20] | Specifies the post code of the vendor that you received the invoice from. | TableRelation Table 225 “Post Code” (Post Code) |
| 86 | Pay-to County Δ BC28 | Text[30] | Specifies the state, province or county as a part of the address. | |
| 87 | Pay-to Country/Region Code Δ BC28 | Code[10] | Specifies the country or region of the ship-to address. | TableRelation Table 9 “Country/Region” (Country/Region) |
| 88 | Buy-from Post Code Δ BC28 | Code[20] | Specifies the post code of the vendor who delivered the items. | TableRelation Table 225 “Post Code” (Post Code) |
| 89 | Buy-from County Δ BC28 | Text[30] | Specifies the state, province or county as a part of the address. | |
| 90 | Buy-from Country/Region Code Δ BC28 | Code[10] | Specifies the country or region of the ship-to address. | TableRelation Table 9 “Country/Region” (Country/Region) |
| 91 | Ship-to Post Code Δ BC28 | Code[20] | Specifies the postal code of the address that the items are shipped to. | TableRelation Table 225 “Post Code” (Post Code) |
| 92 | Ship-to County Δ BC28 | Text[30] | Specifies the state, province or county as a part of the address. | |
| 93 | Ship-to Country/Region Code Δ BC28 | Code[10] | Specifies the country or region of the ship-to address. | TableRelation Table 9 “Country/Region” (Country/Region) |
| 94 | Bal. Account Type | enum “Payment Balance Account Type” | — | enum Enum 96 “Payment Balance Account Type” |
| 95 | Order Address Code Δ BC28 | Code[10] | Specifies the order address of the related vendor. | TableRelation Table 224 “Order Address” (“Order Address”.Code where(“Vendor No.” = field(“Buy-from Vendor No.”))) |
| 97 | Entry Point | Code[10] | — | TableRelation Table 282 “Entry/Exit Point” (Entry/Exit Point) |
| 98 | Correction | Boolean | — | |
| 99 | Document Date Δ BC28 | Date | Specifies the date on which the purchase document was created. | |
| 101 | Area | Code[10] | — | TableRelation Table 284 “Area” |
| 102 | Transaction Specification | Code[10] | — | TableRelation Table 285 “Transaction Specification” (Transaction Specification) |
| 104 | Payment Method Code Δ BC28 | Code[10] | Specifies how to make payment, such as with bank transfer, cash, or check. | TableRelation Table 289 “Payment Method” (Payment Method) |
| 107 | Pre-Assigned No. Series | Code[20] | — | TableRelation Table 308 “No. Series” (No. Series) |
| 108 | No. Series | Code[20] | — | TableRelation Table 308 “No. Series” (No. Series); not editable |
| 110 | Order No. Series | Code[20] | — | TableRelation Table 308 “No. Series” (No. Series) |
| 111 | Pre-Assigned No. Δ BC28 | Code[20] | Specifies the number of the purchase document that the posted invoice was created for. | |
| 112 | User ID | Code[50] | — | TableRelation User.“User Name”; DataClassification EndUserIdentifiableInformation |
| 113 | Source Code | Code[10] | — | TableRelation Table 230 “Source Code” (Source Code) |
| 114 | Tax Area Code Δ BC28 | Code[20] | Specifies the tax area that is used to calculate and post sales tax. | TableRelation Table 318 “Tax Area” (Tax Area) |
| 115 | Tax Liable Δ BC28 | Boolean | Specifies if the customer or vendor is liable for sales tax. | |
| 116 | VAT Bus. Posting Group | Code[20] | — | TableRelation Table 323 “VAT Business Posting Group” (VAT Business Posting Group) |
| 119 | VAT Base Discount % Δ BC28 | Decimal | — | |
| 135 | Prepayment No. Series | Code[20] | — | TableRelation Table 308 “No. Series” (No. Series) |
| 140 | Prepayment Invoice | Boolean | — | |
| 141 | Prepayment Order No. | Code[20] | — | |
| 146 | Spend Request No. + BC29 | Code[20] | Specifies the spend request that this purchase document relates to. | TableRelation Table 6840 “Spend Request” (Spend Request) |
| 147 | Spend Request Close + BC29 | Boolean | Specifies that the spend request will be closed when the purchase document is posted. | |
| 151 | Quote No. Δ BC28 | Code[20] | Specifies the number of the purchase quote document if a quote was used to start the purchase process. | not editable |
| 170 | Creditor No. Δ BC28 | Code[20] | Specifies the number of the vendor. | |
| 171 | Payment Reference Δ BC28 | Code[50] | Specifies the payment of the purchase invoice. | |
| 179 | VAT Reporting Date Δ BC28 | Date | Specifies the VAT date on the invoice. | not editable |
| 180 | Self-Billing Invoice + BC28 | Boolean | — | |
| 210 | Ship-to Phone No. + BC25 Δ BC28 | Text[30] | Specifies the telephone number of the company’s shipping address. | |
| 480 | Dimension Set ID | Integer | — | TableRelation Table 480 “Dimension Set Entry” (Dimension Set Entry); not editable |
| 1000 | Remit-to Code Δ BC28 | Code[20] | Specifies the code for the vendor’s remit address for this invoice. | TableRelation Table 2224 “Remit Address” (“Remit Address”.Code where(“Vendor No.” = field(“Buy-from Vendor No.”))); not editable |
| 1302 | Closed Δ BC24 Δ BC28 | Boolean | Specifies if the posted purchase invoice is paid. The check box will also be selected if a credit memo for the remaining amount has been applied. | FlowField: - exist(“Vendor Ledger Entry” where(“Entry No.” = field(“Vendor Ledger Entry No.”), Open = filter(true))); not editable |
| 1303 | Remaining Amount Δ BC28 | Decimal | Specifies the remaining amount of the invoice. | FlowField: - sum(“Detailed Vendor Ledg. Entry”.Amount where(“Vendor Ledger Entry No.” = field(“Vendor Ledger Entry No.”))); not editable |
| 1304 | Vendor Ledger Entry No. | Integer | — | TableRelation Table 25 “Vendor Ledger Entry” (“Vendor Ledger Entry”.“Entry No.”); not editable |
| 1305 | Invoice Discount Amount Δ BC28 | Decimal | — | FlowField: sum(“Purch. Inv. Line”.“Inv. Discount Amount” where(“Document No.” = field(“No.”))); not editable |
| 1310 | Cancelled Δ BC28 | Boolean | Specifies if the posted purchase invoice has been either corrected or canceled. | FlowField: exist(“Cancelled Document” where(“Source ID” = const(122), “Cancelled Doc. No.” = field(“No.”))); not editable |
| 1311 | Corrective Δ BC28 | Boolean | Specifies if the posted purchase invoice is a corrective document. | FlowField: exist(“Cancelled Document” where(“Source ID” = const(124), “Cancelled By Doc. No.” = field(“No.”))); not editable |
| 1340 | Dispute Status + BC28 | Code[10] | Specifies if there is an ongoing dispute for this document. | TableRelation Table 142 “Dispute Status” (Dispute Status) |
| 5050 | Campaign No. | Code[20] | — | TableRelation Table 5071 “Campaign” |
| 5052 | Buy-from Contact No. Δ BC28 | Code[20] | Specifies the number of the contact you bought the items from. | TableRelation Table 5050 “Contact” |
| 5053 | Pay-to Contact No. Δ BC28 | Code[20] | Specifies the number of the contact you received the invoice from. | TableRelation Table 5050 “Contact” |
| 5700 | Responsibility Center Δ BC28 | Code[10] | Specifies the code for the responsibility center that serves the vendor on this purchase document. | TableRelation Table 5714 “Responsibility Center” (Responsibility Center) |
| 7000 | Price Calculation Method | Enum “Price Calculation Method” | — | enum Enum 7000 “Price Calculation Method” |
| 8001 | Draft Invoice SystemId | Guid | — | DataClassification SystemMetadata |
Keys
- Key1: No. (clustered)
- Key2: Order No.
- Key3: Pre-Assigned No.
- Key4: Vendor Invoice No., Posting Date
- Key5: Buy-from Vendor No.
- Key6: Prepayment Order No., Prepayment Invoice
- Key7: Pay-to Vendor No.
- Key8: Posting Date
- Key9: Due Date
Events published
OnBeforePrintRecords(var PurchInvHeader: Record "Purch. Inv. Header"; ShowRequestPage: Boolean; var IsHandled: Boolean)(integration)OnBeforeShowCanceledOrCorrCrMemo(var PurchInvHeader: Record "Purch. Inv. Header"; var IsHandled: Boolean)(integration)OnBeforeDoPrintToDocumentAttachment(var PurchInvHeaderLocal: Record "Purch. Inv. Header"; var IsHandled: Boolean)(integration)OnLookupAppliesToDocNoOnAfterSetFilters(var VendLedgEntry: Record "Vendor Ledger Entry"; PurchInvHeader: Record "Purch. Inv. Header")(integration)OnBeforeSetSecurityFilterOnRespCenter(var PurchInvHeader: Record "Purch. Inv. Header"; var IsHandled: Boolean)(integration)OnBeforCheckIfPurchaseInvoiceFullyOpen(var PurchInvHeader: Record "Purch. Inv. Header"; var FullyOpen: Boolean; var IsHandled: Boolean)(integration)
Trigger event subscribers
- OnAfterDeleteEvent: Codeunit 1173 “Document Attachment Mgmt” DeleteAttachedDocumentsOnAfterDeletePurchInvHeader, Codeunit 5529 “Purch. Inv. Aggregator” OnAfterDeletePurchaseInvoiceHeader, Codeunit 8028 “Usage Based Contr. Subscribers” RemovePurchDocumentNoFromUsageDataBillingOnAfterDeleteEvent
- OnAfterInsertEvent: Codeunit 5529 “Purch. Inv. Aggregator” OnAfterInsertPurchaseInvoiceHeader
- OnAfterModifyEvent: Codeunit 5529 “Purch. Inv. Aggregator” OnAfterModifyPurchaseInvoiceHeader
- OnAfterRenameEvent: Codeunit 5529 “Purch. Inv. Aggregator” OnAfterRenamePurchaseInvoiceHeader
Procedures
IsFullyOpen(): BooleanPrintRecords(ShowRequestPage: Boolean)PrintToDocumentAttachment(var PurchInvHeaderLocal: Record "Purch. Inv. Header")ShowDimensions()SetSecurityFilterOnRespCenter()ShowCanceledOrCorrCrMemo()ShowCorrectiveCreditMemo()ShowCancelledCreditMemo()
Plus 1 local procedures.
Triggers
OnDelete
Relations
- drill-down page Page 146 “Posted Purchase Invoices”
- lookup page Page 146 “Posted Purchase Invoices”
- Shipment Method Code: TableRelation Table 10 “Shipment Method”
- Amount: CalcFormula Table 123 “Purch. Inv. Line”
- Amount Including VAT: CalcFormula Table 123 “Purch. Inv. Line”
- Invoice Discount Amount: CalcFormula Table 123 “Purch. Inv. Line”
- Purchaser Code: TableRelation Table 13 “Salesperson/Purchaser”
- Location Code: TableRelation Table 14 “Location”
- Dispute Status: TableRelation Table 142 “Dispute Status”
- Bal. Account No.: TableRelation Table 15 “G/L Account” (conditional)
- Sell-to Customer No.: TableRelation Table 18 “Customer”
- Cancelled: CalcFormula Table 1900 “Cancelled Document”
- Corrective: CalcFormula Table 1900 “Cancelled Document”
- Ship-to Code: TableRelation Table 222 “Ship-to Address”
- Remit-to Code: TableRelation Table 2224 “Remit Address”
- Order Address Code: TableRelation Table 224 “Order Address”
- Buy-from City: TableRelation Table 225 “Post Code”
- Buy-from Post Code: TableRelation Table 225 “Post Code”
- Pay-to City: TableRelation Table 225 “Post Code”
- Pay-to Post Code: TableRelation Table 225 “Post Code”
- Ship-to City: TableRelation Table 225 “Post Code”
- Ship-to Post Code: TableRelation Table 225 “Post Code”
- Buy-from Vendor No.: TableRelation Table 23 “Vendor”
- Pay-to Vendor No.: TableRelation Table 23 “Vendor”
- Source Code: TableRelation Table 230 “Source Code”
- Reason Code: TableRelation Table 231 “Reason Code”
- Closed: CalcFormula Table 25 “Vendor Ledger Entry”
- Vendor Ledger Entry No.: TableRelation Table 25 “Vendor Ledger Entry”
- Gen. Bus. Posting Group: TableRelation Table 250 “Gen. Business Posting Group”
- Transaction Type: TableRelation Table 258 “Transaction Type”
- Transport Method: TableRelation Table 259 “Transport Method”
- Bal. Account No.: TableRelation Table 270 “Bank Account” (conditional)
- Entry Point: TableRelation Table 282 “Entry/Exit Point”
- Area: TableRelation Table 284 “Area”
- Transaction Specification: TableRelation Table 285 “Transaction Specification”
- Payment Method Code: TableRelation Table 289 “Payment Method”
- Payment Terms Code: TableRelation Table 3 “Payment Terms”
- No. Series: TableRelation Table 308 “No. Series”
- Order No. Series: TableRelation Table 308 “No. Series”
- Pre-Assigned No. Series: TableRelation Table 308 “No. Series”
- Prepayment No. Series: TableRelation Table 308 “No. Series”
- Tax Area Code: TableRelation Table 318 “Tax Area”
- VAT Bus. Posting Group: TableRelation Table 323 “VAT Business Posting Group”
- Shortcut Dimension 1 Code: TableRelation Table 349 “Dimension Value”
- Shortcut Dimension 2 Code: TableRelation Table 349 “Dimension Value”
- Remaining Amount: CalcFormula Table 380 “Detailed Vendor Ledg. Entry”
- Currency Code: TableRelation Table 4 “Currency”
- Comment: CalcFormula Table 43 “Purch. Comment Line”
- Dimension Set ID: TableRelation Table 480 “Dimension Set Entry”
- Buy-from Contact No.: TableRelation Table 5050 “Contact”
- Pay-to Contact No.: TableRelation Table 5050 “Contact”
- Campaign No.: TableRelation Table 5071 “Campaign”
- Responsibility Center: TableRelation Table 5714 “Responsibility Center”
- Spend Request No.: TableRelation Table 6840 “Spend Request”
- Language Code: TableRelation Table 8 “Language”
- Buy-from Country/Region Code: TableRelation Table 9 “Country/Region”
- Pay-to Country/Region Code: TableRelation Table 9 “Country/Region”
- Ship-to Country/Region Code: TableRelation Table 9 “Country/Region”
- VAT Country/Region Code: TableRelation Table 9 “Country/Region”
- Vendor Posting Group: TableRelation Table 93 “Vendor Posting Group”
Referenced by
16 fields in 11 objects relate to this table (TableRelation or CalcFormula).
- Table 1900 “Cancelled Document”: Cancelled By Doc. No., Cancelled Doc. No.
- Table 23 “Vendor”: No. of Pstd. Invoices, Pay-to No. of Pstd. Invoices
- Table 38 “Purchase Header”: Last Posting No., Last Prepayment No.
- Table 6108 “E-Doc. Vendor Assign. History”: Vendor No From Purch. Header, Purch. Inv. Header SystemId
- Table 9060 “SB Owner Cue”: Overdue Purchase Invoices, Unpaid Purchase Invoices
- Table 123 “Purch. Inv. Line”: Document No.
- Table 5109 “Purchase Header Archive”: Last Posting No.
- Table 6907 “Expense Report Line”: Posted Purch. Invoice No.
- Table 6916 “Posted Expense Report Line”: Posted Purch. Invoice No.
- Table 8064 “Billing Line Archive”: Document No.
- Table 9046 “Account Payable Cue”: Posted Purch. Inv. This Month
Pages and codeunits on this table
- Page 10001 “Overdue Purchase Invoices” (source table)
- Page 1351 “Posted Purch. Invoice - Update” (source table)
- Page 138 “Posted Purchase Invoice” (source table)
- Page 146 “Posted Purchase Invoices” (source table)
- Page 400 “Purchase Invoice Statistics” (source table)
- Page 9971 “Posted Purchase Invoice API” (source table)
- Codeunit 1313 “Correct Posted Purch. Invoice” (codeunit runs on it)
- Codeunit 1324 “Correct PstdPurchInv (Yes/No)” (codeunit runs on it)
- Codeunit 1325 “Cancel PstdPurchInv (Yes/No)” (codeunit runs on it)
- Codeunit 1405 “Purch. Inv. Header - Edit” (codeunit runs on it)
- Codeunit 319 “Purch. Inv.-Printed” (codeunit runs on it)
Extended by
- Table extension 4883 “EU3 Purch. Inv. Header”
- Table extension 5029 “Serv. Decl. Purch. Inv. Header”
- Table extension 6217 “Sust. Purch. Inv. Header”
- Table extension 6798 “Withholding Purch. Inv. Header”
- Table extension 8062 “Purch. Inv. Header”
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 364 “PostPurch-Delete” (2 calls:
OnDelete → DeletePurchInvLines,OnDelete → IsDocumentDeletionAllowed) - Page 140 “Posted Purchase Credit Memo” (2 calls:
ShowCancelledCreditMemo → (object),ShowCorrectiveCreditMemo → (object)) - Codeunit 1535 “Approvals Mgmt.” (1 call:
OnDelete → DeletePostedApprovalEntries) - Codeunit 408 “DimensionManagement” (1 call:
ShowDimensions → ShowDimensionSet) - Codeunit 5700 “User Setup Management” (1 call:
SetSecurityFilterOnRespCenter → GetPurchasesFilter)
Recent changes
- 2026-07-31 #8959 Deliverable 638799: Spend Requests in Base App (main, BC30, feature)
Countries that replace it
AT, AU, BE, CA, CH, DE, ES, FI, IT, MX, NL, NO, NZ, RU, SE, US
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). The call sections above are our own, per object, from the BC29 call graph. 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: "Purch. Inv. Header"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.