use Insert From Device instead.
Thanks! I didn't know that was there!
Just in case you're on the same road I was on a few years ago - you might find the same problems with data synchronization that I had. Take a look at using UUID's for primary keys on remote devices. It's an accepted practice.