[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/htdocs/telephonie/sql/ -> llx_telephonie_facture.sql (source)

   1  -- ========================================================================
   2  -- Copyright (C) 2004-2005 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_telephonie_facture.sql,v 1.8 2005/07/26 14:17:20 rodolphe Exp $
  19  -- $Source: /cvsroot/dolibarr/dolibarr/htdocs/telephonie/sql/llx_telephonie_facture.sql,v $
  20  --
  21  -- ========================================================================
  22  --
  23  -- Factures de téléphonie
  24  --
  25  
  26  create table llx_telephonie_facture (
  27    rowid             integer AUTO_INCREMENT PRIMARY KEY,
  28    fk_contrat        integer NOT NULL,
  29    fk_ligne          integer NOT NULL,
  30    ligne             varchar(255) NOT NULL,
  31    date              varchar(255) NOT NULL,
  32    fourn_montant     real,    -- montant donné par le fournisseur
  33    cout_achat        real,    -- cout calculé sur le fournisseur
  34    cout_vente        real,    -- cout de vente
  35    remise            real,
  36    cout_vente_remise real,
  37    gain              real,
  38    isfacturable      enum('oui','non') DEFAULT 'oui',
  39    fk_facture        integer,
  40    fk_batch          integer NOT NULL
  41    
  42  )type=innodb;
  43  


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