In my android app, user generates various records, and they are stored locally until synced to a server.
There are two types of records (related to each other, and ar