Skip to Content
avatar image
Former Member

Kapsel store flush/refresh doesn't clear local records


We are working on a hybrid offline application for sales order creation. We have been successful in posting batch requests using content-id against the offline store and flushing the request queue. The issue is that after refresh, we have duplicate records:
1) Created in the local store 2) The actual order .

I have a few doubts on our implementation :-
1) Is store.refresh supposed to match the order with the locally created record and delete it ?
2) Is auto deletion supported for batch with content-id ? Does the batch process method need to give a certain response for this deletion?
The backend has DELETE entity implemented.
3) We have a PI server in between gateway and ECC, hence we may not always get the response immediately.
4) Is it a good practice to perform a local DELETE request after a refresh ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers