Dump - ITSA views
This commit is contained in:
@@ -55,7 +55,8 @@ CREATE OR REPLACE VIEW public.vw_bi_dim_purchase_physical_contract AS
|
||||
COALESCE(mtm."strComponentCurve", 'Undefined'::character varying) AS "MtM Component Curve",
|
||||
dpc."strCounterpartyCountry" AS "Supplier Country",
|
||||
COALESCE(pvl."strState", ('Undefined'::character varying)::text) AS "Price Fixing Status",
|
||||
(dpc."intPurchaseLineId" || '_0'::text) AS "strTradeId"
|
||||
(dpc."intPurchaseLineId" || '_0'::text) AS "strTradeId",
|
||||
COALESCE(mtm."strStrategyAltName", ('Undefined'::character varying)::text) AS "MtM Strategy Aternative Name"
|
||||
FROM ((vw_utility_dim_physical_purchase_contract dpc
|
||||
LEFT JOIN vw_utility_physical_mtm_definition mtm ON (((dpc."intPurchaseLineId" = mtm."intContractLineId") AND (mtm."strContractType" = 'Purchase'::text) AND ((mtm."strComponentFixType")::text = 'Market price'::text))))
|
||||
LEFT JOIN pricingstatus pvl ON ((dpc."intPurchaseLineId" = pvl."intContractLineId")));;
|
||||
|
||||
Reference in New Issue
Block a user