Ajout table llx_contratdet
This commit is contained in:
parent
8c1870b5ee
commit
977d856ffe
@ -5,7 +5,6 @@
|
||||
-- sans AUCUNE erreur ni warning
|
||||
-- ;
|
||||
|
||||
|
||||
create table llx_usergroup
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
@ -1310,3 +1309,36 @@ insert into llx_c_currencies ( code, code_iso, active, label ) values ( 'LT', 'L
|
||||
insert into llx_c_currencies ( code, code_iso, active, label ) values ( 'RU', 'SUR', 1, 'Rouble');
|
||||
insert into llx_c_currencies ( code, code_iso, active, label ) values ( 'FH', 'HUF', 1, 'Forint hongrois');
|
||||
insert into llx_c_currencies ( code, code_iso, active, label ) values ( 'LK', 'LKR', 1, 'Roupie sri lanka');
|
||||
|
||||
create table llx_contratdet
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
tms timestamp,
|
||||
|
||||
fk_contrat integer NOT NULL,
|
||||
fk_product integer NOT NULL,
|
||||
|
||||
statut smallint DEFAULT 0,
|
||||
|
||||
label text, -- libellé du produit
|
||||
description text,
|
||||
|
||||
date_commande datetime,
|
||||
date_ouverture_prevue datetime,
|
||||
date_ouverture datetime, -- date d'ouverture du service chez le client
|
||||
date_fin_validite datetime,
|
||||
date_cloture datetime,
|
||||
|
||||
tva_tx real DEFAULT 19.6, -- taux tva
|
||||
qty real, -- quantité
|
||||
remise_percent real DEFAULT 0, -- pourcentage de remise
|
||||
remise real DEFAULT 0, -- montant de la remise
|
||||
subprice real, -- prix avant remise
|
||||
price_ht real, -- prix final
|
||||
|
||||
fk_user_author integer NOT NULL default 0,
|
||||
fk_user_ouverture integer,
|
||||
fk_user_cloture integer,
|
||||
commentaire text
|
||||
|
||||
)type=innodb;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user