Table "Purchase Header Archive"
ID 5109
Namespace: Microsoft.Purchases.Archive
Properties
| Name | Value |
|---|---|
| Caption | Purchase Header Archive |
| DataCaptionFields | 3,79,5047 |
| DrillDownPageID | Page Microsoft.Purchases.Archive."Purchase List Archive" |
| LookupPageID | Page Microsoft.Purchases.Archive."Purchase List Archive" |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| "Document Type" | Enum Microsoft.Purchases.Document."Purchase Document Type" | |
| "Buy-from Vendor No." | Code[20] | |
| "No." | Code[20] | |
| "Pay-to Vendor No." | Code[20] | |
| "Pay-to Name" | Text[100] | |
| "Pay-to Name 2" | Text[50] | Specifies an additional part of the name of the vendor who you receive the invoice or credit memo from. |
| "Pay-to Address" | Text[100] | |
| "Pay-to Address 2" | Text[50] | |
| "Pay-to City" | Text[30] | |
| "Pay-to Contact" | Text[100] | |
| "Your Reference" | Text[35] | |
| "Ship-to Code" | Code[10] | |
| "Ship-to Name" | Text[100] | |
| "Ship-to Name 2" | Text[50] | |
| "Ship-to Address" | Text[100] | |
| "Ship-to Address 2" | Text[50] | |
| "Ship-to City" | Text[30] | |
| "Ship-to Contact" | Text[100] | |
| "Order Date" | Date | |
| "Posting Date" | Date | |
| "Expected Receipt Date" | Date | |
| "Posting Description" | Text[100] | |
| "Payment Terms Code" | Code[10] | |
| "Due Date" | Date | |
| "Payment Discount %" | Decimal | |
| "Pmt. Discount Date" | Date | |
| "Shipment Method Code" | Code[10] | |
| "Location Code" | Code[10] | |
| "Shortcut Dimension 1 Code" | Code[20] | |
| "Shortcut Dimension 2 Code" | Code[20] | |
| "Vendor Posting Group" | Code[20] | |
| "Currency Code" | Code[10] | |
| "Currency Factor" | Decimal | |
| "Prices Including VAT" | Boolean | |
| "Invoice Disc. Code" | Code[20] | |
| "Language Code" | Code[10] | |
| "Format Region" | Text[80] | |
| "Purchaser Code" | Code[20] | |
| "Order Class" | Code[10] | |
| Comment | Boolean | |
| "No. Printed" | Integer | |
| "On Hold" | Code[3] | |
| "Applies-to Doc. Type" | Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type" | |
| "Applies-to Doc. No." | Code[20] | |
| "Bal. Account No." | Code[20] | |
| Receive | Boolean | |
| Invoice | Boolean | |
| Amount | Decimal | |
| "Amount Including VAT" | Decimal | |
| "Receiving No." | Code[20] | |
| "Posting No." | Code[20] | |
| "Last Receiving No." | Code[20] | |
| "Last Posting No." | Code[20] | |
| "Vendor Order No." | Code[35] | |
| "Vendor Shipment No." | Code[35] | |
| "Vendor Invoice No." | Code[35] | |
| "Vendor Cr. Memo No." | Code[35] | |
| "VAT Registration No." | Text[20] | |
| "Sell-to Customer No." | Code[20] | |
| "Reason Code" | Code[10] | |
| "Gen. Bus. Posting Group" | Code[20] | |
| "Transaction Type" | Code[10] | |
| "Transport Method" | Code[10] | |
| "VAT Country/Region Code" | Code[10] | |
| "Buy-from Vendor Name" | Text[100] | |
| "Buy-from Vendor Name 2" | Text[50] | Specifies an additional part of the name of the vendor that you’re buying from. |
| "Buy-from Address" | Text[100] | |
| "Buy-from Address 2" | Text[50] | |
| "Buy-from City" | Text[30] | |
| "Buy-from Contact" | Text[100] | |
| "Pay-to Post Code" | Code[20] | |
| "Pay-to County" | Text[30] | |
| "Pay-to Country/Region Code" | Code[10] | |
| "Buy-from Post Code" | Code[20] | |
| "Buy-from County" | Text[30] | |
| "Buy-from Country/Region Code" | Code[10] | |
| "Ship-to Post Code" | Code[20] | |
| "Ship-to County" | Text[30] | |
| "Ship-to Country/Region Code" | Code[10] | |
| "Bal. Account Type" | Enum Microsoft.Bank.Payment."Payment Balance Account Type" | |
| "Order Address Code" | Code[10] | |
| "Entry Point" | Code[10] | |
| Correction | Boolean | |
| "Document Date" | Date | |
| "Area" | Code[10] | |
| "Transaction Specification" | Code[10] | |
| "Payment Method Code" | Code[10] | |
| "No. Series" | Code[20] | |
| "Posting No. Series" | Code[20] | |
| "Receiving No. Series" | Code[20] | |
| "Tax Area Code" | Code[20] | |
| "Tax Liable" | Boolean | |
| "VAT Bus. Posting Group" | Code[20] | |
| "Applies-to ID" | Code[50] | |
| "VAT Base Discount %" | Decimal | |
| Status | Enum Microsoft.Purchases.Document."Purchase Document Status" | |
| "Invoice Discount Calculation" | Option | |
| "Invoice Discount Value" | Decimal | |
| "Send IC Document" | Boolean | |
| "IC Status" | Enum Microsoft.Intercompany.Setup."Purchase Document IC Status" | |
| "Buy-from IC Partner Code" | Code[20] | |
| "Pay-to IC Partner Code" | Code[20] | |
| "IC Reference Document No." | Code[20] | |
| "IC Direction" | Enum Microsoft.Intercompany.Setup."IC Direction Type" | |
| "Prepayment No." | Code[20] | |
| "Last Prepayment No." | Code[20] | |
| "Prepmt. Cr. Memo No." | Code[20] | |
| "Last Prepmt. Cr. Memo No." | Code[20] | |
| "Prepayment %" | Decimal | |
| "Prepayment No. Series" | Code[20] | |
| "Compress Prepayment" | Boolean | |
| "Prepayment Due Date" | Date | |
| "Prepmt. Cr. Memo No. Series" | Code[20] | |
| "Prepmt. Posting Description" | Text[100] | |
| "Prepmt. Pmt. Discount Date" | Date | |
| "Prepmt. Payment Terms Code" | Code[10] | |
| "Prepmt. Payment Discount %" | Decimal | |
| "No. of Archived Versions" | Integer | |
| "Purchase Quote No." | Code[20] | |
| "Incoming Document Entry No." | Integer | |
| "VAT Reporting Date" | Date | |
| "Ship-to Phone No." | Text[30] | |
| "Dimension Set ID" | Integer | |
| "Source Doc. Exists" | Boolean | |
| "Last Archived Date" | DateTime | |
| "Interaction Exist" | Boolean | |
| "Time Archived" | Time | |
| "Date Archived" | Date | |
| "Archived By" | Code[50] | |
| "Version No." | Integer | |
| "Doc. No. Occurrence" | Integer | |
| "Campaign No." | Code[20] | |
| "Buy-from Contact No." | Code[20] | |
| "Pay-to Contact No." | Code[20] | |
| "Responsibility Center" | Code[10] | |
| "Completely Received" | Boolean | |
| "Posting from Whse. Ref." | Integer | |
| "Location Filter" | Code[10] | |
| "Requested Receipt Date" | Date | |
| "Promised Receipt Date" | Date | |
| "Lead Time Calculation" | DateFormula | |
| "Inbound Whse. Handling Time" | DateFormula | |
| "Date Filter" | Date | |
| "Vendor Authorization No." | Code[35] | |
| "Return Shipment No." | Code[20] | |
| "Return Shipment No. Series" | Code[20] | |
| Ship | Boolean | |
| "Last Return Shipment No." | Code[20] | |
| "Price Calculation Method" | Enum Microsoft.Pricing.Calculation."Price Calculation Method" | |
| "Assigned User ID" | Code[50] | |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemRowVersion | BigInteger |
Methods
ShowDimensions
procedure ShowDimensions()
SetSecurityFilterOnRespCenter
procedure SetSecurityFilterOnRespCenter()
Events
OnBeforeSetSecurityFilterOnRespCenter
[IntegrationEvent(False,False)]
local procedure OnBeforeSetSecurityFilterOnRespCenter(var PurchaseHeaderArchive: Record "Purchase Header Archive", var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| PurchaseHeaderArchive | Table Microsoft.Purchases.Archive."Purchase Header Archive" | |
| IsHandled | Boolean |