vault backup: 2023-11-03 15:59:50

This commit is contained in:
Paul Trowbridge 2023-11-03 15:59:50 -04:00
parent cfa7960157
commit 3df3595aad
3 changed files with 4 additions and 3 deletions

View File

@ -1,2 +1,2 @@
--select gg.d from rlarp.get_guidance('DIAM0004','DIAM0004','AMK06000G18B054',5000,2024) gg(d);
select gg.d from rlarp.get_guidance($1,$2, $3, 5000,2024) gg(d);
select gg.d doc from rlarp.get_guidance($1,$2, $3, 5000,2024) gg(d);

View File

@ -51,7 +51,7 @@ BEGIN
----------------price history-------------------------------
SELECT jsonb_build_object('hist',rlarp.gethist(_mold, _cust)) INTO _rslt ;
RAISE NOTICE '%', _rslt;
--RAISE NOTICE '%', _rslt;
----------------target pricing------------------------------
SELECT

View File

@ -50,7 +50,8 @@ CREATE TABLE IF NOT EXISTS rlarp.price_pool_dev AS (
LEFT OUTER JOIN rlarp.cust c ON
c.code = CASE o.chan WHEN 'DIR' THEN o.bill_cust ELSE o.ship_cust END
WHERE
o.version <> '6/1 Order Book'
o.version IN ('Actual','Quotes')
AND o.oseas >= 2015
--AND o.part like 'SQL035%'
--AND o.calc_status <> 'CANCELED'
--AND o.fs_line = '41010'