nso_query function

Create a PXWeb query object