Previous page

Next page

Fixing enum value errors

Enum value errors use the error code ENUMVALUES. Enum value errors generally occur if incorrect data has been imported into PayGlobal.

This topic shows an example of an enum value error and how to correct it.

Example

Audit log information:

Checking table 'Rate'...

Executing rule 'Enum values'...

Found 1 invalid value(s) for enum fields: FactorOperator

Error code: [ENUMVALUES] - RateID:2, FactorOperator:Plus

The Factor Operator combo list on the Rate table has the following valid values: Multiply, Divide, Add, Subtract. However, in this example, the Factor Operator for RateID 2 is "Plus".

To correct this problem:

  1. Navigate to Organisation | Entitlements | Rates.
  2. Customise columns and display the Rate ID column.
  3. Open the rate with Rate ID = "2".
  4. Click the Factor Calc tab.
  5. In edit mode, select the correct option in the Factor operator field (even if it appears to be selected) to update the table.
  6. Save and close the rate.

Topic: 22308