Skip to content

KVSADVJobPostingSales#

Events#

OnBeforeDocHeaderRequiresJobPostingAsAdvance(Record Sales Header, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeDocHeaderRequiresJobPostingAsAdvance(DocHeader: Record "Sales Header"; var Result: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobPostingSales", 'OnBeforeDocHeaderRequiresJobPostingAsAdvance', '', false, false)]
local procedure DoSomethingOnBeforeDocHeaderRequiresJobPostingAsAdvance(DocHeader: Record "Sales Header"; var Result: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeInsertJobLedgerEntryFromDocLine(Record KVSADVAdvanceJobLedgerEntry, Record Sales Header, Record Sales Line, Record Gen. Journal Line) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertJobLedgerEntryFromDocLine(var AdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; DocHeader: Record "Sales Header"; DocLine: Record "Sales Line"; GenJnlLine: Record "Gen. Journal Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobPostingSales", 'OnBeforeInsertJobLedgerEntryFromDocLine', '', false, false)]
local procedure DoSomethingOnBeforeInsertJobLedgerEntryFromDocLine(var AdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; DocHeader: Record "Sales Header"; DocLine: Record "Sales Line"; GenJnlLine: Record "Gen. Journal Line")
begin
end;

OnAfterCreateGenJnlLineForJobPostingFromDocLine(Record Gen. Journal Line, Record Sales Header, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCreateGenJnlLineForJobPostingFromDocLine(var GenJnlLine: Record "Gen. Journal Line"; DocHeader: Record "Sales Header"; DocLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobPostingSales", 'OnAfterCreateGenJnlLineForJobPostingFromDocLine', '', false, false)]
local procedure DoSomethingOnAfterCreateGenJnlLineForJobPostingFromDocLine(var GenJnlLine: Record "Gen. Journal Line"; DocHeader: Record "Sales Header"; DocLine: Record "Sales Line")
begin
end;