Skip to content

KVSPSATimeManagement#

Procedures#

CheckJobLine(Record Time Sheet Line) :#

procedure CheckJobLine(TimeSheetLine: Record "Time Sheet Line"): 

FilterJobs(Code[20], Record Job) :#

procedure FilterJobs(ResNo: Code[20]; var Job: Record "Job"): 

GetPSPLine(Code[20], Code[20], Code[20], Code[20], Code[20]) :#

procedure GetPSPLine(JobNo: Code[20]; WorkPackageCode: Code[20]; PhaseCode: Code[20]; TaskCode: Code[20]; StepCode: Code[20]): 

JobNoOnLookup(Code[20], Code[20]) :#

procedure JobNoOnLookup(ResNo: Code[20]; var JobNo: Code[20]): 

JobNoOnValidate(Code[20], Code[20]) :#

procedure JobNoOnValidate(ResNo: Code[20]; JobNo: Code[20]): 

TestJobDateOnPosting(Code[20], Date, Integer) :#

procedure TestJobDateOnPosting(JobNo: Code[20]; PostingDate: Date; BudgetLineNo: Integer): 

TestJobPostingLevel() :#

procedure TestJobPostingLevel(): 

TestJobTeamFilter(Code[20], Code[20]) :#

procedure TestJobTeamFilter(ResourceNo: Code[20]; JobNo: Code[20]): 

TestProgress(Code[20], Decimal, Decimal, Code[20], Code[20], Code[20], Code[20], Code[20]) :#

procedure TestProgress(ToDoNo: Code[20]; ToDoProgress: Decimal; QtyToComplete: Decimal; JobNo: Code[20]; WorkPackageCode: Code[20]; PhaseCode: Code[20]; TaskCode: Code[20]; StepCode: Code[20]): 

ValidateResNoWithResAdministration(Code[20]) :#

procedure ValidateResNoWithResAdministration(ResNo: Code[20]): 

Events#

KVSPSAOnAfterCalcRestAfterPostingPerJobBudgetLine(Record KVSPSA Job Budget Line, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCalcRestAfterPostingPerJobBudgetLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var RestAfterPosting: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnAfterCalcRestAfterPostingPerJobBudgetLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCalcRestAfterPostingPerJobBudgetLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var RestAfterPosting: Decimal; var IsHandled: Boolean)
begin
end;

KVSPSAOnAfterCalcRestAfterPostingPerJobPSPLine(Record KVSPSAJobPSPLine, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCalcRestAfterPostingPerJobPSPLine(var JobPSPLine: Record "KVSPSAJobPSPLine"; var RestAfterPosting: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnAfterCalcRestAfterPostingPerJobPSPLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCalcRestAfterPostingPerJobPSPLine(var JobPSPLine: Record "KVSPSAJobPSPLine"; var RestAfterPosting: Decimal; var IsHandled: Boolean)
begin
end;

KVSPSAOnAfterCalcRestAfterUnpostPerJobBudgetLine(Record KVSPSA Job Budget Line, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCalcRestAfterUnpostPerJobBudgetLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var RestAfterUnpost: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnAfterCalcRestAfterUnpostPerJobBudgetLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCalcRestAfterUnpostPerJobBudgetLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var RestAfterUnpost: Decimal; var IsHandled: Boolean)
begin
end;

KVSPSAOnAfterCalcRestAfterUnpostPerJobPSPLine(Record KVSPSAJobPSPLine, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCalcRestAfterUnpostPerJobPSPLine(var JobPSPLine: Record "KVSPSAJobPSPLine"; var RestAfterUnpost: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnAfterCalcRestAfterUnpostPerJobPSPLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCalcRestAfterUnpostPerJobPSPLine(var JobPSPLine: Record "KVSPSAJobPSPLine"; var RestAfterUnpost: Decimal; var IsHandled: Boolean)
begin
end;

KVSPSAOnAfterCheckTimeSheetDetailLine(Record Time Sheet Detail, Record Time Sheet Line) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCheckTimeSheetDetailLine(var TimeSheetDetail: Record "Time Sheet Detail"; var TimeSheetLine: Record "Time Sheet Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnAfterCheckTimeSheetDetailLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCheckTimeSheetDetailLine(var TimeSheetDetail: Record "Time Sheet Detail"; var TimeSheetLine: Record "Time Sheet Line")
begin
end;

KVSPSAOnAfterCheckTimeSheetLine(Record Time Sheet Line) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCheckTimeSheetLine(var TimeSheetLine: Record "Time Sheet Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnAfterCheckTimeSheetLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCheckTimeSheetLine(var TimeSheetLine: Record "Time Sheet Line")
begin
end;

KVSPSAOnBeforeCheckBudgetLineStatus(Record KVSPSA Job Budget Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckBudgetLineStatus(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnBeforeCheckBudgetLineStatus', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckBudgetLineStatus(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeCheckTimeSheetDetailLine(Record Time Sheet Detail, Record Time Sheet Line) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckTimeSheetDetailLine(var TimeSheetDetail: Record "Time Sheet Detail"; var TimeSheetLine: Record "Time Sheet Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnBeforeCheckTimeSheetDetailLine', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckTimeSheetDetailLine(var TimeSheetDetail: Record "Time Sheet Detail"; var TimeSheetLine: Record "Time Sheet Line")
begin
end;

KVSPSAOnBeforeCheckTimeSheetLine(Record Time Sheet Line) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckTimeSheetLine(var TimeSheetLine: Record "Time Sheet Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnBeforeCheckTimeSheetLine', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckTimeSheetLine(var TimeSheetLine: Record "Time Sheet Line")
begin
end;

KVSPSAOnBeforeTestJobDateOnPosting(Record Time Sheet Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeTestJobDateOnPosting(var TimeSheetLine: Record "Time Sheet Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnBeforeTestJobDateOnPosting', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeTestJobDateOnPosting(var TimeSheetLine: Record "Time Sheet Line"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeTestJobPostingLevelJobTimeJournal(Record KVSPSAJobTimeJournalLine, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeTestJobPostingLevelJobTimeJournal(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnBeforeTestJobPostingLevelJobTimeJournal', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeTestJobPostingLevelJobTimeJournal(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeTestJobPostingLevelTimeSheet(Record Time Sheet Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeTestJobPostingLevelTimeSheet(var TimeSheetLine: Record "Time Sheet Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnBeforeTestJobPostingLevelTimeSheet', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeTestJobPostingLevelTimeSheet(var TimeSheetLine: Record "Time Sheet Line"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeTestJobStatus(Record Job, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeTestJobStatus(var Job: Record "Job"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnBeforeTestJobStatus', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeTestJobStatus(var Job: Record "Job"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeValidateResNoWithResAdministration(Code[20], Record User Setup, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeValidateResNoWithResAdministration(var ResNo: Code[20]; var UserSetup: Record "User Setup"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnBeforeValidateResNoWithResAdministration', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeValidateResNoWithResAdministration(var ResNo: Code[20]; var UserSetup: Record "User Setup"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeCheckResNo(Code[20], Boolean) :#

Summary: This Event is raised on the beginning of the procedure JobNoOnValidate. If IsHandled is true the code will not be executed

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckResNo(ResourceNo: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATimeManagement", 'KVSPSAOnBeforeCheckResNo', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckResNo(ResourceNo: Code[20]; var IsHandled: Boolean)
begin
end;

Parameters:

  • ResourceNo:
  • IsHandled: