[ 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_facture_rec.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_facture_rec.sql,v 1.5 2005/08/02 12:44:50 rodolphe Exp $
  19  -- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_facture_rec.sql,v $
  20  -- ===========================================================================
  21  
  22  create table llx_facture_rec
  23  (
  24    rowid              integer AUTO_INCREMENT PRIMARY KEY,
  25    titre              varchar(50) NOT NULL,
  26    fk_soc             integer NOT NULL,
  27    datec              datetime,  -- date de creation
  28  
  29    amount             real     DEFAULT 0 NOT NULL,
  30    remise             real     DEFAULT 0,
  31    remise_percent     real     DEFAULT 0,
  32    tva                real     DEFAULT 0,
  33    total              real     DEFAULT 0,
  34    total_ttc          real     DEFAULT 0,
  35  
  36    fk_user_author     integer,   -- createur
  37    fk_projet          integer,   -- projet auquel est associé la facture
  38    fk_cond_reglement  integer,   -- condition de reglement
  39  
  40    note               text,
  41  
  42    frequency          char(2) DEFAULT NULL,
  43    last_gen           varchar(7) DEFAULT NULL,
  44  
  45    INDEX idx_facture_rec_fksoc (fk_soc)
  46  )type=innodb;


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