[en] Varicent Incentive Compensation Management Documentation

[en] TS002128505 — All calculations fail

[en] Fixed: Resolved an issue where both full and individual calculations fail with the error message, "An item with the same key has already been added."

[en] Reproduction Steps

[en] Add a weekly calendar:

[en] 1. Click Admin > Calendars.

[en] 2. Click the Add icon.

[en] 3. Type a name for the calendar. In this case, T001.

[en] 4. Set the start date to 2019-01-01.

[en] 5. Set the template format to 52 (Weekly Periods).

[en] 6. Click Add.

[en] Add a monthly calendar:

[en] 1. Click Admin > Calendars.

[en] 2. Click the Add icon.

[en] 3. Type a name for the calendar. In this case, T002.

[en] 4. Set the start date to 2019-01-01.

[en] 5. Set the template format to 12 (Months).

[en] 6. Click Add.

[en] Create a calculation:

[en] 1. From Composer, add a User-Defined calculation.

[en] 2. Partition the calculated by T002/Months/Months starting on 2019-01-15.

[en] 3. Click Create.

[en] 4. Select the calculation > Edit.

[en] 5. Change the calendar to T001/Weeks/Weeks starting on 2019-01-15.

[en] 6. Select the calculation > Show More > Run Individual Calculation.

[en] The result is an error occurs with the message, "An item with the same key has already been added" when the calculation should run successfully.