You can't use an auto generated field in your data connection. The problem is when you do the update() call it tries to write the value in the field to the database, but the database considers this a read only field and throws an error.
You should modify the SQL query for your data connection so that it returns all the fields you want without the auto number field and let the database handle setting the value for that field.
Chris
Adobe Enterprise Developer Support