HcmPositionForecast::getReportsToPosition Method
Retrieves the HcmPositionForecastRecId value from the HcmPositionForecastHierarchy table that is related to the parent position that is associated with an HcmPositionForecastRecId value, by using the specified hierarchy.
Syntax
client server public static HcmPositionForecastRecId getReportsToPosition(
HcmPositionForecastRecId _positionForecastRecId,
[utcdatetime _asOfDate,
HcmPositionHierarchyTypeRecId _hierarchyTypeRecId])
Run On
Called
Parameters
- _positionForecastRecId
Type: HcmPositionForecastRecId Extended Data Type
The record ID of the HcmPositionForecast record for which to retrieve the HcmPositionForecastRecId value of the parent.
- _asOfDate
Type: utcdatetime
The point in time that is used for the selection criteria.
- _hierarchyTypeRecId
Type: HcmPositionHierarchyTypeRecId Extended Data Type
The record ID value that represents the HcmPositionForecastHierarchyType record that is used to select the parent position.
Return Value
Type: HcmPositionForecastRecId Extended Data Type
A HcmPositionForecastRecId value that indicates the HcmPositionForecast record that is assigned as the parent of the HcmPositionForecast record at the requested point in time, based on the specified HcmPositionForecastHierarchyType value.
Remarks
If a hierarchy type is not provided, a hierarchy of type line is used to determine the parent position in the HcmPositionForecastHierarchy table.