Dolibarr logo
20.0.1

Dolibarr install or upgrade

Database Database migration (structure + some data)

Server connection : localhostOK
Database connection : htech_iasOK
Database server version10.6.20-MariaDB-cll-lve
Client charsetutf8
Client collationutf8_general_ci
Please be patient...

Choose migration script15.0.0-16.0.0.sql
Request 1 sql='ALTER TABLE llx_c_civility ADD PRIMARY KEY(rowid);'
Request 2 sql='ALTER TABLE llx_c_civility CHANGE COLUMN rowid rowid INTEGER NOT NULL AUTO_INCREMENT;'
Request 3 sql='ALTER TABLE llx_c_payment_term ADD PRIMARY KEY(rowid);'
Request 4 sql='ALTER TABLE llx_c_payment_term CHANGE COLUMN rowid rowid INTEGER NOT NULL AUTO_INCREMENT;'
Request 5 sql='ALTER TABLE llx_emailcollector_emailcollector MODIFY COLUMN tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;'
Request 6 sql='ALTER TABLE llx_entrepot ADD COLUMN barcode varchar(180) DEFAULT NULL;'
Request 7 sql='ALTER TABLE llx_entrepot ADD COLUMN fk_barcode_type integer DEFAULT NULL;'
Request 8 sql='ALTER TABLE llx_c_transport_mode ADD UNIQUE INDEX uk_c_transport_mode (code, entity);'
Request 9 sql='ALTER TABLE llx_c_shipment_mode MODIFY COLUMN tracking varchar(255) NULL;'
Request 10 sql='ALTER TABLE llx_holiday ADD COLUMN nb_open_day double(24,8) DEFAULT NULL;'
Request 11 sql='ALTER TABLE llx_element_tag ADD COLUMN fk_categorie INTEGER;'
Request 12 sql='insert into llx_c_type_resource (code, label, active) values ('RES_ROOMS', 'Rooms', 1);'
Request 13 sql='insert into llx_c_type_resource (code, label, active) values ('RES_CARS', 'Cars', 1);'
Request 14 sql='ALTER TABLE llx_c_actioncomm MODIFY COLUMN libelle varchar(128);'
Request 15 sql='ALTER TABLE llx_c_availability MODIFY COLUMN label varchar(128);'
Request 16 sql='ALTER TABLE llx_c_barcode_type MODIFY COLUMN libelle varchar(128);'
Request 17 sql='ALTER TABLE llx_c_chargesociales MODIFY COLUMN libelle varchar(128);'
Request 18 sql='ALTER TABLE llx_c_civility MODIFY COLUMN label varchar(128);'
Request 19 sql='ALTER TABLE llx_c_country MODIFY COLUMN label varchar(128);'
Request 20 sql='ALTER TABLE llx_c_currencies MODIFY COLUMN label varchar(128);'
Request 21 sql='ALTER TABLE llx_c_effectif MODIFY COLUMN libelle varchar(128);'
Request 22 sql='ALTER TABLE llx_c_exp_tax_cat MODIFY COLUMN label varchar(128);'
Request 23 sql='ALTER TABLE llx_c_hrm_department MODIFY COLUMN label varchar(128);'
Request 24 sql='ALTER TABLE llx_c_hrm_function MODIFY COLUMN label varchar(128);'
Request 25 sql='ALTER TABLE llx_c_input_method MODIFY COLUMN libelle varchar(128);'
Request 26 sql='ALTER TABLE llx_c_input_reason MODIFY COLUMN label varchar(128);'
Request 27 sql='ALTER TABLE llx_c_lead_status MODIFY COLUMN label varchar(128);'
Request 28 sql='ALTER TABLE llx_c_paiement MODIFY COLUMN libelle varchar(128);'
Request 29 sql='ALTER TABLE llx_c_paper_format MODIFY COLUMN label varchar(128);'
Request 30 sql='ALTER TABLE llx_c_partnership_type MODIFY COLUMN label varchar(128);'
Request 31 sql='ALTER TABLE llx_c_product_nature MODIFY COLUMN label varchar(128);'
Request 32 sql='ALTER TABLE llx_c_productbatch_qcstatus MODIFY COLUMN label varchar(128);'
Request 33 sql='ALTER TABLE llx_c_propalst MODIFY COLUMN label varchar(128);'
Request 34 sql='ALTER TABLE llx_c_prospectcontactlevel MODIFY COLUMN label varchar(128);'
Request 35 sql='ALTER TABLE llx_c_prospectlevel MODIFY COLUMN label varchar(128);'
Request 36 sql='ALTER TABLE llx_c_recruitment_origin MODIFY COLUMN label varchar(128);'
Request 37 sql='ALTER TABLE llx_c_shipment_mode MODIFY COLUMN libelle varchar(128);'
Request 38 sql='ALTER TABLE llx_c_shipment_package_type MODIFY COLUMN label varchar(128);'
Request 39 sql='ALTER TABLE llx_c_stcomm MODIFY COLUMN libelle varchar(128);'
Request 40 sql='ALTER TABLE llx_c_stcommcontact MODIFY COLUMN libelle varchar(128);'
Request 41 sql='ALTER TABLE llx_c_type_contact MODIFY COLUMN libelle varchar(128);'
Request 42 sql='ALTER TABLE llx_c_type_container MODIFY COLUMN label varchar(128);'
Request 43 sql='ALTER TABLE llx_c_type_fees MODIFY COLUMN label varchar(128);'
Request 44 sql='ALTER TABLE llx_c_type_resource MODIFY COLUMN label varchar(128);'
Request 45 sql='ALTER TABLE llx_c_typent MODIFY COLUMN libelle varchar(128);'
Request 46 sql='ALTER TABLE llx_c_units MODIFY COLUMN label varchar(128);'
Request 47 sql='UPDATE llx_rights_def SET perms = 'writeall' WHERE perms = 'writeall_advance' AND module = 'holiday';'
Request 48 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15401', '601 - General de Ley Personas Morales', 1);'
Request 49 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15402', '603 - Personas Morales con Fines no Lucrativos', 1);'
Request 50 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15403', '605 - Sueldos y Salarios e Ingresos Asimilados a Salarios', 1);'
Request 51 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15404', '606 - Arrendamiento', 1);'
Request 52 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15405', '607 - Régimen de Enajenación o Adquisición de Bienes', 1);'
Request 53 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15406', '608 - Demás ingresos', 1);'
Request 54 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15407', '610 - Residentes en el Extranjero sin Establecimiento Permanente en México', 1);'
Request 55 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15408', '611 - Ingresos por Dividendos (socios y accionistas)', 1);'
Request 56 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15409', '612 - Personas Físicas con Actividades Empresariales y Profesionales', 1);'
Request 57 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15410', '614 - Ingresos por intereses', 1);'
Request 58 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15411', '615 - Régimen de los ingresos por obtención de premios', 1);'
Request 59 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15412', '616 - Sin obligaciones fiscales', 1);'
Request 60 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15413', '620 - Sociedades Cooperativas de Producción que optan por diferir sus ingresos', 1);'
Request 61 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15414', '621 - Incorporación Fiscal', 1);'
Request 62 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15415', '622 - Actividades Agrícolas, Ganaderas, Silvícolas y Pesqueras', 1);'
Request 63 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15416', '623 - Opcional para Grupos de Sociedades', 1);'
Request 64 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15417', '624 - Coordinados', 1);'
Request 65 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15418', '625 - Régimen de las Actividades Empresariales con ingresos a través de Plataformas Tecnológicas', 1);'
Request 66 sql='INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (154, '15419', '626 - Régimen Simplificado de Confianza', 1);'
Request 67 sql='ALTER TABLE llx_partnership ADD UNIQUE INDEX uk_fk_type_fk_soc (fk_type, fk_soc, date_partnership_start);'
Request 68 sql='ALTER TABLE llx_partnership ADD UNIQUE INDEX uk_fk_type_fk_member (fk_type, fk_member, date_partnership_start);'
Request 69 sql='ALTER TABLE llx_bank ADD COLUMN amount_main_currency double(24,8) NULL;'
Request 70 sql='ALTER TABLE llx_element_contact DROP FOREIGN KEY fk_element_contact_fk_c_type_contact;'
Request 71 sql='ALTER TABLE llx_societe_contacts DROP FOREIGN KEY fk_societe_contacts_fk_c_type_contact;'
Request 72 sql='ALTER TABLE llx_c_type_contact ADD PRIMARY KEY(rowid);'
Request 73 sql='ALTER TABLE llx_c_type_contact CHANGE COLUMN rowid rowid INTEGER NOT NULL AUTO_INCREMENT;'
Request 74 sql='insert into llx_c_type_contact(element, source, code, libelle, active ) values ('conferenceorbooth', 'internal', 'MANAGER', 'Conference or Booth manager', 1);'
Request 75 sql='insert into llx_c_type_contact(element, source, code, libelle, active ) values ('conferenceorbooth', 'external', 'SPEAKER', 'Conference Speaker', 1);'
Request 76 sql='insert into llx_c_type_contact(element, source, code, libelle, active ) values ('conferenceorbooth', 'external', 'RESPONSIBLE', 'Booth responsible', 1);'
Request 77 sql='ALTER TABLE llx_element_contact ADD CONSTRAINT fk_element_contact_fk_c_type_contact FOREIGN KEY (fk_c_type_contact) REFERENCES llx_c_type_contact(rowid);'
Request 78 sql='ALTER TABLE llx_societe_contacts ADD CONSTRAINT fk_societe_contacts_fk_c_type_contact FOREIGN KEY (fk_c_type_contact) REFERENCES llx_c_type_contact(rowid);'
Request 79 sql='DROP TABLE llx_payment_salary_extrafields;'
Request 80 sql='DROP TABLE llx_asset_model_extrafields;'
Request 81 sql='DROP TABLE llx_asset_type_extrafields;'
Request 82 sql='ALTER TABLE llx_projet_task_time ADD COLUMN intervention_id integer DEFAULT NULL;'
Request 83 sql='ALTER TABLE llx_projet_task_time ADD COLUMN intervention_line_id integer DEFAULT NULL;'
Request 84 sql='ALTER TABLE llx_c_stcomm MODIFY COLUMN code VARCHAR(24) NOT NULL;'
Request 85 sql='ALTER TABLE llx_societe_account DROP FOREIGN KEY llx_societe_account_fk_website;'
Request 86 sql='UPDATE llx_cronjob set label = 'RecurringInvoicesJob' where label = 'RecurringInvoices';'
Request 87 sql='UPDATE llx_cronjob set label = 'RecurringSupplierInvoicesJob' where label = 'RecurringSupplierInvoices';'
Request 88 sql='ALTER TABLE llx_facture ADD INDEX idx_facture_datef (datef);'
Request 89 sql='ALTER TABLE llx_projet_task_time ADD COLUMN fk_product integer NULL;'
Request 90 sql='ALTER TABLE llx_c_action_trigger MODIFY elementtype VARCHAR(64);'
Request 91 sql='INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('PROPAL_MODIFY','Customer proposal modified','Executed when a customer proposal is modified','propal',2);'
Request 92 sql='INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('ORDER_MODIFY','Customer order modified','Executed when a customer order is set modified','commande',5);'
Request 93 sql='INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('BILL_MODIFY','Customer invoice modified','Executed when a customer invoice is modified','facture',7);'
Request 94 sql='INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('PROPOSAL_SUPPLIER_MODIFY','Price request modified','Executed when a commercial proposal is modified','proposal_supplier',10);'
Request 95 sql='INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('ORDER_SUPPLIER_MODIFY','Supplier order request modified','Executed when a supplier order is modified','order_supplier',13);'
Request 96 sql='INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('BILL_SUPPLIER_MODIFY','Supplier invoice modified','Executed when a supplier invoice is modified','invoice_supplier',15);'
Request 97 sql='INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('CONTRACT_MODIFY','Contract modified','Executed when a contract is modified','contrat',18);'
Request 98 sql='INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('SHIPPING_MODIFY','Shipping modified','Executed when a shipping is modified','shipping',20);'
Request 99 sql='INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('FICHINTER_MODIFY','Intervention modify','Executed when a intervention is modify','ficheinter',30);'
Request 100 sql='INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('PRODUCT_MODIFY','Product or service modified','Executed when a product or sevice is modified','product',41);'
Request 101 sql='INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('EXPENSE_REPORT_MODIFY','Expense report modified','Executed when an expense report is modified','expensereport',202);'
Request 102 sql='INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('HOLIDAY_MODIFY','Expense report modified','Executed when an expense report is modified','expensereport',212);'
Request 103 sql='ALTER TABLE llx_ticket ADD COLUMN date_last_msg_sent datetime AFTER date_read;'
Request 104 sql='UPDATE llx_const SET name = 'WORKFLOW_TICKET_LINK_CONTRACT' WHERE name = 'TICKET_AUTO_ASSIGN_CONTRACT_CREATE';'
Request 105 sql='UPDATE llx_const SET name = 'WORKFLOW_TICKET_CREATE_INTERVENTION' WHERE name = 'TICKET_AUTO_CREATE_FICHINTER_CREATE';'
Request 106 sql='CREATE TABLE llx_stock_mouvement_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_object integer NOT NULL, import_key varchar(14) )ENGINE=innodb;'
Request 107 sql='ALTER TABLE llx_stock_mouvement_extrafields ADD INDEX idx_stock_mouvement_extrafields (fk_object);'
Request 108 sql='CREATE TABLE llx_facture_fourn_rec ( rowid integer AUTO_INCREMENT PRIMARY KEY, titre varchar(200) NOT NULL, ref_supplier varchar(180) NOT NULL, entity integer DEFAULT 1 NOT NULL, fk_soc integer NOT NULL, datec datetime, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, suspended integer DEFAULT 0, libelle varchar(255), amount double(24,8) DEFAULT 0 NOT NULL, remise real DEFAULT 0, vat_src_code varchar(10) DEFAULT '', localtax1 double(24,8) DEFAULT 0, localtax2 double(24,8) DEFAULT 0, total_ht double(24,8) DEFAULT 0, total_tva double(24,8) DEFAULT 0, total_ttc double(24,8) DEFAULT 0, fk_user_author integer, fk_user_modif integer, fk_projet integer, fk_account integer, fk_cond_reglement integer, fk_mode_reglement integer, date_lim_reglement date, note_private text, note_public text, modelpdf varchar(255), fk_multicurrency integer, multicurrency_code varchar(3), multicurrency_tx double(24,8) DEFAULT 1, multicurrency_total_ht double(24,8) DEFAULT 0, multicurrency_total_tva double(24,8) DEFAULT 0, multicurrency_total_ttc double(24,8) DEFAULT 0, usenewprice integer DEFAULT 0, frequency integer, unit_frequency varchar(2) DEFAULT 'm', date_when datetime DEFAULT NULL, date_last_gen datetime DEFAULT NULL, nb_gen_done integer DEFAULT NULL, nb_gen_max integer DEFAULT NULL, auto_validate integer DEFAULT 0, generate_pdf integer DEFAULT 1 ) ENGINE=innodb;'
Request 109 sql='ALTER TABLE llx_facture_fourn_rec ADD UNIQUE INDEX uk_facture_fourn_rec_ref (titre, entity);'
Request 110 sql='ALTER TABLE llx_facture_fourn_rec ADD UNIQUE INDEX uk_facture_fourn_rec_ref_supplier (ref_supplier, fk_soc, entity);'
Request 111 sql='ALTER TABLE llx_facture_fourn_rec ADD INDEX idx_facture_fourn_rec_date_lim_reglement (date_lim_reglement);'
Request 112 sql='ALTER TABLE llx_facture_fourn_rec ADD INDEX idx_facture_fourn_rec_fk_soc (fk_soc);'
Request 113 sql='ALTER TABLE llx_facture_fourn_rec ADD INDEX idx_facture_fourn_rec_fk_user_author (fk_user_author);'
Request 114 sql='ALTER TABLE llx_facture_fourn_rec ADD INDEX idx_facture_fourn_rec_fk_projet (fk_projet);'
Request 115 sql='ALTER TABLE llx_facture_fourn_rec ADD CONSTRAINT fk_facture_fourn_rec_fk_soc FOREIGN KEY (fk_soc) REFERENCES llx_societe (rowid);'
Request 116 sql='ALTER TABLE llx_facture_fourn_rec ADD CONSTRAINT fk_facture_fourn_rec_fk_user_author FOREIGN KEY (fk_user_author) REFERENCES llx_user (rowid);'
Request 117 sql='ALTER TABLE llx_facture_fourn_rec ADD CONSTRAINT fk_facture_fourn_rec_fk_projet FOREIGN KEY (fk_projet) REFERENCES llx_projet (rowid);'
Request 118 sql='CREATE TABLE llx_facture_fourn_rec_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_object integer NOT NULL, import_key varchar(14) ) ENGINE=innodb;'
Request 119 sql='ALTER TABLE llx_facture_fourn_rec_extrafields ADD INDEX idx_facture_fourn_rec_extrafields (fk_object);'
Request 120 sql='CREATE TABLE llx_facture_fourn_det_rec ( rowid integer AUTO_INCREMENT PRIMARY KEY, fk_facture_fourn integer NOT NULL, fk_parent_line integer NULL, fk_product integer NULL, ref varchar(50), label varchar(255) DEFAULT NULL, description text, pu_ht double(24,8), pu_ttc double(24,8), qty real, remise_percent real DEFAULT 0, fk_remise_except integer NULL, vat_src_code varchar(10) DEFAULT '', tva_tx double(7,4), localtax1_tx double(7,4) DEFAULT 0, localtax1_type varchar(10) NULL, localtax2_tx double(7,4) DEFAULT 0, localtax2_type varchar(10) NULL, total_ht double(24,8), total_tva double(24,8), total_localtax1 double(24,8) DEFAULT 0, total_localtax2 double(24,8) DEFAULT 0, total_ttc double(24,8), product_type integer DEFAULT 0, date_start integer DEFAULT NULL, date_end integer DEFAULT NULL, info_bits integer DEFAULT 0, special_code integer UNSIGNED DEFAULT 0, rang integer DEFAULT 0, fk_unit integer DEFAULT NULL, import_key varchar(14), fk_user_author integer, fk_user_modif integer, fk_multicurrency integer, multicurrency_code varchar(3), multicurrency_subprice double(24,8) DEFAULT 0, multicurrency_total_ht double(24,8) DEFAULT 0, multicurrency_total_tva double(24,8) DEFAULT 0, multicurrency_total_ttc double(24,8) DEFAULT 0 ) ENGINE=innodb;'
Request 121 sql='ALTER TABLE llx_facture_fourn_det_rec ADD CONSTRAINT fk_facture_fourn_det_rec_fk_unit FOREIGN KEY (fk_unit) REFERENCES llx_c_units (rowid);'
Request 122 sql='CREATE TABLE llx_facture_fourn_det_rec_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_object integer NOT NULL, import_key varchar(14) ) ENGINE=innodb;'
Request 123 sql='ALTER TABLE llx_facture_fourn_det_rec_extrafields ADD INDEX idx_facture_fourn_det_rec_extrafields (fk_object);'
Request 124 sql='ALTER TABLE llx_facture_fourn ADD COLUMN fk_fac_rec_source integer;'
Request 125 sql='ALTER TABLE llx_mrp_mo ADD COLUMN fk_parent_line integer;'
Request 126 sql='ALTER TABLE llx_projet_task ADD COLUMN status integer DEFAULT 1 NOT NULL;'
Request 127 sql='ALTER TABLE llx_product_attribute_value MODIFY COLUMN ref VARCHAR(180) NOT NULL;'
Request 128 sql='ALTER TABLE llx_product_attribute_value MODIFY COLUMN value VARCHAR(255) NOT NULL;'
Request 129 sql='ALTER TABLE llx_product_attribute_value ADD COLUMN position INTEGER NOT NULL DEFAULT 0;'
Request 130 sql='ALTER TABLE llx_product_attribute CHANGE rang position INTEGER DEFAULT 0 NOT NULL;'
Request 131 sql='ALTER TABLE llx_emailcollector_emailcollector ADD COLUMN position INTEGER NOT NULL DEFAULT 0;'
Request 132 sql='ALTER TABLE llx_advtargetemailing RENAME TO llx_mailing_advtarget;'
Request 133 sql='ALTER TABLE llx_mailing ADD UNIQUE INDEX uk_mailing (titre, entity);'
Request 134 sql='create table llx_inventory_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_object integer NOT NULL, import_key varchar(14) ) ENGINE=innodb;'
Request 135 sql='ALTER TABLE llx_inventory_extrafields ADD INDEX idx_inventory_extrafields (fk_object);'
Request 136 sql='ALTER TABLE llx_reception MODIFY COLUMN ref_supplier varchar(128);'
Request 137 sql='ALTER TABLE llx_bank_account ADD COLUMN pti_in_ctti smallint DEFAULT 0 AFTER domiciliation;'
Request 138 sql='UPDATE llx_c_ticket_type SET use_default=1 WHERE code='OTHER' AND NOT EXISTS(SELECT * FROM (SELECT * FROM llx_c_ticket_type) AS t WHERE use_default=1);'
Request 139 sql='CREATE TABLE llx_asset( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, ref varchar(128) NOT NULL, entity integer DEFAULT 1 NOT NULL, label varchar(255), fk_asset_model integer, reversal_amount_ht double(24,8), acquisition_value_ht double(24,8) DEFAULT NULL, recovered_vat double(24,8), reversal_date date, date_acquisition date NOT NULL, date_start date NOT NULL, qty real DEFAULT 1 NOT NULL, acquisition_type smallint DEFAULT 0 NOT NULL, asset_type smallint DEFAULT 0 NOT NULL, not_depreciated integer DEFAULT 0, disposal_date date, disposal_amount_ht double(24,8), fk_disposal_type integer, disposal_depreciated integer DEFAULT 0, disposal_subject_to_vat integer DEFAULT 0, note_public text, note_private text, date_creation datetime NOT NULL, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_user_creat integer NOT NULL, fk_user_modif integer, last_main_doc varchar(255), import_key varchar(14), model_pdf varchar(255), status integer NOT NULL ) ENGINE=innodb;'
Request 140 sql='ALTER TABLE llx_asset DROP FOREIGN KEY fk_asset_asset_type;'
Request 141 sql='ALTER TABLE llx_asset DROP INDEX idx_asset_fk_asset_type;'
Request 142 sql='ALTER TABLE llx_asset CHANGE COLUMN amount_ht acquisition_value_ht double(24,8) NOT NULL;'
Request 143 sql='ALTER TABLE llx_asset CHANGE COLUMN amount_vat recovered_vat double(24,8);'
Request 144 sql='DELETE FROM llx_asset WHERE fk_asset_type IS NOT NULL;'
Request 145 sql='ALTER TABLE llx_asset DROP COLUMN fk_asset_type;'
Request 146 sql='ALTER TABLE llx_asset DROP COLUMN description;'
Request 147 sql='ALTER TABLE llx_asset ADD COLUMN fk_asset_model integer AFTER label;'
Request 148 sql='ALTER TABLE llx_asset ADD COLUMN reversal_amount_ht double(24,8) AFTER fk_asset_model;'
Request 149 sql='ALTER TABLE llx_asset ADD COLUMN reversal_date date AFTER recovered_vat;'
Request 150 sql='ALTER TABLE llx_asset ADD COLUMN date_acquisition date NOT NULL AFTER reversal_date;'
Request 151 sql='ALTER TABLE llx_asset ADD COLUMN date_start date NOT NULL AFTER date_acquisition;'
Request 152 sql='ALTER TABLE llx_asset ADD COLUMN qty real DEFAULT 1 NOT NULL AFTER date_start;'
Request 153 sql='ALTER TABLE llx_asset ADD COLUMN acquisition_type smallint DEFAULT 0 NOT NULL AFTER qty;'
Request 154 sql='ALTER TABLE llx_asset ADD COLUMN asset_type smallint DEFAULT 0 NOT NULL AFTER acquisition_type;'
Request 155 sql='ALTER TABLE llx_asset ADD COLUMN not_depreciated integer DEFAULT 0 AFTER asset_type;'
Request 156 sql='ALTER TABLE llx_asset ADD COLUMN disposal_date date AFTER not_depreciated;'
Request 157 sql='ALTER TABLE llx_asset ADD COLUMN disposal_amount_ht double(24,8) AFTER disposal_date;'
Request 158 sql='ALTER TABLE llx_asset ADD COLUMN fk_disposal_type integer AFTER disposal_amount_ht;'
Request 159 sql='ALTER TABLE llx_asset ADD COLUMN disposal_depreciated integer DEFAULT 0 AFTER fk_disposal_type;'
Request 160 sql='ALTER TABLE llx_asset ADD COLUMN disposal_subject_to_vat integer DEFAULT 0 AFTER disposal_depreciated;'
Request 161 sql='ALTER TABLE llx_asset ADD COLUMN last_main_doc varchar(255) AFTER fk_user_modif;'
Request 162 sql='ALTER TABLE llx_asset ADD COLUMN model_pdf varchar(255) AFTER import_key;'
Request 163 sql='DROP TABLE llx_asset_type;'
Request 164 sql='CREATE TABLE llx_c_asset_disposal_type ( rowid integer AUTO_INCREMENT PRIMARY KEY, entity integer NOT NULL DEFAULT 1, code varchar(16) NOT NULL, label varchar(50) NOT NULL, active integer NOT NULL DEFAULT 1 ) ENGINE=innodb;'
Request 165 sql='CREATE TABLE llx_asset_accountancy_codes_economic ( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, fk_asset integer, fk_asset_model integer, asset varchar(32), depreciation_asset varchar(32), depreciation_expense varchar(32), value_asset_sold varchar(32), receivable_on_assignment varchar(32), proceeds_from_sales varchar(32), vat_collected varchar(32), vat_deductible varchar(32), tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_user_modif integer ) ENGINE=innodb;'
Request 166 sql='CREATE TABLE llx_asset_accountancy_codes_fiscal ( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, fk_asset integer, fk_asset_model integer, accelerated_depreciation varchar(32), endowment_accelerated_depreciation varchar(32), provision_accelerated_depreciation varchar(32), tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_user_modif integer ) ENGINE=innodb;'
Request 167 sql='CREATE TABLE llx_asset_depreciation_options_economic ( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, fk_asset integer, fk_asset_model integer, depreciation_type smallint DEFAULT 0 NOT NULL, accelerated_depreciation_option integer, degressive_coefficient double(24,8), duration smallint NOT NULL, duration_type smallint DEFAULT 0 NOT NULL, amount_base_depreciation_ht double(24,8), amount_base_deductible_ht double(24,8), total_amount_last_depreciation_ht double(24,8), tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_user_modif integer ) ENGINE=innodb;'
Request 168 sql='CREATE TABLE llx_asset_depreciation_options_fiscal ( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, fk_asset integer, fk_asset_model integer, depreciation_type smallint DEFAULT 0 NOT NULL, degressive_coefficient double(24,8), duration smallint NOT NULL, duration_type smallint DEFAULT 0 NOT NULL, amount_base_depreciation_ht double(24,8), amount_base_deductible_ht double(24,8), total_amount_last_depreciation_ht double(24,8), tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_user_modif integer ) ENGINE=innodb;'
Request 169 sql='CREATE TABLE llx_asset_depreciation ( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, fk_asset integer NOT NULL, depreciation_mode varchar(255) NOT NULL, ref varchar(255) NOT NULL, depreciation_date datetime NOT NULL, depreciation_ht double(24,8) NOT NULL, cumulative_depreciation_ht double(24,8) NOT NULL, accountancy_code_debit varchar(32), accountancy_code_credit varchar(32), tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_user_modif integer ) ENGINE=innodb;'
Request 170 sql='CREATE TABLE llx_asset_model( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, entity integer DEFAULT 1 NOT NULL, ref varchar(128) NOT NULL, label varchar(255) NOT NULL, asset_type smallint NOT NULL, fk_pays integer DEFAULT 0, note_public text, note_private text, date_creation datetime NOT NULL, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_user_creat integer NOT NULL, fk_user_modif integer, import_key varchar(14), status smallint NOT NULL ) ENGINE=innodb;'
Request 171 sql='CREATE TABLE llx_asset_model_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_object integer NOT NULL, import_key varchar(14) ) ENGINE=innodb;'
Request 172 sql='ALTER TABLE llx_c_asset_disposal_type ADD UNIQUE INDEX uk_c_asset_disposal_type(code, entity);'
Request 173 sql='ALTER TABLE llx_asset ADD INDEX idx_asset_fk_asset_model (fk_asset_model);'
Request 174 sql='ALTER TABLE llx_asset ADD INDEX idx_asset_fk_disposal_type (fk_disposal_type);'
Request 175 sql='ALTER TABLE llx_asset ADD CONSTRAINT fk_asset_asset_model FOREIGN KEY (fk_asset_model) REFERENCES llx_asset_model (rowid);'
Request 176 sql='ALTER TABLE llx_asset ADD CONSTRAINT fk_asset_disposal_type FOREIGN KEY (fk_disposal_type) REFERENCES llx_c_asset_disposal_type (rowid);'
Request 177 sql='ALTER TABLE llx_asset ADD CONSTRAINT fk_asset_user_creat FOREIGN KEY (fk_user_creat) REFERENCES llx_user (rowid);'
Request 178 sql='ALTER TABLE llx_asset ADD CONSTRAINT fk_asset_user_modif FOREIGN KEY (fk_user_modif) REFERENCES llx_user (rowid);'
Request 179 sql='ALTER TABLE llx_asset_accountancy_codes_economic ADD INDEX idx_asset_ace_rowid (rowid);'
Request 180 sql='ALTER TABLE llx_asset_accountancy_codes_economic ADD UNIQUE uk_asset_ace_fk_asset (fk_asset);'
Request 181 sql='ALTER TABLE llx_asset_accountancy_codes_economic ADD UNIQUE uk_asset_ace_fk_asset_model (fk_asset_model);'
Request 182 sql='ALTER TABLE llx_asset_accountancy_codes_economic ADD CONSTRAINT fk_asset_ace_asset FOREIGN KEY (fk_asset) REFERENCES llx_asset (rowid);'
Request 183 sql='ALTER TABLE llx_asset_accountancy_codes_economic ADD CONSTRAINT fk_asset_ace_asset_model FOREIGN KEY (fk_asset_model) REFERENCES llx_asset_model (rowid);'
Request 184 sql='ALTER TABLE llx_asset_accountancy_codes_economic ADD CONSTRAINT fk_asset_ace_user_modif FOREIGN KEY (fk_user_modif) REFERENCES llx_user (rowid);'
Request 185 sql='ALTER TABLE llx_asset_accountancy_codes_fiscal ADD INDEX idx_asset_acf_rowid (rowid);'
Request 186 sql='ALTER TABLE llx_asset_accountancy_codes_fiscal ADD UNIQUE uk_asset_acf_fk_asset (fk_asset);'
Request 187 sql='ALTER TABLE llx_asset_accountancy_codes_fiscal ADD UNIQUE uk_asset_acf_fk_asset_model (fk_asset_model);'
Request 188 sql='ALTER TABLE llx_asset_accountancy_codes_fiscal ADD CONSTRAINT fk_asset_acf_asset FOREIGN KEY (fk_asset) REFERENCES llx_asset (rowid);'
Request 189 sql='ALTER TABLE llx_asset_accountancy_codes_fiscal ADD CONSTRAINT fk_asset_acf_asset_model FOREIGN KEY (fk_asset_model) REFERENCES llx_asset_model (rowid);'
Request 190 sql='ALTER TABLE llx_asset_accountancy_codes_fiscal ADD CONSTRAINT fk_asset_acf_user_modif FOREIGN KEY (fk_user_modif) REFERENCES llx_user (rowid);'
Request 191 sql='ALTER TABLE llx_asset_depreciation_options_economic ADD INDEX idx_asset_doe_rowid (rowid);'
Request 192 sql='ALTER TABLE llx_asset_depreciation_options_economic ADD UNIQUE uk_asset_doe_fk_asset (fk_asset);'
Request 193 sql='ALTER TABLE llx_asset_depreciation_options_economic ADD UNIQUE uk_asset_doe_fk_asset_model (fk_asset_model);'
Request 194 sql='ALTER TABLE llx_asset_depreciation_options_economic ADD CONSTRAINT fk_asset_doe_asset FOREIGN KEY (fk_asset) REFERENCES llx_asset (rowid);'
Request 195 sql='ALTER TABLE llx_asset_depreciation_options_economic ADD CONSTRAINT fk_asset_doe_asset_model FOREIGN KEY (fk_asset_model) REFERENCES llx_asset_model (rowid);'
Request 196 sql='ALTER TABLE llx_asset_depreciation_options_economic ADD CONSTRAINT fk_asset_doe_user_modif FOREIGN KEY (fk_user_modif) REFERENCES llx_user (rowid);'
Request 197 sql='ALTER TABLE llx_asset_depreciation_options_fiscal ADD INDEX idx_asset_dof_rowid (rowid);'
Request 198 sql='ALTER TABLE llx_asset_depreciation_options_fiscal ADD UNIQUE uk_asset_dof_fk_asset (fk_asset);'
Request 199 sql='ALTER TABLE llx_asset_depreciation_options_fiscal ADD UNIQUE uk_asset_dof_fk_asset_model (fk_asset_model);'
Request 200 sql='ALTER TABLE llx_asset_depreciation_options_fiscal ADD CONSTRAINT fk_asset_dof_asset FOREIGN KEY (fk_asset) REFERENCES llx_asset (rowid);'
Request 201 sql='ALTER TABLE llx_asset_depreciation_options_fiscal ADD CONSTRAINT fk_asset_dof_asset_model FOREIGN KEY (fk_asset_model) REFERENCES llx_asset_model (rowid);'
Request 202 sql='ALTER TABLE llx_asset_depreciation_options_fiscal ADD CONSTRAINT fk_asset_dof_user_modif FOREIGN KEY (fk_user_modif) REFERENCES llx_user (rowid);'
Request 203 sql='ALTER TABLE llx_asset_depreciation ADD INDEX idx_asset_depreciation_rowid (rowid);'
Request 204 sql='ALTER TABLE llx_asset_depreciation ADD INDEX idx_asset_depreciation_fk_asset (fk_asset);'
Request 205 sql='ALTER TABLE llx_asset_depreciation ADD INDEX idx_asset_depreciation_depreciation_mode (depreciation_mode);'
Request 206 sql='ALTER TABLE llx_asset_depreciation ADD INDEX idx_asset_depreciation_ref (ref);'
Request 207 sql='ALTER TABLE llx_asset_depreciation ADD UNIQUE uk_asset_depreciation_fk_asset (fk_asset, depreciation_mode, ref);'
Request 208 sql='ALTER TABLE llx_asset_depreciation ADD CONSTRAINT fk_asset_depreciation_asset FOREIGN KEY (fk_asset) REFERENCES llx_asset (rowid);'
Request 209 sql='ALTER TABLE llx_asset_depreciation ADD CONSTRAINT fk_asset_depreciation_user_modif FOREIGN KEY (fk_user_modif) REFERENCES llx_user (rowid);'
Request 210 sql='ALTER TABLE llx_asset_model ADD INDEX idx_asset_model_rowid (rowid);'
Request 211 sql='ALTER TABLE llx_asset_model ADD INDEX idx_asset_model_ref (ref);'
Request 212 sql='ALTER TABLE llx_asset_model ADD INDEX idx_asset_model_pays (fk_pays);'
Request 213 sql='ALTER TABLE llx_asset_model ADD INDEX idx_asset_model_entity (entity);'
Request 214 sql='ALTER TABLE llx_asset_model ADD UNIQUE INDEX uk_asset_model (entity, ref);'
Request 215 sql='ALTER TABLE llx_asset_model ADD CONSTRAINT fk_asset_model_user_creat FOREIGN KEY (fk_user_creat) REFERENCES llx_user (rowid);'
Request 216 sql='ALTER TABLE llx_asset_model ADD CONSTRAINT fk_asset_model_user_modif FOREIGN KEY (fk_user_modif) REFERENCES llx_user (rowid);'
Request 217 sql='ALTER TABLE llx_asset_model_extrafields ADD INDEX idx_asset_model_extrafields (fk_object);'
Request 218 sql='ALTER TABLE llx_user DROP COLUMN webcal_login;'
Request 219 sql='ALTER TABLE llx_user DROP COLUMN module_comm;'
Request 220 sql='ALTER TABLE llx_user DROP COLUMN module_compta;'
Request 221 sql='ALTER TABLE llx_user DROP COLUMN ref_int;'
Request 222 sql='ALTER TABLE llx_user ADD COLUMN ref_employee varchar(50) DEFAULT NULL AFTER entity;'
Request 223 sql='ALTER TABLE llx_user ADD COLUMN national_registration_number varchar(50) DEFAULT NULL;'
Request 224 sql='ALTER TABLE llx_propal ADD last_main_doc VARCHAR(255) NULL AFTER model_pdf;'
Request 225 sql='UPDATE llx_c_country SET eec=0 WHERE eec IS NULL;'
Request 226 sql='ALTER TABLE llx_c_country MODIFY COLUMN eec tinyint DEFAULT 0 NOT NULL;'
Request 227 sql='ALTER TABLE llx_inventorydet ADD COLUMN pmp_real double DEFAULT NULL;'
Request 228 sql='ALTER TABLE llx_inventorydet ADD COLUMN pmp_expected double DEFAULT NULL;'
Request 229 sql='ALTER TABLE llx_chargesociales ADD COLUMN note_private text;'
Request 230 sql='ALTER TABLE llx_chargesociales ADD COLUMN note_public text;'
Request 231 sql='ALTER TABLE llx_c_availability ADD COLUMN type_duration varchar(1);'
Request 232 sql='ALTER TABLE llx_c_availability ADD COLUMN qty real DEFAULT 0;'
Request 233 sql='UPDATE llx_c_availability SET type_duration = null, qty = 0 WHERE code = 'AV_NOW';'
Request 234 sql='UPDATE llx_c_availability SET type_duration = 'w', qty = 1 WHERE code = 'AV_1W';'
Request 235 sql='UPDATE llx_c_availability SET type_duration = 'w', qty = 2 WHERE code = 'AV_2W';'
Request 236 sql='UPDATE llx_c_availability SET type_duration = 'w', qty = 3 WHERE code = 'AV_3W';'
Request 237 sql='UPDATE llx_c_availability SET type_duration = 'w', qty = 4 WHERE code = 'AV_4W';'
Request 238 sql='ALTER TABLE llx_c_payment_term ADD COLUMN deposit_percent VARCHAR(63) DEFAULT NULL AFTER decalage;'
Request 239 sql='ALTER TABLE llx_societe ADD COLUMN deposit_percent VARCHAR(63) DEFAULT NULL AFTER cond_reglement;'
Request 240 sql='ALTER TABLE llx_propal ADD COLUMN deposit_percent VARCHAR(63) DEFAULT NULL AFTER fk_cond_reglement;'
Request 241 sql='ALTER TABLE llx_commande ADD COLUMN deposit_percent VARCHAR(63) DEFAULT NULL AFTER fk_cond_reglement;'
Request 242 sql='INSERT INTO llx_c_payment_term(code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values ('DEP30PCTDEL', 13, 0, '__DEPOSIT_PERCENT__% deposit', '__DEPOSIT_PERCENT__% deposit, remainder on delivery', 0, 1, '30');'
Request 243 sql='ALTER TABLE llx_boxes_def ADD COLUMN fk_user integer DEFAULT 0 NOT NULL;'
Request 244 sql='ALTER TABLE llx_contratdet ADD COLUMN rang integer DEFAULT 0 AFTER info_bits;'
Request 245 sql='ALTER TABLE llx_actioncomm MODIFY COLUMN note mediumtext;'
Request 246 sql='DELETE FROM llx_boxes WHERE box_id IN (select rowid FROM llx_boxes_def WHERE file IN ('box_bom.php@bom', 'box_bom.php', 'box_members.php', 'box_last_modified_ticket', 'box_members_last_subscriptions', 'box_members_last_modified', 'box_members_subscriptions_by_year'));'
Request 247 sql='DELETE FROM llx_boxes_def WHERE file IN ('box_bom.php@bom', 'box_bom.php', 'box_members.php', 'box_last_modified_ticket', 'box_members_last_subscriptions', 'box_members_last_modified', 'box_members_subscriptions_by_year');'
Request 248 sql='ALTER TABLE llx_takepos_floor_tables ADD UNIQUE INDEX uk_takepos_floor_tables (entity,label);'
Request 249 sql='ALTER TABLE llx_partnership ADD COLUMN url_to_check varchar(255);'
Request 250 sql='ALTER TABLE llx_c_partnership_type ADD COLUMN keyword varchar(128);'
Request 251 sql='ALTER TABLE llx_eventorganization_conferenceorboothattendee ADD COLUMN firstname varchar(100);'
Request 252 sql='ALTER TABLE llx_eventorganization_conferenceorboothattendee ADD COLUMN lastname varchar(100);'
Request 253 sql='ALTER TABLE llx_eventorganization_conferenceorboothattendee ADD COLUMN email_company varchar(128) after email;'
Request 254 sql='ALTER TABLE llx_eventorganization_conferenceorboothattendee MODIFY COLUMN fk_user_creat integer NULL;'
Request 255 sql='ALTER TABLE llx_c_email_templates ADD COLUMN joinfiles text;'
Request 256 sql='ALTER TABLE llx_c_email_templates ADD COLUMN email_from varchar(255);'
Request 257 sql='ALTER TABLE llx_c_email_templates ADD COLUMN email_to varchar(255);'
Request 258 sql='ALTER TABLE llx_c_email_templates ADD COLUMN email_tocc varchar(255);'
Request 259 sql='ALTER TABLE llx_c_email_templates ADD COLUMN email_tobcc varchar(255);'
Request 260 sql='ALTER TABLE llx_fichinter ADD COLUMN ref_client varchar(255) after ref_ext;'
Request 261 sql='ALTER TABLE llx_c_holiday_types ADD COLUMN block_if_negative integer NOT NULL DEFAULT 0 AFTER fk_country;'
Request 262 sql='ALTER TABLE llx_c_holiday_types ADD COLUMN sortorder smallint;'
Request 263 sql='ALTER TABLE llx_expedition MODIFY COLUMN ref_customer varchar(255);'
Request 264 sql='ALTER TABLE llx_extrafields ADD COLUMN css varchar(128);'
Request 265 sql='ALTER TABLE llx_extrafields ADD COLUMN cssview varchar(128);'
Request 266 sql='ALTER TABLE llx_extrafields ADD COLUMN csslist varchar(128);'
Request 267 sql='ALTER TABLE llx_cronjob ADD COLUMN email_alert varchar(128);'
Request 268 sql='ALTER TABLE llx_paiement MODIFY COLUMN ext_payment_id varchar(255);'
Request 269 sql='ALTER TABLE llx_payment_donation MODIFY COLUMN ext_payment_id varchar(255);'
Request 270 sql='ALTER TABLE llx_prelevement_facture_demande MODIFY COLUMN ext_payment_id varchar(255);'
Request 271 sql='INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES (140, 'PCN2020-LUXEMBURG', 'Plan comptable normalisé 2020 Luxembourgeois', 1);'
Request 272 sql='ALTER TABLE llx_cronjob MODIFY COLUMN label varchar(255) NOT NULL;'
Request 273 sql='DELETE FROM llx_cronjob WHERE label = 'PurgeDeleteTemporaryFilesShort' AND params = 'tempfilesold';'
Request 274 sql='ALTER TABLE llx_cronjob DROP INDEX uk_cronjob;'
Request 275 sql='ALTER TABLE llx_cronjob ADD UNIQUE INDEX uk_cronjob (label, entity);'
Request 276 sql='ALTER TABLE llx_expedition ADD COLUMN billed smallint DEFAULT 0;'
Request 277 sql='ALTER TABLE llx_loan_schedule ADD UNIQUE INDEX uk_loan_schedule_ref (fk_loan, datep);'
Request 278 sql='ALTER TABLE llx_user CHANGE COLUMN note note_private text;'
Request 279 sql='ALTER TABLE llx_overwrite_trans DROP INDEX uk_overwrite_trans;'
Request 280 sql='ALTER TABLE llx_overwrite_trans ADD UNIQUE INDEX uk_overwrite_trans(lang, transkey, entity);'
Request 281 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, enabled, active, topic, content, content_lines, joinfiles) VALUES (0, 'banque','thirdparty','',0,null,null,'(YourSEPAMandate)',1,'isModEnabled("societe") && isModEnabled("banque") && isModEnabled("prelevement")',0,'__(YourSEPAMandate)__','__(Hello)__,<br><br>\n\n__(FindYourSEPAMandate)__ :<br>\n__MYCOMPANY_NAME__<br>\n__MYCOMPANY_FULLADDRESS__<br><br>\n__(Sincerely)__<br>\n__USER_SIGNATURE__',null, 0);'
Request 282 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, enabled, active, topic, content, content_lines, joinfiles) VALUES (0, 'adherent','member','',0,null,null,'(SendingEmailOnAutoSubscription)' ,10, 'isModEnabled("adherent")',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipRequestWasReceived)__','__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(ThisIsContentOfYourMembershipRequestWasReceived)__<br>\n<br>__ONLINE_PAYMENT_TEXT_AND_URL__<br>\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',null, 0);'
Request 283 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, enabled, active, topic, content, content_lines, joinfiles) VALUES (0, 'adherent','member','',0,null,null,'(SendingEmailOnMemberValidation)' ,20, 'isModEnabled("adherent")',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipWasValidated)__', '__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(ThisIsContentOfYourMembershipWasValidated)__<br>__(FirstName)__ : __MEMBER_FIRSTNAME__<br>__(LastName)__ : __MEMBER_LASTNAME__<br>__(ID)__ : __MEMBER_ID__<br>\n<br>__ONLINE_PAYMENT_TEXT_AND_URL__<br>\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',null, 0);'
Request 284 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, enabled, active, topic, content, content_lines, joinfiles) VALUES (0, 'adherent','member','',0,null,null,'(SendingEmailOnNewSubscription)' ,30, 'isModEnabled("adherent")',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourSubscriptionWasRecorded)__', '__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(ThisIsContentOfYourSubscriptionWasRecorded)__<br>\n\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',null, 1);'
Request 285 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, enabled, active, topic, content, content_lines, joinfiles) VALUES (0, 'adherent','member','',0,null,null,'(SendingReminderForExpiredSubscription)',40, 'isModEnabled("adherent")',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(SubscriptionReminderEmail)__', '__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(ThisIsContentOfSubscriptionReminderEmail)__<br>\n<br>__ONLINE_PAYMENT_TEXT_AND_URL__<br>\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',null, 0);'
Request 286 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, enabled, active, topic, content, content_lines, joinfiles) VALUES (0, 'adherent','member','',0,null,null,'(SendingEmailOnCancelation)' ,50, 'isModEnabled("adherent")',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipWasCanceled)__', '__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(YourMembershipWasCanceled)__<br>\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',null, 0);'
Request 287 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, enabled, active, topic, content, content_lines, joinfiles) VALUES (0, 'adherent','member','',0,null,null,'(SendingAnEMailToMember)' ,60, 'isModEnabled("adherent")',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(CardContent)__', '__(Hello)__,<br><br>\n\n__(ThisIsContentOfYourCard)__<br>\n__(ID)__ : __ID__<br>\n__(Civility)__ : __MEMBER_CIVILITY__<br>\n__(Firstname)__ : __MEMBER_FIRSTNAME__<br>\n__(Lastname)__ : __MEMBER_LASTNAME__<br>\n__(Fullname)__ : __MEMBER_FULLNAME__<br>\n__(Company)__ : __MEMBER_COMPANY__<br>\n__(Address)__ : __MEMBER_ADDRESS__<br>\n__(Zip)__ : __MEMBER_ZIP__<br>\n__(Town)__ : __MEMBER_TOWN__<br>\n__(Country)__ : __MEMBER_COUNTRY__<br>\n__(Email)__ : __MEMBER_EMAIL__<br>\n__(Birthday)__ : __MEMBER_BIRTH__<br>\n__(Photo)__ : __MEMBER_PHOTO__<br>\n__(Login)__ : __MEMBER_LOGIN__<br>\n__(Phone)__ : __MEMBER_PHONE__<br>\n__(PhonePerso)__ : __MEMBER_PHONEPRO__<br>\n__(PhoneMobile)__ : __MEMBER_PHONEMOBILE__<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',null, 0);'
Request 288 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, enabled, active, topic, content, content_lines, joinfiles) VALUES (0, 'recruitment','recruitmentcandidature_send','',0,null,null,'(AnswerCandidature)' ,100,'isModEnabled("recruitment")',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourCandidature)__', '__(Hello)__ __CANDIDATE_FULLNAME__,<br><br>\n\n__(YourCandidatureAnswerMessage)__<br>__ONLINE_INTERVIEW_SCHEDULER_TEXT_AND_URL__\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',null, 0);'
Request 289 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, active, topic, content, content_lines, enabled, joinfiles) values (0, '', 'conferenceorbooth', '', 0, null, null, '(EventOrganizationEmailAskConf)', 10, 1, '[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailAskConf)__', '__(Hello)__,<br /><br />__(OrganizationEventConfRequestWasReceived)__<br /><br /><br />__(Sincerely)__<br />__USER_SIGNATURE__', null, '1', null);'
Request 290 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, active, topic, content, content_lines, enabled, joinfiles) values (0, '', 'conferenceorbooth', '', 0, null, null, '(EventOrganizationEmailAskBooth)', 20, 1, '[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailAskBooth)__', '__(Hello)__,<br /><br />__(OrganizationEventBoothRequestWasReceived)__<br /><br /><br />__(Sincerely)__<br />__USER_SIGNATURE__', null, '1', null);'
Request 291 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, active, topic, content, content_lines, enabled, joinfiles) values (0, '', 'conferenceorbooth', '', 0, null, null, '(EventOrganizationEmailBoothPayment)', 30, 1, '[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailBoothPayment)__', '__(Hello)__,<br /><br />__(OrganizationEventPaymentOfBoothWasReceived)__<br /><br /><br />__(Sincerely)__<br />__USER_SIGNATURE__', null, '1', null);'
Request 292 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, active, topic, content, content_lines, enabled, joinfiles) values (0, '', 'conferenceorbooth', '', 0, null, null, '(EventOrganizationEmailRegistrationPayment)', 40, 1, '[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailRegistrationPayment)__', '__(Hello)__,<br /><br />__(OrganizationEventPaymentOfRegistrationWasReceived)__<br /><br />__(Sincerely)__<br />__USER_SIGNATURE__', null, '1', null);'
Request 293 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, active, topic, content, content_lines, enabled, joinfiles) values (0, '', 'conferenceorbooth', '', 0, null, null, '(EventOrganizationMassEmailAttendees)', 50, 1, '[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationMassEmailAttendees)__', '__(Hello)__,<br /><br />__(OrganizationEventBulkMailToAttendees)__<br /><br />__(Sincerely)__<br />__USER_SIGNATURE__', null, '1', null);'
Request 294 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, active, topic, content, content_lines, enabled, joinfiles) values (0, '', 'conferenceorbooth', '', 0, null, null, '(EventOrganizationMassEmailSpeakers)', 60, 1, '[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationMassEmailSpeakers)__', '__(Hello)__,<br /><br />__(OrganizationEventBulkMailToSpeakers)__<br /><br />__(Sincerely)__<br />__USER_SIGNATURE__', null, '1', null);'
Request 295 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, label, lang, position, topic, joinfiles, content) VALUES (0, 'partnership', 'partnership_send', '(SendingEmailOnPartnershipWillSoonBeCanceled)', '', 100, '[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipWillSoonBeCanceledTopic)__', 0, '<body>\n <p>__(Hello)__,<br><br>\n__(YourPartnershipWillSoonBeCanceledContent)__</p>\n<br />\n\n<br />\n\n __(Sincerely)__ <br />\n __[MAIN_INFO_SOCIETE_NOM]__ <br />\n </body>\n');'
Request 296 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, label, lang, position, topic, joinfiles, content) VALUES (0, 'partnership', 'partnership_send', '(SendingEmailOnPartnershipCanceled)', '', 100, '[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipCanceledTopic)__', 0, '<body>\n <p>__(Hello)__,<br><br>\n__(YourPartnershipCanceledContent)__</p>\n<br />\n\n<br />\n\n __(Sincerely)__ <br />\n __[MAIN_INFO_SOCIETE_NOM]__ <br />\n </body>\n');'
Request 297 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, label, lang, position, topic, joinfiles, content) VALUES (0, 'partnership', 'partnership_send', '(SendingEmailOnPartnershipRefused)', '', 100, '[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipRefusedTopic)__', 0, '<body>\n <p>__(Hello)__,<br><br>\n__(YourPartnershipRefusedContent)__</p>\n<br />\n\n<br />\n\n __(Sincerely)__ <br />\n __[MAIN_INFO_SOCIETE_NOM]__ <br />\n </body>\n');'
Request 298 sql='INSERT INTO llx_c_email_templates (entity, module, type_template, label, lang, position, topic, joinfiles, content) VALUES (0, 'partnership', 'partnership_send', '(SendingEmailOnPartnershipAccepted)', '', 100, '[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipAcceptedTopic)__', 0, '<body>\n <p>__(Hello)__,<br><br>\n__(YourPartnershipAcceptedContent)__</p>\n<br />\n\n<br />\n\n __(Sincerely)__ <br />\n __[MAIN_INFO_SOCIETE_NOM]__ <br />\n </body>\n');'
Script processingOK - Show-Hide details