Skip to content

KVSPSAJobEvalJnlCheckLine#

Procedures#

OnRun#

procedure OnRun(Rec: Record "KVSPSAJob Evaluation Jnl Line")

Events#

KVSPSAOnAfterCheckJobEvaluationJnlLine(Record KVSPSAJob Evaluation Jnl Line) :#

Summary: Event triggered after completing all validation checks for a job evaluation journal line. Allows subscribers to perform additional custom validations or modifications after the standard check process.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCheckJobEvaluationJnlLine(var JobEvaluationJnlLine: Record "KVSPSAJob Evaluation Jnl Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobEvalJnlCheckLine", 'KVSPSAOnAfterCheckJobEvaluationJnlLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCheckJobEvaluationJnlLine(var JobEvaluationJnlLine: Record "KVSPSAJob Evaluation Jnl Line")
begin
end;

Parameters:

  • JobEvaluationJnlLine: The job evaluation journal line that has been validated and can be further processed by subscribers.

KVSPSAOnBeforeCheckDimensions(Record KVSPSAJob Evaluation Jnl Line, Boolean) :#

Summary: Event triggered before checking dimensions for a job evaluation journal line. Allows subscribers to implement custom dimension validation logic or skip the standard dimension checks.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckDimensions(JobEvaluationJnlLine: Record "KVSPSAJob Evaluation Jnl Line"; var CheckDone: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobEvalJnlCheckLine", 'KVSPSAOnBeforeCheckDimensions', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckDimensions(JobEvaluationJnlLine: Record "KVSPSAJob Evaluation Jnl Line"; var CheckDone: Boolean)
begin
end;

Parameters:

  • JobEvaluationJnlLine: The job evaluation journal line being validated for dimension compliance.
  • CheckDone: Boolean flag that subscribers can set to indicate they have handled the dimension validation and standard checks should be skipped.

KVSPSAOnBeforeDateNotAllowed(Record KVSPSAJob Evaluation Jnl Line, Boolean) :#

Summary: Event triggered before checking if the posting date is allowed for a job evaluation journal line. Allows subscribers to implement custom date validation logic or override the standard date allowance rules.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeDateNotAllowed(JobEvaluationJnlLine: Record "KVSPSAJob Evaluation Jnl Line"; var DateCheckDone: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobEvalJnlCheckLine", 'KVSPSAOnBeforeDateNotAllowed', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeDateNotAllowed(JobEvaluationJnlLine: Record "KVSPSAJob Evaluation Jnl Line"; var DateCheckDone: Boolean)
begin
end;

Parameters:

  • JobEvaluationJnlLine: The job evaluation journal line being validated for posting date compliance.
  • DateCheckDone: Boolean flag that subscribers can set to indicate they have handled the date validation and standard checks should be skipped.