Whenever you xog in new timesheet, put -1 in the ID and it will take the next sequence number automatically.