KVSPSAREAllocationAcrossJobs#
Procedures#
CopyJobPAllocationToAllPSPLines(Code[20], Boolean) :#
Summary: Copies the job allocation from the job to all active PSP lines of type "Work Package" for the specified job. Optionally displays a message with the number of updated and skipped lines.
procedure CopyJobPAllocationToAllPSPLines(JobNo: Code[20]; ShowMessage: Boolean):
Events#
KVSPSAREOnBeforeGetCorrespondingPSPLineFromAllocateToJob(Record KVSPSAJobPSPLine, Boolean) :#
Summary: Raised on beginning of GetCorrespondingPSPLineFromAllocateToJob. If IsHandled an exit with a FindFirst on KVSPSAJobPSPLine will be execute
[IntegrationEvent(false, false)]
local procedure KVSPSAREOnBeforeGetCorrespondingPSPLineFromAllocateToJob(var KVSPSAJobPSPLine: Record "KVSPSAJobPSPLine"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAREAllocationAcrossJobs", 'KVSPSAREOnBeforeGetCorrespondingPSPLineFromAllocateToJob', '', false, false)]
local procedure DoSomethingKVSPSAREOnBeforeGetCorrespondingPSPLineFromAllocateToJob(var KVSPSAJobPSPLine: Record "KVSPSAJobPSPLine"; var IsHandled: Boolean)
begin
end;
Parameters:
KVSPSAJobPSPLine:IsHandled: