testing
This commit is contained in:
parent
ca2e9ea3be
commit
1b7ec3635b
@ -10,38 +10,41 @@
|
||||
|
||||
|
||||
SELECT
|
||||
ui_json->'data'
|
||||
*, ui_json->'data'
|
||||
FROM pricequote.single_price_call(
|
||||
'GRIF0001',
|
||||
'GRIF0001',
|
||||
'XNS0T1G3G18B096',
|
||||
'v1:B..PLT..',
|
||||
9600
|
||||
'BFGS0001',
|
||||
'SPRI0019',
|
||||
'INT12040G18C100',
|
||||
'v1:B..CSE..',
|
||||
7037
|
||||
) f;
|
||||
|
||||
--
|
||||
-- SELECT
|
||||
-- ui_json
|
||||
-- FROM pricequote.single_price_call(
|
||||
-- 'BFGS0001',
|
||||
-- 'BOBS0002',
|
||||
-- 'HTI10754B12B024LXB04',
|
||||
-- 'v1:L.L.PLT..',
|
||||
-- 172000
|
||||
-- ) f;
|
||||
--
|
||||
|
||||
SELECT
|
||||
*, ui_json->'data'
|
||||
FROM pricequote.single_price_call(
|
||||
'BELL0039',
|
||||
'BELL0039',
|
||||
'XNS0T1G3X19B096PZBND',
|
||||
'v1:L.P.PLT..',
|
||||
82420
|
||||
) f;
|
||||
|
||||
SELECT * FROM rlarp.cust WHERE code = 'PACK0009'
|
||||
|
||||
-- SELECT * FROM pricequote.lastpricedetail l WHERE customer = 'HYBELS' AND l.partgroup = 'HZP3E100';
|
||||
--
|
||||
|
||||
SELECT
|
||||
pc.expl, pc.hist
|
||||
q.billto, q.shipto, q.part, q.v1ds, q.units_each, pc.tprice, pc.tmath
|
||||
FROM
|
||||
pricequote.live_quotes
|
||||
pricequote.live_quotes q
|
||||
LEFT JOIN LATERAL pricequote.single_price_call(
|
||||
billto, shipto, part, v1ds, units_each
|
||||
) pc ON TRUE
|
||||
WHERE
|
||||
qid = 113800
|
||||
AND qrn = 4;
|
||||
qid = 113761
|
||||
-- AND qrn = 4;
|
||||
|
||||
create table pricequote.target_prices_base as (
|
||||
with
|
||||
|
Loading…
Reference in New Issue
Block a user