2
0
forked from Wavyzz/dolibarr

importation du repertoire admin et root de htdocs avec les REPLACE

remplace par des INSERT DELETE

mise a jour des fichiers data.sql pour les deux databases
This commit is contained in:
opensides
2004-09-01 21:23:20 +00:00
parent c97b99d5e4
commit 0f1f2ee2bc
15 changed files with 290 additions and 154 deletions

View File

@@ -2,6 +2,8 @@
/* Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org> * Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@@ -346,7 +348,10 @@ class Adherent
if (sizeof($this->array_options) > 0 ) if (sizeof($this->array_options) > 0 )
{ {
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."adherent_options SET adhid = $this->id"; $sql_del = "delete from ".MAIN_DB_PREFIX."adherent_options where adhid = $this->id;";
$this->db->query($sql_del);
$sql = "insert into ".MAIN_DB_PREFIX."adherent_options (adhid) VALUES ($this->id);";
//$sql = "REPLACE INTO ".MAIN_DB_PREFIX."adherent_options SET adhid = $this->id";
foreach($this->array_options as $key => $value) foreach($this->array_options as $key => $value)
{ {
// recupere le nom de l'attribut // recupere le nom de l'attribut

View File

@@ -1,6 +1,8 @@
<?PHP <?PHP
/* Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org> * Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@@ -298,7 +300,12 @@ class AdherentOptions
{ {
if (isset($attrname) && $attrname != '' && preg_match("/^\w[a-zA-Z0-9-]*$/",$attrname)){ if (isset($attrname) && $attrname != '' && preg_match("/^\w[a-zA-Z0-9-]*$/",$attrname)){
$escaped_label=mysql_escape_string($label); $escaped_label=mysql_escape_string($label);
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."adherent_options_label SET name='$attrname',label='$escaped_label'"; $sql_del = "delete from ".MAIN_DB_PREFIX."adherent_options_label where name =
'$attrname';";
$this->db->query($sql_del);
$sql = "insert into ".MAIN_DB_PREFIX."adherent_options_label (name,label)
values ('$attrname','$escaped_label');";
//$sql = "REPLACE INTO ".MAIN_DB_PREFIX."adherent_options_label SET name='$attrname',label='$escaped_label'";
if ( $this->db->query( $sql) ) if ( $this->db->query( $sql) )
{ {

View File

@@ -2,6 +2,8 @@
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org> * Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@@ -49,10 +51,22 @@ $var=True;
if ($_POST["action"] == 'update' || $_POST["action"] == 'add') if ($_POST["action"] == 'update' || $_POST["action"] == 'add')
{ {
if (isset($_POST["consttype"]) && $_POST["consttype"] != ''){ if (isset($_POST["consttype"]) && $_POST["consttype"] != '')
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name='".$_POST["constname"]."', value = '".$_POST["constvalue"]."',note='".$_POST["constnote"]."', type='".$typeconst[$_POST["consttype"]]."',visible=0"; {
}else{ $sql = "delete from ".MAIN_DB_PREFIX."const where name = '".$_POST["constname"]."';";
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name='".$_POST["constname"]."', value = '".$_POST["constvalue"]."',note='".$_POST["constnote"]."',visible=0"; $db->query($sql);
$sql = '';
$sql = "insert into ".MAIN_DB_PREFIX."const (name,value,type,visible,note) VALUES ('".$_POST["constname"]."','".$_POST["constvalue"]."','".$typeconst[$_POST["consttype"]]."',0,'".$_POST["constnote"]."') ;";
// $sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name='".$_POST["constname"]."', value = '".$_POST["constvalue"]."',note='".$_POST["constnote"]."', type='".$typeconst[$_POST["consttype"]]."',visible=0";
}
else
{
$sql = "delete from ".MAIN_DB_PREFIX."const where name = '".$_POST["constname"]."';";
$db->query($sql);
$sql ='';
$sql = "insert into ".MAIN_DB_PREFIX."const (name,value,visible,note) VALUES ('".$_POST["constname"]."','".$_POST["constvalue"]."',0,'".$_POST["constnote"]."') ;";
//$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name='".$_POST["constname"]."', value = '".$_POST["constvalue"]."',note='".$_POST["constnote"]."',visible=0";
} }
if ($db->query($sql)) if ($db->query($sql))
@@ -71,7 +85,14 @@ if ($_POST["action"] == 'update' || $_POST["action"] == 'add')
if ($action == 'set') if ($action == 'set')
{ {
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = '$name', value='".$value."', visible=0"; $sql = "delete from ".MAIN_DB_PREFIX." where name = '$name' ;";
$db->query($sql);
$sql ='';
$sql = "INSERT INTO ".MAIN_DB_PREFIX."const(name,value,visible) values ('$name','$value',
0); ";
// $sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = '$name', value='".$value."', visible=0";
if ($db->query($sql)) if ($db->query($sql))
{ {

View File

@@ -1,5 +1,7 @@
<?PHP <?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@@ -53,7 +55,12 @@ $modules["BOUTIQUE_ALBUM"][3] = "Module de gestion des albums";
if ($action == 'set') if ($action == 'set')
{ {
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = '".$value."', value='1', visible = 0"; $sql = "delete from ".MAIN_DB_PREFIX."const where name = '".$value."';";
$db->query($sql);
$sql ='';
$sql = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES ('".$value."','1',0) ; ";
//$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = '".$value."', value='1', visible = 0";
if ($db->query($sql)) if ($db->query($sql))
{ {
@@ -63,7 +70,11 @@ if ($action == 'set')
if ($action == 'reset') if ($action == 'reset')
{ {
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = '".$value."', value='0', visible = 0"; $sql = "delete from ".MAIN_DB_PREFIX."const where name = '".$value."';";
$db->query($sql);
$sql = '';
$sql = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES ('".$value."','0',0) ; ";
//$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = '".$value."', value='0', visible = 0";
if ($db->query($sql)) if ($db->query($sql))
{ {

View File

@@ -1,6 +1,8 @@
<?PHP <?PHP
/* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@@ -47,7 +49,13 @@ $commande_addon_var = COMMANDE_ADDON;
if ($_GET["action"] == 'setmod') if ($_GET["action"] == 'setmod')
{ {
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'COMMANDE_ADDON', value='".$_GET["value"]."', visible=0"; $sql = "delete from ".MAIN_DB_PREFIX."const where name = 'COMMANDE_ADDON' ;";
$db->query($sql);
$sql = '';
$sql = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES
('COMMANDE_ADDON','".$_GET["value"]."',0) ; ";
//$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'COMMANDE_ADDON', value='".$_GET["value"]."', visible=0";
if ($db->query($sql)) if ($db->query($sql))
{ {

View File

@@ -1,6 +1,8 @@
<?PHP <?PHP
/* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@@ -36,7 +38,12 @@ if (!$user->admin)
if ($action == 'nbprod' && $user->admin) if ($action == 'nbprod' && $user->admin)
{ {
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'EXPEDITION_NEW_FORM_NB_PRODUCT', value='".$value."', visible=0"; $sql ="delete from ".MAIN_DB_PREFIX."const where name = 'EXPEDITION_NEW_FORM_NB_PRODUCT';";
$db->query($sql);
$sql ='';
$sql = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES ('EXPEDITION_NEW_FORM_NB_PRODUCT','".$value."',0);";
//$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'EXPEDITION_NEW_FORM_NB_PRODUCT', value='".$value."', visible=0";
if ($db->query($sql)) if ($db->query($sql))
{ {
@@ -54,10 +61,14 @@ if ($_GET["action"] == 'set')
$classname = 'methode_expedition_'.$_GET["value"]; $classname = 'methode_expedition_'.$_GET["value"];
require_once($file); require_once($file);
$obj = new $classname(); $obj = new $classname();
$sql = "delete from ".MAIN_DB_PREFIX."expedition_methode where rowid = "$obj->id";";
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."expedition_methode (rowid,code,libelle, description, statut)"; $db->query($sql);
$sql .= " VALUES (".$obj->id.",'".$obj->code."','".$obj->name."','".addslashes($obj->description)."',".$_GET["statut"].")"; $sql='';
$sql = "insert into ".MAIN_DB_PREFIX."expedition_methode (rowid,code,libelle,description,status) VALUES (".$obj->id.",'".$obj->code."','".$obj->name."','".addslashes($obj->description)."',".$_GET["statut"].");";
//$sql = "REPLACE INTO ".MAIN_DB_PREFIX."expedition_methode (rowid,code,libelle, description, statut)";
//$sql .= " VALUES (".$obj->id.",'".$obj->code."','".$obj->name."','".addslashes($obj->description)."',".$_GET["statut"].")";
if ($db->query($sql)) if ($db->query($sql))
{ {
@@ -71,7 +82,12 @@ $expedition_addon_var_pdf = EXPEDITION_ADDON_PDF;
if ($_GET["action"] == 'setpdf') if ($_GET["action"] == 'setpdf')
{ {
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'EXPEDITION_ADDON_PDF', value='".$_GET["value"]."', visible=0"; $sql = "delete from ".MAIN_DB_PREFIX."const where name = 'EXPEDITION_ADDON_PDF';";
$db->query($sql);
$sql='';
$sql = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES ('EXPEDITION_ADDON_PDF','".$_GET["value"]."',0)";
//$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'EXPEDITION_ADDON_PDF', value='".$_GET["value"]."', visible=0";
if ($db->query($sql)) if ($db->query($sql))
{ {
@@ -94,8 +110,12 @@ $expedition_default = EXPEDITION_DEFAULT;
if ($_GET["action"] == 'setdef') if ($_GET["action"] == 'setdef')
{ {
$sql = "delete from ".MAIN_DB_PREFIX."const where name = 'EXPEDITION_ADDON';";
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'EXPEDITION_ADDON', value='".$value."', visible=0"; $db->query($sql);
$sql='';
$sql = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES ('EXPEDITION_ADDON','".$value."',0)";
//$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'EXPEDITION_ADDON', value='".$value."', visible=0";
if ($db->query($sql)) if ($db->query($sql))
{ {
// la constante qui a <20>t<EFBFBD> lue en avant du nouveau set // la constante qui a <20>t<EFBFBD> lue en avant du nouveau set

View File

@@ -1,6 +1,8 @@
<?PHP <?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@@ -43,7 +45,12 @@ $ficheinter_addon_var_pdf = FICHEINTER_ADDON_PDF;
if ($action == 'setpdf') if ($action == 'setpdf')
{ {
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'FICHEINTER_ADDON_PDF', value='".$value."', visible=0"; $sql = "delete from ".MAIN_DB_PREFIX."const where name = 'FICHEINTER_ADDON_PDF' ;";
$db->query($sql);$sql ='';
$sql = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES
('FICHEINTER_ADDON_PDF','".$value."',0) ; ";
//$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'FICHEINTER_ADDON_PDF', value='".$value."', visible=0";
if ($db->query($sql)) if ($db->query($sql))
{ {

View File

@@ -1,6 +1,8 @@
<?PHP <?PHP
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> * Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@@ -37,20 +39,32 @@ if (!$user->admin)
if ($_GET["action"] == 'setvalue' && $user->admin) if ($_GET["action"] == 'setvalue' && $user->admin)
{ {
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'LDAP_SERVER_HOST', value='".$HTTP_POST_VARS["host"]."', visible=0"; $sql = "delete from ".MAIN_DB_PREFIX."const where name = 'LDAP_SERVER_HOST';";
$db->query($sql);$sql='';
$sql = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES
('LDAP_SERVER_HOST','".$HTTP_POST_VARS["host"]."',0);";
//$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'LDAP_SERVER_HOST', value='".$HTTP_POST_VARS["host"]."', visible=0";
$db->query($sql); $db->query($sql);
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'LDAP_SERVER_DN', value='".$HTTP_POST_VARS["dn"]."', visible=0"; //$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'LDAP_SERVER_DN', value='".$HTTP_POST_VARS["dn"]."', visible=0";
$sql = "delete from ".MAIN_DB_PREFIX."const where name = 'LDAP_SERVER_DN';";
$db->query($sql);$sql='';
$sql = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES
('LDAP_SERVER_DN','".$HTTP_POST_VARS["dn"]."',0);";
$db->query($sql); $db->query($sql);
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'LDAP_SERVER_PASS', value='".$HTTP_POST_VARS["pass"]."', visible=0"; $sql = "delete from ".MAIN_DB_PREFIX."const where name = 'LDAP_SERVER_PASS';";
$db->query($sql);$sql='';
$sql = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES
('LDAP_SERVER_PASS','".$HTTP_POST_VARS["pass"]."',0);";
//$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'LDAP_SERVER_PASS', value='".$HTTP_POST_VARS["pass"]."', visible=0";
$db->query($sql); $db->query($sql);
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'LDAP_SERVER_TYPE', value='".$HTTP_POST_VARS["type"]."', visible=0"; //$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'LDAP_SERVER_TYPE', value='".$HTTP_POST_VARS["type"]."', visible=0";
$sql = "delete from ".MAIN_DB_PREFIX."const where name = 'LDAP_SERVER_TYPE';";
$db->query($sql);$sql='';
$sql = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES
('LDAP_SERVER_TYPE','".$HTTP_POST_VARS["type"]."',0);";
$db->query($sql); $db->query($sql);

View File

@@ -2,7 +2,8 @@
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 <20>ric Seigne <erics@rycks.com> * Copyright (C) 2003 <20>ric Seigne <erics@rycks.com>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@@ -56,11 +57,34 @@ if ($actionsave)
{ {
if (trim($phpwebcalendar_pass) == trim($phpwebcalendar_pass2)) if (trim($phpwebcalendar_pass) == trim($phpwebcalendar_pass2))
{ {
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'PHPWEBCALENDAR_URL',value='".$phpwebcalendar_url."', visible=0"; $sql = "delete from ".MAIN_DB_PREFIX."const where name = 'PHPWEBCALENDAR_URL';";
$sql1 = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'PHPWEBCALENDAR_HOST',value='".$phpwebcalendar_host."', visible=0"; $db->query($sql);$sql='';
$sql2 = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'PHPWEBCALENDAR_DBNAME', value='".$phpwebcalendar_dbname."', visible=0"; $sql = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES
$sql3 = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'PHPWEBCALENDAR_USER', value='".$phpwebcalendar_user."', visible=0"; ('PHPWEBCALENDAR_URL','".$phpwebcalendar_url."',0);";
$sql4 = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'PHPWEBCALENDAR_PASS', value='".$phpwebcalendar_pass."', visible=0"; //$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'PHPWEBCALENDAR_URL',value='".$phpwebcalendar_url."', visible=0";
$sql1 = "delete from ".MAIN_DB_PREFIX."const where name = 'PHPWEBCALENDAR_HOST';";
$db->query($sql1);$sql1 = '';
$sql1 = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES ('PHPWEBCALENDAR_HOST','".$phpwebcalendar_host."',0);";
//$sql1 = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'PHPWEBCALENDAR_HOST',value='".$phpwebcalendar_host."', visible=0";
$sql2 = "delete from ".MAIN_DB_PREFIX."const where name = 'PHPWEBCALENDAR_DBNAME';";
$db->query($sql2);$sql2='';
$sql2 = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES
('PHPWEBCALENDAR_DBNAME','".$phpwebcalendar_dbname."',0);";
//$sql2 = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'PHPWEBCALENDAR_DBNAME', value='".$phpwebcalendar_dbname."', visible=0";
$sql3 = "delete from ".MAIN_DB_PREFIX."const where name = 'PHPWEBCALENDAR_USER' ;";
$db->query($sql3);$sql3='';
$sql3 = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES
('PHPWEBCALENDAR_USER','".$phpwebcalendar_user."',0);";
//$sql3 = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'PHPWEBCALENDAR_USER', value='".$phpwebcalendar_user."', visible=0";
$sql4 = "delete from ".MAIN_DB_PREFIX."const where name = 'PHPWEBCALENDAR_PASS';";
$db->query($sql4);$sql4='';
$sql4 = "insert into ".MAIN_DB_PREFIX."const (name,value,visible) VALUES
('PHPWEBCALENDAR_PASS','".$phpwebcalendar_pass."',0);";
//$sql4 = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'PHPWEBCALENDAR_PASS', value='".$phpwebcalendar_pass."', visible=0";
if ($db->query($sql) && $db->query($sql1) && $db->query($sql2) && $db->query($sql3) && $db->query($sql4)) if ($db->query($sql) && $db->query($sql1) && $db->query($sql2) && $db->query($sql3) && $db->query($sql4))
{ {

View File

@@ -2,6 +2,8 @@
/* Copyright (c) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (c) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> * Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@@ -151,7 +153,7 @@ class Form
function select_pays($selected='',$htmlname='pays_id') function select_pays($selected='',$htmlname='pays_id')
{ {
$sql = "SELECT rowid, libelle, active FROM ".MAIN_DB_PREFIX."c_pays"; $sql = "SELECT rowid, libelle, active FROM ".MAIN_DB_PREFIX."c_pays";
$sql .= " WHERE active = 1 ORDER BY libelle ASC"; $sql .= " WHERE active = 1 ORDER BY libelle ASC;";
if ($this->db->query($sql)) if ($this->db->query($sql))
{ {
@@ -171,7 +173,7 @@ class Form
{ {
print '<option value="'.$obj->rowid.'">'.$obj->libelle.'</option>'; print '<option value="'.$obj->rowid.'">'.$obj->libelle.'</option>';
} }
$i++; $i++;
} }
} }
print '</select>'; print '</select>';

View File

@@ -2,7 +2,7 @@
/* Copyright (C) 2001 Fabien Seisen <seisen@linuxfr.org> /* Copyright (C) 2001 Fabien Seisen <seisen@linuxfr.org>
* Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Sebastien Di Cintio <eldy@users.sourceforge.net> * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> * Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
@@ -488,6 +488,11 @@ class DoliDb {
return pg_affected_rows($this->db); return pg_affected_rows($this->db);
} }
/*!
\brief construit une chaine de connection pear.
\return peardsn
*/
function getdsn($db_type,$db_user,$db_pass,$db_host,$dbname) function getdsn($db_type,$db_user,$db_pass,$db_host,$dbname)
{ {
$pear = $db_type.'://'.$db_user.':'.$db_pass.'@'. $pear = $db_type.'://'.$db_user.':'.$db_pass.'@'.

View File

@@ -2,6 +2,8 @@
/* Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Xavier Dutoit <doli@sydesy.com> * Copyright (C) 2003 Xavier Dutoit <doli@sydesy.com>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@@ -127,10 +129,12 @@ else
//require_once "Auth/Auth.php"; //require_once "Auth/Auth.php";
require_once DOL_DOCUMENT_ROOT."/includes/pear/Auth/Auth.php"; require_once DOL_DOCUMENT_ROOT."/includes/pear/Auth/Auth.php";
$pear = $dolibarr_main_db_type.'://'.$dolibarr_main_db_user.':'.$dolibarr_main_db_pass.'@'.$dolibarr_main_db_host.'/'.$dolibarr_main_db_name;
$params = array( $params = array(
// "dsn" => $conf->db->getdsn(), // "dsn" => $conf->db->getdsn(),
"dsn" => $db->getdsn($dolibarr_main_db_type,$dolibarr_main_db_user,$dolibarr_main_db_pass,$dolibarr_main_db_host,$dolibarr_main_db_name), "dsn" =>$pear, //$db->getdsn($dolibarr_main_db_type,$dolibarr_main_db_user,$dolibarr_main_db_pass,$dolibarr_main_db_host,$dolibarr_main_db_name),
"table" => MAIN_DB_PREFIX."user", "table" => MAIN_DB_PREFIX."user",
"usernamecol" => "login", "usernamecol" => "login",
"passwordcol" => "pass", "passwordcol" => "pass",

View File

@@ -2,6 +2,8 @@
/* Copyright (c) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (c) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (c) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org> * Copyright (c) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (c) 2004 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (c) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@@ -625,6 +627,7 @@ class User
$this->login = strtolower(substr($contact->prenom, 0, 3)) . strtolower(substr($contact->nom, 0, 3)); $this->login = strtolower(substr($contact->prenom, 0, 3)) . strtolower(substr($contact->nom, 0, 3));
$sql = "SELECT login FROM ".MAIN_DB_PREFIX."user WHERE login ='$this->login'"; $sql = "SELECT login FROM ".MAIN_DB_PREFIX."user WHERE login ='$this->login'";
if ($this->db->query($sql)) if ($this->db->query($sql))

View File

@@ -280,7 +280,11 @@ insert into llx_c_regions (rowid,fk_pays,code_region,cheflieu,tncc,nom) values (
insert into llx_c_regions (rowid,fk_pays,code_region,cheflieu,tncc,nom) values (124,1, 91,'34172',2,'Languedoc-Roussillon'); insert into llx_c_regions (rowid,fk_pays,code_region,cheflieu,tncc,nom) values (124,1, 91,'34172',2,'Languedoc-Roussillon');
insert into llx_c_regions (rowid,fk_pays,code_region,cheflieu,tncc,nom) values (125,1, 93,'13055',0,'Provence-Alpes-C<>te d\'Azur'); insert into llx_c_regions (rowid,fk_pays,code_region,cheflieu,tncc,nom) values (125,1, 93,'13055',0,'Provence-Alpes-C<>te d\'Azur');
insert into llx_c_regions (rowid,fk_pays,code_region,cheflieu,tncc,nom) values (126,1, 94,'2A004',0,'Corse'); insert into llx_c_regions (rowid,fk_pays,code_region,cheflieu,tncc,nom) values (126,1, 94,'2A004',0,'Corse');
--
-- Regions de Belgique -- Regions de Belgique
--
insert into llx_c_regions (rowid,fk_pays,code_region,cheflieu,tncc,nom) values (201,2,201,'',1,'Flandre'); insert into llx_c_regions (rowid,fk_pays,code_region,cheflieu,tncc,nom) values (201,2,201,'',1,'Flandre');
insert into llx_c_regions (rowid,fk_pays,code_region,cheflieu,tncc,nom) values (202,2,202,'',2,'Wallonie'); insert into llx_c_regions (rowid,fk_pays,code_region,cheflieu,tncc,nom) values (202,2,202,'',2,'Wallonie');
insert into llx_c_regions (rowid,fk_pays,code_region,cheflieu,tncc,nom) values (203,2,203,'',3,'Bruxelles-Capitale'); insert into llx_c_regions (rowid,fk_pays,code_region,cheflieu,tncc,nom) values (203,2,203,'',3,'Bruxelles-Capitale');
@@ -515,9 +519,9 @@ insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,104,'ASBL -
insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,105,'SCRI - Soci<EFBFBD>t<EFBFBD> coop<EFBFBD>rative <EFBFBD> responsabilit<EFBFBD> illimit<EFBFBD>e'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,105,'SCRI - Soci<EFBFBD>t<EFBFBD> coop<EFBFBD>rative <EFBFBD> responsabilit<EFBFBD> illimit<EFBFBD>e');
insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,106,'SCS - Soci<EFBFBD>t<EFBFBD> en comanndite simple'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,106,'SCS - Soci<EFBFBD>t<EFBFBD> en comanndite simple');
insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,107,'SCA - Soci<EFBFBD>t<EFBFBD> en commandite par action'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,107,'SCA - Soci<EFBFBD>t<EFBFBD> en commandite par action');
insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,109,'SNC - Soci<EFBFBD>t<EFBFBD> en nom collectif'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,108,'SNC - Soci<EFBFBD>t<EFBFBD> en nom collectif');
insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,107,'GIE - Groupement d\'int<EFBFBD>r<EFBFBD>t <20>conomique'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,109,'GIE - Groupement d\'int<EFBFBD>r<EFBFBD>t <20>conomique');
insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,109,'GEIE - Groupement europ<6F>en d\'int<EFBFBD>r<EFBFBD>t <EFBFBD>conomique'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,110,'GEIE - Groupement europ<6F>en d\'int<EFBFBD>r<EFBFBD>t <EFBFBD>conomique');
-- --
-- Civilites -- Civilites

View File

@@ -1,4 +1,3 @@
-- ============================================================================--
-- 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> -- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
-- --
@@ -16,12 +15,16 @@
-- along with this program; if not, write to the Free Software -- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-- --
-- Valeurs pour les bases de langues francaises
--
-- $Id$ -- $Id$
-- $Source$ -- $Source$
-- --
-- ============================================================================-- -- Valeurs pour les bases de langues francaises
--
--
-- Ne pas place de commentaire en fin de ligne, ce fichier est pars<72> lors
-- de l'install et tous les sigles '--' sont supprim<69>s.
--
insert into llx_cond_reglement values (1,1,1, 'A r<>ception','R<>ception de facture',0,0); insert into llx_cond_reglement values (1,1,1, 'A r<>ception','R<>ception de facture',0,0);
insert into llx_cond_reglement values (2,2,1, '30 jours','R<EFBFBD>glement <20> 30 jours',0,30); insert into llx_cond_reglement values (2,2,1, '30 jours','R<EFBFBD>glement <20> 30 jours',0,30);
@@ -540,9 +543,9 @@ insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,104,'ASBL -
insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,105,'SCRI - Soci<63>t<EFBFBD> coop<6F>rative <20> responsabilit<69> illimit<69>e'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,105,'SCRI - Soci<63>t<EFBFBD> coop<6F>rative <20> responsabilit<69> illimit<69>e');
insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,106,'SCS - Soci<63>t<EFBFBD> en comanndite simple'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,106,'SCS - Soci<63>t<EFBFBD> en comanndite simple');
insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,107,'SCA - Soci<63>t<EFBFBD> en commandite par action'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,107,'SCA - Soci<63>t<EFBFBD> en commandite par action');
insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,109,'SNC - Soci<63>t<EFBFBD> en nom collectif'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,108,'SNC - Soci<63>t<EFBFBD> en nom collectif');
insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,107,'GIE - Groupement d\'int<EFBFBD>r<EFBFBD>t <EFBFBD>conomique'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,109,'GIE - Groupement d\'int<EFBFBD>r<EFBFBD>t <EFBFBD>conomique');
insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,109,'GEIE - Groupement europ<EFBFBD>en d\'int<EFBFBD>r<EFBFBD>t <20>conomique'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (2,110,'GEIE - Groupement europ<EFBFBD>en d\'int<EFBFBD>r<EFBFBD>t <20>conomique');
-- --
-- Civilites -- Civilites
@@ -570,107 +573,105 @@ insert into llx_c_civilite (rowid, code, lang, fk_pays, civilite, active) values
-- --
-- Descriptif du plan comptable FR PCG99-ABREGE -- Descriptif du plan comptable FR PCG99-ABREGE
-- --
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 1,1,'PCG99-ABREGE','CAPIT', 'CAPITAL', 'Capital','101');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (1,1,'PCG99-ABREGE','XXXXXX','Capital','101'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 2,1,'PCG99-ABREGE','CAPIT', 'XXXXXX', 'Ecarts de r<><72>valuation','105');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (2,1,'PCG99-ABREGE','XXXXXX','Ecarts de r<><72>valuation ','105'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 3,1,'PCG99-ABREGE','CAPIT', 'XXXXXX', 'R<EFBFBD>serve l<>gale','1061');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (3,1,'PCG99-ABREGE','XXXXXX','R<EFBFBD>serve l<>gale','1061'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 4,1,'PCG99-ABREGE','CAPIT', 'XXXXXX', 'R<EFBFBD>serves statutaires ou contractuelles','1063');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (4,1,'PCG99-ABREGE','XXXXXX','R<EFBFBD>serves statutaires ou contractuelles ','1063'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 5,1,'PCG99-ABREGE','CAPIT', 'XXXXXX', 'R<EFBFBD>serves r<EFBFBD>glement<EFBFBD>es','1064');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (5,1,'PCG99-ABREGE','XXXXXX','R<EFBFBD>serves r<>glement<6E>es ','1064'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 6,1,'PCG99-ABREGE','CAPIT', 'XXXXXX', 'Autres r<>serves','1068');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (6,1,'PCG99-ABREGE','XXXXXX','Autres r<>serves','1068'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 7,1,'PCG99-ABREGE','CAPIT', 'XXXXXX', 'Compte de l''exploitant','108');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (7,1,'PCG99-ABREGE','XXXXXX','Compte de l''exploitant','108'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 8,1,'PCG99-ABREGE','CAPIT', 'XXXXXX', 'r<EFBFBD>sultat de l''exercice','12');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (8,1,'PCG99-ABREGE','XXXXXX','r<EFBFBD>sultat de l''exercice ','12'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 9,1,'PCG99-ABREGE','CAPIT', 'XXXXXX', 'Amortissements d<>rogatoires','145');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (9,1,'PCG99-ABREGE','XXXXXX','Amortissements d<>rogatoires ','145'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 10,1,'PCG99-ABREGE','CAPIT', 'XXXXXX', 'Provision sp<73>ciale de r<><72>valuation','146');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (10,1,'PCG99-ABREGE','XXXXXX','Provision sp<73>ciale de r<><72>valuation ','146'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 11,1,'PCG99-ABREGE','CAPIT', 'XXXXXX', 'Plus-values r<>investies','147');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (11,1,'PCG99-ABREGE','XXXXXX','Plus-values r<>investies ','147'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 12,1,'PCG99-ABREGE','CAPIT', 'XXXXXX', 'Autres provisions r<>glement<6E>es','148');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (12,1,'PCG99-ABREGE','XXXXXX','Autres provisions r<EFBFBD>glement<EFBFBD>es ','148'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 13,1,'PCG99-ABREGE','CAPIT', 'XXXXXX', 'Provisions pour risques et charges','15');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (13,1,'PCG99-ABREGE','XXXXXX','Provisions pour risques et charges ','15'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 14,1,'PCG99-ABREGE','CAPIT', 'XXXXXX', 'emprunts et dettes assimilees','16');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (14,1,'PCG99-ABREGE','XXXXXX','emprunts et dettes assimilees','16'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 15,1,'PCG99-ABREGE','IMMO', 'XXXXXX', 'immobilisations incorporelles','20');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (15,1,'PCG99-ABREGE','XXXXXX','immobilisations incorporelles','20'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 16,1,'PCG99-ABREGE','IMMO', 'XXXXXX', 'Frais d''<EFBFBD>tablissement','201');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (16,1,'PCG99-ABREGE','XXXXXX','Frais d''<EFBFBD>tablissement','201'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 17,1,'PCG99-ABREGE','IMMO', 'XXXXXX', 'Droit au bail','206');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (17,1,'PCG99-ABREGE','XXXXXX','Droit au bail','206'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 18,1,'PCG99-ABREGE','IMMO', 'XXXXXX', 'Fonds commercial','207');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (18,1,'PCG99-ABREGE','XXXXXX','Fonds commercial','207'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 19,1,'PCG99-ABREGE','IMMO', 'XXXXXX', 'Autres immobilisations incorporelles','208');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (19,1,'PCG99-ABREGE','XXXXXX','Autres immobilisations incorporelles ','208'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 20,1,'PCG99-ABREGE','IMMO', 'XXXXXX', 'immobilisations corporelles','21');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (20,1,'PCG99-ABREGE','XXXXXX','immobilisations corporelles','21'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 21,1,'PCG99-ABREGE','IMMO', 'XXXXXX', 'immobilisations en cours','23');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (21,1,'PCG99-ABREGE','XXXXXX','immobilisations en cours','23'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 22,1,'PCG99-ABREGE','IMMO', 'XXXXXX', 'autres immobilisations financieres','27');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (22,1,'PCG99-ABREGE','XXXXXX','autres immobilisations financieres ','27'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 23,1,'PCG99-ABREGE','IMMO', 'XXXXXX', 'Amortissements des immobilisations incorporelles','280');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (23,1,'PCG99-ABREGE','XXXXXX','Amortissements des immobilisations incorporelles ','280'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 24,1,'PCG99-ABREGE','IMMO', 'XXXXXX', 'Amortissements des immobilisations corporelles','281');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (24,1,'PCG99-ABREGE','XXXXXX','Amortissements des immobilisations corporelles ','281'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 25,1,'PCG99-ABREGE','IMMO', 'XXXXXX', 'Provisions pour d<>pr<70>ciation des immobilisations incorporelles','290');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (25,1,'PCG99-ABREGE','XXXXXX','Provisions pour d<>pr<70>ciation des immobilisations incorporelles ','290'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 26,1,'PCG99-ABREGE','IMMO', 'XXXXXX', 'Provisions pour d<>pr<70>ciation des immobilisations corporelles','291');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (26,1,'PCG99-ABREGE','XXXXXX','Provisions pour d<>pr<70>ciation des immobilisations corporelles ','291'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 27,1,'PCG99-ABREGE','IMMO', 'XXXXXX', 'Provisions pour d<>pr<70>ciation des autres immobilisations financi<EFBFBD>res','297');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (27,1,'PCG99-ABREGE','XXXXXX','Provisions pour d<>pr<70>ciation des autres immobilisations financi<EFBFBD>res ','297'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 28,1,'PCG99-ABREGE','STOCK', 'XXXXXX', 'matieres premi<EFBFBD>res','31');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (28,1,'PCG99-ABREGE','XXXXXX','matieres premi<6D>res ','31'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 29,1,'PCG99-ABREGE','STOCK', 'XXXXXX', 'autres approvisionnements','32');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (29,1,'PCG99-ABREGE','XXXXXX','autres approvisionnements','32'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 30,1,'PCG99-ABREGE','STOCK', 'XXXXXX', 'en-cours de production de biens','33');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (30,1,'PCG99-ABREGE','XXXXXX','en-cours de production de biens ','33'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 31,1,'PCG99-ABREGE','STOCK', 'XXXXXX', 'en-cours de production de services','34');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (31,1,'PCG99-ABREGE','XXXXXX','en-cours de production de services ','34'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 32,1,'PCG99-ABREGE','STOCK', 'XXXXXX', 'stocks de produits','35');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (32,1,'PCG99-ABREGE','XXXXXX','stocks de produits','35'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 33,1,'PCG99-ABREGE','STOCK', 'XXXXXX', 'stocks de marchandises','37');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (33,1,'PCG99-ABREGE','XXXXXX','stocks de marchandises','37'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 34,1,'PCG99-ABREGE','STOCK', 'XXXXXX', 'Provisions pour d<>pr<70>ciation des mati<74>res premi<6D>res','391');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (34,1,'PCG99-ABREGE','XXXXXX','Provisions pour d<>pr<70>ciation des mati<EFBFBD>res premi<6D>res ','391'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 35,1,'PCG99-ABREGE','STOCK', 'XXXXXX', 'Provisions pour d<>pr<70>ciation des autres approvisionnements','392');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (35,1,'PCG99-ABREGE','XXXXXX','Provisions pour d<>pr<70>ciation des autres approvisionnements ','392'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 36,1,'PCG99-ABREGE','STOCK', 'XXXXXX', 'Provisions pour d<>pr<70>ciation des en-cours de production de biens','393');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (36,1,'PCG99-ABREGE','XXXXXX','Provisions pour d<>pr<70>ciation des en-cours de production de biens ','393'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 37,1,'PCG99-ABREGE','STOCK', 'XXXXXX', 'Provisions pour d<>pr<70>ciation des en-cours de production de services','394');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (37,1,'PCG99-ABREGE','XXXXXX','Provisions pour d<>pr<70>ciation des en-cours de production de services ','394'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 38,1,'PCG99-ABREGE','STOCK', 'XXXXXX', 'Provisions pour d<>pr<70>ciation des stocks de produits','395');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (38,1,'PCG99-ABREGE','XXXXXX','Provisions pour d<>pr<70>ciation des stocks de produits ','395'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 39,1,'PCG99-ABREGE','STOCK', 'XXXXXX', 'Provisions pour d<>pr<70>ciation des stocks de marchandises','397');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (39,1,'PCG99-ABREGE','XXXXXX','Provisions pour d<>pr<70>ciation des stocks de marchandises ','397'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 40,1,'PCG99-ABREGE','TIERS', 'SUPPLIER', 'Fournisseurs et Comptes rattach<63>s','400');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (40,1,'PCG99-ABREGE','XXXXXX','Fournisseurs et Comptes rattach<63>s ','400'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 41,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'Fournisseurs d<EFBFBD>biteurs','409');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (41,1,'PCG99-ABREGE','XXXXXX','Fournisseurs d<>biteurs','409'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 42,1,'PCG99-ABREGE','TIERS', 'CUSTOMER', 'Clients et Comptes rattach<63>s','410');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (42,1,'PCG99-ABREGE','XXXXXX','Clients et Comptes rattach<63>s ','410'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 43,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'Clients cr<EFBFBD>diteurs','419');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (43,1,'PCG99-ABREGE','XXXXXX','Clients cr<63>diteurs','419'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 44,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'Personnel','421');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (44,1,'PCG99-ABREGE','XXXXXX','Personnel','421'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 45,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'Personnel','428');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (45,1,'PCG99-ABREGE','XXXXXX','Personnel','428'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 46,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'S<EFBFBD>curit<EFBFBD> sociale et autres organismes sociaux','43');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (46,1,'PCG99-ABREGE','XXXXXX','S<EFBFBD>curit<EFBFBD> sociale et autres organismes sociaux ','43'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 47,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'Etat - imp<6D>ts sur b<>n<EFBFBD>fice','444');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (47,1,'PCG99-ABREGE','XXXXXX','Etat','444'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 48,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'Etat - Taxes sur chiffre affaire','445');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (48,1,'PCG99-ABREGE','XXXXXX','Etat','445'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 49,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'Autres imp<6D>ts, taxes et versements assimil<69>s','447');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (49,1,'PCG99-ABREGE','XXXXXX','Autres imp<6D>ts, taxes et versements assimil<69>s ','447'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 50,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'Groupe et associes','45');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (50,1,'PCG99-ABREGE','XXXXXX','Groupe et associes','45'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 51,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'Associ<EFBFBD>s','455');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (51,1,'PCG99-ABREGE','XXXXXX','Associ<EFBFBD>s','455'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 52,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'D<EFBFBD>biteurs divers et cr<63>diteurs divers','46');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (52,1,'PCG99-ABREGE','XXXXXX','D<EFBFBD>biteurs divers et cr<63>diteurs divers ','46'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 53,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'comptes transitoires ou d''attente','47');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (53,1,'PCG99-ABREGE','XXXXXX','comptes transitoires ou d''attente ','47'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 54,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'Charges <20> r<>partir sur plusieurs exercices','481');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (54,1,'PCG99-ABREGE','XXXXXX','Charges <EFBFBD> r<>partir sur plusieurs exercices ','481'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 55,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'Charges constat<EFBFBD>es d''avance','486');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (55,1,'PCG99-ABREGE','XXXXXX','Charges constat<61>es d''avance ','486'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 56,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'Produits constat<61>s d''avance','487');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (56,1,'PCG99-ABREGE','XXXXXX','Produits constat<61>s d''avance ','487'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 57,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'Provisions pour d<>pr<70>ciation des comptes de clients','491');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (57,1,'PCG99-ABREGE','XXXXXX','Provisions pour d<>pr<70>ciation des comptes de clients ','491'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 58,1,'PCG99-ABREGE','TIERS', 'XXXXXX', 'Provisions pour d<>pr<70>ciation des comptes de d<EFBFBD>biteurs divers','496');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (58,1,'PCG99-ABREGE','XXXXXX','Provisions pour d<>pr<70>ciation des comptes de d<>biteurs divers ','496'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 59,1,'PCG99-ABREGE','FINAN', 'XXXXXX', 'valeurs mobili<6C>res de placement','50');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (59,1,'PCG99-ABREGE','XXXXXX','valeurs mobili<6C>res de placement ','50'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 60,1,'PCG99-ABREGE','FINAN', 'BANK', 'banques, <20>tablissements financiers et assimil<69>s','51');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (60,1,'PCG99-ABREGE','BANK','banques, <20>tablissements financiers et assimil<69>s ','51'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 61,1,'PCG99-ABREGE','FINAN', 'CASH', 'Caisse','53');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (61,1,'PCG99-ABREGE','CASH','Caisse','53'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 62,1,'PCG99-ABREGE','FINAN', 'XXXXXX', 'r<EFBFBD>gies d''avance et accr<63>ditifs','54');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (62,1,'PCG99-ABREGE','XXXXXX','r<EFBFBD>gies d''avance et accr<63>ditifs','54'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 63,1,'PCG99-ABREGE','FINAN', 'XXXXXX', 'virements internes','58');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (63,1,'PCG99-ABREGE','XXXXXX','virements internes','58'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 64,1,'PCG99-ABREGE','FINAN', 'XXXXXX', 'Provisions pour d<>pr<70>ciation des valeurs mobili<6C>res de placement','590');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (64,1,'PCG99-ABREGE','XXXXXX','Provisions pour d<>pr<70>ciation des valeurs mobili<6C>res de placement ','590'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 65,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Achats','60');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (65,1,'PCG99-ABREGE','XXXXXX','Achats ','60'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 66,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'variations des stocks','603');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (66,1,'PCG99-ABREGE','XXXXXX','variations des stocks ','603'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 67,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Services ext<78>rieurs','61');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (67,1,'PCG99-ABREGE','XXXXXX','Services ext<78>rieurs','61'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 68,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Autres services ext<78>rieurs','62');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (68,1,'PCG99-ABREGE','XXXXXX','Autres services ext<78>rieurs ','62'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 69,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Imp<EFBFBD>ts, taxes et versements assimiles','63');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (69,1,'PCG99-ABREGE','XXXXXX','Imp<EFBFBD>ts, taxes et versements assimiles ','63'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 70,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'R<EFBFBD>mun<EFBFBD>rations du personnel','641');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (70,1,'PCG99-ABREGE','XXXXXX','R<EFBFBD>mun<EFBFBD>rations du personnel ','641'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 71,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'R<EFBFBD>mun<EFBFBD>ration du travail de l''exploitant','644');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (71,1,'PCG99-ABREGE','XXXXXX','R<EFBFBD>mun<EFBFBD>ration du travail de l''exploitant ','644'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 72,1,'PCG99-ABREGE','CHARGE','SOCIAL', 'Charges de s<>curit<69> sociale et de pr<70>voyance','645');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (72,1,'PCG99-ABREGE','XXXXXX','Charges de s<>curit<69> sociale et de pr<70>voyance ','645'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 73,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Cotisations sociales personnelles de l''exploitant','646');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (73,1,'PCG99-ABREGE','XXXXXX','Cotisations sociales personnelles de l''exploitant ','646'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 74,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Autres charges de gestion courante','65');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (74,1,'PCG99-ABREGE','XXXXXX','Autres charges de gestion courante ','65'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 75,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Charges financi<63>res','66');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (75,1,'PCG99-ABREGE','XXXXXX','Charges financi<EFBFBD>res','66'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 76,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Charges exceptionnelles','67');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (76,1,'PCG99-ABREGE','XXXXXX','Charges exceptionnelles','67'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 77,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Dotations aux amortissements et aux provisions','681');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (77,1,'PCG99-ABREGE','XXXXXX','Dotations aux amortissements et aux provisions','681'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 78,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Dotations aux amortissements et aux provisions','686');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (78,1,'PCG99-ABREGE','XXXXXX','Dotations aux amortissements et aux provisions','686'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 79,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Dotations aux amortissements et aux provisions','687');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (79,1,'PCG99-ABREGE','XXXXXX','Dotations aux amortissements et aux provisions','687'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 80,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Participation des salari<72>s aux r<>sultats','691');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (80,1,'PCG99-ABREGE','XXXXXX','Participation des salari<72>s aux r<>sultats ','691'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 81,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Imp<EFBFBD>ts sur les b<>n<EFBFBD>fices','695');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (81,1,'PCG99-ABREGE','XXXXXX','Imp<EFBFBD>ts sur les b<>n<EFBFBD>fices ','695'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 82,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Imposition forfaitaire annuelle des soci<63>t<EFBFBD>s','697');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (82,1,'PCG99-ABREGE','XXXXXX','Imposition forfaitaire annuelle des soci<63>t<EFBFBD>s ','697'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 83,1,'PCG99-ABREGE','CHARGE','XXXXXX', 'Produits','699');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (83,1,'PCG99-ABREGE','XXXXXX','Produits','699'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 84,1,'PCG99-ABREGE','PROD', 'PRODUCT', 'Ventes de produits finis','701');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (84,1,'PCG99-ABREGE','XXXXXX','Ventes de produits finis','701'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 85,1,'PCG99-ABREGE','PROD', 'SERVICE', 'Prestations de services','706');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (85,1,'PCG99-ABREGE','XXXXXX','Prestations de services','706'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 86,1,'PCG99-ABREGE','PROD', 'PRODUCT', 'Ventes de marchandises','707');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (86,1,'PCG99-ABREGE','XXXXXX','Ventes de marchandises','707'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 87,1,'PCG99-ABREGE','PROD', 'PRODUCT', 'Produits des activit<69>s annexes','708');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (87,1,'PCG99-ABREGE','XXXXXX','Produits des activit<69>s annexes ','708'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 88,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Rabais, remises et ristournes accord<72>s par l''entreprise','709');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (88,1,'PCG99-ABREGE','XXXXXX','Rabais, remises et ristournes accord<72>s par l''entreprise ','709'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 89,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Variation des stocks','713');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (89,1,'PCG99-ABREGE','XXXXXX','Variation des stocks ','713'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 90,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Production immobilis<69>e','72');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (90,1,'PCG99-ABREGE','XXXXXX','Production immobilis<69>e','72'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 91,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Produits nets partiels sur op<6F>rations <20> long terme','73');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (91,1,'PCG99-ABREGE','XXXXXX','Produits nets partiels sur op<6F>rations <20> long terme ','73'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 92,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Subventions d''exploitation','74');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (92,1,'PCG99-ABREGE','XXXXXX','Subventions d''exploitation','74'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 93,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Autres produits de gestion courante','75');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (93,1,'PCG99-ABREGE','XXXXXX','Autres produits de gestion courante ','75'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 94,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Jetons de pr<70>sence et r<>mun<75>rations d''administrateurs, g<>rants,...','753');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (94,1,'PCG99-ABREGE','XXXXXX','Jetons de pr<70>sence et r<>mun<75>rations d''administrateurs, g<>rants,... ','753'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 95,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Ristournes per<65>ues des coop<6F>ratives','754');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (95,1,'PCG99-ABREGE','XXXXXX','Ristournes per<65>ues des coop<6F>ratives ','754'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 96,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Quotes-parts de r<>sultat sur op<6F>rations faites en commun','755');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (96,1,'PCG99-ABREGE','XXXXXX','Quotes-parts de r<>sultat sur op<6F>rations faites en commun ','755'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 97,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Produits financiers','76');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (97,1,'PCG99-ABREGE','XXXXXX','Produits financiers','76'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 98,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Produits exceptionnels','77');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (98,1,'PCG99-ABREGE','XXXXXX','Produits exceptionnels','77'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES ( 99,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Reprises sur amortissements et provisions','781');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (99,1,'PCG99-ABREGE','XXXXXX','Reprises sur amortissements et provisions ','781'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES (100,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Reprises sur provisions pour risques','786');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (100,1,'PCG99-ABREGE','XXXXXX','Reprises sur provisions pour risques ','786'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES (101,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Reprises sur provisions','787');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (101,1,'PCG99-ABREGE','XXXXXX','Reprises sur provisions ','787'); insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, pcg_subtype, label, account_number) VALUES (102,1,'PCG99-ABREGE','PROD', 'XXXXXX', 'Transferts de charges','79');
insert into llx_c_accountingsystem (rowid, fk_pays, pcg_version, pcg_type, label, account_number) VALUES (102,1,'PCG99-ABREGE','XXXXXX','Transferts de charges','79');