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

   1  -- ===================================================================
   2  -- Copyright (C) 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_commande.sql,v 1.5 2005/09/26 02:01:57 eldy Exp $
  19  -- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_commande.sql,v $
  20  --
  21  -- ===================================================================
  22  
  23  create table llx_commande
  24  (
  25    rowid            integer AUTO_INCREMENT PRIMARY KEY,
  26    tms              timestamp,
  27    fk_soc           integer,
  28    fk_soc_contact   integer,
  29    fk_projet        integer DEFAULT 0,     -- projet auquel est rattache la commande
  30    ref              varchar(30) NOT NULL,  -- order number
  31    ref_client       varchar(30),           -- customer order number
  32    date_creation    datetime,              -- date de creation 
  33    date_valid       datetime,              -- date de validation
  34    date_cloture     datetime,              -- date de cloture
  35    date_commande    date,                  -- date de la commande
  36    fk_user_author   integer,               -- createur de la commande
  37    fk_user_valid    integer,               -- valideur de la commande
  38    fk_user_cloture  integer,               -- cloture de la propale signee ou non signee
  39    source           smallint NOT NULL,
  40    fk_statut        smallint  default 0,
  41    amount_ht        real      default 0,
  42    remise_percent   real      default 0,
  43    remise           real      default 0,
  44    tva              real      default 0,
  45    total_ht         real      default 0,
  46    total_ttc        real      default 0,
  47    note             text,
  48    model_pdf        varchar(50),
  49    facture          tinyint default 0,   
  50    UNIQUE INDEX (ref)
  51  )type=innodb;


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