commit: 2025-07-28 15:45:28
This commit is contained in:
parent
0ee9fc69b8
commit
404f8a4b1e
@ -43,9 +43,23 @@ SELECT * FROM #RESULT
|
|||||||
|
|
||||||
|
|
||||||
SELECT
|
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
|
FROM
|
||||||
rlarp.live_quotes q
|
rlarp.live_quotes q
|
||||||
OUTER APPLY pricing.single_price_call_fn(
|
OUTER APPLY pricing.single_price_call_fn(
|
||||||
q.billto
|
q.billto
|
||||||
,q.shipto
|
,q.shipto
|
||||||
@ -54,3 +68,5 @@ FROM
|
|||||||
,q.v1ds
|
,q.v1ds
|
||||||
,q.units_each
|
,q.units_each
|
||||||
) p
|
) p
|
||||||
|
WHERE
|
||||||
|
qstat LIKE 'Submitted%'
|
Loading…
Reference in New Issue
Block a user