Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _positionRecId
Type: HcmPositionRecId Extended Data Type
The record ID of the HcmPosition record with which to retrieve the OMDepartmentRecId value.
- _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.