[ 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_facturedet.sql (source)

   1  -- ===================================================================
   2  -- Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
   3  -- Copyright (C) 2004-2005 Laurent Destailleur  <eldy@users.sourceforge.net>
   4  --
   5  -- This program is free software; you can redistribute it and/or modify
   6  -- it under the terms of the GNU General Public License as published by
   7  -- the Free Software Foundation; either version 2 of the License, or
   8  -- (at your option) any later version.
   9  --
  10  -- This program is distributed in the hope that it will be useful,
  11  -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  12  -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13  -- GNU General Public License for more details.
  14  --
  15  -- You should have received a copy of the GNU General Public License
  16  -- along with this program; if not, write to the Free Software
  17  -- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  18  --
  19  -- $Id: llx_facturedet.sql,v 1.16 2005/10/19 05:51:45 eldy Exp $
  20  -- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_facturedet.sql,v $
  21  -- ===================================================================
  22  
  23  create table llx_facturedet
  24  (
  25    rowid           integer AUTO_INCREMENT PRIMARY KEY,
  26    fk_facture      integer NOT NULL,
  27    fk_product      integer NULL,      -- doit pouvoir etre nul pour ligne detail sans produits
  28    description     text,
  29    tva_taux        real DEFAULT 19.6, -- taux tva
  30    qty             real,              -- quantité
  31    remise_percent  real DEFAULT 0,    -- pourcentage de remise
  32    remise          real DEFAULT 0,    -- montant de la remise
  33    subprice        real,              -- prix avant remise
  34    price           real,              -- prix final
  35    date_start      datetime,          -- date debut si service
  36    date_end        datetime,          -- date fin si service
  37    fk_code_ventilation integer DEFAULT 0 NOT NULL,
  38    fk_export_compta    integer DEFAULT 0 NOT NULL,
  39    rang                integer DEFAULT 0
  40  )type=innodb;


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