Share via


HcmPosition::numberOfOpenPositions Method

Retrieves the number of opened positions for a supplied job, or a department, or a job and department, or the enterprise.

Syntax

client server public static int64 numberOfOpenPositions(
   [HcmJobRecId _jobRecId, 
    OMDepartmentRecId _departmentRecId, 
    utcdatetime _asOfDate])

Run On

Called

Parameters

  • _asOfDate
    Type: utcdatetime
    A value in the UtcDateTime field that is used to determine the point in time for the open positions; optional.

Return Value

Type: int64
The number of open positions.

Remarks

When a job and department are excluded or are passed in as zeros, the result will be determined by including all positions for the enterprise.

See Also

Reference

HcmPosition Table