-- ======================================================================== -- Copyright (C) 2015 Laurent Destailleur -- -- 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 3 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, see . -- ======================================================================== CREATE TABLE llx_askpricesupplier ( rowid integer NOT NULL AUTO_INCREMENT PRIMARY KEY, ref varchar(30) NOT NULL, entity integer NOT NULL DEFAULT '1', ref_ext varchar(255) DEFAULT NULL, ref_int varchar(255) DEFAULT NULL, fk_soc integer DEFAULT NULL, fk_projet integer DEFAULT NULL, tms timestamp, datec datetime DEFAULT NULL, date_valid datetime DEFAULT NULL, date_cloture datetime DEFAULT NULL, fk_user_author integer DEFAULT NULL, fk_user_modif integer DEFAULT NULL, fk_user_valid integer DEFAULT NULL, fk_user_cloture integer DEFAULT NULL, fk_statut smallint NOT NULL DEFAULT '0', price double DEFAULT '0', remise_percent double DEFAULT '0', remise_absolue double DEFAULT '0', remise double DEFAULT '0', total_ht double(24,8) DEFAULT 0, tva double(24,8) DEFAULT 0, localtax1 double(24,8) DEFAULT 0, localtax2 double(24,8) DEFAULT 0, total double(24,8) DEFAULT 0, fk_account integer DEFAULT NULL, fk_currency varchar(3) DEFAULT NULL, fk_cond_reglement integer DEFAULT NULL, fk_mode_reglement integer DEFAULT NULL, note_private text, note_public text, model_pdf varchar(255) DEFAULT NULL, date_livraison date DEFAULT NULL, fk_shipping_method integer DEFAULT NULL, import_key varchar(14) DEFAULT NULL, extraparams varchar(255) DEFAULT NULL ) ENGINE=innodb;