KVSFCYJobSubscriber#
Events#
OnBeforeApplyUsageLink(Record Job Ledger Entry, Record Job Journal Line, Boolean) :#
Summary: Integration event raised before applying usage link between job ledger entry and job journal line.
[IntegrationEvent(false, false)]
local procedure OnBeforeApplyUsageLink(var JobLedgerEntry: Record "Job Ledger Entry"; var JobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSubscriber", 'OnBeforeApplyUsageLink', '', false, false)]
local procedure DoSomethingOnBeforeApplyUsageLink(var JobLedgerEntry: Record "Job Ledger Entry"; var JobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean)
begin
end;
Parameters:
JobLedgerEntry: Variable parameter containing the job ledger entry for usage link application.JobJournalLine: Variable parameter containing the job journal line for usage link application.IsHandled: Variable parameter to indicate if the usage link application has been handled by subscriber.
OnAfterUpdateBillTo(Record Job, Record Job, Record Customer) :#
Summary: Integration event raised after updating bill-to customer information on job record.
[IntegrationEvent(false, false)]
local procedure OnAfterUpdateBillTo(var Job: Record "Job"; xJob: Record "Job"; BillToCustomer: Record "Customer"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSubscriber", 'OnAfterUpdateBillTo', '', false, false)]
local procedure DoSomethingOnAfterUpdateBillTo(var Job: Record "Job"; xJob: Record "Job"; BillToCustomer: Record "Customer")
begin
end;
Parameters:
Job: Variable parameter containing the updated job record.xJob: Parameter containing the previous version of the job record.BillToCustomer: Parameter containing the bill-to customer record used for updates.
OnBeforeCheckForOpendocuments(Record Job, Record Job, Integer, Boolean) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('This Event is never triggered.', '27.0')]
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckForOpendocuments(var Job: Record "Job"; xJob: Record "Job"; CurrFieldNo: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSubscriber", 'OnBeforeCheckForOpendocuments', '', false, false)]
local procedure DoSomethingOnBeforeCheckForOpendocuments(var Job: Record "Job"; xJob: Record "Job"; CurrFieldNo: Integer; var IsHandled: Boolean)
begin
end;