KVSPSATime Sheet Line-Post#
Events#
KVSPSAOnAfterCheckTimeSheetLine(Record Time Sheet Line) :#
Summary: Event triggered after performing all standard checks on a time sheet line before posting. Allows subscribers to perform additional validation or modifications on the time sheet line after standard validation is completed.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCheckTimeSheetLine(var TimeSheetLine: Record "Time Sheet Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATime Sheet Line-Post", 'KVSPSAOnAfterCheckTimeSheetLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCheckTimeSheetLine(var TimeSheetLine: Record "Time Sheet Line")
begin
end;
Parameters:
TimeSheetLine
: The time sheet line that has been checked and can be further validated or modified by subscribers.
KVSPSAOnAfterTimeSheetLinePostFailure(Record Time Sheet Line) :#
Summary: Event triggered after a time sheet line posting has failed. Allows subscribers to perform error handling, logging, or cleanup actions when a time sheet line fails to post.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterTimeSheetLinePostFailure(var TimeSheetLine: Record "Time Sheet Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATime Sheet Line-Post", 'KVSPSAOnAfterTimeSheetLinePostFailure', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterTimeSheetLinePostFailure(var TimeSheetLine: Record "Time Sheet Line")
begin
end;
Parameters:
TimeSheetLine
: The time sheet line that failed to post and can be referenced for error handling.
KVSPSAOnAfterTimeSheetLinePostSuccess(Record Time Sheet Line) :#
Summary: Event triggered after a time sheet line has been successfully posted. Allows subscribers to perform additional actions or logging after successful time sheet line posting.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterTimeSheetLinePostSuccess(var TimeSheetLine: Record "Time Sheet Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATime Sheet Line-Post", 'KVSPSAOnAfterTimeSheetLinePostSuccess', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterTimeSheetLinePostSuccess(var TimeSheetLine: Record "Time Sheet Line")
begin
end;
Parameters:
TimeSheetLine
: The time sheet line that was successfully posted and can be referenced for additional processing.
KVSPSAOnBeforeTimeSheetPosting() :#
Summary: Event triggered before starting the time sheet posting process. Allows subscribers to perform initialization, setup, or pre-processing tasks before time sheet lines are posted.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeTimeSheetPosting():
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATime Sheet Line-Post", 'KVSPSAOnBeforeTimeSheetPosting', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeTimeSheetPosting()
begin
end;