nouvelle version pour dolibarr 1.1.0
This commit is contained in:
parent
1616f15175
commit
997249c225
@ -1,5 +1,6 @@
|
|||||||
--
|
--
|
||||||
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- $Id$
|
||||||
-- $Source$
|
-- $Source$
|
||||||
@ -22,92 +23,216 @@
|
|||||||
-- Valeurs pour les bases de langues francaises
|
-- Valeurs pour les bases de langues francaises
|
||||||
--
|
--
|
||||||
|
|
||||||
delete from llx_c_chargesociales;
|
insert into llx_cond_reglement values (1,1,1, 'A réception','Réception de facture',0,0);
|
||||||
insert into llx_c_chargesociales (id,libelle,deductible) values ( 1, 'Allocations familiales',1);
|
insert into llx_cond_reglement values (2,2,1, '30 jours','Réglement à 30 jours',0,30);
|
||||||
insert into llx_c_chargesociales (id,libelle,deductible) values ( 2, 'GSG Deductible',1);
|
insert into llx_cond_reglement values (3,3,1, '30 jours fin de mois','Réglement à 30 jours fin de mois',1,30);
|
||||||
insert into llx_c_chargesociales (id,libelle,deductible) values ( 3, 'GSG/CRDS NON Deductible',0);
|
insert into llx_cond_reglement values (4,4,1, '60 jours','Réglement à 60 jours',0,60);
|
||||||
|
insert into llx_cond_reglement values (5,5,1, '60 jours fin de mois','Réglement à 60 jours fin de mois',1,60);
|
||||||
|
|
||||||
|
|
||||||
delete from llx_c_actioncomm;
|
insert into llx_sqltables (name, loaded) values ('llx_album',0);
|
||||||
insert into llx_c_actioncomm (id,libelle) values ( 0, '-');
|
|
||||||
insert into llx_c_actioncomm (id,libelle) values ( 1, 'Appel Téléphonique');
|
|
||||||
insert into llx_c_actioncomm (id,libelle) values ( 2, 'Envoi Fax');
|
|
||||||
insert into llx_c_actioncomm (id,libelle) values ( 3, 'Envoi propal par mail');
|
|
||||||
insert into llx_c_actioncomm (id,libelle) values ( 4, 'Envoi d\'un email');
|
|
||||||
insert into llx_c_actioncomm (id,libelle) values ( 5, 'Rendez-vous');
|
|
||||||
insert into llx_c_actioncomm (id,libelle) values ( 9, 'Envoi Facture');
|
|
||||||
insert into llx_c_actioncomm (id,libelle) values (10, 'Relance effectuée');
|
|
||||||
insert into llx_c_actioncomm (id,libelle) values (11, 'Clôture');
|
|
||||||
|
|
||||||
delete from llx_c_stcomm;
|
--
|
||||||
insert into llx_c_stcomm (id,libelle) values (-1, 'NE PAS CONTACTER');
|
-- Définition des action de workflow
|
||||||
insert into llx_c_stcomm (id,libelle) values ( 0, 'Jamais contacté');
|
--
|
||||||
insert into llx_c_stcomm (id,libelle) values ( 1, 'A contacter');
|
delete from llx_action_def;
|
||||||
insert into llx_c_stcomm (id,libelle) values ( 2, 'Contact en cours');
|
insert into llx_action_def (rowid,titre,description,objet_type) VALUES (1,'Validation fiche intervention','Déclenché lors de la validation d\'une fiche d\'intervention','ficheinter');
|
||||||
insert into llx_c_stcomm (id,libelle) values ( 3, 'Contactée');
|
insert into llx_action_def (rowid,titre,description,objet_type) VALUES (2,'Validation facture','Déclenché lors de la validation d\'une facture','facture');
|
||||||
|
|
||||||
delete from llx_c_typent;
|
--
|
||||||
insert into llx_c_typent (id,libelle) values ( 0, 'Indifférent');
|
-- Boites
|
||||||
insert into llx_c_typent (id,libelle) values ( 1, 'Start-up');
|
--
|
||||||
insert into llx_c_typent (id,libelle) values ( 2, 'Grand groupe');
|
delete from llx_boxes_def;
|
||||||
insert into llx_c_typent (id,libelle) values ( 3, 'PME/PMI');
|
|
||||||
insert into llx_c_typent (id,libelle) values ( 4, 'Administration');
|
|
||||||
insert into llx_c_typent (id,libelle) values (100, 'Autres');
|
|
||||||
|
|
||||||
delete from llx_c_pays;
|
delete from llx_boxes;
|
||||||
insert into llx_c_pays (id,libelle,code) values (0, 'France', 'FR');
|
--
|
||||||
insert into llx_c_pays (id,libelle,code) values (2, 'Belgique', 'BE');
|
-- Constantes de configuration
|
||||||
insert into llx_c_pays (id,libelle,code) values (3, 'Italie', 'IT');
|
--
|
||||||
insert into llx_c_pays (id,libelle,code) values (4, 'Espagne', 'ES');
|
insert into llx_const(name, value, type, note) values ('MAIN_MONNAIE','euros','chaine','Monnaie');
|
||||||
insert into llx_c_pays (id,libelle,code) values (5, 'Allemagne', 'DE');
|
insert into llx_const(name, value, type, note) values ('MAIN_NOT_INSTALLED','1','chaine','Test d\'installation');
|
||||||
insert into llx_c_pays (id,libelle,code) values (6, 'Suisse', 'CH');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (7, 'Royaume uni', 'GB');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (8, 'Irlande', 'IE');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (9, 'Chine', 'CN');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (10, 'Tunisie', 'TN');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (11, 'Etats Unis', 'US');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (12, 'Maroc', 'MA');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (13, 'Algérie', 'DZ');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (14, 'Canada', 'CA');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (15, 'Togo', 'TG');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (16, 'Gabon', 'GA');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (17, 'Pays Bas', 'NL');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (18, 'Hongrie', 'HU');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (19, 'Russie', 'RU');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (20, 'Suède', 'SE');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (21, 'Côte d\'Ivoire', 'CI');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (23, 'Sénégal', 'SN');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (24, 'Argentine', 'AR');
|
|
||||||
insert into llx_c_pays (id,libelle,code) values (25, 'Cameroun', 'CM');
|
|
||||||
|
|
||||||
delete from llx_c_effectif;
|
insert into llx_const(name, value, type, note) values ('MAIN_START_YEAR','2004','chaine','Année de départ');
|
||||||
insert into llx_c_effectif (id,libelle) values (0, 'Non spécifié');
|
|
||||||
insert into llx_c_effectif (id,libelle) values (1, '1 - 5');
|
|
||||||
insert into llx_c_effectif (id,libelle) values (2, '6 - 10');
|
|
||||||
insert into llx_c_effectif (id,libelle) values (3, '11 - 50');
|
|
||||||
insert into llx_c_effectif (id,libelle) values (4, '51 - 100');
|
|
||||||
insert into llx_c_effectif (id,libelle) values (5, '100 - 500');
|
|
||||||
insert into llx_c_effectif (id,libelle) values (6, '> 500');
|
|
||||||
|
|
||||||
delete from llx_c_paiement;
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_THEME','yellow','chaine','Thème par défaut');
|
||||||
insert into llx_c_paiement (id,libelle,type) values (0, '-', 3);
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_TITLE','Dolibarr','chaine','Titre des pages');
|
||||||
insert into llx_c_paiement (id,libelle,type) values (1, 'TIP', 1);
|
|
||||||
insert into llx_c_paiement (id,libelle,type) values (2, 'Virement', 2);
|
|
||||||
insert into llx_c_paiement (id,libelle,type) values (3, 'Prélèvement', 1);
|
|
||||||
insert into llx_c_paiement (id,libelle,type) values (4, 'Liquide', 0);
|
|
||||||
insert into llx_c_paiement (id,libelle,type) values (5, 'Paiement en ligne', 0);
|
|
||||||
insert into llx_c_paiement (id,libelle,type) values (6, 'CB', 1);
|
|
||||||
insert into llx_c_paiement (id,libelle,type) values (7, 'Chèque', 2);
|
|
||||||
|
|
||||||
delete from llx_c_propalst;
|
|
||||||
insert into llx_c_propalst (id,label) values (0, 'Brouillon');
|
insert into llx_const(name, value, type) values ('DONS_FORM','fsfe.fr.php','chaine');
|
||||||
insert into llx_c_propalst (id,label) values (1, 'Ouverte');
|
|
||||||
insert into llx_c_propalst (id,label) values (2, 'Signée');
|
|
||||||
insert into llx_c_propalst (id,label) values (3, 'Non Signée');
|
|
||||||
insert into llx_c_propalst (id,label) values (4, 'Facturée');
|
insert into llx_const(name, value, type, note) values ('MAIN_SEARCHFORM_SOCIETE','1','yesno','Affichage du formulaire de recherche des sociétés dans la barre de gauche');
|
||||||
|
insert into llx_const(name, value, type, note) values ('MAIN_SEARCHFORM_CONTACT','1','yesno','Affichage du formulaire de recherche des contacts dans la barre de gauche');
|
||||||
|
|
||||||
|
insert into llx_const(name, value, type, note) values ('COMPTA_ONLINE_PAYMENT_BPLC','1','yesno','Système de gestion de la banque populaire de Lorraine');
|
||||||
|
|
||||||
|
insert into llx_const(name, value, type, note) values ('COMPTA_BANK_FACTURES','1','yesno','Menu factures dans la partie bank');
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Mail Adherent
|
||||||
|
--
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_MAIL_RESIL','Votre adhesion sur %SERVEUR% vient d\'etre resilie.\r\nNous esperons vous revoir tres bientot','texte','Mail de Resiliation');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_MAIL_VALID','MAIN\r\nVotre adhesion vient d\'etre validee. \r\nVoici le rappel de vos coordonnees (toute information erronee entrainera la non validation de votre inscription) :\r\n\r\n%INFO%\r\n\r\nVous pouvez a tout moment, grace a votre login et mot de passe, modifier vos coordonnees a l\'adresse suivante : \r\n%SERVEUR%public/adherents/','texte','Mail de validation');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_MAIL_EDIT','Voici le rappel des coordonnees que vous avez modifiees (toute information erronee entrainera la non validation de votre inscription) :\r\n\r\n%INFO%\r\n\r\nVous pouvez a tout moment, grace a votre login et mot de passe, modifier vos coordonnees a l\'adresse suivante :\r\n%SERVEUR%public/adherents/','texte','Mail d\'edition');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_MAIL_NEW','Merci de votre inscription. Votre adhesion devrait etre rapidement validee.\r\nVoici le rappel des coordonnees que vous avez rentrees (toute information erronee entrainera la non validation de votre inscription) :\r\n\r\n%INFO%\r\n\r\nVous pouvez a tout moment, grace a votre login et mot de passe, modifier vos coordonnees a l\'adresse suivante :\r\n%SERVEUR%public/adherents/','texte','Mail de nouvel inscription');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_MAIL_COTIS','Bonjour %PRENOM%,\r\nMerci de votre inscription.\r\nCet email confirme que votre cotisation a ete recue et enregistree.\r\n\r\nVous pouvez a tout moment, grace a votre login et mot de passe, modifier vos coordonnees a l\'adresse suivante :\r\n%SERVEUR%public/adherents/','texte','Mail de validation de cotisation');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_MAIL_VALID_SUBJECT','Votre adhésion a ete validée sur %SERVEUR%','chaine','sujet du mail de validation');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_MAIL_RESIL_SUBJECT','Resiliation de votre adhesion sur %SERVEUR%','chaine','sujet du mail de resiliation');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_MAIL_COTIS_SUBJECT','Recu de votre cotisation','chaine','sujet du mail de validation de cotisation');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('SIZE_LISTE_LIMIT','20','chaine','Taille des listes');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_MAIL_NEW_SUBJECT','Bienvenue sur %SERVEUR%','chaine','Sujet du mail de nouvelle adhesion');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_MAIL_EDIT_SUBJECT','Votre fiche a ete editee sur %SERVEUR%','chaine','Sujet du mail d\'edition');
|
||||||
|
--
|
||||||
|
-- Mailman
|
||||||
|
--
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_USE_MAILMAN','0','yesno','Utilisation de Mailman');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_MAILMAN_UNSUB_URL','http://%SERVER%/cgi-bin/mailman/admin/%LISTE%/members?adminpw=%ADMINPW%&user=%EMAIL%','chaine','Url de desinscription aux listes mailman');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_MAILMAN_URL','http://%SERVER%/cgi-bin/mailman/admin/%LISTE%/members?adminpw=%ADMINPW%&send_welcome_msg_to_this_batch=1&subscribees=%EMAIL%','chaine','url pour les inscriptions mailman');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_MAILMAN_LISTS','test-test,test-test2','chaine','Listes auxquelles inscrire les nouveaux adherents');
|
||||||
|
insert into llx_const(name, value, type, note, visible) values ('ADHERENT_MAILMAN_ADMINPW','','chaine','Mot de passe Admin des liste mailman',0);
|
||||||
|
insert into llx_const(name, value, type, note, visible) values ('ADHERENT_MAILMAN_SERVER','lists.domain.com','chaine','Serveur hebergeant les interfaces d\'Admin des listes mailman',0);
|
||||||
|
insert into llx_const(name, value, type, note, visible) values ('ADHERENT_MAILMAN_LISTS_COTISANT','','chaine','Liste(s) auxquelles les nouveaux cotisants sont inscris automatiquement',0);
|
||||||
|
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_DEBUG','1','yesno','Debug ..');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_USE_GLASNOST','0','yesno','utilisation de glasnost ?');
|
||||||
|
--
|
||||||
|
-- Glasnost
|
||||||
|
--
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_GLASNOST_SERVEUR','glasnost.j1b.org','chaine','serveur glasnost');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_GLASNOST_USER','user','chaine','Administrateur glasnost');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_GLASNOST_PASS','password','chaine','password de l\'administrateur');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_USE_GLASNOST_AUTO','0','yesno','inscription automatique a glasnost ?');
|
||||||
|
--
|
||||||
|
-- SPIP
|
||||||
|
--
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_USE_SPIP','0','yesno','Utilisation de SPIP ?');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_USE_SPIP_AUTO','0','yesno','Utilisation de SPIP automatiquement');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_SPIP_USER','user','chaine','user spip');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_SPIP_PASS','pass','chaine','Pass de connection');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_SPIP_SERVEUR','localhost','chaine','serveur spip');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_SPIP_DB','spip','chaine','db spip');
|
||||||
|
--
|
||||||
|
-- cartes adherents
|
||||||
|
--
|
||||||
|
insert into llx_const(name, value, type, note, visible) values ('ADHERENT_TEXT_NEW_ADH','','texte','Texte d\'entete du formaulaire d\'adhesion en ligne',0);
|
||||||
|
insert into llx_const(name, value, type, note, visible) values ('ADHERENT_CARD_HEADER_TEXT','%ANNEE%','chaine','Texte imprime sur le haut de la carte adherent',0);
|
||||||
|
insert into llx_const(name, value, type, note, visible) values ('ADHERENT_CARD_FOOTER_TEXT','Association FreeLUG http://www.freelug.org/','chaine','Texte imprime sur le bas de la carte adherent',0);
|
||||||
|
insert into llx_const(name, value, type, note, visible) values ('ADHERENT_CARD_TEXT','%TYPE% n° %ID%\r\n%PRENOM% %NOM%\r\n<%EMAIL%>\r\n%ADRESSE%\r\n%CP% %VILLE%\r\n%PAYS%','texte','Texte imprime sur la carte adherent',0);
|
||||||
|
--
|
||||||
|
-- OsCommerce
|
||||||
|
--
|
||||||
|
INSERT INTO llx_const(name, value, type) VALUES ('DB_NAME_OSC','catalog','chaine');
|
||||||
|
INSERT INTO llx_const(name, value, type) VALUES ('OSC_LANGUAGE_ID','1','chaine');
|
||||||
|
INSERT INTO llx_const(name, value, type) VALUES ('OSC_CATALOG_URL','http://osc.lafrere.lan/','chaine');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MAIL_FROM','adherents@domain.com','chaine','From des mails');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('ADHERENT_MAIL_FROM','adherents@domain.com','chaine','From des mails adherents');
|
||||||
|
--
|
||||||
|
-- Menus
|
||||||
|
--
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MENU_BARRETOP','default.php','chaine','Module commande');
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Constantes
|
||||||
|
--
|
||||||
|
|
||||||
|
delete from c_chargesociales;
|
||||||
|
insert into c_chargesociales (id,libelle,deductible) values ( 1, 'Allocations familiales',1);
|
||||||
|
insert into c_chargesociales (id,libelle,deductible) values ( 2, 'GSG Deductible',1);
|
||||||
|
insert into c_chargesociales (id,libelle,deductible) values ( 3, 'GSG/CRDS NON Deductible',0);
|
||||||
|
|
||||||
|
|
||||||
|
delete from c_actioncomm;
|
||||||
|
insert into c_actioncomm (id,libelle) values ( 0, '-');
|
||||||
|
insert into c_actioncomm (id,libelle) values ( 1, 'Appel Téléphonique');
|
||||||
|
insert into c_actioncomm (id,libelle) values ( 2, 'Envoi Fax');
|
||||||
|
insert into c_actioncomm (id,libelle) values ( 3, 'Envoi propal par mail');
|
||||||
|
insert into c_actioncomm (id,libelle) values ( 4, 'Envoi d\'un email');
|
||||||
|
insert into c_actioncomm (id,libelle) values ( 5, 'Rendez-vous');
|
||||||
|
insert into c_actioncomm (id,libelle) values ( 9, 'Envoi Facture');
|
||||||
|
insert into c_actioncomm (id,libelle) values (10, 'Relance effectuée');
|
||||||
|
insert into c_actioncomm (id,libelle) values (11, 'Clôture');
|
||||||
|
|
||||||
|
delete from c_stcomm;
|
||||||
|
insert into c_stcomm (id,libelle) values (-1, 'NE PAS CONTACTER');
|
||||||
|
insert into c_stcomm (id,libelle) values ( 0, 'Jamais contacté');
|
||||||
|
insert into c_stcomm (id,libelle) values ( 1, 'A contacter');
|
||||||
|
insert into c_stcomm (id,libelle) values ( 2, 'Contact en cours');
|
||||||
|
insert into c_stcomm (id,libelle) values ( 3, 'Contactée');
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Types d'entreprise
|
||||||
|
--
|
||||||
|
delete from c_typent;
|
||||||
|
insert into c_typent (id,libelle) values ( 0, 'Indifférent');
|
||||||
|
insert into c_typent (id,libelle) values ( 1, 'Start-up');
|
||||||
|
insert into c_typent (id,libelle) values ( 2, 'Grand groupe');
|
||||||
|
insert into c_typent (id,libelle) values ( 3, 'PME/PMI');
|
||||||
|
insert into c_typent (id,libelle) values ( 4, 'Administration');
|
||||||
|
insert into c_typent (id,libelle) values (100, 'Autres');
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Pays
|
||||||
|
--
|
||||||
|
delete from c_pays;
|
||||||
|
insert into c_pays (id,libelle,code) values (0, 'France', 'FR');
|
||||||
|
insert into c_pays (id,libelle,code) values (2, 'Belgique', 'BE');
|
||||||
|
insert into c_pays (id,libelle,code) values (3, 'Italie', 'IT');
|
||||||
|
insert into c_pays (id,libelle,code) values (4, 'Espagne', 'ES');
|
||||||
|
insert into c_pays (id,libelle,code) values (5, 'Allemagne', 'DE');
|
||||||
|
insert into c_pays (id,libelle,code) values (6, 'Suisse', 'CH');
|
||||||
|
insert into c_pays (id,libelle,code) values (7, 'Royaume uni', 'GB');
|
||||||
|
insert into c_pays (id,libelle,code) values (8, 'Irlande', 'IE');
|
||||||
|
insert into c_pays (id,libelle,code) values (9, 'Chine', 'CN');
|
||||||
|
insert into c_pays (id,libelle,code) values (10, 'Tunisie', 'TN');
|
||||||
|
insert into c_pays (id,libelle,code) values (11, 'Etats Unis', 'US');
|
||||||
|
insert into c_pays (id,libelle,code) values (12, 'Maroc', 'MA');
|
||||||
|
insert into c_pays (id,libelle,code) values (13, 'Algérie', 'DZ');
|
||||||
|
insert into c_pays (id,libelle,code) values (14, 'Canada', 'CA');
|
||||||
|
insert into c_pays (id,libelle,code) values (15, 'Togo', 'TG');
|
||||||
|
insert into c_pays (id,libelle,code) values (16, 'Gabon', 'GA');
|
||||||
|
insert into c_pays (id,libelle,code) values (17, 'Pays Bas', 'NL');
|
||||||
|
insert into c_pays (id,libelle,code) values (18, 'Hongrie', 'HU');
|
||||||
|
insert into c_pays (id,libelle,code) values (19, 'Russie', 'RU');
|
||||||
|
insert into c_pays (id,libelle,code) values (20, 'Suède', 'SE');
|
||||||
|
insert into c_pays (id,libelle,code) values (21, 'Côte d\'Ivoire', 'CI');
|
||||||
|
insert into c_pays (id,libelle,code) values (23, 'Sénégal', 'SN');
|
||||||
|
insert into c_pays (id,libelle,code) values (24, 'Argentine', 'AR');
|
||||||
|
insert into c_pays (id,libelle,code) values (25, 'Cameroun', 'CM');
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Effectif des sociétés
|
||||||
|
--
|
||||||
|
delete from c_effectif;
|
||||||
|
insert into c_effectif (id,libelle) values (0, 'Non spécifié');
|
||||||
|
insert into c_effectif (id,libelle) values (1, '1 - 5');
|
||||||
|
insert into c_effectif (id,libelle) values (2, '6 - 10');
|
||||||
|
insert into c_effectif (id,libelle) values (3, '11 - 50');
|
||||||
|
insert into c_effectif (id,libelle) values (4, '51 - 100');
|
||||||
|
insert into c_effectif (id,libelle) values (5, '100 - 500');
|
||||||
|
insert into c_effectif (id,libelle) values (6, '> 500');
|
||||||
|
|
||||||
|
delete from c_paiement;
|
||||||
|
insert into c_paiement (id,libelle,type) values (0, '-', 3);
|
||||||
|
insert into c_paiement (id,libelle,type) values (1, 'TIP', 1);
|
||||||
|
insert into c_paiement (id,libelle,type) values (2, 'Virement', 2);
|
||||||
|
insert into c_paiement (id,libelle,type) values (3, 'Prélèvement', 1);
|
||||||
|
insert into c_paiement (id,libelle,type) values (4, 'Liquide', 0);
|
||||||
|
insert into c_paiement (id,libelle,type) values (5, 'Paiement en ligne', 0);
|
||||||
|
insert into c_paiement (id,libelle,type) values (6, 'CB', 1);
|
||||||
|
insert into c_paiement (id,libelle,type) values (7, 'Chèque', 2);
|
||||||
|
|
||||||
|
delete from c_propalst;
|
||||||
|
insert into c_propalst (id,label) values (0, 'Brouillon');
|
||||||
|
insert into c_propalst (id,label) values (1, 'Ouverte');
|
||||||
|
insert into c_propalst (id,label) values (2, 'Signée');
|
||||||
|
insert into c_propalst (id,label) values (3, 'Non Signée');
|
||||||
|
insert into c_propalst (id,label) values (4, 'Facturée');
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Utilisateur
|
-- Utilisateur
|
||||||
--
|
--
|
||||||
insert into llx_user (name,firstname,code,login,pass,module_comm,module_compta,admin,webcal_login)
|
-- Creation du login admin lors de l'installation
|
||||||
values ('Quiedeville','Rodolphe','RQ','rodo','CRnN0Tam/s7z.',1,1,1,'rodo');
|
insert into llx_user (name,firstname,code,login,pass,module_comm,module_compta,admin)
|
||||||
|
values ('Admin','Admin','ADM','admin','admin',1,1,1);
|
||||||
|
|
||||||
|
|||||||
@ -22,6 +22,7 @@
|
|||||||
-- Ne pas hésiter a compléter ce fichier avec de nouvelles valeurs, plus on a
|
-- Ne pas hésiter a compléter ce fichier avec de nouvelles valeurs, plus on a
|
||||||
-- de données, mieux on peut tester l'appli.
|
-- de données, mieux on peut tester l'appli.
|
||||||
-- ===========================================================================
|
-- ===========================================================================
|
||||||
|
|
||||||
delete from llx_tva;
|
delete from llx_tva;
|
||||||
insert into llx_tva (datep, datev, amount) values ('2001-11-11','2001-10-01', 1960.00);
|
insert into llx_tva (datep, datev, amount) values ('2001-11-11','2001-10-01', 1960.00);
|
||||||
insert into llx_tva (datep, datev, amount) values ('2001-04-11','2001-01-01', 2000.00);
|
insert into llx_tva (datep, datev, amount) values ('2001-04-11','2001-01-01', 2000.00);
|
||||||
@ -46,106 +47,214 @@ values ('02-11-YHGT',2,now(),'2002-11-01',1,1000,0,196,1196,1,NULL,NULL,'');
|
|||||||
insert into llx_facture_fourn (facnumber, fk_soc, datec, datef, paye, amount, remise, tva, total, fk_statut, fk_user_author, fk_user_valid, note)
|
insert into llx_facture_fourn (facnumber, fk_soc, datec, datef, paye, amount, remise, tva, total, fk_statut, fk_user_author, fk_user_valid, note)
|
||||||
values ('02-12-YHGT',2,now(),'2002-12-01',1,1000,0,196,1196,1,NULL,NULL,'');
|
values ('02-12-YHGT',2,now(),'2002-12-01',1,1000,0,196,1196,1,NULL,NULL,'');
|
||||||
|
|
||||||
|
UPDATE ONLY llx_const SET name = 'MAIN_THEME', value = 'yellow', type = 'chaine', visible = 1 WHERE name = 'MAIN_THEME';
|
||||||
|
|
||||||
delete from llx_user;
|
delete from llx_user;
|
||||||
insert into llx_user (name,firstname,code,login,pass,module_comm,module_compta,admin,webcal_login)
|
|
||||||
values ('Quiedeville','Rodolphe','RQ','rodo','CRnN0Tam/s7z.',1,1,1,'rodo');
|
insert into llx_user (name,firstname,code,login,pass,module_comm,module_compta,webcal_login,admin)
|
||||||
|
values ('demo','demo','DEMO','demo','demo',1,1,'demo',1);
|
||||||
|
|
||||||
insert into llx_user (name,firstname,code,login,pass,module_comm,module_compta,webcal_login)
|
insert into llx_user (name,firstname,code,login,pass,module_comm,module_compta,webcal_login)
|
||||||
values ('demo','demo','DEMO','demo','demo',1,0,'demo');
|
values ('demo1','demo1','DM1','demo1','demo',1,1,'demo1');
|
||||||
|
|
||||||
insert into llx_user (name,firstname,code,login,pass,module_comm,module_compta,webcal_login)
|
insert into llx_user (name,firstname,code,login,pass,module_comm,module_compta,webcal_login)
|
||||||
values ('demo1','demo1','DM1','demo1','demo',1,0,'demo1');
|
values ('demo2','demo2','DM2','demo2','demo',1,1,'demo2');
|
||||||
insert into llx_user (name,firstname,code,login,pass,module_comm,module_compta,webcal_login)
|
|
||||||
values ('demo2','demo2','DM2','demo2','demo',1,0,'demo2');
|
INSERT INTO llx_user_rights VALUES (1,11);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,12);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,13);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,14);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,15);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,16);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,17);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,18);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,19);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,21);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,22);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,23);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,24);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,25);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,26);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,27);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,28);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,29);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,31);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,32);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,33);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,34);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,35);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,36);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,37);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,38);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,39);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,41);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,42);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,43);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,44);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,45);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,46);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,47);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,48);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,49);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,61);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,62);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,63);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,64);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,65);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,66);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,67);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,68);
|
||||||
|
INSERT INTO llx_user_rights VALUES (1,69);
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Societe
|
-- Societe les fournisseurs sont sur les numéros pairs
|
||||||
--
|
--
|
||||||
delete from societe;
|
delete from llx_societe;
|
||||||
insert into societe (nom,datec,cp,ville,tel,fax, client, prefix_comm, fournisseur)
|
|
||||||
values ('Bolix SA',now(),'56350','Allaire','01 40 15 03 18','01 40 15 06 18',1,'LO',1);
|
|
||||||
|
|
||||||
insert into societe (nom,datec,cp,ville,tel,fax, client, prefix_comm)
|
insert into llx_societe (nom,datec,cp,ville,tel,fax, client, prefix_comm)
|
||||||
values ('Cumulo',now(),'56610','Arradon','01 40 15 03 18','01 40 15 06 18',1,'CU');
|
values ('Cumulo',now(),'56610','Arradon','01 40 15 03 18','01 40 15 06 18',1,'CU');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client, prefix_comm)
|
insert into llx_societe (nom,datec,cp,ville,tel,fax, client, prefix_comm, fournisseur)
|
||||||
|
values ('Bolix SA',now(),'56350','Allaire','01 40 15 03 18','01 40 15 06 18',1,'LO',1);
|
||||||
|
|
||||||
|
insert into llx_societe (nom,cp,ville,tel,fax,client, prefix_comm)
|
||||||
values ('Doli INC.','29300','Arzano','01 55 55 03 18','01 55 55 55 55',1,'DO');
|
values ('Doli INC.','29300','Arzano','01 55 55 03 18','01 55 55 55 55',1,'DO');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client, prefix_comm,url)
|
insert into llx_societe (nom,cp,ville,tel,fax,client, prefix_comm,url, fournisseur)
|
||||||
values ('Foo SARL','22300','Ploubezre','01 55 55 03 18','01 55 55 55 55',1,'FOO','www.gnu.org');
|
values ('Foo SARL','22300','Ploubezre','01 55 55 03 18','01 55 55 55 55',1,'FOO','www.gnu.org',1);
|
||||||
|
|
||||||
insert into societe (nom,datec,cp,ville,tel,fax, client, prefix_comm)
|
insert into llx_societe (nom,datec,cp,ville,tel,fax, client, prefix_comm)
|
||||||
values ('Talphinfo',now(),'29400','Bodilis','01 40 15 03 18','01 40 15 06 18',1,'AP');
|
values ('Talphinfo',now(),'29400','Bodilis','01 40 15 03 18','01 40 15 06 18',1,'AP');
|
||||||
|
|
||||||
insert into societe (nom,datec,cp,ville,tel,fax, client, prefix_comm)
|
insert into llx_societe (idp,nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
|
values (20,'Bouleau','22800','Le Foeil','01 55 55 03 18','01 55 55 55 55',1,'BTP');
|
||||||
|
|
||||||
|
insert into llx_societe (nom,datec,cp,ville,tel,fax, client, prefix_comm)
|
||||||
values ('Valphanix',now(),'29820','Bohars','01 40 15 03 18','01 40 15 06 18',1,'AL');
|
values ('Valphanix',now(),'29820','Bohars','01 40 15 03 18','01 40 15 06 18',1,'AL');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client,url)
|
insert into llx_societe (idp,nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
|
values (101,'Cerisier','22290','Goudelin','01 55 55 03 18','01 55 55 55 55',1,'CER');
|
||||||
|
|
||||||
|
insert into llx_societe (nom,cp,ville,tel,fax,client,url)
|
||||||
values ('Turin','29890','Brignogan-Plage','01 55 55 03 18','01 55 55 55 55',1,'http://www.ot-brignogan-plage.fr/');
|
values ('Turin','29890','Brignogan-Plage','01 55 55 03 18','01 55 55 55 55',1,'http://www.ot-brignogan-plage.fr/');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client)
|
insert into llx_societe (idp,nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
|
values (100,'Chêne','22330','Le Gouray','01 55 55 03 18','01 55 55 55 55',1,'DEL');
|
||||||
|
|
||||||
|
insert into llx_societe (nom,cp,ville,tel,fax,client)
|
||||||
values ('Yratin SA','29660','Carantec','01 55 55 03 18','01 55 55 55 55',1);
|
values ('Yratin SA','29660','Carantec','01 55 55 03 18','01 55 55 55 55',1);
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client)
|
insert into llx_societe (nom,cp,ville,tel,fax,client)
|
||||||
values ('Raggos SARL','29233','Cléder','01 55 55 03 18','01 55 55 55 55',1);
|
values ('Raggos SARL','29233','Cléder','01 55 55 03 18','01 55 55 55 55',1);
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client)
|
insert into llx_societe (nom,cp,ville,tel,fax,client)
|
||||||
values ('Pruitosa','29870','Coat-Méal','01 55 55 03 18','01 55 55 55 55',1);
|
values ('Pruitosa','29870','Coat-Méal','01 55 55 03 18','01 55 55 55 55',1);
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client)
|
insert into llx_societe (nom,cp,ville,tel,fax,client)
|
||||||
values ('Stratus','29120','Combrit','01 55 55 03 18','01 55 55 55 55',1);
|
values ('Stratus','29120','Combrit','01 55 55 03 18','01 55 55 55 55',1);
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client)
|
insert into llx_societe (nom,cp,ville,tel,fax,client)
|
||||||
values ('Nimbus','29490','Guipavas','01 55 55 03 18','01 55 55 55 55',1);
|
values ('Nimbus','29490','Guipavas','01 55 55 03 18','01 55 55 55 55',1);
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client)
|
insert into llx_societe (nom,cp,ville,tel,fax,client)
|
||||||
values ('Iono','22110','Rostrenen','01 55 55 03 18','01 55 55 55 55',1);
|
values ('Iono','22110','Rostrenen','01 55 55 03 18','01 55 55 55 55',1);
|
||||||
--
|
--
|
||||||
-- Contact
|
-- Contact
|
||||||
--
|
--
|
||||||
delete from socpeople;
|
delete from llx_socpeople;
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email,poste)
|
||||||
values (10,1,'Victoire','Paul','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
values (10,1,'Maréchal','Ferdinand','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net','Administrateur système');
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
values (11,1,'Tourin','Pierre','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
values (11,5,'Pejat','Jean-Marie','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
|
||||||
values (12,1,'Patrick','Paul','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
|
||||||
values (13,1,'Myriam','Isabelle','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
|
||||||
|
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email,poste)
|
||||||
|
values (12,1,'Poulossière','Paul','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net','Directeur technique');
|
||||||
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
|
values (13,6,'Myriam','Isabelle','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
|
|
||||||
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
values (20,2,'Corin','Arnaud','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
values (20,2,'Corin','Arnaud','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
values (30,3,'Phil','Breizh','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
values (30,3,'Philippine','Sagan','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
values (31,3,'Marie','Jeanne','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
values (31,3,'Marie','Jeanne','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
values (41,4,'Alix','Victor','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
values (41,4,'Alix','Hopper','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
|
values (14,7,'Victoire','Renoir','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
|
values (15,7,'Baudelaire','Matthias','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
|
values (16,8,'Hugo','Benjamin','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
|
values (17,9,'Rembrandt','Stéphanie','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
|
values (18,10,'Picasso','Myriam','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
|
values (19,11,'Beethoven','John','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
|
values (22,11,'Dumas','Elisabeth','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
|
values (21,10,'','Joséphine','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
-- Produits
|
-- Produits
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
delete from llx_product;
|
insert into llx_product (ref, label, description, price, tva_tx)
|
||||||
|
values ('RJ451MR','Câble Réseaux RJ45 1m rouge','Câble Réseaux RJ45 1m rouge',10,19.6);
|
||||||
|
|
||||||
insert into llx_product (ref, label, description, price)
|
insert into llx_product (ref, label, description, price, tva_tx)
|
||||||
values ('CRRJ452M','Câble Réseaux RJ45 2m','Câble Réseaux RJ45 2m',10);
|
values ('RJ454M','Câble Réseaux RJ45 4m','Câble Réseaux RJ45 4m\n couleur suivant stock',19.5,19.6);
|
||||||
|
|
||||||
insert into llx_product (ref, label, description, price)
|
insert into llx_product (ref, label, description, price, tva_tx)
|
||||||
values ('3COMSW8','Switch Cisco 8 ports 100Mbits','Switch Cisco 8 ports 100Mbits',1000);
|
values ('RJ452M','Câble Réseaux RJ45 2m','Câble Réseaux RJ45 2m',10,19.6);
|
||||||
|
|
||||||
insert into llx_product (ref, label, description, price)
|
insert into llx_product (ref, label, description, price, tva_tx)
|
||||||
values ('ALPH','Station Alpha Serie 3w','Configuration Alpha',9750);
|
values ('RJ458M','Câble Réseaux RJ45 8m','Câble Réseaux RJ45 8m',10,19.6);
|
||||||
|
|
||||||
insert into llx_product (ref, label, description, price)
|
insert into llx_product (ref, label, description, price, tva_tx)
|
||||||
values ('HUB8-10','Hub 8 ports 10Mbits','Hub 8 ports',750);
|
values ('RJ4515M','Câble Réseaux RJ45 15m','Câble Réseaux RJ45 15m',10,19.6);
|
||||||
|
|
||||||
insert into llx_product (ref, label, description, price)
|
insert into llx_product (ref, label, description, price, tva_tx, fk_product_type, duration)
|
||||||
values ('PB-16','Pan. Brass. 16','Panneau de brassage extensible, incluant 1 barre de 16 prises',650);
|
values ('HEB12MS','Hébergement serveur 12 mois','Hébergement serveur 12 mois',2400,19.6,1,'12m');
|
||||||
|
|
||||||
insert into llx_product (ref, label, description, price)
|
insert into llx_product (ref, label, description, price, tva_tx, fk_product_type, duration)
|
||||||
values ('PB-32','Pan. Brass. 32','Panneau de brassage extensible, incluant 2 barres de 16 prises',1200);
|
values ('HEB03MS','Hébergement serveur 3 mois','Hébergement serveur 3 mois',600,19.6,1,'3m');
|
||||||
|
|
||||||
|
insert into llx_product (ref, label, description, price, tva_tx, fk_product_type, duration)
|
||||||
|
values ('HEB06MS','Hébergement serveur 6 mois','Hébergement serveur 6 mois',1200,19.6,1,'6m');
|
||||||
|
|
||||||
|
insert into llx_product (ref, label, description, price, tva_tx)
|
||||||
|
values ('SW8','Switch 8 ports 100Mbits','Switch 8 ports 100Mbits',1000,19.6);
|
||||||
|
|
||||||
|
insert into llx_product (ref, label, description, price, tva_tx)
|
||||||
|
values ('SER1U','Serveur 1U Serie 3W','Serveur avec 1G de RAM et 2 processeurs',9750,19.6);
|
||||||
|
|
||||||
|
insert into llx_product (ref, label, description, price, tva_tx)
|
||||||
|
values ('HUB8-10','Hub 8 ports 10Mbits','Hub 8 ports',750,19.6);
|
||||||
|
|
||||||
|
insert into llx_product (ref, label, description, price, tva_tx)
|
||||||
|
values ('PB-16','Pan. Brass. 16','Panneau de brassage extensible, incluant 1 barre de 16 prises',650,19.6);
|
||||||
|
|
||||||
|
insert into llx_product (ref, label, description, price, tva_tx)
|
||||||
|
values ('PB-32','Pan. Brass. 32','Panneau de brassage extensible, incluant 2 barres de 16 prises',1200,19.6);
|
||||||
|
|
||||||
|
insert into llx_product (ref, label, description, price, tva_tx)
|
||||||
|
values ('HB-USB1','Hub Usb 4 ports','Hub USB 4 ports avec bloc d\'alimentation indépendant',31,19.6);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Liens produits fournisseurs
|
||||||
|
--
|
||||||
|
insert into llx_product_fournisseur (datec, fk_product,fk_soc,ref_fourn,fk_user_author)
|
||||||
|
values (now(),1,2,'2313487',1);
|
||||||
|
insert into llx_product_fournisseur (datec, fk_product,fk_soc,ref_fourn,fk_user_author)
|
||||||
|
values (now(),2,2,'2313409',1);
|
||||||
|
insert into llx_product_fournisseur (datec, fk_product,fk_soc,ref_fourn,fk_user_author)
|
||||||
|
values (now(),3,2,'2323134',1);
|
||||||
|
insert into llx_product_fournisseur (datec, fk_product,fk_soc,ref_fourn,fk_user_author)
|
||||||
|
values (now(),3,4,'2313784',1);
|
||||||
|
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
@ -158,89 +267,57 @@ values (1, 'FI-LP-1','2001-12-05','2001-12-05','2001-12-05',1,1,1,4,'Mise
|
|||||||
--
|
--
|
||||||
-- Actions commerciales
|
-- Actions commerciales
|
||||||
--
|
--
|
||||||
delete from actioncomm;
|
delete from llx_actioncomm;
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2002-04-06',1,1,1,1);
|
values ('2002-04-06',1,1,1,1);
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2002-04-05',2,1,1,1);
|
values ('2002-04-05',2,1,1,1);
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2002-04-05',1,1,1,1);
|
values ('2002-04-05',1,1,1,1);
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2002-04-02',3,1,1,1);
|
values ('2002-04-02',3,1,1,1);
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2002-04-02',3,1,1,1);
|
values ('2002-04-02',3,1,1,1);
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2002-03-05',3,1,1,1);
|
values ('2002-03-05',3,1,1,1);
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2002-03-04',1,1,1,1);
|
values ('2002-03-04',1,1,1,1);
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2001-03-05',1,1,1,1);
|
values ('2001-03-05',1,1,1,1);
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
insert into societe (idp,nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm,datec)
|
||||||
values (20,'Bouleau','22800','Le Foeil','01 55 55 03 18','01 55 55 55 55',1,'BTP');
|
|
||||||
|
|
||||||
insert into societe (idp,nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
|
||||||
values (101,'Cerisier','22290','Goudelin','01 55 55 03 18','01 55 55 55 55',1,'CER');
|
|
||||||
|
|
||||||
insert into societe (idp,nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
|
||||||
values (100,'Chêne','22330','Le Gouray','01 55 55 03 18','01 55 55 55 55',1,'DEL');
|
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm,datec)
|
|
||||||
values ('Peuplier','22300','Lanmérin','01 55 55 03 18','01 55 55 55 55',1,'JP',now());
|
values ('Peuplier','22300','Lanmérin','01 55 55 03 18','01 55 55 55 55',1,'JP',now());
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm,datec)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm,datec)
|
||||||
values ('Poirier','22290','Lannebert','01 55 55 03 18','01 55 55 55 55',1,'PO',now());
|
values ('Poirier','22290','Lannebert','01 55 55 03 18','01 55 55 55 55',1,'PO',now());
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values ('Orme','22400','Noyal','01 55 55 03 18','01 55 55 55 55',1,'ORM');
|
values ('Orme','22400','Noyal','01 55 55 03 18','01 55 55 55 55',1,'ORM');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values ('Pin','22200','Pabu','01 55 55 03 18','01 55 55 55 55',1,'PIN');
|
values ('Pin','22200','Pabu','01 55 55 03 18','01 55 55 55 55',1,'PIN');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values ('Merisier','22510','Penguily','01 55 55 03 18','01 55 55 55 55',1,'IKE');
|
values ('Merisier','22510','Penguily','01 55 55 03 18','01 55 55 55 55',1,'IKE');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values ('Hêtre','22480','Peumerit-Quintin','01 55 55 03 18','01 55 55 55 55',1,'CAS');
|
values ('Hêtre','22480','Peumerit-Quintin','01 55 55 03 18','01 55 55 55 55',1,'CAS');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values ('Saule','22800','Quintin','01 55 55 03 18','01 55 55 55 55',1,'ME');
|
values ('Saule','22800','Quintin','01 55 55 03 18','01 55 55 55 55',1,'ME');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values ('Poirier','22940','Plaintel','01 55 55 03 18','01 55 55 55 55',1,'CEG');
|
values ('Poirier','22940','Plaintel','01 55 55 03 18','01 55 55 55 55',1,'CEG');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values ('Tek','22300','Rospez','01 55 55 03 18','01 55 55 55 55',1,'LMT');
|
values ('Tek','22300','Rospez','01 55 55 03 18','01 55 55 55 55',1,'LMT');
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
delete from llx_service;
|
|
||||||
|
|
||||||
insert into llx_service values ( 1,now(),now(),'FDEVC1','Forfait Dev, CAT. 1','',500,NULL,now(),NULL,2,2);
|
|
||||||
insert into llx_service values ( 2,now(),now(),'FDEVC2','Forfait Dev, CAT. 2','',700,NULL,now(),NULL,2,2);
|
|
||||||
insert into llx_service values ( 3,now(),now(),'FDEVC3','Forfait Dev, CAT. 3','',900,NULL,now(),NULL,2,2);
|
|
||||||
|
|
||||||
insert into llx_service values ( 4,now(),now(),'FADMC1','Forfait Adm, CAT. 1','',600,NULL,now(),NULL,2,2);
|
|
||||||
insert into llx_service values ( 5,now(),now(),'FADMC2','Forfait Adm, CAT. 2','',800,NULL,now(),NULL,2,2);
|
|
||||||
|
|
||||||
insert into llx_service values ( 6,now(),now(),'FAUDC1','Forfait Aud, CAT. 2','',800,NULL,now(),NULL,2,2);
|
|
||||||
insert into llx_service values ( 7,now(),now(),'FAUDC2','Forfait Aud, CAT. 3','',1000,NULL,now(),NULL,2,2);
|
|
||||||
|
|
||||||
|
|
||||||
insert into llx_service values ( 8,now(),now(),'RDEVC1','Régie Dev, CAT. 1','',400,NULL,now(),NULL,2,2);
|
|
||||||
insert into llx_service values ( 9,now(),now(),'RDEVC2','Régie Dev, CAT. 2','',600,NULL,now(),NULL,2,2);
|
|
||||||
insert into llx_service values (10,now(),now(),'RDEVC3','Régie Dev, CAT. 3','',800,NULL,now(),NULL,2,2);
|
|
||||||
|
|
||||||
insert into llx_service values (11,now(),now(),'RADMC1','Régie Adm, CAT. 1','',500,NULL,now(),NULL,2,2);
|
|
||||||
insert into llx_service values (12,now(),now(),'RADMC2','Régie Adm, CAT. 2','',700,NULL,now(),NULL,2,2);
|
|
||||||
|
|
||||||
insert into llx_service values (13,now(),now(),'RAUDC1','Régie Aud, CAT. 2','',700,NULL,now(),NULL,2,2);
|
|
||||||
insert into llx_service values (14,now(),now(),'RAUDC2','Régie Aud, CAT. 3','',900,NULL,now(),NULL,2,2);
|
|
||||||
|
|
||||||
|
|
||||||
delete from llx_propal;
|
delete from llx_propal;
|
||||||
delete from llx_propaldet;
|
delete from llx_propaldet;
|
||||||
@ -282,3 +359,46 @@ insert into llx_chargesociales (date_ech,date_pai,libelle,fk_type,amount,paye,pe
|
|||||||
insert into llx_chargesociales (date_ech,date_pai,libelle,fk_type,amount,paye,periode) values
|
insert into llx_chargesociales (date_ech,date_pai,libelle,fk_type,amount,paye,periode) values
|
||||||
('2001-11-15','2001-10-10','Acompte 3ème Trimestre 2001',3,150,1,'2001-7-1');
|
('2001-11-15','2001-10-10','Acompte 3ème Trimestre 2001',3,150,1,'2001-7-1');
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `llx_bank`
|
||||||
|
--
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-01-13','2002-01-13',4000,'Dépôt liquide',1,1,1,'DEP',200201,NULL,1,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-01-14','2002-01-14',-20,'Liquide',1,1,1,'CB',200201,NULL,1,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-02-14','2002-02-14',-23.2,'Essence',1,1,1,'CB',200201,NULL,1,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-02-15','2002-02-15',-53.32,'Cartouches imprimante',1,1,1,'CB',200202,NULL,0,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-02-17','2002-02-17',-100,'Liquide',1,1,NULL,'CB',NULL,NULL,0,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-02-18','2002-02-18',-153.32,'Restaurant',1,1,NULL,'CB',NULL,NULL,0,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-02-20','2002-02-20',-1532,'Réparation climatisation',1,1,NULL,'CB',NULL,NULL,0,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-02-21','2002-02-21',-100,'Liquide',1,1,NULL,'CB',NULL,NULL,0,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-02-22','2002-02-22',-46,'Timbres postes',1,1,NULL,'CB',NULL,NULL,0,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-03-02','2002-03-02',-60,'Liquide',1,1,NULL,'CB',NULL,NULL,0,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-03-02','2002-03-02',-25.66,'Essence',1,1,NULL,'CB',NULL,NULL,0,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-03-03','2002-03-03',-60,'Liquide',1,1,NULL,'CB',NULL,NULL,0,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-03-04','2002-03-04',-15.2,'Café',1,1,NULL,'CB',NULL,NULL,0,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-03-06','2002-03-06',-12.3,'Péage',1,1,NULL,'CB',NULL,NULL,0,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-03-06','2002-03-06',-25.3,'Péage',1,1,NULL,'CB',NULL,NULL,0,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-03-06','2002-03-06',-9.6,'Tickets de bus',1,1,NULL,'CB',NULL,NULL,0,NULL,NULL);
|
||||||
|
INSERT INTO llx_bank (datec, datev, dateo, amount, label, fk_account, fk_user_author, fk_user_rappro, fk_type, num_releve, num_chq, rappro, note, author)
|
||||||
|
VALUES (now(),'2002-03-13','2002-03-13',-10,'Liquide',1,1,NULL,'CB',NULL,NULL,0,NULL,NULL);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `llx_bank_account`
|
||||||
|
--
|
||||||
|
|
||||||
|
--INSERT INTO llx_bank_account (rowid, datec, tms, label, bank, code_banque, code_guichet, number, cle_rib, bic, iban_prefix, domiciliation, courant, clos) VALUES (1,'2001-01-01 13:06:11',20031014173428,'CCP','La PosteToto','','','','','','','',1,0);
|
||||||
|
|||||||
@ -1,14 +1,26 @@
|
|||||||
-- MySQL dump 8.21
|
-- ===========================================================================
|
||||||
|
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||||
--
|
--
|
||||||
-- Host: localhost Database: dolibarr
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
---------------------------------------------------------
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- Server version 3.23.49-log
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This program is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-- GNU General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License
|
||||||
|
-- along with this program; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
--===========================================================================
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Dumping data for table 'llx_paiement'
|
-- Dumping data for table 'llx_paiement'
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO llx_paiement (rowid, fk_facture, datec, datep, amount, author, fk_paiement, num_paiement, note) VALUES (1,1,'2002-05-09 03:05:03','2001-05-19 12:00:00',11960,'rodo',0,'321654654','');
|
INSERT INTO llx_paiement (rowid, fk_facture, datec, datep, amount, author, fk_paiement, num_paiement, note) VALUES (1,1,'2002-05-09 03:05:03','2001-05-19 12:00:00',11960,'rodo',0,'321654654','');
|
||||||
INSERT INTO llx_paiement (rowid, fk_facture, datec, datep, amount, author, fk_paiement, num_paiement, note) VALUES (2,2,'2002-05-09 03:18:10','2002-04-12 12:00:00',500,'rodo',0,'255555','');
|
INSERT INTO llx_paiement (rowid, fk_facture, datec, datep, amount, author, fk_paiement, num_paiement, note) VALUES (2,2,'2002-05-09 03:18:10','2002-04-12 12:00:00',500,'rodo',0,'255555','');
|
||||||
INSERT INTO llx_paiement (rowid, fk_facture, datec, datep, amount, author, fk_paiement, num_paiement, note) VALUES (3,2,'2002-05-09 03:18:32','2002-05-02 12:00:00',588.36,'rodo',0,'25555','');
|
INSERT INTO llx_paiement (rowid, fk_facture, datec, datep, amount, author, fk_paiement, num_paiement, note) VALUES (3,2,'2002-05-09 03:18:32','2002-05-02 12:00:00',588.36,'rodo',0,'25555','');
|
||||||
|
|||||||
@ -1,14 +1,26 @@
|
|||||||
-- MySQL dump 8.21
|
-- ===========================================================================
|
||||||
|
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||||
--
|
--
|
||||||
-- Host: localhost Database: dolibarr
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
---------------------------------------------------------
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- Server version 3.23.49-log
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This program is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-- GNU General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License
|
||||||
|
-- along with this program; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
--===========================================================================
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Dumping data for table 'llx_propal'
|
-- Dumping data for table 'llx_propal'
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO llx_propal (rowid, fk_soc, fk_soc_contact, fk_projet, ref, datec, date_valid, date_cloture, datep, fk_user_author, fk_user_valid, fk_user_cloture, fk_statut, price, remise, tva, total, note) VALUES (1,1,10,0,'PR-BO-020509','2002-05-09 03:04:29','2002-05-09 03:04:37','2002-05-09 03:04:42','2002-05-09',1,1,1,2,10000,0,1960,11960,'----------\r\n');
|
INSERT INTO llx_propal (rowid, fk_soc, fk_soc_contact, fk_projet, ref, datec, date_valid, date_cloture, datep, fk_user_author, fk_user_valid, fk_user_cloture, fk_statut, price, remise, tva, total, note) VALUES (1,1,10,0,'PR-BO-020509','2002-05-09 03:04:29','2002-05-09 03:04:37','2002-05-09 03:04:42','2002-05-09',1,1,1,2,10000,0,1960,11960,'----------\r\n');
|
||||||
INSERT INTO llx_propal (rowid, fk_soc, fk_soc_contact, fk_projet, ref, datec, date_valid, date_cloture, datep, fk_user_author, fk_user_valid, fk_user_cloture, fk_statut, price, remise, tva, total, note) VALUES (2,1,11,0,'PR-BO-020111','2002-05-09 03:08:33','2002-05-09 03:36:25','2002-05-09 03:36:29','2002-01-11',1,1,1,2,20,0,3.92,23.92,'----------\r\n');
|
INSERT INTO llx_propal (rowid, fk_soc, fk_soc_contact, fk_projet, ref, datec, date_valid, date_cloture, datep, fk_user_author, fk_user_valid, fk_user_cloture, fk_statut, price, remise, tva, total, note) VALUES (2,1,11,0,'PR-BO-020111','2002-05-09 03:08:33','2002-05-09 03:36:25','2002-05-09 03:36:29','2002-01-11',1,1,1,2,20,0,3.92,23.92,'----------\r\n');
|
||||||
INSERT INTO llx_propal (rowid, fk_soc, fk_soc_contact, fk_projet, ref, datec, date_valid, date_cloture, datep, fk_user_author, fk_user_valid, fk_user_cloture, fk_statut, price, remise, tva, total, note) VALUES (3,1,11,0,'PR-BO-020113','2002-05-09 03:08:50','2002-05-09 03:40:09','2002-05-09 03:40:13','2002-01-13',1,1,1,2,30,0,5.88,35.88,'----------\r\n');
|
INSERT INTO llx_propal (rowid, fk_soc, fk_soc_contact, fk_projet, ref, datec, date_valid, date_cloture, datep, fk_user_author, fk_user_valid, fk_user_cloture, fk_statut, price, remise, tva, total, note) VALUES (3,1,11,0,'PR-BO-020113','2002-05-09 03:08:50','2002-05-09 03:40:09','2002-05-09 03:40:13','2002-01-13',1,1,1,2,30,0,5.88,35.88,'----------\r\n');
|
||||||
@ -22,17 +34,10 @@ INSERT INTO llx_propal (rowid, fk_soc, fk_soc_contact, fk_projet, ref, datec, da
|
|||||||
INSERT INTO llx_propal (rowid, fk_soc, fk_soc_contact, fk_projet, ref, datec, date_valid, date_cloture, datep, fk_user_author, fk_user_valid, fk_user_cloture, fk_statut, price, remise, tva, total, note) VALUES (11,4,41,0,'PR-FOO-020304','2002-05-09 14:44:08','2002-05-09 14:44:18','2002-05-09 14:44:22','2002-03-04',1,1,1,2,12110,0,2373.56,14483.56,'----------\r\n');
|
INSERT INTO llx_propal (rowid, fk_soc, fk_soc_contact, fk_projet, ref, datec, date_valid, date_cloture, datep, fk_user_author, fk_user_valid, fk_user_cloture, fk_statut, price, remise, tva, total, note) VALUES (11,4,41,0,'PR-FOO-020304','2002-05-09 14:44:08','2002-05-09 14:44:18','2002-05-09 14:44:22','2002-03-04',1,1,1,2,12110,0,2373.56,14483.56,'----------\r\n');
|
||||||
INSERT INTO llx_propal (rowid, fk_soc, fk_soc_contact, fk_projet, ref, datec, date_valid, date_cloture, datep, fk_user_author, fk_user_valid, fk_user_cloture, fk_statut, price, remise, tva, total, note) VALUES (12,2,20,0,'PR-CU-020509','2002-05-09 15:01:37','2002-05-09 15:01:45','2002-05-09 15:01:49','2002-05-09',1,1,1,2,36250,0,7105,43355,'----------\r\n');
|
INSERT INTO llx_propal (rowid, fk_soc, fk_soc_contact, fk_projet, ref, datec, date_valid, date_cloture, datep, fk_user_author, fk_user_valid, fk_user_cloture, fk_statut, price, remise, tva, total, note) VALUES (12,2,20,0,'PR-CU-020509','2002-05-09 15:01:37','2002-05-09 15:01:45','2002-05-09 15:01:49','2002-05-09',1,1,1,2,36250,0,7105,43355,'----------\r\n');
|
||||||
|
|
||||||
-- MySQL dump 8.21
|
|
||||||
--
|
|
||||||
-- Host: localhost Database: dolibarr
|
|
||||||
---------------------------------------------------------
|
|
||||||
-- Server version 3.23.49-log
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Dumping data for table 'llx_propaldet'
|
-- Dumping data for table 'llx_propaldet'
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO llx_propaldet (rowid, fk_propal, fk_product, qty, price) VALUES (1,1,2,10,1000);
|
INSERT INTO llx_propaldet (rowid, fk_propal, fk_product, qty, price) VALUES (1,1,2,10,1000);
|
||||||
INSERT INTO llx_propaldet (rowid, fk_propal, fk_product, qty, price) VALUES (2,2,1,2,10);
|
INSERT INTO llx_propaldet (rowid, fk_propal, fk_product, qty, price) VALUES (2,2,1,2,10);
|
||||||
INSERT INTO llx_propaldet (rowid, fk_propal, fk_product, qty, price) VALUES (3,3,1,3,10);
|
INSERT INTO llx_propaldet (rowid, fk_propal, fk_product, qty, price) VALUES (3,3,1,3,10);
|
||||||
|
|||||||
187
pgsql/drop.sql
Normal file
187
pgsql/drop.sql
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
--
|
||||||
|
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
-- Copyright (C) 2002-2003 ?ric Seigne <erics@rycks.com>
|
||||||
|
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||||
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This program is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-- GNU General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License
|
||||||
|
-- along with this program; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
--
|
||||||
|
|
||||||
|
drop table llx_bank_url;
|
||||||
|
drop table llx_entrepot;
|
||||||
|
drop table llx_product_stock;
|
||||||
|
drop table llx_stock_mouvement;
|
||||||
|
|
||||||
|
drop table c_actioncomm;
|
||||||
|
|
||||||
|
drop table c_chargesociales;
|
||||||
|
|
||||||
|
drop table c_effectif;
|
||||||
|
|
||||||
|
drop table c_paiement ;
|
||||||
|
|
||||||
|
drop table c_pays ;
|
||||||
|
|
||||||
|
drop table c_propalst ;
|
||||||
|
|
||||||
|
drop table c_stcomm;
|
||||||
|
|
||||||
|
drop table c_typent ;
|
||||||
|
|
||||||
|
drop table llx_action_def;
|
||||||
|
|
||||||
|
drop table llx_actioncomm;
|
||||||
|
|
||||||
|
drop table llx_adherent;
|
||||||
|
|
||||||
|
drop table llx_adherent_type;
|
||||||
|
|
||||||
|
drop table llx_adherent_options;
|
||||||
|
|
||||||
|
drop table llx_adherent_options_label;
|
||||||
|
|
||||||
|
drop table llx_album;
|
||||||
|
|
||||||
|
drop table llx_album_to_groupart ;
|
||||||
|
|
||||||
|
drop table llx_appro ;
|
||||||
|
|
||||||
|
drop table llx_auteur;
|
||||||
|
|
||||||
|
drop table llx_bank;
|
||||||
|
|
||||||
|
drop table llx_bank_account;
|
||||||
|
|
||||||
|
drop table llx_bank_categ;
|
||||||
|
|
||||||
|
drop table llx_bank_class;
|
||||||
|
|
||||||
|
drop table llx_bookmark;
|
||||||
|
|
||||||
|
drop table llx_boxes;
|
||||||
|
|
||||||
|
drop table llx_boxes_def;
|
||||||
|
|
||||||
|
drop table llx_chargesociales;
|
||||||
|
|
||||||
|
drop table llx_contrat;
|
||||||
|
|
||||||
|
drop table llx_compta;
|
||||||
|
|
||||||
|
drop table llx_compta_account;
|
||||||
|
|
||||||
|
drop table llx_concert ;
|
||||||
|
|
||||||
|
drop table llx_cond_reglement ;
|
||||||
|
|
||||||
|
drop table llx_const;
|
||||||
|
|
||||||
|
drop table llx_cotisation;
|
||||||
|
|
||||||
|
drop table llx_deplacement;
|
||||||
|
|
||||||
|
drop table llx_domain ;
|
||||||
|
|
||||||
|
drop table llx_don;
|
||||||
|
|
||||||
|
drop table llx_don_projet;
|
||||||
|
|
||||||
|
drop table llx_editeur;
|
||||||
|
|
||||||
|
drop table llx_fa_pr;
|
||||||
|
|
||||||
|
drop table llx_facture;
|
||||||
|
|
||||||
|
drop table llx_facture_rec;
|
||||||
|
|
||||||
|
drop table llx_facturedet;
|
||||||
|
|
||||||
|
drop table llx_facturedet_rec;
|
||||||
|
|
||||||
|
drop table llx_facture_fourn;
|
||||||
|
|
||||||
|
drop table llx_facture_fourn_det;
|
||||||
|
|
||||||
|
drop table llx_fichinter;
|
||||||
|
|
||||||
|
drop table llx_groupart;
|
||||||
|
|
||||||
|
drop table llx_lieu_concert ;
|
||||||
|
|
||||||
|
drop table llx_livre;
|
||||||
|
|
||||||
|
drop table llx_livre_to_auteur ;
|
||||||
|
|
||||||
|
drop table llx_newsletter;
|
||||||
|
|
||||||
|
drop table llx_notify ;
|
||||||
|
|
||||||
|
drop table llx_notify_def;
|
||||||
|
|
||||||
|
drop table llx_paiement;
|
||||||
|
|
||||||
|
drop table llx_paiementfourn;
|
||||||
|
|
||||||
|
drop table llx_pointmort;
|
||||||
|
|
||||||
|
drop table llx_product;
|
||||||
|
|
||||||
|
drop table llx_product_fournisseur;
|
||||||
|
|
||||||
|
drop table llx_product_price;
|
||||||
|
|
||||||
|
drop table llx_projet;
|
||||||
|
|
||||||
|
drop table llx_propal;
|
||||||
|
|
||||||
|
drop table llx_propal_model_pdf;
|
||||||
|
|
||||||
|
drop table llx_propaldet;
|
||||||
|
|
||||||
|
drop table llx_rights_def;
|
||||||
|
|
||||||
|
drop table llx_service;
|
||||||
|
|
||||||
|
drop table llx_societe;
|
||||||
|
|
||||||
|
drop table llx_socpeople;
|
||||||
|
|
||||||
|
drop table llx_soc_events;
|
||||||
|
|
||||||
|
drop table llx_soc_recontact;
|
||||||
|
|
||||||
|
drop table llx_socstatutlog ;
|
||||||
|
|
||||||
|
drop table llx_sqltables;
|
||||||
|
|
||||||
|
drop table llx_todocomm ;
|
||||||
|
|
||||||
|
drop table llx_transaction_bplc ;
|
||||||
|
|
||||||
|
drop table llx_tva;
|
||||||
|
|
||||||
|
drop table llx_user;
|
||||||
|
|
||||||
|
drop table llx_user_rights;
|
||||||
|
|
||||||
|
drop table llx_ventes;
|
||||||
|
|
||||||
|
drop table llx_voyage;
|
||||||
|
|
||||||
|
drop table llx_voyage_reduc;
|
||||||
|
|
||||||
|
drop table llx_facture_tva_sum;
|
||||||
33
pgsql/foreign_keys.sql
Normal file
33
pgsql/foreign_keys.sql
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
-- ============================================================================
|
||||||
|
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This program is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-- GNU General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License
|
||||||
|
-- along with this program; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
|
-- ============================================================================
|
||||||
|
|
||||||
|
ALTER TABLE llx_fichinter ADD CONSTRAINT fichinter_fk_soc_idp FOREIGN KEY (fk_soc) REFERENCES llx_societe (idp);
|
||||||
|
|
||||||
|
ALTER TABLE llx_propal ADD CONSTRAINT propal_fk_soc_idp FOREIGN KEY (fk_soc) REFERENCES llx_societe (idp);
|
||||||
|
|
||||||
|
ALTER TABLE llx_facture ADD CONSTRAINT facture_fk_soc_idp FOREIGN KEY (fk_soc) REFERENCES llx_societe (idp);
|
||||||
|
|
||||||
|
ALTER TABLE llx_facturedet ADD CONSTRAINT facturedet_fk_facture_rowid FOREIGN KEY (fk_facture) REFERENCES llx_facture (rowid);
|
||||||
|
|
||||||
|
ALTER TABLE llx_facture_tva_sum ADD CONSTRAINT facture_tva_sum_fk_facture_rowid FOREIGN KEY (fk_facture) REFERENCES llx_facture (rowid);
|
||||||
|
|
||||||
|
ALTER TABLE llx_socpeople ADD CONSTRAINT socpeople_fk_soc_idp FOREIGN KEY (fk_soc) REFERENCES llx_societe (idp);
|
||||||
21
pgsql/header-cvs
Normal file
21
pgsql/header-cvs
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
-- ============================================================================
|
||||||
|
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This program is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-- GNU General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License
|
||||||
|
-- along with this program; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
|
-- ============================================================================
|
||||||
|
|
||||||
1316
pgsql/pgsql.sql
Normal file
1316
pgsql/pgsql.sql
Normal file
File diff suppressed because it is too large
Load Diff
29
pgsql/purge-boutique.sql
Normal file
29
pgsql/purge-boutique.sql
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
--
|
||||||
|
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This program is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-- GNU General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License
|
||||||
|
-- along with this program; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
|
-- ===========================================================================
|
||||||
|
|
||||||
|
delete from llx_auteur;
|
||||||
|
|
||||||
|
delete from llx_editeur;
|
||||||
|
|
||||||
|
delete from llx_livre;
|
||||||
|
|
||||||
|
delete from llx_livre_to_auteur;
|
||||||
29
pgsql/rename-tables.sql
Normal file
29
pgsql/rename-tables.sql
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
-- ============================================================================
|
||||||
|
-- Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This program is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-- GNU General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License
|
||||||
|
-- along with this program; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
|
-- ============================================================================
|
||||||
|
|
||||||
|
ALTER TABLE societe RENAME TO llx_societe ;
|
||||||
|
|
||||||
|
ALTER TABLE socpeople RENAME TO llx_socpeople ;
|
||||||
|
|
||||||
|
ALTER TABLE socstatutlog RENAME TO llx_socstatutlog ;
|
||||||
|
|
||||||
|
ALTER TABLE actioncomm RENAME TO llx_actioncomm ;
|
||||||
Loading…
Reference in New Issue
Block a user