Erro : Cannot add or update a child row: a foreign key constraint fails
(`banco_dolibarr`.`llx_product`, CONSTRAINT
`fk_product_default_warehouse` FOREIGN KEY (`fk_default_warehouse`)
REFERENCES `llx_entrepot` (`rowid`)) - UPDATE llx_product SET label =
'140-0983HD', ref = 'BT-1400983HD-B', ref_ext = null, default_vat_code =
null, tva_tx = 0, recuperableonly = 0, localtax1_tx = 0, localtax2_tx =
0, localtax1_type = '0', localtax2_type = '0', barcode = null,
fk_barcode_type = null, tosell = 1, tobuy = 1, tobatch = 0, finished =
1, weight = '26', weight_units = '0', length = '914', length_units =
'0', width= '203', width_units = null, height = '19', height_units =
null, surface = null, surface_units = '0', volume = null, volume_units =
'0', fk_default_warehouse = -1, seuil_stock_alerte = null, description =
'LAMINA RETA HD, 2CH, DIM.203x19x914, 6F DE 3/4"', url = ""
customcode = '84314200', fk_country = 56, note = '', duration = '',
accountancy_code_buy = '', accountancy_code_sell= '',
accountancy_code_sell_intra= '', accountancy_code_sell_export= '',
desiredstock = null, cost_price = null, fk_unit= NULL, price_autogen =
0, fk_price_expression = NULL, fk_user_modif = 2 WHERE rowid = 840
Rgds
Saxa