[ Index ] |
|
Code source de Dolibarr 2.0.1 |
1 -- Generated from dolibarr_mysql2pgsql 2 -- (c) 2004, PostgreSQL Inc. 3 -- (c) 2005, Laurent Destailleur. 4 5 -- ======================================================================== 6 -- Copyright (C) 2000-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> 7 -- 8 -- This program is free software; you can redistribute it and/or modify 9 -- it under the terms of the GNU General Public License as published by 10 -- the Free Software Foundation; either version 2 of the License, or 11 -- (at your option) any later version. 12 -- 13 -- This program is distributed in the hope that it will be useful, 14 -- but WITHOUT ANY WARRANTY; without even the implied warranty of 15 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 -- GNU General Public License for more details. 17 -- 18 -- You should have received a copy of the GNU General Public License 19 -- along with this program; if not, write to the Free Software 20 -- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 21 -- 22 -- $Id: llx_societe.sql,v 1.14 2005/12/17 15:31:41 eldy Exp $ 23 -- $Source: /cvsroot/dolibarr/dolibarr/pgsql/tables/llx_societe.sql,v $ 24 -- 25 -- ======================================================================== 26 27 create table llx_societe 28 ( 29 idp SERIAL PRIMARY KEY, 30 "id" varchar(32), -- private id 31 "active" smallint DEFAULT 0, -- 32 "parent" integer DEFAULT 0, -- 33 "tms" timestamp, 34 "datec" timestamp, -- creation date 35 "datea" timestamp, -- activation date 36 "nom" varchar(60), -- company name 37 "code_client" varchar(15), -- code client 38 "code_fournisseur" varchar(15), -- code founisseur 39 "code_compta" varchar(15), -- code compta client 40 "code_compta_fournisseur" varchar(15), -- code compta founisseur 41 "address" varchar(255), -- company adresse 42 "cp" varchar(10), -- zipcode 43 "ville" varchar(50), -- town 44 "fk_departement" integer DEFAULT 0, -- 45 "fk_pays" integer DEFAULT 0, -- 46 "tel" varchar(20), -- phone number 47 "fax" varchar(20), -- fax number 48 "url" varchar(255), -- 49 "fk_secteur" integer DEFAULT 0, -- 50 "fk_effectif" integer DEFAULT 0, -- 51 "fk_typent" integer DEFAULT 0, -- 52 "fk_forme_juridique" integer DEFAULT 0, -- forme juridique INSEE 53 "siren" varchar(9), -- siren ou RCS 54 "siret" varchar(14), -- numero de siret 55 "ape" varchar(4), -- code ape 56 "tva_intra" varchar(20), -- tva intracommunautaire 57 "capital" real, -- capital de la société 58 "description" text, -- 59 "fk_stcomm" smallint DEFAULT 0, -- commercial statut 60 "note" text, -- 61 "services" integer DEFAULT 0, -- 62 "prefix_comm" varchar(5), -- prefix commercial 63 "client" integer DEFAULT 0, -- client oui/non 64 "fournisseur" smallint DEFAULT 0, -- fournisseur oui/non 65 "rubrique" varchar(255), -- champ rubrique libre 66 "fk_user_creat" integer, -- utilisateur qui a créé l'info 67 "fk_user_modif" integer, -- utilisateur qui a modifié l'info 68 "remise_client" real DEFAULT 0 -- remise systématique pour le client 69 ); 70
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 12:29:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |