on 01-04-2021 9:08 AM
Hi,
I am performing an integration using SF EC-Payment Information API using CPI SuccessFactors (OData V2) adapter.
Upsert operation was working fine while I was updating only the payment method with existing effective Start Date for the worker.
Now I am trying to update the payment method and the new effective start date.
However, the API response is "record does not exist".
I tried purgeType = full as well but that does not seem to make any difference. Can you please suggest?
I do not have SFSF access but the concerned worker info is available and confirmed.
I have already referred "SAP SuccessFactors Employee Central OData API: Reference Guide"
Best Regards
Hi Vishal,
you can try methods as mentioned in the SAP note 0002298289 .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Pranav for the response. SAP Note talks about 2 records in the API i.e. one for Delete and one for Update based on operation column.
However for Payment Info API we need to have 2 API calls. One to perform Delete, post that one API call for Upsert/Update Operation. If there's any failure after delete and before update, it has huge impact. There's no rollback option as well. Would be happy to hear on any other workaround/solution
Or do you mean to say we use DELETE operation and have 2 records in the API call. First record will be used for delete operation and the second record for inserting? Please clarify
P.S : FYI. There's no operation field in the Payment Information API which we can use to pass DELETE as mentioned in the note.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.