Update dbquery.js

added serviceorderdetails query