Codeunit 18122605 EOS060 Job Management

Codeunit 18122605 EOS060 Job Management

Methods

CreateJobEntry

procedure CreateJobEntry(WorkLedgerEntry: Record "EOS060 Work Ledger Entry")

Parameters / Return Value

  • WorkLedgerEntry Record "EOS060 Work Ledger Entry"

JobMandatory

procedure JobMandatory(MaintenancePoint: Record "EOS060 Maintenance Point"): Boolean

Parameters / Return Value

  • MaintenancePoint Record "EOS060 Maintenance Point"

  • Returns Boolean


Events

OnBeforeCreateJobEntry

local procedure OnBeforeCreateJobEntry(WorkLedgerEntry: Record "EOS060 Work Ledger Entry"; var IsHandled: Boolean)

Raised before creating the job journal line record from the Work Ledger Entry.

Parameters / Return Value

  • WorkLedgerEntry Record "EOS060 Work Ledger Entry"

    The work ledger entry.

  • IsHandled Boolean

    If true, skips creating and posting the job journal line.


OnBeforeJobJnlLineInsertOrPost

local procedure OnBeforeJobJnlLineInsertOrPost(var JobJnlLine: Record "Job Journal Line"; WorkLedgerEntry: Record "EOS060 Work Ledger Entry"; var PostJobEntries: Boolean)

Raised before inserting or posting the job journal line.

Parameters / Return Value

  • JobJnlLine Record "Job Journal Line"

    The job journal line.

  • WorkLedgerEntry Record "EOS060 Work Ledger Entry"

    The work ledger entry that generated the job journal line.

  • PostJobEntries Boolean

    If true, the job journal line is going to be posted, otherwise it’s just going to be inserted in the selected batch.


OnAfterCreateJobEntry

local procedure OnAfterCreateJobEntry(WorkLedgerEntry: Record "EOS060 Work Ledger Entry")

Raised after a job journal line has been inserted or posted.

Parameters / Return Value

  • WorkLedgerEntry Record "EOS060 Work Ledger Entry"

    The work ledger entry that generated the job journal line.



EOS Labs -