Codeunit 18126398 EOS Time Sheet Management

Codeunit 18126398 EOS Time Sheet Management

Methods

FindOrCreateTimeSheetLine

procedure FindOrCreateTimeSheetLine(var TimeSheetDetail: Record "Time Sheet Detail")

Parameters / Return Value

  • TimeSheetDetail Record "Time Sheet Detail"

CleanTimeSheet

procedure CleanTimeSheet(TimeSheetHeader: Record "Time Sheet Header")

Parameters / Return Value

  • TimeSheetHeader Record "Time Sheet Header"

SubmitDetail

procedure SubmitDetail(TimeSheetLine: Record "Time Sheet Line"; var TimeSheetDetail: Record "Time Sheet Detail")

Parameters / Return Value

  • TimeSheetLine Record "Time Sheet Line"

  • TimeSheetDetail Record "Time Sheet Detail"


ReopenDetails

procedure ReopenDetails(var TimeSheetLine: Record "Time Sheet Line")

Parameters / Return Value

  • TimeSheetLine Record "Time Sheet Line"

ReopenDetail

procedure ReopenDetail(TimeSheetLine: Record "Time Sheet Line"; var TimeSheetDetail: Record "Time Sheet Detail")

Parameters / Return Value

  • TimeSheetLine Record "Time Sheet Line"

  • TimeSheetDetail Record "Time Sheet Detail"


RejectDetails

procedure RejectDetails(var TimeSheetLine: Record "Time Sheet Line")

Parameters / Return Value

  • TimeSheetLine Record "Time Sheet Line"

PostTimeJnlLine

procedure PostTimeJnlLine(TimeSheetLine: Record "Time Sheet Line"; var TimeSheetDetail: Record "Time Sheet Detail"; Factor: Integer)

Parameters / Return Value

  • TimeSheetLine Record "Time Sheet Line"

  • TimeSheetDetail Record "Time Sheet Detail"

  • Factor Integer


EOIGetBudgetLineByToDoNoJobTimeJnl

procedure EOIGetBudgetLineByToDoNoJobTimeJnl(var JobTimeJnlLineVar: Record KVSPSAJobTimeJournalLine; xRecPar: Record KVSPSAJobTimeJournalLine)

Parameters / Return Value

  • JobTimeJnlLineVar Record "KVSPSAJobTimeJournalLine"

  • xRecPar Record "KVSPSAJobTimeJournalLine"


PostJobJourLines

procedure PostJobJourLines(TimeSheetLine: Record "Time Sheet Line"; var TimeSheetDetail: Record "Time Sheet Detail"; Factor: Integer)

Parameters / Return Value

  • TimeSheetLine Record "Time Sheet Line"

  • TimeSheetDetail Record "Time Sheet Detail"

  • Factor Integer


EOIGetBudgetLineByToDoNoJobJnl

procedure EOIGetBudgetLineByToDoNoJobJnl(var JobJnlLineVar: Record "Job Journal Line"; xRecPar: Record "Job Journal Line")

Parameters / Return Value

  • JobJnlLineVar Record "Job Journal Line"

  • xRecPar Record "Job Journal Line"


CheckResourcePrice

procedure CheckResourcePrice(iRecTimeSheetLine: Record "Time Sheet Line"): Boolean

Parameters / Return Value

  • iRecTimeSheetLine Record "Time Sheet Line"

  • Returns Boolean


EOSTestTimeBudget

procedure EOSTestTimeBudget(JobNoPar: Code[20]; WPCodePar: Code[20]; PhaseCodePar: Code[20]; TaskCodePar: Code[20]; StepCodePar: Code[20]; BudgetLineNoPar: Integer; ToDoNoPar: Code[20]; xQty: Decimal; NewQty: Decimal)

Parameters / Return Value

  • JobNoPar Code[20]

  • WPCodePar Code[20]

  • PhaseCodePar Code[20]

  • TaskCodePar Code[20]

  • StepCodePar Code[20]

  • BudgetLineNoPar Integer

  • ToDoNoPar Code[20]

  • xQty Decimal

  • NewQty Decimal


CheckDateStatus

procedure CheckDateStatus(CalendarCode: Code[10]; TargetDate: Date; var Description: Text[30]): Boolean

Parameters / Return Value

  • CalendarCode Code[10]

  • TargetDate Date

  • Description Text[30]

  • Returns Boolean


CloseJobLedgEntry

procedure CloseJobLedgEntry(EntryNo: Integer)

Parameters / Return Value

  • EntryNo Integer

Events

OnAfterFindOrCreateTimeSheetLine

procedure OnAfterFindOrCreateTimeSheetLine(var TimeSheetDetail: Record "Time Sheet Detail"; var TimeSheetLine: Record "Time Sheet Line")

Parameters / Return Value

  • TimeSheetDetail Record "Time Sheet Detail"

  • TimeSheetLine Record "Time Sheet Line"


OnBeforeSubmitDetail

procedure OnBeforeSubmitDetail(var TimeSheetDetail: Record "Time Sheet Detail"; var TimeSheetLine: Record "Time Sheet Line")

Parameters / Return Value

  • TimeSheetDetail Record "Time Sheet Detail"

  • TimeSheetLine Record "Time Sheet Line"


OnBeforeSubmitDetailOnBeforeModifyTimeSheetLine

procedure OnBeforeSubmitDetailOnBeforeModifyTimeSheetLine(var TimeSheetDetail: Record "Time Sheet Detail"; var TimeSheetLine: Record "Time Sheet Line")

Parameters / Return Value

  • TimeSheetDetail Record "Time Sheet Detail"

  • TimeSheetLine Record "Time Sheet Line"


OnBeforeRejectDetail

procedure OnBeforeRejectDetail(var TimeSheetDetail: Record "Time Sheet Detail"; var TimeSheetLine: Record "Time Sheet Line")

Parameters / Return Value

  • TimeSheetDetail Record "Time Sheet Detail"

  • TimeSheetLine Record "Time Sheet Line"


OnFindDetailToApprove

procedure OnFindDetailToApprove(var TimeSheetDetail: Record "Time Sheet Detail"; var TimeSheetLine: Record "Time Sheet Line")

Parameters / Return Value

  • TimeSheetDetail Record "Time Sheet Detail"

  • TimeSheetLine Record "Time Sheet Line"


OnApproveDetailsPostJobJourLines

procedure OnApproveDetailsPostJobJourLines(var TimeSheetDetail: Record "Time Sheet Detail"; var TimeSheetLine: Record "Time Sheet Line"; var Handled: Boolean)

Parameters / Return Value

  • TimeSheetDetail Record "Time Sheet Detail"

  • TimeSheetLine Record "Time Sheet Line"

  • Handled Boolean


OnAfterApproveDetail

procedure OnAfterApproveDetail(var TimeSheetDetail: Record "Time Sheet Detail")

Parameters / Return Value

  • TimeSheetDetail Record "Time Sheet Detail"

OnBeforeCheckBudgetLineStatusEOI

procedure OnBeforeCheckBudgetLineStatusEOI(var JobBudgetLineVar: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean)

Parameters / Return Value

  • JobBudgetLineVar Record "KVSPSA Job Budget Line"

  • IsHandled Boolean


OnPostJobJourLinesOnAfterPostJnlLine

procedure OnPostJobJourLinesOnAfterPostJnlLine(JobJnlLine: Record "Job Journal Line"; TimeSheetLine: Record "Time Sheet Line"; var TimeSheetDetail: Record "Time Sheet Detail"; Factor: Integer)

Parameters / Return Value

  • JobJnlLine Record "Job Journal Line"

  • TimeSheetLine Record "Time Sheet Line"

  • TimeSheetDetail Record "Time Sheet Detail"

  • Factor Integer


OnPostJobJourLinesOnBeforePostJnlLine

procedure OnPostJobJourLinesOnBeforePostJnlLine(var JobJnlLine: Record "Job Journal Line"; TimeSheetLine: Record "Time Sheet Line"; var TimeSheetDetail: Record "Time Sheet Detail"; Factor: Integer)

Parameters / Return Value

  • JobJnlLine Record "Job Journal Line"

  • TimeSheetLine Record "Time Sheet Line"

  • TimeSheetDetail Record "Time Sheet Detail"

  • Factor Integer


OnPostJobJourLinesOnAfterValidateCost

procedure OnPostJobJourLinesOnAfterValidateCost(var JobJnlLine: Record "Job Journal Line"; TimeSheetLine: Record "Time Sheet Line"; var TimeSheetDetail: Record "Time Sheet Detail"; Factor: Integer)

Parameters / Return Value

  • JobJnlLine Record "Job Journal Line"

  • TimeSheetLine Record "Time Sheet Line"

  • TimeSheetDetail Record "Time Sheet Detail"

  • Factor Integer


OnReopenApprovedDetailOnBeforeModifyTimeSheetDet

procedure OnReopenApprovedDetailOnBeforeModifyTimeSheetDet(TimeSheetLine: Record "Time Sheet Line"; var TimeSheetDetail: Record "Time Sheet Detail")

Parameters / Return Value

  • TimeSheetLine Record "Time Sheet Line"

  • TimeSheetDetail Record "Time Sheet Detail"


OnPostTimeJourLinesOnBeforePostTimeJnlLine

procedure OnPostTimeJourLinesOnBeforePostTimeJnlLine(var JobTimeJnlLine: Record KVSPSAJobTimeJournalLine; TimeSheetLine: Record "Time Sheet Line"; var TimeSheetDetail: Record "Time Sheet Detail")

Parameters / Return Value

  • JobTimeJnlLine Record "KVSPSAJobTimeJournalLine"

  • TimeSheetLine Record "Time Sheet Line"

  • TimeSheetDetail Record "Time Sheet Detail"


OnPostTimeJnlLineOnBeforeValidateChargeable

procedure OnPostTimeJnlLineOnBeforeValidateChargeable(var JobTimeJnlLine: Record KVSPSAJobTimeJournalLine; TimeSheetDetail: Record "Time Sheet Detail")

Parameters / Return Value

  • JobTimeJnlLine Record "KVSPSAJobTimeJournalLine"

  • TimeSheetDetail Record "Time Sheet Detail"



EOS Labs -