commit: 2025-04-09 06:22:24

This commit is contained in:
Paul Trowbridge 2025-04-09 06:22:24 -04:00
parent 2cf2e6efc4
commit b3e06fec14
5 changed files with 9351 additions and 52 deletions

104
columns
View File

@ -1,52 +1,52 @@
fspr fspr
plnt plnt
promo promo
terms terms
bill_cust_descr bill_cust_descr
ship_cust_descr ship_cust_descr
dsm dsm
quota_rep_descr quota_rep_descr
director director
billto_group billto_group
shipto_group shipto_group
chan chan
chansub chansub
chan_retail chan_retail
part part
part_descr part_descr
part_group part_group
branding branding
majg_descr majg_descr
ming_descr ming_descr
majs_descr majs_descr
mins_descr mins_descr
segm segm
substance substance
fs_line fs_line
r_currency r_currency
r_rate r_rate
c_currency c_currency
c_rate c_rate
units units
value_loc value_loc
value_usd value_usd
cost_loc cost_loc
cost_usd cost_usd
calc_status calc_status
flag flag
order_date order_date
order_month order_month
order_season order_season
request_date request_date
request_month request_month
request_season request_season
ship_date ship_date
ship_month ship_month
ship_season ship_season
version version
iter iter
logid logid
tag tag
comment comment
module module
pounds pounds

View File

@ -0,0 +1,2 @@
with clist as (select shipto_group, dsm, sum(pounds) pounds from rlarp.osm_pool where order_season = 2026 group by shipto_group, dsm) select * from clist c left outer join rlarp.cust_flag f ON f.shipgrp = shipto_group and f.dsm = c.dsm;

7
inquirey/versions.pg.sql Normal file
View File

@ -0,0 +1,7 @@
select
tag, comment, sum(value_usd), sum(pounds)
from
rlarp.osm_pool
group by
tag, comment;

File diff suppressed because it is too large Load Diff

4805
offline/price_down.pg.sql Normal file

File diff suppressed because it is too large Load Diff