[IntegrationEvent(False,False)]
local procedure OnOpenPageOnBeforeSetEditable(var AllowInvDisc: Boolean, var AllowVATDifference: Boolean, PurchaseHeader: Record "Purchase Header", PurchSetup: Record "Purchases & Payables Setup")
[IntegrationEvent(False,False)]
local procedure OnBeforeValidatePrepmtTotalAmount2(PurchaseHeader: Record "Purchase Header", var PrepmtTotalAmount: Decimal, var PrepmtTotalAmount2: Decimal)
[IntegrationEvent(False,False)]
local procedure OnRefreshOnAfterGetRecordOnAfterGetPurchLines(PuchaseHeader: Record "Purchase Header", var TempPurchaseLine: Record "Purchase Line" temporary)
[IntegrationEvent(True,False)]
local procedure OnRefreshOnAfterGetRecordAfterSumPurchLinesTemp(var TempPurchLine: Record "Purchase Line", var IsHandled: Boolean)
[IntegrationEvent(True,False)]
local procedure OnUpdateHeaderInfoAfterCalcTotalAmount(var PurchaseHeader: Record "Purchase Header", var IndexNo: Integer)
[IntegrationEvent(True,False)]
local procedure OnRefreshOnAfterGetRecordOnBeforePurchLineCalcVATAmountLines(var PurchaseHeader: Record "Purchase Header")
[IntegrationEvent(True,False)]
local procedure OnAfterRefreshOnAfterGetRecord(var PurchaseHeader: Record "Purchase Header", TotalAmount1: array[3] of Decimal, TotalAmount2: array[3] of Decimal)
[IntegrationEvent(False,False)]
local procedure OnRefreshOnAfterGetRecordOnBeforeTempPurchLineDeleteAll(var PurchaseHeader: Record "Purchase Header", var TempPurchLine: Record "Purchase Line" temporary, i: Integer)