CREATE OR REPLACE VIEW public.vw_bi_fct_purchase_physical_contract AS
 SELECT "intPurchaseLineId" AS "PurchaseLineId",
    "dtmDeliveryDateFrom" AS "Delivery Date From",
    "dtmDeliveryDateTo" AS "Delivery DateTo",
    "dblQuantity" AS "Quantity",
    "dblInTransitQuantity" AS "In Transit Quantity",
    "dblDropshippedQuantity" AS "Dropship Quantity",
    "dblReceivedQuantity" AS "Received Quantity",
    "dblPrice" AS "Price",
    "dblUnitPrice" AS "Unit Price",
    "dblTheoriticalQuantity" AS "Theoretical Quantity",
    "dblLineAmount" AS "Line Amount",
    "dblPhysicalQty" AS "Physical Quantity",
    "dblOpenQuantity" AS "Open Quantity",
    "dblInInstructedQuantity" AS "Instructed Quantity"
   FROM vw_utility_purchase_physical_contract pc;;
