added publication flag and jobtype to be insert in database
Merge pull request #4009 from vmancine/master

new database field for publication flag and jobtype