[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/pgsql/tables/ -> llx_facturedet.sql (source)

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


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