GanttTmpWrkCtrJob::getNextJobsRecords Method
Gets a list of RecId values that represents the jobs that follow the _currentJob job.
Syntax
client server public static container getNextJobsRecords(
GanttTmpWrkCtrJob _currentJob,
GanttTmpWrkCtrJob _allJobs,
[boolean _addOnlyPrimary])
Run On
Called
Parameters
- _currentJob
Type: GanttTmpWrkCtrJob Table
The job for which to retrieve the next jobs.
- _allJobs
Type: GanttTmpWrkCtrJob Table
A GanttTmpWrkCtrJob that contains all the jobs to look through.
- _addOnlyPrimary
Type: boolean
true to return jobs only if they are primary; optional. The default is true.
Return Value
Type: container
A container with the RecId values of the next jobs.
Remarks
If _currentJob is primary, the secondary jobs that correspond to _currentJob are added as next jobs into the result.
If the _addOnlyPrimary parameter is false, the next jobs added to the returned set can also have NumPrimary larger than 1. They do not have to be primary, and they can be on the first work center.