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

   1  -- ============================================================================
   2  -- Copyright (C) 2004 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_contratdet.sql,v 1.3 2005/10/19 05:51:45 eldy Exp $
  19  -- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_contratdet.sql,v $
  20  --
  21  -- ============================================================================
  22  
  23  create table llx_contratdet
  24  (
  25    rowid                 integer AUTO_INCREMENT PRIMARY KEY,
  26    tms                   timestamp,
  27  
  28    fk_contrat            integer NOT NULL,
  29    fk_product            integer NULL,   -- doit pouvoir etre nul pour ligne detail sans produits
  30  
  31    statut                smallint DEFAULT 0,
  32  
  33    label                 text, -- libellé du produit
  34    description           text,
  35  
  36    date_commande         datetime,
  37    date_ouverture_prevue datetime,
  38    date_ouverture        datetime, -- date d'ouverture du service chez le client
  39    date_fin_validite     datetime,
  40    date_cloture          datetime,
  41  
  42    tva_tx                real DEFAULT 19.6, -- taux tva
  43    qty                   real,              -- quantité
  44    remise_percent        real DEFAULT 0,    -- pourcentage de remise
  45    remise                real DEFAULT 0,    -- montant de la remise
  46    subprice              real,              -- prix avant remise
  47    price_ht              real,              -- prix final
  48  
  49    fk_user_author        integer NOT NULL default 0,
  50    fk_user_ouverture     integer,
  51    fk_user_cloture       integer,
  52    commentaire           text
  53  
  54  )type=innodb;


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