27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
create table llx_facture_rec |
create table llx_facture_rec |
32 |
( |
( |
33 |
rowid SERIAL PRIMARY KEY, |
rowid SERIAL PRIMARY KEY, |
43 |
"fk_user_author" integer, -- createur |
"fk_user_author" integer, -- createur |
44 |
"fk_projet" integer, -- projet auquel est associé la facture |
"fk_projet" integer, -- projet auquel est associé la facture |
45 |
"fk_cond_reglement" integer, -- condition de reglement |
"fk_cond_reglement" integer, -- condition de reglement |
46 |
"note" text |
"note" text, |
47 |
|
"frequency" varchar(2) DEFAULT NULL, |
48 |
|
"last_gen" varchar(7) DEFAULT NULL |
49 |
); |
); |
50 |
|
|
51 |
CREATE INDEX idx_facture_rec_fksoc ON llx_facture_rec (fk_soc); |
CREATE INDEX idx_facture_rec_fksoc ON llx_facture_rec (fk_soc); |