Compartilhar via


HcmJob::doesJobAcceptPositions Method

Determines whether the job in the HcmJob table has reached the maximum number of positions.

Syntax

client server public static boolean doesJobAcceptPositions(HcmJobRecId _jobRecId, [utcdatetime _asOfDate])

Run On

Called

Parameters

  • _asOfDate
    Type: utcdatetime
    A value in the UtcDateTime field that is used to determine the point in time in which to create a new position.

Return Value

Type: boolean
true if the job allows for new positions to be created referencing the specified job; otherwise, false.

Remarks

Only current and future dated positions are counted against the maximum number of positions. If the _asOfDate parameter provided is historical, new positions will be allowed even if the maximum number of positions has been reached.

See Also

Reference

HcmJob Table