Symptom
You are running a CompoundEmployee query and for one specific user it is failing with the following message:
- "COMPOND_EMPLOYEE/DELTA DUPLICATE KEYS"
"Delta cannot be calculated for entity "paycomponent_non_recurring" because the image "Snapshot" has multiple records with the same business key (pay_component_code=XXX/pay_date=XXX/sequence_number=XXX)"
Environment
SAP SuccessFactors HXM Suite
Reproducing the Issue
- Go to any tool you are using to perform API queries
- Run the Compound Employee Query
- Get the error in the result of the query
Cause
Data inconsistency in the database
Resolution
If you encounter this issue, please log a ticket to LOD-SF-INT-CE since there is a chance that it will be required a script execution to fix the data.
As a pre requisite, please make sure that before creating the ticket you have the following information:
- SuccessFactors Company ID and support access. If you don't know how to provide the support access, please refer to the KBA below:
2088892 - How to Grant Support Access to SuccessFactors Support Staff - Follow the KBA below to enable the payload logs and then reproduce the issue:
2694943 - How to download API logs on SuccessFactors - Provide the SFAPI payloads with the error in the ticket.
**FOR INTERNAL STAFF ONLY: Refer to internal notes for example.
Keywords
COMPOND_EMPLOYEE,DELTA DUPLICATE KEYS,compoundemployee, compound employee, Delta cannot be calculated for entity, paycomponent_non_recurring, because the image, Snapshot, has multiple records with the same business key, query, error , KBA , LOD-SF-INT-CE , Compound Employee API , Problem
Product
Attachments
Pasted image.png |