28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
create table llx_facture_fourn |
create table llx_facture_fourn |
34 |
( |
( |
35 |
rowid SERIAL PRIMARY KEY, |
rowid SERIAL PRIMARY KEY, |
49 |
"fk_statut" smallint DEFAULT 0 NOT NULL, |
"fk_statut" smallint DEFAULT 0 NOT NULL, |
50 |
"fk_user_author" integer, -- createur de la facture |
"fk_user_author" integer, -- createur de la facture |
51 |
"fk_user_valid" integer, -- valideur de la facture |
"fk_user_valid" integer, -- valideur de la facture |
52 |
|
"fk_projet" integer, -- projet auquel est associée la facture |
53 |
|
"fk_cond_reglement" integer DEFAULT 1 NOT NULL, -- condition de reglement (30 jours, fin de mois ...) |
54 |
|
"date_lim_reglement" date, -- date limite de reglement |
55 |
"note" text, |
"note" text, |
56 |
UNIQUE(facnumber, fk_soc) |
UNIQUE(facnumber, fk_soc) |
57 |
); |
); |