Skip to content

KVSPSAADVKBAReportSubscrPurch#

Events#

KVSPSAADVOnAfterAddAdvClosCreditMemoToPostedInvoice(Record Purch. Inv. Header, Codeunit KVSKBAMasterDoc, Record KVSKBADocumentHeaderBuffer, Decimal, Integer) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAADVOnAfterAddAdvClosCreditMemoToPostedInvoice(var PurchInvHeader: Record "Purch. Inv. Header"; var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"; var KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; TotalClosCrMemoAmount: Decimal; LastLineNo: Integer): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAADVKBAReportSubscrPurch", 'KVSPSAADVOnAfterAddAdvClosCreditMemoToPostedInvoice', '', false, false)]
local procedure DoSomethingKVSPSAADVOnAfterAddAdvClosCreditMemoToPostedInvoice(var PurchInvHeader: Record "Purch. Inv. Header"; var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"; var KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; TotalClosCrMemoAmount: Decimal; LastLineNo: Integer)
begin
end;

KVSPSAADVOnAfterCalcAdvClosCreditMemoTotalAmountForPostedInvoice(Record Purch. Inv. Header, Record Purch. Cr. Memo Hdr., Decimal) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAADVOnAfterCalcAdvClosCreditMemoTotalAmountForPostedInvoice(var PurchInvHeader: Record "Purch. Inv. Header"; var ClosPurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; var TotalClosCrMemoAmount: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAADVKBAReportSubscrPurch", 'KVSPSAADVOnAfterCalcAdvClosCreditMemoTotalAmountForPostedInvoice', '', false, false)]
local procedure DoSomethingKVSPSAADVOnAfterCalcAdvClosCreditMemoTotalAmountForPostedInvoice(var PurchInvHeader: Record "Purch. Inv. Header"; var ClosPurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; var TotalClosCrMemoAmount: Decimal)
begin
end;

KVSPSAADVOnAfterSetDocCaptionsForClosingInvoice(Record KVSKBADocumentHeaderBuffer, Record Purch. Inv. Header, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAADVOnAfterSetDocCaptionsForClosingInvoice(var KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; var PurchInvHeader: Record "Purch. Inv. Header"; var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAADVKBAReportSubscrPurch", 'KVSPSAADVOnAfterSetDocCaptionsForClosingInvoice', '', false, false)]
local procedure DoSomethingKVSPSAADVOnAfterSetDocCaptionsForClosingInvoice(var KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; var PurchInvHeader: Record "Purch. Inv. Header"; var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

KVSPSAADVOnAfterSetFilterForPostedClosCreditMemo(Code[20], Record Purch. Cr. Memo Hdr.) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAADVOnAfterSetFilterForPostedClosCreditMemo(InvoiceNo: Code[20]; var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAADVKBAReportSubscrPurch", 'KVSPSAADVOnAfterSetFilterForPostedClosCreditMemo', '', false, false)]
local procedure DoSomethingKVSPSAADVOnAfterSetFilterForPostedClosCreditMemo(InvoiceNo: Code[20]; var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr.")
begin
end;

KVSPSAADVOnBeforeAddClosPurchaseCrMemoLineToClosingInvoice(Record Purch. Cr. Memo Hdr., Codeunit KVSKBAMasterDoc, Record KVSKBADocumentHeaderBuffer, Record Purch. Cr. Memo Line, Record Vendor Ledger Entry) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAADVOnBeforeAddClosPurchaseCrMemoLineToClosingInvoice(ClosPurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"; var KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; var ClosPurchCrMemoLine: Record "Purch. Cr. Memo Line"; var VendorLedgerEntry: Record "Vendor Ledger Entry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAADVKBAReportSubscrPurch", 'KVSPSAADVOnBeforeAddClosPurchaseCrMemoLineToClosingInvoice', '', false, false)]
local procedure DoSomethingKVSPSAADVOnBeforeAddClosPurchaseCrMemoLineToClosingInvoice(ClosPurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"; var KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; var ClosPurchCrMemoLine: Record "Purch. Cr. Memo Line"; var VendorLedgerEntry: Record "Vendor Ledger Entry")
begin
end;

KVSPSAADVOnBeforeAddDocLineBufferToMasterDoc(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAADVOnBeforeAddDocLineBufferToMasterDoc(var KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAADVKBAReportSubscrPurch", 'KVSPSAADVOnBeforeAddDocLineBufferToMasterDoc', '', false, false)]
local procedure DoSomethingKVSPSAADVOnBeforeAddDocLineBufferToMasterDoc(var KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

KVSPSAADVOnBeforeReduceDocTotalLineAmount(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentTotalBuffer, Decimal) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAADVOnBeforeReduceDocTotalLineAmount(KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; var KVSKBADocumentTotalBuffer: Record "KVSKBADocumentTotalBuffer"; var NewDocTotalAmount: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAADVKBAReportSubscrPurch", 'KVSPSAADVOnBeforeReduceDocTotalLineAmount', '', false, false)]
local procedure DoSomethingKVSPSAADVOnBeforeReduceDocTotalLineAmount(KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; var KVSKBADocumentTotalBuffer: Record "KVSKBADocumentTotalBuffer"; var NewDocTotalAmount: Decimal)
begin
end;