First initial commit
This commit is contained in:
23
vw_bi_fct_purchase_physical_contract.sql
Normal file
23
vw_bi_fct_purchase_physical_contract.sql
Normal file
@@ -0,0 +1,23 @@
|
||||
-- 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;
|
||||
Reference in New Issue
Block a user