Share via


HcmPosition::getDepartment Method

Retrieves the OMDepartmentRecId value from the HcmPositionDetail table for the specified HcmPositionRecId value.

Syntax

client server public static OMDepartmentRecId getDepartment(HcmPositionRecId _positionRecId, [utcdatetime _asOfDate])

Run On

Called

Parameters

  • _asOfDate
    Type: utcdatetime
    The time to use for the selection criteria.

Return Value

Type: OMDepartmentRecId Extended Data Type
The record ID of the OMDepartment record that is assigned to the HcmPosition record.

See Also

Reference

HcmPosition Table