ad hoc link to target prices
This commit is contained in:
parent
c1e647c193
commit
1459f8c0f9
15
new_targets/quotes_link.ms.sql
Normal file
15
new_targets/quotes_link.ms.sql
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
SELECT
|
||||||
|
lq.*
|
||||||
|
,t.*
|
||||||
|
FROM
|
||||||
|
rlarp.live_quotes lq
|
||||||
|
OUTER APPLY pricing.fn_single_price_call(
|
||||||
|
lq.billto,
|
||||||
|
lq.shipto,
|
||||||
|
lq.part,
|
||||||
|
substring(lq.part,1,8),
|
||||||
|
lq.v1ds,
|
||||||
|
lq.units_each
|
||||||
|
) t
|
||||||
|
--WHERE
|
||||||
|
-- qid = 112794
|
Loading…
Reference in New Issue
Block a user