Commit all views
This commit is contained in:
@@ -15,8 +15,8 @@ CREATE OR REPLACE VIEW public.vw_bi_itsa_fct_contract_fees AS
|
||||
"strUnit" AS "Unit",
|
||||
(("dblQuantity" * "dblPrice") * ("dblSignMultiplier")::numeric) AS "Amount",
|
||||
CASE
|
||||
WHEN (upper(("strProduct")::text) = 'MARITIME FREIGHT'::text) THEN "strProduct"
|
||||
WHEN (upper(("strProduct")::text) = 'PROFIT SHARING'::text) THEN "strProduct"
|
||||
WHEN (upper(("strProduct")::text) = 'MARITIME FREIGHT'::text) THEN 'Freight'::character varying
|
||||
WHEN (upper(("strProduct")::text) = 'PROFIT SHARING'::text) THEN 'Profit Sharing'::character varying
|
||||
ELSE 'Other Costs'::character varying
|
||||
END AS "Cost Group"
|
||||
FROM vw_utility_contract_fees;;
|
||||
|
||||
Reference in New Issue
Block a user