Skip to content

KVSFCYJobSubscriber#

Procedures#

CheckForOpenSalesQuotes(Record Job) : Boolean#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This Event is obsolete. FCY-1460', '25')]
procedure CheckForOpenSalesQuotes(jobPar: Record "Job"): Boolean

CheckForOpenSalesOrders(Record Job) : Boolean#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This Event is obsolete. FCY-1460', '25')]
procedure CheckForOpenSalesOrders(jobPar: Record "Job"): Boolean

CheckForOpenSalesInvoices(Record Job) : Boolean#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This Event is obsolete. FCY-1460', '25')]
procedure CheckForOpenSalesInvoices(jobPar: Record "Job"): Boolean

CheckForOpenPurchQuotes(Record Job) : Boolean#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This Event is obsolete. FCY-1460', '25')]
procedure CheckForOpenPurchQuotes(jobPar: Record "Job"): Boolean

CheckForOpenPurchOrders(Record Job) : Boolean#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This Event is obsolete. FCY-1460', '25')]
procedure CheckForOpenPurchOrders(jobPar: Record "Job"): Boolean

CheckForOpenPurchInvoices(Record Job) : Boolean#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This Event is obsolete. FCY-1460', '25')]
procedure CheckForOpenPurchInvoices(jobPar: Record "Job"): Boolean

CheckForOpenProdOrders(Record Job) : Boolean#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This Event is obsolete. FCY-1460', '25')]
procedure CheckForOpenProdOrders(jobPar: Record "Job"): Boolean

CheckForOpenItemLedgerEntries(Record Job) : Boolean#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This Event is obsolete. FCY-1460 Always returns false', '25')]
procedure CheckForOpenItemLedgerEntries(jobPar: Record "Job"): Boolean

CheckForOpenRequisitionLines(Record Job) : Boolean#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This Event is obsolete. FCY-1460', '25')]
procedure CheckForOpenRequisitionLines(jobPar: Record "Job"): Boolean

Events#

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;