24 lines
947 B
SQL
24 lines
947 B
SQL
-- View: public.vw_bi_fct_purchase_physical_contract
|
|
|
|
-- DROP VIEW public.vw_bi_fct_purchase_physical_contract;
|
|
|
|
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;
|
|
|
|
ALTER TABLE public.vw_bi_fct_purchase_physical_contract
|
|
OWNER TO postgres;
|