[IntegrationEvent(False,False)]
local procedure OnAfterCreateCorrectivePurchCrMemo(PurchInvHeader: Record "Purch. Inv. Header", var PurchaseHeader: Record "Purchase Header", var CancellingOnly: Boolean, var SuppressCommit: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeTestIfAnyFreeNumberSeries(var PurchInvHeader: Record "Purch. Inv. Header", CancellingOnly: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforePurchaseHeaderInsert(var PurchaseHeader: Record "Purchase Header", PurchInvHeader: Record "Purch. Inv. Header")
[IntegrationEvent(False,False)]
local procedure OnBeforeUnAppyCostApplication(InvNo: Code[20], var IsHandled: Boolean)
Parameters
Name
Type
Description
InvNo
Code[20]
IsHandled
Boolean
OnBeforeUpdatePurchaseOrderLineInvoicedQuantity
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdatePurchaseOrderLineInvoicedQuantity(var PurchaseLine: Record "Purchase Line", CancelledQuantity: Decimal, CancelledQtyBase: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnHasLineDiscountSetup(PurchasesPayablesSetup: Record "Purchases & Payables Setup", var Result: Boolean)
[IntegrationEvent(False,False)]
local procedure OnRunOnAfterUpdatePurchaseOrderLinesFromCancelledInvoice(var PurchInvHeader: Record "Purch. Inv. Header", var PurchaseHeader: Record "Purchase Header")
[IntegrationEvent(False,False)]
local procedure OnTestPurchaseLinesOnAfterCalcThrowItemReturnedError(PurchInvHeader: Record "Purch. Inv. Header", PurchInvLine: Record "Purch. Inv. Line", var ThrowItemReturnedError: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterCreateCopyDocument(var PurchaseHeader: Record "Purchase Header", SkipCopyFromDescription: Boolean, PurchInvHeader: Record "Purch. Inv. Header")
[IntegrationEvent(False,False)]
local procedure OnBeforeShowPostedPurchCreditMemo(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr.", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCreateCreditMemoOnBeforeConfirmPostingCreditMemoFailedOpen(var PurchaseHeader: Record "Purchase Header", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCancelPostedInvoiceStartNewInvoiceOnAfterCreateCorrPurchaseInvoice(var PurchaseHeader: Record "Purchase Header", var PurchInvHeader: Record "Purch. Inv. Header")
[IntegrationEvent(False,False)]
local procedure OnBeforeSetTrackInfoForCancellation(var PurchInvHeader: Record "Purch. Inv. Header", var IsHandled: Boolean)
This element will become obsolete from version 25.0. OnBeforeTestPurchaseInvoiceHeaderAmount is not supported anymore.
[Obsolete(OnBeforeTestPurchaseInvoiceHeaderAmount is not supported anymore.,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeTestPurchaseInvoiceHeaderAmount(var PurchInvHeader: Record "Purch. Inv. Header", Cancelling: Boolean, var IsHandled: Boolean)