HcmLeaveType.validateEarningCode Method
Validates the value that the user entered into the EarningCode field.
Syntax
private boolean validateEarningCode()
Run On
Called
Return Value
Type: boolean
true if the value that was entered into the EarningCode field is valid by checking that the earning code is of hours unit type and is a base earning component; otherwise, false.