From 1459f8c0f9cf2ad53952d5f61784cc9b8e64623a Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 28 Jul 2025 11:35:05 -0400 Subject: [PATCH] ad hoc link to target prices --- new_targets/quotes_link.ms.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 new_targets/quotes_link.ms.sql diff --git a/new_targets/quotes_link.ms.sql b/new_targets/quotes_link.ms.sql new file mode 100644 index 0000000..91800e8 --- /dev/null +++ b/new_targets/quotes_link.ms.sql @@ -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 \ No newline at end of file