KVSPSAJob Entry-Edit
Procedures
OnRun
procedure OnRun(Rec: Record "#437dbf0e84ff417a965ded2bb9650972#Job Ledger Entry")
Events
KVSPSAOnBeforeJobLedgerEntryModify(Record Job Ledger Entry, Record Job Ledger Entry) :
Summary: Event triggered before modifying a job ledger entry during the job entry edit process. Allows subscribers to perform additional modifications or validations before the job ledger entry is saved.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeJobLedgerEntryModify(var JobLedgerEntry: Record "Job Ledger Entry"; FromJobLedgerEntry: Record "Job Ledger Entry"):
Parameters:
JobLedgerEntry: The job ledger entry record that will be modified and can be further customized.FromJobLedgerEntry: The source job ledger entry record containing the original values from the user input.
KVSPSAOnBeforeOnRun(Record Job Ledger Entry, Boolean) :
Summary: Event triggered before executing the main OnRun logic of the job entry edit codeunit. Allows subscribers to implement custom job entry edit logic or skip the standard processing entirely.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeOnRun(var JobLedgerEntry: Record "Job Ledger Entry"; var IsHandled: Boolean):
Parameters:
JobLedgerEntry: The job 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.