Skip to content

KVSKBAComJnlPostLine#

Procedures#

OnRun#

procedure OnRun(Rec: Record "KVSKBACommissionJournalLine")

RunWithCheck(Record KVSKBACommissionJournalLine) :#

Summary: This function posts the Commission Journal Line after run ComJnlCheckLine

procedure RunWithCheck(var OriginalCommissionJournalLine: Record "KVSKBACommissionJournalLine"): 

Parameters:

  • OriginalCommissionJournalLine: The Commission Journal Line that has to be posted.

Events#

OnCodeOnAfterInsertCommissionEntry(Record KVSKBACommissionJournalLine, Record KVSKBACommissionEntry) :#

[IntegrationEvent(false, false)]
local procedure OnCodeOnAfterInsertCommissionEntry(KVSKBACommissionJournalLine: Record "KVSKBACommissionJournalLine"; var KVSKBACommissionEntry: Record "KVSKBACommissionEntry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAComJnlPostLine", 'OnCodeOnAfterInsertCommissionEntry', '', false, false)]
local procedure DoSomethingOnCodeOnAfterInsertCommissionEntry(KVSKBACommissionJournalLine: Record "KVSKBACommissionJournalLine"; var KVSKBACommissionEntry: Record "KVSKBACommissionEntry")
begin
end;

OnCodeOnBeforeInsertCommissionEntry(Record KVSKBACommissionJournalLine, Record KVSKBACommissionEntry) :#

[IntegrationEvent(false, false)]
local procedure OnCodeOnBeforeInsertCommissionEntry(KVSKBACommissionJournalLine: Record "KVSKBACommissionJournalLine"; var KVSKBACommissionEntry: Record "KVSKBACommissionEntry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAComJnlPostLine", 'OnCodeOnBeforeInsertCommissionEntry', '', false, false)]
local procedure DoSomethingOnCodeOnBeforeInsertCommissionEntry(KVSKBACommissionJournalLine: Record "KVSKBACommissionJournalLine"; var KVSKBACommissionEntry: Record "KVSKBACommissionEntry")
begin
end;