KVSPSAJobEvaluationJnlPostLine#
Procedures#
OnRun#
procedure OnRun(Rec: Record "KVSPSAJob Evaluation Jnl Line")
Events#
KVSPSAOnAfterCheckJob(Record KVSPSAJob Evaluation Jnl Line, Record Job) :#
Summary: Event fired after checking job validity during job evaluation journal posting. Allows extensions to perform additional validation or actions after the job check. This event enables custom validation logic after the standard job validation has been completed during job evaluation journal line processing.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCheckJob(JobEvaluationJnlLine: Record "KVSPSAJob Evaluation Jnl Line"; Job: Record "Job"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobEvaluationJnlPostLine", 'KVSPSAOnAfterCheckJob', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCheckJob(JobEvaluationJnlLine: Record "KVSPSAJob Evaluation Jnl Line"; Job: Record "Job")
begin
end;
Parameters:
JobEvaluationJnlLine
: The job evaluation journal line that was being posted.Job
: The job record that was validated during the check process.
KVSPSAOnAfterInitJobEvaluationRegister(Record KVSPSAJob Evaluation Register, Record KVSPSAJob Evaluation Jnl Line) :#
Summary: Event fired after initializing the job evaluation register during posting. Allows extensions to modify the register before it is used for posting operations. This event enables customization of job evaluation register initialization, allowing modifications to register fields or adding custom logic.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterInitJobEvaluationRegister(var JobEvaluationRegister: Record "KVSPSAJob Evaluation Register"; var JobEvaluationJnlLine: Record "KVSPSAJob Evaluation Jnl Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobEvaluationJnlPostLine", 'KVSPSAOnAfterInitJobEvaluationRegister', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterInitJobEvaluationRegister(var JobEvaluationRegister: Record "KVSPSAJob Evaluation Register"; var JobEvaluationJnlLine: Record "KVSPSAJob Evaluation Jnl Line")
begin
end;
Parameters:
JobEvaluationRegister
: The job evaluation register being initialized (passed by reference for modification).JobEvaluationJnlLine
: The job evaluation journal line that triggered the register initialization (passed by reference for potential modification).
KVSPSAOnAfterJobEvaluationJnlLinePost(Record KVSPSAJob Evaluation Jnl Line, Record KVSPSAJob Evaluation Entry) :#
Summary: Event fired after posting a job evaluation journal line and creating the corresponding job evaluation entry. Allows extensions to perform additional actions after successful posting. This event enables custom processing after job evaluation journal lines have been posted, providing access to both the source journal line and created evaluation entry.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterJobEvaluationJnlLinePost(JobEvaluationJnlLine: Record "KVSPSAJob Evaluation Jnl Line"; JobEvaluationEntry: Record "KVSPSAJob Evaluation Entry"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobEvaluationJnlPostLine", 'KVSPSAOnAfterJobEvaluationJnlLinePost', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterJobEvaluationJnlLinePost(JobEvaluationJnlLine: Record "KVSPSAJob Evaluation Jnl Line"; JobEvaluationEntry: Record "KVSPSAJob Evaluation Entry")
begin
end;
Parameters:
JobEvaluationJnlLine
: The job evaluation journal line that was posted.JobEvaluationEntry
: The job evaluation entry created from posting the journal line.
KVSPSAOnAfterUpdateJobLedgerEntryOnActivation(Record KVSPSAJob Evaluation Entry, Record Job Ledger Entry) :#
Summary: Event fired after updating job ledger entries during job evaluation activation. Allows extensions to perform additional updates or actions after job ledger entry modification. This event enables custom processing after job ledger entries have been updated as part of job evaluation activation workflow.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterUpdateJobLedgerEntryOnActivation(JobEvaluationEntry: Record "KVSPSAJob Evaluation Entry"; JobLedgerEntry: Record "Job Ledger Entry"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobEvaluationJnlPostLine", 'KVSPSAOnAfterUpdateJobLedgerEntryOnActivation', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterUpdateJobLedgerEntryOnActivation(JobEvaluationEntry: Record "KVSPSAJob Evaluation Entry"; JobLedgerEntry: Record "Job Ledger Entry")
begin
end;
Parameters:
JobEvaluationEntry
: The job evaluation entry that triggered the job ledger entry update.JobLedgerEntry
: The job ledger entry that was updated during the activation process.
KVSPSAOnAfterUpdateLedgerEntriesOnDeactivation(Record KVSPSAJob Evaluation Entry, Record KVSPSAJob Evaluation Entry, Record Job Ledger Entry) :#
Summary: Event fired after updating ledger entries during job evaluation deactivation. Allows extensions to perform additional updates or actions after deactivation processing. This event enables custom processing after both job evaluation and job ledger entries have been updated as part of job evaluation deactivation workflow.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterUpdateLedgerEntriesOnDeactivation(JobEvaluationEntry: Record "KVSPSAJob Evaluation Entry"; UpdatedJobEvaluationEntry: Record "KVSPSAJob Evaluation Entry"; UpdatedJobLedgerEntry: Record "Job Ledger Entry"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobEvaluationJnlPostLine", 'KVSPSAOnAfterUpdateLedgerEntriesOnDeactivation', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterUpdateLedgerEntriesOnDeactivation(JobEvaluationEntry: Record "KVSPSAJob Evaluation Entry"; UpdatedJobEvaluationEntry: Record "KVSPSAJob Evaluation Entry"; UpdatedJobLedgerEntry: Record "Job Ledger Entry")
begin
end;
Parameters:
JobEvaluationEntry
: The original job evaluation entry that was deactivated.UpdatedJobEvaluationEntry
: The updated job evaluation entry after deactivation processing.UpdatedJobLedgerEntry
: The updated job ledger entry after deactivation processing.