480 |
ALTER TABLE llx_facture_fourn ADD CONSTRAINT fk_facture_fourn_fk_user_valid FOREIGN KEY (fk_user_valid) REFERENCES llx_user (rowid); |
ALTER TABLE llx_facture_fourn ADD CONSTRAINT fk_facture_fourn_fk_user_valid FOREIGN KEY (fk_user_valid) REFERENCES llx_user (rowid); |
481 |
ALTER TABLE llx_facture_fourn ADD CONSTRAINT fk_facture_fourn_fk_projet FOREIGN KEY (fk_projet) REFERENCES llx_projet (rowid); |
ALTER TABLE llx_facture_fourn ADD CONSTRAINT fk_facture_fourn_fk_projet FOREIGN KEY (fk_projet) REFERENCES llx_projet (rowid); |
482 |
|
|
483 |
|
ALTER TABLE llx_facture_fourn_det ADD fk_export_compta INT( 11 ) NOT NULL AFTER total_ttc; |
484 |
|
ALTER TABLE llx_facture_fourn_det ADD fk_code_ventilation INT( 11 ) NOT NULL AFTER fk_export_compta ; |
485 |
|
|
486 |
update llx_facture_fourn set date_lim_reglement = datef where fk_cond_reglement = 1; |
update llx_facture_fourn set date_lim_reglement = datef where fk_cond_reglement = 1; |
487 |
|
|
488 |
alter table llx_bank_account modify bank varchar(60); |
alter table llx_bank_account modify bank varchar(60); |
1892 |
|
|
1893 |
alter table llx_facturedet modify fk_product integer NULL; |
alter table llx_facturedet modify fk_product integer NULL; |
1894 |
alter table llx_contratdet modify fk_product integer NULL; |
alter table llx_contratdet modify fk_product integer NULL; |
|
update llx_facturedet set fk_product = null where fk_product=0; |
|
1895 |
|
update llx_facturedet set fk_product = null where fk_product=0; |