include price level in debug data

This commit is contained in:
Paul Trowbridge 2025-10-21 10:28:14 -04:00
parent 82b68c80b3
commit 49ceebc696
3 changed files with 8 additions and 8 deletions

View File

@ -6,12 +6,12 @@ EXEC pricing.single_price_call
@v1ds = 'v1:B..PLT..', @v1ds = 'v1:B..PLT..',
@vol = 9600; @vol = 9600;
EXEC pricing.single_price_call EXEC pricing.pricing.single_price_call
@bill = 'FARM0001', @bill = 'VASA0002',
@ship = 'KEYB0001', @ship = 'VASA0004',
@part = 'HCA10000B661100', @part = 'HZP3E100E24C800',
@v1ds = 'v1:T..CSE..D', @v1ds = 'v1:T..CSE..',
@vol = 172000; @vol = 19200;
SELECT g.* SELECT g.*
FROM (SELECT FROM (SELECT
@ -27,8 +27,6 @@ SELECT * FROM pricing.lastpricedetail l WHERE customer = 'HYBELS' AND l.partgrou
SELECT * FROM pricing.pricelist_ranged pr WHERE pr.jcpart = 'XNS0T1G3G18B096' AND SELECT * FROM pricing.pricelist_ranged pr WHERE pr.jcpart = 'XNS0T1G3G18B096' AND
SELECT * FROM CMSInterfaceIN.[CMS.CUSLG].
EXEC pricing.single_price_call EXEC pricing.single_price_call
@bill = 'GRIF0001', @bill = 'GRIF0001',
@ship = 'GRIF0001', @ship = 'GRIF0001',

View File

@ -446,6 +446,7 @@ BEGIN
,q.last_premium AS last_premium ,q.last_premium AS last_premium
,q.last_premium_method AS last_premium_method ,q.last_premium_method AS last_premium_method
,q.last_price_norm AS last_price_norm ,q.last_price_norm AS last_price_norm
,q.plevel AS plevel
,q.listcode AS listcode ,q.listcode AS listcode
,q.listprice AS listprice ,q.listprice AS listprice
,q.listprice_eff AS listprice_eff ,q.listprice_eff AS listprice_eff

View File

@ -438,6 +438,7 @@ BEGIN
), ),
'list', 'list',
jsonb_build_object( jsonb_build_object(
'plevel', _plevel,
'listcode', _list_code, 'listcode', _list_code,
'listprice', _list_price, 'listprice', _list_price,
'listprice_eff', _listprice_eff, 'listprice_eff', _listprice_eff,