commit: 2025-08-07 02:20:36

This commit is contained in:
Paul Trowbridge 2025-08-07 02:20:36 -04:00
parent fe67caf1af
commit d9ccc7b2a8
2 changed files with 7 additions and 2 deletions

View File

@ -14,7 +14,10 @@ EXEC pricing.single_price_call
@v1ds = 'v1:B..PLT..', @v1ds = 'v1:B..PLT..',
@vol = 9600; @vol = 9600;
SELECT * FROM FAnalysis.PRICING.lastprice l SELECT * FROM pricing.pick
SELECT * FROM FAnalysis.PRICING.lastpricedetail l OUTER apply pricing.pick_last_price_from_hist_json (part_stats,'v1:B..PLT..') x WHERE customer = 'GRIFFIN' AND partgroup = 'XNS0T1G3'
SELECT SELECT

View File

@ -5,11 +5,13 @@
'GRIF0001' , 'GRIF0001' ,
'XNS0T1G3G18B096' , 'XNS0T1G3G18B096' ,
'v1:B..PLT..', 'v1:B..PLT..',
100000 9600
) )
SELECT pricing FROM rlarp.osm_stack l WHERE l.customer ='CROS-B-CREST FARM' AND partgroup = 'STG04250' SELECT pricing FROM rlarp.osm_stack l WHERE l.customer ='CROS-B-CREST FARM' AND partgroup = 'STG04250'
SELECT * FROM pricequote.lastpricedetail l LEFT JOIN lateral pricequote.pick_last_price_from_hist (part_stats,'v1:B..PLT..') x ON TRUE WHERE customer = 'GRIFFIN' AND partgroup = 'XNS0T1G3'
CALL pricequote.process_queue() CALL pricequote.process_queue()
REFRESH MATERIALIZED VIEW rlarp.osm_stack_pretty; REFRESH MATERIALIZED VIEW rlarp.osm_stack_pretty;