First initial commit

This commit is contained in:
AzureAD\SylvainDUVERNAY
2026-01-07 14:38:55 +01:00
parent 0d02c89192
commit 022f4e0a2a
16 changed files with 587 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
-- View: public.vw_bi_dim_purchase_physical_contract
-- DROP VIEW public.vw_bi_dim_purchase_physical_contract;
CREATE OR REPLACE VIEW public.vw_bi_dim_purchase_physical_contract AS
SELECT "intPurchaseLineId",
"strContractNb" AS "Contract Nb",
"strCounterparty" AS "Supplier",
"strReference" AS "Contract Ref",
"dtmContractDate" AS "Contract Date",
"strContractStatus" AS "Contract Status",
"strPaymentTerm" AS "Payment Terms",
"strCurrency" AS "Currency",
"strWeightBasis" AS "Weight Basis",
"strBroker" AS "Broker",
"strCertif" AS "Certification",
"strAssociation" AS "Association",
"strCrop" AS "Crop",
"dblTolMinPct" AS "Tolerance Min %",
"dblTolMaxPct" AS "Tolerance Max %",
"strIncoterm" AS "Inco Terms",
"strLoadingPlace" AS "Loading Place",
"strDestinationPlace" AS "Destination Place",
"strProduct" AS "Product",
"strDeliveryPeriod" AS "Delivery Period"
FROM vw_utility_dim_physical_purchase_contract dpc;
ALTER TABLE public.vw_bi_dim_purchase_physical_contract
OWNER TO postgres;