Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
150 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
-- ======================================================================== | ||
-- Copyright (C) 2015 Laurent Destailleur <eldy@users.sourceforge.net> | ||
-- | ||
-- 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 <http://www.gnu.org/licenses/>. | ||
-- ======================================================================== | ||
|
||
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; |
23 changes: 23 additions & 0 deletions
23
htdocs/install/mysql/tables/llx_askpricesupplier_extrafields.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-- ======================================================================== | ||
-- Copyright (C) 2015 Laurent Destailleur <eldy@users.sourceforge.net> | ||
-- | ||
-- 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 <http://www.gnu.org/licenses/>. | ||
-- ======================================================================== | ||
|
||
CREATE TABLE llx_askpricesupplier_extrafields ( | ||
rowid integer AUTO_INCREMENT PRIMARY KEY, | ||
tms timestamp, | ||
fk_object integer NOT NULL, | ||
import_key varchar(14) DEFAULT NULL | ||
) ENGINE=innodb; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
-- ======================================================================== | ||
-- Copyright (C) 2015 Laurent Destailleur <eldy@users.sourceforge.net> | ||
-- | ||
-- 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 <http://www.gnu.org/licenses/>. | ||
-- ======================================================================== | ||
|
||
CREATE TABLE llx_askpricesupplierdet ( | ||
rowid integer NOT NULL AUTO_INCREMENT PRIMARY KEY, | ||
fk_askpricesupplier integer NOT NULL, | ||
fk_parent_line integer DEFAULT NULL, | ||
fk_product integer DEFAULT NULL, | ||
label varchar(255) DEFAULT NULL, | ||
description text, | ||
fk_remise_except integer DEFAULT NULL, | ||
tva_tx double(6,3) DEFAULT 0, | ||
localtax1_tx double(6,3) DEFAULT 0, | ||
localtax1_type varchar(10) DEFAULT NULL, | ||
localtax2_tx double(6,3) DEFAULT 0, | ||
localtax2_type varchar(10) DEFAULT NULL, | ||
qty double DEFAULT NULL, | ||
remise_percent double DEFAULT '0', | ||
remise double DEFAULT '0', | ||
price double DEFAULT NULL, | ||
subprice double(24,8) DEFAULT 0, | ||
total_ht double(24,8) DEFAULT 0, | ||
total_tva double(24,8) DEFAULT 0, | ||
total_localtax1 double(24,8) DEFAULT 0, | ||
total_localtax2 double(24,8) DEFAULT 0, | ||
total_ttc double(24,8) DEFAULT 0, | ||
product_type integer DEFAULT 0, | ||
info_bits integer DEFAULT 0, | ||
buy_price_ht double(24,8) DEFAULT 0, | ||
fk_product_fournisseur_price integer DEFAULT NULL, | ||
special_code integer DEFAULT 0, | ||
rang integer DEFAULT 0, | ||
ref_fourn varchar(30) DEFAULT NULL | ||
) ENGINE=innodb; |
24 changes: 24 additions & 0 deletions
24
htdocs/install/mysql/tables/llx_askpricesupplierdet_extrafields.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
-- ======================================================================== | ||
-- Copyright (C) 2015 Laurent Destailleur <eldy@users.sourceforge.net> | ||
-- | ||
-- 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 <http://www.gnu.org/licenses/>. | ||
-- ======================================================================== | ||
|
||
CREATE TABLE llx_askpricesupplierdet_extrafields ( | ||
rowid integer AUTO_INCREMENT PRIMAR KEY, | ||
tms timestamp, | ||
fk_object integer NOT NULL, | ||
import_key varchar(14) DEFAULT NULL | ||
) ENGINE=innodb; | ||
|