KVSPSAJob-Time Jnl.-Check Line#
Procedures#
OnRun#
procedure OnRun(Rec: Record "KVSPSAJobTimeJournalLine")
CheckOverlappingTimes(Record KVSPSAJobTimeJournalLine) :#
Summary: Checks if a part of the time period of the JobTimeJournalLine is already recorded or posted
procedure CheckOverlappingTimes(JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"):
Parameters:
JobTimeJournalLine
: The current JobTimeJournalLine from which the time period is to be checked and later posted
CheckOverlappingTimesInJobTimeJournalLines(Record KVSPSAJobTimeJournalLine) :#
Summary: Checks if a part of the time period of the JobTimeJournalLine is already recorded
procedure CheckOverlappingTimesInJobTimeJournalLines(JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"):
Parameters:
JobTimeJournalLine
: The current JobTimeJournalLine from which the time period is to be checked and later posted
CheckOverlappingTimesInJobTimeLedgerEntries(Record KVSPSAJobTimeJournalLine) :#
Summary: Checks if a part of the time period of the JobTimeJournalLine is already posted
procedure CheckOverlappingTimesInJobTimeLedgerEntries(JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"):
Parameters:
JobTimeJournalLine
: The current JobTimeJournalLine from which the time period is to be checked and later posted
Events#
KVSPSAOnAfterCheckJobTimeJnlLine(Record KVSPSAJobTimeJournalLine) :#
Summary: This Event will be raised after the checks for the Job Time Journal are done.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCheckJobTimeJnlLine(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJob-Time Jnl.-Check Line", 'KVSPSAOnAfterCheckJobTimeJnlLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCheckJobTimeJnlLine(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine")
begin
end;
Parameters:
JobTimeJournalLine
:
KVSPSAOnBeforeCheckDimensions(Record KVSPSAJobTimeJournalLine, Boolean) :#
Summary: /// If the Event is raised and IsHandled is set to true, then there will be an exit in procedure CheckDimensions
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckDimensions(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJob-Time Jnl.-Check Line", 'KVSPSAOnBeforeCheckDimensions', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckDimensions(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var IsHandled: Boolean)
begin
end;
Parameters:
JobTimeJournalLine
:IsHandled
:
KVSPSAOnBeforeCheckOverlappingTimes(Record KVSPSAJobTimeJournalLine, Boolean) :#
Summary: If the Event is raised and IsHandled is set to true, then there will be an exit in procedure CheckOverlappingTimes
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckOverlappingTimes(JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJob-Time Jnl.-Check Line", 'KVSPSAOnBeforeCheckOverlappingTimes', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckOverlappingTimes(JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var IsHandled: Boolean)
begin
end;
Parameters:
JobTimeJournalLine
:IsHandled
: