KVSADVJobPostingPurch#
Events#
OnBeforeDocHeaderRequiresJobPostingAsAdvance(Record Purchase Header, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeDocHeaderRequiresJobPostingAsAdvance(DocHeader: Record "Purchase Header"; var Result: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobPostingPurch", 'OnBeforeDocHeaderRequiresJobPostingAsAdvance', '', false, false)]
local procedure DoSomethingOnBeforeDocHeaderRequiresJobPostingAsAdvance(DocHeader: Record "Purchase Header"; var Result: Boolean; var IsHandled: Boolean)
begin
end;
OnBeforeInsertJobLedgerEntryFromDocLine(Record KVSADVAdvanceJobLedgerEntry, Record Purchase Header, Record Purchase Line, Record Gen. Journal Line) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertJobLedgerEntryFromDocLine(var AdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; DocHeader: Record "Purchase Header"; DocLine: Record "Purchase Line"; GenJnlLine: Record "Gen. Journal Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobPostingPurch", 'OnBeforeInsertJobLedgerEntryFromDocLine', '', false, false)]
local procedure DoSomethingOnBeforeInsertJobLedgerEntryFromDocLine(var AdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; DocHeader: Record "Purchase Header"; DocLine: Record "Purchase Line"; GenJnlLine: Record "Gen. Journal Line")
begin
end;
OnAfterCreateGenJnlLineForJobPostingFromDocLine(Record Gen. Journal Line, Record Purchase Header, Record Purchase Line) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCreateGenJnlLineForJobPostingFromDocLine(var GenJnlLine: Record "Gen. Journal Line"; DocHeader: Record "Purchase Header"; DocLine: Record "Purchase Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobPostingPurch", 'OnAfterCreateGenJnlLineForJobPostingFromDocLine', '', false, false)]
local procedure DoSomethingOnAfterCreateGenJnlLineForJobPostingFromDocLine(var GenJnlLine: Record "Gen. Journal Line"; DocHeader: Record "Purchase Header"; DocLine: Record "Purchase Line")
begin
end;