commit: 2025-08-10 23:04:53

This commit is contained in:
Paul Trowbridge 2025-08-10 23:04:53 -04:00
parent fe2145b7d2
commit e04021caa1
2 changed files with 9 additions and 5 deletions

View File

@ -3,12 +3,18 @@ EXEC pricing.single_price_call
@bill = 'FARM0001', @bill = 'FARM0001',
@ship = 'KEYB0001', @ship = 'KEYB0001',
@part = 'HZP3E100E21D050', @part = 'HZP3E100E21D050',
@v1ds = 'v1:T..PLT..', @v1ds = 'v1:T..BDL..',
@vol = 50000; @vol = 50000;
EXEC pricing.single_price_call
@bill = 'GRIF0001',
@ship = 'GRIF0001',
@part = 'XNS0T1G3G18B96',
@v1ds = 'v1:B..PLT..',
@vol = 9600;
SELECT SELECT
* guidance_price, ui_json
FROM pricing.single_price_call_fn( FROM pricing.single_price_call_fn(
'GRIF0001', 'GRIF0001',
'GRIF0001', 'GRIF0001',

View File

@ -4,9 +4,7 @@ FROM pricequote.single_price_call(
'FARM0001', 'FARM0001',
'KEYB0001', 'KEYB0001',
'HZP3E100E21D050', 'HZP3E100E21D050',
'v1:L..BDL..', 'v1:T..BDL..',
50000 50000
) f ) f
SELECT * FROM pricequote.target_prices tp WHERE tp.stlc = 'HZP3E100' AND ds = 'v1:T..PLT..' and chan = 'DRP' and tier = '1' and vol @> 1;