Skip to content

KVSADVClCrMemoEntryCreatePurch#

Events#

OnBeforeCreateClCMEntryFromDocumentLine(Record Vendor Ledger Entry, Record Purchase Line, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCreateClCMEntryFromDocumentLine(AdvInvCVLedgEntry: Record "Vendor Ledger Entry"; DocumentLine: Record "Purchase Line"; DocHeaderCurrFactor: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVClCrMemoEntryCreatePurch", 'OnBeforeCreateClCMEntryFromDocumentLine', '', false, false)]
local procedure DoSomethingOnBeforeCreateClCMEntryFromDocumentLine(AdvInvCVLedgEntry: Record "Vendor Ledger Entry"; DocumentLine: Record "Purchase Line"; DocHeaderCurrFactor: Decimal; var IsHandled: Boolean)
begin
end;

OnAfterCreateClCMEntryFromDocumentLine(Record Vendor Ledger Entry, Record Purchase Line, Decimal, Record KVSADVAdvClosingCredMemoEntry) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCreateClCMEntryFromDocumentLine(AdvInvCVLedgEntry: Record "Vendor Ledger Entry"; DocumentLine: Record "Purchase Line"; DocHeaderCurrFactor: Decimal; var AdvClCredMemoEntry: Record "KVSADVAdvClosingCredMemoEntry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVClCrMemoEntryCreatePurch", 'OnAfterCreateClCMEntryFromDocumentLine', '', false, false)]
local procedure DoSomethingOnAfterCreateClCMEntryFromDocumentLine(AdvInvCVLedgEntry: Record "Vendor Ledger Entry"; DocumentLine: Record "Purchase Line"; DocHeaderCurrFactor: Decimal; var AdvClCredMemoEntry: Record "KVSADVAdvClosingCredMemoEntry")
begin
end;

OnBeforeUpdateClCMEntryFromDocumentLine(Record Vendor Ledger Entry, Record Purchase Line, Record Purchase Header) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateClCMEntryFromDocumentLine(var AdvInvCVLedgEntry: Record "Vendor Ledger Entry"; var DocumentLine: Record "Purchase Line"; var DocumentHeader: Record "Purchase Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVClCrMemoEntryCreatePurch", 'OnBeforeUpdateClCMEntryFromDocumentLine', '', false, false)]
local procedure DoSomethingOnBeforeUpdateClCMEntryFromDocumentLine(var AdvInvCVLedgEntry: Record "Vendor Ledger Entry"; var DocumentLine: Record "Purchase Line"; var DocumentHeader: Record "Purchase Header")
begin
end;

OnAfterUpdateClosCrMemoEntriesWhilePostDocument(Record Purchase Line, Record KVSADVAdvClosingCredMemoEntry) :#

[IntegrationEvent(false, false)]
local procedure OnAfterUpdateClosCrMemoEntriesWhilePostDocument(ClCMDocumentLine: Record "Purchase Line"; var ExistingAdvClCredMemoEntry: Record "KVSADVAdvClosingCredMemoEntry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVClCrMemoEntryCreatePurch", 'OnAfterUpdateClosCrMemoEntriesWhilePostDocument', '', false, false)]
local procedure DoSomethingOnAfterUpdateClosCrMemoEntriesWhilePostDocument(ClCMDocumentLine: Record "Purchase Line"; var ExistingAdvClCredMemoEntry: Record "KVSADVAdvClosingCredMemoEntry")
begin
end;

OnBeforeInsertClosingCMEntriesForDocumentPosting(Record Purchase Header, Record Purchase Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertClosingCMEntriesForDocumentPosting(DocumentHeader: Record "Purchase Header"; DocumentLine: Record "Purchase Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVClCrMemoEntryCreatePurch", 'OnBeforeInsertClosingCMEntriesForDocumentPosting', '', false, false)]
local procedure DoSomethingOnBeforeInsertClosingCMEntriesForDocumentPosting(DocumentHeader: Record "Purchase Header"; DocumentLine: Record "Purchase Line"; var IsHandled: Boolean)
begin
end;

OnAfterCreatePostedClosingCMEntryFromDocumentPosting(Record Purchase Header, Record Purchase Line, Record KVSADVPostedAdvClosCrMemoEntry) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCreatePostedClosingCMEntryFromDocumentPosting(DocumentHeader: Record "Purchase Header"; DocumentLine: Record "Purchase Line"; var PostedClosingCMEntry: Record "KVSADVPostedAdvClosCrMemoEntry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVClCrMemoEntryCreatePurch", 'OnAfterCreatePostedClosingCMEntryFromDocumentPosting', '', false, false)]
local procedure DoSomethingOnAfterCreatePostedClosingCMEntryFromDocumentPosting(DocumentHeader: Record "Purchase Header"; DocumentLine: Record "Purchase Line"; var PostedClosingCMEntry: Record "KVSADVPostedAdvClosCrMemoEntry")
begin
end;