Hi if i try to insert a new record (without do applyupdates) and after to delete it doing applyupdates i receive an error "Cannot read properties of null (reading 'PK_1')..." its normal because record wasn't saved to DB but deleted from memory in fact GetPendingUpdates() indicate record just deleted in updates to do !