[ 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) 2003 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_commande.sql,v 1.10 2005/12/17 15:31:40 eldy Exp $ 23 -- $Source: /cvsroot/dolibarr/dolibarr/pgsql/tables/llx_commande.sql,v $ 24 -- 25 -- =================================================================== 26 27 create table llx_commande 28 ( 29 rowid SERIAL PRIMARY KEY, 30 "tms" timestamp, 31 "fk_soc" integer, 32 "fk_soc_contact" integer, 33 "fk_projet" integer DEFAULT 0, -- projet auquel est rattache la commande 34 "ref" varchar(30) NOT NULL, -- order number 35 "ref_client" varchar(30), -- customer order number 36 "date_creation" timestamp, -- date de creation 37 "date_valid" timestamp, -- date de validation 38 "date_cloture" timestamp, -- date de cloture 39 "date_commande" date, -- date de la commande 40 "fk_user_author" integer, -- createur de la commande 41 "fk_user_valid" integer, -- valideur de la commande 42 "fk_user_cloture" integer, -- cloture de la propale signee ou non signee 43 "source" smallint NOT NULL, 44 "fk_statut" smallint default 0, 45 "amount_ht" real default 0, 46 "remise_percent" real default 0, 47 "remise" real default 0, 48 "tva" real default 0, 49 "total_ht" real default 0, 50 "total_ttc" real default 0, 51 "note" text, 52 "model_pdf" varchar(50), 53 "facture" smallint default 0, 54 UNIQUE(ref) 55 ); 56 57 CREATE INDEX idx_llx_commande_ref ON llx_commande (ref);
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 |
![]() |