Table 38 Purchase Header

Base Application, Microsoft.Purchases.Document

144 procedures

ProcedureVersions
InitInsert()17-29
InitRecord()17-29
AssistEdit(OldPurchHeader: Record "Purchase Header"): Boolean17-29
TestNoSeries()17-29
GetNoSeriesCode(): Code[20]17-29
ConfirmDeletion(): Boolean17-29
GetVend(VendNo: Code[20])17-29
GetStatusStyleText(): Text17-29
PurchLinesExist(): Boolean17-29
RecreatePurchLines(ChangedFieldName: Text[100])17-29
MessageIfPurchLinesExist(ChangedFieldName: Text[100])17-29
PriceMessageIfPurchLinesExist(ChangedFieldName: Text[100])17-29
UpdateCurrencyFactor()17-29
ConfirmCurrencyFactorUpdate(): Boolean17-29
GetHideValidationDialog(): Boolean17-29
SetHideValidationDialog(NewHideValidationDialog: Boolean)17-29
UpdateLocationCode(LocationCode: Code[10])17-29
UpdatePurchLines(ChangedFieldName: Text[100]; AskQuestion: Boolean)17-29
UpdatePurchLinesByFieldNo(ChangedFieldNo: Integer; AskQuestion: Boolean)17-29
ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])17-29
ReceivedPurchLinesExist(): Boolean17-29
ReturnShipmentExist(): Boolean17-29
UpdateShipToAddress()17-29
CreateInvtPutAwayPick()17-29
ShowDocDim()17-29
UpdateAllLineDim(NewParentDimSetID: Integer; OldParentDimSetID: Integer)17-29
SetAmountToApply(AppliesToDocNo: Code[20]; VendorNo: Code[20])17-29
SetShipToForSpecOrder()17-29
GetPstdDocLinesToReverse()17-29
SetSecurityFilterOnRespCenter()17-29
CalcInvDiscForHeader()17-29
AddShipToAddress(SalesHeader: Record "Sales Header"; ShowError: Boolean)17-29
DropShptOrderExists(SalesHeader: Record "Sales Header"): Boolean17-29
SpecialOrderExists(SalesHeader: Record "Sales Header"): Boolean17-29
QtyToReceiveIsZero(): Boolean17-29
IsApprovedForPosting(): Boolean17-29
IsApprovedForPostingBatch(): Boolean17-29
IsTotalValid(): Boolean17-29
SendToPosting(PostingCodeunitID: Integer): Boolean17-29
CancelBackgroundPosting()17-29
InvoicedLineExists(): Boolean17-29
CreateDimSetForPrepmtAccDefaultDim()17-29
CheckPurchasePostRestrictions()17-29
CheckPurchaseReleaseRestrictions()17-29
SetStatus(NewStatus: Option)17-29
TriggerOnAfterPostPurchaseDoc(var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; PurchRcpHdrNo: Code[20]; RetShptHdrNo: Code[20]; PurchInvHdrNo: Code[20]; PurchCrMemoHdrNo: Code[20])17-29
DeferralHeadersExist(): Boolean17-29
IsCreditDocType(): Boolean17-29
SetBuyFromVendorFromFilter()17-29
CopyBuyFromVendorFilter()17-29
HasBuyFromAddress(): Boolean17-29
HasShipToAddress(): Boolean17-29
HasPayToAddress(): Boolean17-29
SetShipToAddress(ShipToName: Text[100]; ShipToName2: Text[50]; ShipToAddress: Text[100]; ShipToAddress2: Text[50]; ShipToCity: Text[30]; ShipToPostCode: Code[20]; ShipToCounty: Text[30]; ShipToCountryRegionCode: Code[10])17-29
ShouldSearchForVendorByName(VendorNo: Code[20]): Boolean17-29
ConfirmCloseUnposted(): Boolean17-29
InitFromPurchHeader(SourcePurchHeader: Record "Purchase Header")17-29
SendRecords()17-29
PrintRecords(ShowRequestForm: Boolean)17-29
SendProfile(var DocumentSendingProfile: Record "Document Sending Profile")17-29
RecalculateTaxesOnLines()17-29
OnAfterValidateBuyFromVendorNo(var PurchaseHeader: Record "Purchase Header"; var xPurchaseHeader: Record "Purchase Header")17-29
SetAllowSelectNoSeries()17-29
RecallModifyAddressNotification(NotificationID: Guid)17-29
GetModifyVendorAddressNotificationId(): Guid17-29
GetModifyPayToVendorAddressNotificationId(): Guid17-29
GetShowExternalDocAlreadyExistNotificationId(): Guid17-29
GetLineInvoiceDiscountResetNotificationId(): Guid17-29
SetModifyVendorAddressNotificationDefaultState()17-29
SetModifyPayToVendorAddressNotificationDefaultState()17-29
SetShowExternalDocAlreadyExistNotificationDefaultState(DefaultState: Boolean)17-29
DontNotifyCurrentUserAgain(NotificationID: Guid)17-29
FindPostedDocumentWithSameExternalDocNo(var VendorLedgerEntry: Record "Vendor Ledger Entry"; ExternalDocumentNo: Code[35]): Boolean17-29
FilterPartialReceived()17-29
FilterPartialInvoiced()17-29
IsDocAlreadyExistNotificationEnabled(): Boolean17-29
ShipToAddressEqualsCompanyShipToAddress(): Boolean17-29
BuyFromAddressEqualsShipToAddress(): Boolean17-29
BuyFromAddressEqualsPayToAddress(): Boolean17-29
ValidatePurchaserOnPurchHeader(PurchaseHeader2: Record "Purchase Header"; IsTransaction: Boolean; IsPostAction: Boolean)17-29
CheckForBlockedLines()17-29
TestStatusIsNotPendingApproval(): Boolean17-29
TestStatusIsNotPendingPrepayment(): Boolean17-29
TestStatusIsNotReleased(): Boolean17-29
TestStatusOpen()17-29
SuspendStatusCheck(Suspend: Boolean)17-29
GetFullDocTypeTxt(): Text17-29
CopyDocument()17-29
AddSpecialOrderToAddress(var SalesHeader: Record "Sales Header"; ShowError: Boolean)17-29
SetCalledFromWhseDoc(NewCalledFromWhseDoc: Boolean)17-29
CopyBuyFromAddressToPayToAddress()17-29
ConfirmReservationDateConflict()new in 18
ConfirmReservationDateConflict(ChangedFieldNo: Integer)new in 18
LookupBuyFromVendorName(var VendorName: Text): Booleannew in 18
PrepareOpeningDocumentStatistics()new in 18
TransferSavedFieldsDropShipment(var DestinationPurchaseLine: Record "Purchase Line"; var SourcePurchaseLine: Record "Purchase Line")new in 19
ValidateEmptySellToCustomerAndLocation()new in 19
UpdateInboundWhseHandlingTime()new in 19
GetUseDate(): Datenew in 19
BuyfromContactLookup(): Booleannew in 19
SetStandardCodesMgt(var StandardCodesMgtNew: Codeunit "Standard Codes Mgt.")new in 19
CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])new in 20
GetUserSetupPurchaserCode(): Code[20]new in 20
GetWarnWhenZeroQuantityPurchaseLinePosting(): Guidnew in 20
SetWarnZeroQuantityPurchasePosting()new in 20
CreateDimFromDefaultDim(FieldNo: Integer)new in 20
PerformManualRelease(var PurchaseHeader: Record "Purchase Header")new in 20changed in 24
PerformManualReopen(var PurchaseHeader: Record "Purchase Header")new in 20changed in 24
CanCalculateTax(): Booleannew in 20
SetSkipTaxCalulation(Skip: Boolean)new in 20
GetCalledFromWhseDoc(): Booleannew in 20
TestNoSeriesDate(No: Code[20]; NoSeriesCode: Code[20]; NoCapt: Text[1024]; NoSeriesCapt: Text[1024])new in 21
LookupBuyFromContact()new in 21changed in 26
StorePurchCommentLineToTemp(var TempPurchCommentLine: Record "Purch. Comment Line" temporary)new in 21
RestorePurchCommentLine(var TempPurchCommentLine: Record "Purch. Comment Line" temporary; OldDocumentLineNo: Integer; NewDocumentLineNo: Integer)new in 21
TransferItemChargeAssgntPurchToTemp(var ItemChargeAssgntPurch: Record "Item Charge Assignment (Purch)"; var TempItemChargeAssgntPurch: Record "Item Charge Assignment (Purch)" temporary)new in 21
HasItemChargeAssignment(): Booleannew in 21
RecreateTempPurchLines(var TempPurchLine: Record "Purchase Line")new in 21
DeletePurchCommentLines()new in 21
DeletePurchLines(var PurchLine: Record "Purchase Line")new in 21
PurchaseLinesEditable(): Booleannew in 21
UpdateBuyFromCont(VendorNo: Code[20])new in 21
SelectDefaultRemitAddress(var PurchaseHeader: Record "Purchase Header")new in 21
SetReplaceDocumentDate()new in 21
BatchConfirmUpdateDeferralDate(var BatchConfirm: Option " ",Skip,Update; ReplacePostingDate: Boolean; PostingDateReq: Date; ReplaceVATDate: Boolean; VATDateReq: Date)new in 21
LookupPayToVendorName(var VendorName: Text): Booleannew in 21
PerformManualRelease()new in 22changed in 24
CouldDimensionsBeKept(): Booleannew in 23
GetUpdatedFieldCaption(UpdatingFieldNo: Integer): Textnew in 23
internal GetQtyReservedFromStockState(): Enum "Reservation From Stock"new in 23
TestPurchasePrepayment()new in 23
InitPostingDescription()new in 24
BatchConfirmUpdatePostingDate(ReplacePostingDate: Boolean; PostingDateReq: Date; ReplaceDocDate: Boolean)new in 24
SendICPurchaseDoc(var PurchaseHeader: Record "Purchase Header")new in 25
GetDocTypeTxt(): Text[50]new in 26
GetStatisticsPageID(): Integernew in 26
Pending, tag 27.0, obsolete since 26.3: 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.
InitPostingNoSeries()new in 26
CalcDocAmountVAT(DocAmountInclVAT: Decimal; VATAmount: Decimal; TotalPurchLineAmtInclVAT: Decimal; CurrencyAmtRoundingPrecision: Decimal): Decimalnew in 26
UpdatePurchaseOrderLineIfExist()new in 26
TestPostingDate(BatchPost: Boolean)new in 27
protected GetContactAsCompany(Contact: Record Contact; var SearchContact: Record Contact): Booleannew in 28
internal CheckVendorCreated(Prompt: Boolean): Booleannew in 28
internal SelectPurchaseHeaderNewVendorTemplate(): Code[20]new in 28
GetContactDetails(var BuyFromContact: Record Contact; var PayToContact: Record Contact)new in 28