[ 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_facture_fourn.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_facture_fourn.sql,v 1.9 2005/07/14 00:37:26 eldy Exp $
  19  -- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_facture_fourn.sql,v $
  20  -- 
  21  -- ===========================================================================
  22  
  23  create table llx_facture_fourn
  24  (
  25    rowid      integer AUTO_INCREMENT PRIMARY KEY,
  26    facnumber  varchar(50) NOT NULL,
  27    fk_soc     integer NOT NULL,
  28    datec      datetime,    -- date de creation de la facture
  29    datef      date,        -- date de la facture
  30    libelle    varchar(255),
  31    paye       smallint DEFAULT 0 NOT NULL,
  32    amount     real     DEFAULT 0 NOT NULL,
  33    remise     real     DEFAULT 0,
  34    tva        real     DEFAULT 0,
  35    total      real     DEFAULT 0,
  36    total_ht   real     DEFAULT 0,
  37    total_tva  real     DEFAULT 0,
  38    total_ttc  real     DEFAULT 0,
  39  
  40    fk_statut  smallint DEFAULT 0 NOT NULL,
  41  
  42    fk_user_author  integer,   -- createur de la facture
  43    fk_user_valid   integer,   -- valideur de la facture
  44  
  45    fk_projet           integer,   -- projet auquel est associée la facture
  46  
  47    fk_cond_reglement   integer  DEFAULT 1 NOT NULL,   -- condition de reglement (30 jours, fin de mois ...)
  48    date_lim_reglement  date,      -- date limite de reglement
  49  
  50    note       text,
  51  
  52    UNIQUE INDEX(facnumber, fk_soc)
  53  )type=innodb;


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