Compartir a través de


HcmPosition::getReportsToPosition Method

Retrieves the HcmPositionRecId value from the HcmPositionHierarchy table that relates to the parent position associated with a HcmPositionRecId value by using the specified hierarchy.

Syntax

client server public static HcmPositionRecId getReportsToPosition(
    HcmPositionRecId _positionRecId, 
   [utcdatetime _asOfDate, 
    HcmPositionHierarchyTypeRecId _hierarchyTypeRecId])

Run On

Called

Parameters

  • _asOfDate
    Type: utcdatetime
    The point in time that is used for the selection criteria.

Return Value

Type: HcmPositionRecId Extended Data Type
A HcmPositionRecId value that indicates the HcmPosition record that is assigned as the parent of the HcmPosition record at the requested point in time based on the specified HcmPositionHierarchyType value.

Remarks

If a hierarchy type is not provided, a hierarchy of type line is used to determine the parent position in the HcmPositionHierarchy table.

See Also

Reference

HcmPosition Table