KVSADVClCrMemoEntryCreateSales#
Events#
OnBeforeCreateClCMEntryFromDocumentLine(Record Cust. Ledger Entry, Record Sales Line, Decimal, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateClCMEntryFromDocumentLine(AdvInvCVLedgEntry: Record "Cust. Ledger Entry"; DocumentLine: Record "Sales Line"; DocHeaderCurrFactor: Decimal; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVClCrMemoEntryCreateSales", 'OnBeforeCreateClCMEntryFromDocumentLine', '', false, false)]
local procedure DoSomethingOnBeforeCreateClCMEntryFromDocumentLine(AdvInvCVLedgEntry: Record "Cust. Ledger Entry"; DocumentLine: Record "Sales Line"; DocHeaderCurrFactor: Decimal; var IsHandled: Boolean)
begin
end;
OnAfterCreateClCMEntryFromDocumentLine(Record Cust. Ledger Entry, Record Sales Line, Decimal, Record KVSADVAdvClosingCredMemoEntry) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCreateClCMEntryFromDocumentLine(AdvInvCVLedgEntry: Record "Cust. Ledger Entry"; DocumentLine: Record "Sales Line"; DocHeaderCurrFactor: Decimal; var AdvClCredMemoEntry: Record "KVSADVAdvClosingCredMemoEntry"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVClCrMemoEntryCreateSales", 'OnAfterCreateClCMEntryFromDocumentLine', '', false, false)]
local procedure DoSomethingOnAfterCreateClCMEntryFromDocumentLine(AdvInvCVLedgEntry: Record "Cust. Ledger Entry"; DocumentLine: Record "Sales Line"; DocHeaderCurrFactor: Decimal; var AdvClCredMemoEntry: Record "KVSADVAdvClosingCredMemoEntry")
begin
end;
OnBeforeUpdateClCMEntryFromDocumentLine(Record Cust. Ledger Entry, Record Sales Line, Record Sales Header) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateClCMEntryFromDocumentLine(var AdvInvCVLedgEntry: Record "Cust. Ledger Entry"; var DocumentLine: Record "Sales Line"; var DocumentHeader: Record "Sales Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVClCrMemoEntryCreateSales", 'OnBeforeUpdateClCMEntryFromDocumentLine', '', false, false)]
local procedure DoSomethingOnBeforeUpdateClCMEntryFromDocumentLine(var AdvInvCVLedgEntry: Record "Cust. Ledger Entry"; var DocumentLine: Record "Sales Line"; var DocumentHeader: Record "Sales Header")
begin
end;
OnAfterUpdateClosCrMemoEntriesWhilePostDocument(Record Sales Line, Record KVSADVAdvClosingCredMemoEntry) :#
[IntegrationEvent(false, false)]
local procedure OnAfterUpdateClosCrMemoEntriesWhilePostDocument(ClCMDocumentLine: Record "Sales Line"; var ExistingAdvClCredMemoEntry: Record "KVSADVAdvClosingCredMemoEntry"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVClCrMemoEntryCreateSales", 'OnAfterUpdateClosCrMemoEntriesWhilePostDocument', '', false, false)]
local procedure DoSomethingOnAfterUpdateClosCrMemoEntriesWhilePostDocument(ClCMDocumentLine: Record "Sales Line"; var ExistingAdvClCredMemoEntry: Record "KVSADVAdvClosingCredMemoEntry")
begin
end;
OnBeforeInsertClosingCMEntriesForDocumentPosting(Record Sales Header, Record Sales Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertClosingCMEntriesForDocumentPosting(DocumentHeader: Record "Sales Header"; DocumentLine: Record "Sales Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVClCrMemoEntryCreateSales", 'OnBeforeInsertClosingCMEntriesForDocumentPosting', '', false, false)]
local procedure DoSomethingOnBeforeInsertClosingCMEntriesForDocumentPosting(DocumentHeader: Record "Sales Header"; DocumentLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;
OnAfterCreatePostedClosingCMEntryFromDocumentPosting(Record Sales Header, Record Sales Line, Record KVSADVPostedAdvClosCrMemoEntry) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCreatePostedClosingCMEntryFromDocumentPosting(DocumentHeader: Record "Sales Header"; DocumentLine: Record "Sales Line"; var PostedClosingCMEntry: Record "KVSADVPostedAdvClosCrMemoEntry"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVClCrMemoEntryCreateSales", 'OnAfterCreatePostedClosingCMEntryFromDocumentPosting', '', false, false)]
local procedure DoSomethingOnAfterCreatePostedClosingCMEntryFromDocumentPosting(DocumentHeader: Record "Sales Header"; DocumentLine: Record "Sales Line"; var PostedClosingCMEntry: Record "KVSADVPostedAdvClosCrMemoEntry")
begin
end;