Table of Contents

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): 

Parameters:

  • JobNo: Job No. for which the allocations are copied
  • ShowMessage: Indicates whether to show a message with the number of updated and skipped lines

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): 

Parameters:

  • KVSPSAJobPSPLine:
  • IsHandled: