[ 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_societe_ligne.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_telephonie_societe_ligne.sql,v 1.8 2005/11/09 15:58:54 rodolphe Exp $
  19  -- $Source: /cvsroot/dolibarr/dolibarr/htdocs/telephonie/sql/llx_telephonie_societe_ligne.sql,v $
  20  --
  21  -- ========================================================================
  22  --
  23  -- Statut des lignes
  24  --
  25  -- 0 a commander
  26  -- 1 commandée
  27  -- 2 recue
  28  -- 3 probleme
  29  --
  30  create table llx_telephonie_societe_ligne (
  31    rowid              integer AUTO_INCREMENT PRIMARY KEY,
  32    datec              datetime,
  33    fk_contrat         integer,
  34    fk_client_comm     integer NOT NULL,      -- Client décideur
  35    fk_soc             integer NOT NULL,
  36    ligne              varchar(12) NOT NULL,
  37    fk_soc_facture     integer NOT NULL,
  38    statut             smallint DEFAULT 0,
  39    fk_fournisseur     integer NOT NULL,
  40    remise             real DEFAULT 0,
  41    note               text,
  42    fk_commercial      integer NOT NULL,
  43    fk_commercial_sign integer NOT NULL,
  44    fk_commercial_suiv integer NOT NULL,
  45    fk_concurrent      integer DEFAULT 1 NOT NULL,
  46    fk_user_creat      integer,
  47    date_commande      datetime,
  48    date_commande_last datetime,
  49    fk_user_commande   integer,
  50    isfacturable       enum('oui','non') DEFAULT 'oui',
  51    mode_paiement      enum('vir','pre') DEFAULT 'pre',
  52  
  53    code_analytique    varchar(12),
  54  
  55    pdfdetail          varchar(50) DEFAULT 'standard' NOT NULL,
  56  
  57    UNIQUE INDEX(fk_soc, ligne)
  58  )type=innodb;
  59  
  60  


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