Skip to Content
0
Former Member
Aug 28, 2015 at 11:02 PM

How to delete already sent to the backend records from the offline storage

29 Views

Hi everyone,

I'm developing an offline app that is built using SAPUI5 and the Kapsel plugins. It creates orders locally in the kapsel offline storage and are sent to the backend via flush operation.

In one screen there's a sap.m.List component that has the "items" property bound to the "OrderCreation" entity, this way the user can view the locally created orders. After flushing the database, they are sent to the backend and processed as expected, but they are not removed after refreshing it.

Is it possible to delete these local records after they are flushed to the backend? This way the list will only show the orders that haven't been sent yet.