Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Overview

...

A DUPLICATE_SCONST_FOUND error occurs when there is a Pay Component Sub Type with a Script Constant that is identical to another. This can cause reporting issues, among other problems.

In the example above, the error message tells us “Script Constant OVERTIME_1.0 is assigned to multiple Pay Component Sub Type records”, therefore “OVERTIME_1.0” is the Script Constant that has been duplicated and needs to be fixed.

Fortunately, this issue is simple to resolve:

How to clear a duplicate

  1.  Navigate to your Pay component subtype list - : Payroll - > Payroll Setup - > Pay Component Subtype.

    Image RemovedImage Added

  2. Change the View to PR-Script Constant

    Image RemovedImage Removed

    to make finding the duplicate easier.

    Image Added

  3. Turn on inline edit

    Image Removed

    , filter by Script Constant to put them in alphabetical order, and then find the duplicates.

    Image Added

  4. Find the copy which is likely the one record with the higher internal ID number

    Image Removed

    Internal ID - this indicates it was created later, and is likely the duplicate.
    Clear the script constant field from the duplicate subtype

    Image Removed

    Turn and turn off inline edit.

    Image RemovedImage Added