Table of Contents

KVSPSARetrieveTimeLedgEntries

Procedures

SetJobJnlBatchLine(Record Job Journal Line) :

Summary: This procedure sets value of GlobalJobJournalLine.

procedure SetJobJnlBatchLine(JobJournalLine: Record "Job Journal Line"): 

Parameters:

  • JobJournalLine: Record used for setting GlobalJobJournalLine.

Events

KVSPSAOnAfterInsertedCommentsForJobLedgerEntry(Record Job Journal Line) :

Summary: Integration event raised after inserting comments for job ledger entry.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterInsertedCommentsForJobLedgerEntry(var JobJournalLine: Record "Job Journal Line"): 

Parameters:

  • JobJournalLine: The job journal line record

KVSPSAOnBeforeInsertJobJnlLineForJobTimeEntry(Record Job Journal Line, Record KVSPSAJobTimeLedgerEntry) :

Summary: Integration event raised before inserting job journal line for job time entry.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeInsertJobJnlLineForJobTimeEntry(var JobJournalLine: Record "Job Journal Line"; JobTimeLedgerEntry: Record "KVSPSAJobTimeLedgerEntry"): 

Parameters:

  • JobJournalLine: The job journal line record
  • JobTimeLedgerEntry: The job time ledger entry record

KVSPSAOnBeforeCheckJobJournalForTimeInspectorSubstituteTimeinspector(Record KVSPSAJobTimeLedgerEntry, Boolean, Boolean) :

Summary: Integration event raised before test time inspector in job time entry.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckJobJournalForTimeInspectorSubstituteTimeinspector(JobTimeLedgerEntry: Record "KVSPSAJobTimeLedgerEntry"; var ReturnValue: Boolean; var IsHandled: Boolean): 

Parameters:

  • JobTimeLedgerEntry: The job time ledger entry record
  • ReturnValue: The return value for function CheckJobJournalForTimeInspectorSubstituteTimeinspector by setting IsHandled
  • IsHandled: IsHandled pattern

KVSPSAOnBeforeTestJobTeam(Record KVSPSAJobTimeLedgerEntry, Boolean, Boolean) :

Summary: Integration event raised before testing the job team setup for a job time ledger entry. Subscribe to this event to override the job team test (e.g. to retrieve time entries independently of the job team setup).

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeTestJobTeam(JobTimeLedgerEntry: Record "KVSPSAJobTimeLedgerEntry"; var ReturnValue: Boolean; var IsHandled: Boolean): 

Parameters:

  • JobTimeLedgerEntry: The job time ledger entry record
  • ReturnValue: The return value for function TestJobTeam by setting IsHandled
  • IsHandled: IsHandled pattern