[ 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) 2001-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_propal.sql,v 1.13 2005/12/17 15:31:41 eldy Exp $ 23 -- $Source: /cvsroot/dolibarr/dolibarr/pgsql/tables/llx_propal.sql,v $ 24 -- 25 -- =================================================================== 26 27 28 29 30 create table llx_propal 31 ( 32 rowid SERIAL PRIMARY KEY, 33 "fk_soc" integer, 34 "fk_soc_contact" integer, 35 "fk_projet" integer DEFAULT 0, -- projet auquel est rattache la propale 36 "ref" varchar(30) NOT NULL, -- propal number 37 "datec" timestamp, -- date de creation 38 "datep" date, -- date de la propal 39 "fin_validite" timestamp, -- date de fin de validite 40 "date_valid" timestamp, -- date de validation 41 "date_cloture" timestamp, -- date de cloture 42 "fk_user_author" integer, -- createur de la propale 43 "fk_user_valid" integer, -- valideur de la propale 44 "fk_user_cloture" integer, -- cloture de la propale signee ou non signee 45 "fk_statut" smallint DEFAULT 0 NOT NULL, 46 "price" real DEFAULT 0, 47 "remise_percent" real DEFAULT 0, -- remise globale en pourcent 48 "remise" real DEFAULT 0, 49 "tva" real DEFAULT 0, -- montant tva apres remise globale 50 "total_ht" real DEFAULT 0, -- montant total ht apres remise globale 51 "total" real DEFAULT 0, -- montant total ttc apres remise globale 52 "fk_cond_reglement" integer, -- condition de reglement (30 jours, fin de mois ...) 53 "fk_mode_reglement" integer, -- mode de reglement (Virement, Prélèvement) 54 "note" text, 55 "model_pdf" varchar(50), 56 UNIQUE(ref) 57 ); 58 59 CREATE INDEX idx_llx_propal_ref ON llx_propal (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 |
![]() |