From ba8a2b094a1c47d22f2370482ed69a3c96088aae Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 16 Feb 2009 21:53:18 +0000 Subject: [PATCH] Added contact types for supplier orders --- mysql/data/data.sql | 7 +++++++ mysql/migration/2.5.0-2.6.0.sql | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/mysql/data/data.sql b/mysql/data/data.sql index 5a892258cb0..b20a0311bb4 100644 --- a/mysql/data/data.sql +++ b/mysql/data/data.sql @@ -1287,6 +1287,13 @@ insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) v insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (72, 'facture_fourn', 'external', 'SHIPPING', 'Contact fournisseur livraison', 1); insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (73, 'facture_fourn', 'external', 'SERVICE', 'Contact fournisseur prestation', 1); +insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (140,'commande_fourn','internal', 'SALESREPFOLL', 'Responsable suivi de la commande', 1); +insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (141,'commande_fourn','internal', 'SHIPPING', 'Responsable réception de la commande', 1); +insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (142,'commande_fourn','external', 'BILLING', 'Contact fournisseur facturation commande', 1); +insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (143,'commande_fourn','external', 'CUSTOMER', 'Contact fournisseur suivi commande', 1); +insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (145,'commande_fourn','external', 'SHIPPING', 'Contact fournisseur livraison commande', 1); + + -- -- Eco-Taxes -- diff --git a/mysql/migration/2.5.0-2.6.0.sql b/mysql/migration/2.5.0-2.6.0.sql index f8cc0919812..5c8ae9f15a0 100644 --- a/mysql/migration/2.5.0-2.6.0.sql +++ b/mysql/migration/2.5.0-2.6.0.sql @@ -6,6 +6,13 @@ -- when current version is 2.4.0 or higher. -- +insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (140,'commande_fourn','internal', 'SALESREPFOLL', 'Responsable suivi de la commande', 1); +insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (141,'commande_fourn','internal', 'SHIPPING', 'Responsable réception de la commande', 1); +insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (142,'commande_fourn','external', 'BILLING', 'Contact fournisseur facturation commande', 1); +insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (143,'commande_fourn','external', 'CUSTOMER', 'Contact fournisseur suivi commande', 1); +insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (145,'commande_fourn','external', 'SHIPPING', 'Contact fournisseur livraison commande', 1); + + alter table llx_expedition_methode change statut active tinyint DEFAULT 1; update llx_actioncomm set datep = datea where datep is null;