diff --git a/new_targets/price_queue_test.ms.sql b/new_targets/price_queue_test.ms.sql index 1d85e5a..4802269 100644 --- a/new_targets/price_queue_test.ms.sql +++ b/new_targets/price_queue_test.ms.sql @@ -43,9 +43,23 @@ SELECT * FROM #RESULT SELECT - q.*, p.* + q.qid, + q.qrn, + q.qcustomer, + q.part, + q.v1ds, + q.units_each, + q.price, + q.targetp, + q.lastsalesprice, + q.finalrecommendedprice, + q.lowerpricelimit, + q.upperpricelimit, + q.curstdus, + p.price guidance, + p.expl FROM - rlarp.live_quotes q + rlarp.live_quotes q OUTER APPLY pricing.single_price_call_fn( q.billto ,q.shipto @@ -54,3 +68,5 @@ FROM ,q.v1ds ,q.units_each ) p +WHERE + qstat LIKE 'Submitted%' \ No newline at end of file