24-10-2018, 10:25 AM
Ok, ejecuta estos script (uno a uno) en SISTEMA->MANTENIMIENTO->Pestaña CONSOLA DB:
insert into opencart_remove (tipo,item) select "PRO",id_complementog from complementog where id_complementog in (select id_complementog from almacen_complementg where cantidad = 0);
update complementog set sincopencart = "N" where id_complementog in (select id_complementog from almacen_complementg where cantidad = 0);
insert into opencart_remove (tipo,item) select "PRO",id_complementog from complementog where id_complementog in (select id_complementog from almacen_complementg where cantidad = 0);
update complementog set sincopencart = "N" where id_complementog in (select id_complementog from almacen_complementg where cantidad = 0);