KanbanJobSchedule::firstSequenceAvailable Method
Determines the sequence number for a given cell and the planned period in the KanbanJobSchedule table to create a record in the first position of the planning period.
Syntax
server public static LineNum firstSequenceAvailable(WrkCtrResourceGroupRefRecId _wrkCtrResourceGroup, KanbanJobSchedulePlannedPeriod _plannedPeriod)
Run On
Server
Parameters
- _wrkCtrResourceGroup
Type: WrkCtrResourceGroupRefRecId Extended Data Type
- _plannedPeriod
Type: KanbanJobSchedulePlannedPeriod Extended Data Type
Return Value
Type: LineNum Extended Data Type
1 if there is no other record in the period; otherwise, one less than the minimum existing sequence.