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

   1  -- Generated from dolibarr_mysql2pgsql
   2  -- (c) 2004, PostgreSQL Inc.
   3  -- (c) 2005, Laurent Destailleur.
   4  
   5  -- ============================================================================
   6  -- Copyright (C) 2004 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_contratdet.sql,v 1.8 2005/12/17 15:31:40 eldy Exp $
  23  -- $Source: /cvsroot/dolibarr/dolibarr/pgsql/tables/llx_contratdet.sql,v $
  24  --
  25  -- ============================================================================
  26  
  27  
  28  
  29  
  30  
  31  
  32  
  33  
  34  create table llx_contratdet
  35  (
  36    rowid SERIAL PRIMARY KEY,
  37    "tms"                   timestamp,
  38    "fk_contrat"            integer NOT NULL,
  39    "fk_product"            integer NULL,   -- doit pouvoir etre nul pour ligne detail sans produits
  40    "statut"                smallint DEFAULT 0,
  41    "label"                 text, -- libellé du produit
  42    "description"           text,
  43    "date_commande"         timestamp,
  44    "date_ouverture_prevue" timestamp,
  45    "date_ouverture"        timestamp, -- date d'ouverture du service chez le client
  46    "date_fin_validite"     timestamp,
  47    "date_cloture"          timestamp,
  48    "tva_tx"                real DEFAULT 19.6, -- taux tva
  49    "qty"                   real,              -- quantité
  50    "remise_percent"        real DEFAULT 0,    -- pourcentage de remise
  51    "remise"                real DEFAULT 0,    -- montant de la remise
  52    "subprice"              real,              -- prix avant remise
  53    "price_ht"              real,              -- prix final
  54    "fk_user_author"        integer NOT NULL default 0,
  55    "fk_user_ouverture"     integer,
  56    "fk_user_cloture"       integer,
  57    "commentaire"           text
  58  );


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