HcmPositionForecastScenario.validateClearAndUpdateEarningCosts Method
Validates if changes to the HcmPositionForecastCompensationGroup information requires that the existing earning cost lines should be cleared and replaced with new level and step values.
Syntax
public boolean validateClearAndUpdateEarningCosts(CompanyInfoRecId _legalEntity, HcmPositionForecastCompensationGridRecId _positionForecastCompensationGridRecId)
Run On
Called
Parameters
- _legalEntity
Type: CompanyInfoRecId Extended Data Type
The CompanyInfoRecId value of the legal entity for which we are in context.
- _positionForecastCompensationGridRecId
Type: HcmPositionForecastCompensationGridRecId Extended Data Type
The HcmPositionForecastCompensationGridRecId value of the HcmPositionForecastCompensationGrid record for which we are in context.
Return Value
Type: boolean
Returns true if the earning cost lines should be cleared and replaced; otherwise, false.
Remarks
When there are system generated earning lines a dialog allows the user to override the update.