mip_quotation.pck - produce quotes for 'EXCHANGE'

V_QUOTE_DETAILS.vw - include hou_code

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3303 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
hardya
2008-01-18 16:04:45 +00:00
parent 40ebb2557f
commit e9b5c5a125
2 changed files with 1009 additions and 199 deletions

View File

@@ -13,6 +13,7 @@ SELECT *
,MAX(t.lead_time) over(PARTITION BY qute_id ORDER BY qute_id) AS lead_time
,get_quote_items(qute_id) AS additional_items
,MAX(t.bas_code) over(PARTITION BY qute_id) AS bas_code
,MAX(t.hou_code) over(PARTITION BY qute_id) AS hou_code
,MAX(t.qmax) over(PARTITION BY qute_id) AS qmax
,MAX(t.qmin) over(PARTITION BY qute_id) AS qmin
,MAX(t.inlet_orientation) over(PARTITION BY qute_id) AS inlet_orientation
@@ -44,3 +45,4 @@ COMMENT ON COLUMN v_quote_details.qmin IS 'The meter module''s Q min.';
COMMENT ON COLUMN v_quote_details.inlet_orientation IS 'The orientation of the meter inlet.';
COMMENT ON COLUMN v_quote_details.outlet_orientation IS 'The orientatino of the meter outlet.';
COMMENT ON COLUMN v_quote_details.total_cost IS 'The total cost of the quote. This figure excludes any lifting gear or purging.';
/