Compartilhar via


HRMCompEligibility::checkVariable Method

Validates that a variable compensation plan is eligible.

Syntax

client server public static boolean checkVariable(Common _common, [HRMCompFromDate _validFromDateTime])

Run On

Called

Parameters

  • _common
    Type: Common Table
    The common table buffer that contains field values that are used to query eligible plans.

Return Value

Type: boolean
true if the variable compensation plan is eligible based on the rules of eligibility that are set up in compensation; otherwise, false.

Exceptions

Exception Condition
Error

The table record that is parsed by the _common parameter is not supported by this method.

Remarks

This method is used to validate that a field that contains a variable compensation plan ID is eligible in combination with an employee ID.

The related position of the employee, job, and organization unit is used to filter out variable compensation plans that are eligible.

See Also

Reference

HRMCompEligibility Table