We are using M1 as our database which doesn't allow auto incrementing primary keys, and it creates a problem for inserting and deleting items. My insert statement finds the current max value of the ID and adds one. After deleting the max value through the database, I am not able to add a new value since M-Files still holds onto the ID but just in (deleted) form. I've tried creating an M-Files Server application to destroy/remove the item but have not been successful with it. Is there a good work around for this?