Table of Contents

KVSPSAJob-Time Jnl.-Check Line

Procedures

OnRun

procedure OnRun(Rec: Record "KVSPSAJobTimeJournalLine")

CheckOverlappingTimes(Record KVSPSAJobTimeJournalLine) :

Summary: Checks if a part of the time period of the JobTimeJournalLine is already recorded or posted

procedure CheckOverlappingTimes(JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"): 

Parameters:

  • JobTimeJournalLine: The current JobTimeJournalLine from which the time period is to be checked and later posted

CheckOverlappingTimesInJobTimeJournalLines(Record KVSPSAJobTimeJournalLine) :

Summary: Checks if a part of the time period of the JobTimeJournalLine is already recorded

procedure CheckOverlappingTimesInJobTimeJournalLines(JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"): 

Parameters:

  • JobTimeJournalLine: The current JobTimeJournalLine from which the time period is to be checked and later posted

CheckOverlappingTimesInJobTimeLedgerEntries(Record KVSPSAJobTimeJournalLine) :

Summary: Checks if a part of the time period of the JobTimeJournalLine is already posted

procedure CheckOverlappingTimesInJobTimeLedgerEntries(JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"): 

Parameters:

  • JobTimeJournalLine: The current JobTimeJournalLine from which the time period is to be checked and later posted

Events

KVSPSAOnAfterCheckJobTimeJnlLine(Record KVSPSAJobTimeJournalLine) :

Summary: This Event will be raised after the checks for the Job Time Journal are done.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCheckJobTimeJnlLine(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"): 

Parameters:

  • JobTimeJournalLine:

KVSPSAOnBeforeCheckDimensions(Record KVSPSAJobTimeJournalLine, Boolean) :

Summary: /// If the Event is raised and IsHandled is set to true, then there will be an exit in procedure CheckDimensions

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckDimensions(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var IsHandled: Boolean): 

Parameters:

  • JobTimeJournalLine:
  • IsHandled:

KVSPSAOnBeforeCheckOverlappingTimes(Record KVSPSAJobTimeJournalLine, Boolean) :

Summary: If the Event is raised and IsHandled is set to true, then there will be an exit in procedure CheckOverlappingTimes

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckOverlappingTimes(JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var IsHandled: Boolean): 

Parameters:

  • JobTimeJournalLine:
  • IsHandled: