Difference between revisions of "Table llx prelevement facture"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Catégorie:Prélèvements bancaires]][[Catégorie:Table SQL]]
 
[[Catégorie:Prélèvements bancaires]][[Catégorie:Table SQL]]
 +
  La documentation relative aux autres tables est disponible sur la page [[Liste des tables]]
 +
  The documentation related to other tables is available on the tables list page: [[Liste des tables]]
  
 
== Presentation ==
 
== Presentation ==

Revision as of 03:01, 6 August 2007

Catégorie:Prélèvements bancairesCatégorie:Table SQL

 La documentation relative aux autres tables est disponible sur la page Liste des tables
 The documentation related to other tables is available on the tables list page: Liste des tables

Presentation

Liste des factures relative à un bon de prelevement

Modules

  1. Module Prélèvements bancaires

Structure

rowid
identifiant
fk_facture
identifiant de la facture
fk_prelevement
identifiant du prélèvement
statut
statut de la ligne
Le champ statut est positionné à 0 par défaut, une fois le prélèvement est crédité sur le compte le champ statut est passé à 1, si le prélèvement a été refusé par la banque le statut passe à 2

Code SQL

-- ===================================================================
-- Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
--
-- $Id: llx_prelevement_facture.sql,v 1.2 2005/01/07 13:43:42 rodolphe Exp $
-- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_prelevement_facture.sql,v $
-- ===================================================================
--
--

create table llx_prelevement_facture
(
  rowid            integer AUTO_INCREMENT PRIMARY KEY,
  fk_facture       integer NOT NULL,
  fk_prelevement   integer NOT NULL,
  statut           smallint DEFAULT 0
)type=innodb;