Codeunit 18122608 EOS060 Work Journal - Post

Codeunit 18122608 EOS060 Work Journal - Post

Methods

PostActivity

procedure PostActivity(var ActivityEntry: Record "EOS060 Machine Activity Entry";WorkRequest: Record "EOS060 Work Request";ActivityDescription: Text;PostingDate: Date;CloseRequest: Boolean)

Parameters / Return Value

  • ActivityEntry Record "EOS060 Machine Activity Entry"

  • WorkRequest Record "EOS060 Work Request"

  • ActivityDescription Text

  • PostingDate Date

  • CloseRequest Boolean


PostJnlLinesYesNo

procedure PostJnlLinesYesNo(WorkJnlBatch: Record "EOS060 Work Journal Batch"): Boolean

Parameters / Return Value

  • WorkJnlBatch Record "EOS060 Work Journal Batch"

  • Returns Boolean


PostJnlLinesYesNo

procedure PostJnlLinesYesNo(var WorkJnlLine: Record "EOS060 Work Journal Line"): Boolean

Parameters / Return Value

  • WorkJnlLine Record "EOS060 Work Journal Line"

  • Returns Boolean


PostJnlLines

procedure PostJnlLines(WorkJnlBatch: Record "EOS060 Work Journal Batch")

Parameters / Return Value

  • WorkJnlBatch Record "EOS060 Work Journal Batch"

PostJnlLines

procedure PostJnlLines(var WorkJnlLine: Record "EOS060 Work Journal Line")

Parameters / Return Value

  • WorkJnlLine Record "EOS060 Work Journal Line"

PostWorkJnlLine

procedure PostWorkJnlLine(var WorkJnlLine: Record "EOS060 Work Journal Line")

Parameters / Return Value

  • WorkJnlLine Record "EOS060 Work Journal Line"

Events

OnBeforePostWorkJnlLine

local procedure OnBeforePostWorkJnlLine(var WorkJnlLine: Record "EOS060 Work Journal Line")

Raised before posting the work journal line.

Parameters / Return Value

  • WorkJnlLine Record "EOS060 Work Journal Line"

    The record that is going to be posted.


OnPostWorkJnlLineOnBeforeWorkLedgerEntryInsert

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

Raised before inserting the ledger entry record.

Parameters / Return Value

  • WorkLedgerEntry Record "EOS060 Work Ledger Entry"

    The record that is going to be inserted.


OnAfterPostWorkJournalLine

local procedure OnAfterPostWorkJournalLine(var WorkLedgerEntry: Record "EOS060 Work Ledger Entry"; var WorkJnlLine: Record "EOS060 Work Journal Line")

Raised after posting the work journal line and the related job or item/resource entries.

Parameters / Return Value

  • WorkLedgerEntry Record "EOS060 Work Ledger Entry"

    The resulting work ledger entry.

  • WorkJnlLine Record "EOS060 Work Journal Line"

    The source work journal line.


OnBeforeActivityEntryInsert

local procedure OnBeforeActivityEntryInsert(var ActivityEntry: Record "EOS060 Machine Activity Entry";ActivityDescription: Text;PostingDate: Date;CloseRequest: Boolean)

Raised before the Machine Activity Entry record is inserted in the database.

Parameters / Return Value

  • ActivityEntry Record "EOS060 Machine Activity Entry"

    The current Machine Activity Entry record.

  • ActivityDescription Text

  • PostingDate Date

  • CloseRequest Boolean


OnBeforeInitResourceJnlLine

local procedure OnBeforeInitResourceJnlLine(WorkLedgerEntry: Record "EOS060 Work Ledger Entry"; var ResourceJnlLine: Record "Res. Journal Line"; var IsHandled: Boolean)

Raised before init Resource Journal Line to insert

Parameters / Return Value

  • WorkLedgerEntry Record "EOS060 Work Ledger Entry"

    Work Ledger Entry linked to Resource Journal Line

  • ResourceJnlLine Record "Res. Journal Line"

    Resource Journal Line to insert

  • IsHandled Boolean

    If enabled, skip standard code


OnBeforeRunWithCheck

local procedure OnBeforeRunWithCheck(WorkLedgerEntry: Record "EOS060 Work Ledger Entry"; var ResourceJnlLine: Record "Res. Journal Line")

Raised before check Resource Journal Line to insert

Parameters / Return Value

  • WorkLedgerEntry Record "EOS060 Work Ledger Entry"

    Work Ledger Entry linked to Resource Journal Line

  • ResourceJnlLine Record "Res. Journal Line"

    Resource Journal Line to insert


OnBeforePostItemJnlLine

local procedure OnBeforePostItemJnlLine(WorkLedgerEntry: Record "EOS060 Work Ledger Entry"; var ItemJnlLine: Record "Item Journal Line")

Raised before posting the item journal line from a work request.

Parameters / Return Value

  • WorkLedgerEntry Record "EOS060 Work Ledger Entry"

    Work Ledger Entry linked to Item Journal Line

  • ItemJnlLine Record "Item Journal Line"

    Item Journal Line to post



EOS Labs -