New: Ajout de la table llx_c_accountingsystem qui decrit les diffrents plans de compte par pays. Cette table sera necessaire pour la compta.
This commit is contained in:
parent
6fc9ec57dc
commit
4abd365fd4
@ -484,3 +484,16 @@ INSERT INTO llx_c_civilite (rowid, fk_pays, civilite, active) VALUES (4, 2, 'Men
|
||||
INSERT INTO llx_c_civilite (rowid, fk_pays, civilite, active) VALUES (5, 2, 'Mademoiselle', 1);
|
||||
INSERT INTO llx_c_civilite (rowid, fk_pays, civilite, active) VALUES (6, 2, 'Juffrouw', 1);
|
||||
INSERT INTO llx_c_civilite (rowid, fk_pays, civilite, active) VALUES (7, 2, 'Maître', 1);
|
||||
|
||||
|
||||
--
|
||||
-- Descriptif des plans comptables
|
||||
--
|
||||
INSERT INTO llx_c_accountingsystem (rowid, fk_pays, type, label, account_format, account_format2) VALUES (1,1,'CASH','Caisse','530','\d');
|
||||
INSERT INTO llx_c_accountingsystem (rowid, fk_pays, type, label, account_format, account_format2) VALUES (2,1,'CASH','Caisse siège social','531','\d');
|
||||
|
||||
INSERT INTO llx_c_accountingsystem (rowid, fk_pays, type, label, account_format, account_format2) VALUES (3,1,'BANK','Banque','512','\d');
|
||||
INSERT INTO llx_c_accountingsystem (rowid, fk_pays, type, label, account_format, account_format2) VALUES (4,1,'BANK','Banque - compte chèques postaux','514','\d');
|
||||
INSERT INTO llx_c_accountingsystem (rowid, fk_pays, type, label, account_format, account_format2) VALUES (5,1,'BANK','Autre organisme financier','518','\d');
|
||||
|
||||
|
||||
|
||||
@ -464,3 +464,23 @@ create table llx_cash
|
||||
update llx_bank set datev=dateo where datev is null;
|
||||
|
||||
update llx_chargesociales set periode=date_ech where periode is null or periode = '0000-00-00';
|
||||
|
||||
|
||||
|
||||
create table llx_c_accountingsystem
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
fk_pays integer NOT NULL,
|
||||
type varchar(20) NOT NULL,
|
||||
label varchar(128) NOT NULL,
|
||||
account_format varchar(20) NOT NULL,
|
||||
account_format2 varchar(20) NOT NULL
|
||||
)type=innodb;
|
||||
|
||||
insert into llx_c_accountingsystem (rowid, fk_pays, type, label, account_format, account_format2) VALUES (1,1,'CASH','Caisse','530','\d');
|
||||
insert into llx_c_accountingsystem (rowid, fk_pays, type, label, account_format, account_format2) VALUES (2,1,'CASH','Caisse siège social','531','\d');
|
||||
|
||||
insert into llx_c_accountingsystem (rowid, fk_pays, type, label, account_format, account_format2) VALUES (3,1,'BANK','Banque','512','\d');
|
||||
insert into llx_c_accountingsystem (rowid, fk_pays, type, label, account_format, account_format2) VALUES (4,1,'BANK','Banque - compte chèques postaux','514','\d');
|
||||
insert into llx_c_accountingsystem (rowid, fk_pays, type, label, account_format, account_format2) VALUES (5,1,'BANK','Autre organisme financier','518','\d');
|
||||
|
||||
|
||||
31
mysql/tables/llx_c_accountingsystem.sql
Normal file
31
mysql/tables/llx_c_accountingsystem.sql
Normal file
@ -0,0 +1,31 @@
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- 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$
|
||||
--
|
||||
-- ============================================================================
|
||||
|
||||
create table llx_c_accountingsystem
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
fk_pays integer NOT NULL,
|
||||
type varchar(20) NOT NULL,
|
||||
label varchar(128) NOT NULL,
|
||||
account_format varchar(20) NOT NULL,
|
||||
account_format2 varchar(20) NOT NULL
|
||||
)type=innodb;
|
||||
Loading…
Reference in New Issue
Block a user