Table of Contents

KVSPSAJob-Time Entry-Edit

Procedures

OnRun

procedure OnRun(Rec: Record "KVSPSAJobTimeLedgerEntry")

Events

KVSPSAOnBeforeJobTimeLedgerEntryModify(Record KVSPSAJobTimeLedgerEntry, Record KVSPSAJobTimeLedgerEntry) :

Summary: Event triggered before modifying a job time ledger entry during the job time entry edit process. Allows subscribers to perform additional modifications or validations before the job time ledger entry is saved.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeJobTimeLedgerEntryModify(var JobTimeLedgerEntry: Record "KVSPSAJobTimeLedgerEntry"; FromJobTimeLedgerEntry: Record "KVSPSAJobTimeLedgerEntry"): 

Parameters:

  • JobTimeLedgerEntry: The job time ledger entry record that will be modified and can be further customized.
  • FromJobTimeLedgerEntry: The source job time ledger entry record containing the original values.

KVSPSAOnBeforeOnRun(Record KVSPSAJobTimeLedgerEntry, Boolean) :

Summary: Event triggered before executing the main OnRun logic of the job time entry edit codeunit. Allows subscribers to implement custom job time entry edit logic or skip the standard processing entirely.

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

Parameters:

  • JobTimeLedgerEntry: The job time ledger entry record being edited that can be modified by subscribers.
  • IsHandled: Boolean flag that subscribers can set to indicate they have handled the edit process and standard processing should be skipped.