[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/mysql/tables/ -> llx_propal.sql (source)

   1  -- ===================================================================
   2  -- Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
   3  --
   4  -- This program is free software; you can redistribute it and/or modify
   5  -- it under the terms of the GNU General Public License as published by
   6  -- the Free Software Foundation; either version 2 of the License, or
   7  -- (at your option) any later version.
   8  --
   9  -- This program is distributed in the hope that it will be useful,
  10  -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  -- GNU General Public License for more details.
  13  --
  14  -- You should have received a copy of the GNU General Public License
  15  -- along with this program; if not, write to the Free Software
  16  -- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17  --
  18  -- $Id: llx_propal.sql,v 1.10 2005/10/08 15:59:49 eldy Exp $
  19  -- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_propal.sql,v $
  20  --
  21  -- ===================================================================
  22  
  23  create table llx_propal
  24  (
  25    rowid           integer AUTO_INCREMENT PRIMARY KEY,
  26    fk_soc          integer,
  27    fk_soc_contact  integer,
  28    fk_projet       integer DEFAULT 0,     -- projet auquel est rattache la propale
  29    ref             varchar(30) NOT NULL,  -- propal number
  30    datec           datetime,              -- date de creation 
  31    datep           date,                  -- date de la propal
  32    fin_validite    datetime,              -- date de fin de validite
  33    date_valid      datetime,              -- date de validation
  34    date_cloture    datetime,              -- date de cloture
  35    fk_user_author  integer,               -- createur de la propale
  36    fk_user_valid   integer,               -- valideur de la propale
  37    fk_user_cloture integer,               -- cloture de la propale signee ou non signee
  38    fk_statut       smallint  DEFAULT 0 NOT NULL,
  39    price           real      DEFAULT 0,
  40    remise_percent  real      DEFAULT 0,  -- remise globale en pourcent
  41    remise          real      DEFAULT 0,
  42    tva             real      DEFAULT 0,  -- montant tva apres remise globale
  43    total_ht        real      DEFAULT 0,  -- montant total ht apres remise globale
  44    total           real      DEFAULT 0,  -- montant total ttc apres remise globale
  45  
  46    fk_cond_reglement   integer,  -- condition de reglement (30 jours, fin de mois ...)
  47    fk_mode_reglement   integer,  -- mode de reglement (Virement, Prélèvement)
  48  
  49    note            text,
  50    model_pdf       varchar(50),
  51  
  52    UNIQUE INDEX (ref)
  53  )type=innodb;


Généré le : Mon Nov 26 12:29:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics