Table 38 Purchase Header

Base Application, Microsoft.Purchases.Document

18 obsolete

Fields 1

field(8000; Id; Guid)gone after 25
Removed, tag 22.0, obsolete since 17: This functionality will be replaced by the systemID field

Procedures 10

CreateDim(Type1: Integer; No1: Code[20]; Type2: Integer; No2: Code[20]; Type3: Integer; No3: Code[20]; Type4: Integer; No4: Code[20])gone after 22
Pending, tag 20.0, obsolete since 20: Replaced by CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
GetPstdDocLinesToRevere()gone after 17
Pending, tag 15.1, obsolete since 17: Typo in the function name, use GetPstdDocLinesToReverse instead
OpenPurchaseOrderStatistics()gone after 28
Pending, tag 26.0, obsolete since 26: The statistics action will be replaced with the PurchaseOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.
GetCardpageID(): Integergone after 21
Pending, tag 19.0, obsolete since 19: Use PageManagement.GetPageID() instead.
BatchConfirmUpdateDeferralDate(var BatchConfirm: Option " ",Skip,Update; ReplacePostingDate: Boolean; PostingDateReq: Date)gone after 24
Pending, tag 22.0, obsolete since 21: Replaced by BatchConfirmUpdateDeferralDate with VAT Date parameters.
LookupBuyfromVendorName(): Booleangone after 21
Pending, tag 19.0, obsolete since 18: Replaced with LookupBuyFromVendorName(var VendorName: Text[100]): Boolean
OpenDocumentStatistics()18 to 28
Pending, tag 26.0, obsolete since 26: The statistics action will be replaced with the PurchaseOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.
ShowDocumentStatisticsPage()18 to 28
Pending, tag 26.0, obsolete since 26: The statistics action will be replaced with the PurchaseOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.
SkipStatisticsPreparation(): Boolean26 to 28
Pending, tag 26.0, obsolete since 26: The statistics action will be replaced with the PurchaseOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.
ResetSkipStatisticsPreparationFlag()26 to 28
Pending, tag 26.0, obsolete since 26: The statistics action will be replaced with the PurchaseOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.

Events 7

[IntegrationEvent] OnAfterCreateDimTableIDs(var PurchaseHeader: Record "Purchase Header"; CallingFieldNo: Integer; var TableID: array[10] of Integer; var No: array[10] of Code[20])gone after 22
Pending, tag 20.0, obsolete since 20: Temporary event for compatibility
[IntegrationEvent] OnValidatePurchaseHeaderPayToVendorNo(Vendor: Record Vendor; var PurchaseHeader: Record "Purchase Header")gone after 24
Pending, tag 19.0, obsolete since 19: Replaced by OnValidatePurchaseHeaderPayToVendorNoOnBeforeCheckDocType
[IntegrationEvent] OnBeforeOpenPurchaseOrderStatistics(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)18 to 28
Pending, tag 26.0, obsolete since 26: The statistics action will be replaced with the PurchaseOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.
[IntegrationEvent] OnBuyFromPostCodeOnBeforeOnLookup(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)18 to 21
Pending, tag 19.0, obsolete since 19: Replaced by OnBeforeBuyFromPostCodeOnBeforeLookupHandled
[IntegrationEvent] OnBeforeOpenDocumentStatistics(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)18 to 28
Pending, tag 26.0, obsolete since 26: The statistics action will be replaced with the PurchaseOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.
[IntegrationEvent] OnGetStatisticsPageID(var PageID: Integer; PurchaseHeader: Record "Purchase Header")18 to 28
Pending, tag 26.0, obsolete since 26: The statistics action will be replaced with the PurchaseOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.
[IntegrationEvent] OnBeforeRunEventOnAfterCreateDimTableIDs(var PurchaseHeader: Record "Purchase Header"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; var IsHandled: Boolean)20 to 22
Pending, tag 20.0, obsolete since 20: Temporary event for compatibility