(447,'2016-06-10',17001,'02:00:02','N','S','E','Fiagec','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpUlkRbL /var/www/quartup.outs/temp/iophpeMQiPe N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlBxUuuI\' REPLACE INTO TABLE quartup1.maesagen FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_agencia, id_maesagen, nombre, descripcion, conexion, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, fax, cif, email, web, observaciones, cod_pimp_alag, sw_albaran, cod_fichero_plano, num_copias_av, sw_albaran_valor, cod_cliente_agec, cod_servicio, cod_cuenta, cod_articulo, margen_cial, cod_und_emb_1, cod_und_emb_2, cod_und_emb_3)','255','0 (0 sql rows affected)',0,612292,54459664,0,1),(447,'2016-06-10',17002,'02:00:02','N','S','E','Fitext','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp6G0dec /var/www/quartup.outs/temp/iophpvA2XXF N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlEOApJ9\' REPLACE INTO TABLE quartup1.maescialobs FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_texto, texto)','255','0 (0 sql rows affected)',0,612292,54706504,0,1),(447,'2016-06-10',17003,'02:00:02','N','S','E','Fipago','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpxGNIzD /var/www/quartup.outs/temp/iophp2HZ2p7 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql26lYhB\' REPLACE INTO TABLE quartup1.maescuencpa FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_pago, id_pago, nombre, num_efectos, dias_factura, dias_vto, tipo_pago, sw_dto_fin, imp_euro, comision)','255','0 (0 sql rows affected)',0,612292,55087280,0,1),(447,'2016-06-10',17004,'02:00:02','N','S','E','Ficoiv','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpP2PFe5 /var/www/quartup.outs/temp/iophpENgobz N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlLvzS92\' REPLACE INTO TABLE quartup1.maestiva FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tipo_iva, nombre, tpc_iva, tpc_rec, sw_tpc_303, id_ps_iva, id_ps_rec, id_group_ps_iva, sw_dto, sw_fin, sw_irpf, sw_iva_incluido, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_com_iva, cod_cuenta_com_rec, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_vta_iva, cod_cuenta_vta_rec, cta_iva_sop_autofra, cta_iva_rep_autofra)','255','0 (0 sql rows affected)',0,612292,55571168,0,1),(447,'2016-06-10',17005,'02:00:02','N','S','E','Fifpag','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophplqpcdx /var/www/quartup.outs/temp/iophp9rqxg1 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql4vPtlv\' REPLACE INTO TABLE quartup1.maescuenfpa FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_fpago, nombre, sw_remesable, sw_efectivo, sw_reembolso, sw_transfer, sw_domicilia, sw_cuenta_completa, cod_moneda, cod_cuenta_paco, sw_vale_devolucion, dias_riesgo, texto_base_contable, sw_impr_recibo)','255','0 (0 sql rows affected)',0,612292,55964624,0,1),(447,'2016-06-10',17006,'02:00:02','N','S','E','Ficarg','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpRy1evZ /var/www/quartup.outs/temp/iophpiT80Et N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlhSnwQX\' REPLACE INTO TABLE quartup1.maespecocar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cargo, id_carg, nombre)','255','0 (0 sql rows affected)',0,612292,56243112,0,1),(447,'2016-06-10',19001,'02:00:02','N','S','E','Fisust','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpSY4k7r /var/www/quartup.outs/temp/iophpOo49nW N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlPkhuGq\' REPLACE INTO TABLE quartup1.maesartiequlin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, cod_equiva, siglas, ind_proceso)','255','0 (0 sql rows affected)',0,612292,56635992,0,1),(447,'2016-06-10',19002,'02:00:02','N','S','E','Fiaamm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpM7rP6U /var/www/quartup.outs/temp/iophp3ULbxp N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql4xXfZT\' REPLACE INTO TABLE quartup1.almaartilim FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_almacen, nivel, cod_articulo, stock_min, stock_max, stock_pup, fecha_min, fecha_max, fecha_pup, observaciones)','255','0 (0 sql rows affected)',0,612292,58099728,0,1),(447,'2016-06-10',19003,'02:00:02','N','S','E','Fiunem','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpPVyHwo /var/www/quartup.outs/temp/iophpd8593S N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlamkiDn\' REPLACE INTO TABLE quartup1.almaunem FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_und_emb, id_unem, nombre, siglas, ean, cambio, tara, cod_unidad_tara, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, unidad_min, unidad_max, peso_min, peso_max, cod_unidad_peso, longitud_min, longitud_max, cod_unidad_long, superficie_min, superficie_max, cod_unidad_supe, volumen_min, volumen_max, cod_unidad_volu, tipo_calculo, formato)','255','0 (0 sql rows affected)',0,612292,58646904,0,1),(447,'2016-06-10',21001,'02:00:02','N','S','E','Firepr','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpS3OJnS /var/www/quartup.outs/temp/iophpY4wc8m N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql6kEvUR\' REPLACE INTO TABLE quartup1.maescuenrep FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_repres, nombre, cod_repres_parent, sw_director, conexion, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, web, observaciones, telefono, fax, movil, email, comision_1, imp_euro_1, comision_2, imp_euro_2, comision_3, imp_euro_3, comision_4, imp_euro_4, comision_5, imp_euro_5, comision_6, imp_euro_6, comision_7, imp_euro_7, comision_8, imp_euro_8, comision_9, imp_euro_9, comision_10, imp_euro_10, comision_11, imp_euro_11, comision_12, imp_euro_12, comision_13, imp_euro_13, comision_14, imp_euro_14, comision_15, imp_euro_15, comision_16, imp_euro_16, comision_17, imp_euro_17, comision_18, imp_euro_18, comision_19, imp_euro_19, comision_20, imp_euro_20, comi_dir_1, idi_euro_1, comi_dir_2, idi_euro_2, comi_dir_3, idi_euro_3, comi_dir_4, idi_euro_4, comi_dir_5, idi_euro_5, comi_dir_6, idi_euro_6, comi_dir_7, idi_euro_7, comi_dir_8, idi_euro_8, comi_dir_9, idi_euro_9, comi_dir_10, idi_euro_10, comi_dir_11, idi_euro_11, comi_dir_12, idi_euro_12, comi_dir_13, idi_euro_13, comi_dir_14, idi_euro_14, comi_dir_15, idi_euro_15, comi_dir_16, idi_euro_16, comi_dir_17, idi_euro_17, comi_dir_18, idi_euro_18, comi_dir_19, idi_euro_19, comi_dir_20, idi_euro_20, cif, cod_cuenta, id_cialceco, tipo_iva, cod_tipo_iva, irpf, tpc_ret, tpc_rappel, cod_almacen, distribuidor)','255','0 (0 sql rows affected)',0,612292,59874736,0,1),(447,'2016-06-10',22001,'02:00:02','N','S','E','Firepp','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpvsS6Lm /var/www/quartup.outs/temp/iophp7uZIDR N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlLuJ0wm\' REPLACE INTO TABLE quartup1.maescuenreplin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (tip_comision, cod_cuenta, num_dien, nivel, cod_articulo, linea, cod_repres, fecha_d, fecha_h, base_comi, tpc_comi_dir, dsd_dto, hst_dto, base_boni, cantidad, tipo_fijo, cod_moneda, importe_mone, observaciones)','255','0 (0 sql rows affected)',0,612292,60428584,0,1),(447,'2016-06-10',30001,'02:00:02','N','S','E','Fipvpq','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpr0HYCR /var/www/quartup.outs/temp/iophpXkSXIm N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql9hMCQR\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61599096,0,1),(447,'2016-06-10',30002,'02:00:02','N','S','E','Ficlfa','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpveCc3m /var/www/quartup.outs/temp/iophpD0CNfS N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlqQwfJn\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61683456,0,1),(447,'2016-06-10',30003,'02:00:02','N','S','E','Fipvpc','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpwD3rgT /var/www/quartup.outs/temp/iophpoP8ENo N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql3WsPnU\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61913272,0,1),(447,'2016-06-10',30004,'02:00:02','N','S','E','Fidtpq','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpvvgVaq /var/www/quartup.outs/temp/iophpFJL1XV N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlXNpiTr\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61898208,0,1),(447,'2016-06-10',30005,'02:00:02','N','S','E','Fipvpm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpGxTZ9X /var/www/quartup.outs/temp/iophpzahIqu N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql1oLBN0\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','255','0 (0 sql rows affected)',0,612292,62261544,0,1),(447,'2016-06-10',31001,'02:00:02','N','S','E','Fipvpt','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpRFfPex /var/www/quartup.outs/temp/iophpreF3F3 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlC2G08z\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62373248,0,1),(447,'2016-06-10',32001,'02:00:02','N','S','E','Fipvtt','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp2sJMG6 /var/www/quartup.outs/temp/iophpJDJzeD N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlOZtgO9\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62462920,0,1),(447,'2016-06-10',32002,'02:00:02','N','S','E','Fiplfa','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpMLIUsG /var/www/quartup.outs/temp/iophpGqRz7c N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlaXNXNJ\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62531224,0,1),(447,'2016-06-10',40001,'02:00:02','N','S','E','Fitapo','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpdvC2yg /var/www/quartup.outs/temp/iophpA8o8jN N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlm7aY6j\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62628152,0,1),(447,'2016-06-10',40002,'02:00:02','N','S','E','Fitacm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophprk30YQ /var/www/quartup.outs/temp/iophpxO74Qn N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlgJl0KU\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','255','0 (0 sql rows affected)',0,612292,62699376,0,1),(447,'2016-06-10',40003,'02:00:02','N','S','E','Fitaco','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpi1cXNr /var/www/quartup.outs/temp/iophphgbVQY N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlqGBDVv\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,63035032,0,1),(447,'2016-06-10',50001,'02:00:02','N','S','E','Fiarcl','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpLk2u52 /var/www/quartup.outs/temp/iophpRusnfA N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlFuf8q7\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','255','0 (0 sql rows affected)',0,612292,62961688,0,1),(447,'2016-06-10',105001,'02:00:02','N','S','E','Fitped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp3zLDUE /var/www/quartup.outs/temp/iophpq2faoc N\n(255)','255','0 (0 sql rows affected)',0,612292,63045664,0,1),(447,'2016-06-10',106001,'02:00:02','N','S','E','Fikped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophplJWQ1J /var/www/quartup.outs/temp/iophpZ4ByFh N\n(255)','255','0 (0 sql rows affected)',0,612292,63156568,0,1),(447,'2016-06-10',107001,'02:00:02','N','S','E','Ficped','CREATE TEMPORARY TABLE tempficped (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'PV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficped ON cialdocolin.id_cocabe=tempficped.id_cocabe WHERE cialdocolin.soporte=\'PV\' AND tempficped.fecha>=\'20160511\' AND tempficped.fecha<=\'20160610\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'PV\' AND cialdoco.fecha>=\'20160511\' AND cialdoco.fecha<=\'20160610\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpqJMQZ6 /var/www/quartup.outs/temp/iophpq9bakW N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlN9MVQL\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',5,612292,68707760,0,1),(447,'2016-06-10',108001,'02:00:02','N','S','E','Filped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpsqCuGB /var/www/quartup.outs/temp/iophpXZF4vr N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 5.9604644775391E-6\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlYv8qnh\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,72138880,0,1),(447,'2016-06-10',112001,'02:00:02','N','S','E','Fikalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp0IlUE7 /var/www/quartup.outs/temp/iophpU0ooWX N\n(255)','255','0 (0 sql rows affected)',0,612292,72086352,0,1),(447,'2016-06-10',113001,'02:00:02','N','S','E','Ficalb','CREATE TEMPORARY TABLE tempficalb (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'AV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficalb ON cialdocolin.id_cocabe=tempficalb.id_cocabe WHERE cialdocolin.soporte=\'AV\' AND tempficalb.fecha>=\'20160511\' AND tempficalb.fecha<=\'20160610\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'AV\' AND cialdoco.fecha>=\'20160511\' AND cialdoco.fecha<=\'20160610\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp2GVxMc /var/www/quartup.outs/temp/iophp4JIICr N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlsWX1uG\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',7,612292,72400664,0,1),(447,'2016-06-10',114001,'02:00:02','N','S','E','Filalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp6JCuvV /var/www/quartup.outs/temp/iophpy0lYva N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 7.8678131103516E-6\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql5oKhyp\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,72530816,0,1),(447,'2016-06-10',115001,'02:00:02','N','S','E','Fisalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpi1yMKE /var/www/quartup.outs/temp/iophpdZMiXT N\n(255)','255','0 (0 sql rows affected)',0,612292,73343384,0,1),(447,'2016-06-10',122001,'02:00:02','N','S','E','Fikfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp96TWn9 /var/www/quartup.outs/temp/iophpeiGBOo N\n(255)','255','0 (0 sql rows affected)',0,612292,72606248,0,1),(447,'2016-06-10',123001,'02:00:02','N','S','E','Ficfac','CREATE TEMPORARY TABLE tempficfac (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'FV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficfac ON cialdocolin.id_cocabe=tempficfac.id_cocabe WHERE cialdocolin.soporte=\'FV\' AND tempficfac.fecha>=\'20160511\' AND tempficfac.fecha<=\'20160610\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'FV\' AND cialdoco.fecha>=\'20160511\' AND cialdoco.fecha<=\'20160610\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpIlXDgY /var/www/quartup.outs/temp/iophp9u4GIx N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlGlPbc7\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',6,612292,72926480,0,1),(447,'2016-06-10',124001,'02:00:02','N','S','E','Filfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpZJfrNG /var/www/quartup.outs/temp/iophpQ3OHog N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 6.9141387939453E-6\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlfQOP1P\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,73059752,0,1),(447,'2016-06-10',125001,'02:00:02','N','S','E','Fisfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpRjjuPp /var/www/quartup.outs/temp/iophpGXy9CZ N\n(255)','255','0 (0 sql rows affected)',0,612292,73870472,0,1),(447,'2016-06-10',131001,'02:00:02','N','S','E','Ficpec','CREATE TEMPORARY TABLE tempficpec (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'PC\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficpec ON cialdocolin.id_cocabe=tempficpec.id_cocabe WHERE cialdocolin.soporte=\'PC\' AND tempficpec.fecha>=\'20160511\' AND tempficpec.fecha<=\'20160610\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'PC\' AND cialdoco.fecha>=\'20160511\' AND cialdoco.fecha<=\'20160610\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpEC6U0M /var/www/quartup.outs/temp/iophpWiGHoA N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlcmPVNn\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',4,612292,73341912,0,1);
INSERT INTO `quemimcolin` (`num_importa`, `fecha_cre`, `linea`, `hora_cre`, `sw_previos`, `sw_importar`, `sw_importado`, `fich_cobol`, `msg_clean`, `ko_clean`, `msg_impo`, `ko_impo`, `num_regs_proc`, `segundos_proc`, `last_id_used`, `memory_used`, `id_quemregipag`, `id_tenant`) VALUES (447,'2016-06-10',132001,'02:00:02','N','S','E','Filpec','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpyFoVnb /var/www/quartup.outs/temp/iophpHz6VXY N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 3.0994415283203E-6\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlTX4NzM\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,73460080,0,1),(448,'2016-06-11',2001,'02:00:02','N','S','E','Ficamb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp5r8l4i /var/www/quartup.outs/temp/iophpNP02xu N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlhVoVeG\' REPLACE INTO TABLE quartup1.quemmonecam FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_moneda, fecha_ini, fecha_fin, cambio_euro_vta, cambio_euro_cmp)','255','0 (0 sql rows affected)',0,612292,42720656,0,1),(448,'2016-06-11',3001,'02:00:02','N','S','E','Finaci','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp4kGhcS /var/www/quartup.outs/temp/iophpJQ0E93 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql4G0A8f\' REPLACE INTO TABLE quartup1.quempais FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_nacion, cod_nacion_3, nombre, nombre_en, cod_idioma_habi, intercomunitario, formato_fecha, formato_numero, unidades_medida, cod_moneda, sw_pais_origen, siglas_pais_ori, digitos_vta, digitos_com, posicion_vta, posicion_com, clave_nif_340, normativa, observaciones)','255','0 (0 sql rows affected)',0,612292,43171456,0,1),(448,'2016-06-11',5002,'02:00:02','N','S','E','Fiarde','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpwdNPgs /var/www/quartup.outs/temp/iophpDa94oE N\n(255)','255','0 (0 sql rows affected)',0,612292,43239336,0,1),(448,'2016-06-11',5003,'02:00:02','N','S','E','Filtcu','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpUtpOFQ /var/www/quartup.outs/temp/iophpC4IyW2 N\n(255)','255','0 (0 sql rows affected)',0,612292,43308520,0,1),(448,'2016-06-11',5004,'02:00:02','N','S','E','Filuen','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp2E02kf /var/www/quartup.outs/temp/iophpq2lyJr N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlVDbA9D\' REPLACE INTO TABLE quartup1.maescuenlue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_lugar, nombre, sw_dir_cliente, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, cod_almacen, telefono, fax, movil, conexion, email, web)','255','0 (0 sql rows affected)',0,612292,43757216,0,1),(448,'2016-06-11',7001,'02:00:02','N','S','E','Fialma','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp89QoEQ /var/www/quartup.outs/temp/iophpIxAe92 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlmCCCFf\' REPLACE INTO TABLE quartup1.maesalma FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_almacen, nombre, cod_zona_geo, sw_reservas, seguridad, fecha_baja, direccion, cod_postal, poblacion, provincia, cod_nacion, sw_precio_alma, sw_precio_auto, sw_ubicacion, sw_embalaje, sw_redondeo, horario, telefono, fax, email, web, id_quliapre, id_quliaprealm)','255','0 (0 sql rows affected)',0,612292,44311624,0,1),(448,'2016-06-11',8001,'02:00:02','N','S','E','Fifami','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpHnNOjs /var/www/quartup.outs/temp/iophpF1m2XE N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlLBoZDR\' REPLACE INTO TABLE quartup1.maesarti FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, acceso, nombre, nombre_adi, cod_articulo_par, cod_familia_1, cod_familia_2, cod_familia_3, cod_familia_4, cod_familia_5, cod_cuenta_prov, sw_historico, cod_barras, id_maesartimar, cod_esta_1, cod_esta_2, cod_esta_3, cod_nc_taric, num_puntos, sw_dtos_modificable, precio_teorico, fecha_teo, fecha_alta, sw_estadistica, fecha_baja, id_maesarti, nivel, cod_texto, observaciones, sw_ver_agentes, cod_repres, base_comi, tpc_comi_dir, tipo_articulo, sw_alma_ubic, sw_alma_emba, cantidad_base, cod_almacen, cuen_arti_almacen, cod_etiqueta, cod_unidad_medida, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, stock_min, stock_max, stock_pup, comunitario, partida_arancel, cod_nacion, sw_impuesto_esp, sw_rapel, cod_tipo_iva, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_inve, id_cialceco, cod_analitica, image_file, image_file1, image_file2, image_file3, sw_web, sw_send_stock_ecomm, nivel_publica, html_1, cod_und_emb, cambio_embalaje, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, peso_unitario, peso_unit_bruto, densidad_long, cod_unidad_peso_long, cod_unidad_long, densidad_supe, cod_unidad_peso_supe, cod_unidad_supe, densidad_volu, cod_unidad_peso_volu, cod_unidad_volu, cod_tole_medi, cod_pla_par, cod_dete, texto_ficha_tec, nivel_calidad, num_tole_mues, cod_deca, texto_ficha_cal, tipo_materia, sw_kit, cod_almacen_mat, cod_unidad_fabr, factor_fabr, cod_unidad_cons, factor_cons)','255','0 (0 sql rows affected)',0,612292,46223888,0,1),(448,'2016-06-11',9001,'02:00:02','N','S','E','Fiarti','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpR7Amr4 /var/www/quartup.outs/temp/iophpWsPKeh N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlLweS3t\' REPLACE INTO TABLE quartup1.maesarti FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, acceso, nombre, nombre_adi, cod_articulo_par, cod_familia_1, cod_familia_2, cod_familia_3, cod_familia_4, cod_familia_5, cod_cuenta_prov, sw_historico, cod_barras, id_maesartimar, cod_esta_1, cod_esta_2, cod_esta_3, cod_nc_taric, num_puntos, sw_dtos_modificable, precio_teorico, fecha_teo, fecha_alta, sw_estadistica, fecha_baja, id_maesarti, nivel, cod_texto, observaciones, sw_ver_agentes, cod_repres, base_comi, tpc_comi_dir, tipo_articulo, sw_alma_ubic, sw_alma_emba, cantidad_base, cod_almacen, cuen_arti_almacen, cod_etiqueta, cod_unidad_medida, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, stock_min, stock_max, stock_pup, comunitario, partida_arancel, cod_nacion, sw_impuesto_esp, sw_rapel, cod_tipo_iva, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_inve, id_cialceco, cod_analitica, image_file, image_file1, image_file2, image_file3, sw_web, sw_send_stock_ecomm, nivel_publica, html_1, cod_und_emb, cambio_embalaje, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, peso_unitario, peso_unit_bruto, densidad_long, cod_unidad_peso_long, cod_unidad_long, densidad_supe, cod_unidad_peso_supe, cod_unidad_supe, densidad_volu, cod_unidad_peso_volu, cod_unidad_volu, cod_tole_medi, cod_pla_par, cod_dete, texto_ficha_tec, nivel_calidad, num_tole_mues, cod_deca, texto_ficha_cal, tipo_materia, sw_kit, cod_almacen_mat, cod_unidad_fabr, factor_fabr, cod_unidad_cons, factor_cons)','255','0 (0 sql rows affected)',4,612292,46448040,0,1),(448,'2016-06-11',11001,'02:00:02','N','S','E','Fiarty','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophplLiQET /var/www/quartup.outs/temp/iophpDSpPfj N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqldqZHZI\' REPLACE INTO TABLE quartup1.maesarticod FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, linea, cod_articulo_alt, nombre_alt, cod_tipo_cod_alt, observaciones)','255','0 (0 sql rows affected)',0,612292,46642168,0,1),(448,'2016-06-11',11002,'02:00:02','N','S','E','Fiequi','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp6DqxS8 /var/www/quartup.outs/temp/iophpaIXnLy N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlUJ5UFY\' REPLACE INTO TABLE quartup1.maesartiequ FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_equiva, nombre, siglas, sw_bloqueo)','255','0 (0 sql rows affected)',0,612292,46949472,0,1),(448,'2016-06-11',11003,'02:00:02','N','S','E','Fiubic','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpaPONEo /var/www/quartup.outs/temp/iophp4FCHDO N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlPhs4De\' REPLACE INTO TABLE quartup1.almaartiubi FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_almaartiubi, cod_articulo, cod_almacen, cod_ubicacion, orden_importancia, observaciones)','255','0 (0 sql rows affected)',0,612292,47303536,0,1),(448,'2016-06-11',11004,'02:00:02','N','S','E','Fiarna','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpYuqTRE /var/www/quartup.outs/temp/iophpzKtJ54 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlDl72kv\' REPLACE INTO TABLE quartup1.maesartidesidi FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, cod_descripcion, cod_idioma, nivel, nombre, color_texto, color_fondo, cod_font, cod_size_font, cod_style_font, cod_weight_font, nombre_web, nombre_html, iddms, image_file, image_file1, image_file2)','255','0 (0 sql rows affected)',0,612292,47773992,0,1),(448,'2016-06-11',13001,'02:00:02','N','S','E','Fiprct','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpwk7ZFV /var/www/quartup.outs/temp/iophpLO8X0l N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlOZjEnM\' REPLACE INTO TABLE quartup1.maescuenper FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, num_personal, nombre, id_prct, cod_pre_cuenta, num_pre_personal, dni, descripcion, cod_cargo, departamento, horario, cod_urgencia, cod_origen, cod_importancia, direccion, cod_postal, poblacion, provincia, cod_nacion, telefono, extension, telefono_alternativo, fax, movil, sw_no_llamar, email, email_alternativo, mensajeria_instant, web, sw_no_email, observaciones, cod_accion, cod_relacion, asignado_a, referido_por, cod_estado, descripcion_estado, informacion_add, id_crm)','255','0 (0 sql rows affected)',0,612292,48437280,0,1),(448,'2016-06-11',13002,'02:00:02','N','S','E','Fidien','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpazNKVc /var/www/quartup.outs/temp/iophpjdPRtD N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql9j8723\' REPLACE INTO TABLE quartup1.maescuendir FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, nombre, num_dien, cif, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, fax, movil, conexion, email, web, num_domi, ean, cod_agencia, cod_ruta, cod_destino, sw_reexpedicion, cod_almacen_mov, cod_repres, base_comi, tpc_comi_dir, cod_ruta_com, sw_delegacion, sw_visita, observaciones, clave_303_v, clave_303_c, clave_operacion_349, cuen_tax_rule, cod_cae, cae_fecha_caduca)','255','0 (0 sql rows affected)',0,612292,49102472,0,1),(448,'2016-06-11',13003,'02:00:02','N','S','E','Fitcli','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpCh8VLu /var/www/quartup.outs/temp/iophpPZaLuV N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlnBh6em\' REPLACE INTO TABLE quartup1.maesprectar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tarifa, nombre, cod_moneda, tipo, sw_prec_neto, sw_iva_incluido, orden_prec, orden_dtos, tpc_aumento, orden_prec_2, orden_dtos_2, orden_prec_3, orden_dtos_3, orden_prec_4, orden_dtos_4, orden_prec_5, orden_dtos_5)','255','0 (0 sql rows affected)',0,612292,49579568,0,1),(448,'2016-06-11',13004,'02:00:02','N','S','E','Figrup','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpRqLa4M /var/www/quartup.outs/temp/iophpfRNfTd N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlo4nSJE\' REPLACE INTO TABLE quartup1.cialcuma FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, digitos, sw_auto_pgc, nombre, normativa, observaciones)','255','0 (0 sql rows affected)',0,612292,49912120,0,1),(448,'2016-06-11',13005,'02:00:02','N','S','E','Fiesta','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp13glR5 /var/www/quartup.outs/temp/iophpFybPYw N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlS6xR7X\' REPLACE INTO TABLE quartup1.maescodiest FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (tip_esta, cod_esta, nombre, observaciones)','255','0 (0 sql rows affected)',0,612292,50215552,0,1),(448,'2016-06-11',13006,'02:00:02','N','S','E','Ficuen','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpg1Dkqp /var/www/quartup.outs/temp/iophpv9NOIQ N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql4I772h\' REPLACE INTO TABLE quartup1.maescuen FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, nombre, acceso, cif, seguridad, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, movil, fax, email, email_fac, enviar_fac, web, cod_moneda, cod_idioma, fecha_ini, fecha_fin, iban_pais, iban_banco, iban_oficina, iban_dc, iban_cta, iban_extra, cod_bic_swift, cod_subfijo, num_cedente, num_identifica, cod_confirming, cod_factoring, sw_referencia, cod_texto, cod_almacen_mov, sw_pedido_entero, cancela_resto_ped, sw_alba_siempre, sw_agrupa, sw_tipo_fra, cod_serie_fac, cod_serie_abo, cod_agencia, cod_ruta, cod_modo_porte, cod_destino, cod_incoterm, tipo_portes, importe_portes, impo_portes, minimo_no_portes, id_quemtpvs, cod_esta_1, cod_esta_2, cod_esta_3, nivel_calidad, cod_esta_4, cod_esta_5, cod_esta_6, cod_impr_oferta, cod_impr_pedido, cod_impr_prepara, cod_impr_albaran, copias_oferta, copias_pedido, copias_prepara, copias_albaran, sw_oferta_valor, sw_pedido_valor, sw_prepara_valor, sw_albaran_valor, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_impr_factura, copias_factura, sw_impr_vto, usuario_ws, password_ws, sw_activo, fecha_fin_nl, sw_dto_cascada, precios_con_iva, cod_tarifa, cod_tarifa_1, cod_tarifa_2, cod_tarifa_3, cod_tarifa_4, cod_tarifa_5, num_dien_fra, num_dien_rec, cod_fpago, cod_pago, dias_pago_1, dias_pago_2, dias_pago_3, vacaciones_1, vacaciones_2, num_domi, cod_cuenta_paco, dto_fin, sw_orden_firmada, fec_orden_firmada, sepa_refe_mandato, imp_rie_euro_1, imp_rie_euro_2, imp_rie_mone_1, imp_rie_mone_2, fecha_riesgo, sw_riesgo_ped, dias_cancel, sw_factoring, sw_reclama, sw_residente, codigo_cin, codigo_isin, sw_asegurado, num_seguro, cod_poliza, cod_repres, base_comi, tpc_comi_dir, num_usuario_cre, cod_actividad, id_maescuenzin, facturacion, num_empleados, cod_origen, cod_vendedor, cod_referido_por, pre_cuenta, sw_mostrar_nota, nota, tipo_iva, cod_tipo_iva, sw_irpf, tpc_irpf, cod_cuenta_irpf, sw_organ_persona, clave_303_v, clave_303_c, sw_operacion_347, clave_operacion_349, id_maescuenloi, cod_proveedor, ean, sw_centro_coste, id_cialceco, cod_cuenta_fra, cod_cuenta_bas, cod_cuenta_abo, fec_cert_aeat, fec_cert_ss, fec_decla_haber, cod_cae, cae_fecha_caduca, sw_impuesto_esp, sw_mostrar_observaciones, observaciones, fecha_nac, sexo, digitos, sw_auto_pgc)','255','0 (0 sql rows affected)',0,612292,52738880,0,1),(448,'2016-06-11',14001,'02:00:02','N','S','E','Fidomi','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophphWPVzJ /var/www/quartup.outs/temp/iophpx52J6a N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlfmrIEC\' REPLACE INTO TABLE quartup1.maescuendom FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, num_domi, id_domi, banco, direccion, cod_postal, poblacion, provincia, cod_nacion, iban_pais, iban_banco, iban_oficina, iban_dc, iban_cta, iban_extra, iban_bban, cod_iban, cod_bic_swift, observaciones)','255','0 (0 sql rows affected)',0,612292,53044000,0,1),(448,'2016-06-11',15001,'02:00:02','N','S','E','Firies','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpBxpOf4 /var/www/quartup.outs/temp/iophpiOXUQv N\n(255)','255','0 (0 sql rows affected)',0,612292,53117992,0,1),(448,'2016-06-11',15002,'02:00:02','N','S','E','Ficeco','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpOhrayX /var/www/quartup.outs/temp/iophp1jUqfp N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlOKTjYQ\' REPLACE INTO TABLE quartup1.cialceco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_centro_coste, id_cialceco, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, telefono, fax, tipo_centro, ord_salida, digitos, anyo, seguridad)','255','0 (0 sql rows affected)',0,612292,53517904,0,1),(448,'2016-06-11',15003,'02:00:02','N','S','E','Fitecu','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpL1LhMi /var/www/quartup.outs/temp/iophpHiCgAK N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql0UVWpc\' REPLACE INTO TABLE quartup1.maescuenobs FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_texto, id_tecu, texto, bloqueo, ver_pantalla, password)','255','0 (0 sql rows affected)',0,612292,53839736,0,1),(448,'2016-06-11',15004,'02:00:02','N','S','E','Fitari','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp6l2FjE /var/www/quartup.outs/temp/iophpaZ7pd6 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlZX3H8x\' REPLACE INTO TABLE quartup1.maesprectar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tarifa, nombre, cod_moneda, tipo, sw_prec_neto, sw_iva_incluido, orden_prec, orden_dtos, tpc_aumento, orden_prec_2, orden_dtos_2, orden_prec_3, orden_dtos_3, orden_prec_4, orden_dtos_4, orden_prec_5, orden_dtos_5)','255','0 (0 sql rows affected)',0,612292,53907848,0,1),(448,'2016-06-11',17001,'02:00:02','N','S','E','Fiagec','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophplmjo8Z /var/www/quartup.outs/temp/iophpAaz57r N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlmIVo9T\' REPLACE INTO TABLE quartup1.maesagen FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_agencia, id_maesagen, nombre, descripcion, conexion, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, fax, cif, email, web, observaciones, cod_pimp_alag, sw_albaran, cod_fichero_plano, num_copias_av, sw_albaran_valor, cod_cliente_agec, cod_servicio, cod_cuenta, cod_articulo, margen_cial, cod_und_emb_1, cod_und_emb_2, cod_und_emb_3)','255','0 (0 sql rows affected)',0,612292,54468256,0,1),(448,'2016-06-11',17002,'02:00:02','N','S','E','Fitext','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpzT3mfm /var/www/quartup.outs/temp/iophpUHcmlO N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql0FaWsg\' REPLACE INTO TABLE quartup1.maescialobs FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_texto, texto)','255','0 (0 sql rows affected)',0,612292,54715352,0,1),(448,'2016-06-11',17003,'02:00:02','N','S','E','Fipago','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpBtt5EI /var/www/quartup.outs/temp/iophpS3JfRa N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlHuZX4C\' REPLACE INTO TABLE quartup1.maescuencpa FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_pago, id_pago, nombre, num_efectos, dias_factura, dias_vto, tipo_pago, sw_dto_fin, imp_euro, comision)','255','0 (0 sql rows affected)',0,612292,55096280,0,1),(448,'2016-06-11',17004,'02:00:02','N','S','E','Ficoiv','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpOM7Bn5 /var/www/quartup.outs/temp/iophp1kehGx N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlHqIj0Z\' REPLACE INTO TABLE quartup1.maestiva FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tipo_iva, nombre, tpc_iva, tpc_rec, sw_tpc_303, id_ps_iva, id_ps_rec, id_group_ps_iva, sw_dto, sw_fin, sw_irpf, sw_iva_incluido, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_com_iva, cod_cuenta_com_rec, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_vta_iva, cod_cuenta_vta_rec, cta_iva_sop_autofra, cta_iva_rep_autofra)','255','0 (0 sql rows affected)',0,612292,55578448,0,1),(448,'2016-06-11',17005,'02:00:02','N','S','E','Fifpag','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpUbzkps /var/www/quartup.outs/temp/iophpdwmmOU N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlSkjZen\' REPLACE INTO TABLE quartup1.maescuenfpa FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_fpago, nombre, sw_remesable, sw_efectivo, sw_reembolso, sw_transfer, sw_domicilia, sw_cuenta_completa, cod_moneda, cod_cuenta_paco, sw_vale_devolucion, dias_riesgo, texto_base_contable, sw_impr_recibo)','255','0 (0 sql rows affected)',0,612292,55972368,0,1),(448,'2016-06-11',17006,'02:00:02','N','S','E','Ficarg','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpeyWGKP /var/www/quartup.outs/temp/iophpgdwpgi N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqllGaJNK\' REPLACE INTO TABLE quartup1.maespecocar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cargo, id_carg, nombre)','255','0 (0 sql rows affected)',0,612292,56251544,0,1),(448,'2016-06-11',19001,'02:00:02','N','S','E','Fisust','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpWMl9Ed /var/www/quartup.outs/temp/iophpAhzAwG N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql2gqtt9\' REPLACE INTO TABLE quartup1.maesartiequlin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, cod_equiva, siglas, ind_proceso)','255','0 (0 sql rows affected)',0,612292,56643656,0,1),(448,'2016-06-11',19002,'02:00:02','N','S','E','Fiaamm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpJm1AvC /var/www/quartup.outs/temp/iophpQydJx5 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlHiLrFy\' REPLACE INTO TABLE quartup1.almaartilim FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_almacen, nivel, cod_articulo, stock_min, stock_max, stock_pup, fecha_min, fecha_max, fecha_pup, observaciones)','255','0 (0 sql rows affected)',0,612292,58108632,0,1),(448,'2016-06-11',19003,'02:00:02','N','S','E','Fiunem','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpIj6cY1 /var/www/quartup.outs/temp/iophpQUvZgv N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlu7ErBY\' REPLACE INTO TABLE quartup1.almaunem FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_und_emb, id_unem, nombre, siglas, ean, cambio, tara, cod_unidad_tara, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, unidad_min, unidad_max, peso_min, peso_max, cod_unidad_peso, longitud_min, longitud_max, cod_unidad_long, superficie_min, superficie_max, cod_unidad_supe, volumen_min, volumen_max, cod_unidad_volu, tipo_calculo, formato)','255','0 (0 sql rows affected)',0,612292,58655840,0,1),(448,'2016-06-11',21001,'02:00:02','N','S','E','Firepr','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpfKw05r /var/www/quartup.outs/temp/iophprGwAAV N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlnveY6o\' REPLACE INTO TABLE quartup1.maescuenrep FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_repres, nombre, cod_repres_parent, sw_director, conexion, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, web, observaciones, telefono, fax, movil, email, comision_1, imp_euro_1, comision_2, imp_euro_2, comision_3, imp_euro_3, comision_4, imp_euro_4, comision_5, imp_euro_5, comision_6, imp_euro_6, comision_7, imp_euro_7, comision_8, imp_euro_8, comision_9, imp_euro_9, comision_10, imp_euro_10, comision_11, imp_euro_11, comision_12, imp_euro_12, comision_13, imp_euro_13, comision_14, imp_euro_14, comision_15, imp_euro_15, comision_16, imp_euro_16, comision_17, imp_euro_17, comision_18, imp_euro_18, comision_19, imp_euro_19, comision_20, imp_euro_20, comi_dir_1, idi_euro_1, comi_dir_2, idi_euro_2, comi_dir_3, idi_euro_3, comi_dir_4, idi_euro_4, comi_dir_5, idi_euro_5, comi_dir_6, idi_euro_6, comi_dir_7, idi_euro_7, comi_dir_8, idi_euro_8, comi_dir_9, idi_euro_9, comi_dir_10, idi_euro_10, comi_dir_11, idi_euro_11, comi_dir_12, idi_euro_12, comi_dir_13, idi_euro_13, comi_dir_14, idi_euro_14, comi_dir_15, idi_euro_15, comi_dir_16, idi_euro_16, comi_dir_17, idi_euro_17, comi_dir_18, idi_euro_18, comi_dir_19, idi_euro_19, comi_dir_20, idi_euro_20, cif, cod_cuenta, id_cialceco, tipo_iva, cod_tipo_iva, irpf, tpc_ret, tpc_rappel, cod_almacen, distribuidor)','255','0 (0 sql rows affected)',0,612292,59883784,0,1),(448,'2016-06-11',22001,'02:00:02','N','S','E','Firepp','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpyivPIS /var/www/quartup.outs/temp/iophpcyPHkm N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql2SJeYP\' REPLACE INTO TABLE quartup1.maescuenreplin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (tip_comision, cod_cuenta, num_dien, nivel, cod_articulo, linea, cod_repres, fecha_d, fecha_h, base_comi, tpc_comi_dir, dsd_dto, hst_dto, base_boni, cantidad, tipo_fijo, cod_moneda, importe_mone, observaciones)','255','0 (0 sql rows affected)',0,612292,60437112,0,1),(448,'2016-06-11',30001,'02:00:02','N','S','E','Fipvpq','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp4afaMj /var/www/quartup.outs/temp/iophpEtP6zN N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlDSqKph\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61607728,0,1),(448,'2016-06-11',30002,'02:00:02','N','S','E','Ficlfa','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp1y6bjL /var/www/quartup.outs/temp/iophpkJKEcf N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlRumM7I\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61692384,0,1),(448,'2016-06-11',30003,'02:00:02','N','S','E','Fipvpc','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpTTxocd /var/www/quartup.outs/temp/iophpcOM1gH N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqllX0vnb\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61922136,0,1),(448,'2016-06-11',30004,'02:00:02','N','S','E','Fidtpq','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpdT7fzF /var/www/quartup.outs/temp/iophpQBM0K9 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlHbWzYD\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61905952,0,1),(448,'2016-06-11',30005,'02:00:02','N','S','E','Fipvpm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpU1DZl8 /var/www/quartup.outs/temp/iophpMWoqJC N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlAFQC86\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','255','0 (0 sql rows affected)',0,612292,62270128,0,1),(448,'2016-06-11',31001,'02:00:02','N','S','E','Fipvpt','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpCKiJCB /var/www/quartup.outs/temp/iophpFaLQ65 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlY1cPCA\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62381624,0,1),(448,'2016-06-11',32001,'02:00:02','N','S','E','Fipvtt','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpYw9Rd5 /var/www/quartup.outs/temp/iophpgM5VOz N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqltbELr4\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62471224,0,1),(448,'2016-06-11',32002,'02:00:02','N','S','E','Fiplfa','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpoO4j9y /var/www/quartup.outs/temp/iophpS2xTQ3 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlkhygAy\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62540408,0,1),(448,'2016-06-11',40001,'02:00:02','N','S','E','Fitapo','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpMceyu3 /var/www/quartup.outs/temp/iophp5lUQoy N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlIUMiL4\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62637384,0,1),(448,'2016-06-11',40002,'02:00:02','N','S','E','Fitacm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpP9dFoB /var/www/quartup.outs/temp/iophppa2217 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlEsBXLE\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','255','0 (0 sql rows affected)',0,612292,62708200,0,1),(448,'2016-06-11',40003,'02:00:02','N','S','E','Fitaco','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpCZPiAb /var/www/quartup.outs/temp/iophpHP0EoI N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlil1Ief\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,63045648,0,1),(448,'2016-06-11',50001,'02:00:02','N','S','E','Fiarcl','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp8RzT9L /var/www/quartup.outs/temp/iophp0x844i N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlU4y41P\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','255','0 (0 sql rows affected)',0,612292,62970456,0,1),(448,'2016-06-11',105001,'02:00:02','N','S','E','Fitped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpxMF57m /var/www/quartup.outs/temp/iophpbUK7dU N\n(255)','255','0 (0 sql rows affected)',0,612292,63054688,0,1),(448,'2016-06-11',106001,'02:00:02','N','S','E','Fikped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpuFbHur /var/www/quartup.outs/temp/iophpdI9gLY N\n(255)','255','0 (0 sql rows affected)',0,612292,63166344,0,1),(448,'2016-06-11',107001,'02:00:02','N','S','E','Ficped','CREATE TEMPORARY TABLE tempficped (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'PV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficped ON cialdocolin.id_cocabe=tempficped.id_cocabe WHERE cialdocolin.soporte=\'PV\' AND tempficped.fecha>=\'20160512\' AND tempficped.fecha<=\'20160611\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'PV\' AND cialdoco.fecha>=\'20160512\' AND cialdoco.fecha<=\'20160611\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpNsdEeR /var/www/quartup.outs/temp/iophpaJq2HJ N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlbQzydC\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',6,612292,68718792,0,1),(448,'2016-06-11',108001,'02:00:02','N','S','E','Filped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp7kePUu /var/www/quartup.outs/temp/iophp2A36Bn N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 6.1988830566406E-6\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlj1Ialg\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,72148880,0,1),(448,'2016-06-11',112001,'02:00:02','N','S','E','Fikalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpnQsjh9 /var/www/quartup.outs/temp/iophpAYetd2 N\n(255)','255','0 (0 sql rows affected)',0,612292,72096992,0,1),(448,'2016-06-11',113001,'02:00:02','N','S','E','Ficalb','CREATE TEMPORARY TABLE tempficalb (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'AV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficalb ON cialdocolin.id_cocabe=tempficalb.id_cocabe WHERE cialdocolin.soporte=\'AV\' AND tempficalb.fecha>=\'20160512\' AND tempficalb.fecha<=\'20160611\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'AV\' AND cialdoco.fecha>=\'20160512\' AND cialdoco.fecha<=\'20160611\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpIlo8eh /var/www/quartup.outs/temp/iophpRvSOgw N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlFW3EkL\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',7,612292,72413120,0,1),(448,'2016-06-11',114001,'02:00:02','N','S','E','Filalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpSnSPy0 /var/www/quartup.outs/temp/iophpoTK1Mf N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 8.1062316894531E-6\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqle3O02u\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,72541856,0,1),(448,'2016-06-11',115001,'02:00:02','N','S','E','Fisalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpY5NTrK /var/www/quartup.outs/temp/iophpLjWNQZ N\n(255)','255','0 (0 sql rows affected)',0,612292,73355000,0,1),(448,'2016-06-11',122001,'02:00:02','N','S','E','Fikfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp7LRhpf /var/www/quartup.outs/temp/iophpzbOMXu N\n(255)','255','0 (0 sql rows affected)',0,612292,72617312,0,1),(448,'2016-06-11',123001,'02:00:02','N','S','E','Ficfac','CREATE TEMPORARY TABLE tempficfac (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'FV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficfac ON cialdocolin.id_cocabe=tempficfac.id_cocabe WHERE cialdocolin.soporte=\'FV\' AND tempficfac.fecha>=\'20160512\' AND tempficfac.fecha<=\'20160611\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'FV\' AND cialdoco.fecha>=\'20160512\' AND cialdoco.fecha<=\'20160611\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp7Phpu6 /var/www/quartup.outs/temp/iophpeN120H N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlYxQPzj\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',7,612292,72933648,0,1),(448,'2016-06-11',124001,'02:00:02','N','S','E','Filfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpOWSYgV /var/www/quartup.outs/temp/iophpptv8Xw N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 5.9604644775391E-6\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlPBoCG8\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,73070576,0,1),(448,'2016-06-11',125001,'02:00:02','N','S','E','Fisfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpQT9ozK /var/www/quartup.outs/temp/iophpLt4csm N\n(255)','255','0 (0 sql rows affected)',0,612292,73881080,0,1),(448,'2016-06-11',131001,'02:00:02','N','S','E','Ficpec','CREATE TEMPORARY TABLE tempficpec (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'PC\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficpec ON cialdocolin.id_cocabe=tempficpec.id_cocabe WHERE cialdocolin.soporte=\'PC\' AND tempficpec.fecha>=\'20160512\' AND tempficpec.fecha<=\'20160611\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'PC\' AND cialdoco.fecha>=\'20160512\' AND cialdoco.fecha<=\'20160611\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpfBDx0e /var/www/quartup.outs/temp/iophps2tTy7 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlrUegb0\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',5,612292,73350968,0,1),(448,'2016-06-11',132001,'02:00:02','N','S','E','Filpec','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp55EG0S /var/www/quartup.outs/temp/iophpUd67PL N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 9.0599060058594E-6\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlqjAWPE\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,73473320,0,1),(449,'2016-06-12',2001,'02:00:03','N','S','E','Ficamb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpItp5fc /var/www/quartup.outs/temp/iophp4fC1je N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlAJH4Ag\' REPLACE INTO TABLE quartup1.quemmonecam FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_moneda, fecha_ini, fecha_fin, cambio_euro_vta, cambio_euro_cmp)','255','0 (0 sql rows affected)',0,612292,42718112,0,1),(449,'2016-06-12',3001,'02:00:03','N','S','E','Finaci','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpC11d9i /var/www/quartup.outs/temp/iophpJBmoHl N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqluoamho\' REPLACE INTO TABLE quartup1.quempais FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_nacion, cod_nacion_3, nombre, nombre_en, cod_idioma_habi, intercomunitario, formato_fecha, formato_numero, unidades_medida, cod_moneda, sw_pais_origen, siglas_pais_ori, digitos_vta, digitos_com, posicion_vta, posicion_com, clave_nif_340, normativa, observaciones)','255','0 (0 sql rows affected)',0,612292,43168296,0,1),(449,'2016-06-12',5002,'02:00:03','N','S','E','Fiarde','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophputTG1q /var/www/quartup.outs/temp/iophpI1x2Lt N\n(255)','255','0 (0 sql rows affected)',0,612292,43235816,0,1),(449,'2016-06-12',5003,'02:00:03','N','S','E','Filtcu','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpaPEOGw /var/www/quartup.outs/temp/iophpMZMBBz N\n(255)','255','0 (0 sql rows affected)',0,612292,43305080,0,1),(449,'2016-06-12',5004,'02:00:03','N','S','E','Filuen','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpvJnYHC /var/www/quartup.outs/temp/iophpe9AlOF N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlvVUXVI\' REPLACE INTO TABLE quartup1.maescuenlue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_lugar, nombre, sw_dir_cliente, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, cod_almacen, telefono, fax, movil, conexion, email, web)','255','0 (0 sql rows affected)',0,612292,43753696,0,1),(449,'2016-06-12',7001,'02:00:03','N','S','E','Fialma','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp3ZwkdM /var/www/quartup.outs/temp/iophpPQaIuP N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql6qmRNS\' REPLACE INTO TABLE quartup1.maesalma FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_almacen, nombre, cod_zona_geo, sw_reservas, seguridad, fecha_baja, direccion, cod_postal, poblacion, provincia, cod_nacion, sw_precio_alma, sw_precio_auto, sw_ubicacion, sw_embalaje, sw_redondeo, horario, telefono, fax, email, web, id_quliapre, id_quliaprealm)','255','0 (0 sql rows affected)',0,612292,44307496,0,1),(449,'2016-06-12',8001,'02:00:03','N','S','E','Fifami','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpsyhsjW /var/www/quartup.outs/temp/iophplRj4OZ N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlsn0Bv3\' REPLACE INTO TABLE quartup1.maesarti FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, acceso, nombre, nombre_adi, cod_articulo_par, cod_familia_1, cod_familia_2, cod_familia_3, cod_familia_4, cod_familia_5, cod_cuenta_prov, sw_historico, cod_barras, id_maesartimar, cod_esta_1, cod_esta_2, cod_esta_3, cod_nc_taric, num_puntos, sw_dtos_modificable, precio_teorico, fecha_teo, fecha_alta, sw_estadistica, fecha_baja, id_maesarti, nivel, cod_texto, observaciones, sw_ver_agentes, cod_repres, base_comi, tpc_comi_dir, tipo_articulo, sw_alma_ubic, sw_alma_emba, cantidad_base, cod_almacen, cuen_arti_almacen, cod_etiqueta, cod_unidad_medida, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, stock_min, stock_max, stock_pup, comunitario, partida_arancel, cod_nacion, sw_impuesto_esp, sw_rapel, cod_tipo_iva, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_inve, id_cialceco, cod_analitica, image_file, image_file1, image_file2, image_file3, sw_web, sw_send_stock_ecomm, nivel_publica, html_1, cod_und_emb, cambio_embalaje, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, peso_unitario, peso_unit_bruto, densidad_long, cod_unidad_peso_long, cod_unidad_long, densidad_supe, cod_unidad_peso_supe, cod_unidad_supe, densidad_volu, cod_unidad_peso_volu, cod_unidad_volu, cod_tole_medi, cod_pla_par, cod_dete, texto_ficha_tec, nivel_calidad, num_tole_mues, cod_deca, texto_ficha_cal, tipo_materia, sw_kit, cod_almacen_mat, cod_unidad_fabr, factor_fabr, cod_unidad_cons, factor_cons)','255','0 (0 sql rows affected)',0,612292,46219160,0,1),(449,'2016-06-12',9001,'02:00:03','N','S','E','Fiarti','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp5K8fo7 /var/www/quartup.outs/temp/iophp3uJUgb N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlXZdPaf\' REPLACE INTO TABLE quartup1.maesarti FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, acceso, nombre, nombre_adi, cod_articulo_par, cod_familia_1, cod_familia_2, cod_familia_3, cod_familia_4, cod_familia_5, cod_cuenta_prov, sw_historico, cod_barras, id_maesartimar, cod_esta_1, cod_esta_2, cod_esta_3, cod_nc_taric, num_puntos, sw_dtos_modificable, precio_teorico, fecha_teo, fecha_alta, sw_estadistica, fecha_baja, id_maesarti, nivel, cod_texto, observaciones, sw_ver_agentes, cod_repres, base_comi, tpc_comi_dir, tipo_articulo, sw_alma_ubic, sw_alma_emba, cantidad_base, cod_almacen, cuen_arti_almacen, cod_etiqueta, cod_unidad_medida, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, stock_min, stock_max, stock_pup, comunitario, partida_arancel, cod_nacion, sw_impuesto_esp, sw_rapel, cod_tipo_iva, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_inve, id_cialceco, cod_analitica, image_file, image_file1, image_file2, image_file3, sw_web, sw_send_stock_ecomm, nivel_publica, html_1, cod_und_emb, cambio_embalaje, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, peso_unitario, peso_unit_bruto, densidad_long, cod_unidad_peso_long, cod_unidad_long, densidad_supe, cod_unidad_peso_supe, cod_unidad_supe, densidad_volu, cod_unidad_peso_volu, cod_unidad_volu, cod_tole_medi, cod_pla_par, cod_dete, texto_ficha_tec, nivel_calidad, num_tole_mues, cod_deca, texto_ficha_cal, tipo_materia, sw_kit, cod_almacen_mat, cod_unidad_fabr, factor_fabr, cod_unidad_cons, factor_cons)','255','0 (0 sql rows affected)',3,612292,46443312,0,1),(449,'2016-06-12',11001,'02:00:03','N','S','E','Fiarty','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpdoJKiu /var/www/quartup.outs/temp/iophpfTlHqJ N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqloGMlHY\' REPLACE INTO TABLE quartup1.maesarticod FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, linea, cod_articulo_alt, nombre_alt, cod_tipo_cod_alt, observaciones)','255','0 (0 sql rows affected)',0,612292,46637784,0,1),(449,'2016-06-12',11002,'02:00:03','N','S','E','Fiequi','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpF1o58d /var/www/quartup.outs/temp/iophpx5yPAt N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql9IRQ3I\' REPLACE INTO TABLE quartup1.maesartiequ FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_equiva, nombre, siglas, sw_bloqueo)','255','0 (0 sql rows affected)',0,612292,46944456,0,1),(449,'2016-06-12',11003,'02:00:03','N','S','E','Fiubic','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpw2FuGY /var/www/quartup.outs/temp/iophpAYv9ie N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlS7mkXt\' REPLACE INTO TABLE quartup1.almaartiubi FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_almaartiubi, cod_articulo, cod_almacen, cod_ubicacion, orden_importancia, observaciones)','255','0 (0 sql rows affected)',0,612292,47299080,0,1),(449,'2016-06-12',11004,'02:00:03','N','S','E','Fiarna','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpG8QINJ /var/www/quartup.outs/temp/iophpKYm8DZ N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlCcagwf\' REPLACE INTO TABLE quartup1.maesartidesidi FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, cod_descripcion, cod_idioma, nivel, nombre, color_texto, color_fondo, cod_font, cod_size_font, cod_style_font, cod_weight_font, nombre_web, nombre_html, iddms, image_file, image_file1, image_file2)','255','0 (0 sql rows affected)',0,612292,47769880,0,1),(449,'2016-06-12',13001,'02:00:03','N','S','E','Fiprct','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpX2viCv /var/www/quartup.outs/temp/iophp1hYlIL N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqldTh3P1\' REPLACE INTO TABLE quartup1.maescuenper FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, num_personal, nombre, id_prct, cod_pre_cuenta, num_pre_personal, dni, descripcion, cod_cargo, departamento, horario, cod_urgencia, cod_origen, cod_importancia, direccion, cod_postal, poblacion, provincia, cod_nacion, telefono, extension, telefono_alternativo, fax, movil, sw_no_llamar, email, email_alternativo, mensajeria_instant, web, sw_no_email, observaciones, cod_accion, cod_relacion, asignado_a, referido_por, cod_estado, descripcion_estado, informacion_add, id_crm)','255','0 (0 sql rows affected)',0,612292,48433104,0,1),(449,'2016-06-12',13002,'02:00:03','N','S','E','Fidien','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpNf5fai /var/www/quartup.outs/temp/iophpatUtuy N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlfUntQO\' REPLACE INTO TABLE quartup1.maescuendir FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, nombre, num_dien, cif, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, fax, movil, conexion, email, web, num_domi, ean, cod_agencia, cod_ruta, cod_destino, sw_reexpedicion, cod_almacen_mov, cod_repres, base_comi, tpc_comi_dir, cod_ruta_com, sw_delegacion, sw_visita, observaciones, clave_303_v, clave_303_c, clave_operacion_349, cuen_tax_rule, cod_cae, cae_fecha_caduca)','255','0 (0 sql rows affected)',0,612292,49097896,0,1),(449,'2016-06-12',13003,'02:00:03','N','S','E','Fitcli','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpUMa0m5 /var/www/quartup.outs/temp/iophpYgYxTl N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlq20FrC\' REPLACE INTO TABLE quartup1.maesprectar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tarifa, nombre, cod_moneda, tipo, sw_prec_neto, sw_iva_incluido, orden_prec, orden_dtos, tpc_aumento, orden_prec_2, orden_dtos_2, orden_prec_3, orden_dtos_3, orden_prec_4, orden_dtos_4, orden_prec_5, orden_dtos_5)','255','0 (0 sql rows affected)',0,612292,49575048,0,1),(449,'2016-06-12',13004,'02:00:03','N','S','E','Figrup','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpV9Jj4S /var/www/quartup.outs/temp/iophpp0uYG9 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlzIjdlq\' REPLACE INTO TABLE quartup1.cialcuma FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, digitos, sw_auto_pgc, nombre, normativa, observaciones)','255','0 (0 sql rows affected)',0,612292,49907168,0,1),(449,'2016-06-12',13005,'02:00:03','N','S','E','Fiesta','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpYGDe6G /var/www/quartup.outs/temp/iophpovSgRX N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlWv8QDe\' REPLACE INTO TABLE quartup1.maescodiest FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (tip_esta, cod_esta, nombre, observaciones)','255','0 (0 sql rows affected)',0,612292,50210168,0,1),(449,'2016-06-12',13006,'02:00:03','N','S','E','Ficuen','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpw0sODv /var/www/quartup.outs/temp/iophpewNMDM N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlXnxEF3\' REPLACE INTO TABLE quartup1.maescuen FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, nombre, acceso, cif, seguridad, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, movil, fax, email, email_fac, enviar_fac, web, cod_moneda, cod_idioma, fecha_ini, fecha_fin, iban_pais, iban_banco, iban_oficina, iban_dc, iban_cta, iban_extra, cod_bic_swift, cod_subfijo, num_cedente, num_identifica, cod_confirming, cod_factoring, sw_referencia, cod_texto, cod_almacen_mov, sw_pedido_entero, cancela_resto_ped, sw_alba_siempre, sw_agrupa, sw_tipo_fra, cod_serie_fac, cod_serie_abo, cod_agencia, cod_ruta, cod_modo_porte, cod_destino, cod_incoterm, tipo_portes, importe_portes, impo_portes, minimo_no_portes, id_quemtpvs, cod_esta_1, cod_esta_2, cod_esta_3, nivel_calidad, cod_esta_4, cod_esta_5, cod_esta_6, cod_impr_oferta, cod_impr_pedido, cod_impr_prepara, cod_impr_albaran, copias_oferta, copias_pedido, copias_prepara, copias_albaran, sw_oferta_valor, sw_pedido_valor, sw_prepara_valor, sw_albaran_valor, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_impr_factura, copias_factura, sw_impr_vto, usuario_ws, password_ws, sw_activo, fecha_fin_nl, sw_dto_cascada, precios_con_iva, cod_tarifa, cod_tarifa_1, cod_tarifa_2, cod_tarifa_3, cod_tarifa_4, cod_tarifa_5, num_dien_fra, num_dien_rec, cod_fpago, cod_pago, dias_pago_1, dias_pago_2, dias_pago_3, vacaciones_1, vacaciones_2, num_domi, cod_cuenta_paco, dto_fin, sw_orden_firmada, fec_orden_firmada, sepa_refe_mandato, imp_rie_euro_1, imp_rie_euro_2, imp_rie_mone_1, imp_rie_mone_2, fecha_riesgo, sw_riesgo_ped, dias_cancel, sw_factoring, sw_reclama, sw_residente, codigo_cin, codigo_isin, sw_asegurado, num_seguro, cod_poliza, cod_repres, base_comi, tpc_comi_dir, num_usuario_cre, cod_actividad, id_maescuenzin, facturacion, num_empleados, cod_origen, cod_vendedor, cod_referido_por, pre_cuenta, sw_mostrar_nota, nota, tipo_iva, cod_tipo_iva, sw_irpf, tpc_irpf, cod_cuenta_irpf, sw_organ_persona, clave_303_v, clave_303_c, sw_operacion_347, clave_operacion_349, id_maescuenloi, cod_proveedor, ean, sw_centro_coste, id_cialceco, cod_cuenta_fra, cod_cuenta_bas, cod_cuenta_abo, fec_cert_aeat, fec_cert_ss, fec_decla_haber, cod_cae, cae_fecha_caduca, sw_impuesto_esp, sw_mostrar_observaciones, observaciones, fecha_nac, sexo, digitos, sw_auto_pgc)','255','0 (0 sql rows affected)',0,612292,52733144,0,1),(449,'2016-06-12',14001,'02:00:03','N','S','E','Fidomi','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpGL2x3k /var/www/quartup.outs/temp/iophpar5rrC N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql78udUT\' REPLACE INTO TABLE quartup1.maescuendom FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, num_domi, id_domi, banco, direccion, cod_postal, poblacion, provincia, cod_nacion, iban_pais, iban_banco, iban_oficina, iban_dc, iban_cta, iban_extra, iban_bban, cod_iban, cod_bic_swift, observaciones)','255','0 (0 sql rows affected)',0,612292,53038672,0,1),(449,'2016-06-12',15001,'02:00:03','N','S','E','Firies','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpPDz5qb /var/www/quartup.outs/temp/iophpcuIYXs N\n(255)','255','0 (0 sql rows affected)',0,612292,53112288,0,1),(449,'2016-06-12',15002,'02:00:03','N','S','E','Ficeco','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpU0qpTK /var/www/quartup.outs/temp/iophpfrcRO2 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlegQBMk\' REPLACE INTO TABLE quartup1.cialceco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_centro_coste, id_cialceco, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, telefono, fax, tipo_centro, ord_salida, digitos, anyo, seguridad)','255','0 (0 sql rows affected)',0,612292,53512152,0,1),(449,'2016-06-12',15003,'02:00:03','N','S','E','Fitecu','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpCoT9TC /var/www/quartup.outs/temp/iophpzuZI1U N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlmsNUad\' REPLACE INTO TABLE quartup1.maescuenobs FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_texto, id_tecu, texto, bloqueo, ver_pantalla, password)','255','0 (0 sql rows affected)',0,612292,53834824,0,1),(449,'2016-06-12',15004,'02:00:03','N','S','E','Fitari','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpFvSJqv /var/www/quartup.outs/temp/iophpPL2zGN N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlFiLdY5\' REPLACE INTO TABLE quartup1.maesprectar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tarifa, nombre, cod_moneda, tipo, sw_prec_neto, sw_iva_incluido, orden_prec, orden_dtos, tpc_aumento, orden_prec_2, orden_dtos_2, orden_prec_3, orden_dtos_3, orden_prec_4, orden_dtos_4, orden_prec_5, orden_dtos_5)','255','0 (0 sql rows affected)',0,612292,53902840,0,1),(449,'2016-06-12',17001,'02:00:03','N','S','E','Fiagec','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpsVjnto /var/www/quartup.outs/temp/iophpaFUxYG N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlvdvmvZ\' REPLACE INTO TABLE quartup1.maesagen FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_agencia, id_maesagen, nombre, descripcion, conexion, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, fax, cif, email, web, observaciones, cod_pimp_alag, sw_albaran, cod_fichero_plano, num_copias_av, sw_albaran_valor, cod_cliente_agec, cod_servicio, cod_cuenta, cod_articulo, margen_cial, cod_und_emb_1, cod_und_emb_2, cod_und_emb_3)','255','0 (0 sql rows affected)',0,612292,54462912,0,1),(449,'2016-06-12',17002,'02:00:03','N','S','E','Fitext','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp0wmN8h /var/www/quartup.outs/temp/iophpJm8eMA N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql2DrjrT\' REPLACE INTO TABLE quartup1.maescialobs FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_texto, texto)','255','0 (0 sql rows affected)',0,612292,54710264,0,1),(449,'2016-06-12',17003,'02:00:03','N','S','E','Fipago','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpuE31fc /var/www/quartup.outs/temp/iophp2eYL4u N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlAjs8UN\' REPLACE INTO TABLE quartup1.maescuencpa FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_pago, id_pago, nombre, num_efectos, dias_factura, dias_vto, tipo_pago, sw_dto_fin, imp_euro, comision)','255','0 (0 sql rows affected)',0,612292,55091592,0,1),(449,'2016-06-12',17004,'02:00:03','N','S','E','Ficoiv','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpBz4WU6 /var/www/quartup.outs/temp/iophpwmEMUp N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlB1grWI\' REPLACE INTO TABLE quartup1.maestiva FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tipo_iva, nombre, tpc_iva, tpc_rec, sw_tpc_303, id_ps_iva, id_ps_rec, id_group_ps_iva, sw_dto, sw_fin, sw_irpf, sw_iva_incluido, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_com_iva, cod_cuenta_com_rec, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_vta_iva, cod_cuenta_vta_rec, cta_iva_sop_autofra, cta_iva_rep_autofra)','255','0 (0 sql rows affected)',0,612292,55572920,0,1),(449,'2016-06-12',17005,'02:00:03','N','S','E','Fifpag','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpSEg551 /var/www/quartup.outs/temp/iophpdUaKfl N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlvP3crE\' REPLACE INTO TABLE quartup1.maescuenfpa FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_fpago, nombre, sw_remesable, sw_efectivo, sw_reembolso, sw_transfer, sw_domicilia, sw_cuenta_completa, cod_moneda, cod_cuenta_paco, sw_vale_devolucion, dias_riesgo, texto_base_contable, sw_impr_recibo)','255','0 (0 sql rows affected)',0,612292,55966792,0,1),(449,'2016-06-12',17006,'02:00:03','N','S','E','Ficarg','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp70BTJX /var/www/quartup.outs/temp/iophpX6cB2g N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql68m0mA\' REPLACE INTO TABLE quartup1.maespecocar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cargo, id_carg, nombre)','255','0 (0 sql rows affected)',0,612292,56245824,0,1),(449,'2016-06-12',19001,'02:00:03','N','S','E','Fisust','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpX3DiPT /var/www/quartup.outs/temp/iophpIzXBhd N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlPXyCLw\' REPLACE INTO TABLE quartup1.maesartiequlin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, cod_equiva, siglas, ind_proceso)','255','0 (0 sql rows affected)',0,612292,56638032,0,1),(449,'2016-06-12',19002,'02:00:03','N','S','E','Fiaamm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp8aZfqQ /var/www/quartup.outs/temp/iophp0SMU49 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlKV0pLt\' REPLACE INTO TABLE quartup1.almaartilim FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_almacen, nivel, cod_articulo, stock_min, stock_max, stock_pup, fecha_min, fecha_max, fecha_pup, observaciones)','255','0 (0 sql rows affected)',0,612292,58102064,0,1),(449,'2016-06-12',19003,'02:00:03','N','S','E','Fiunem','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpVPf7CN /var/www/quartup.outs/temp/iophpd1sPu7 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlBZcpor\' REPLACE INTO TABLE quartup1.almaunem FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_und_emb, id_unem, nombre, siglas, ean, cambio, tara, cod_unidad_tara, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, unidad_min, unidad_max, peso_min, peso_max, cod_unidad_peso, longitud_min, longitud_max, cod_unidad_long, superficie_min, superficie_max, cod_unidad_supe, volumen_min, volumen_max, cod_unidad_volu, tipo_calculo, formato)','255','0 (0 sql rows affected)',0,612292,58649424,0,1),(449,'2016-06-12',21001,'02:00:03','N','S','E','Firepr','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpqmsQvL /var/www/quartup.outs/temp/iophpKdwiD5 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlKu28Lp\' REPLACE INTO TABLE quartup1.maescuenrep FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_repres, nombre, cod_repres_parent, sw_director, conexion, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, web, observaciones, telefono, fax, movil, email, comision_1, imp_euro_1, comision_2, imp_euro_2, comision_3, imp_euro_3, comision_4, imp_euro_4, comision_5, imp_euro_5, comision_6, imp_euro_6, comision_7, imp_euro_7, comision_8, imp_euro_8, comision_9, imp_euro_9, comision_10, imp_euro_10, comision_11, imp_euro_11, comision_12, imp_euro_12, comision_13, imp_euro_13, comision_14, imp_euro_14, comision_15, imp_euro_15, comision_16, imp_euro_16, comision_17, imp_euro_17, comision_18, imp_euro_18, comision_19, imp_euro_19, comision_20, imp_euro_20, comi_dir_1, idi_euro_1, comi_dir_2, idi_euro_2, comi_dir_3, idi_euro_3, comi_dir_4, idi_euro_4, comi_dir_5, idi_euro_5, comi_dir_6, idi_euro_6, comi_dir_7, idi_euro_7, comi_dir_8, idi_euro_8, comi_dir_9, idi_euro_9, comi_dir_10, idi_euro_10, comi_dir_11, idi_euro_11, comi_dir_12, idi_euro_12, comi_dir_13, idi_euro_13, comi_dir_14, idi_euro_14, comi_dir_15, idi_euro_15, comi_dir_16, idi_euro_16, comi_dir_17, idi_euro_17, comi_dir_18, idi_euro_18, comi_dir_19, idi_euro_19, comi_dir_20, idi_euro_20, cif, cod_cuenta, id_cialceco, tipo_iva, cod_tipo_iva, irpf, tpc_ret, tpc_rappel, cod_almacen, distribuidor)','255','0 (0 sql rows affected)',0,612292,59877056,0,1),(449,'2016-06-12',22001,'02:00:03','N','S','E','Firepp','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp8yie5J /var/www/quartup.outs/temp/iophpUEzko4 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlD836Io\' REPLACE INTO TABLE quartup1.maescuenreplin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (tip_comision, cod_cuenta, num_dien, nivel, cod_articulo, linea, cod_repres, fecha_d, fecha_h, base_comi, tpc_comi_dir, dsd_dto, hst_dto, base_boni, cantidad, tipo_fijo, cod_moneda, importe_mone, observaciones)','255','0 (0 sql rows affected)',0,612292,60431184,0,1),(449,'2016-06-12',30001,'02:00:03','N','S','E','Fipvpq','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpVNZOtJ /var/www/quartup.outs/temp/iophpGvsxe4 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlUPAc6o\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61601232,0,1),(449,'2016-06-12',30002,'02:00:03','N','S','E','Ficlfa','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp7df3aK /var/www/quartup.outs/temp/iophppNPUf5 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlVKE1rq\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61686296,0,1),(449,'2016-06-12',30003,'02:00:03','N','S','E','Fipvpc','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpbvj2TL /var/www/quartup.outs/temp/iophpWos3l7 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql1Y4tUs\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61916264,0,1),(449,'2016-06-12',30004,'02:00:03','N','S','E','Fidtpq','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpXfUGwO /var/www/quartup.outs/temp/iophp0ddU89 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlRCGoMv\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61900168,0,1),(449,'2016-06-12',30005,'02:00:03','N','S','E','Fipvpm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophptUK7xR /var/www/quartup.outs/temp/iophpTiQRjd N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlZd8h7y\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','255','0 (0 sql rows affected)',0,612292,62264448,0,1),(449,'2016-06-12',31001,'02:00:03','N','S','E','Fipvpt','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophprGNPYU /var/www/quartup.outs/temp/iophp9fxoQg N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlT0rFJC\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62375112,0,1),(449,'2016-06-12',32001,'02:00:03','N','S','E','Fipvtt','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpQn8VHY /var/www/quartup.outs/temp/iophpuQRdGk N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlrKtdGG\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62464592,0,1),(449,'2016-06-12',32002,'02:00:03','N','S','E','Fiplfa','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophptd9FL2 /var/www/quartup.outs/temp/iophpUER9Qo N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlpbyrYK\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62533648,0,1),(449,'2016-06-12',40001,'02:00:03','N','S','E','Fitapo','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp1fN3f7 /var/www/quartup.outs/temp/iophp745Gxt N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlCI1YQP\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62629624,0,1),(449,'2016-06-12',40002,'02:00:03','N','S','E','Fitacm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp4Dimhc /var/www/quartup.outs/temp/iophpujCKHy N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlgx3P9U\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','255','0 (0 sql rows affected)',0,612292,62701568,0,1),(449,'2016-06-12',40003,'02:00:03','N','S','E','Fitaco','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpmzc9Gh /var/www/quartup.outs/temp/iophpEenteE N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqln5cIN0\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,63037784,0,1),(449,'2016-06-12',50001,'02:00:03','N','S','E','Fiarcl','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp4ZoErn /var/www/quartup.outs/temp/iophpyMvB5J N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlv9bfL6\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','255','0 (0 sql rows affected)',0,612292,62962944,0,1),(449,'2016-06-12',105001,'02:00:03','N','S','E','Fitped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpngdVzt /var/www/quartup.outs/temp/iophpXsdCoQ N\n(255)','255','0 (0 sql rows affected)',0,612292,63045496,0,1),(449,'2016-06-12',106001,'02:00:03','N','S','E','Fikped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp0HVfmd /var/www/quartup.outs/temp/iophpJhFUjA N\n(255)','255','0 (0 sql rows affected)',0,612292,63156784,0,1),(449,'2016-06-12',107001,'02:00:03','N','S','E','Ficped','CREATE TEMPORARY TABLE tempficped (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'PV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficped ON cialdocolin.id_cocabe=tempficped.id_cocabe WHERE cialdocolin.soporte=\'PV\' AND tempficped.fecha>=\'20160513\' AND tempficped.fecha<=\'20160612\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'PV\' AND cialdoco.fecha>=\'20160513\' AND cialdoco.fecha<=\'20160612\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpfjsGsn /var/www/quartup.outs/temp/iophpJTntBa N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlbKmh0X\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',8,612292,68711176,0,1),(449,'2016-06-12',108001,'02:00:03','N','S','E','Filped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpRjbyDL /var/www/quartup.outs/temp/iophpi0MPgz N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 1.1920928955078E-5\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlgyZwVm\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,72139216,0,1),(449,'2016-06-12',112001,'02:00:03','N','S','E','Fikalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp6M54Ia /var/www/quartup.outs/temp/iophpaLbEwY N\n(255)','255','0 (0 sql rows affected)',0,612292,72087728,0,1),(449,'2016-06-12',113001,'02:00:03','N','S','E','Ficalb','CREATE TEMPORARY TABLE tempficalb (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'AV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficalb ON cialdocolin.id_cocabe=tempficalb.id_cocabe WHERE cialdocolin.soporte=\'AV\' AND tempficalb.fecha>=\'20160513\' AND tempficalb.fecha<=\'20160612\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'AV\' AND cialdoco.fecha>=\'20160513\' AND cialdoco.fecha<=\'20160612\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophptBn8Ta /var/www/quartup.outs/temp/iophpsKHDhn N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql8q56Gz\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',7,612292,72404032,0,1),(449,'2016-06-12',114001,'02:00:03','N','S','E','Filalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpT3s5eM /var/www/quartup.outs/temp/iophpouQ4MY N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 5.0067901611328E-6\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlB3XHmb\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,72532888,0,1),(449,'2016-06-12',115001,'02:00:03','N','S','E','Fisalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpY2sH4n /var/www/quartup.outs/temp/iophpwX8HMA N\n(255)','255','0 (0 sql rows affected)',0,612292,73345888,0,1),(449,'2016-06-12',122001,'02:00:03','N','S','E','Fikfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpXt3CHN /var/www/quartup.outs/temp/iophptbazC0 N\n(255)','255','0 (0 sql rows affected)',0,612292,72608152,0,1),(449,'2016-06-12',123001,'02:00:03','N','S','E','Ficfac','CREATE TEMPORARY TABLE tempficfac (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'FV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficfac ON cialdocolin.id_cocabe=tempficfac.id_cocabe WHERE cialdocolin.soporte=\'FV\' AND tempficfac.fecha>=\'20160513\' AND tempficfac.fecha<=\'20160612\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'FV\' AND cialdoco.fecha>=\'20160513\' AND cialdoco.fecha<=\'20160612\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpF0aJGz /var/www/quartup.outs/temp/iophpSbuUK8 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqle8FiRH\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',6,612292,72924968,0,1),(449,'2016-06-12',124001,'02:00:03','N','S','E','Filfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpvfQ14g /var/www/quartup.outs/temp/iophp6j6LiQ N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 8.8214874267578E-6\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlPQkmyp\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,73061040,0,1),(449,'2016-06-12',125001,'02:00:03','N','S','E','Fisfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpIWcv3Y /var/www/quartup.outs/temp/iophpCCeFyy N\n(255)','255','0 (0 sql rows affected)',0,612292,73871232,0,1),(449,'2016-06-12',131001,'02:00:03','N','S','E','Ficpec','CREATE TEMPORARY TABLE tempficpec (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'PC\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficpec ON cialdocolin.id_cocabe=tempficpec.id_cocabe WHERE cialdocolin.soporte=\'PC\' AND tempficpec.fecha>=\'20160513\' AND tempficpec.fecha<=\'20160612\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'PC\' AND cialdoco.fecha>=\'20160513\' AND cialdoco.fecha<=\'20160612\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp699NRr /var/www/quartup.outs/temp/iophpUTpYal N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlWkqnMe\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',6,612292,73340584,0,1),(449,'2016-06-12',132001,'02:00:03','N','S','E','Filpec','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp5Jk8v8 /var/www/quartup.outs/temp/iophp7pfUf2 N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 6.1988830566406E-6\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlX1Sx1V\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,73460304,0,1),(450,'2016-06-13',2001,'02:00:03','N','S','E','Ficamb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpbzKYiO /var/www/quartup.outs/temp/iophpuEmv5B N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqljXnFeq\' REPLACE INTO TABLE quartup1.quemmonecam FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_moneda, fecha_ini, fecha_fin, cambio_euro_vta, cambio_euro_cmp)','255','0 (0 sql rows affected)',0,612292,42717456,0,1),(450,'2016-06-13',3001,'02:00:03','N','S','E','Finaci','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpubwxAe /var/www/quartup.outs/temp/iophp8GMqW2 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlHbeFjR\' REPLACE INTO TABLE quartup1.quempais FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_nacion, cod_nacion_3, nombre, nombre_en, cod_idioma_habi, intercomunitario, formato_fecha, formato_numero, unidades_medida, cod_moneda, sw_pais_origen, siglas_pais_ori, digitos_vta, digitos_com, posicion_vta, posicion_com, clave_nif_340, normativa, observaciones)','255','0 (0 sql rows affected)',0,612292,43167480,0,1),(450,'2016-06-13',5002,'02:00:03','N','S','E','Fiarde','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophphfC6QF /var/www/quartup.outs/temp/iophpY6rzou N\n(255)','255','0 (0 sql rows affected)',0,612292,43234896,0,1),(450,'2016-06-13',5003,'02:00:03','N','S','E','Filtcu','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpzgGd6i /var/www/quartup.outs/temp/iophpMo5SN7 N\n(255)','255','0 (0 sql rows affected)',0,612292,43304112,0,1),(450,'2016-06-13',5004,'02:00:03','N','S','E','Filuen','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpclcRFW /var/www/quartup.outs/temp/iophpCCtQxL N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlkhiyrA\' REPLACE INTO TABLE quartup1.maescuenlue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_lugar, nombre, sw_dir_cliente, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, cod_almacen, telefono, fax, movil, conexion, email, web)','255','0 (0 sql rows affected)',0,612292,43753472,0,1),(450,'2016-06-13',7001,'02:00:03','N','S','E','Fialma','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpXjIfrp /var/www/quartup.outs/temp/iophpXAiYqe N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlDpdrs3\' REPLACE INTO TABLE quartup1.maesalma FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_almacen, nombre, cod_zona_geo, sw_reservas, seguridad, fecha_baja, direccion, cod_postal, poblacion, provincia, cod_nacion, sw_precio_alma, sw_precio_auto, sw_ubicacion, sw_embalaje, sw_redondeo, horario, telefono, fax, email, web, id_quliapre, id_quliaprealm)','255','0 (0 sql rows affected)',0,612292,44306072,0,1),(450,'2016-06-13',8001,'02:00:03','N','S','E','Fifami','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpyQBZGS /var/www/quartup.outs/temp/iophpDG9yVH N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqljqf1bx\' REPLACE INTO TABLE quartup1.maesarti FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, acceso, nombre, nombre_adi, cod_articulo_par, cod_familia_1, cod_familia_2, cod_familia_3, cod_familia_4, cod_familia_5, cod_cuenta_prov, sw_historico, cod_barras, id_maesartimar, cod_esta_1, cod_esta_2, cod_esta_3, cod_nc_taric, num_puntos, sw_dtos_modificable, precio_teorico, fecha_teo, fecha_alta, sw_estadistica, fecha_baja, id_maesarti, nivel, cod_texto, observaciones, sw_ver_agentes, cod_repres, base_comi, tpc_comi_dir, tipo_articulo, sw_alma_ubic, sw_alma_emba, cantidad_base, cod_almacen, cuen_arti_almacen, cod_etiqueta, cod_unidad_medida, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, stock_min, stock_max, stock_pup, comunitario, partida_arancel, cod_nacion, sw_impuesto_esp, sw_rapel, cod_tipo_iva, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_inve, id_cialceco, cod_analitica, image_file, image_file1, image_file2, image_file3, sw_web, sw_send_stock_ecomm, nivel_publica, html_1, cod_und_emb, cambio_embalaje, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, peso_unitario, peso_unit_bruto, densidad_long, cod_unidad_peso_long, cod_unidad_long, densidad_supe, cod_unidad_peso_supe, cod_unidad_supe, densidad_volu, cod_unidad_peso_volu, cod_unidad_volu, cod_tole_medi, cod_pla_par, cod_dete, texto_ficha_tec, nivel_calidad, num_tole_mues, cod_deca, texto_ficha_cal, tipo_materia, sw_kit, cod_almacen_mat, cod_unidad_fabr, factor_fabr, cod_unidad_cons, factor_cons)','255','0 (0 sql rows affected)',0,612292,46217480,0,1),(450,'2016-06-13',9001,'02:00:03','N','S','E','Fiarti','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpHxEVym /var/www/quartup.outs/temp/iophpRzZQVb N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlNM4Hk1\' REPLACE INTO TABLE quartup1.maesarti FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, acceso, nombre, nombre_adi, cod_articulo_par, cod_familia_1, cod_familia_2, cod_familia_3, cod_familia_4, cod_familia_5, cod_cuenta_prov, sw_historico, cod_barras, id_maesartimar, cod_esta_1, cod_esta_2, cod_esta_3, cod_nc_taric, num_puntos, sw_dtos_modificable, precio_teorico, fecha_teo, fecha_alta, sw_estadistica, fecha_baja, id_maesarti, nivel, cod_texto, observaciones, sw_ver_agentes, cod_repres, base_comi, tpc_comi_dir, tipo_articulo, sw_alma_ubic, sw_alma_emba, cantidad_base, cod_almacen, cuen_arti_almacen, cod_etiqueta, cod_unidad_medida, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, stock_min, stock_max, stock_pup, comunitario, partida_arancel, cod_nacion, sw_impuesto_esp, sw_rapel, cod_tipo_iva, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_inve, id_cialceco, cod_analitica, image_file, image_file1, image_file2, image_file3, sw_web, sw_send_stock_ecomm, nivel_publica, html_1, cod_und_emb, cambio_embalaje, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, peso_unitario, peso_unit_bruto, densidad_long, cod_unidad_peso_long, cod_unidad_long, densidad_supe, cod_unidad_peso_supe, cod_unidad_supe, densidad_volu, cod_unidad_peso_volu, cod_unidad_volu, cod_tole_medi, cod_pla_par, cod_dete, texto_ficha_tec, nivel_calidad, num_tole_mues, cod_deca, texto_ficha_cal, tipo_materia, sw_kit, cod_almacen_mat, cod_unidad_fabr, factor_fabr, cod_unidad_cons, factor_cons)','255','0 (0 sql rows affected)',3,612292,46442216,0,1),(450,'2016-06-13',11001,'02:00:03','N','S','E','Fiarty','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophppRhTC0 /var/www/quartup.outs/temp/iophpJjB5UZ N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlL31klZ\' REPLACE INTO TABLE quartup1.maesarticod FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, linea, cod_articulo_alt, nombre_alt, cod_tipo_cod_alt, observaciones)','255','0 (0 sql rows affected)',0,612292,46636000,0,1),(450,'2016-06-13',11002,'02:00:03','N','S','E','Fiequi','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpiIe3UY /var/www/quartup.outs/temp/iophpdVBMuY N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlp2B15X\' REPLACE INTO TABLE quartup1.maesartiequ FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_equiva, nombre, siglas, sw_bloqueo)','255','0 (0 sql rows affected)',0,612292,46943176,0,1),(450,'2016-06-13',11003,'02:00:03','N','S','E','Fiubic','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpJQe1QX /var/www/quartup.outs/temp/iophpKH11BX N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql13tJoX\' REPLACE INTO TABLE quartup1.almaartiubi FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_almaartiubi, cod_articulo, cod_almacen, cod_ubicacion, orden_importancia, observaciones)','255','0 (0 sql rows affected)',0,612292,47296984,0,1),(450,'2016-06-13',11004,'02:00:03','N','S','E','Fiarna','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpSvu7kX /var/www/quartup.outs/temp/iophpFqzwhX N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlLyPCfX\' REPLACE INTO TABLE quartup1.maesartidesidi FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, cod_descripcion, cod_idioma, nivel, nombre, color_texto, color_fondo, cod_font, cod_size_font, cod_style_font, cod_weight_font, nombre_web, nombre_html, iddms, image_file, image_file1, image_file2)','255','0 (0 sql rows affected)',0,612292,47767072,0,1),(450,'2016-06-13',13001,'02:00:03','N','S','E','Fiprct','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpL16toX /var/www/quartup.outs/temp/iophpUrymxX N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql9QFLHX\' REPLACE INTO TABLE quartup1.maescuenper FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, num_personal, nombre, id_prct, cod_pre_cuenta, num_pre_personal, dni, descripcion, cod_cargo, departamento, horario, cod_urgencia, cod_origen, cod_importancia, direccion, cod_postal, poblacion, provincia, cod_nacion, telefono, extension, telefono_alternativo, fax, movil, sw_no_llamar, email, email_alternativo, mensajeria_instant, web, sw_no_email, observaciones, cod_accion, cod_relacion, asignado_a, referido_por, cod_estado, descripcion_estado, informacion_add, id_crm)','255','0 (0 sql rows affected)',0,612292,48429832,0,1),(450,'2016-06-13',13002,'02:00:03','N','S','E','Fidien','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpVKEi2X /var/www/quartup.outs/temp/iophpPCzQmY N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlmtmaJY\' REPLACE INTO TABLE quartup1.maescuendir FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, nombre, num_dien, cif, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, fax, movil, conexion, email, web, num_domi, ean, cod_agencia, cod_ruta, cod_destino, sw_reexpedicion, cod_almacen_mov, cod_repres, base_comi, tpc_comi_dir, cod_ruta_com, sw_delegacion, sw_visita, observaciones, clave_303_v, clave_303_c, clave_operacion_349, cuen_tax_rule, cod_cae, cae_fecha_caduca)','255','0 (0 sql rows affected)',0,612292,49094856,0,1),(450,'2016-06-13',13003,'02:00:03','N','S','E','Fitcli','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpNYsvkZ /var/www/quartup.outs/temp/iophpo4IRVZ N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqloxeMy0\' REPLACE INTO TABLE quartup1.maesprectar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tarifa, nombre, cod_moneda, tipo, sw_prec_neto, sw_iva_incluido, orden_prec, orden_dtos, tpc_aumento, orden_prec_2, orden_dtos_2, orden_prec_3, orden_dtos_3, orden_prec_4, orden_dtos_4, orden_prec_5, orden_dtos_5)','255','0 (0 sql rows affected)',0,612292,49572344,0,1),(450,'2016-06-13',13004,'02:00:03','N','S','E','Figrup','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpWWImh1 /var/www/quartup.outs/temp/iophpRK5XZ1 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqljO4gK2\' REPLACE INTO TABLE quartup1.cialcuma FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, digitos, sw_auto_pgc, nombre, normativa, observaciones)','255','0 (0 sql rows affected)',0,612292,49904680,0,1),(450,'2016-06-13',13005,'02:00:03','N','S','E','Fiesta','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpwGy7z3 /var/www/quartup.outs/temp/iophpE0YYp4 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlX4Vxh5\' REPLACE INTO TABLE quartup1.maescodiest FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (tip_esta, cod_esta, nombre, observaciones)','255','0 (0 sql rows affected)',0,612292,50208168,0,1),(450,'2016-06-13',13006,'02:00:03','N','S','E','Ficuen','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpnJSdn6 /var/www/quartup.outs/temp/iophpatNUs7 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlRCFxA8\' REPLACE INTO TABLE quartup1.maescuen FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, nombre, acceso, cif, seguridad, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, movil, fax, email, email_fac, enviar_fac, web, cod_moneda, cod_idioma, fecha_ini, fecha_fin, iban_pais, iban_banco, iban_oficina, iban_dc, iban_cta, iban_extra, cod_bic_swift, cod_subfijo, num_cedente, num_identifica, cod_confirming, cod_factoring, sw_referencia, cod_texto, cod_almacen_mov, sw_pedido_entero, cancela_resto_ped, sw_alba_siempre, sw_agrupa, sw_tipo_fra, cod_serie_fac, cod_serie_abo, cod_agencia, cod_ruta, cod_modo_porte, cod_destino, cod_incoterm, tipo_portes, importe_portes, impo_portes, minimo_no_portes, id_quemtpvs, cod_esta_1, cod_esta_2, cod_esta_3, nivel_calidad, cod_esta_4, cod_esta_5, cod_esta_6, cod_impr_oferta, cod_impr_pedido, cod_impr_prepara, cod_impr_albaran, copias_oferta, copias_pedido, copias_prepara, copias_albaran, sw_oferta_valor, sw_pedido_valor, sw_prepara_valor, sw_albaran_valor, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_impr_factura, copias_factura, sw_impr_vto, usuario_ws, password_ws, sw_activo, fecha_fin_nl, sw_dto_cascada, precios_con_iva, cod_tarifa, cod_tarifa_1, cod_tarifa_2, cod_tarifa_3, cod_tarifa_4, cod_tarifa_5, num_dien_fra, num_dien_rec, cod_fpago, cod_pago, dias_pago_1, dias_pago_2, dias_pago_3, vacaciones_1, vacaciones_2, num_domi, cod_cuenta_paco, dto_fin, sw_orden_firmada, fec_orden_firmada, sepa_refe_mandato, imp_rie_euro_1, imp_rie_euro_2, imp_rie_mone_1, imp_rie_mone_2, fecha_riesgo, sw_riesgo_ped, dias_cancel, sw_factoring, sw_reclama, sw_residente, codigo_cin, codigo_isin, sw_asegurado, num_seguro, cod_poliza, cod_repres, base_comi, tpc_comi_dir, num_usuario_cre, cod_actividad, id_maescuenzin, facturacion, num_empleados, cod_origen, cod_vendedor, cod_referido_por, pre_cuenta, sw_mostrar_nota, nota, tipo_iva, cod_tipo_iva, sw_irpf, tpc_irpf, cod_cuenta_irpf, sw_organ_persona, clave_303_v, clave_303_c, sw_operacion_347, clave_operacion_349, id_maescuenloi, cod_proveedor, ean, sw_centro_coste, id_cialceco, cod_cuenta_fra, cod_cuenta_bas, cod_cuenta_abo, fec_cert_aeat, fec_cert_ss, fec_decla_haber, cod_cae, cae_fecha_caduca, sw_impuesto_esp, sw_mostrar_observaciones, observaciones, fecha_nac, sexo, digitos, sw_auto_pgc)','255','0 (0 sql rows affected)',0,612292,52731352,0,1),(450,'2016-06-13',14001,'02:00:03','N','S','E','Fidomi','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpdJklO9 /var/www/quartup.outs/temp/iophphYV91a N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlk4wJhc\' REPLACE INTO TABLE quartup1.maescuendom FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, num_domi, id_domi, banco, direccion, cod_postal, poblacion, provincia, cod_nacion, iban_pais, iban_banco, iban_oficina, iban_dc, iban_cta, iban_extra, iban_bban, cod_iban, cod_bic_swift, observaciones)','255','0 (0 sql rows affected)',0,612292,53036040,0,1),(450,'2016-06-13',15001,'02:00:03','N','S','E','Firies','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpmQeACd /var/www/quartup.outs/temp/iophpzV1rXe N\n(255)','255','0 (0 sql rows affected)',0,612292,53110024,0,1),(450,'2016-06-13',15002,'02:00:03','N','S','E','Ficeco','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpGqHBAg /var/www/quartup.outs/temp/iophpSowMdi N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlViDJWj\' REPLACE INTO TABLE quartup1.cialceco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_centro_coste, id_cialceco, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, telefono, fax, tipo_centro, ord_salida, digitos, anyo, seguridad)','255','0 (0 sql rows affected)',0,612292,53509560,0,1),(450,'2016-06-13',15003,'02:00:03','N','S','E','Fitecu','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpFvMDYl /var/www/quartup.outs/temp/iophphvoy0n N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlpbE56p\' REPLACE INTO TABLE quartup1.maescuenobs FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_texto, id_tecu, texto, bloqueo, ver_pantalla, password)','255','0 (0 sql rows affected)',0,612292,53831368,0,1),(450,'2016-06-13',15004,'02:00:03','N','S','E','Fitari','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpCsGThs /var/www/quartup.outs/temp/iophp2ZHIsu N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlIUn8Ew\' REPLACE INTO TABLE quartup1.maesprectar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tarifa, nombre, cod_moneda, tipo, sw_prec_neto, sw_iva_incluido, orden_prec, orden_dtos, tpc_aumento, orden_prec_2, orden_dtos_2, orden_prec_3, orden_dtos_3, orden_prec_4, orden_dtos_4, orden_prec_5, orden_dtos_5)','255','0 (0 sql rows affected)',0,612292,53899312,0,1),(450,'2016-06-13',17001,'02:00:03','N','S','E','Fiagec','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpHHgm0y /var/www/quartup.outs/temp/iophpsekBlB N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlK03DID\' REPLACE INTO TABLE quartup1.maesagen FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_agencia, id_maesagen, nombre, descripcion, conexion, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, fax, cif, email, web, observaciones, cod_pimp_alag, sw_albaran, cod_fichero_plano, num_copias_av, sw_albaran_valor, cod_cliente_agec, cod_servicio, cod_cuenta, cod_articulo, margen_cial, cod_und_emb_1, cod_und_emb_2, cod_und_emb_3)','255','0 (0 sql rows affected)',0,612292,54459952,0,1),(450,'2016-06-13',17002,'02:00:03','N','S','E','Fitext','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpCcqldG /var/www/quartup.outs/temp/iophppVF3HI N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqltPeleL\' REPLACE INTO TABLE quartup1.maescialobs FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_texto, texto)','255','0 (0 sql rows affected)',0,612292,54707600,0,1),(450,'2016-06-13',17003,'02:00:03','N','S','E','Fipago','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpx41nTN /var/www/quartup.outs/temp/iophpHoZryQ N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlwT3gfT\' REPLACE INTO TABLE quartup1.maescuencpa FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_pago, id_pago, nombre, num_efectos, dias_factura, dias_vto, tipo_pago, sw_dto_fin, imp_euro, comision)','255','0 (0 sql rows affected)',0,612292,55088752,0,1),(450,'2016-06-13',17004,'02:00:03','N','S','E','Ficoiv','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpToqD4V /var/www/quartup.outs/temp/iophpdpT0TY N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlW6DcL1\' REPLACE INTO TABLE quartup1.maestiva FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tipo_iva, nombre, tpc_iva, tpc_rec, sw_tpc_303, id_ps_iva, id_ps_rec, id_group_ps_iva, sw_dto, sw_fin, sw_irpf, sw_iva_incluido, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_com_iva, cod_cuenta_com_rec, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_vta_iva, cod_cuenta_vta_rec, cta_iva_sop_autofra, cta_iva_rep_autofra)','255','0 (0 sql rows affected)',0,612292,55570440,0,1),(450,'2016-06-13',17005,'02:00:03','N','S','E','Fifpag','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpYQniK4 /var/www/quartup.outs/temp/iophphddpJ7 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql57iiKa\' REPLACE INTO TABLE quartup1.maescuenfpa FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_fpago, nombre, sw_remesable, sw_efectivo, sw_reembolso, sw_transfer, sw_domicilia, sw_cuenta_completa, cod_moneda, cod_cuenta_paco, sw_vale_devolucion, dias_riesgo, texto_base_contable, sw_impr_recibo)','255','0 (0 sql rows affected)',0,612292,55964032,0,1),(450,'2016-06-13',17006,'02:00:03','N','S','E','Ficarg','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpGSkWWd /var/www/quartup.outs/temp/iophpBYcB9g N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlfQH0nk\' REPLACE INTO TABLE quartup1.maespecocar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cargo, id_carg, nombre)','255','0 (0 sql rows affected)',0,612292,56243128,0,1),(450,'2016-06-13',19001,'02:00:03','N','S','E','Fisust','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpBGgYMn /var/www/quartup.outs/temp/iophp6nYWbr N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlbzDHCu\' REPLACE INTO TABLE quartup1.maesartiequlin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, cod_equiva, siglas, ind_proceso)','255','0 (0 sql rows affected)',0,612292,56635504,0,1),(450,'2016-06-13',19002,'02:00:03','N','S','E','Fiaamm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpSrAHfy /var/www/quartup.outs/temp/iophpBAKISB N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlpVboxF\' REPLACE INTO TABLE quartup1.almaartilim FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_almacen, nivel, cod_articulo, stock_min, stock_max, stock_pup, fecha_min, fecha_max, fecha_pup, observaciones)','255','0 (0 sql rows affected)',0,612292,58099752,0,1),(450,'2016-06-13',19003,'02:00:03','N','S','E','Fiunem','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpgOfciJ /var/www/quartup.outs/temp/iophpNSq12M N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql1EuGPQ\' REPLACE INTO TABLE quartup1.almaunem FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_und_emb, id_unem, nombre, siglas, ean, cambio, tara, cod_unidad_tara, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, unidad_min, unidad_max, peso_min, peso_max, cod_unidad_peso, longitud_min, longitud_max, cod_unidad_long, superficie_min, superficie_max, cod_unidad_supe, volumen_min, volumen_max, cod_unidad_volu, tipo_calculo, formato)','255','0 (0 sql rows affected)',0,612292,58648272,0,1),(450,'2016-06-13',21001,'02:00:03','N','S','E','Firepr','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpbi6wQU /var/www/quartup.outs/temp/iophpsWEoRY N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlO3SwT2\' REPLACE INTO TABLE quartup1.maescuenrep FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_repres, nombre, cod_repres_parent, sw_director, conexion, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, web, observaciones, telefono, fax, movil, email, comision_1, imp_euro_1, comision_2, imp_euro_2, comision_3, imp_euro_3, comision_4, imp_euro_4, comision_5, imp_euro_5, comision_6, imp_euro_6, comision_7, imp_euro_7, comision_8, imp_euro_8, comision_9, imp_euro_9, comision_10, imp_euro_10, comision_11, imp_euro_11, comision_12, imp_euro_12, comision_13, imp_euro_13, comision_14, imp_euro_14, comision_15, imp_euro_15, comision_16, imp_euro_16, comision_17, imp_euro_17, comision_18, imp_euro_18, comision_19, imp_euro_19, comision_20, imp_euro_20, comi_dir_1, idi_euro_1, comi_dir_2, idi_euro_2, comi_dir_3, idi_euro_3, comi_dir_4, idi_euro_4, comi_dir_5, idi_euro_5, comi_dir_6, idi_euro_6, comi_dir_7, idi_euro_7, comi_dir_8, idi_euro_8, comi_dir_9, idi_euro_9, comi_dir_10, idi_euro_10, comi_dir_11, idi_euro_11, comi_dir_12, idi_euro_12, comi_dir_13, idi_euro_13, comi_dir_14, idi_euro_14, comi_dir_15, idi_euro_15, comi_dir_16, idi_euro_16, comi_dir_17, idi_euro_17, comi_dir_18, idi_euro_18, comi_dir_19, idi_euro_19, comi_dir_20, idi_euro_20, cif, cod_cuenta, id_cialceco, tipo_iva, cod_tipo_iva, irpf, tpc_ret, tpc_rappel, cod_almacen, distribuidor)','255','0 (0 sql rows affected)',0,612292,59876184,0,1),(450,'2016-06-13',22001,'02:00:03','N','S','E','Firepp','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpUTx736 /var/www/quartup.outs/temp/iophpkgUIeb N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlMQ7Kqf\' REPLACE INTO TABLE quartup1.maescuenreplin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (tip_comision, cod_cuenta, num_dien, nivel, cod_articulo, linea, cod_repres, fecha_d, fecha_h, base_comi, tpc_comi_dir, dsd_dto, hst_dto, base_boni, cantidad, tipo_fijo, cod_moneda, importe_mone, observaciones)','255','0 (0 sql rows affected)',0,612292,60429872,0,1),(450,'2016-06-13',30001,'02:00:03','N','S','E','Fipvpq','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpQWJYMj /var/www/quartup.outs/temp/iophpWO7c9n N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlI7NEws\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61600224,0,1),(450,'2016-06-13',30002,'02:00:03','N','S','E','Ficlfa','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpczliYw /var/www/quartup.outs/temp/iophpJjLWpB N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlVGxlTF\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61685008,0,1),(450,'2016-06-13',30003,'02:00:03','N','S','E','Fipvpc','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophppLXQvK /var/www/quartup.outs/temp/iophp8Mrn8O N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlP7hMMT\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61915064,0,1),(450,'2016-06-13',30004,'02:00:03','N','S','E','Fidtpq','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophptrRUwY /var/www/quartup.outs/temp/iophpUaA4g3 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql5af427\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,61899008,0,1),(450,'2016-06-13',30005,'02:00:03','N','S','E','Fipvpm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp3b4T2c /var/www/quartup.outs/temp/iophp4uZK2h N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlNTa37m\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','255','0 (0 sql rows affected)',0,612292,62262944,0,1),(450,'2016-06-13',31001,'02:00:03','N','S','E','Fipvpt','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpouHuss /var/www/quartup.outs/temp/iophpJJNWMx N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlRyTOfD\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62374200,0,1),(450,'2016-06-13',32001,'02:00:03','N','S','E','Fipvtt','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophphzdAPI /var/www/quartup.outs/temp/iophpUXqmpO N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqliRhV0T\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62463464,0,1),(450,'2016-06-13',32002,'02:00:03','N','S','E','Fiplfa','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpbVXcIZ /var/www/quartup.outs/temp/iophpatCvp5 N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlCfhF8a\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62531832,0,1),(450,'2016-06-13',40001,'02:00:03','N','S','E','Fitapo','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpCIltXg /var/www/quartup.outs/temp/iophpwlgiMm N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlOzWXCs\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,62629000,0,1),(450,'2016-06-13',40002,'02:00:03','N','S','E','Fitacm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp4jRdzy /var/www/quartup.outs/temp/iophpDeEuvE N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlRHfAtK\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','255','0 (0 sql rows affected)',0,612292,62699936,0,1),(450,'2016-06-13',40003,'02:00:03','N','S','E','Fitaco','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophplf8OxQ /var/www/quartup.outs/temp/iophpvq44BW N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlwcaeI2\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','255','0 (0 sql rows affected)',0,612292,63035488,0,1),(450,'2016-06-13',50001,'02:00:03','N','S','E','Fiarcl','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpU7UIX8 /var/www/quartup.outs/temp/iophpzvEedf N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqliQ4yul\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','255','0 (0 sql rows affected)',0,612292,62962056,0,1),(450,'2016-06-13',105001,'02:00:03','N','S','E','Fitped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpd0RaUr /var/www/quartup.outs/temp/iophpM7INjy N\n(255)','255','0 (0 sql rows affected)',0,612292,63045512,0,1),(450,'2016-06-13',106001,'02:00:03','N','S','E','Fikped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpNLVaUE /var/www/quartup.outs/temp/iophpMRhzuL N\n(255)','255','0 (0 sql rows affected)',0,612292,63156968,0,1),(450,'2016-06-13',107001,'02:00:03','N','S','E','Ficped','CREATE TEMPORARY TABLE tempficped (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'PV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficped ON cialdocolin.id_cocabe=tempficped.id_cocabe WHERE cialdocolin.soporte=\'PV\' AND tempficped.fecha>=\'20160514\' AND tempficped.fecha<=\'20160613\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'PV\' AND cialdoco.fecha>=\'20160514\' AND cialdoco.fecha<=\'20160613\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophppm7Jl9 /var/www/quartup.outs/temp/iophpuzYVcx N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlh5RQbV\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',5,612292,68709296,0,1),(450,'2016-06-13',108001,'02:00:03','N','S','E','Filped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpa4qDoj /var/www/quartup.outs/temp/iophpCTSqBH N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 6.1988830566406E-6\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql7SRzP5\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,72138880,0,1),(450,'2016-06-13',112001,'02:00:03','N','S','E','Fikalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp3ipSau /var/www/quartup.outs/temp/iophpkj4bwS N\n(255)','255','0 (0 sql rows affected)',0,612292,72086456,0,1),(450,'2016-06-13',113001,'02:00:03','N','S','E','Ficalb','CREATE TEMPORARY TABLE tempficalb (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'AV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficalb ON cialdocolin.id_cocabe=tempficalb.id_cocabe WHERE cialdocolin.soporte=\'AV\' AND tempficalb.fecha>=\'20160514\' AND tempficalb.fecha<=\'20160613\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'AV\' AND cialdoco.fecha>=\'20160514\' AND cialdoco.fecha<=\'20160613\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpRW5Xdx /var/www/quartup.outs/temp/iophpX9rLVb N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql4pbMFQ\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',5,612292,72402392,0,1),(450,'2016-06-13',114001,'02:00:03','N','S','E','Filalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophppq6tyv /var/www/quartup.outs/temp/iophphZ8cra N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 1.0013580322266E-5\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqltfo0lP\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,72532176,0,1),(450,'2016-06-13',115001,'02:00:03','N','S','E','Fisalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophphqgQru /var/www/quartup.outs/temp/iophpUmsHx9 N\n(255)','255','0 (0 sql rows affected)',0,612292,73344872,0,1),(450,'2016-06-13',122001,'02:00:03','N','S','E','Fikfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp0jcMNO /var/www/quartup.outs/temp/iophpLJ1R3t N\n(255)','255','0 (0 sql rows affected)',0,612292,72606968,0,1),(450,'2016-06-13',123001,'02:00:03','N','S','E','Ficfac','CREATE TEMPORARY TABLE tempficfac (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'FV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficfac ON cialdocolin.id_cocabe=tempficfac.id_cocabe WHERE cialdocolin.soporte=\'FV\' AND tempficfac.fecha>=\'20160514\' AND tempficfac.fecha<=\'20160613\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'FV\' AND cialdoco.fecha>=\'20160514\' AND cialdoco.fecha<=\'20160613\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpXwTRcn /var/www/quartup.outs/temp/iophpnMfTlg N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlhp98w9\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',4,612292,72925944,0,1),(450,'2016-06-13',124001,'02:00:03','N','S','E','Filfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophppOgOT2 /var/www/quartup.outs/temp/iophpilvugW N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 9.0599060058594E-6\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlT57fFP\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,73059968,0,1),(450,'2016-06-13',125001,'02:00:03','N','S','E','Fisfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpr6CveJ /var/www/quartup.outs/temp/iophpoKgMNC N\n(255)','255','0 (0 sql rows affected)',0,612292,73870752,0,1),(450,'2016-06-13',131001,'02:00:03','N','S','E','Ficpec','CREATE TEMPORARY TABLE tempficpec (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'PC\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficpec ON cialdocolin.id_cocabe=tempficpec.id_cocabe WHERE cialdocolin.soporte=\'PC\' AND tempficpec.fecha>=\'20160514\' AND tempficpec.fecha<=\'20160613\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'PC\' AND cialdoco.fecha>=\'20160514\' AND cialdoco.fecha<=\'20160613\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpEbnA1F /var/www/quartup.outs/temp/iophpf6JpfJ N\n(255)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlbNvivM\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','255','0 (0 sql rows affected)',3,612292,73340248,0,1),(450,'2016-06-13',132001,'02:00:03','N','S','E','Filpec','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpHh1YUP /var/www/quartup.outs/temp/iophpbrpGkT N\n(255)\n-----\nRecálculo de totales. 0 docs. reconstruídos.\n\nSegundos invertidos: 1.7881393432617E-5\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlCHogMW\' REPLACE INTO TABLE quartup1.cialdocolin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea, fecha, fecha_validez, fec_entre_ped, fec_entre_pre, cod_articulo, id_maescombart, estruc_ela, id_coline_kit, cod_almacen_pre, cod_almacen, cod_ubicacion, num_lote, cod_und_emb, nombre, cantidad, cod_tarifa, preivi_mone, precio_mone, descuentos, importe_mone, impoivi_mone, preivi_euro, precio_euro, importe_euro, bultos, peso_neto, peso, cod_unidad_medida, cambio_embalaje, cant_emb, sw_reserva, cant_reserva, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, coste_alm_euro, coste_ule_euro, coste_man_euro, cod_cuenta, num_dien, cod_lugar, estado, cod_motivo_cancela, cant_ser, cant_emb_ser, soporte_ori, id_cocabe_ori, canal_ori, id_coline_ori, observaciones, cod_cuenta_bas, cod_tipo_iva, tpc_iva, tpc_rec, sw_dto, sw_fin, sw_irpf, soporte, canal, id_coline, sw_inhabitual, sw_recuadro, sw_negrita, sw_subrayado, sw_imprimir, sw_imprimir_img, enlace_soporte, enlace_canal, enlace_id_cocabe, enlace_id_coline, enlace_linea, enlace_sw_marca)','255','0 (0 sql rows affected)',0,612292,73462680,0,1),(451,'2016-06-13',5003,'21:19:13','S','S','S','Filtcu','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpZmuxoE /var/www/quartup.outs/temp/iophpGHDDPs N\n(ok)','0','0 (4806 skipped) (0 sql rows affected)',0,612292,13919224,254371,1),(451,'2016-06-13',13006,'21:19:13','S','S','S','Ficuen','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpa5HfBi /var/www/quartup.outs/temp/iophp4lsSm8 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlFpDqhY\' REPLACE INTO TABLE quartup1.maescuen FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, nombre, acceso, cif, seguridad, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, movil, fax, email, email_fac, enviar_fac, web, cod_moneda, cod_idioma, fecha_ini, fecha_fin, iban_pais, iban_banco, iban_oficina, iban_dc, iban_cta, iban_extra, cod_bic_swift, cod_subfijo, num_cedente, num_identifica, cod_confirming, cod_factoring, sw_referencia, cod_texto, cod_almacen_mov, sw_pedido_entero, cancela_resto_ped, sw_alba_siempre, sw_agrupa, sw_tipo_fra, cod_serie_fac, cod_serie_abo, cod_agencia, cod_ruta, cod_modo_porte, cod_destino, cod_incoterm, tipo_portes, importe_portes, impo_portes, minimo_no_portes, id_quemtpvs, cod_esta_1, cod_esta_2, cod_esta_3, nivel_calidad, cod_esta_4, cod_esta_5, cod_esta_6, cod_impr_oferta, cod_impr_pedido, cod_impr_prepara, cod_impr_albaran, copias_oferta, copias_pedido, copias_prepara, copias_albaran, sw_oferta_valor, sw_pedido_valor, sw_prepara_valor, sw_albaran_valor, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_impr_factura, copias_factura, sw_impr_vto, usuario_ws, password_ws, sw_activo, fecha_fin_nl, sw_dto_cascada, precios_con_iva, cod_tarifa, cod_tarifa_1, cod_tarifa_2, cod_tarifa_3, cod_tarifa_4, cod_tarifa_5, num_dien_fra, num_dien_rec, cod_fpago, cod_pago, dias_pago_1, dias_pago_2, dias_pago_3, vacaciones_1, vacaciones_2, num_domi, cod_cuenta_paco, dto_fin, sw_orden_firmada, fec_orden_firmada, sepa_refe_mandato, imp_rie_euro_1, imp_rie_euro_2, imp_rie_mone_1, imp_rie_mone_2, fecha_riesgo, sw_riesgo_ped, dias_cancel, sw_factoring, sw_reclama, sw_residente, codigo_cin, codigo_isin, sw_asegurado, num_seguro, cod_poliza, cod_repres, base_comi, tpc_comi_dir, num_usuario_cre, cod_actividad, id_maescuenzin, facturacion, num_empleados, cod_origen, cod_vendedor, cod_referido_por, pre_cuenta, sw_mostrar_nota, nota, tipo_iva, cod_tipo_iva, sw_irpf, tpc_irpf, cod_cuenta_irpf, sw_organ_persona, clave_303_v, clave_303_c, sw_operacion_347, clave_operacion_349, id_maescuenloi, cod_proveedor, ean, sw_centro_coste, id_cialceco, cod_cuenta_fra, cod_cuenta_bas, cod_cuenta_abo, fec_cert_aeat, fec_cert_ss, fec_decla_haber, cod_cae, cae_fecha_caduca, sw_impuesto_esp, sw_mostrar_observaciones, observaciones, fecha_nac, sexo, digitos, sw_auto_pgc)','0','2754 (5502 sql rows affected)',4,612292,17588416,254371,1),(452,'2016-06-13',2001,'21:20:08','N','S','S','Ficamb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp4YMGv6 /var/www/quartup.outs/temp/iophppLCmh0 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlxgE59T\' REPLACE INTO TABLE quartup1.quemmonecam FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_moneda, fecha_ini, fecha_fin, cambio_euro_vta, cambio_euro_cmp)','0','2 (2 sql rows affected)',0,612292,14194656,254387,1),(452,'2016-06-13',3001,'21:20:08','N','S','S','Finaci','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp2tIemO /var/www/quartup.outs/temp/iophpHQMzyI N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqliMFAWC\' REPLACE INTO TABLE quartup1.quempais FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_nacion, cod_nacion_3, nombre, nombre_en, cod_idioma_habi, intercomunitario, formato_fecha, formato_numero, unidades_medida, cod_moneda, sw_pais_origen, siglas_pais_ori, digitos_vta, digitos_com, posicion_vta, posicion_com, clave_nif_340, normativa, observaciones)','0','6 (6 sql rows affected)',0,612292,14642976,254387,1),(452,'2016-06-13',5002,'21:20:08','N','S','S','Fiarde','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpgPlxrx /var/www/quartup.outs/temp/iophpcpYuWr N\n(ok)','0','0 (16 skipped) (0 sql rows affected)',0,612292,14721608,254387,1),(452,'2016-06-13',5003,'21:20:08','N','S','S','Filtcu','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpsGFSxm /var/www/quartup.outs/temp/iophpAP8g9g N\n(ok)','0','0 (4806 skipped) (0 sql rows affected)',0,612292,15109536,254387,1),(452,'2016-06-13',5004,'21:20:08','N','S','S','Filuen','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpFBkyWc /var/www/quartup.outs/temp/iophp66qQJ8 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqllzwkB4\' REPLACE INTO TABLE quartup1.maescuenlue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_lugar, nombre, sw_dir_cliente, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, cod_almacen, telefono, fax, movil, conexion, email, web)','0','0 (0 sql rows affected)',0,612292,15553184,254387,1),(452,'2016-06-13',7001,'21:20:08','N','S','S','Fialma','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophptzZ7x0 /var/www/quartup.outs/temp/iophpPeGWuW N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql0rertS\' REPLACE INTO TABLE quartup1.maesalma FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_almacen, nombre, cod_zona_geo, sw_reservas, seguridad, fecha_baja, direccion, cod_postal, poblacion, provincia, cod_nacion, sw_precio_alma, sw_precio_auto, sw_ubicacion, sw_embalaje, sw_redondeo, horario, telefono, fax, email, web, id_quliapre, id_quliaprealm)','0','7 (7 sql rows affected)',0,612292,16099656,254387,1),(452,'2016-06-13',8001,'21:20:08','N','S','S','Fifami','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophprmWXEO /var/www/quartup.outs/temp/iophpJuLvQK N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlZfss4G\' REPLACE INTO TABLE quartup1.maesarti FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, acceso, nombre, nombre_adi, cod_articulo_par, cod_familia_1, cod_familia_2, cod_familia_3, cod_familia_4, cod_familia_5, cod_cuenta_prov, sw_historico, cod_barras, id_maesartimar, cod_esta_1, cod_esta_2, cod_esta_3, cod_nc_taric, num_puntos, sw_dtos_modificable, precio_teorico, fecha_teo, fecha_alta, sw_estadistica, fecha_baja, id_maesarti, nivel, cod_texto, observaciones, sw_ver_agentes, cod_repres, base_comi, tpc_comi_dir, tipo_articulo, sw_alma_ubic, sw_alma_emba, cantidad_base, cod_almacen, cuen_arti_almacen, cod_etiqueta, cod_unidad_medida, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, stock_min, stock_max, stock_pup, comunitario, partida_arancel, cod_nacion, sw_impuesto_esp, sw_rapel, cod_tipo_iva, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_inve, id_cialceco, cod_analitica, image_file, image_file1, image_file2, image_file3, sw_web, sw_send_stock_ecomm, nivel_publica, html_1, cod_und_emb, cambio_embalaje, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, peso_unitario, peso_unit_bruto, densidad_long, cod_unidad_peso_long, cod_unidad_long, densidad_supe, cod_unidad_peso_supe, cod_unidad_supe, densidad_volu, cod_unidad_peso_volu, cod_unidad_volu, cod_tole_medi, cod_pla_par, cod_dete, texto_ficha_tec, nivel_calidad, num_tole_mues, cod_deca, texto_ficha_cal, tipo_materia, sw_kit, cod_almacen_mat, cod_unidad_fabr, factor_fabr, cod_unidad_cons, factor_cons)','0','246 (492 sql rows affected)',2,612292,18666024,254387,1),(452,'2016-06-13',9001,'21:20:08','N','S','S','Fiarti','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpsxt3PJ /var/www/quartup.outs/temp/iophp6hGFBM N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlsEVCXT\' REPLACE INTO TABLE quartup1.maesarti FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, acceso, nombre, nombre_adi, cod_articulo_par, cod_familia_1, cod_familia_2, cod_familia_3, cod_familia_4, cod_familia_5, cod_cuenta_prov, sw_historico, cod_barras, id_maesartimar, cod_esta_1, cod_esta_2, cod_esta_3, cod_nc_taric, num_puntos, sw_dtos_modificable, precio_teorico, fecha_teo, fecha_alta, sw_estadistica, fecha_baja, id_maesarti, nivel, cod_texto, observaciones, sw_ver_agentes, cod_repres, base_comi, tpc_comi_dir, tipo_articulo, sw_alma_ubic, sw_alma_emba, cantidad_base, cod_almacen, cuen_arti_almacen, cod_etiqueta, cod_unidad_medida, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, stock_min, stock_max, stock_pup, comunitario, partida_arancel, cod_nacion, sw_impuesto_esp, sw_rapel, cod_tipo_iva, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_inve, id_cialceco, cod_analitica, image_file, image_file1, image_file2, image_file3, sw_web, sw_send_stock_ecomm, nivel_publica, html_1, cod_und_emb, cambio_embalaje, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, peso_unitario, peso_unit_bruto, densidad_long, cod_unidad_peso_long, cod_unidad_long, densidad_supe, cod_unidad_peso_supe, cod_unidad_supe, densidad_volu, cod_unidad_peso_volu, cod_unidad_volu, cod_tole_medi, cod_pla_par, cod_dete, texto_ficha_tec, nivel_calidad, num_tole_mues, cod_deca, texto_ficha_cal, tipo_materia, sw_kit, cod_almacen_mat, cod_unidad_fabr, factor_fabr, cod_unidad_cons, factor_cons)','0','78052 (156087 sql rows affected)',692,612292,48416144,254387,1),(452,'2016-06-13',11001,'21:20:08','N','S','S','Fiarty','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpfDCwAD /var/www/quartup.outs/temp/iophpjgUqdn N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlDw6V36\' REPLACE INTO TABLE quartup1.maesarticod FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, linea, cod_articulo_alt, nombre_alt, cod_tipo_cod_alt, observaciones)','0','2992 (77 skipped) (2992 sql rows affected)',1,612292,48606312,254387,1),(452,'2016-06-13',11002,'21:20:08','N','S','S','Fiequi','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpm0DXiT /var/www/quartup.outs/temp/iophppl4ZxF N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlzvNSOr\' REPLACE INTO TABLE quartup1.maesartiequ FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_equiva, nombre, siglas, sw_bloqueo)','0','1 (1 sql rows affected)',0,612292,48910728,254387,1),(452,'2016-06-13',11003,'21:20:08','N','S','S','Fiubic','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophprjG2ge /var/www/quartup.outs/temp/iophpsZsdJ0 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlgoVrfN\' REPLACE INTO TABLE quartup1.almaartiubi FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_almaartiubi, cod_articulo, cod_almacen, cod_ubicacion, orden_importancia, observaciones)','0','821 (1642 sql rows affected)',1,612292,49261064,254387,1),(452,'2016-06-13',11004,'21:20:08','N','S','S','Fiarna','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpSyywrB /var/www/quartup.outs/temp/iophp3M4BDp N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlMzJTQd\' REPLACE INTO TABLE quartup1.maesartidesidi FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, cod_descripcion, cod_idioma, nivel, nombre, color_texto, color_fondo, cod_font, cod_size_font, cod_style_font, cod_weight_font, nombre_web, nombre_html, iddms, image_file, image_file1, image_file2)','0','0 (0 sql rows affected)',0,612292,49727088,254387,1),(452,'2016-06-13',13001,'21:20:08','N','S','S','Fiprct','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpgj6v71 /var/www/quartup.outs/temp/iophpbiW8nQ N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlsaXGNE\' REPLACE INTO TABLE quartup1.maescuenper FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, num_personal, nombre, id_prct, cod_pre_cuenta, num_pre_personal, dni, descripcion, cod_cargo, departamento, horario, cod_urgencia, cod_origen, cod_importancia, direccion, cod_postal, poblacion, provincia, cod_nacion, telefono, extension, telefono_alternativo, fax, movil, sw_no_llamar, email, email_alternativo, mensajeria_instant, web, sw_no_email, observaciones, cod_accion, cod_relacion, asignado_a, referido_por, cod_estado, descripcion_estado, informacion_add, id_crm)','0','948 (1895 sql rows affected)',4,613240,50385824,254387,1),(452,'2016-06-13',13002,'21:20:08','N','S','S','Fidien','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpWwAXfH /var/www/quartup.outs/temp/iophpI4ZeIJ N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlLL9ZbM\' REPLACE INTO TABLE quartup1.maescuendir FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, nombre, num_dien, cif, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, fax, movil, conexion, email, web, num_domi, ean, cod_agencia, cod_ruta, cod_destino, sw_reexpedicion, cod_almacen_mov, cod_repres, base_comi, tpc_comi_dir, cod_ruta_com, sw_delegacion, sw_visita, observaciones, clave_303_v, clave_303_c, clave_operacion_349, cuen_tax_rule, cod_cae, cae_fecha_caduca)','0','97 (97 sql rows affected)',0,613240,51946992,254387,1),(452,'2016-06-13',13003,'21:20:08','N','S','S','Fitcli','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpXbO0uP /var/www/quartup.outs/temp/iophpnPy2NS N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlGlADiW\' REPLACE INTO TABLE quartup1.maesprectar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tarifa, nombre, cod_moneda, tipo, sw_prec_neto, sw_iva_incluido, orden_prec, orden_dtos, tpc_aumento, orden_prec_2, orden_dtos_2, orden_prec_3, orden_dtos_3, orden_prec_4, orden_dtos_4, orden_prec_5, orden_dtos_5)','0','23 (35 sql rows affected)',0,613240,52418624,254387,1),(452,'2016-06-13',13004,'21:20:08','N','S','S','Figrup','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpzfhAh0 /var/www/quartup.outs/temp/iophpCxHxg4 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqltEn0u8\' REPLACE INTO TABLE quartup1.cialcuma FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, digitos, sw_auto_pgc, nombre, normativa, observaciones)','0','401 (401 sql rows affected)',0,613240,52748832,254387,1),(452,'2016-06-13',13005,'21:20:08','N','S','S','Fiesta','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp9txTCd /var/www/quartup.outs/temp/iophprLSNKi N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlGBTIZn\' REPLACE INTO TABLE quartup1.maescodiest FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (tip_esta, cod_esta, nombre, observaciones)','0','0 (0 sql rows affected)',0,613240,53051128,254387,1),(452,'2016-06-13',13006,'21:20:08','N','S','S','Ficuen','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpED0Ymt /var/www/quartup.outs/temp/iophpMprgKy N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlXkXCiE\' REPLACE INTO TABLE quartup1.maescuen FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, nombre, acceso, cif, seguridad, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, movil, fax, email, email_fac, enviar_fac, web, cod_moneda, cod_idioma, fecha_ini, fecha_fin, iban_pais, iban_banco, iban_oficina, iban_dc, iban_cta, iban_extra, cod_bic_swift, cod_subfijo, num_cedente, num_identifica, cod_confirming, cod_factoring, sw_referencia, cod_texto, cod_almacen_mov, sw_pedido_entero, cancela_resto_ped, sw_alba_siempre, sw_agrupa, sw_tipo_fra, cod_serie_fac, cod_serie_abo, cod_agencia, cod_ruta, cod_modo_porte, cod_destino, cod_incoterm, tipo_portes, importe_portes, impo_portes, minimo_no_portes, id_quemtpvs, cod_esta_1, cod_esta_2, cod_esta_3, nivel_calidad, cod_esta_4, cod_esta_5, cod_esta_6, cod_impr_oferta, cod_impr_pedido, cod_impr_prepara, cod_impr_albaran, copias_oferta, copias_pedido, copias_prepara, copias_albaran, sw_oferta_valor, sw_pedido_valor, sw_prepara_valor, sw_albaran_valor, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_impr_factura, copias_factura, sw_impr_vto, usuario_ws, password_ws, sw_activo, fecha_fin_nl, sw_dto_cascada, precios_con_iva, cod_tarifa, cod_tarifa_1, cod_tarifa_2, cod_tarifa_3, cod_tarifa_4, cod_tarifa_5, num_dien_fra, num_dien_rec, cod_fpago, cod_pago, dias_pago_1, dias_pago_2, dias_pago_3, vacaciones_1, vacaciones_2, num_domi, cod_cuenta_paco, dto_fin, sw_orden_firmada, fec_orden_firmada, sepa_refe_mandato, imp_rie_euro_1, imp_rie_euro_2, imp_rie_mone_1, imp_rie_mone_2, fecha_riesgo, sw_riesgo_ped, dias_cancel, sw_factoring, sw_reclama, sw_residente, codigo_cin, codigo_isin, sw_asegurado, num_seguro, cod_poliza, cod_repres, base_comi, tpc_comi_dir, num_usuario_cre, cod_actividad, id_maescuenzin, facturacion, num_empleados, cod_origen, cod_vendedor, cod_referido_por, pre_cuenta, sw_mostrar_nota, nota, tipo_iva, cod_tipo_iva, sw_irpf, tpc_irpf, cod_cuenta_irpf, sw_organ_persona, clave_303_v, clave_303_c, sw_operacion_347, clave_operacion_349, id_maescuenloi, cod_proveedor, ean, sw_centro_coste, id_cialceco, cod_cuenta_fra, cod_cuenta_bas, cod_cuenta_abo, fec_cert_aeat, fec_cert_ss, fec_decla_haber, cod_cae, cae_fecha_caduca, sw_impuesto_esp, sw_mostrar_observaciones, observaciones, fecha_nac, sexo, digitos, sw_auto_pgc)','0','2754 (2754 sql rows affected)',5,613240,55575584,254387,1),(452,'2016-06-13',14001,'21:20:08','N','S','S','Fidomi','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpgrotnZ /var/www/quartup.outs/temp/iophpzVkksk N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqltd7CAF\' REPLACE INTO TABLE quartup1.maescuendom FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, num_domi, id_domi, banco, direccion, cod_postal, poblacion, provincia, cod_nacion, iban_pais, iban_banco, iban_oficina, iban_dc, iban_cta, iban_extra, iban_bban, cod_iban, cod_bic_swift, observaciones)','0','627 (133 skipped) (1252 sql rows affected)',1,614000,56491184,254387,1),(452,'2016-06-13',15001,'21:20:08','N','S','S','Firies','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpFm8Zn2 /var/www/quartup.outs/temp/iophpYL5nbp N\n(ok)','0','0 (256 skipped) (0 sql rows affected)',7,614000,56597488,254387,1),(452,'2016-06-13',15002,'21:20:08','N','S','S','Ficeco','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp9Y9Sy8 /var/www/quartup.outs/temp/iophpJMmpWR N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql1AnQlB\' REPLACE INTO TABLE quartup1.cialceco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_centro_coste, id_cialceco, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, telefono, fax, tipo_centro, ord_salida, digitos, anyo, seguridad)','0','2 (4 sql rows affected)',0,614000,56995752,254387,1),(452,'2016-06-13',15003,'21:20:08','N','S','S','Fitecu','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpKFVSZk /var/www/quartup.outs/temp/iophp3nsWD4 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqllrjTjO\' REPLACE INTO TABLE quartup1.maescuenobs FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_texto, id_tecu, texto, bloqueo, ver_pantalla, password)','0','1 (2 sql rows affected)',0,614001,57316352,254387,1),(452,'2016-06-13',15004,'21:20:08','N','S','S','Fitari','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpPTmRcy /var/www/quartup.outs/temp/iophp9U8P5h N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlohGK01\' REPLACE INTO TABLE quartup1.maesprectar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tarifa, nombre, cod_moneda, tipo, sw_prec_neto, sw_iva_incluido, orden_prec, orden_dtos, tpc_aumento, orden_prec_2, orden_dtos_2, orden_prec_3, orden_dtos_3, orden_prec_4, orden_dtos_4, orden_prec_5, orden_dtos_5)','0','4 (4 sql rows affected)',0,614001,57382376,254387,1),(452,'2016-06-13',17001,'21:20:08','N','S','S','Fiagec','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpcf9H1L /var/www/quartup.outs/temp/iophpzeNG2v N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql1hoG5f\' REPLACE INTO TABLE quartup1.maesagen FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_agencia, id_maesagen, nombre, descripcion, conexion, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, fax, cif, email, web, observaciones, cod_pimp_alag, sw_albaran, cod_fichero_plano, num_copias_av, sw_albaran_valor, cod_cliente_agec, cod_servicio, cod_cuenta, cod_articulo, margen_cial, cod_und_emb_1, cod_und_emb_2, cod_und_emb_3)','0','27 (54 sql rows affected)',0,614001,58003296,254387,1),(452,'2016-06-13',17002,'21:20:08','N','S','S','Fitext','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophplBaNo0 /var/www/quartup.outs/temp/iophpeogUHK N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlxb521u\' REPLACE INTO TABLE quartup1.maescialobs FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_texto, texto)','0','2 (2 sql rows affected)',0,614001,58249016,254387,1),(452,'2016-06-13',17003,'21:20:08','N','S','S','Fipago','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpv0GWqf /var/www/quartup.outs/temp/iophpe4XQPZ N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlKgItgK\' REPLACE INTO TABLE quartup1.maescuencpa FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_pago, id_pago, nombre, num_efectos, dias_factura, dias_vto, tipo_pago, sw_dto_fin, imp_euro, comision)','0','19 (38 sql rows affected)',0,614020,58627432,254387,1),(452,'2016-06-13',17004,'21:20:08','N','S','S','Ficoiv','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpQ0EmTu /var/www/quartup.outs/temp/iophpREzgwf N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlQzn6a0\' REPLACE INTO TABLE quartup1.maestiva FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tipo_iva, nombre, tpc_iva, tpc_rec, sw_tpc_303, id_ps_iva, id_ps_rec, id_group_ps_iva, sw_dto, sw_fin, sw_irpf, sw_iva_incluido, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_com_iva, cod_cuenta_com_rec, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_vta_iva, cod_cuenta_vta_rec, cta_iva_sop_autofra, cta_iva_rep_autofra)','0','8 (8 sql rows affected)',0,614020,59106096,254387,1),(452,'2016-06-13',17005,'21:20:08','N','S','S','Fifpag','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpZH1VYK /var/www/quartup.outs/temp/iophpR7BMMv N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlQA1zCg\' REPLACE INTO TABLE quartup1.maescuenfpa FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_fpago, nombre, sw_remesable, sw_efectivo, sw_reembolso, sw_transfer, sw_domicilia, sw_cuenta_completa, cod_moneda, cod_cuenta_paco, sw_vale_devolucion, dias_riesgo, texto_base_contable, sw_impr_recibo)','0','12 (12 sql rows affected)',0,614020,59496392,254387,1),(452,'2016-06-13',17006,'21:20:08','N','S','S','Ficarg','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpNIVCy1 /var/www/quartup.outs/temp/iophprq1GuM N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqltduGsx\' REPLACE INTO TABLE quartup1.maespecocar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cargo, id_carg, nombre)','0','14 (28 sql rows affected)',0,614034,59771440,254387,1),(452,'2016-06-13',19001,'21:20:08','N','S','S','Fisust','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpvTe4Fi /var/www/quartup.outs/temp/iophp6PWsT3 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql7jfL8O\' REPLACE INTO TABLE quartup1.maesartiequlin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, cod_equiva, siglas, ind_proceso)','0','0 (0 sql rows affected)',0,614034,60162304,254387,1),(452,'2016-06-13',19002,'21:20:08','N','S','S','Fiaamm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp6DouvA /var/www/quartup.outs/temp/iophpeeEeSl N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlwhzGg7\' REPLACE INTO TABLE quartup1.almaartilim FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_almacen, nivel, cod_articulo, stock_min, stock_max, stock_pup, fecha_min, fecha_max, fecha_pup, observaciones)','0','0 (0 sql rows affected)',0,614034,61628016,254387,1),(452,'2016-06-13',19003,'21:20:08','N','S','S','Fiunem','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophppczrKS /var/www/quartup.outs/temp/iophpXcvdeE N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql0KbVVp\' REPLACE INTO TABLE quartup1.almaunem FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_und_emb, id_unem, nombre, siglas, ean, cambio, tara, cod_unidad_tara, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, unidad_min, unidad_max, peso_min, peso_max, cod_unidad_peso, longitud_min, longitud_max, cod_unidad_long, superficie_min, superficie_max, cod_unidad_supe, volumen_min, volumen_max, cod_unidad_volu, tipo_calculo, formato)','0','1 (2 sql rows affected)',0,614035,62177760,254387,1),(452,'2016-06-13',21001,'21:20:08','N','S','S','Firepr','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpmSH26b /var/www/quartup.outs/temp/iophpfJ4aiY N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqleIKyAK\' REPLACE INTO TABLE quartup1.maescuenrep FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_repres, nombre, cod_repres_parent, sw_director, conexion, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, web, observaciones, telefono, fax, movil, email, comision_1, imp_euro_1, comision_2, imp_euro_2, comision_3, imp_euro_3, comision_4, imp_euro_4, comision_5, imp_euro_5, comision_6, imp_euro_6, comision_7, imp_euro_7, comision_8, imp_euro_8, comision_9, imp_euro_9, comision_10, imp_euro_10, comision_11, imp_euro_11, comision_12, imp_euro_12, comision_13, imp_euro_13, comision_14, imp_euro_14, comision_15, imp_euro_15, comision_16, imp_euro_16, comision_17, imp_euro_17, comision_18, imp_euro_18, comision_19, imp_euro_19, comision_20, imp_euro_20, comi_dir_1, idi_euro_1, comi_dir_2, idi_euro_2, comi_dir_3, idi_euro_3, comi_dir_4, idi_euro_4, comi_dir_5, idi_euro_5, comi_dir_6, idi_euro_6, comi_dir_7, idi_euro_7, comi_dir_8, idi_euro_8, comi_dir_9, idi_euro_9, comi_dir_10, idi_euro_10, comi_dir_11, idi_euro_11, comi_dir_12, idi_euro_12, comi_dir_13, idi_euro_13, comi_dir_14, idi_euro_14, comi_dir_15, idi_euro_15, comi_dir_16, idi_euro_16, comi_dir_17, idi_euro_17, comi_dir_18, idi_euro_18, comi_dir_19, idi_euro_19, comi_dir_20, idi_euro_20, cif, cod_cuenta, id_cialceco, tipo_iva, cod_tipo_iva, irpf, tpc_ret, tpc_rappel, cod_almacen, distribuidor)','0','13 (16 sql rows affected)',0,614035,63419792,254387,1),(452,'2016-06-13',22001,'21:20:08','N','S','S','Firepp','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpjvFO3w /var/www/quartup.outs/temp/iophpKd24wj N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlyXkP75\' REPLACE INTO TABLE quartup1.maescuenreplin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (tip_comision, cod_cuenta, num_dien, nivel, cod_articulo, linea, cod_repres, fecha_d, fecha_h, base_comi, tpc_comi_dir, dsd_dto, hst_dto, base_boni, cantidad, tipo_fijo, cod_moneda, importe_mone, observaciones)','0','519 (43 skipped) (519 sql rows affected)',13,614035,64184832,254387,1),(452,'2016-06-13',30001,'21:20:08','N','S','S','Fipvpq','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpGqvpRB /var/www/quartup.outs/temp/iophpRhd0A7 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqltb0HFD\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','0 (0 sql rows affected)',0,614035,65356832,254387,1),(452,'2016-06-13',30002,'21:20:08','N','S','S','Ficlfa','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpqU49O9 /var/www/quartup.outs/temp/iophpdj8CYF N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlH3n6dc\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','1514 (355 skipped) (3028 sql rows affected)',11,614035,65440736,254387,1),(452,'2016-06-13',30003,'21:20:08','N','S','S','Fipvpc','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpHMNzSk /var/www/quartup.outs/temp/iophpwFa4wt N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlOpKzeC\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','281 (29 skipped) (281 sql rows affected)',1,614035,65670128,254387,1),(452,'2016-06-13',30004,'21:20:08','N','S','S','Fidtpq','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpFFTo3M /var/www/quartup.outs/temp/iophpYDefSX N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlcen6I8\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','2 (4 sql rows affected)',0,614035,65654656,254387,1),(452,'2016-06-13',30005,'21:20:08','N','S','S','Fipvpm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpK8wAFj /var/www/quartup.outs/temp/iophpvDU5Bu N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqllZYvAF\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','0','0 (0 sql rows affected)',0,614035,66017992,254387,1),(452,'2016-06-13',31001,'21:20:08','N','S','S','Fipvpt','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophplcb3DQ /var/www/quartup.outs/temp/iophplJkBH1 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlL5NXgj\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','81612 (74210 skipped) (163223 sql rows affected)',57,614035,66126736,254387,1),(452,'2016-06-13',32001,'21:20:08','N','S','S','Fipvtt','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp0VRrRB /var/www/quartup.outs/temp/iophpsRQWrU N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlQE3d4c\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','0 (0 sql rows affected)',0,614035,66216384,254387,1),(452,'2016-06-13',32002,'21:20:08','N','S','S','Fiplfa','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp30SqLv /var/www/quartup.outs/temp/iophpERVEsO N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql0PMTh7\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','1093 (164 skipped) (2186 sql rows affected)',8,614035,66283968,254387,1),(452,'2016-06-13',40001,'21:20:08','N','S','S','Fitapo','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpchs5eQ /var/www/quartup.outs/temp/iophpOn1hcz N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlFKCubi\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','0 (0 sql rows affected)',0,614035,66382120,254387,1),(452,'2016-06-13',40002,'21:20:08','N','S','S','Fitacm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpvErGf1 /var/www/quartup.outs/temp/iophpNEgTjK N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql8KjjKt\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','0','0 (10718 skipped) (0 sql rows affected)',3,614035,94827240,254387,1),(452,'2016-06-13',40003,'21:20:08','N','S','S','Fitaco','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpt1qvzo /var/www/quartup.outs/temp/iophpzbuIoj N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlhbvwai\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','0 (12836 skipped) (12620 sql rows affected)',31,614035,181182736,254387,1),(452,'2016-06-13',50001,'21:20:08','N','S','S','Fiarcl','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp9stYBT /var/www/quartup.outs/temp/iophporcr3u N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlUBklD6\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','0','0 (6 skipped) (10723 sql rows affected)',1,614035,181123384,254387,1),(452,'2016-06-13',105001,'21:20:08','N','S','S','Fitped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpnd40XK /var/www/quartup.outs/temp/iophpdmvHip N\n(ok)','0','0 (0 sql rows affected)',0,614035,181204960,254387,1),(452,'2016-06-13',106001,'21:20:08','N','S','S','Fikped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpj6lD03 /var/www/quartup.outs/temp/iophplNnAII N\n(ok)','0','0 (61519 skipped) (0 sql rows affected)',40,614035,206451624,254387,1),(452,'2016-06-13',107001,'21:20:08','N','S','S','Ficped','CREATE TEMPORARY TABLE tempficped (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'PV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficped ON cialdocolin.id_cocabe=tempficped.id_cocabe WHERE cialdocolin.soporte=\'PV\' AND tempficped.fecha>=\'20160517\' AND tempficped.fecha<=\'99991231\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'PV\' AND cialdoco.fecha>=\'20160517\' AND cialdoco.fecha<=\'99991231\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp5BKBUH /var/www/quartup.outs/temp/iophpdVhE6G N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlp14k5H\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','0','1077 (1121 sql rows affected)',5,614035,212186336,254387,1),(452,'2016-06-13',108001,'21:20:08','N','S','S','Filped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp5uKsfO /var/www/quartup.outs/temp/iophp17rBpU N\n(ok)\n-----\nRecálculo de totales. 1077 docs. reconstruídos.\nEl año de la \"Fecha documento\" (2080)\n   no coincide con el de la numeración (2006).\nCambie alguno de los dos.\nEl año de la \"Fecha documento\" (2080)\n   no coincide con el de la numeración (2007).\nCambie alguno de los dos.\nSegundos invertidos: 798.38747596741\n-----\nSELECT cialdocolin.id_cocabe,  cialdocolin.linea,  cialdocolin.fecha,  cialdocolin.fecha_validez,  cialdocolin.fec_entre_ped,  cialdocolin.fec_entre_pre,  cialdocolin.cod_articulo,  cialdocolin.id_maescombart,  cialdocolin.estruc_ela,  cialdocolin.id_coline_kit,  cialdocolin.cod_almacen_pre,  cialdocolin.cod_almacen,  cialdocolin.cod_ubicacion,  cialdocolin.num_lote,  cialdocolin.cod_und_emb,  cialdocolin.nombre,  cialdocolin.cantidad,  cialdocolin.cod_tarifa,  cialdocolin.preivi_mone,  cialdocolin.precio_mone,  cialdocolin.descuentos,  cialdocolin.importe_mone,  cialdocolin.impoivi_mone,  cialdocolin.preivi_euro,  cialdocolin.precio_euro,  cialdocolin.importe_euro,  cialdocolin.bultos,  cialdocolin.peso_neto,  cialdocolin.peso,  cialdocolin.cod_unidad_medida,  cialdocolin.cambio_embalaje,  cialdocolin.cant_emb,  cialdocolin.sw_reserva,  cialdocolin.cant_reserva,  cialdocolin.cod_unidad_compra,  cialdocolin.factor_compra,  cialdocolin.cod_unidad_venta,  cialdocolin.factor_venta,  cialdocolin.coste_alm_euro,  cialdocolin.coste_ule_euro,  cialdocolin.coste_man_euro,  cialdocolin.cod_cuenta,  cialdocolin.num_dien,  cialdocolin.cod_lugar,  cialdocolin.estado,  cialdocolin.cod_motivo_cancela,  cialdocolin.cant_ser,  cialdocolin.cant_emb_ser,  cialdocolin.soporte_ori,  cialdocolin.id_cocabe_ori,  cialdocolin.canal_ori,  cialdocolin.id_coline_ori,  cialdocolin.observaciones,  cialdocolin.cod_cuenta_bas,  cialdocolin.cod_tipo_iva,  cialdocolin.tpc_iva,  cialdocolin.tpc_rec,  cialdocolin.sw_dto,  cialdocolin.sw_fin,  cialdocolin.sw_irpf,  cialdocolin.soporte,  cialdocolin.canal,  cialdocolin.id_coline,  cialdocolin.sw_inhabitual,  cialdocolin.sw_recuadro,  cialdocolin.sw_negrita,  cialdocolin.sw_subrayado,  cialdocolin.sw_imprimir,  cialdocolin.sw_imprimir_img,  cialdocolin.enlace_soporte,  cialdocolin.enlace_canal,  cialdocolin.enlace_id_cocabe,  cialdocolin.enlace_id_coline,  cialdocolin.enlace_linea,  cialdocolin.enlace_sw_marca,  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_articulo.acceso AS \'Rcod_articulo_acceso\',  Rcod_articulo.nombre AS \'Rcod_articulo_nombre\',  Rcod_articulo.nombre_adi AS \'Rcod_articulo_nombre_adi\',  Rcod_articulo.cod_articulo_par AS \'Rcod_articulo_cod_articulo_par\',  Rcod_articulo.cod_familia_1 AS \'Rcod_articulo_cod_familia_1\',  Rcod_articulo.cod_familia_2 AS \'Rcod_articulo_cod_familia_2\',  Rcod_articulo.cod_familia_3 AS \'Rcod_articulo_cod_familia_3\',  Rcod_articulo.cod_familia_4 AS \'Rcod_articulo_cod_familia_4\',  Rcod_articulo.cod_familia_5 AS \'Rcod_articulo_cod_familia_5\',  Rcod_articulo.cod_cuenta_prov AS \'Rcod_articulo_cod_cuenta_prov\',  Rcod_articulo.sw_historico AS \'Rcod_articulo_sw_historico\',  Rcod_articulo.cod_barras AS \'Rcod_articulo_cod_barras\',  Rcod_articulo.id_maesartimar AS \'Rcod_articulo_id_maesartimar\',  Rcod_articulo.cod_esta_1 AS \'Rcod_articulo_cod_esta_1\',  Rcod_articulo.cod_esta_2 AS \'Rcod_articulo_cod_esta_2\',  Rcod_articulo.cod_esta_3 AS \'Rcod_articulo_cod_esta_3\',  Rcod_articulo.cod_nc_taric AS \'Rcod_articulo_cod_nc_taric\',  Rcod_articulo.num_puntos AS \'Rcod_articulo_num_puntos\',  Rcod_articulo.sw_dtos_modificable AS \'Rcod_articulo_sw_dtos_modificable\',  Rcod_articulo.precio_teorico AS \'Rcod_articulo_precio_teorico\',  Rcod_articulo.fecha_teo AS \'Rcod_articulo_fecha_teo\',  Rcod_articulo.fecha_alta AS \'Rcod_articulo_fecha_alta\',  Rcod_articulo.sw_estadistica AS \'Rcod_articulo_sw_estadistica\',  Rcod_articulo.fecha_baja AS \'Rcod_articulo_fecha_baja\',  Rcod_articulo.id_maesarti AS \'Rcod_articulo_id_maesarti\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_texto AS \'Rcod_articulo_cod_texto\',  Rcod_articulo.observaciones AS \'Rcod_articulo_observaciones\',  Rcod_articulo.sw_ver_agentes AS \'Rcod_articulo_sw_ver_agentes\',  Rcod_articulo.cod_repres AS \'Rcod_articulo_cod_repres\',  Rcod_articulo.base_comi AS \'Rcod_articulo_base_comi\',  Rcod_articulo.tpc_comi_dir AS \'Rcod_articulo_tpc_comi_dir\',  Rcod_articulo.tipo_articulo AS \'Rcod_articulo_tipo_articulo\',  Rcod_articulo.sw_alma_ubic AS \'Rcod_articulo_sw_alma_ubic\',  Rcod_articulo.sw_alma_emba AS \'Rcod_articulo_sw_alma_emba\',  Rcod_articulo.cantidad_base AS \'Rcod_articulo_cantidad_base\',  Rcod_articulo.cod_almacen AS \'Rcod_articulo_cod_almacen\',  Rcod_articulo.cuen_arti_almacen AS \'Rcod_articulo_cuen_arti_almacen\',  Rcod_articulo.cod_etiqueta AS \'Rcod_articulo_cod_etiqueta\',  Rcod_articulo.cod_unidad_medida AS \'Rcod_articulo_cod_unidad_medida\',  Rcod_articulo.cod_unidad_compra AS \'Rcod_articulo_cod_unidad_compra\',  Rcod_articulo.factor_compra AS \'Rcod_articulo_factor_compra\',  Rcod_articulo.cod_unidad_venta AS \'Rcod_articulo_cod_unidad_venta\',  Rcod_articulo.factor_venta AS \'Rcod_articulo_factor_venta\',  Rcod_articulo.stock_min AS \'Rcod_articulo_stock_min\',  Rcod_articulo.stock_max AS \'Rcod_articulo_stock_max\',  Rcod_articulo.stock_pup AS \'Rcod_articulo_stock_pup\',  Rcod_articulo.comunitario AS \'Rcod_articulo_comunitario\',  Rcod_articulo.partida_arancel AS \'Rcod_articulo_partida_arancel\',  Rcod_articulo.cod_nacion AS \'Rcod_articulo_cod_nacion\',  Rcod_articulo.sw_impuesto_esp AS \'Rcod_articulo_sw_impuesto_esp\',  Rcod_articulo.sw_rapel AS \'Rcod_articulo_sw_rapel\',  Rcod_articulo.cod_tipo_iva AS \'Rcod_articulo_cod_tipo_iva\',  Rcod_articulo.cod_cuenta_vta_bas AS \'Rcod_articulo_cod_cuenta_vta_bas\',  Rcod_articulo.cod_cuenta_vta_abo AS \'Rcod_articulo_cod_cuenta_vta_abo\',  Rcod_articulo.cod_cuenta_com_bas AS \'Rcod_articulo_cod_cuenta_com_bas\',  Rcod_articulo.cod_cuenta_com_abo AS \'Rcod_articulo_cod_cuenta_com_abo\',  Rcod_articulo.cod_cuenta_inve AS \'Rcod_articulo_cod_cuenta_inve\',  Rcod_articulo.id_cialceco AS \'Rcod_articulo_id_cialceco\',  Rcod_articulo.cod_analitica AS \'Rcod_articulo_cod_analitica\',  Rcod_articulo.image_file AS \'Rcod_articulo_image_file\',  Rcod_articulo.image_file1 AS \'Rcod_articulo_image_file1\',  Rcod_articulo.image_file2 AS \'Rcod_articulo_image_file2\',  Rcod_articulo.image_file3 AS \'Rcod_articulo_image_file3\',  Rcod_articulo.sw_web AS \'Rcod_articulo_sw_web\',  Rcod_articulo.sw_send_stock_ecomm AS \'Rcod_articulo_sw_send_stock_ecomm\',  Rcod_articulo.nivel_publica AS \'Rcod_articulo_nivel_publica\',  Rcod_articulo.html_1 AS \'Rcod_articulo_html_1\',  Rcod_articulo.cod_und_emb AS \'Rcod_articulo_cod_und_emb\',  Rcod_articulo.cambio_embalaje AS \'Rcod_articulo_cambio_embalaje\',  Rcod_articulo.alto AS \'Rcod_articulo_alto\',  Rcod_articulo.cod_unidad_alto AS \'Rcod_articulo_cod_unidad_alto\',  Rcod_articulo.largo AS \'Rcod_articulo_largo\',  Rcod_articulo.cod_unidad_largo AS \'Rcod_articulo_cod_unidad_largo\',  Rcod_articulo.ancho AS \'Rcod_articulo_ancho\',  Rcod_articulo.cod_unidad_ancho AS \'Rcod_articulo_cod_unidad_ancho\',  Rcod_articulo.peso_unitario AS \'Rcod_articulo_peso_unitario\',  Rcod_articulo.peso_unit_bruto AS \'Rcod_articulo_peso_unit_bruto\',  Rcod_articulo.densidad_long AS \'Rcod_articulo_densidad_long\',  Rcod_articulo.cod_unidad_peso_long AS \'Rcod_articulo_cod_unidad_peso_long\',  Rcod_articulo.cod_unidad_long AS \'Rcod_articulo_cod_unidad_long\',  Rcod_articulo.densidad_supe AS \'Rcod_articulo_densidad_supe\',  Rcod_articulo.cod_unidad_peso_supe AS \'Rcod_articulo_cod_unidad_peso_supe\',  Rcod_articulo.cod_unidad_supe AS \'Rcod_articulo_cod_unidad_supe\',  Rcod_articulo.densidad_volu AS \'Rcod_articulo_densidad_volu\',  Rcod_articulo.cod_unidad_peso_volu AS \'Rcod_articulo_cod_unidad_peso_volu\',  Rcod_articulo.cod_unidad_volu AS \'Rcod_articulo_cod_unidad_volu\',  Rcod_articulo.cod_tole_medi AS \'Rcod_articulo_cod_tole_medi\',  Rcod_articulo.cod_pla_par AS \'Rcod_articulo_cod_pla_par\',  Rcod_articulo.cod_dete AS \'Rcod_articulo_cod_dete\',  Rcod_articulo.texto_ficha_tec AS \'Rcod_articulo_texto_ficha_tec\',  Rcod_articulo.nivel_calidad AS \'Rcod_articulo_nivel_calidad\',  Rcod_articulo.num_tole_mues AS \'Rcod_articulo_num_tole_mues\',  Rcod_articulo.cod_deca AS \'Rcod_articulo_cod_deca\',  Rcod_articulo.texto_ficha_cal AS \'Rcod_articulo_texto_ficha_cal\',  Rcod_articulo.tipo_materia AS \'Rcod_articulo_tipo_materia\',  Rcod_articulo.sw_kit AS \'Rcod_articulo_sw_kit\',  Rcod_articulo.cod_almacen_mat AS \'Rcod_articulo_cod_almacen_mat\',  Rcod_articulo.cod_unidad_fabr AS \'Rcod_articulo_cod_unidad_fabr\',  Rcod_articulo.factor_fabr AS \'Rcod_articulo_factor_fabr\',  Rcod_articulo.cod_unidad_cons AS \'Rcod_articulo_cod_unidad_cons\',  Rcod_articulo.factor_cons AS \'Rcod_articulo_factor_cons\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  Rcod_tipo_iva.nombre AS \'Rcod_tipo_iva_nombre\',  Rcod_tipo_iva.tpc_iva AS \'Rcod_tipo_iva_tpc_iva\',  Rcod_tipo_iva.tpc_rec AS \'Rcod_tipo_iva_tpc_rec\',  Rcod_tipo_iva.sw_tpc_303 AS \'Rcod_tipo_iva_sw_tpc_303\',  Rcod_tipo_iva.id_ps_iva AS \'Rcod_tipo_iva_id_ps_iva\',  Rcod_tipo_iva.id_ps_rec AS \'Rcod_tipo_iva_id_ps_rec\',  Rcod_tipo_iva.id_group_ps_iva AS \'Rcod_tipo_iva_id_group_ps_iva\',  Rcod_tipo_iva.sw_dto AS \'Rcod_tipo_iva_sw_dto\',  Rcod_tipo_iva.sw_fin AS \'Rcod_tipo_iva_sw_fin\',  Rcod_tipo_iva.sw_irpf AS \'Rcod_tipo_iva_sw_irpf\',  Rcod_tipo_iva.sw_iva_incluido AS \'Rcod_tipo_iva_sw_iva_incluido\',  Rcod_tipo_iva.cod_cuenta_com_bas AS \'Rcod_tipo_iva_cod_cuenta_com_bas\',  Rcod_tipo_iva.cod_cuenta_com_abo AS \'Rcod_tipo_iva_cod_cuenta_com_abo\',  Rcod_tipo_iva.cod_cuenta_com_iva AS \'Rcod_tipo_iva_cod_cuenta_com_iva\',  Rcod_tipo_iva.cod_cuenta_com_rec AS \'Rcod_tipo_iva_cod_cuenta_com_rec\',  Rcod_tipo_iva.cod_cuenta_vta_bas AS \'Rcod_tipo_iva_cod_cuenta_vta_bas\',  Rcod_tipo_iva.cod_cuenta_vta_abo AS \'Rcod_tipo_iva_cod_cuenta_vta_abo\',  Rcod_tipo_iva.cod_cuenta_vta_iva AS \'Rcod_tipo_iva_cod_cuenta_vta_iva\',  Rcod_tipo_iva.cod_cuenta_vta_rec AS \'Rcod_tipo_iva_cod_cuenta_vta_rec\',  Rcod_tipo_iva.cta_iva_sop_autofra AS \'Rcod_tipo_iva_cta_iva_sop_autofra\',  Rcod_tipo_iva.cta_iva_rep_autofra AS \'Rcod_tipo_iva_cta_iva_rep_autofra\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  (IF(cialdocolin.estruc_ela!=0, \'C\', IF(cialdocolin.id_coline_kit!=0, \'L\', \'N\'))) AS sw_kit_sql,  (cialdocoGetSqlEstado(cialdocolin.id_cocabe, cialdocolin.id_coline, cialdocolin.estado, cialdocolin.cod_motivo_cancela)) AS sql_estado,  (IF(cialdocolin.cod_motivo_cancela=\'\', \'N\', \'S\')) AS sw_cancela,  (IF(cialdocolin.id_coline_ori=0, \'T\', IFNULL((SELECT IF(o.estado!=\'D\', o.estado, IF(o.cod_motivo_cancela=\'\', \'T\', \'D\')) FROM quartup1.cialdocolin AS o WHERE o.id_coline=cialdocolin.id_coline_ori), \'T\'))) AS sw_cancela_origen,  (SELECT cod_cuenta_vta_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_bas,  (SELECT cod_cuenta_vta_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_abo,  (SELECT cod_cuenta_com_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_bas,  (SELECT cod_cuenta_com_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_abo FROM quartup1.cialdocolin LEFT JOIN quartup1.maesarti AS Rcod_articulo ON Rcod_articulo.nivel=\'1\' AND Rcod_articulo.cod_articulo=cialdocolin.cod_articulo LEFT JOIN quartup1.maestiva AS Rcod_tipo_iva ON Rcod_tipo_iva.cod_tipo_iva=cialdocolin.cod_tipo_iva WHERE (cialdocolin.id_cocabe)=(1220160020020140) AND (cialdocolin.id_coline_kit=0)   ORDER BY cialdocolin.id_cocabe ASC, cialdocolin.linea ASC ','0','4800 (4904 sql rows affected)',813,614035,230562912,254387,1),(452,'2016-06-13',112001,'21:20:08','N','S','S','Fikalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp0vZInX /var/www/quartup.outs/temp/iophpbtMKOk N\n(ok)','0','0 (60562 skipped) (0 sql rows affected)',41,614035,253922288,254387,1),(452,'2016-06-13',113001,'21:20:08','N','S','S','Ficalb','CREATE TEMPORARY TABLE tempficalb (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'AV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficalb ON cialdocolin.id_cocabe=tempficalb.id_cocabe WHERE cialdocolin.soporte=\'AV\' AND tempficalb.fecha>=\'20160517\' AND tempficalb.fecha<=\'99991231\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'AV\' AND cialdoco.fecha>=\'20160517\' AND cialdoco.fecha<=\'99991231\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpFxCRx4 /var/www/quartup.outs/temp/iophpCeDZgO N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql7YRDtN\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','0','811 (811 sql rows affected)',8,614035,254443328,254387,1),(452,'2016-06-13',114001,'21:20:08','N','S','S','Filalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpk8nK0Q /var/www/quartup.outs/temp/iophp2afSxU N\n(ok)\n-----\nRecálculo de totales. 811 docs. reconstruídos.\n\nSegundos invertidos: 605.33711504936\n-----\nSELECT cialdocolin.id_cocabe,  cialdocolin.linea,  cialdocolin.fecha,  cialdocolin.fecha_validez,  cialdocolin.fec_entre_ped,  cialdocolin.fec_entre_pre,  cialdocolin.cod_articulo,  cialdocolin.id_maescombart,  cialdocolin.estruc_ela,  cialdocolin.id_coline_kit,  cialdocolin.cod_almacen_pre,  cialdocolin.cod_almacen,  cialdocolin.cod_ubicacion,  cialdocolin.num_lote,  cialdocolin.cod_und_emb,  cialdocolin.nombre,  cialdocolin.cantidad,  cialdocolin.cod_tarifa,  cialdocolin.preivi_mone,  cialdocolin.precio_mone,  cialdocolin.descuentos,  cialdocolin.importe_mone,  cialdocolin.impoivi_mone,  cialdocolin.preivi_euro,  cialdocolin.precio_euro,  cialdocolin.importe_euro,  cialdocolin.bultos,  cialdocolin.peso_neto,  cialdocolin.peso,  cialdocolin.cod_unidad_medida,  cialdocolin.cambio_embalaje,  cialdocolin.cant_emb,  cialdocolin.sw_reserva,  cialdocolin.cant_reserva,  cialdocolin.cod_unidad_compra,  cialdocolin.factor_compra,  cialdocolin.cod_unidad_venta,  cialdocolin.factor_venta,  cialdocolin.coste_alm_euro,  cialdocolin.coste_ule_euro,  cialdocolin.coste_man_euro,  cialdocolin.cod_cuenta,  cialdocolin.num_dien,  cialdocolin.cod_lugar,  cialdocolin.estado,  cialdocolin.cod_motivo_cancela,  cialdocolin.cant_ser,  cialdocolin.cant_emb_ser,  cialdocolin.soporte_ori,  cialdocolin.id_cocabe_ori,  cialdocolin.canal_ori,  cialdocolin.id_coline_ori,  cialdocolin.observaciones,  cialdocolin.cod_cuenta_bas,  cialdocolin.cod_tipo_iva,  cialdocolin.tpc_iva,  cialdocolin.tpc_rec,  cialdocolin.sw_dto,  cialdocolin.sw_fin,  cialdocolin.sw_irpf,  cialdocolin.soporte,  cialdocolin.canal,  cialdocolin.id_coline,  cialdocolin.sw_inhabitual,  cialdocolin.sw_recuadro,  cialdocolin.sw_negrita,  cialdocolin.sw_subrayado,  cialdocolin.sw_imprimir,  cialdocolin.sw_imprimir_img,  cialdocolin.enlace_soporte,  cialdocolin.enlace_canal,  cialdocolin.enlace_id_cocabe,  cialdocolin.enlace_id_coline,  cialdocolin.enlace_linea,  cialdocolin.enlace_sw_marca,  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_articulo.acceso AS \'Rcod_articulo_acceso\',  Rcod_articulo.nombre AS \'Rcod_articulo_nombre\',  Rcod_articulo.nombre_adi AS \'Rcod_articulo_nombre_adi\',  Rcod_articulo.cod_articulo_par AS \'Rcod_articulo_cod_articulo_par\',  Rcod_articulo.cod_familia_1 AS \'Rcod_articulo_cod_familia_1\',  Rcod_articulo.cod_familia_2 AS \'Rcod_articulo_cod_familia_2\',  Rcod_articulo.cod_familia_3 AS \'Rcod_articulo_cod_familia_3\',  Rcod_articulo.cod_familia_4 AS \'Rcod_articulo_cod_familia_4\',  Rcod_articulo.cod_familia_5 AS \'Rcod_articulo_cod_familia_5\',  Rcod_articulo.cod_cuenta_prov AS \'Rcod_articulo_cod_cuenta_prov\',  Rcod_articulo.sw_historico AS \'Rcod_articulo_sw_historico\',  Rcod_articulo.cod_barras AS \'Rcod_articulo_cod_barras\',  Rcod_articulo.id_maesartimar AS \'Rcod_articulo_id_maesartimar\',  Rcod_articulo.cod_esta_1 AS \'Rcod_articulo_cod_esta_1\',  Rcod_articulo.cod_esta_2 AS \'Rcod_articulo_cod_esta_2\',  Rcod_articulo.cod_esta_3 AS \'Rcod_articulo_cod_esta_3\',  Rcod_articulo.cod_nc_taric AS \'Rcod_articulo_cod_nc_taric\',  Rcod_articulo.num_puntos AS \'Rcod_articulo_num_puntos\',  Rcod_articulo.sw_dtos_modificable AS \'Rcod_articulo_sw_dtos_modificable\',  Rcod_articulo.precio_teorico AS \'Rcod_articulo_precio_teorico\',  Rcod_articulo.fecha_teo AS \'Rcod_articulo_fecha_teo\',  Rcod_articulo.fecha_alta AS \'Rcod_articulo_fecha_alta\',  Rcod_articulo.sw_estadistica AS \'Rcod_articulo_sw_estadistica\',  Rcod_articulo.fecha_baja AS \'Rcod_articulo_fecha_baja\',  Rcod_articulo.id_maesarti AS \'Rcod_articulo_id_maesarti\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_texto AS \'Rcod_articulo_cod_texto\',  Rcod_articulo.observaciones AS \'Rcod_articulo_observaciones\',  Rcod_articulo.sw_ver_agentes AS \'Rcod_articulo_sw_ver_agentes\',  Rcod_articulo.cod_repres AS \'Rcod_articulo_cod_repres\',  Rcod_articulo.base_comi AS \'Rcod_articulo_base_comi\',  Rcod_articulo.tpc_comi_dir AS \'Rcod_articulo_tpc_comi_dir\',  Rcod_articulo.tipo_articulo AS \'Rcod_articulo_tipo_articulo\',  Rcod_articulo.sw_alma_ubic AS \'Rcod_articulo_sw_alma_ubic\',  Rcod_articulo.sw_alma_emba AS \'Rcod_articulo_sw_alma_emba\',  Rcod_articulo.cantidad_base AS \'Rcod_articulo_cantidad_base\',  Rcod_articulo.cod_almacen AS \'Rcod_articulo_cod_almacen\',  Rcod_articulo.cuen_arti_almacen AS \'Rcod_articulo_cuen_arti_almacen\',  Rcod_articulo.cod_etiqueta AS \'Rcod_articulo_cod_etiqueta\',  Rcod_articulo.cod_unidad_medida AS \'Rcod_articulo_cod_unidad_medida\',  Rcod_articulo.cod_unidad_compra AS \'Rcod_articulo_cod_unidad_compra\',  Rcod_articulo.factor_compra AS \'Rcod_articulo_factor_compra\',  Rcod_articulo.cod_unidad_venta AS \'Rcod_articulo_cod_unidad_venta\',  Rcod_articulo.factor_venta AS \'Rcod_articulo_factor_venta\',  Rcod_articulo.stock_min AS \'Rcod_articulo_stock_min\',  Rcod_articulo.stock_max AS \'Rcod_articulo_stock_max\',  Rcod_articulo.stock_pup AS \'Rcod_articulo_stock_pup\',  Rcod_articulo.comunitario AS \'Rcod_articulo_comunitario\',  Rcod_articulo.partida_arancel AS \'Rcod_articulo_partida_arancel\',  Rcod_articulo.cod_nacion AS \'Rcod_articulo_cod_nacion\',  Rcod_articulo.sw_impuesto_esp AS \'Rcod_articulo_sw_impuesto_esp\',  Rcod_articulo.sw_rapel AS \'Rcod_articulo_sw_rapel\',  Rcod_articulo.cod_tipo_iva AS \'Rcod_articulo_cod_tipo_iva\',  Rcod_articulo.cod_cuenta_vta_bas AS \'Rcod_articulo_cod_cuenta_vta_bas\',  Rcod_articulo.cod_cuenta_vta_abo AS \'Rcod_articulo_cod_cuenta_vta_abo\',  Rcod_articulo.cod_cuenta_com_bas AS \'Rcod_articulo_cod_cuenta_com_bas\',  Rcod_articulo.cod_cuenta_com_abo AS \'Rcod_articulo_cod_cuenta_com_abo\',  Rcod_articulo.cod_cuenta_inve AS \'Rcod_articulo_cod_cuenta_inve\',  Rcod_articulo.id_cialceco AS \'Rcod_articulo_id_cialceco\',  Rcod_articulo.cod_analitica AS \'Rcod_articulo_cod_analitica\',  Rcod_articulo.image_file AS \'Rcod_articulo_image_file\',  Rcod_articulo.image_file1 AS \'Rcod_articulo_image_file1\',  Rcod_articulo.image_file2 AS \'Rcod_articulo_image_file2\',  Rcod_articulo.image_file3 AS \'Rcod_articulo_image_file3\',  Rcod_articulo.sw_web AS \'Rcod_articulo_sw_web\',  Rcod_articulo.sw_send_stock_ecomm AS \'Rcod_articulo_sw_send_stock_ecomm\',  Rcod_articulo.nivel_publica AS \'Rcod_articulo_nivel_publica\',  Rcod_articulo.html_1 AS \'Rcod_articulo_html_1\',  Rcod_articulo.cod_und_emb AS \'Rcod_articulo_cod_und_emb\',  Rcod_articulo.cambio_embalaje AS \'Rcod_articulo_cambio_embalaje\',  Rcod_articulo.alto AS \'Rcod_articulo_alto\',  Rcod_articulo.cod_unidad_alto AS \'Rcod_articulo_cod_unidad_alto\',  Rcod_articulo.largo AS \'Rcod_articulo_largo\',  Rcod_articulo.cod_unidad_largo AS \'Rcod_articulo_cod_unidad_largo\',  Rcod_articulo.ancho AS \'Rcod_articulo_ancho\',  Rcod_articulo.cod_unidad_ancho AS \'Rcod_articulo_cod_unidad_ancho\',  Rcod_articulo.peso_unitario AS \'Rcod_articulo_peso_unitario\',  Rcod_articulo.peso_unit_bruto AS \'Rcod_articulo_peso_unit_bruto\',  Rcod_articulo.densidad_long AS \'Rcod_articulo_densidad_long\',  Rcod_articulo.cod_unidad_peso_long AS \'Rcod_articulo_cod_unidad_peso_long\',  Rcod_articulo.cod_unidad_long AS \'Rcod_articulo_cod_unidad_long\',  Rcod_articulo.densidad_supe AS \'Rcod_articulo_densidad_supe\',  Rcod_articulo.cod_unidad_peso_supe AS \'Rcod_articulo_cod_unidad_peso_supe\',  Rcod_articulo.cod_unidad_supe AS \'Rcod_articulo_cod_unidad_supe\',  Rcod_articulo.densidad_volu AS \'Rcod_articulo_densidad_volu\',  Rcod_articulo.cod_unidad_peso_volu AS \'Rcod_articulo_cod_unidad_peso_volu\',  Rcod_articulo.cod_unidad_volu AS \'Rcod_articulo_cod_unidad_volu\',  Rcod_articulo.cod_tole_medi AS \'Rcod_articulo_cod_tole_medi\',  Rcod_articulo.cod_pla_par AS \'Rcod_articulo_cod_pla_par\',  Rcod_articulo.cod_dete AS \'Rcod_articulo_cod_dete\',  Rcod_articulo.texto_ficha_tec AS \'Rcod_articulo_texto_ficha_tec\',  Rcod_articulo.nivel_calidad AS \'Rcod_articulo_nivel_calidad\',  Rcod_articulo.num_tole_mues AS \'Rcod_articulo_num_tole_mues\',  Rcod_articulo.cod_deca AS \'Rcod_articulo_cod_deca\',  Rcod_articulo.texto_ficha_cal AS \'Rcod_articulo_texto_ficha_cal\',  Rcod_articulo.tipo_materia AS \'Rcod_articulo_tipo_materia\',  Rcod_articulo.sw_kit AS \'Rcod_articulo_sw_kit\',  Rcod_articulo.cod_almacen_mat AS \'Rcod_articulo_cod_almacen_mat\',  Rcod_articulo.cod_unidad_fabr AS \'Rcod_articulo_cod_unidad_fabr\',  Rcod_articulo.factor_fabr AS \'Rcod_articulo_factor_fabr\',  Rcod_articulo.cod_unidad_cons AS \'Rcod_articulo_cod_unidad_cons\',  Rcod_articulo.factor_cons AS \'Rcod_articulo_factor_cons\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  Rcod_tipo_iva.nombre AS \'Rcod_tipo_iva_nombre\',  Rcod_tipo_iva.tpc_iva AS \'Rcod_tipo_iva_tpc_iva\',  Rcod_tipo_iva.tpc_rec AS \'Rcod_tipo_iva_tpc_rec\',  Rcod_tipo_iva.sw_tpc_303 AS \'Rcod_tipo_iva_sw_tpc_303\',  Rcod_tipo_iva.id_ps_iva AS \'Rcod_tipo_iva_id_ps_iva\',  Rcod_tipo_iva.id_ps_rec AS \'Rcod_tipo_iva_id_ps_rec\',  Rcod_tipo_iva.id_group_ps_iva AS \'Rcod_tipo_iva_id_group_ps_iva\',  Rcod_tipo_iva.sw_dto AS \'Rcod_tipo_iva_sw_dto\',  Rcod_tipo_iva.sw_fin AS \'Rcod_tipo_iva_sw_fin\',  Rcod_tipo_iva.sw_irpf AS \'Rcod_tipo_iva_sw_irpf\',  Rcod_tipo_iva.sw_iva_incluido AS \'Rcod_tipo_iva_sw_iva_incluido\',  Rcod_tipo_iva.cod_cuenta_com_bas AS \'Rcod_tipo_iva_cod_cuenta_com_bas\',  Rcod_tipo_iva.cod_cuenta_com_abo AS \'Rcod_tipo_iva_cod_cuenta_com_abo\',  Rcod_tipo_iva.cod_cuenta_com_iva AS \'Rcod_tipo_iva_cod_cuenta_com_iva\',  Rcod_tipo_iva.cod_cuenta_com_rec AS \'Rcod_tipo_iva_cod_cuenta_com_rec\',  Rcod_tipo_iva.cod_cuenta_vta_bas AS \'Rcod_tipo_iva_cod_cuenta_vta_bas\',  Rcod_tipo_iva.cod_cuenta_vta_abo AS \'Rcod_tipo_iva_cod_cuenta_vta_abo\',  Rcod_tipo_iva.cod_cuenta_vta_iva AS \'Rcod_tipo_iva_cod_cuenta_vta_iva\',  Rcod_tipo_iva.cod_cuenta_vta_rec AS \'Rcod_tipo_iva_cod_cuenta_vta_rec\',  Rcod_tipo_iva.cta_iva_sop_autofra AS \'Rcod_tipo_iva_cta_iva_sop_autofra\',  Rcod_tipo_iva.cta_iva_rep_autofra AS \'Rcod_tipo_iva_cta_iva_rep_autofra\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  (IF(cialdocolin.estruc_ela!=0, \'C\', IF(cialdocolin.id_coline_kit!=0, \'L\', \'N\'))) AS sw_kit_sql,  (cialdocoGetSqlEstado(cialdocolin.id_cocabe, cialdocolin.id_coline, cialdocolin.estado, cialdocolin.cod_motivo_cancela)) AS sql_estado,  (IF(cialdocolin.cod_motivo_cancela=\'\', \'N\', \'S\')) AS sw_cancela,  (IF(cialdocolin.id_coline_ori=0, \'T\', IFNULL((SELECT IF(o.estado!=\'D\', o.estado, IF(o.cod_motivo_cancela=\'\', \'T\', \'D\')) FROM quartup1.cialdocolin AS o WHERE o.id_coline=cialdocolin.id_coline_ori), \'T\'))) AS sw_cancela_origen,  (SELECT cod_cuenta_vta_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_bas,  (SELECT cod_cuenta_vta_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_abo,  (SELECT cod_cuenta_com_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_bas,  (SELECT cod_cuenta_com_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_abo FROM quartup1.cialdocolin LEFT JOIN quartup1.maesarti AS Rcod_articulo ON Rcod_articulo.nivel=\'1\' AND Rcod_articulo.cod_articulo=cialdocolin.cod_articulo LEFT JOIN quartup1.maestiva AS Rcod_tipo_iva ON Rcod_tipo_iva.cod_tipo_iva=cialdocolin.cod_tipo_iva WHERE (cialdocolin.id_cocabe)=(2220160060020043) AND (cialdocolin.id_coline_kit=0)   ORDER BY cialdocolin.id_cocabe ASC, cialdocolin.linea ASC ','0','4181 (4181 sql rows affected)',625,614035,258715720,254387,1),(452,'2016-06-13',115001,'21:20:08','N','S','S','Fisalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpOude40 /var/www/quartup.outs/temp/iophph5oQE6 N\n(ok)','0','0 (8344 skipped) (0 sql rows affected)',55,614035,261376064,254387,1),(452,'2016-06-13',122001,'21:20:08','N','S','S','Fikfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpuEBsFc /var/www/quartup.outs/temp/iophpom85Fi N\n(ok)','0','0 (92450 skipped) (0 sql rows affected)',59,614035,290172664,254387,1),(452,'2016-06-13',123001,'21:20:08','N','S','S','Ficfac','CREATE TEMPORARY TABLE tempficfac (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'FV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficfac ON cialdocolin.id_cocabe=tempficfac.id_cocabe WHERE cialdocolin.soporte=\'FV\' AND tempficfac.fecha>=\'20160517\' AND tempficfac.fecha<=\'99991231\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'FV\' AND cialdoco.fecha>=\'20160517\' AND cialdoco.fecha<=\'99991231\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpAKl04J /var/www/quartup.outs/temp/iophpZLJVtb N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlZSypTF\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','0','515 (515 sql rows affected)',4,614035,290672448,254387,1),(452,'2016-06-13',124001,'21:20:08','N','S','S','Filfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpAIkmOc /var/www/quartup.outs/temp/iophpLVCjJJ N\n(ok)\n-----\nRecálculo de totales. 515 docs. reconstruídos.\n\nSegundos invertidos: 392.3540661335\n-----\nSELECT cialdocolin.id_cocabe,  cialdocolin.linea,  cialdocolin.fecha,  cialdocolin.fecha_validez,  cialdocolin.fec_entre_ped,  cialdocolin.fec_entre_pre,  cialdocolin.cod_articulo,  cialdocolin.id_maescombart,  cialdocolin.estruc_ela,  cialdocolin.id_coline_kit,  cialdocolin.cod_almacen_pre,  cialdocolin.cod_almacen,  cialdocolin.cod_ubicacion,  cialdocolin.num_lote,  cialdocolin.cod_und_emb,  cialdocolin.nombre,  cialdocolin.cantidad,  cialdocolin.cod_tarifa,  cialdocolin.preivi_mone,  cialdocolin.precio_mone,  cialdocolin.descuentos,  cialdocolin.importe_mone,  cialdocolin.impoivi_mone,  cialdocolin.preivi_euro,  cialdocolin.precio_euro,  cialdocolin.importe_euro,  cialdocolin.bultos,  cialdocolin.peso_neto,  cialdocolin.peso,  cialdocolin.cod_unidad_medida,  cialdocolin.cambio_embalaje,  cialdocolin.cant_emb,  cialdocolin.sw_reserva,  cialdocolin.cant_reserva,  cialdocolin.cod_unidad_compra,  cialdocolin.factor_compra,  cialdocolin.cod_unidad_venta,  cialdocolin.factor_venta,  cialdocolin.coste_alm_euro,  cialdocolin.coste_ule_euro,  cialdocolin.coste_man_euro,  cialdocolin.cod_cuenta,  cialdocolin.num_dien,  cialdocolin.cod_lugar,  cialdocolin.estado,  cialdocolin.cod_motivo_cancela,  cialdocolin.cant_ser,  cialdocolin.cant_emb_ser,  cialdocolin.soporte_ori,  cialdocolin.id_cocabe_ori,  cialdocolin.canal_ori,  cialdocolin.id_coline_ori,  cialdocolin.observaciones,  cialdocolin.cod_cuenta_bas,  cialdocolin.cod_tipo_iva,  cialdocolin.tpc_iva,  cialdocolin.tpc_rec,  cialdocolin.sw_dto,  cialdocolin.sw_fin,  cialdocolin.sw_irpf,  cialdocolin.soporte,  cialdocolin.canal,  cialdocolin.id_coline,  cialdocolin.sw_inhabitual,  cialdocolin.sw_recuadro,  cialdocolin.sw_negrita,  cialdocolin.sw_subrayado,  cialdocolin.sw_imprimir,  cialdocolin.sw_imprimir_img,  cialdocolin.enlace_soporte,  cialdocolin.enlace_canal,  cialdocolin.enlace_id_cocabe,  cialdocolin.enlace_id_coline,  cialdocolin.enlace_linea,  cialdocolin.enlace_sw_marca,  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_articulo.acceso AS \'Rcod_articulo_acceso\',  Rcod_articulo.nombre AS \'Rcod_articulo_nombre\',  Rcod_articulo.nombre_adi AS \'Rcod_articulo_nombre_adi\',  Rcod_articulo.cod_articulo_par AS \'Rcod_articulo_cod_articulo_par\',  Rcod_articulo.cod_familia_1 AS \'Rcod_articulo_cod_familia_1\',  Rcod_articulo.cod_familia_2 AS \'Rcod_articulo_cod_familia_2\',  Rcod_articulo.cod_familia_3 AS \'Rcod_articulo_cod_familia_3\',  Rcod_articulo.cod_familia_4 AS \'Rcod_articulo_cod_familia_4\',  Rcod_articulo.cod_familia_5 AS \'Rcod_articulo_cod_familia_5\',  Rcod_articulo.cod_cuenta_prov AS \'Rcod_articulo_cod_cuenta_prov\',  Rcod_articulo.sw_historico AS \'Rcod_articulo_sw_historico\',  Rcod_articulo.cod_barras AS \'Rcod_articulo_cod_barras\',  Rcod_articulo.id_maesartimar AS \'Rcod_articulo_id_maesartimar\',  Rcod_articulo.cod_esta_1 AS \'Rcod_articulo_cod_esta_1\',  Rcod_articulo.cod_esta_2 AS \'Rcod_articulo_cod_esta_2\',  Rcod_articulo.cod_esta_3 AS \'Rcod_articulo_cod_esta_3\',  Rcod_articulo.cod_nc_taric AS \'Rcod_articulo_cod_nc_taric\',  Rcod_articulo.num_puntos AS \'Rcod_articulo_num_puntos\',  Rcod_articulo.sw_dtos_modificable AS \'Rcod_articulo_sw_dtos_modificable\',  Rcod_articulo.precio_teorico AS \'Rcod_articulo_precio_teorico\',  Rcod_articulo.fecha_teo AS \'Rcod_articulo_fecha_teo\',  Rcod_articulo.fecha_alta AS \'Rcod_articulo_fecha_alta\',  Rcod_articulo.sw_estadistica AS \'Rcod_articulo_sw_estadistica\',  Rcod_articulo.fecha_baja AS \'Rcod_articulo_fecha_baja\',  Rcod_articulo.id_maesarti AS \'Rcod_articulo_id_maesarti\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_texto AS \'Rcod_articulo_cod_texto\',  Rcod_articulo.observaciones AS \'Rcod_articulo_observaciones\',  Rcod_articulo.sw_ver_agentes AS \'Rcod_articulo_sw_ver_agentes\',  Rcod_articulo.cod_repres AS \'Rcod_articulo_cod_repres\',  Rcod_articulo.base_comi AS \'Rcod_articulo_base_comi\',  Rcod_articulo.tpc_comi_dir AS \'Rcod_articulo_tpc_comi_dir\',  Rcod_articulo.tipo_articulo AS \'Rcod_articulo_tipo_articulo\',  Rcod_articulo.sw_alma_ubic AS \'Rcod_articulo_sw_alma_ubic\',  Rcod_articulo.sw_alma_emba AS \'Rcod_articulo_sw_alma_emba\',  Rcod_articulo.cantidad_base AS \'Rcod_articulo_cantidad_base\',  Rcod_articulo.cod_almacen AS \'Rcod_articulo_cod_almacen\',  Rcod_articulo.cuen_arti_almacen AS \'Rcod_articulo_cuen_arti_almacen\',  Rcod_articulo.cod_etiqueta AS \'Rcod_articulo_cod_etiqueta\',  Rcod_articulo.cod_unidad_medida AS \'Rcod_articulo_cod_unidad_medida\',  Rcod_articulo.cod_unidad_compra AS \'Rcod_articulo_cod_unidad_compra\',  Rcod_articulo.factor_compra AS \'Rcod_articulo_factor_compra\',  Rcod_articulo.cod_unidad_venta AS \'Rcod_articulo_cod_unidad_venta\',  Rcod_articulo.factor_venta AS \'Rcod_articulo_factor_venta\',  Rcod_articulo.stock_min AS \'Rcod_articulo_stock_min\',  Rcod_articulo.stock_max AS \'Rcod_articulo_stock_max\',  Rcod_articulo.stock_pup AS \'Rcod_articulo_stock_pup\',  Rcod_articulo.comunitario AS \'Rcod_articulo_comunitario\',  Rcod_articulo.partida_arancel AS \'Rcod_articulo_partida_arancel\',  Rcod_articulo.cod_nacion AS \'Rcod_articulo_cod_nacion\',  Rcod_articulo.sw_impuesto_esp AS \'Rcod_articulo_sw_impuesto_esp\',  Rcod_articulo.sw_rapel AS \'Rcod_articulo_sw_rapel\',  Rcod_articulo.cod_tipo_iva AS \'Rcod_articulo_cod_tipo_iva\',  Rcod_articulo.cod_cuenta_vta_bas AS \'Rcod_articulo_cod_cuenta_vta_bas\',  Rcod_articulo.cod_cuenta_vta_abo AS \'Rcod_articulo_cod_cuenta_vta_abo\',  Rcod_articulo.cod_cuenta_com_bas AS \'Rcod_articulo_cod_cuenta_com_bas\',  Rcod_articulo.cod_cuenta_com_abo AS \'Rcod_articulo_cod_cuenta_com_abo\',  Rcod_articulo.cod_cuenta_inve AS \'Rcod_articulo_cod_cuenta_inve\',  Rcod_articulo.id_cialceco AS \'Rcod_articulo_id_cialceco\',  Rcod_articulo.cod_analitica AS \'Rcod_articulo_cod_analitica\',  Rcod_articulo.image_file AS \'Rcod_articulo_image_file\',  Rcod_articulo.image_file1 AS \'Rcod_articulo_image_file1\',  Rcod_articulo.image_file2 AS \'Rcod_articulo_image_file2\',  Rcod_articulo.image_file3 AS \'Rcod_articulo_image_file3\',  Rcod_articulo.sw_web AS \'Rcod_articulo_sw_web\',  Rcod_articulo.sw_send_stock_ecomm AS \'Rcod_articulo_sw_send_stock_ecomm\',  Rcod_articulo.nivel_publica AS \'Rcod_articulo_nivel_publica\',  Rcod_articulo.html_1 AS \'Rcod_articulo_html_1\',  Rcod_articulo.cod_und_emb AS \'Rcod_articulo_cod_und_emb\',  Rcod_articulo.cambio_embalaje AS \'Rcod_articulo_cambio_embalaje\',  Rcod_articulo.alto AS \'Rcod_articulo_alto\',  Rcod_articulo.cod_unidad_alto AS \'Rcod_articulo_cod_unidad_alto\',  Rcod_articulo.largo AS \'Rcod_articulo_largo\',  Rcod_articulo.cod_unidad_largo AS \'Rcod_articulo_cod_unidad_largo\',  Rcod_articulo.ancho AS \'Rcod_articulo_ancho\',  Rcod_articulo.cod_unidad_ancho AS \'Rcod_articulo_cod_unidad_ancho\',  Rcod_articulo.peso_unitario AS \'Rcod_articulo_peso_unitario\',  Rcod_articulo.peso_unit_bruto AS \'Rcod_articulo_peso_unit_bruto\',  Rcod_articulo.densidad_long AS \'Rcod_articulo_densidad_long\',  Rcod_articulo.cod_unidad_peso_long AS \'Rcod_articulo_cod_unidad_peso_long\',  Rcod_articulo.cod_unidad_long AS \'Rcod_articulo_cod_unidad_long\',  Rcod_articulo.densidad_supe AS \'Rcod_articulo_densidad_supe\',  Rcod_articulo.cod_unidad_peso_supe AS \'Rcod_articulo_cod_unidad_peso_supe\',  Rcod_articulo.cod_unidad_supe AS \'Rcod_articulo_cod_unidad_supe\',  Rcod_articulo.densidad_volu AS \'Rcod_articulo_densidad_volu\',  Rcod_articulo.cod_unidad_peso_volu AS \'Rcod_articulo_cod_unidad_peso_volu\',  Rcod_articulo.cod_unidad_volu AS \'Rcod_articulo_cod_unidad_volu\',  Rcod_articulo.cod_tole_medi AS \'Rcod_articulo_cod_tole_medi\',  Rcod_articulo.cod_pla_par AS \'Rcod_articulo_cod_pla_par\',  Rcod_articulo.cod_dete AS \'Rcod_articulo_cod_dete\',  Rcod_articulo.texto_ficha_tec AS \'Rcod_articulo_texto_ficha_tec\',  Rcod_articulo.nivel_calidad AS \'Rcod_articulo_nivel_calidad\',  Rcod_articulo.num_tole_mues AS \'Rcod_articulo_num_tole_mues\',  Rcod_articulo.cod_deca AS \'Rcod_articulo_cod_deca\',  Rcod_articulo.texto_ficha_cal AS \'Rcod_articulo_texto_ficha_cal\',  Rcod_articulo.tipo_materia AS \'Rcod_articulo_tipo_materia\',  Rcod_articulo.sw_kit AS \'Rcod_articulo_sw_kit\',  Rcod_articulo.cod_almacen_mat AS \'Rcod_articulo_cod_almacen_mat\',  Rcod_articulo.cod_unidad_fabr AS \'Rcod_articulo_cod_unidad_fabr\',  Rcod_articulo.factor_fabr AS \'Rcod_articulo_factor_fabr\',  Rcod_articulo.cod_unidad_cons AS \'Rcod_articulo_cod_unidad_cons\',  Rcod_articulo.factor_cons AS \'Rcod_articulo_factor_cons\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  Rcod_tipo_iva.nombre AS \'Rcod_tipo_iva_nombre\',  Rcod_tipo_iva.tpc_iva AS \'Rcod_tipo_iva_tpc_iva\',  Rcod_tipo_iva.tpc_rec AS \'Rcod_tipo_iva_tpc_rec\',  Rcod_tipo_iva.sw_tpc_303 AS \'Rcod_tipo_iva_sw_tpc_303\',  Rcod_tipo_iva.id_ps_iva AS \'Rcod_tipo_iva_id_ps_iva\',  Rcod_tipo_iva.id_ps_rec AS \'Rcod_tipo_iva_id_ps_rec\',  Rcod_tipo_iva.id_group_ps_iva AS \'Rcod_tipo_iva_id_group_ps_iva\',  Rcod_tipo_iva.sw_dto AS \'Rcod_tipo_iva_sw_dto\',  Rcod_tipo_iva.sw_fin AS \'Rcod_tipo_iva_sw_fin\',  Rcod_tipo_iva.sw_irpf AS \'Rcod_tipo_iva_sw_irpf\',  Rcod_tipo_iva.sw_iva_incluido AS \'Rcod_tipo_iva_sw_iva_incluido\',  Rcod_tipo_iva.cod_cuenta_com_bas AS \'Rcod_tipo_iva_cod_cuenta_com_bas\',  Rcod_tipo_iva.cod_cuenta_com_abo AS \'Rcod_tipo_iva_cod_cuenta_com_abo\',  Rcod_tipo_iva.cod_cuenta_com_iva AS \'Rcod_tipo_iva_cod_cuenta_com_iva\',  Rcod_tipo_iva.cod_cuenta_com_rec AS \'Rcod_tipo_iva_cod_cuenta_com_rec\',  Rcod_tipo_iva.cod_cuenta_vta_bas AS \'Rcod_tipo_iva_cod_cuenta_vta_bas\',  Rcod_tipo_iva.cod_cuenta_vta_abo AS \'Rcod_tipo_iva_cod_cuenta_vta_abo\',  Rcod_tipo_iva.cod_cuenta_vta_iva AS \'Rcod_tipo_iva_cod_cuenta_vta_iva\',  Rcod_tipo_iva.cod_cuenta_vta_rec AS \'Rcod_tipo_iva_cod_cuenta_vta_rec\',  Rcod_tipo_iva.cta_iva_sop_autofra AS \'Rcod_tipo_iva_cta_iva_sop_autofra\',  Rcod_tipo_iva.cta_iva_rep_autofra AS \'Rcod_tipo_iva_cta_iva_rep_autofra\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  (IF(cialdocolin.estruc_ela!=0, \'C\', IF(cialdocolin.id_coline_kit!=0, \'L\', \'N\'))) AS sw_kit_sql,  (cialdocoGetSqlEstado(cialdocolin.id_cocabe, cialdocolin.id_coline, cialdocolin.estado, cialdocolin.cod_motivo_cancela)) AS sql_estado,  (IF(cialdocolin.cod_motivo_cancela=\'\', \'N\', \'S\')) AS sw_cancela,  (IF(cialdocolin.id_coline_ori=0, \'T\', IFNULL((SELECT IF(o.estado!=\'D\', o.estado, IF(o.cod_motivo_cancela=\'\', \'T\', \'D\')) FROM quartup1.cialdocolin AS o WHERE o.id_coline=cialdocolin.id_coline_ori), \'T\'))) AS sw_cancela_origen,  (SELECT cod_cuenta_vta_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_bas,  (SELECT cod_cuenta_vta_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_abo,  (SELECT cod_cuenta_com_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_bas,  (SELECT cod_cuenta_com_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_abo FROM quartup1.cialdocolin LEFT JOIN quartup1.maesarti AS Rcod_articulo ON Rcod_articulo.nivel=\'1\' AND Rcod_articulo.cod_articulo=cialdocolin.cod_articulo LEFT JOIN quartup1.maestiva AS Rcod_tipo_iva ON Rcod_tipo_iva.cod_tipo_iva=cialdocolin.cod_tipo_iva WHERE (cialdocolin.id_cocabe)=(3220160080030264) AND (cialdocolin.id_coline_kit=0)   ORDER BY cialdocolin.id_cocabe ASC, cialdocolin.linea ASC ','0','4503 (4503 sql rows affected)',403,614035,295802728,254387,1),(452,'2016-06-13',125001,'21:20:08','N','S','S','Fisfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpY6NNqc /var/www/quartup.outs/temp/iophp1C0bHF N\n(ok)','0','0 (10171 skipped) (0 sql rows affected)',41,614035,298907600,254387,1),(452,'2016-06-13',131001,'21:20:08','N','S','S','Ficpec','CREATE TEMPORARY TABLE tempficpec (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'PC\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficpec ON cialdocolin.id_cocabe=tempficpec.id_cocabe WHERE cialdocolin.soporte=\'PC\' AND tempficpec.fecha>=\'20160517\' AND tempficpec.fecha<=\'99991231\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'PC\' AND cialdoco.fecha>=\'20160517\' AND cialdoco.fecha<=\'99991231\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophppYbFkz /var/www/quartup.outs/temp/iophpLOE9Xs N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlfVnTrr\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','0','548 (548 sql rows affected)',5,614035,297928752,254387,1),(452,'2016-06-13',132001,'21:20:08','N','S','S','Filpec','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpAtvV8s /var/www/quartup.outs/temp/iophpuXsYPu N\n(ok)\n-----\nRecálculo de totales. 548 docs. reconstruídos.\nEl año de la \"Fecha documento\" (2080)\n   no coincide con el de la numeración (2009).\nCambie alguno de los dos.\nSegundos invertidos: 413.99156999588\n-----\nSELECT cialdocolin.id_cocabe,  cialdocolin.linea,  cialdocolin.fecha,  cialdocolin.fecha_validez,  cialdocolin.fec_entre_ped,  cialdocolin.fec_entre_pre,  cialdocolin.cod_articulo,  cialdocolin.id_maescombart,  cialdocolin.estruc_ela,  cialdocolin.id_coline_kit,  cialdocolin.cod_almacen_pre,  cialdocolin.cod_almacen,  cialdocolin.cod_ubicacion,  cialdocolin.num_lote,  cialdocolin.cod_und_emb,  cialdocolin.nombre,  cialdocolin.cantidad,  cialdocolin.cod_tarifa,  cialdocolin.preivi_mone,  cialdocolin.precio_mone,  cialdocolin.descuentos,  cialdocolin.importe_mone,  cialdocolin.impoivi_mone,  cialdocolin.preivi_euro,  cialdocolin.precio_euro,  cialdocolin.importe_euro,  cialdocolin.bultos,  cialdocolin.peso_neto,  cialdocolin.peso,  cialdocolin.cod_unidad_medida,  cialdocolin.cambio_embalaje,  cialdocolin.cant_emb,  cialdocolin.sw_reserva,  cialdocolin.cant_reserva,  cialdocolin.cod_unidad_compra,  cialdocolin.factor_compra,  cialdocolin.cod_unidad_venta,  cialdocolin.factor_venta,  cialdocolin.coste_alm_euro,  cialdocolin.coste_ule_euro,  cialdocolin.coste_man_euro,  cialdocolin.cod_cuenta,  cialdocolin.num_dien,  cialdocolin.cod_lugar,  cialdocolin.estado,  cialdocolin.cod_motivo_cancela,  cialdocolin.cant_ser,  cialdocolin.cant_emb_ser,  cialdocolin.soporte_ori,  cialdocolin.id_cocabe_ori,  cialdocolin.canal_ori,  cialdocolin.id_coline_ori,  cialdocolin.observaciones,  cialdocolin.cod_cuenta_bas,  cialdocolin.cod_tipo_iva,  cialdocolin.tpc_iva,  cialdocolin.tpc_rec,  cialdocolin.sw_dto,  cialdocolin.sw_fin,  cialdocolin.sw_irpf,  cialdocolin.soporte,  cialdocolin.canal,  cialdocolin.id_coline,  cialdocolin.sw_inhabitual,  cialdocolin.sw_recuadro,  cialdocolin.sw_negrita,  cialdocolin.sw_subrayado,  cialdocolin.sw_imprimir,  cialdocolin.sw_imprimir_img,  cialdocolin.enlace_soporte,  cialdocolin.enlace_canal,  cialdocolin.enlace_id_cocabe,  cialdocolin.enlace_id_coline,  cialdocolin.enlace_linea,  cialdocolin.enlace_sw_marca,  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_articulo.acceso AS \'Rcod_articulo_acceso\',  Rcod_articulo.nombre AS \'Rcod_articulo_nombre\',  Rcod_articulo.nombre_adi AS \'Rcod_articulo_nombre_adi\',  Rcod_articulo.cod_articulo_par AS \'Rcod_articulo_cod_articulo_par\',  Rcod_articulo.cod_familia_1 AS \'Rcod_articulo_cod_familia_1\',  Rcod_articulo.cod_familia_2 AS \'Rcod_articulo_cod_familia_2\',  Rcod_articulo.cod_familia_3 AS \'Rcod_articulo_cod_familia_3\',  Rcod_articulo.cod_familia_4 AS \'Rcod_articulo_cod_familia_4\',  Rcod_articulo.cod_familia_5 AS \'Rcod_articulo_cod_familia_5\',  Rcod_articulo.cod_cuenta_prov AS \'Rcod_articulo_cod_cuenta_prov\',  Rcod_articulo.sw_historico AS \'Rcod_articulo_sw_historico\',  Rcod_articulo.cod_barras AS \'Rcod_articulo_cod_barras\',  Rcod_articulo.id_maesartimar AS \'Rcod_articulo_id_maesartimar\',  Rcod_articulo.cod_esta_1 AS \'Rcod_articulo_cod_esta_1\',  Rcod_articulo.cod_esta_2 AS \'Rcod_articulo_cod_esta_2\',  Rcod_articulo.cod_esta_3 AS \'Rcod_articulo_cod_esta_3\',  Rcod_articulo.cod_nc_taric AS \'Rcod_articulo_cod_nc_taric\',  Rcod_articulo.num_puntos AS \'Rcod_articulo_num_puntos\',  Rcod_articulo.sw_dtos_modificable AS \'Rcod_articulo_sw_dtos_modificable\',  Rcod_articulo.precio_teorico AS \'Rcod_articulo_precio_teorico\',  Rcod_articulo.fecha_teo AS \'Rcod_articulo_fecha_teo\',  Rcod_articulo.fecha_alta AS \'Rcod_articulo_fecha_alta\',  Rcod_articulo.sw_estadistica AS \'Rcod_articulo_sw_estadistica\',  Rcod_articulo.fecha_baja AS \'Rcod_articulo_fecha_baja\',  Rcod_articulo.id_maesarti AS \'Rcod_articulo_id_maesarti\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_texto AS \'Rcod_articulo_cod_texto\',  Rcod_articulo.observaciones AS \'Rcod_articulo_observaciones\',  Rcod_articulo.sw_ver_agentes AS \'Rcod_articulo_sw_ver_agentes\',  Rcod_articulo.cod_repres AS \'Rcod_articulo_cod_repres\',  Rcod_articulo.base_comi AS \'Rcod_articulo_base_comi\',  Rcod_articulo.tpc_comi_dir AS \'Rcod_articulo_tpc_comi_dir\',  Rcod_articulo.tipo_articulo AS \'Rcod_articulo_tipo_articulo\',  Rcod_articulo.sw_alma_ubic AS \'Rcod_articulo_sw_alma_ubic\',  Rcod_articulo.sw_alma_emba AS \'Rcod_articulo_sw_alma_emba\',  Rcod_articulo.cantidad_base AS \'Rcod_articulo_cantidad_base\',  Rcod_articulo.cod_almacen AS \'Rcod_articulo_cod_almacen\',  Rcod_articulo.cuen_arti_almacen AS \'Rcod_articulo_cuen_arti_almacen\',  Rcod_articulo.cod_etiqueta AS \'Rcod_articulo_cod_etiqueta\',  Rcod_articulo.cod_unidad_medida AS \'Rcod_articulo_cod_unidad_medida\',  Rcod_articulo.cod_unidad_compra AS \'Rcod_articulo_cod_unidad_compra\',  Rcod_articulo.factor_compra AS \'Rcod_articulo_factor_compra\',  Rcod_articulo.cod_unidad_venta AS \'Rcod_articulo_cod_unidad_venta\',  Rcod_articulo.factor_venta AS \'Rcod_articulo_factor_venta\',  Rcod_articulo.stock_min AS \'Rcod_articulo_stock_min\',  Rcod_articulo.stock_max AS \'Rcod_articulo_stock_max\',  Rcod_articulo.stock_pup AS \'Rcod_articulo_stock_pup\',  Rcod_articulo.comunitario AS \'Rcod_articulo_comunitario\',  Rcod_articulo.partida_arancel AS \'Rcod_articulo_partida_arancel\',  Rcod_articulo.cod_nacion AS \'Rcod_articulo_cod_nacion\',  Rcod_articulo.sw_impuesto_esp AS \'Rcod_articulo_sw_impuesto_esp\',  Rcod_articulo.sw_rapel AS \'Rcod_articulo_sw_rapel\',  Rcod_articulo.cod_tipo_iva AS \'Rcod_articulo_cod_tipo_iva\',  Rcod_articulo.cod_cuenta_vta_bas AS \'Rcod_articulo_cod_cuenta_vta_bas\',  Rcod_articulo.cod_cuenta_vta_abo AS \'Rcod_articulo_cod_cuenta_vta_abo\',  Rcod_articulo.cod_cuenta_com_bas AS \'Rcod_articulo_cod_cuenta_com_bas\',  Rcod_articulo.cod_cuenta_com_abo AS \'Rcod_articulo_cod_cuenta_com_abo\',  Rcod_articulo.cod_cuenta_inve AS \'Rcod_articulo_cod_cuenta_inve\',  Rcod_articulo.id_cialceco AS \'Rcod_articulo_id_cialceco\',  Rcod_articulo.cod_analitica AS \'Rcod_articulo_cod_analitica\',  Rcod_articulo.image_file AS \'Rcod_articulo_image_file\',  Rcod_articulo.image_file1 AS \'Rcod_articulo_image_file1\',  Rcod_articulo.image_file2 AS \'Rcod_articulo_image_file2\',  Rcod_articulo.image_file3 AS \'Rcod_articulo_image_file3\',  Rcod_articulo.sw_web AS \'Rcod_articulo_sw_web\',  Rcod_articulo.sw_send_stock_ecomm AS \'Rcod_articulo_sw_send_stock_ecomm\',  Rcod_articulo.nivel_publica AS \'Rcod_articulo_nivel_publica\',  Rcod_articulo.html_1 AS \'Rcod_articulo_html_1\',  Rcod_articulo.cod_und_emb AS \'Rcod_articulo_cod_und_emb\',  Rcod_articulo.cambio_embalaje AS \'Rcod_articulo_cambio_embalaje\',  Rcod_articulo.alto AS \'Rcod_articulo_alto\',  Rcod_articulo.cod_unidad_alto AS \'Rcod_articulo_cod_unidad_alto\',  Rcod_articulo.largo AS \'Rcod_articulo_largo\',  Rcod_articulo.cod_unidad_largo AS \'Rcod_articulo_cod_unidad_largo\',  Rcod_articulo.ancho AS \'Rcod_articulo_ancho\',  Rcod_articulo.cod_unidad_ancho AS \'Rcod_articulo_cod_unidad_ancho\',  Rcod_articulo.peso_unitario AS \'Rcod_articulo_peso_unitario\',  Rcod_articulo.peso_unit_bruto AS \'Rcod_articulo_peso_unit_bruto\',  Rcod_articulo.densidad_long AS \'Rcod_articulo_densidad_long\',  Rcod_articulo.cod_unidad_peso_long AS \'Rcod_articulo_cod_unidad_peso_long\',  Rcod_articulo.cod_unidad_long AS \'Rcod_articulo_cod_unidad_long\',  Rcod_articulo.densidad_supe AS \'Rcod_articulo_densidad_supe\',  Rcod_articulo.cod_unidad_peso_supe AS \'Rcod_articulo_cod_unidad_peso_supe\',  Rcod_articulo.cod_unidad_supe AS \'Rcod_articulo_cod_unidad_supe\',  Rcod_articulo.densidad_volu AS \'Rcod_articulo_densidad_volu\',  Rcod_articulo.cod_unidad_peso_volu AS \'Rcod_articulo_cod_unidad_peso_volu\',  Rcod_articulo.cod_unidad_volu AS \'Rcod_articulo_cod_unidad_volu\',  Rcod_articulo.cod_tole_medi AS \'Rcod_articulo_cod_tole_medi\',  Rcod_articulo.cod_pla_par AS \'Rcod_articulo_cod_pla_par\',  Rcod_articulo.cod_dete AS \'Rcod_articulo_cod_dete\',  Rcod_articulo.texto_ficha_tec AS \'Rcod_articulo_texto_ficha_tec\',  Rcod_articulo.nivel_calidad AS \'Rcod_articulo_nivel_calidad\',  Rcod_articulo.num_tole_mues AS \'Rcod_articulo_num_tole_mues\',  Rcod_articulo.cod_deca AS \'Rcod_articulo_cod_deca\',  Rcod_articulo.texto_ficha_cal AS \'Rcod_articulo_texto_ficha_cal\',  Rcod_articulo.tipo_materia AS \'Rcod_articulo_tipo_materia\',  Rcod_articulo.sw_kit AS \'Rcod_articulo_sw_kit\',  Rcod_articulo.cod_almacen_mat AS \'Rcod_articulo_cod_almacen_mat\',  Rcod_articulo.cod_unidad_fabr AS \'Rcod_articulo_cod_unidad_fabr\',  Rcod_articulo.factor_fabr AS \'Rcod_articulo_factor_fabr\',  Rcod_articulo.cod_unidad_cons AS \'Rcod_articulo_cod_unidad_cons\',  Rcod_articulo.factor_cons AS \'Rcod_articulo_factor_cons\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  Rcod_tipo_iva.nombre AS \'Rcod_tipo_iva_nombre\',  Rcod_tipo_iva.tpc_iva AS \'Rcod_tipo_iva_tpc_iva\',  Rcod_tipo_iva.tpc_rec AS \'Rcod_tipo_iva_tpc_rec\',  Rcod_tipo_iva.sw_tpc_303 AS \'Rcod_tipo_iva_sw_tpc_303\',  Rcod_tipo_iva.id_ps_iva AS \'Rcod_tipo_iva_id_ps_iva\',  Rcod_tipo_iva.id_ps_rec AS \'Rcod_tipo_iva_id_ps_rec\',  Rcod_tipo_iva.id_group_ps_iva AS \'Rcod_tipo_iva_id_group_ps_iva\',  Rcod_tipo_iva.sw_dto AS \'Rcod_tipo_iva_sw_dto\',  Rcod_tipo_iva.sw_fin AS \'Rcod_tipo_iva_sw_fin\',  Rcod_tipo_iva.sw_irpf AS \'Rcod_tipo_iva_sw_irpf\',  Rcod_tipo_iva.sw_iva_incluido AS \'Rcod_tipo_iva_sw_iva_incluido\',  Rcod_tipo_iva.cod_cuenta_com_bas AS \'Rcod_tipo_iva_cod_cuenta_com_bas\',  Rcod_tipo_iva.cod_cuenta_com_abo AS \'Rcod_tipo_iva_cod_cuenta_com_abo\',  Rcod_tipo_iva.cod_cuenta_com_iva AS \'Rcod_tipo_iva_cod_cuenta_com_iva\',  Rcod_tipo_iva.cod_cuenta_com_rec AS \'Rcod_tipo_iva_cod_cuenta_com_rec\',  Rcod_tipo_iva.cod_cuenta_vta_bas AS \'Rcod_tipo_iva_cod_cuenta_vta_bas\',  Rcod_tipo_iva.cod_cuenta_vta_abo AS \'Rcod_tipo_iva_cod_cuenta_vta_abo\',  Rcod_tipo_iva.cod_cuenta_vta_iva AS \'Rcod_tipo_iva_cod_cuenta_vta_iva\',  Rcod_tipo_iva.cod_cuenta_vta_rec AS \'Rcod_tipo_iva_cod_cuenta_vta_rec\',  Rcod_tipo_iva.cta_iva_sop_autofra AS \'Rcod_tipo_iva_cta_iva_sop_autofra\',  Rcod_tipo_iva.cta_iva_rep_autofra AS \'Rcod_tipo_iva_cta_iva_rep_autofra\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  (IF(cialdocolin.estruc_ela!=0, \'C\', IF(cialdocolin.id_coline_kit!=0, \'L\', \'N\'))) AS sw_kit_sql,  (cialdocoGetSqlEstado(cialdocolin.id_cocabe, cialdocolin.id_coline, cialdocolin.estado, cialdocolin.cod_motivo_cancela)) AS sql_estado,  (IF(cialdocolin.cod_motivo_cancela=\'\', \'N\', \'S\')) AS sw_cancela,  (IF(cialdocolin.id_coline_ori=0, \'T\', IFNULL((SELECT IF(o.estado!=\'D\', o.estado, IF(o.cod_motivo_cancela=\'\', \'T\', \'D\')) FROM quartup1.cialdocolin AS o WHERE o.id_coline=cialdocolin.id_coline_ori), \'T\'))) AS sw_cancela_origen,  (SELECT cod_cuenta_vta_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_bas,  (SELECT cod_cuenta_vta_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_abo,  (SELECT cod_cuenta_com_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_bas,  (SELECT cod_cuenta_com_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_abo FROM quartup1.cialdocolin LEFT JOIN quartup1.maesarti AS Rcod_articulo ON Rcod_articulo.nivel=\'1\' AND Rcod_articulo.cod_articulo=cialdocolin.cod_articulo LEFT JOIN quartup1.maestiva AS Rcod_tipo_iva ON Rcod_tipo_iva.cod_tipo_iva=cialdocolin.cod_tipo_iva WHERE (cialdocolin.id_cocabe)=(6120160130000165) AND (cialdocolin.id_coline_kit=0)   ORDER BY cialdocolin.id_cocabe ASC, cialdocolin.linea ASC ','0','1483 (1483 sql rows affected)',430,614035,299858040,254387,1),(452,'2016-06-13',501001,'21:20:42','S','S','S','Ficiva','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpRzFNFI /var/www/quartup.outs/temp/iophpGHk5oa N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlwOHBd1\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','0','690 (1206 sql rows affected)',9,614035,300076664,254387,1),(452,'2016-06-13',502001,'21:20:42','S','S','S','Filiva','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpm8NEOW /var/www/quartup.outs/temp/iophpvkjJpS N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlKIygIc\' REPLACE INTO TABLE quartup1.cialdococon FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_cocabe, linea_cont, sw_modificado, sw_calculo_auto, cod_tipo_iva, concepto, imp_bas_mone, imp_bas_euro, tpc_iva, imp_bas_euro_303, tpc_rec, imp_iva_mone, imp_iva_euro, imp_rec_mone, imp_rec_euro, sw_deducible, comunitario, tipo_fv, tipo_fc, clave_operacion_349, tpc_iva_autofra, cta_iva_sop_autofra, cta_iva_rep_autofra, cod_cuenta_pri, cod_cuenta_bas, cod_cuenta_iva, cod_cuenta_rec, sw_linea_irpf, imp_rpf_mone, cod_cuenta_rpf, imp_rpf_euro, id_cialceco, sw_cc_bas, sw_cc_iva, sw_cc_rec, soporte, canal)','0','80356 (80359 sql rows affected)',72,614035,300052480,254387,1),(452,'2016-06-13',503001,'21:20:42','S','S','S','Fipaco','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp42lZQ2 /var/www/quartup.outs/temp/iophpWZiJZS N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlNPKR9c\' REPLACE INTO TABLE quartup1.cialcart FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (soporte, cod_serie, numero, vto, canal, anyo, sw_modificado, sw_cancelado, fecha_vto, cod_cuenta, cod_fpago, sw_remesable, num_domi, cod_cuenta_paco, cod_moneda, cambio, importe_mone, importe_euro, imp_dir_mone, imp_dir_euro, fecha_camoli_dir, doc_camoli_dir, importe_entregado, sw_camoli_dir, sw_camoli_pen, sw_concepto, texto_vto, num_impresos, interes_mone, interes_euro, sw_estado, sw_riesgo_banco, sw_impagado, sw_riesgo_cuenta, tipo_riesgo, sw_riesgo_remesa)','0','78671 (79671 sql rows affected)',92,614035,300245728,254387,1),(452,'2016-06-13',504001,'21:20:42','S','S','S','Fimoco','DELETE l.*,  c.* FROM quartup1.cialasielin AS l LEFT JOIN quartup1.cialasie AS c ON l.canal=c.canal AND l.cod_diario=c.cod_diario AND l.ejercicio=c.ejercicio AND l.num_asiento=c.num_asiento WHERE c.fecha>=\'20160517\' AND c.fecha<=\'99991231\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophphQ8EU6 /var/www/quartup.outs/temp/iophpnjGtF0 N\n(ok)\n-----\nRecálculo de saldos ejecutado. 3532 cuentas reconstruidas.\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlI02VuS\' REPLACE INTO TABLE quartup1.cialasielin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_diario, num_asiento, fecha, fecha_valor, canal, ejercicio, num_apunte, hora, hora_valor, cod_cuenta, cod_contracuenta, id_cialceco, documento, cod_clave, concepto, cod_moneda, importe_mone_d, importe_euro_d, importe_mone_h, importe_euro_h, sw_ape_cie, sw_punteo, sw_tipo_o, f_soporte, f_canal, f_cod_serie, f_anyo, f_numero, f_linea_cont, o_soporte, o_canal, o_cod_serie, o_anyo, o_numero, o_vto, o_orden, saldo_mone_d, saldo_mone_h, saldo_euro_d, saldo_euro_h, cod_cuenta_mayor, salma_euro_d, salma_euro_h)','0','3135 (3135 sql rows affected)',672,614035,302202840,254387,1),(453,'2016-06-14',2001,'02:00:04','N','S','S','Ficamb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophprBIb4Q /var/www/quartup.outs/temp/iophp1f2dkv N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqln03yL9\' REPLACE INTO TABLE quartup1.quemmonecam FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_moneda, fecha_ini, fecha_fin, cambio_euro_vta, cambio_euro_cmp)','0','2 (2 sql rows affected)',0,614035,42721208,0,1),(453,'2016-06-14',3001,'02:00:04','N','S','S','Finaci','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpk6g0gO /var/www/quartup.outs/temp/iophpR8tsMs N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlbhBmm7\' REPLACE INTO TABLE quartup1.quempais FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_nacion, cod_nacion_3, nombre, nombre_en, cod_idioma_habi, intercomunitario, formato_fecha, formato_numero, unidades_medida, cod_moneda, sw_pais_origen, siglas_pais_ori, digitos_vta, digitos_com, posicion_vta, posicion_com, clave_nif_340, normativa, observaciones)','0','6 (6 sql rows affected)',0,614035,43171352,0,1),(453,'2016-06-14',5002,'02:00:04','N','S','S','Fiarde','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpQnIN1L /var/www/quartup.outs/temp/iophp7fPfHq N\n(ok)','0','0 (16 skipped) (0 sql rows affected)',0,614035,43252264,0,1),(453,'2016-06-14',5003,'02:00:04','N','S','S','Filtcu','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpSxMKB5 /var/www/quartup.outs/temp/iophpeGIgwK N\n(ok)','0','0 (4806 skipped) (0 sql rows affected)',1,614035,43642096,0,1),(453,'2016-06-14',5004,'02:00:04','N','S','S','Filuen','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpxv6vjt /var/www/quartup.outs/temp/iophpJYzM6b N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlZtNeaV\' REPLACE INTO TABLE quartup1.maescuenlue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_lugar, nombre, sw_dir_cliente, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, cod_almacen, telefono, fax, movil, conexion, email, web)','0','0 (0 sql rows affected)',0,614035,44090296,0,1),(453,'2016-06-14',7001,'02:00:04','N','S','S','Fialma','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpsUBRmE /var/www/quartup.outs/temp/iophpZMpvzn N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqljfHxN6\' REPLACE INTO TABLE quartup1.maesalma FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_almacen, nombre, cod_zona_geo, sw_reservas, seguridad, fecha_baja, direccion, cod_postal, poblacion, provincia, cod_nacion, sw_precio_alma, sw_precio_auto, sw_ubicacion, sw_embalaje, sw_redondeo, horario, telefono, fax, email, web, id_quliapre, id_quliaprealm)','0','7 (7 sql rows affected)',0,614035,44644944,0,1),(453,'2016-06-14',8001,'02:00:04','N','S','S','Fifami','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpXKlt8P /var/www/quartup.outs/temp/iophph86ptz N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqljCAW1i\' REPLACE INTO TABLE quartup1.maesarti FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, acceso, nombre, nombre_adi, cod_articulo_par, cod_familia_1, cod_familia_2, cod_familia_3, cod_familia_4, cod_familia_5, cod_cuenta_prov, sw_historico, cod_barras, id_maesartimar, cod_esta_1, cod_esta_2, cod_esta_3, cod_nc_taric, num_puntos, sw_dtos_modificable, precio_teorico, fecha_teo, fecha_alta, sw_estadistica, fecha_baja, id_maesarti, nivel, cod_texto, observaciones, sw_ver_agentes, cod_repres, base_comi, tpc_comi_dir, tipo_articulo, sw_alma_ubic, sw_alma_emba, cantidad_base, cod_almacen, cuen_arti_almacen, cod_etiqueta, cod_unidad_medida, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, stock_min, stock_max, stock_pup, comunitario, partida_arancel, cod_nacion, sw_impuesto_esp, sw_rapel, cod_tipo_iva, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_inve, id_cialceco, cod_analitica, image_file, image_file1, image_file2, image_file3, sw_web, sw_send_stock_ecomm, nivel_publica, html_1, cod_und_emb, cambio_embalaje, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, peso_unitario, peso_unit_bruto, densidad_long, cod_unidad_peso_long, cod_unidad_long, densidad_supe, cod_unidad_peso_supe, cod_unidad_supe, densidad_volu, cod_unidad_peso_volu, cod_unidad_volu, cod_tole_medi, cod_pla_par, cod_dete, texto_ficha_tec, nivel_calidad, num_tole_mues, cod_deca, texto_ficha_cal, tipo_materia, sw_kit, cod_almacen_mat, cod_unidad_fabr, factor_fabr, cod_unidad_cons, factor_cons)','0','246 (492 sql rows affected)',2,614035,47218056,0,1),(453,'2016-06-14',9001,'02:00:04','N','S','S','Fiarti','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpydT8R7 /var/www/quartup.outs/temp/iophpG4HlIW N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlFFBYFV\' REPLACE INTO TABLE quartup1.maesarti FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, acceso, nombre, nombre_adi, cod_articulo_par, cod_familia_1, cod_familia_2, cod_familia_3, cod_familia_4, cod_familia_5, cod_cuenta_prov, sw_historico, cod_barras, id_maesartimar, cod_esta_1, cod_esta_2, cod_esta_3, cod_nc_taric, num_puntos, sw_dtos_modificable, precio_teorico, fecha_teo, fecha_alta, sw_estadistica, fecha_baja, id_maesarti, nivel, cod_texto, observaciones, sw_ver_agentes, cod_repres, base_comi, tpc_comi_dir, tipo_articulo, sw_alma_ubic, sw_alma_emba, cantidad_base, cod_almacen, cuen_arti_almacen, cod_etiqueta, cod_unidad_medida, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, stock_min, stock_max, stock_pup, comunitario, partida_arancel, cod_nacion, sw_impuesto_esp, sw_rapel, cod_tipo_iva, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_inve, id_cialceco, cod_analitica, image_file, image_file1, image_file2, image_file3, sw_web, sw_send_stock_ecomm, nivel_publica, html_1, cod_und_emb, cambio_embalaje, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, peso_unitario, peso_unit_bruto, densidad_long, cod_unidad_peso_long, cod_unidad_long, densidad_supe, cod_unidad_peso_supe, cod_unidad_supe, densidad_volu, cod_unidad_peso_volu, cod_unidad_volu, cod_tole_medi, cod_pla_par, cod_dete, texto_ficha_tec, nivel_calidad, num_tole_mues, cod_deca, texto_ficha_cal, tipo_materia, sw_kit, cod_almacen_mat, cod_unidad_fabr, factor_fabr, cod_unidad_cons, factor_cons)','0','78052 (156104 sql rows affected)',630,614035,76982656,0,1),(453,'2016-06-14',11001,'02:00:04','N','S','S','Fiarty','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpwRJ844 /var/www/quartup.outs/temp/iophpbJtjue N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlrCOzGs\' REPLACE INTO TABLE quartup1.maesarticod FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, linea, cod_articulo_alt, nombre_alt, cod_tipo_cod_alt, observaciones)','0','2992 (77 skipped) (2992 sql rows affected)',3,614035,77176792,0,1),(453,'2016-06-14',11002,'02:00:04','N','S','S','Fiequi','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpLaLOJJ /var/www/quartup.outs/temp/iophpXrQ4M0 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlprknWh\' REPLACE INTO TABLE quartup1.maesartiequ FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_equiva, nombre, siglas, sw_bloqueo)','0','1 (1 sql rows affected)',0,614035,77483320,0,1),(453,'2016-06-14',11003,'02:00:04','N','S','S','Fiubic','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpMt9A8z /var/www/quartup.outs/temp/iophpUfzPkS N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlJiesgb\' REPLACE INTO TABLE quartup1.almaartiubi FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_almaartiubi, cod_articulo, cod_almacen, cod_ubicacion, orden_importancia, observaciones)','0','821 (1642 sql rows affected)',1,614035,77836240,0,1),(453,'2016-06-14',11004,'02:00:04','N','S','S','Fiarna','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpOAse8v /var/www/quartup.outs/temp/iophpLiu1ZQ N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlg8244b\' REPLACE INTO TABLE quartup1.maesartidesidi FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, cod_descripcion, cod_idioma, nivel, nombre, color_texto, color_fondo, cod_font, cod_size_font, cod_style_font, cod_weight_font, nombre_web, nombre_html, iddms, image_file, image_file1, image_file2)','0','0 (0 sql rows affected)',0,614035,78304312,0,1),(453,'2016-06-14',13001,'02:00:04','N','S','S','Fiprct','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpcMmz1x /var/www/quartup.outs/temp/iophpaep4XT N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlsZC7Dg\' REPLACE INTO TABLE quartup1.maescuenper FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, num_personal, nombre, id_prct, cod_pre_cuenta, num_pre_personal, dni, descripcion, cod_cargo, departamento, horario, cod_urgencia, cod_origen, cod_importancia, direccion, cod_postal, poblacion, provincia, cod_nacion, telefono, extension, telefono_alternativo, fax, movil, sw_no_llamar, email, email_alternativo, mensajeria_instant, web, sw_no_email, observaciones, cod_accion, cod_relacion, asignado_a, referido_por, cod_estado, descripcion_estado, informacion_add, id_crm)','0','948 (1896 sql rows affected)',6,614983,78966344,0,1),(453,'2016-06-14',13002,'02:00:04','N','S','S','Fidien','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpYqwhLU /var/www/quartup.outs/temp/iophpJQxsSy N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlbNSi1c\' REPLACE INTO TABLE quartup1.maescuendir FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, nombre, num_dien, cif, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, fax, movil, conexion, email, web, num_domi, ean, cod_agencia, cod_ruta, cod_destino, sw_reexpedicion, cod_almacen_mov, cod_repres, base_comi, tpc_comi_dir, cod_ruta_com, sw_delegacion, sw_visita, observaciones, clave_303_v, clave_303_c, clave_operacion_349, cuen_tax_rule, cod_cae, cae_fecha_caduca)','0','97 (97 sql rows affected)',0,614983,79629120,0,1),(453,'2016-06-14',13003,'02:00:04','N','S','S','Fitcli','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpAInlMR /var/www/quartup.outs/temp/iophptFvoxw N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql9dvupb\' REPLACE INTO TABLE quartup1.maesprectar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tarifa, nombre, cod_moneda, tipo, sw_prec_neto, sw_iva_incluido, orden_prec, orden_dtos, tpc_aumento, orden_prec_2, orden_dtos_2, orden_prec_3, orden_dtos_3, orden_prec_4, orden_dtos_4, orden_prec_5, orden_dtos_5)','0','23 (35 sql rows affected)',0,614983,80104520,0,1),(453,'2016-06-14',13004,'02:00:04','N','S','S','Figrup','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpl7ouoQ /var/www/quartup.outs/temp/iophpFESunv N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlH07toa\' REPLACE INTO TABLE quartup1.cialcuma FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, digitos, sw_auto_pgc, nombre, normativa, observaciones)','0','401 (401 sql rows affected)',0,614983,80436472,0,1),(453,'2016-06-14',13005,'02:00:04','N','S','S','Fiesta','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpI9fHUP /var/www/quartup.outs/temp/iophpd0sVqv N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlzj7h5a\' REPLACE INTO TABLE quartup1.maescodiest FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (tip_esta, cod_esta, nombre, observaciones)','0','0 (0 sql rows affected)',0,614983,80740368,0,1),(453,'2016-06-14',13006,'02:00:04','N','S','S','Ficuen','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpFqPrTQ /var/www/quartup.outs/temp/iophpFaeCHw N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql4rcVBc\' REPLACE INTO TABLE quartup1.maescuen FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, nombre, acceso, cif, seguridad, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, movil, fax, email, email_fac, enviar_fac, web, cod_moneda, cod_idioma, fecha_ini, fecha_fin, iban_pais, iban_banco, iban_oficina, iban_dc, iban_cta, iban_extra, cod_bic_swift, cod_subfijo, num_cedente, num_identifica, cod_confirming, cod_factoring, sw_referencia, cod_texto, cod_almacen_mov, sw_pedido_entero, cancela_resto_ped, sw_alba_siempre, sw_agrupa, sw_tipo_fra, cod_serie_fac, cod_serie_abo, cod_agencia, cod_ruta, cod_modo_porte, cod_destino, cod_incoterm, tipo_portes, importe_portes, impo_portes, minimo_no_portes, id_quemtpvs, cod_esta_1, cod_esta_2, cod_esta_3, nivel_calidad, cod_esta_4, cod_esta_5, cod_esta_6, cod_impr_oferta, cod_impr_pedido, cod_impr_prepara, cod_impr_albaran, copias_oferta, copias_pedido, copias_prepara, copias_albaran, sw_oferta_valor, sw_pedido_valor, sw_prepara_valor, sw_albaran_valor, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_impr_factura, copias_factura, sw_impr_vto, usuario_ws, password_ws, sw_activo, fecha_fin_nl, sw_dto_cascada, precios_con_iva, cod_tarifa, cod_tarifa_1, cod_tarifa_2, cod_tarifa_3, cod_tarifa_4, cod_tarifa_5, num_dien_fra, num_dien_rec, cod_fpago, cod_pago, dias_pago_1, dias_pago_2, dias_pago_3, vacaciones_1, vacaciones_2, num_domi, cod_cuenta_paco, dto_fin, sw_orden_firmada, fec_orden_firmada, sepa_refe_mandato, imp_rie_euro_1, imp_rie_euro_2, imp_rie_mone_1, imp_rie_mone_2, fecha_riesgo, sw_riesgo_ped, dias_cancel, sw_factoring, sw_reclama, sw_residente, codigo_cin, codigo_isin, sw_asegurado, num_seguro, cod_poliza, cod_repres, base_comi, tpc_comi_dir, num_usuario_cre, cod_actividad, id_maescuenzin, facturacion, num_empleados, cod_origen, cod_vendedor, cod_referido_por, pre_cuenta, sw_mostrar_nota, nota, tipo_iva, cod_tipo_iva, sw_irpf, tpc_irpf, cod_cuenta_irpf, sw_organ_persona, clave_303_v, clave_303_c, sw_operacion_347, clave_operacion_349, id_maescuenloi, cod_proveedor, ean, sw_centro_coste, id_cialceco, cod_cuenta_fra, cod_cuenta_bas, cod_cuenta_abo, fec_cert_aeat, fec_cert_ss, fec_decla_haber, cod_cae, cae_fecha_caduca, sw_impuesto_esp, sw_mostrar_observaciones, observaciones, fecha_nac, sexo, digitos, sw_auto_pgc)','0','2754 (5508 sql rows affected)',6,614983,83268080,0,1),(453,'2016-06-14',14001,'02:00:04','N','S','S','Fidomi','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpPfM42b /var/www/quartup.outs/temp/iophp6Mzfub N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlmWIOZa\' REPLACE INTO TABLE quartup1.maescuendom FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, num_domi, id_domi, banco, direccion, cod_postal, poblacion, provincia, cod_nacion, iban_pais, iban_banco, iban_oficina, iban_dc, iban_cta, iban_extra, iban_bban, cod_iban, cod_bic_swift, observaciones)','0','627 (133 skipped) (1254 sql rows affected)',1,615743,84201328,0,1),(453,'2016-06-14',15001,'02:00:04','N','S','S','Firies','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpSMOVAd /var/www/quartup.outs/temp/iophp1Vv3bg N\n(ok)','0','0 (256 skipped) (0 sql rows affected)',9,615743,84293248,0,1),(453,'2016-06-14',15002,'02:00:04','N','S','S','Ficeco','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpJb1JaM /var/www/quartup.outs/temp/iophpwzar9h N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql7nwryO\' REPLACE INTO TABLE quartup1.cialceco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_centro_coste, id_cialceco, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, telefono, fax, tipo_centro, ord_salida, digitos, anyo, seguridad)','0','2 (4 sql rows affected)',0,615743,84694792,0,1),(453,'2016-06-14',15003,'02:00:04','N','S','S','Fitecu','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpErODDl /var/www/quartup.outs/temp/iophp079QIS N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql14Lweq\' REPLACE INTO TABLE quartup1.maescuenobs FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_texto, id_tecu, texto, bloqueo, ver_pantalla, password)','0','1 (2 sql rows affected)',0,615744,85015856,0,1),(453,'2016-06-14',15004,'02:00:04','N','S','S','Fitari','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpK5W4qY /var/www/quartup.outs/temp/iophpfcMDDw N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlR4Vp14\' REPLACE INTO TABLE quartup1.maesprectar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tarifa, nombre, cod_moneda, tipo, sw_prec_neto, sw_iva_incluido, orden_prec, orden_dtos, tpc_aumento, orden_prec_2, orden_dtos_2, orden_prec_3, orden_dtos_3, orden_prec_4, orden_dtos_4, orden_prec_5, orden_dtos_5)','0','4 (4 sql rows affected)',1,615744,85084608,0,1),(453,'2016-06-14',17001,'02:00:04','N','S','S','Fiagec','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpmuBUYF /var/www/quartup.outs/temp/iophpEQ4pWg N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlwUqabS\' REPLACE INTO TABLE quartup1.maesagen FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_agencia, id_maesagen, nombre, descripcion, conexion, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, fax, cif, email, web, observaciones, cod_pimp_alag, sw_albaran, cod_fichero_plano, num_copias_av, sw_albaran_valor, cod_cliente_agec, cod_servicio, cod_cuenta, cod_articulo, margen_cial, cod_und_emb_1, cod_und_emb_2, cod_und_emb_3)','0','27 (54 sql rows affected)',0,615744,85644824,0,1),(453,'2016-06-14',17002,'02:00:04','N','S','S','Fitext','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpUldMYt /var/www/quartup.outs/temp/iophpRZ3oM5 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlH6jBWH\' REPLACE INTO TABLE quartup1.maescialobs FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_texto, texto)','0','2 (2 sql rows affected)',0,615744,85893096,0,1),(453,'2016-06-14',17003,'02:00:04','N','S','S','Fipago','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophprflQyl /var/www/quartup.outs/temp/iophpPTW5aZ N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlpWs9RC\' REPLACE INTO TABLE quartup1.maescuencpa FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_pago, id_pago, nombre, num_efectos, dias_factura, dias_vto, tipo_pago, sw_dto_fin, imp_euro, comision)','0','19 (38 sql rows affected)',0,615763,86273320,0,1),(453,'2016-06-14',17004,'02:00:04','N','S','S','Ficoiv','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpXvdZeh /var/www/quartup.outs/temp/iophphaBPBV N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlKHNH8z\' REPLACE INTO TABLE quartup1.maestiva FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tipo_iva, nombre, tpc_iva, tpc_rec, sw_tpc_303, id_ps_iva, id_ps_rec, id_group_ps_iva, sw_dto, sw_fin, sw_irpf, sw_iva_incluido, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_com_iva, cod_cuenta_com_rec, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_vta_iva, cod_cuenta_vta_rec, cta_iva_sop_autofra, cta_iva_rep_autofra)','0','8 (8 sql rows affected)',0,615763,86753800,0,1),(453,'2016-06-14',17005,'02:00:04','N','S','S','Fifpag','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpttt1ff /var/www/quartup.outs/temp/iophptUKlnU N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlNKYtEz\' REPLACE INTO TABLE quartup1.maescuenfpa FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_fpago, nombre, sw_remesable, sw_efectivo, sw_reembolso, sw_transfer, sw_domicilia, sw_cuenta_completa, cod_moneda, cod_cuenta_paco, sw_vale_devolucion, dias_riesgo, texto_base_contable, sw_impr_recibo)','0','12 (12 sql rows affected)',1,615763,87149144,0,1),(453,'2016-06-14',17006,'02:00:04','N','S','S','Ficarg','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpBclR9g /var/www/quartup.outs/temp/iophpxYCfFY N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlEqKGgG\' REPLACE INTO TABLE quartup1.maespecocar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cargo, id_carg, nombre)','0','14 (28 sql rows affected)',0,615777,87426096,0,1),(453,'2016-06-14',19001,'02:00:04','N','S','S','Fisust','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpIBnkso /var/www/quartup.outs/temp/iophphuxYD6 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlpvHUYO\' REPLACE INTO TABLE quartup1.maesartiequlin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, cod_equiva, siglas, ind_proceso)','0','0 (0 sql rows affected)',0,615777,87818784,0,1),(453,'2016-06-14',19002,'02:00:04','N','S','S','Fiaamm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpMF5yHx /var/www/quartup.outs/temp/iophprDdeqg N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql7SvVvZ\' REPLACE INTO TABLE quartup1.almaartilim FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_almacen, nivel, cod_articulo, stock_min, stock_max, stock_pup, fecha_min, fecha_max, fecha_pup, observaciones)','0','0 (0 sql rows affected)',0,615777,89287336,0,1),(453,'2016-06-14',19003,'02:00:04','N','S','S','Fiunem','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophptRADJJ /var/www/quartup.outs/temp/iophpYwVmXt N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql6ldBge\' REPLACE INTO TABLE quartup1.almaunem FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_und_emb, id_unem, nombre, siglas, ean, cambio, tara, cod_unidad_tara, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, unidad_min, unidad_max, peso_min, peso_max, cod_unidad_peso, longitud_min, longitud_max, cod_unidad_long, superficie_min, superficie_max, cod_unidad_supe, volumen_min, volumen_max, cod_unidad_volu, tipo_calculo, formato)','0','1 (2 sql rows affected)',0,615778,89841184,0,1),(453,'2016-06-14',21001,'02:00:04','N','S','S','Firepr','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpmokpUY /var/www/quartup.outs/temp/iophpyLaeyJ N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqld1MTou\' REPLACE INTO TABLE quartup1.maescuenrep FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_repres, nombre, cod_repres_parent, sw_director, conexion, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, web, observaciones, telefono, fax, movil, email, comision_1, imp_euro_1, comision_2, imp_euro_2, comision_3, imp_euro_3, comision_4, imp_euro_4, comision_5, imp_euro_5, comision_6, imp_euro_6, comision_7, imp_euro_7, comision_8, imp_euro_8, comision_9, imp_euro_9, comision_10, imp_euro_10, comision_11, imp_euro_11, comision_12, imp_euro_12, comision_13, imp_euro_13, comision_14, imp_euro_14, comision_15, imp_euro_15, comision_16, imp_euro_16, comision_17, imp_euro_17, comision_18, imp_euro_18, comision_19, imp_euro_19, comision_20, imp_euro_20, comi_dir_1, idi_euro_1, comi_dir_2, idi_euro_2, comi_dir_3, idi_euro_3, comi_dir_4, idi_euro_4, comi_dir_5, idi_euro_5, comi_dir_6, idi_euro_6, comi_dir_7, idi_euro_7, comi_dir_8, idi_euro_8, comi_dir_9, idi_euro_9, comi_dir_10, idi_euro_10, comi_dir_11, idi_euro_11, comi_dir_12, idi_euro_12, comi_dir_13, idi_euro_13, comi_dir_14, idi_euro_14, comi_dir_15, idi_euro_15, comi_dir_16, idi_euro_16, comi_dir_17, idi_euro_17, comi_dir_18, idi_euro_18, comi_dir_19, idi_euro_19, comi_dir_20, idi_euro_20, cif, cod_cuenta, id_cialceco, tipo_iva, cod_tipo_iva, irpf, tpc_ret, tpc_rappel, cod_almacen, distribuidor)','0','13 (16 sql rows affected)',0,615778,91086720,0,1),(453,'2016-06-14',22001,'02:00:04','N','S','S','Firepp','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpur8Ewf /var/www/quartup.outs/temp/iophpRS8qE0 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlbD28GM\' REPLACE INTO TABLE quartup1.maescuenreplin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (tip_comision, cod_cuenta, num_dien, nivel, cod_articulo, linea, cod_repres, fecha_d, fecha_h, base_comi, tpc_comi_dir, dsd_dto, hst_dto, base_boni, cantidad, tipo_fijo, cod_moneda, importe_mone, observaciones)','0','519 (43 skipped) (519 sql rows affected)',11,615778,91818944,0,1),(453,'2016-06-14',30001,'02:00:04','N','S','S','Fipvpq','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpuajxG9 /var/www/quartup.outs/temp/iophpnvPWFw N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql4m86dU\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','0 (0 sql rows affected)',0,615778,92992200,0,1),(453,'2016-06-14',30002,'02:00:04','N','S','S','Ficlfa','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpAUyDYh /var/www/quartup.outs/temp/iophpskMaJF N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqliWey34\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','1514 (355 skipped) (3028 sql rows affected)',10,615778,93078864,0,1),(453,'2016-06-14',30003,'02:00:04','N','S','S','Fipvpc','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpveqC9Y /var/www/quartup.outs/temp/iophpAAGHfT N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlXTv4SN\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','281 (29 skipped) (281 sql rows affected)',1,615778,93311888,0,1),(453,'2016-06-14',30004,'02:00:04','N','S','S','Fidtpq','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpeIqHYK /var/www/quartup.outs/temp/iophpnm1l4H N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqln2QVgF\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','2 (4 sql rows affected)',0,615778,93298456,0,1),(453,'2016-06-14',30005,'02:00:04','N','S','S','Fipvpm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp9QLXKC /var/www/quartup.outs/temp/iophpsqg0eA N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlfJg6Nx\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','0','0 (0 sql rows affected)',0,615778,93663656,0,1),(453,'2016-06-14',31001,'02:00:04','N','S','S','Fipvpt','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpdBIwAv /var/www/quartup.outs/temp/iophpEWcYmt N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlRYcfzI\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','81612 (74210 skipped) (163224 sql rows affected)',67,615778,93774216,0,1),(453,'2016-06-14',32001,'02:00:04','N','S','S','Fipvtt','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpa5VXKk /var/www/quartup.outs/temp/iophpGxfHWW N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql41fj8z\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','0 (0 sql rows affected)',0,615778,93866968,0,1),(453,'2016-06-14',32002,'02:00:04','N','S','S','Fiplfa','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp1wdwod /var/www/quartup.outs/temp/iophpTEfKEQ N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlx1DJZt\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','1093 (164 skipped) (2186 sql rows affected)',6,615778,93936544,0,1),(453,'2016-06-14',40001,'02:00:04','N','S','S','Fitapo','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpxxbY3p /var/www/quartup.outs/temp/iophpRLKd8l N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlx0Ltii\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','0 (0 sql rows affected)',0,615778,94036224,0,1),(453,'2016-06-14',40002,'02:00:04','N','S','S','Fitacm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp6Tqlye /var/www/quartup.outs/temp/iophpk26dOa N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlI1U848\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','0','0 (10718 skipped) (0 sql rows affected)',4,615778,122487184,0,1),(453,'2016-06-14',40003,'02:00:04','N','S','S','Fitaco','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophphUq6bj /var/www/quartup.outs/temp/iophpn7B4it N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlj3C2TO\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','0 (12836 skipped) (12604 sql rows affected)',34,615778,208847336,0,1),(453,'2016-06-14',50001,'02:00:04','N','S','S','Fiarcl','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpmq3zvP /var/www/quartup.outs/temp/iophppC676P N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlm3zvbR\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','0','0 (6 skipped) (10723 sql rows affected)',1,615778,208790480,0,1),(453,'2016-06-14',105001,'02:00:04','N','S','S','Fitped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpq9QnMU /var/www/quartup.outs/temp/iophpdtMgnY N\n(ok)','0','0 (0 sql rows affected)',0,615778,208873920,0,1),(453,'2016-06-14',106001,'02:00:04','N','S','S','Fikped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp2TOdt2 /var/www/quartup.outs/temp/iophpYLrbz6 N\n(ok)','0','0 (61519 skipped) (0 sql rows affected)',41,615778,234116768,0,1),(453,'2016-06-14',107001,'02:00:04','N','S','S','Ficped','CREATE TEMPORARY TABLE tempficped (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'PV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficped ON cialdocolin.id_cocabe=tempficped.id_cocabe WHERE cialdocolin.soporte=\'PV\' AND tempficped.fecha>=\'20160515\' AND tempficped.fecha<=\'20160614\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'PV\' AND cialdoco.fecha>=\'20160515\' AND cialdoco.fecha<=\'20160614\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpbEmJXa /var/www/quartup.outs/temp/iophpGlzimf N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlDdG18Q\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','0','1075 (1075 sql rows affected)',27,615778,240112216,0,1),(453,'2016-06-14',108001,'02:00:04','N','S','S','Filped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpnSGlQB /var/www/quartup.outs/temp/iophpg7EGxm N\n(ok)\n-----\nRecálculo de totales. 1075 docs. reconstruídos.\n\nSegundos invertidos: 814.71171283722\n-----\nSELECT cialdocolin.id_cocabe,  cialdocolin.linea,  cialdocolin.fecha,  cialdocolin.fecha_validez,  cialdocolin.fec_entre_ped,  cialdocolin.fec_entre_pre,  cialdocolin.cod_articulo,  cialdocolin.id_maescombart,  cialdocolin.estruc_ela,  cialdocolin.id_coline_kit,  cialdocolin.cod_almacen_pre,  cialdocolin.cod_almacen,  cialdocolin.cod_ubicacion,  cialdocolin.num_lote,  cialdocolin.cod_und_emb,  cialdocolin.nombre,  cialdocolin.cantidad,  cialdocolin.cod_tarifa,  cialdocolin.preivi_mone,  cialdocolin.precio_mone,  cialdocolin.descuentos,  cialdocolin.importe_mone,  cialdocolin.impoivi_mone,  cialdocolin.preivi_euro,  cialdocolin.precio_euro,  cialdocolin.importe_euro,  cialdocolin.bultos,  cialdocolin.peso_neto,  cialdocolin.peso,  cialdocolin.cod_unidad_medida,  cialdocolin.cambio_embalaje,  cialdocolin.cant_emb,  cialdocolin.sw_reserva,  cialdocolin.cant_reserva,  cialdocolin.cod_unidad_compra,  cialdocolin.factor_compra,  cialdocolin.cod_unidad_venta,  cialdocolin.factor_venta,  cialdocolin.coste_alm_euro,  cialdocolin.coste_ule_euro,  cialdocolin.coste_man_euro,  cialdocolin.cod_cuenta,  cialdocolin.num_dien,  cialdocolin.cod_lugar,  cialdocolin.estado,  cialdocolin.cod_motivo_cancela,  cialdocolin.cant_ser,  cialdocolin.cant_emb_ser,  cialdocolin.soporte_ori,  cialdocolin.id_cocabe_ori,  cialdocolin.canal_ori,  cialdocolin.id_coline_ori,  cialdocolin.observaciones,  cialdocolin.cod_cuenta_bas,  cialdocolin.cod_tipo_iva,  cialdocolin.tpc_iva,  cialdocolin.tpc_rec,  cialdocolin.sw_dto,  cialdocolin.sw_fin,  cialdocolin.sw_irpf,  cialdocolin.soporte,  cialdocolin.canal,  cialdocolin.id_coline,  cialdocolin.sw_inhabitual,  cialdocolin.sw_recuadro,  cialdocolin.sw_negrita,  cialdocolin.sw_subrayado,  cialdocolin.sw_imprimir,  cialdocolin.sw_imprimir_img,  cialdocolin.enlace_soporte,  cialdocolin.enlace_canal,  cialdocolin.enlace_id_cocabe,  cialdocolin.enlace_id_coline,  cialdocolin.enlace_linea,  cialdocolin.enlace_sw_marca,  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_articulo.acceso AS \'Rcod_articulo_acceso\',  Rcod_articulo.nombre AS \'Rcod_articulo_nombre\',  Rcod_articulo.nombre_adi AS \'Rcod_articulo_nombre_adi\',  Rcod_articulo.cod_articulo_par AS \'Rcod_articulo_cod_articulo_par\',  Rcod_articulo.cod_familia_1 AS \'Rcod_articulo_cod_familia_1\',  Rcod_articulo.cod_familia_2 AS \'Rcod_articulo_cod_familia_2\',  Rcod_articulo.cod_familia_3 AS \'Rcod_articulo_cod_familia_3\',  Rcod_articulo.cod_familia_4 AS \'Rcod_articulo_cod_familia_4\',  Rcod_articulo.cod_familia_5 AS \'Rcod_articulo_cod_familia_5\',  Rcod_articulo.cod_cuenta_prov AS \'Rcod_articulo_cod_cuenta_prov\',  Rcod_articulo.sw_historico AS \'Rcod_articulo_sw_historico\',  Rcod_articulo.cod_barras AS \'Rcod_articulo_cod_barras\',  Rcod_articulo.id_maesartimar AS \'Rcod_articulo_id_maesartimar\',  Rcod_articulo.cod_esta_1 AS \'Rcod_articulo_cod_esta_1\',  Rcod_articulo.cod_esta_2 AS \'Rcod_articulo_cod_esta_2\',  Rcod_articulo.cod_esta_3 AS \'Rcod_articulo_cod_esta_3\',  Rcod_articulo.cod_nc_taric AS \'Rcod_articulo_cod_nc_taric\',  Rcod_articulo.num_puntos AS \'Rcod_articulo_num_puntos\',  Rcod_articulo.sw_dtos_modificable AS \'Rcod_articulo_sw_dtos_modificable\',  Rcod_articulo.precio_teorico AS \'Rcod_articulo_precio_teorico\',  Rcod_articulo.fecha_teo AS \'Rcod_articulo_fecha_teo\',  Rcod_articulo.fecha_alta AS \'Rcod_articulo_fecha_alta\',  Rcod_articulo.sw_estadistica AS \'Rcod_articulo_sw_estadistica\',  Rcod_articulo.fecha_baja AS \'Rcod_articulo_fecha_baja\',  Rcod_articulo.id_maesarti AS \'Rcod_articulo_id_maesarti\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_texto AS \'Rcod_articulo_cod_texto\',  Rcod_articulo.observaciones AS \'Rcod_articulo_observaciones\',  Rcod_articulo.sw_ver_agentes AS \'Rcod_articulo_sw_ver_agentes\',  Rcod_articulo.cod_repres AS \'Rcod_articulo_cod_repres\',  Rcod_articulo.base_comi AS \'Rcod_articulo_base_comi\',  Rcod_articulo.tpc_comi_dir AS \'Rcod_articulo_tpc_comi_dir\',  Rcod_articulo.tipo_articulo AS \'Rcod_articulo_tipo_articulo\',  Rcod_articulo.sw_alma_ubic AS \'Rcod_articulo_sw_alma_ubic\',  Rcod_articulo.sw_alma_emba AS \'Rcod_articulo_sw_alma_emba\',  Rcod_articulo.cantidad_base AS \'Rcod_articulo_cantidad_base\',  Rcod_articulo.cod_almacen AS \'Rcod_articulo_cod_almacen\',  Rcod_articulo.cuen_arti_almacen AS \'Rcod_articulo_cuen_arti_almacen\',  Rcod_articulo.cod_etiqueta AS \'Rcod_articulo_cod_etiqueta\',  Rcod_articulo.cod_unidad_medida AS \'Rcod_articulo_cod_unidad_medida\',  Rcod_articulo.cod_unidad_compra AS \'Rcod_articulo_cod_unidad_compra\',  Rcod_articulo.factor_compra AS \'Rcod_articulo_factor_compra\',  Rcod_articulo.cod_unidad_venta AS \'Rcod_articulo_cod_unidad_venta\',  Rcod_articulo.factor_venta AS \'Rcod_articulo_factor_venta\',  Rcod_articulo.stock_min AS \'Rcod_articulo_stock_min\',  Rcod_articulo.stock_max AS \'Rcod_articulo_stock_max\',  Rcod_articulo.stock_pup AS \'Rcod_articulo_stock_pup\',  Rcod_articulo.comunitario AS \'Rcod_articulo_comunitario\',  Rcod_articulo.partida_arancel AS \'Rcod_articulo_partida_arancel\',  Rcod_articulo.cod_nacion AS \'Rcod_articulo_cod_nacion\',  Rcod_articulo.sw_impuesto_esp AS \'Rcod_articulo_sw_impuesto_esp\',  Rcod_articulo.sw_rapel AS \'Rcod_articulo_sw_rapel\',  Rcod_articulo.cod_tipo_iva AS \'Rcod_articulo_cod_tipo_iva\',  Rcod_articulo.cod_cuenta_vta_bas AS \'Rcod_articulo_cod_cuenta_vta_bas\',  Rcod_articulo.cod_cuenta_vta_abo AS \'Rcod_articulo_cod_cuenta_vta_abo\',  Rcod_articulo.cod_cuenta_com_bas AS \'Rcod_articulo_cod_cuenta_com_bas\',  Rcod_articulo.cod_cuenta_com_abo AS \'Rcod_articulo_cod_cuenta_com_abo\',  Rcod_articulo.cod_cuenta_inve AS \'Rcod_articulo_cod_cuenta_inve\',  Rcod_articulo.id_cialceco AS \'Rcod_articulo_id_cialceco\',  Rcod_articulo.cod_analitica AS \'Rcod_articulo_cod_analitica\',  Rcod_articulo.image_file AS \'Rcod_articulo_image_file\',  Rcod_articulo.image_file1 AS \'Rcod_articulo_image_file1\',  Rcod_articulo.image_file2 AS \'Rcod_articulo_image_file2\',  Rcod_articulo.image_file3 AS \'Rcod_articulo_image_file3\',  Rcod_articulo.sw_web AS \'Rcod_articulo_sw_web\',  Rcod_articulo.sw_send_stock_ecomm AS \'Rcod_articulo_sw_send_stock_ecomm\',  Rcod_articulo.nivel_publica AS \'Rcod_articulo_nivel_publica\',  Rcod_articulo.html_1 AS \'Rcod_articulo_html_1\',  Rcod_articulo.cod_und_emb AS \'Rcod_articulo_cod_und_emb\',  Rcod_articulo.cambio_embalaje AS \'Rcod_articulo_cambio_embalaje\',  Rcod_articulo.alto AS \'Rcod_articulo_alto\',  Rcod_articulo.cod_unidad_alto AS \'Rcod_articulo_cod_unidad_alto\',  Rcod_articulo.largo AS \'Rcod_articulo_largo\',  Rcod_articulo.cod_unidad_largo AS \'Rcod_articulo_cod_unidad_largo\',  Rcod_articulo.ancho AS \'Rcod_articulo_ancho\',  Rcod_articulo.cod_unidad_ancho AS \'Rcod_articulo_cod_unidad_ancho\',  Rcod_articulo.peso_unitario AS \'Rcod_articulo_peso_unitario\',  Rcod_articulo.peso_unit_bruto AS \'Rcod_articulo_peso_unit_bruto\',  Rcod_articulo.densidad_long AS \'Rcod_articulo_densidad_long\',  Rcod_articulo.cod_unidad_peso_long AS \'Rcod_articulo_cod_unidad_peso_long\',  Rcod_articulo.cod_unidad_long AS \'Rcod_articulo_cod_unidad_long\',  Rcod_articulo.densidad_supe AS \'Rcod_articulo_densidad_supe\',  Rcod_articulo.cod_unidad_peso_supe AS \'Rcod_articulo_cod_unidad_peso_supe\',  Rcod_articulo.cod_unidad_supe AS \'Rcod_articulo_cod_unidad_supe\',  Rcod_articulo.densidad_volu AS \'Rcod_articulo_densidad_volu\',  Rcod_articulo.cod_unidad_peso_volu AS \'Rcod_articulo_cod_unidad_peso_volu\',  Rcod_articulo.cod_unidad_volu AS \'Rcod_articulo_cod_unidad_volu\',  Rcod_articulo.cod_tole_medi AS \'Rcod_articulo_cod_tole_medi\',  Rcod_articulo.cod_pla_par AS \'Rcod_articulo_cod_pla_par\',  Rcod_articulo.cod_dete AS \'Rcod_articulo_cod_dete\',  Rcod_articulo.texto_ficha_tec AS \'Rcod_articulo_texto_ficha_tec\',  Rcod_articulo.nivel_calidad AS \'Rcod_articulo_nivel_calidad\',  Rcod_articulo.num_tole_mues AS \'Rcod_articulo_num_tole_mues\',  Rcod_articulo.cod_deca AS \'Rcod_articulo_cod_deca\',  Rcod_articulo.texto_ficha_cal AS \'Rcod_articulo_texto_ficha_cal\',  Rcod_articulo.tipo_materia AS \'Rcod_articulo_tipo_materia\',  Rcod_articulo.sw_kit AS \'Rcod_articulo_sw_kit\',  Rcod_articulo.cod_almacen_mat AS \'Rcod_articulo_cod_almacen_mat\',  Rcod_articulo.cod_unidad_fabr AS \'Rcod_articulo_cod_unidad_fabr\',  Rcod_articulo.factor_fabr AS \'Rcod_articulo_factor_fabr\',  Rcod_articulo.cod_unidad_cons AS \'Rcod_articulo_cod_unidad_cons\',  Rcod_articulo.factor_cons AS \'Rcod_articulo_factor_cons\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  Rcod_tipo_iva.nombre AS \'Rcod_tipo_iva_nombre\',  Rcod_tipo_iva.tpc_iva AS \'Rcod_tipo_iva_tpc_iva\',  Rcod_tipo_iva.tpc_rec AS \'Rcod_tipo_iva_tpc_rec\',  Rcod_tipo_iva.sw_tpc_303 AS \'Rcod_tipo_iva_sw_tpc_303\',  Rcod_tipo_iva.id_ps_iva AS \'Rcod_tipo_iva_id_ps_iva\',  Rcod_tipo_iva.id_ps_rec AS \'Rcod_tipo_iva_id_ps_rec\',  Rcod_tipo_iva.id_group_ps_iva AS \'Rcod_tipo_iva_id_group_ps_iva\',  Rcod_tipo_iva.sw_dto AS \'Rcod_tipo_iva_sw_dto\',  Rcod_tipo_iva.sw_fin AS \'Rcod_tipo_iva_sw_fin\',  Rcod_tipo_iva.sw_irpf AS \'Rcod_tipo_iva_sw_irpf\',  Rcod_tipo_iva.sw_iva_incluido AS \'Rcod_tipo_iva_sw_iva_incluido\',  Rcod_tipo_iva.cod_cuenta_com_bas AS \'Rcod_tipo_iva_cod_cuenta_com_bas\',  Rcod_tipo_iva.cod_cuenta_com_abo AS \'Rcod_tipo_iva_cod_cuenta_com_abo\',  Rcod_tipo_iva.cod_cuenta_com_iva AS \'Rcod_tipo_iva_cod_cuenta_com_iva\',  Rcod_tipo_iva.cod_cuenta_com_rec AS \'Rcod_tipo_iva_cod_cuenta_com_rec\',  Rcod_tipo_iva.cod_cuenta_vta_bas AS \'Rcod_tipo_iva_cod_cuenta_vta_bas\',  Rcod_tipo_iva.cod_cuenta_vta_abo AS \'Rcod_tipo_iva_cod_cuenta_vta_abo\',  Rcod_tipo_iva.cod_cuenta_vta_iva AS \'Rcod_tipo_iva_cod_cuenta_vta_iva\',  Rcod_tipo_iva.cod_cuenta_vta_rec AS \'Rcod_tipo_iva_cod_cuenta_vta_rec\',  Rcod_tipo_iva.cta_iva_sop_autofra AS \'Rcod_tipo_iva_cta_iva_sop_autofra\',  Rcod_tipo_iva.cta_iva_rep_autofra AS \'Rcod_tipo_iva_cta_iva_rep_autofra\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  (IF(cialdocolin.estruc_ela!=0, \'C\', IF(cialdocolin.id_coline_kit!=0, \'L\', \'N\'))) AS sw_kit_sql,  (cialdocoGetSqlEstado(cialdocolin.id_cocabe, cialdocolin.id_coline, cialdocolin.estado, cialdocolin.cod_motivo_cancela)) AS sql_estado,  (IF(cialdocolin.cod_motivo_cancela=\'\', \'N\', \'S\')) AS sw_cancela,  (IF(cialdocolin.id_coline_ori=0, \'T\', IFNULL((SELECT IF(o.estado!=\'D\', o.estado, IF(o.cod_motivo_cancela=\'\', \'T\', \'D\')) FROM quartup1.cialdocolin AS o WHERE o.id_coline=cialdocolin.id_coline_ori), \'T\'))) AS sw_cancela_origen,  (SELECT cod_cuenta_vta_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_bas,  (SELECT cod_cuenta_vta_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_abo,  (SELECT cod_cuenta_com_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_bas,  (SELECT cod_cuenta_com_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_abo FROM quartup1.cialdocolin LEFT JOIN quartup1.maesarti AS Rcod_articulo ON Rcod_articulo.nivel=\'1\' AND Rcod_articulo.cod_articulo=cialdocolin.cod_articulo LEFT JOIN quartup1.maestiva AS Rcod_tipo_iva ON Rcod_tipo_iva.cod_tipo_iva=cialdocolin.cod_tipo_iva WHERE (cialdocolin.id_cocabe)=(1220160020020140) AND (cialdocolin.id_coline_kit=0)   ORDER BY cialdocolin.id_cocabe ASC, cialdocolin.linea ASC ','0','4796 (4796 sql rows affected)',845,615778,258272288,0,1),(453,'2016-06-14',112001,'02:00:04','N','S','S','Fikalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophplQzmvk /var/www/quartup.outs/temp/iophp3cC7t3 N\n(ok)','0','0 (60562 skipped) (0 sql rows affected)',41,615778,281644168,0,1),(453,'2016-06-14',113001,'02:00:04','N','S','S','Ficalb','CREATE TEMPORARY TABLE tempficalb (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'AV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficalb ON cialdocolin.id_cocabe=tempficalb.id_cocabe WHERE cialdocolin.soporte=\'AV\' AND tempficalb.fecha>=\'20160515\' AND tempficalb.fecha<=\'20160614\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'AV\' AND cialdoco.fecha>=\'20160515\' AND cialdoco.fecha<=\'20160614\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpOKZ5Ka /var/www/quartup.outs/temp/iophpyid51h N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlLfIVpL\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','0','811 (811 sql rows affected)',11,615778,282166704,0,1),(453,'2016-06-14',114001,'02:00:04','N','S','S','Filalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophppXJd5i /var/www/quartup.outs/temp/iophpKfvwKQ N\n(ok)\n-----\nRecálculo de totales. 811 docs. reconstruídos.\n\nSegundos invertidos: 609.19458007812\n-----\nSELECT cialdocolin.id_cocabe,  cialdocolin.linea,  cialdocolin.fecha,  cialdocolin.fecha_validez,  cialdocolin.fec_entre_ped,  cialdocolin.fec_entre_pre,  cialdocolin.cod_articulo,  cialdocolin.id_maescombart,  cialdocolin.estruc_ela,  cialdocolin.id_coline_kit,  cialdocolin.cod_almacen_pre,  cialdocolin.cod_almacen,  cialdocolin.cod_ubicacion,  cialdocolin.num_lote,  cialdocolin.cod_und_emb,  cialdocolin.nombre,  cialdocolin.cantidad,  cialdocolin.cod_tarifa,  cialdocolin.preivi_mone,  cialdocolin.precio_mone,  cialdocolin.descuentos,  cialdocolin.importe_mone,  cialdocolin.impoivi_mone,  cialdocolin.preivi_euro,  cialdocolin.precio_euro,  cialdocolin.importe_euro,  cialdocolin.bultos,  cialdocolin.peso_neto,  cialdocolin.peso,  cialdocolin.cod_unidad_medida,  cialdocolin.cambio_embalaje,  cialdocolin.cant_emb,  cialdocolin.sw_reserva,  cialdocolin.cant_reserva,  cialdocolin.cod_unidad_compra,  cialdocolin.factor_compra,  cialdocolin.cod_unidad_venta,  cialdocolin.factor_venta,  cialdocolin.coste_alm_euro,  cialdocolin.coste_ule_euro,  cialdocolin.coste_man_euro,  cialdocolin.cod_cuenta,  cialdocolin.num_dien,  cialdocolin.cod_lugar,  cialdocolin.estado,  cialdocolin.cod_motivo_cancela,  cialdocolin.cant_ser,  cialdocolin.cant_emb_ser,  cialdocolin.soporte_ori,  cialdocolin.id_cocabe_ori,  cialdocolin.canal_ori,  cialdocolin.id_coline_ori,  cialdocolin.observaciones,  cialdocolin.cod_cuenta_bas,  cialdocolin.cod_tipo_iva,  cialdocolin.tpc_iva,  cialdocolin.tpc_rec,  cialdocolin.sw_dto,  cialdocolin.sw_fin,  cialdocolin.sw_irpf,  cialdocolin.soporte,  cialdocolin.canal,  cialdocolin.id_coline,  cialdocolin.sw_inhabitual,  cialdocolin.sw_recuadro,  cialdocolin.sw_negrita,  cialdocolin.sw_subrayado,  cialdocolin.sw_imprimir,  cialdocolin.sw_imprimir_img,  cialdocolin.enlace_soporte,  cialdocolin.enlace_canal,  cialdocolin.enlace_id_cocabe,  cialdocolin.enlace_id_coline,  cialdocolin.enlace_linea,  cialdocolin.enlace_sw_marca,  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_articulo.acceso AS \'Rcod_articulo_acceso\',  Rcod_articulo.nombre AS \'Rcod_articulo_nombre\',  Rcod_articulo.nombre_adi AS \'Rcod_articulo_nombre_adi\',  Rcod_articulo.cod_articulo_par AS \'Rcod_articulo_cod_articulo_par\',  Rcod_articulo.cod_familia_1 AS \'Rcod_articulo_cod_familia_1\',  Rcod_articulo.cod_familia_2 AS \'Rcod_articulo_cod_familia_2\',  Rcod_articulo.cod_familia_3 AS \'Rcod_articulo_cod_familia_3\',  Rcod_articulo.cod_familia_4 AS \'Rcod_articulo_cod_familia_4\',  Rcod_articulo.cod_familia_5 AS \'Rcod_articulo_cod_familia_5\',  Rcod_articulo.cod_cuenta_prov AS \'Rcod_articulo_cod_cuenta_prov\',  Rcod_articulo.sw_historico AS \'Rcod_articulo_sw_historico\',  Rcod_articulo.cod_barras AS \'Rcod_articulo_cod_barras\',  Rcod_articulo.id_maesartimar AS \'Rcod_articulo_id_maesartimar\',  Rcod_articulo.cod_esta_1 AS \'Rcod_articulo_cod_esta_1\',  Rcod_articulo.cod_esta_2 AS \'Rcod_articulo_cod_esta_2\',  Rcod_articulo.cod_esta_3 AS \'Rcod_articulo_cod_esta_3\',  Rcod_articulo.cod_nc_taric AS \'Rcod_articulo_cod_nc_taric\',  Rcod_articulo.num_puntos AS \'Rcod_articulo_num_puntos\',  Rcod_articulo.sw_dtos_modificable AS \'Rcod_articulo_sw_dtos_modificable\',  Rcod_articulo.precio_teorico AS \'Rcod_articulo_precio_teorico\',  Rcod_articulo.fecha_teo AS \'Rcod_articulo_fecha_teo\',  Rcod_articulo.fecha_alta AS \'Rcod_articulo_fecha_alta\',  Rcod_articulo.sw_estadistica AS \'Rcod_articulo_sw_estadistica\',  Rcod_articulo.fecha_baja AS \'Rcod_articulo_fecha_baja\',  Rcod_articulo.id_maesarti AS \'Rcod_articulo_id_maesarti\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_texto AS \'Rcod_articulo_cod_texto\',  Rcod_articulo.observaciones AS \'Rcod_articulo_observaciones\',  Rcod_articulo.sw_ver_agentes AS \'Rcod_articulo_sw_ver_agentes\',  Rcod_articulo.cod_repres AS \'Rcod_articulo_cod_repres\',  Rcod_articulo.base_comi AS \'Rcod_articulo_base_comi\',  Rcod_articulo.tpc_comi_dir AS \'Rcod_articulo_tpc_comi_dir\',  Rcod_articulo.tipo_articulo AS \'Rcod_articulo_tipo_articulo\',  Rcod_articulo.sw_alma_ubic AS \'Rcod_articulo_sw_alma_ubic\',  Rcod_articulo.sw_alma_emba AS \'Rcod_articulo_sw_alma_emba\',  Rcod_articulo.cantidad_base AS \'Rcod_articulo_cantidad_base\',  Rcod_articulo.cod_almacen AS \'Rcod_articulo_cod_almacen\',  Rcod_articulo.cuen_arti_almacen AS \'Rcod_articulo_cuen_arti_almacen\',  Rcod_articulo.cod_etiqueta AS \'Rcod_articulo_cod_etiqueta\',  Rcod_articulo.cod_unidad_medida AS \'Rcod_articulo_cod_unidad_medida\',  Rcod_articulo.cod_unidad_compra AS \'Rcod_articulo_cod_unidad_compra\',  Rcod_articulo.factor_compra AS \'Rcod_articulo_factor_compra\',  Rcod_articulo.cod_unidad_venta AS \'Rcod_articulo_cod_unidad_venta\',  Rcod_articulo.factor_venta AS \'Rcod_articulo_factor_venta\',  Rcod_articulo.stock_min AS \'Rcod_articulo_stock_min\',  Rcod_articulo.stock_max AS \'Rcod_articulo_stock_max\',  Rcod_articulo.stock_pup AS \'Rcod_articulo_stock_pup\',  Rcod_articulo.comunitario AS \'Rcod_articulo_comunitario\',  Rcod_articulo.partida_arancel AS \'Rcod_articulo_partida_arancel\',  Rcod_articulo.cod_nacion AS \'Rcod_articulo_cod_nacion\',  Rcod_articulo.sw_impuesto_esp AS \'Rcod_articulo_sw_impuesto_esp\',  Rcod_articulo.sw_rapel AS \'Rcod_articulo_sw_rapel\',  Rcod_articulo.cod_tipo_iva AS \'Rcod_articulo_cod_tipo_iva\',  Rcod_articulo.cod_cuenta_vta_bas AS \'Rcod_articulo_cod_cuenta_vta_bas\',  Rcod_articulo.cod_cuenta_vta_abo AS \'Rcod_articulo_cod_cuenta_vta_abo\',  Rcod_articulo.cod_cuenta_com_bas AS \'Rcod_articulo_cod_cuenta_com_bas\',  Rcod_articulo.cod_cuenta_com_abo AS \'Rcod_articulo_cod_cuenta_com_abo\',  Rcod_articulo.cod_cuenta_inve AS \'Rcod_articulo_cod_cuenta_inve\',  Rcod_articulo.id_cialceco AS \'Rcod_articulo_id_cialceco\',  Rcod_articulo.cod_analitica AS \'Rcod_articulo_cod_analitica\',  Rcod_articulo.image_file AS \'Rcod_articulo_image_file\',  Rcod_articulo.image_file1 AS \'Rcod_articulo_image_file1\',  Rcod_articulo.image_file2 AS \'Rcod_articulo_image_file2\',  Rcod_articulo.image_file3 AS \'Rcod_articulo_image_file3\',  Rcod_articulo.sw_web AS \'Rcod_articulo_sw_web\',  Rcod_articulo.sw_send_stock_ecomm AS \'Rcod_articulo_sw_send_stock_ecomm\',  Rcod_articulo.nivel_publica AS \'Rcod_articulo_nivel_publica\',  Rcod_articulo.html_1 AS \'Rcod_articulo_html_1\',  Rcod_articulo.cod_und_emb AS \'Rcod_articulo_cod_und_emb\',  Rcod_articulo.cambio_embalaje AS \'Rcod_articulo_cambio_embalaje\',  Rcod_articulo.alto AS \'Rcod_articulo_alto\',  Rcod_articulo.cod_unidad_alto AS \'Rcod_articulo_cod_unidad_alto\',  Rcod_articulo.largo AS \'Rcod_articulo_largo\',  Rcod_articulo.cod_unidad_largo AS \'Rcod_articulo_cod_unidad_largo\',  Rcod_articulo.ancho AS \'Rcod_articulo_ancho\',  Rcod_articulo.cod_unidad_ancho AS \'Rcod_articulo_cod_unidad_ancho\',  Rcod_articulo.peso_unitario AS \'Rcod_articulo_peso_unitario\',  Rcod_articulo.peso_unit_bruto AS \'Rcod_articulo_peso_unit_bruto\',  Rcod_articulo.densidad_long AS \'Rcod_articulo_densidad_long\',  Rcod_articulo.cod_unidad_peso_long AS \'Rcod_articulo_cod_unidad_peso_long\',  Rcod_articulo.cod_unidad_long AS \'Rcod_articulo_cod_unidad_long\',  Rcod_articulo.densidad_supe AS \'Rcod_articulo_densidad_supe\',  Rcod_articulo.cod_unidad_peso_supe AS \'Rcod_articulo_cod_unidad_peso_supe\',  Rcod_articulo.cod_unidad_supe AS \'Rcod_articulo_cod_unidad_supe\',  Rcod_articulo.densidad_volu AS \'Rcod_articulo_densidad_volu\',  Rcod_articulo.cod_unidad_peso_volu AS \'Rcod_articulo_cod_unidad_peso_volu\',  Rcod_articulo.cod_unidad_volu AS \'Rcod_articulo_cod_unidad_volu\',  Rcod_articulo.cod_tole_medi AS \'Rcod_articulo_cod_tole_medi\',  Rcod_articulo.cod_pla_par AS \'Rcod_articulo_cod_pla_par\',  Rcod_articulo.cod_dete AS \'Rcod_articulo_cod_dete\',  Rcod_articulo.texto_ficha_tec AS \'Rcod_articulo_texto_ficha_tec\',  Rcod_articulo.nivel_calidad AS \'Rcod_articulo_nivel_calidad\',  Rcod_articulo.num_tole_mues AS \'Rcod_articulo_num_tole_mues\',  Rcod_articulo.cod_deca AS \'Rcod_articulo_cod_deca\',  Rcod_articulo.texto_ficha_cal AS \'Rcod_articulo_texto_ficha_cal\',  Rcod_articulo.tipo_materia AS \'Rcod_articulo_tipo_materia\',  Rcod_articulo.sw_kit AS \'Rcod_articulo_sw_kit\',  Rcod_articulo.cod_almacen_mat AS \'Rcod_articulo_cod_almacen_mat\',  Rcod_articulo.cod_unidad_fabr AS \'Rcod_articulo_cod_unidad_fabr\',  Rcod_articulo.factor_fabr AS \'Rcod_articulo_factor_fabr\',  Rcod_articulo.cod_unidad_cons AS \'Rcod_articulo_cod_unidad_cons\',  Rcod_articulo.factor_cons AS \'Rcod_articulo_factor_cons\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  Rcod_tipo_iva.nombre AS \'Rcod_tipo_iva_nombre\',  Rcod_tipo_iva.tpc_iva AS \'Rcod_tipo_iva_tpc_iva\',  Rcod_tipo_iva.tpc_rec AS \'Rcod_tipo_iva_tpc_rec\',  Rcod_tipo_iva.sw_tpc_303 AS \'Rcod_tipo_iva_sw_tpc_303\',  Rcod_tipo_iva.id_ps_iva AS \'Rcod_tipo_iva_id_ps_iva\',  Rcod_tipo_iva.id_ps_rec AS \'Rcod_tipo_iva_id_ps_rec\',  Rcod_tipo_iva.id_group_ps_iva AS \'Rcod_tipo_iva_id_group_ps_iva\',  Rcod_tipo_iva.sw_dto AS \'Rcod_tipo_iva_sw_dto\',  Rcod_tipo_iva.sw_fin AS \'Rcod_tipo_iva_sw_fin\',  Rcod_tipo_iva.sw_irpf AS \'Rcod_tipo_iva_sw_irpf\',  Rcod_tipo_iva.sw_iva_incluido AS \'Rcod_tipo_iva_sw_iva_incluido\',  Rcod_tipo_iva.cod_cuenta_com_bas AS \'Rcod_tipo_iva_cod_cuenta_com_bas\',  Rcod_tipo_iva.cod_cuenta_com_abo AS \'Rcod_tipo_iva_cod_cuenta_com_abo\',  Rcod_tipo_iva.cod_cuenta_com_iva AS \'Rcod_tipo_iva_cod_cuenta_com_iva\',  Rcod_tipo_iva.cod_cuenta_com_rec AS \'Rcod_tipo_iva_cod_cuenta_com_rec\',  Rcod_tipo_iva.cod_cuenta_vta_bas AS \'Rcod_tipo_iva_cod_cuenta_vta_bas\',  Rcod_tipo_iva.cod_cuenta_vta_abo AS \'Rcod_tipo_iva_cod_cuenta_vta_abo\',  Rcod_tipo_iva.cod_cuenta_vta_iva AS \'Rcod_tipo_iva_cod_cuenta_vta_iva\',  Rcod_tipo_iva.cod_cuenta_vta_rec AS \'Rcod_tipo_iva_cod_cuenta_vta_rec\',  Rcod_tipo_iva.cta_iva_sop_autofra AS \'Rcod_tipo_iva_cta_iva_sop_autofra\',  Rcod_tipo_iva.cta_iva_rep_autofra AS \'Rcod_tipo_iva_cta_iva_rep_autofra\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  (IF(cialdocolin.estruc_ela!=0, \'C\', IF(cialdocolin.id_coline_kit!=0, \'L\', \'N\'))) AS sw_kit_sql,  (cialdocoGetSqlEstado(cialdocolin.id_cocabe, cialdocolin.id_coline, cialdocolin.estado, cialdocolin.cod_motivo_cancela)) AS sql_estado,  (IF(cialdocolin.cod_motivo_cancela=\'\', \'N\', \'S\')) AS sw_cancela,  (IF(cialdocolin.id_coline_ori=0, \'T\', IFNULL((SELECT IF(o.estado!=\'D\', o.estado, IF(o.cod_motivo_cancela=\'\', \'T\', \'D\')) FROM quartup1.cialdocolin AS o WHERE o.id_coline=cialdocolin.id_coline_ori), \'T\'))) AS sw_cancela_origen,  (SELECT cod_cuenta_vta_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_bas,  (SELECT cod_cuenta_vta_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_abo,  (SELECT cod_cuenta_com_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_bas,  (SELECT cod_cuenta_com_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_abo FROM quartup1.cialdocolin LEFT JOIN quartup1.maesarti AS Rcod_articulo ON Rcod_articulo.nivel=\'1\' AND Rcod_articulo.cod_articulo=cialdocolin.cod_articulo LEFT JOIN quartup1.maestiva AS Rcod_tipo_iva ON Rcod_tipo_iva.cod_tipo_iva=cialdocolin.cod_tipo_iva WHERE (cialdocolin.id_cocabe)=(2220160060020043) AND (cialdocolin.id_coline_kit=0)   ORDER BY cialdocolin.id_cocabe ASC, cialdocolin.linea ASC ','0','4181 (4181 sql rows affected)',636,615778,286380240,0,1),(453,'2016-06-14',115001,'02:00:04','N','S','S','Fisalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpaBU57V /var/www/quartup.outs/temp/iophpDjQnH6 N\n(ok)','0','0 (8344 skipped) (0 sql rows affected)',56,615778,289034328,0,1),(453,'2016-06-14',122001,'02:00:04','N','S','S','Fikfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpxdynTk /var/www/quartup.outs/temp/iophp4Iuo5y N\n(ok)','0','0 (92450 skipped) (0 sql rows affected)',60,615778,317852936,0,1),(453,'2016-06-14',123001,'02:00:04','N','S','S','Ficfac','CREATE TEMPORARY TABLE tempficfac (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'FV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficfac ON cialdocolin.id_cocabe=tempficfac.id_cocabe WHERE cialdocolin.soporte=\'FV\' AND tempficfac.fecha>=\'20160515\' AND tempficfac.fecha<=\'20160614\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'FV\' AND cialdoco.fecha>=\'20160515\' AND cialdoco.fecha<=\'20160614\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp8oKSic /var/www/quartup.outs/temp/iophpROlowP N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlfa3KCx\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','0','515 (550 sql rows affected)',5,615778,318356840,0,1),(453,'2016-06-14',124001,'02:00:04','N','S','S','Filfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp0tH3ki /var/www/quartup.outs/temp/iophpF7Xm32 N\n(ok)\n-----\nRecálculo de totales. 515 docs. reconstruídos.\n\nSegundos invertidos: 551.16807413101\n-----\nSELECT cialdocolin.id_cocabe,  cialdocolin.linea,  cialdocolin.fecha,  cialdocolin.fecha_validez,  cialdocolin.fec_entre_ped,  cialdocolin.fec_entre_pre,  cialdocolin.cod_articulo,  cialdocolin.id_maescombart,  cialdocolin.estruc_ela,  cialdocolin.id_coline_kit,  cialdocolin.cod_almacen_pre,  cialdocolin.cod_almacen,  cialdocolin.cod_ubicacion,  cialdocolin.num_lote,  cialdocolin.cod_und_emb,  cialdocolin.nombre,  cialdocolin.cantidad,  cialdocolin.cod_tarifa,  cialdocolin.preivi_mone,  cialdocolin.precio_mone,  cialdocolin.descuentos,  cialdocolin.importe_mone,  cialdocolin.impoivi_mone,  cialdocolin.preivi_euro,  cialdocolin.precio_euro,  cialdocolin.importe_euro,  cialdocolin.bultos,  cialdocolin.peso_neto,  cialdocolin.peso,  cialdocolin.cod_unidad_medida,  cialdocolin.cambio_embalaje,  cialdocolin.cant_emb,  cialdocolin.sw_reserva,  cialdocolin.cant_reserva,  cialdocolin.cod_unidad_compra,  cialdocolin.factor_compra,  cialdocolin.cod_unidad_venta,  cialdocolin.factor_venta,  cialdocolin.coste_alm_euro,  cialdocolin.coste_ule_euro,  cialdocolin.coste_man_euro,  cialdocolin.cod_cuenta,  cialdocolin.num_dien,  cialdocolin.cod_lugar,  cialdocolin.estado,  cialdocolin.cod_motivo_cancela,  cialdocolin.cant_ser,  cialdocolin.cant_emb_ser,  cialdocolin.soporte_ori,  cialdocolin.id_cocabe_ori,  cialdocolin.canal_ori,  cialdocolin.id_coline_ori,  cialdocolin.observaciones,  cialdocolin.cod_cuenta_bas,  cialdocolin.cod_tipo_iva,  cialdocolin.tpc_iva,  cialdocolin.tpc_rec,  cialdocolin.sw_dto,  cialdocolin.sw_fin,  cialdocolin.sw_irpf,  cialdocolin.soporte,  cialdocolin.canal,  cialdocolin.id_coline,  cialdocolin.sw_inhabitual,  cialdocolin.sw_recuadro,  cialdocolin.sw_negrita,  cialdocolin.sw_subrayado,  cialdocolin.sw_imprimir,  cialdocolin.sw_imprimir_img,  cialdocolin.enlace_soporte,  cialdocolin.enlace_canal,  cialdocolin.enlace_id_cocabe,  cialdocolin.enlace_id_coline,  cialdocolin.enlace_linea,  cialdocolin.enlace_sw_marca,  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_articulo.acceso AS \'Rcod_articulo_acceso\',  Rcod_articulo.nombre AS \'Rcod_articulo_nombre\',  Rcod_articulo.nombre_adi AS \'Rcod_articulo_nombre_adi\',  Rcod_articulo.cod_articulo_par AS \'Rcod_articulo_cod_articulo_par\',  Rcod_articulo.cod_familia_1 AS \'Rcod_articulo_cod_familia_1\',  Rcod_articulo.cod_familia_2 AS \'Rcod_articulo_cod_familia_2\',  Rcod_articulo.cod_familia_3 AS \'Rcod_articulo_cod_familia_3\',  Rcod_articulo.cod_familia_4 AS \'Rcod_articulo_cod_familia_4\',  Rcod_articulo.cod_familia_5 AS \'Rcod_articulo_cod_familia_5\',  Rcod_articulo.cod_cuenta_prov AS \'Rcod_articulo_cod_cuenta_prov\',  Rcod_articulo.sw_historico AS \'Rcod_articulo_sw_historico\',  Rcod_articulo.cod_barras AS \'Rcod_articulo_cod_barras\',  Rcod_articulo.id_maesartimar AS \'Rcod_articulo_id_maesartimar\',  Rcod_articulo.cod_esta_1 AS \'Rcod_articulo_cod_esta_1\',  Rcod_articulo.cod_esta_2 AS \'Rcod_articulo_cod_esta_2\',  Rcod_articulo.cod_esta_3 AS \'Rcod_articulo_cod_esta_3\',  Rcod_articulo.cod_nc_taric AS \'Rcod_articulo_cod_nc_taric\',  Rcod_articulo.num_puntos AS \'Rcod_articulo_num_puntos\',  Rcod_articulo.sw_dtos_modificable AS \'Rcod_articulo_sw_dtos_modificable\',  Rcod_articulo.precio_teorico AS \'Rcod_articulo_precio_teorico\',  Rcod_articulo.fecha_teo AS \'Rcod_articulo_fecha_teo\',  Rcod_articulo.fecha_alta AS \'Rcod_articulo_fecha_alta\',  Rcod_articulo.sw_estadistica AS \'Rcod_articulo_sw_estadistica\',  Rcod_articulo.fecha_baja AS \'Rcod_articulo_fecha_baja\',  Rcod_articulo.id_maesarti AS \'Rcod_articulo_id_maesarti\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_texto AS \'Rcod_articulo_cod_texto\',  Rcod_articulo.observaciones AS \'Rcod_articulo_observaciones\',  Rcod_articulo.sw_ver_agentes AS \'Rcod_articulo_sw_ver_agentes\',  Rcod_articulo.cod_repres AS \'Rcod_articulo_cod_repres\',  Rcod_articulo.base_comi AS \'Rcod_articulo_base_comi\',  Rcod_articulo.tpc_comi_dir AS \'Rcod_articulo_tpc_comi_dir\',  Rcod_articulo.tipo_articulo AS \'Rcod_articulo_tipo_articulo\',  Rcod_articulo.sw_alma_ubic AS \'Rcod_articulo_sw_alma_ubic\',  Rcod_articulo.sw_alma_emba AS \'Rcod_articulo_sw_alma_emba\',  Rcod_articulo.cantidad_base AS \'Rcod_articulo_cantidad_base\',  Rcod_articulo.cod_almacen AS \'Rcod_articulo_cod_almacen\',  Rcod_articulo.cuen_arti_almacen AS \'Rcod_articulo_cuen_arti_almacen\',  Rcod_articulo.cod_etiqueta AS \'Rcod_articulo_cod_etiqueta\',  Rcod_articulo.cod_unidad_medida AS \'Rcod_articulo_cod_unidad_medida\',  Rcod_articulo.cod_unidad_compra AS \'Rcod_articulo_cod_unidad_compra\',  Rcod_articulo.factor_compra AS \'Rcod_articulo_factor_compra\',  Rcod_articulo.cod_unidad_venta AS \'Rcod_articulo_cod_unidad_venta\',  Rcod_articulo.factor_venta AS \'Rcod_articulo_factor_venta\',  Rcod_articulo.stock_min AS \'Rcod_articulo_stock_min\',  Rcod_articulo.stock_max AS \'Rcod_articulo_stock_max\',  Rcod_articulo.stock_pup AS \'Rcod_articulo_stock_pup\',  Rcod_articulo.comunitario AS \'Rcod_articulo_comunitario\',  Rcod_articulo.partida_arancel AS \'Rcod_articulo_partida_arancel\',  Rcod_articulo.cod_nacion AS \'Rcod_articulo_cod_nacion\',  Rcod_articulo.sw_impuesto_esp AS \'Rcod_articulo_sw_impuesto_esp\',  Rcod_articulo.sw_rapel AS \'Rcod_articulo_sw_rapel\',  Rcod_articulo.cod_tipo_iva AS \'Rcod_articulo_cod_tipo_iva\',  Rcod_articulo.cod_cuenta_vta_bas AS \'Rcod_articulo_cod_cuenta_vta_bas\',  Rcod_articulo.cod_cuenta_vta_abo AS \'Rcod_articulo_cod_cuenta_vta_abo\',  Rcod_articulo.cod_cuenta_com_bas AS \'Rcod_articulo_cod_cuenta_com_bas\',  Rcod_articulo.cod_cuenta_com_abo AS \'Rcod_articulo_cod_cuenta_com_abo\',  Rcod_articulo.cod_cuenta_inve AS \'Rcod_articulo_cod_cuenta_inve\',  Rcod_articulo.id_cialceco AS \'Rcod_articulo_id_cialceco\',  Rcod_articulo.cod_analitica AS \'Rcod_articulo_cod_analitica\',  Rcod_articulo.image_file AS \'Rcod_articulo_image_file\',  Rcod_articulo.image_file1 AS \'Rcod_articulo_image_file1\',  Rcod_articulo.image_file2 AS \'Rcod_articulo_image_file2\',  Rcod_articulo.image_file3 AS \'Rcod_articulo_image_file3\',  Rcod_articulo.sw_web AS \'Rcod_articulo_sw_web\',  Rcod_articulo.sw_send_stock_ecomm AS \'Rcod_articulo_sw_send_stock_ecomm\',  Rcod_articulo.nivel_publica AS \'Rcod_articulo_nivel_publica\',  Rcod_articulo.html_1 AS \'Rcod_articulo_html_1\',  Rcod_articulo.cod_und_emb AS \'Rcod_articulo_cod_und_emb\',  Rcod_articulo.cambio_embalaje AS \'Rcod_articulo_cambio_embalaje\',  Rcod_articulo.alto AS \'Rcod_articulo_alto\',  Rcod_articulo.cod_unidad_alto AS \'Rcod_articulo_cod_unidad_alto\',  Rcod_articulo.largo AS \'Rcod_articulo_largo\',  Rcod_articulo.cod_unidad_largo AS \'Rcod_articulo_cod_unidad_largo\',  Rcod_articulo.ancho AS \'Rcod_articulo_ancho\',  Rcod_articulo.cod_unidad_ancho AS \'Rcod_articulo_cod_unidad_ancho\',  Rcod_articulo.peso_unitario AS \'Rcod_articulo_peso_unitario\',  Rcod_articulo.peso_unit_bruto AS \'Rcod_articulo_peso_unit_bruto\',  Rcod_articulo.densidad_long AS \'Rcod_articulo_densidad_long\',  Rcod_articulo.cod_unidad_peso_long AS \'Rcod_articulo_cod_unidad_peso_long\',  Rcod_articulo.cod_unidad_long AS \'Rcod_articulo_cod_unidad_long\',  Rcod_articulo.densidad_supe AS \'Rcod_articulo_densidad_supe\',  Rcod_articulo.cod_unidad_peso_supe AS \'Rcod_articulo_cod_unidad_peso_supe\',  Rcod_articulo.cod_unidad_supe AS \'Rcod_articulo_cod_unidad_supe\',  Rcod_articulo.densidad_volu AS \'Rcod_articulo_densidad_volu\',  Rcod_articulo.cod_unidad_peso_volu AS \'Rcod_articulo_cod_unidad_peso_volu\',  Rcod_articulo.cod_unidad_volu AS \'Rcod_articulo_cod_unidad_volu\',  Rcod_articulo.cod_tole_medi AS \'Rcod_articulo_cod_tole_medi\',  Rcod_articulo.cod_pla_par AS \'Rcod_articulo_cod_pla_par\',  Rcod_articulo.cod_dete AS \'Rcod_articulo_cod_dete\',  Rcod_articulo.texto_ficha_tec AS \'Rcod_articulo_texto_ficha_tec\',  Rcod_articulo.nivel_calidad AS \'Rcod_articulo_nivel_calidad\',  Rcod_articulo.num_tole_mues AS \'Rcod_articulo_num_tole_mues\',  Rcod_articulo.cod_deca AS \'Rcod_articulo_cod_deca\',  Rcod_articulo.texto_ficha_cal AS \'Rcod_articulo_texto_ficha_cal\',  Rcod_articulo.tipo_materia AS \'Rcod_articulo_tipo_materia\',  Rcod_articulo.sw_kit AS \'Rcod_articulo_sw_kit\',  Rcod_articulo.cod_almacen_mat AS \'Rcod_articulo_cod_almacen_mat\',  Rcod_articulo.cod_unidad_fabr AS \'Rcod_articulo_cod_unidad_fabr\',  Rcod_articulo.factor_fabr AS \'Rcod_articulo_factor_fabr\',  Rcod_articulo.cod_unidad_cons AS \'Rcod_articulo_cod_unidad_cons\',  Rcod_articulo.factor_cons AS \'Rcod_articulo_factor_cons\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  Rcod_tipo_iva.nombre AS \'Rcod_tipo_iva_nombre\',  Rcod_tipo_iva.tpc_iva AS \'Rcod_tipo_iva_tpc_iva\',  Rcod_tipo_iva.tpc_rec AS \'Rcod_tipo_iva_tpc_rec\',  Rcod_tipo_iva.sw_tpc_303 AS \'Rcod_tipo_iva_sw_tpc_303\',  Rcod_tipo_iva.id_ps_iva AS \'Rcod_tipo_iva_id_ps_iva\',  Rcod_tipo_iva.id_ps_rec AS \'Rcod_tipo_iva_id_ps_rec\',  Rcod_tipo_iva.id_group_ps_iva AS \'Rcod_tipo_iva_id_group_ps_iva\',  Rcod_tipo_iva.sw_dto AS \'Rcod_tipo_iva_sw_dto\',  Rcod_tipo_iva.sw_fin AS \'Rcod_tipo_iva_sw_fin\',  Rcod_tipo_iva.sw_irpf AS \'Rcod_tipo_iva_sw_irpf\',  Rcod_tipo_iva.sw_iva_incluido AS \'Rcod_tipo_iva_sw_iva_incluido\',  Rcod_tipo_iva.cod_cuenta_com_bas AS \'Rcod_tipo_iva_cod_cuenta_com_bas\',  Rcod_tipo_iva.cod_cuenta_com_abo AS \'Rcod_tipo_iva_cod_cuenta_com_abo\',  Rcod_tipo_iva.cod_cuenta_com_iva AS \'Rcod_tipo_iva_cod_cuenta_com_iva\',  Rcod_tipo_iva.cod_cuenta_com_rec AS \'Rcod_tipo_iva_cod_cuenta_com_rec\',  Rcod_tipo_iva.cod_cuenta_vta_bas AS \'Rcod_tipo_iva_cod_cuenta_vta_bas\',  Rcod_tipo_iva.cod_cuenta_vta_abo AS \'Rcod_tipo_iva_cod_cuenta_vta_abo\',  Rcod_tipo_iva.cod_cuenta_vta_iva AS \'Rcod_tipo_iva_cod_cuenta_vta_iva\',  Rcod_tipo_iva.cod_cuenta_vta_rec AS \'Rcod_tipo_iva_cod_cuenta_vta_rec\',  Rcod_tipo_iva.cta_iva_sop_autofra AS \'Rcod_tipo_iva_cta_iva_sop_autofra\',  Rcod_tipo_iva.cta_iva_rep_autofra AS \'Rcod_tipo_iva_cta_iva_rep_autofra\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  (IF(cialdocolin.estruc_ela!=0, \'C\', IF(cialdocolin.id_coline_kit!=0, \'L\', \'N\'))) AS sw_kit_sql,  (cialdocoGetSqlEstado(cialdocolin.id_cocabe, cialdocolin.id_coline, cialdocolin.estado, cialdocolin.cod_motivo_cancela)) AS sql_estado,  (IF(cialdocolin.cod_motivo_cancela=\'\', \'N\', \'S\')) AS sw_cancela,  (IF(cialdocolin.id_coline_ori=0, \'T\', IFNULL((SELECT IF(o.estado!=\'D\', o.estado, IF(o.cod_motivo_cancela=\'\', \'T\', \'D\')) FROM quartup1.cialdocolin AS o WHERE o.id_coline=cialdocolin.id_coline_ori), \'T\'))) AS sw_cancela_origen,  (SELECT cod_cuenta_vta_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_bas,  (SELECT cod_cuenta_vta_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_abo,  (SELECT cod_cuenta_com_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_bas,  (SELECT cod_cuenta_com_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_abo FROM quartup1.cialdocolin LEFT JOIN quartup1.maesarti AS Rcod_articulo ON Rcod_articulo.nivel=\'1\' AND Rcod_articulo.cod_articulo=cialdocolin.cod_articulo LEFT JOIN quartup1.maestiva AS Rcod_tipo_iva ON Rcod_tipo_iva.cod_tipo_iva=cialdocolin.cod_tipo_iva WHERE (cialdocolin.id_cocabe)=(3220160080030264) AND (cialdocolin.id_coline_kit=0)   ORDER BY cialdocolin.id_cocabe ASC, cialdocolin.linea ASC ','0','4503 (4763 sql rows affected)',564,615778,324897512,0,1),(453,'2016-06-14',125001,'02:00:04','N','S','S','Fisfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp4DRhDU /var/www/quartup.outs/temp/iophpl6yATo N\n(ok)','0','0 (10171 skipped) (0 sql rows affected)',45,615778,328004328,0,1),(453,'2016-06-14',131001,'02:00:04','N','S','S','Ficpec','CREATE TEMPORARY TABLE tempficpec (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'PC\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficpec ON cialdocolin.id_cocabe=tempficpec.id_cocabe WHERE cialdocolin.soporte=\'PC\' AND tempficpec.fecha>=\'20160515\' AND tempficpec.fecha<=\'20160614\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'PC\' AND cialdoco.fecha>=\'20160515\' AND cialdoco.fecha<=\'20160614\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpvOpvqw /var/www/quartup.outs/temp/iophpvvArXD N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlebWhEN\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','0','547 (547 sql rows affected)',5,615778,327027296,0,1),(453,'2016-06-14',132001,'02:00:04','N','S','S','Filpec','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpFeK67Z /var/www/quartup.outs/temp/iophptCFWBc N\n(ok)\n-----\nRecálculo de totales. 547 docs. reconstruídos.\n\nSegundos invertidos: 406.66700696945\n-----\nSELECT cialdocolin.id_cocabe,  cialdocolin.linea,  cialdocolin.fecha,  cialdocolin.fecha_validez,  cialdocolin.fec_entre_ped,  cialdocolin.fec_entre_pre,  cialdocolin.cod_articulo,  cialdocolin.id_maescombart,  cialdocolin.estruc_ela,  cialdocolin.id_coline_kit,  cialdocolin.cod_almacen_pre,  cialdocolin.cod_almacen,  cialdocolin.cod_ubicacion,  cialdocolin.num_lote,  cialdocolin.cod_und_emb,  cialdocolin.nombre,  cialdocolin.cantidad,  cialdocolin.cod_tarifa,  cialdocolin.preivi_mone,  cialdocolin.precio_mone,  cialdocolin.descuentos,  cialdocolin.importe_mone,  cialdocolin.impoivi_mone,  cialdocolin.preivi_euro,  cialdocolin.precio_euro,  cialdocolin.importe_euro,  cialdocolin.bultos,  cialdocolin.peso_neto,  cialdocolin.peso,  cialdocolin.cod_unidad_medida,  cialdocolin.cambio_embalaje,  cialdocolin.cant_emb,  cialdocolin.sw_reserva,  cialdocolin.cant_reserva,  cialdocolin.cod_unidad_compra,  cialdocolin.factor_compra,  cialdocolin.cod_unidad_venta,  cialdocolin.factor_venta,  cialdocolin.coste_alm_euro,  cialdocolin.coste_ule_euro,  cialdocolin.coste_man_euro,  cialdocolin.cod_cuenta,  cialdocolin.num_dien,  cialdocolin.cod_lugar,  cialdocolin.estado,  cialdocolin.cod_motivo_cancela,  cialdocolin.cant_ser,  cialdocolin.cant_emb_ser,  cialdocolin.soporte_ori,  cialdocolin.id_cocabe_ori,  cialdocolin.canal_ori,  cialdocolin.id_coline_ori,  cialdocolin.observaciones,  cialdocolin.cod_cuenta_bas,  cialdocolin.cod_tipo_iva,  cialdocolin.tpc_iva,  cialdocolin.tpc_rec,  cialdocolin.sw_dto,  cialdocolin.sw_fin,  cialdocolin.sw_irpf,  cialdocolin.soporte,  cialdocolin.canal,  cialdocolin.id_coline,  cialdocolin.sw_inhabitual,  cialdocolin.sw_recuadro,  cialdocolin.sw_negrita,  cialdocolin.sw_subrayado,  cialdocolin.sw_imprimir,  cialdocolin.sw_imprimir_img,  cialdocolin.enlace_soporte,  cialdocolin.enlace_canal,  cialdocolin.enlace_id_cocabe,  cialdocolin.enlace_id_coline,  cialdocolin.enlace_linea,  cialdocolin.enlace_sw_marca,  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_articulo.acceso AS \'Rcod_articulo_acceso\',  Rcod_articulo.nombre AS \'Rcod_articulo_nombre\',  Rcod_articulo.nombre_adi AS \'Rcod_articulo_nombre_adi\',  Rcod_articulo.cod_articulo_par AS \'Rcod_articulo_cod_articulo_par\',  Rcod_articulo.cod_familia_1 AS \'Rcod_articulo_cod_familia_1\',  Rcod_articulo.cod_familia_2 AS \'Rcod_articulo_cod_familia_2\',  Rcod_articulo.cod_familia_3 AS \'Rcod_articulo_cod_familia_3\',  Rcod_articulo.cod_familia_4 AS \'Rcod_articulo_cod_familia_4\',  Rcod_articulo.cod_familia_5 AS \'Rcod_articulo_cod_familia_5\',  Rcod_articulo.cod_cuenta_prov AS \'Rcod_articulo_cod_cuenta_prov\',  Rcod_articulo.sw_historico AS \'Rcod_articulo_sw_historico\',  Rcod_articulo.cod_barras AS \'Rcod_articulo_cod_barras\',  Rcod_articulo.id_maesartimar AS \'Rcod_articulo_id_maesartimar\',  Rcod_articulo.cod_esta_1 AS \'Rcod_articulo_cod_esta_1\',  Rcod_articulo.cod_esta_2 AS \'Rcod_articulo_cod_esta_2\',  Rcod_articulo.cod_esta_3 AS \'Rcod_articulo_cod_esta_3\',  Rcod_articulo.cod_nc_taric AS \'Rcod_articulo_cod_nc_taric\',  Rcod_articulo.num_puntos AS \'Rcod_articulo_num_puntos\',  Rcod_articulo.sw_dtos_modificable AS \'Rcod_articulo_sw_dtos_modificable\',  Rcod_articulo.precio_teorico AS \'Rcod_articulo_precio_teorico\',  Rcod_articulo.fecha_teo AS \'Rcod_articulo_fecha_teo\',  Rcod_articulo.fecha_alta AS \'Rcod_articulo_fecha_alta\',  Rcod_articulo.sw_estadistica AS \'Rcod_articulo_sw_estadistica\',  Rcod_articulo.fecha_baja AS \'Rcod_articulo_fecha_baja\',  Rcod_articulo.id_maesarti AS \'Rcod_articulo_id_maesarti\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_texto AS \'Rcod_articulo_cod_texto\',  Rcod_articulo.observaciones AS \'Rcod_articulo_observaciones\',  Rcod_articulo.sw_ver_agentes AS \'Rcod_articulo_sw_ver_agentes\',  Rcod_articulo.cod_repres AS \'Rcod_articulo_cod_repres\',  Rcod_articulo.base_comi AS \'Rcod_articulo_base_comi\',  Rcod_articulo.tpc_comi_dir AS \'Rcod_articulo_tpc_comi_dir\',  Rcod_articulo.tipo_articulo AS \'Rcod_articulo_tipo_articulo\',  Rcod_articulo.sw_alma_ubic AS \'Rcod_articulo_sw_alma_ubic\',  Rcod_articulo.sw_alma_emba AS \'Rcod_articulo_sw_alma_emba\',  Rcod_articulo.cantidad_base AS \'Rcod_articulo_cantidad_base\',  Rcod_articulo.cod_almacen AS \'Rcod_articulo_cod_almacen\',  Rcod_articulo.cuen_arti_almacen AS \'Rcod_articulo_cuen_arti_almacen\',  Rcod_articulo.cod_etiqueta AS \'Rcod_articulo_cod_etiqueta\',  Rcod_articulo.cod_unidad_medida AS \'Rcod_articulo_cod_unidad_medida\',  Rcod_articulo.cod_unidad_compra AS \'Rcod_articulo_cod_unidad_compra\',  Rcod_articulo.factor_compra AS \'Rcod_articulo_factor_compra\',  Rcod_articulo.cod_unidad_venta AS \'Rcod_articulo_cod_unidad_venta\',  Rcod_articulo.factor_venta AS \'Rcod_articulo_factor_venta\',  Rcod_articulo.stock_min AS \'Rcod_articulo_stock_min\',  Rcod_articulo.stock_max AS \'Rcod_articulo_stock_max\',  Rcod_articulo.stock_pup AS \'Rcod_articulo_stock_pup\',  Rcod_articulo.comunitario AS \'Rcod_articulo_comunitario\',  Rcod_articulo.partida_arancel AS \'Rcod_articulo_partida_arancel\',  Rcod_articulo.cod_nacion AS \'Rcod_articulo_cod_nacion\',  Rcod_articulo.sw_impuesto_esp AS \'Rcod_articulo_sw_impuesto_esp\',  Rcod_articulo.sw_rapel AS \'Rcod_articulo_sw_rapel\',  Rcod_articulo.cod_tipo_iva AS \'Rcod_articulo_cod_tipo_iva\',  Rcod_articulo.cod_cuenta_vta_bas AS \'Rcod_articulo_cod_cuenta_vta_bas\',  Rcod_articulo.cod_cuenta_vta_abo AS \'Rcod_articulo_cod_cuenta_vta_abo\',  Rcod_articulo.cod_cuenta_com_bas AS \'Rcod_articulo_cod_cuenta_com_bas\',  Rcod_articulo.cod_cuenta_com_abo AS \'Rcod_articulo_cod_cuenta_com_abo\',  Rcod_articulo.cod_cuenta_inve AS \'Rcod_articulo_cod_cuenta_inve\',  Rcod_articulo.id_cialceco AS \'Rcod_articulo_id_cialceco\',  Rcod_articulo.cod_analitica AS \'Rcod_articulo_cod_analitica\',  Rcod_articulo.image_file AS \'Rcod_articulo_image_file\',  Rcod_articulo.image_file1 AS \'Rcod_articulo_image_file1\',  Rcod_articulo.image_file2 AS \'Rcod_articulo_image_file2\',  Rcod_articulo.image_file3 AS \'Rcod_articulo_image_file3\',  Rcod_articulo.sw_web AS \'Rcod_articulo_sw_web\',  Rcod_articulo.sw_send_stock_ecomm AS \'Rcod_articulo_sw_send_stock_ecomm\',  Rcod_articulo.nivel_publica AS \'Rcod_articulo_nivel_publica\',  Rcod_articulo.html_1 AS \'Rcod_articulo_html_1\',  Rcod_articulo.cod_und_emb AS \'Rcod_articulo_cod_und_emb\',  Rcod_articulo.cambio_embalaje AS \'Rcod_articulo_cambio_embalaje\',  Rcod_articulo.alto AS \'Rcod_articulo_alto\',  Rcod_articulo.cod_unidad_alto AS \'Rcod_articulo_cod_unidad_alto\',  Rcod_articulo.largo AS \'Rcod_articulo_largo\',  Rcod_articulo.cod_unidad_largo AS \'Rcod_articulo_cod_unidad_largo\',  Rcod_articulo.ancho AS \'Rcod_articulo_ancho\',  Rcod_articulo.cod_unidad_ancho AS \'Rcod_articulo_cod_unidad_ancho\',  Rcod_articulo.peso_unitario AS \'Rcod_articulo_peso_unitario\',  Rcod_articulo.peso_unit_bruto AS \'Rcod_articulo_peso_unit_bruto\',  Rcod_articulo.densidad_long AS \'Rcod_articulo_densidad_long\',  Rcod_articulo.cod_unidad_peso_long AS \'Rcod_articulo_cod_unidad_peso_long\',  Rcod_articulo.cod_unidad_long AS \'Rcod_articulo_cod_unidad_long\',  Rcod_articulo.densidad_supe AS \'Rcod_articulo_densidad_supe\',  Rcod_articulo.cod_unidad_peso_supe AS \'Rcod_articulo_cod_unidad_peso_supe\',  Rcod_articulo.cod_unidad_supe AS \'Rcod_articulo_cod_unidad_supe\',  Rcod_articulo.densidad_volu AS \'Rcod_articulo_densidad_volu\',  Rcod_articulo.cod_unidad_peso_volu AS \'Rcod_articulo_cod_unidad_peso_volu\',  Rcod_articulo.cod_unidad_volu AS \'Rcod_articulo_cod_unidad_volu\',  Rcod_articulo.cod_tole_medi AS \'Rcod_articulo_cod_tole_medi\',  Rcod_articulo.cod_pla_par AS \'Rcod_articulo_cod_pla_par\',  Rcod_articulo.cod_dete AS \'Rcod_articulo_cod_dete\',  Rcod_articulo.texto_ficha_tec AS \'Rcod_articulo_texto_ficha_tec\',  Rcod_articulo.nivel_calidad AS \'Rcod_articulo_nivel_calidad\',  Rcod_articulo.num_tole_mues AS \'Rcod_articulo_num_tole_mues\',  Rcod_articulo.cod_deca AS \'Rcod_articulo_cod_deca\',  Rcod_articulo.texto_ficha_cal AS \'Rcod_articulo_texto_ficha_cal\',  Rcod_articulo.tipo_materia AS \'Rcod_articulo_tipo_materia\',  Rcod_articulo.sw_kit AS \'Rcod_articulo_sw_kit\',  Rcod_articulo.cod_almacen_mat AS \'Rcod_articulo_cod_almacen_mat\',  Rcod_articulo.cod_unidad_fabr AS \'Rcod_articulo_cod_unidad_fabr\',  Rcod_articulo.factor_fabr AS \'Rcod_articulo_factor_fabr\',  Rcod_articulo.cod_unidad_cons AS \'Rcod_articulo_cod_unidad_cons\',  Rcod_articulo.factor_cons AS \'Rcod_articulo_factor_cons\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  Rcod_tipo_iva.nombre AS \'Rcod_tipo_iva_nombre\',  Rcod_tipo_iva.tpc_iva AS \'Rcod_tipo_iva_tpc_iva\',  Rcod_tipo_iva.tpc_rec AS \'Rcod_tipo_iva_tpc_rec\',  Rcod_tipo_iva.sw_tpc_303 AS \'Rcod_tipo_iva_sw_tpc_303\',  Rcod_tipo_iva.id_ps_iva AS \'Rcod_tipo_iva_id_ps_iva\',  Rcod_tipo_iva.id_ps_rec AS \'Rcod_tipo_iva_id_ps_rec\',  Rcod_tipo_iva.id_group_ps_iva AS \'Rcod_tipo_iva_id_group_ps_iva\',  Rcod_tipo_iva.sw_dto AS \'Rcod_tipo_iva_sw_dto\',  Rcod_tipo_iva.sw_fin AS \'Rcod_tipo_iva_sw_fin\',  Rcod_tipo_iva.sw_irpf AS \'Rcod_tipo_iva_sw_irpf\',  Rcod_tipo_iva.sw_iva_incluido AS \'Rcod_tipo_iva_sw_iva_incluido\',  Rcod_tipo_iva.cod_cuenta_com_bas AS \'Rcod_tipo_iva_cod_cuenta_com_bas\',  Rcod_tipo_iva.cod_cuenta_com_abo AS \'Rcod_tipo_iva_cod_cuenta_com_abo\',  Rcod_tipo_iva.cod_cuenta_com_iva AS \'Rcod_tipo_iva_cod_cuenta_com_iva\',  Rcod_tipo_iva.cod_cuenta_com_rec AS \'Rcod_tipo_iva_cod_cuenta_com_rec\',  Rcod_tipo_iva.cod_cuenta_vta_bas AS \'Rcod_tipo_iva_cod_cuenta_vta_bas\',  Rcod_tipo_iva.cod_cuenta_vta_abo AS \'Rcod_tipo_iva_cod_cuenta_vta_abo\',  Rcod_tipo_iva.cod_cuenta_vta_iva AS \'Rcod_tipo_iva_cod_cuenta_vta_iva\',  Rcod_tipo_iva.cod_cuenta_vta_rec AS \'Rcod_tipo_iva_cod_cuenta_vta_rec\',  Rcod_tipo_iva.cta_iva_sop_autofra AS \'Rcod_tipo_iva_cta_iva_sop_autofra\',  Rcod_tipo_iva.cta_iva_rep_autofra AS \'Rcod_tipo_iva_cta_iva_rep_autofra\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  (IF(cialdocolin.estruc_ela!=0, \'C\', IF(cialdocolin.id_coline_kit!=0, \'L\', \'N\'))) AS sw_kit_sql,  (cialdocoGetSqlEstado(cialdocolin.id_cocabe, cialdocolin.id_coline, cialdocolin.estado, cialdocolin.cod_motivo_cancela)) AS sql_estado,  (IF(cialdocolin.cod_motivo_cancela=\'\', \'N\', \'S\')) AS sw_cancela,  (IF(cialdocolin.id_coline_ori=0, \'T\', IFNULL((SELECT IF(o.estado!=\'D\', o.estado, IF(o.cod_motivo_cancela=\'\', \'T\', \'D\')) FROM quartup1.cialdocolin AS o WHERE o.id_coline=cialdocolin.id_coline_ori), \'T\'))) AS sw_cancela_origen,  (SELECT cod_cuenta_vta_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_bas,  (SELECT cod_cuenta_vta_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_abo,  (SELECT cod_cuenta_com_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_bas,  (SELECT cod_cuenta_com_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_abo FROM quartup1.cialdocolin LEFT JOIN quartup1.maesarti AS Rcod_articulo ON Rcod_articulo.nivel=\'1\' AND Rcod_articulo.cod_articulo=cialdocolin.cod_articulo LEFT JOIN quartup1.maestiva AS Rcod_tipo_iva ON Rcod_tipo_iva.cod_tipo_iva=cialdocolin.cod_tipo_iva WHERE (cialdocolin.id_cocabe)=(6120160130000165) AND (cialdocolin.id_coline_kit=0)   ORDER BY cialdocolin.id_cocabe ASC, cialdocolin.linea ASC ','0','1482 (1482 sql rows affected)',413,615778,328914808,0,1),(454,'2016-06-15',2001,'02:00:02','N','S','S','Ficamb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpaI1sbr /var/www/quartup.outs/temp/iophpnRzK8K N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlwJpE74\' REPLACE INTO TABLE quartup1.quemmonecam FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_moneda, fecha_ini, fecha_fin, cambio_euro_vta, cambio_euro_cmp)','0','2 (2 sql rows affected)',0,615778,42720984,0,1),(454,'2016-06-15',3001,'02:00:02','N','S','S','Finaci','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpVqg4ep /var/www/quartup.outs/temp/iophp8P7umJ N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlZwfxv3\' REPLACE INTO TABLE quartup1.quempais FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_nacion, cod_nacion_3, nombre, nombre_en, cod_idioma_habi, intercomunitario, formato_fecha, formato_numero, unidades_medida, cod_moneda, sw_pais_origen, siglas_pais_ori, digitos_vta, digitos_com, posicion_vta, posicion_com, clave_nif_340, normativa, observaciones)','0','6 (6 sql rows affected)',0,615778,43171928,0,1),(454,'2016-06-15',5002,'02:00:02','N','S','S','Fiarde','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpTZf3Sn /var/www/quartup.outs/temp/iophpZieAgI N\n(ok)','0','0 (16 skipped) (0 sql rows affected)',0,615778,43253312,0,1),(454,'2016-06-15',5003,'02:00:02','N','S','S','Filtcu','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpXhmvT2 /var/www/quartup.outs/temp/iophpXVArwn N\n(ok)','0','0 (4806 skipped) (0 sql rows affected)',0,615778,43642992,0,1),(454,'2016-06-15',5004,'02:00:02','N','S','S','Filuen','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpRlSHyJ /var/www/quartup.outs/temp/iophpzSaZA5 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlfmZ8Nr\' REPLACE INTO TABLE quartup1.maescuenlue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_lugar, nombre, sw_dir_cliente, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, cod_almacen, telefono, fax, movil, conexion, email, web)','0','0 (0 sql rows affected)',0,615778,44091024,0,1),(454,'2016-06-15',7001,'02:00:02','N','S','S','Fialma','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp3TBh6N /var/www/quartup.outs/temp/iophpRxiroa N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlG9pnIw\' REPLACE INTO TABLE quartup1.maesalma FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_almacen, nombre, cod_zona_geo, sw_reservas, seguridad, fecha_baja, direccion, cod_postal, poblacion, provincia, cod_nacion, sw_precio_alma, sw_precio_auto, sw_ubicacion, sw_embalaje, sw_redondeo, horario, telefono, fax, email, web, id_quliapre, id_quliaprealm)','0','7 (7 sql rows affected)',0,615778,44645520,0,1),(454,'2016-06-15',8001,'02:00:02','N','S','S','Fifami','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp0JxOlT /var/www/quartup.outs/temp/iophpXqLgZf N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlUjksLC\' REPLACE INTO TABLE quartup1.maesarti FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, acceso, nombre, nombre_adi, cod_articulo_par, cod_familia_1, cod_familia_2, cod_familia_3, cod_familia_4, cod_familia_5, cod_cuenta_prov, sw_historico, cod_barras, id_maesartimar, cod_esta_1, cod_esta_2, cod_esta_3, cod_nc_taric, num_puntos, sw_dtos_modificable, precio_teorico, fecha_teo, fecha_alta, sw_estadistica, fecha_baja, id_maesarti, nivel, cod_texto, observaciones, sw_ver_agentes, cod_repres, base_comi, tpc_comi_dir, tipo_articulo, sw_alma_ubic, sw_alma_emba, cantidad_base, cod_almacen, cuen_arti_almacen, cod_etiqueta, cod_unidad_medida, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, stock_min, stock_max, stock_pup, comunitario, partida_arancel, cod_nacion, sw_impuesto_esp, sw_rapel, cod_tipo_iva, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_inve, id_cialceco, cod_analitica, image_file, image_file1, image_file2, image_file3, sw_web, sw_send_stock_ecomm, nivel_publica, html_1, cod_und_emb, cambio_embalaje, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, peso_unitario, peso_unit_bruto, densidad_long, cod_unidad_peso_long, cod_unidad_long, densidad_supe, cod_unidad_peso_supe, cod_unidad_supe, densidad_volu, cod_unidad_peso_volu, cod_unidad_volu, cod_tole_medi, cod_pla_par, cod_dete, texto_ficha_tec, nivel_calidad, num_tole_mues, cod_deca, texto_ficha_cal, tipo_materia, sw_kit, cod_almacen_mat, cod_unidad_fabr, factor_fabr, cod_unidad_cons, factor_cons)','0','246 (492 sql rows affected)',2,615778,47218536,0,1),(454,'2016-06-15',9001,'02:00:02','N','S','S','Fiarti','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpRs4OT4 /var/www/quartup.outs/temp/iophpJsOc2w N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlS4aAZ7\' REPLACE INTO TABLE quartup1.maesarti FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, acceso, nombre, nombre_adi, cod_articulo_par, cod_familia_1, cod_familia_2, cod_familia_3, cod_familia_4, cod_familia_5, cod_cuenta_prov, sw_historico, cod_barras, id_maesartimar, cod_esta_1, cod_esta_2, cod_esta_3, cod_nc_taric, num_puntos, sw_dtos_modificable, precio_teorico, fecha_teo, fecha_alta, sw_estadistica, fecha_baja, id_maesarti, nivel, cod_texto, observaciones, sw_ver_agentes, cod_repres, base_comi, tpc_comi_dir, tipo_articulo, sw_alma_ubic, sw_alma_emba, cantidad_base, cod_almacen, cuen_arti_almacen, cod_etiqueta, cod_unidad_medida, cod_unidad_compra, factor_compra, cod_unidad_venta, factor_venta, stock_min, stock_max, stock_pup, comunitario, partida_arancel, cod_nacion, sw_impuesto_esp, sw_rapel, cod_tipo_iva, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_inve, id_cialceco, cod_analitica, image_file, image_file1, image_file2, image_file3, sw_web, sw_send_stock_ecomm, nivel_publica, html_1, cod_und_emb, cambio_embalaje, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, peso_unitario, peso_unit_bruto, densidad_long, cod_unidad_peso_long, cod_unidad_long, densidad_supe, cod_unidad_peso_supe, cod_unidad_supe, densidad_volu, cod_unidad_peso_volu, cod_unidad_volu, cod_tole_medi, cod_pla_par, cod_dete, texto_ficha_tec, nivel_calidad, num_tole_mues, cod_deca, texto_ficha_cal, tipo_materia, sw_kit, cod_almacen_mat, cod_unidad_fabr, factor_fabr, cod_unidad_cons, factor_cons)','0','78052 (156104 sql rows affected)',628,615778,76985688,0,1),(454,'2016-06-15',11001,'02:00:02','N','S','S','Fiarty','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpI2uv7P /var/www/quartup.outs/temp/iophpz3hsfy N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlvFeZpj\' REPLACE INTO TABLE quartup1.maesarticod FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, linea, cod_articulo_alt, nombre_alt, cod_tipo_cod_alt, observaciones)','0','2993 (77 skipped) (2993 sql rows affected)',2,615778,77179552,0,1),(454,'2016-06-15',11002,'02:00:02','N','S','S','Fiequi','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp5GvSe6 /var/www/quartup.outs/temp/iophp4CnM3S N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlm5O8eG\' REPLACE INTO TABLE quartup1.maesartiequ FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_equiva, nombre, siglas, sw_bloqueo)','0','1 (1 sql rows affected)',0,615778,77485560,0,1),(454,'2016-06-15',11003,'02:00:02','N','S','S','Fiubic','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpOO1Hau /var/www/quartup.outs/temp/iophpa1ci6h N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlEPB555\' REPLACE INTO TABLE quartup1.almaartiubi FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (id_almaartiubi, cod_articulo, cod_almacen, cod_ubicacion, orden_importancia, observaciones)','0','821 (1642 sql rows affected)',2,615778,77837752,0,1),(454,'2016-06-15',11004,'02:00:02','N','S','S','Fiarna','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpyscKI2 /var/www/quartup.outs/temp/iophp9gzplZ N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlOr7orW\' REPLACE INTO TABLE quartup1.maesartidesidi FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, cod_descripcion, cod_idioma, nivel, nombre, color_texto, color_fondo, cod_font, cod_size_font, cod_style_font, cod_weight_font, nombre_web, nombre_html, iddms, image_file, image_file1, image_file2)','0','0 (0 sql rows affected)',0,615778,78305896,0,1),(454,'2016-06-15',13001,'02:00:02','N','S','S','Fiprct','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpnSW9ET /var/www/quartup.outs/temp/iophpC6sVSQ N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlKsjSHO\' REPLACE INTO TABLE quartup1.maescuenper FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, num_personal, nombre, id_prct, cod_pre_cuenta, num_pre_personal, dni, descripcion, cod_cargo, departamento, horario, cod_urgencia, cod_origen, cod_importancia, direccion, cod_postal, poblacion, provincia, cod_nacion, telefono, extension, telefono_alternativo, fax, movil, sw_no_llamar, email, email_alternativo, mensajeria_instant, web, sw_no_email, observaciones, cod_accion, cod_relacion, asignado_a, referido_por, cod_estado, descripcion_estado, informacion_add, id_crm)','0','948 (1896 sql rows affected)',14,616726,78967848,0,1),(454,'2016-06-15',13002,'02:00:02','N','S','S','Fidien','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpxs1NCx /var/www/quartup.outs/temp/iophp1CiKxg N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlvPU5KZ\' REPLACE INTO TABLE quartup1.maescuendir FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, nombre, num_dien, cif, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, fax, movil, conexion, email, web, num_domi, ean, cod_agencia, cod_ruta, cod_destino, sw_reexpedicion, cod_almacen_mov, cod_repres, base_comi, tpc_comi_dir, cod_ruta_com, sw_delegacion, sw_visita, observaciones, clave_303_v, clave_303_c, clave_operacion_349, cuen_tax_rule, cod_cae, cae_fecha_caduca)','0','97 (97 sql rows affected)',0,616726,79630288,0,1),(454,'2016-06-15',13003,'02:00:02','N','S','S','Fitcli','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophplXVrGJ /var/www/quartup.outs/temp/iophpUgaPBt N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqly1KyDd\' REPLACE INTO TABLE quartup1.maesprectar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tarifa, nombre, cod_moneda, tipo, sw_prec_neto, sw_iva_incluido, orden_prec, orden_dtos, tpc_aumento, orden_prec_2, orden_dtos_2, orden_prec_3, orden_dtos_3, orden_prec_4, orden_dtos_4, orden_prec_5, orden_dtos_5)','0','23 (35 sql rows affected)',0,616726,80104336,0,1),(454,'2016-06-15',13004,'02:00:02','N','S','S','Figrup','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpEbnRQX /var/www/quartup.outs/temp/iophpbO0a4H N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlNX3kjs\' REPLACE INTO TABLE quartup1.cialcuma FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, digitos, sw_auto_pgc, nombre, normativa, observaciones)','0','401 (401 sql rows affected)',0,616726,80436424,0,1),(454,'2016-06-15',13005,'02:00:02','N','S','S','Fiesta','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpQj1myd /var/www/quartup.outs/temp/iophprQIpNY N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqloVm2cK\' REPLACE INTO TABLE quartup1.maescodiest FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (tip_esta, cod_esta, nombre, observaciones)','0','0 (0 sql rows affected)',0,616726,80740192,0,1),(454,'2016-06-15',13006,'02:00:02','N','S','S','Ficuen','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpgbisRv /var/www/quartup.outs/temp/iophpUvUSvh N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql877Yh3\' REPLACE INTO TABLE quartup1.maescuen FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, nombre, acceso, cif, seguridad, nombre_cial, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, movil, fax, email, email_fac, enviar_fac, web, cod_moneda, cod_idioma, fecha_ini, fecha_fin, iban_pais, iban_banco, iban_oficina, iban_dc, iban_cta, iban_extra, cod_bic_swift, cod_subfijo, num_cedente, num_identifica, cod_confirming, cod_factoring, sw_referencia, cod_texto, cod_almacen_mov, sw_pedido_entero, cancela_resto_ped, sw_alba_siempre, sw_agrupa, sw_tipo_fra, cod_serie_fac, cod_serie_abo, cod_agencia, cod_ruta, cod_modo_porte, cod_destino, cod_incoterm, tipo_portes, importe_portes, impo_portes, minimo_no_portes, id_quemtpvs, cod_esta_1, cod_esta_2, cod_esta_3, nivel_calidad, cod_esta_4, cod_esta_5, cod_esta_6, cod_impr_oferta, cod_impr_pedido, cod_impr_prepara, cod_impr_albaran, copias_oferta, copias_pedido, copias_prepara, copias_albaran, sw_oferta_valor, sw_pedido_valor, sw_prepara_valor, sw_albaran_valor, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_impr_factura, copias_factura, sw_impr_vto, usuario_ws, password_ws, sw_activo, fecha_fin_nl, sw_dto_cascada, precios_con_iva, cod_tarifa, cod_tarifa_1, cod_tarifa_2, cod_tarifa_3, cod_tarifa_4, cod_tarifa_5, num_dien_fra, num_dien_rec, cod_fpago, cod_pago, dias_pago_1, dias_pago_2, dias_pago_3, vacaciones_1, vacaciones_2, num_domi, cod_cuenta_paco, dto_fin, sw_orden_firmada, fec_orden_firmada, sepa_refe_mandato, imp_rie_euro_1, imp_rie_euro_2, imp_rie_mone_1, imp_rie_mone_2, fecha_riesgo, sw_riesgo_ped, dias_cancel, sw_factoring, sw_reclama, sw_residente, codigo_cin, codigo_isin, sw_asegurado, num_seguro, cod_poliza, cod_repres, base_comi, tpc_comi_dir, num_usuario_cre, cod_actividad, id_maescuenzin, facturacion, num_empleados, cod_origen, cod_vendedor, cod_referido_por, pre_cuenta, sw_mostrar_nota, nota, tipo_iva, cod_tipo_iva, sw_irpf, tpc_irpf, cod_cuenta_irpf, sw_organ_persona, clave_303_v, clave_303_c, sw_operacion_347, clave_operacion_349, id_maescuenloi, cod_proveedor, ean, sw_centro_coste, id_cialceco, cod_cuenta_fra, cod_cuenta_bas, cod_cuenta_abo, fec_cert_aeat, fec_cert_ss, fec_decla_haber, cod_cae, cae_fecha_caduca, sw_impuesto_esp, sw_mostrar_observaciones, observaciones, fecha_nac, sexo, digitos, sw_auto_pgc)','0','2754 (3284 sql rows affected)',5,616726,83270776,0,1),(454,'2016-06-15',14001,'02:00:02','N','S','S','Fidomi','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpL7KtE6 /var/www/quartup.outs/temp/iophpXtxZ09 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqll0fczd\' REPLACE INTO TABLE quartup1.maescuendom FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, num_domi, id_domi, banco, direccion, cod_postal, poblacion, provincia, cod_nacion, iban_pais, iban_banco, iban_oficina, iban_dc, iban_cta, iban_extra, iban_bban, cod_iban, cod_bic_swift, observaciones)','0','627 (133 skipped) (1254 sql rows affected)',1,617486,84188176,0,1),(454,'2016-06-15',15001,'02:00:02','N','S','S','Firies','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp627Prj /var/www/quartup.outs/temp/iophp1i2ukp N\n(ok)','0','0 (256 skipped) (0 sql rows affected)',7,617486,84280664,0,1),(454,'2016-06-15',15002,'02:00:02','N','S','S','Ficeco','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophplCbP1S /var/www/quartup.outs/temp/iophpuRP9Im N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlHKSSvQ\' REPLACE INTO TABLE quartup1.cialceco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_centro_coste, id_cialceco, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, telefono, fax, tipo_centro, ord_salida, digitos, anyo, seguridad)','0','2 (4 sql rows affected)',1,617486,84685480,0,1),(454,'2016-06-15',15003,'02:00:02','N','S','S','Fitecu','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp5DUzhl /var/www/quartup.outs/temp/iophpjbLh3P N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlxtnmVk\' REPLACE INTO TABLE quartup1.maescuenobs FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_texto, id_tecu, texto, bloqueo, ver_pantalla, password)','0','1 (2 sql rows affected)',0,617487,85008024,0,1),(454,'2016-06-15',15004,'02:00:02','N','S','S','Fitari','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpSCXmYP /var/www/quartup.outs/temp/iophplrxo1k N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql1VoM9P\' REPLACE INTO TABLE quartup1.maesprectar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tarifa, nombre, cod_moneda, tipo, sw_prec_neto, sw_iva_incluido, orden_prec, orden_dtos, tpc_aumento, orden_prec_2, orden_dtos_2, orden_prec_3, orden_dtos_3, orden_prec_4, orden_dtos_4, orden_prec_5, orden_dtos_5)','0','4 (4 sql rows affected)',0,617487,85076208,0,1),(454,'2016-06-15',17001,'02:00:02','N','S','S','Fiagec','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpxQumql /var/www/quartup.outs/temp/iophpj6fXGQ N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlRZCg3l\' REPLACE INTO TABLE quartup1.maesagen FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_agencia, id_maesagen, nombre, descripcion, conexion, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, telefono, fax, cif, email, web, observaciones, cod_pimp_alag, sw_albaran, cod_fichero_plano, num_copias_av, sw_albaran_valor, cod_cliente_agec, cod_servicio, cod_cuenta, cod_articulo, margen_cial, cod_und_emb_1, cod_und_emb_2, cod_und_emb_3)','0','27 (54 sql rows affected)',0,617487,85636024,0,1),(454,'2016-06-15',17002,'02:00:02','N','S','S','Fitext','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophppek6IR /var/www/quartup.outs/temp/iophpkE1Won N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlMVfV6S\' REPLACE INTO TABLE quartup1.maescialobs FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_texto, texto)','0','2 (2 sql rows affected)',0,617487,85882952,0,1),(454,'2016-06-15',17003,'02:00:02','N','S','S','Fipago','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpct9i1o /var/www/quartup.outs/temp/iophpvUdIVU N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlAnqL1q\' REPLACE INTO TABLE quartup1.maescuencpa FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_pago, id_pago, nombre, num_efectos, dias_factura, dias_vto, tipo_pago, sw_dto_fin, imp_euro, comision)','0','19 (38 sql rows affected)',0,617506,86264544,0,1),(454,'2016-06-15',17004,'02:00:02','N','S','S','Ficoiv','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpJeU5TX /var/www/quartup.outs/temp/iophpTa4qMu N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlSXnMS1\' REPLACE INTO TABLE quartup1.maestiva FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_tipo_iva, nombre, tpc_iva, tpc_rec, sw_tpc_303, id_ps_iva, id_ps_rec, id_group_ps_iva, sw_dto, sw_fin, sw_irpf, sw_iva_incluido, cod_cuenta_com_bas, cod_cuenta_com_abo, cod_cuenta_com_iva, cod_cuenta_com_rec, cod_cuenta_vta_bas, cod_cuenta_vta_abo, cod_cuenta_vta_iva, cod_cuenta_vta_rec, cta_iva_sop_autofra, cta_iva_rep_autofra)','0','8 (8 sql rows affected)',0,617506,86744856,0,1),(454,'2016-06-15',17005,'02:00:02','N','S','S','Fifpag','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophptk7STz /var/www/quartup.outs/temp/iophpSeL0U7 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlVx0l2F\' REPLACE INTO TABLE quartup1.maescuenfpa FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_fpago, nombre, sw_remesable, sw_efectivo, sw_reembolso, sw_transfer, sw_domicilia, sw_cuenta_completa, cod_moneda, cod_cuenta_paco, sw_vale_devolucion, dias_riesgo, texto_base_contable, sw_impr_recibo)','0','12 (12 sql rows affected)',0,617506,87137656,0,1),(454,'2016-06-15',17006,'02:00:02','N','S','S','Ficarg','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpvm7Ese /var/www/quartup.outs/temp/iophpculZSM N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlxrc0vl\' REPLACE INTO TABLE quartup1.maespecocar FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cargo, id_carg, nombre)','0','14 (28 sql rows affected)',0,617520,87414048,0,1),(454,'2016-06-15',19001,'02:00:02','N','S','S','Fisust','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpeYH5uU /var/www/quartup.outs/temp/iophpLIccut N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql9FGpy2\' REPLACE INTO TABLE quartup1.maesartiequlin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_articulo, cod_equiva, siglas, ind_proceso)','0','0 (0 sql rows affected)',0,617520,87806944,0,1),(454,'2016-06-15',19002,'02:00:02','N','S','S','Fiaamm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpCyqgWB /var/www/quartup.outs/temp/iophpgmP7jb N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlxeBsOK\' REPLACE INTO TABLE quartup1.almaartilim FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_almacen, nivel, cod_articulo, stock_min, stock_max, stock_pup, fecha_min, fecha_max, fecha_pup, observaciones)','0','0 (0 sql rows affected)',0,617520,89275560,0,1),(454,'2016-06-15',19003,'02:00:02','N','S','S','Fiunem','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpmu9mpk /var/www/quartup.outs/temp/iophpLlpi0T N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql2vZHCt\' REPLACE INTO TABLE quartup1.almaunem FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_und_emb, id_unem, nombre, siglas, ean, cambio, tara, cod_unidad_tara, alto, cod_unidad_alto, largo, cod_unidad_largo, ancho, cod_unidad_ancho, unidad_min, unidad_max, peso_min, peso_max, cod_unidad_peso, longitud_min, longitud_max, cod_unidad_long, superficie_min, superficie_max, cod_unidad_supe, volumen_min, volumen_max, cod_unidad_volu, tipo_calculo, formato)','0','1 (2 sql rows affected)',0,617521,89828872,0,1),(454,'2016-06-15',21001,'02:00:02','N','S','S','Firepr','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpJ1DMI3 /var/www/quartup.outs/temp/iophpL61ROD N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlZTFT3d\' REPLACE INTO TABLE quartup1.maescuenrep FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_repres, nombre, cod_repres_parent, sw_director, conexion, direccion, cod_postal, poblacion, provincia, cod_nacion, horario, web, observaciones, telefono, fax, movil, email, comision_1, imp_euro_1, comision_2, imp_euro_2, comision_3, imp_euro_3, comision_4, imp_euro_4, comision_5, imp_euro_5, comision_6, imp_euro_6, comision_7, imp_euro_7, comision_8, imp_euro_8, comision_9, imp_euro_9, comision_10, imp_euro_10, comision_11, imp_euro_11, comision_12, imp_euro_12, comision_13, imp_euro_13, comision_14, imp_euro_14, comision_15, imp_euro_15, comision_16, imp_euro_16, comision_17, imp_euro_17, comision_18, imp_euro_18, comision_19, imp_euro_19, comision_20, imp_euro_20, comi_dir_1, idi_euro_1, comi_dir_2, idi_euro_2, comi_dir_3, idi_euro_3, comi_dir_4, idi_euro_4, comi_dir_5, idi_euro_5, comi_dir_6, idi_euro_6, comi_dir_7, idi_euro_7, comi_dir_8, idi_euro_8, comi_dir_9, idi_euro_9, comi_dir_10, idi_euro_10, comi_dir_11, idi_euro_11, comi_dir_12, idi_euro_12, comi_dir_13, idi_euro_13, comi_dir_14, idi_euro_14, comi_dir_15, idi_euro_15, comi_dir_16, idi_euro_16, comi_dir_17, idi_euro_17, comi_dir_18, idi_euro_18, comi_dir_19, idi_euro_19, comi_dir_20, idi_euro_20, cif, cod_cuenta, id_cialceco, tipo_iva, cod_tipo_iva, irpf, tpc_ret, tpc_rappel, cod_almacen, distribuidor)','0','13 (16 sql rows affected)',0,617521,91065080,0,1),(454,'2016-06-15',22001,'02:00:02','N','S','S','Firepp','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpBRSMWO /var/www/quartup.outs/temp/iophpbCPGPp N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqltGZWw1\' REPLACE INTO TABLE quartup1.maescuenreplin FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (tip_comision, cod_cuenta, num_dien, nivel, cod_articulo, linea, cod_repres, fecha_d, fecha_h, base_comi, tpc_comi_dir, dsd_dto, hst_dto, base_boni, cantidad, tipo_fijo, cod_moneda, importe_mone, observaciones)','0','519 (43 skipped) (519 sql rows affected)',12,617521,91795144,0,1),(454,'2016-06-15',30001,'02:00:02','N','S','S','Fipvpq','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpM02Uyh /var/www/quartup.outs/temp/iophpLYGTAx N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlLYkvIN\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','0 (0 sql rows affected)',0,617521,92968184,0,1),(454,'2016-06-15',30002,'02:00:02','N','S','S','Ficlfa','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpLaKMZ3 /var/www/quartup.outs/temp/iophpZlM4gk N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql9UGQ4A\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','1514 (355 skipped) (3028 sql rows affected)',10,617521,93054640,0,1),(454,'2016-06-15',30003,'02:00:02','N','S','S','Fipvpc','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophptqEFrp /var/www/quartup.outs/temp/iophpdM9uOd N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqluULjk2\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','281 (29 skipped) (281 sql rows affected)',1,617521,93287320,0,1),(454,'2016-06-15',30004,'02:00:02','N','S','S','Fidtpq','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpHUbu9S /var/www/quartup.outs/temp/iophpAoGFYJ N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosql00z1WA\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','2 (4 sql rows affected)',0,617521,93274048,0,1),(454,'2016-06-15',30005,'02:00:02','N','S','S','Fipvpm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpaL79ss /var/www/quartup.outs/temp/iophpwipjZj N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqljmUDBb\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','0','0 (0 sql rows affected)',0,617521,93640256,0,1),(454,'2016-06-15',31001,'02:00:02','N','S','S','Fipvpt','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp2KZno3 /var/www/quartup.outs/temp/iophpPVR8aV N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlDN31NW\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','81612 (74210 skipped) (163224 sql rows affected)',65,617521,93750072,0,1),(454,'2016-06-15',32001,'02:00:02','N','S','S','Fipvtt','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophptNfDwm /var/www/quartup.outs/temp/iophpJBqffM N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqljHN2ic\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','0 (0 sql rows affected)',0,617521,93842840,0,1),(454,'2016-06-15',32002,'02:00:02','N','S','S','Fiplfa','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpEEEisC /var/www/quartup.outs/temp/iophpedhzB2 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlSdrcYs\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','1093 (164 skipped) (2186 sql rows affected)',7,617521,93913120,0,1),(454,'2016-06-15',40001,'02:00:02','N','S','S','Fitapo','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpagKP4g /var/www/quartup.outs/temp/iophp1jGtb5 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqllYCyjT\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','0 (0 sql rows affected)',0,617521,94012320,0,1),(454,'2016-06-15',40002,'02:00:02','N','S','S','Fitacm','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpN110xH /var/www/quartup.outs/temp/iophpjFyuMv N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlnHwKik\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','0','0 (10718 skipped) (0 sql rows affected)',4,617521,122456912,0,1),(454,'2016-06-15',40003,'02:00:02','N','S','S','Fitaco','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophp6BUMGk /var/www/quartup.outs/temp/iophpcJjQ4k N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqllkcBUl\' REPLACE INTO TABLE quartup1.maesartipre FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (nivel, cod_articulo, cod_tarifa, cod_cuenta, cantidad_d, cantidad_h, fecha_d, fecha_h, sw_oferta, sw_promocion, cod_moneda, precio, descuentos, sw_prec_neto, sw_iva_incluido, sw_multiplo, multiplo, sw_prec_from, tip_cta_from, cod_tarifa_from, cod_cuenta_from, tpc_plus_from, imp_plus_from, round_from, num_puntos, precio_punto, tpc_portes, observaciones)','0','0 (12836 skipped) (12611 sql rows affected)',31,617521,208828656,0,1),(454,'2016-06-15',50001,'02:00:02','N','S','S','Fiarcl','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpKC00c2 /var/www/quartup.outs/temp/iophpis1rvI N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlKnXnkp\' REPLACE INTO TABLE quartup1.maesarticue FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_cuenta, cod_articulo, su_codigo, su_codigo2, descripcion, num_dien, observaciones, cod_importancia, dias_entrega)','0','0 (6 skipped) (10723 sql rows affected)',1,617521,208771784,0,1),(454,'2016-06-15',105001,'02:00:02','N','S','S','Fitped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpCyXTW8 /var/www/quartup.outs/temp/iophp6vKqzS N\n(ok)','0','0 (0 sql rows affected)',0,617521,208855672,0,1),(454,'2016-06-15',106001,'02:00:02','N','S','S','Fikped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpsbohuC /var/www/quartup.outs/temp/iophpyeZ8om N\n(ok)','0','0 (61635 skipped) (0 sql rows affected)',42,617521,234156000,0,1),(454,'2016-06-15',107001,'02:00:02','N','S','S','Ficped','CREATE TEMPORARY TABLE tempficped (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'PV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficped ON cialdocolin.id_cocabe=tempficped.id_cocabe WHERE cialdocolin.soporte=\'PV\' AND tempficped.fecha>=\'20160516\' AND tempficped.fecha<=\'20160615\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'PV\' AND cialdoco.fecha>=\'20160516\' AND cialdoco.fecha<=\'20160615\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpDwrQ9Y /var/www/quartup.outs/temp/iophpaAByUB N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlj7rjnq\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','0','1128 (1130 sql rows affected)',16,617521,240174736,0,1),(454,'2016-06-15',108001,'02:00:02','N','S','S','Filped','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpIFsHGl /var/www/quartup.outs/temp/iophpcU45Zg N\n(ok)\n-----\nRecálculo de totales. 1128 docs. reconstruídos.\n\nSegundos invertidos: 846.89300394058\n-----\nSELECT cialdocolin.id_cocabe,  cialdocolin.linea,  cialdocolin.fecha,  cialdocolin.fecha_validez,  cialdocolin.fec_entre_ped,  cialdocolin.fec_entre_pre,  cialdocolin.cod_articulo,  cialdocolin.id_maescombart,  cialdocolin.estruc_ela,  cialdocolin.id_coline_kit,  cialdocolin.cod_almacen_pre,  cialdocolin.cod_almacen,  cialdocolin.cod_ubicacion,  cialdocolin.num_lote,  cialdocolin.cod_und_emb,  cialdocolin.nombre,  cialdocolin.cantidad,  cialdocolin.cod_tarifa,  cialdocolin.preivi_mone,  cialdocolin.precio_mone,  cialdocolin.descuentos,  cialdocolin.importe_mone,  cialdocolin.impoivi_mone,  cialdocolin.preivi_euro,  cialdocolin.precio_euro,  cialdocolin.importe_euro,  cialdocolin.bultos,  cialdocolin.peso_neto,  cialdocolin.peso,  cialdocolin.cod_unidad_medida,  cialdocolin.cambio_embalaje,  cialdocolin.cant_emb,  cialdocolin.sw_reserva,  cialdocolin.cant_reserva,  cialdocolin.cod_unidad_compra,  cialdocolin.factor_compra,  cialdocolin.cod_unidad_venta,  cialdocolin.factor_venta,  cialdocolin.coste_alm_euro,  cialdocolin.coste_ule_euro,  cialdocolin.coste_man_euro,  cialdocolin.cod_cuenta,  cialdocolin.num_dien,  cialdocolin.cod_lugar,  cialdocolin.estado,  cialdocolin.cod_motivo_cancela,  cialdocolin.cant_ser,  cialdocolin.cant_emb_ser,  cialdocolin.soporte_ori,  cialdocolin.id_cocabe_ori,  cialdocolin.canal_ori,  cialdocolin.id_coline_ori,  cialdocolin.observaciones,  cialdocolin.cod_cuenta_bas,  cialdocolin.cod_tipo_iva,  cialdocolin.tpc_iva,  cialdocolin.tpc_rec,  cialdocolin.sw_dto,  cialdocolin.sw_fin,  cialdocolin.sw_irpf,  cialdocolin.soporte,  cialdocolin.canal,  cialdocolin.id_coline,  cialdocolin.sw_inhabitual,  cialdocolin.sw_recuadro,  cialdocolin.sw_negrita,  cialdocolin.sw_subrayado,  cialdocolin.sw_imprimir,  cialdocolin.sw_imprimir_img,  cialdocolin.enlace_soporte,  cialdocolin.enlace_canal,  cialdocolin.enlace_id_cocabe,  cialdocolin.enlace_id_coline,  cialdocolin.enlace_linea,  cialdocolin.enlace_sw_marca,  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_articulo.acceso AS \'Rcod_articulo_acceso\',  Rcod_articulo.nombre AS \'Rcod_articulo_nombre\',  Rcod_articulo.nombre_adi AS \'Rcod_articulo_nombre_adi\',  Rcod_articulo.cod_articulo_par AS \'Rcod_articulo_cod_articulo_par\',  Rcod_articulo.cod_familia_1 AS \'Rcod_articulo_cod_familia_1\',  Rcod_articulo.cod_familia_2 AS \'Rcod_articulo_cod_familia_2\',  Rcod_articulo.cod_familia_3 AS \'Rcod_articulo_cod_familia_3\',  Rcod_articulo.cod_familia_4 AS \'Rcod_articulo_cod_familia_4\',  Rcod_articulo.cod_familia_5 AS \'Rcod_articulo_cod_familia_5\',  Rcod_articulo.cod_cuenta_prov AS \'Rcod_articulo_cod_cuenta_prov\',  Rcod_articulo.sw_historico AS \'Rcod_articulo_sw_historico\',  Rcod_articulo.cod_barras AS \'Rcod_articulo_cod_barras\',  Rcod_articulo.id_maesartimar AS \'Rcod_articulo_id_maesartimar\',  Rcod_articulo.cod_esta_1 AS \'Rcod_articulo_cod_esta_1\',  Rcod_articulo.cod_esta_2 AS \'Rcod_articulo_cod_esta_2\',  Rcod_articulo.cod_esta_3 AS \'Rcod_articulo_cod_esta_3\',  Rcod_articulo.cod_nc_taric AS \'Rcod_articulo_cod_nc_taric\',  Rcod_articulo.num_puntos AS \'Rcod_articulo_num_puntos\',  Rcod_articulo.sw_dtos_modificable AS \'Rcod_articulo_sw_dtos_modificable\',  Rcod_articulo.precio_teorico AS \'Rcod_articulo_precio_teorico\',  Rcod_articulo.fecha_teo AS \'Rcod_articulo_fecha_teo\',  Rcod_articulo.fecha_alta AS \'Rcod_articulo_fecha_alta\',  Rcod_articulo.sw_estadistica AS \'Rcod_articulo_sw_estadistica\',  Rcod_articulo.fecha_baja AS \'Rcod_articulo_fecha_baja\',  Rcod_articulo.id_maesarti AS \'Rcod_articulo_id_maesarti\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_texto AS \'Rcod_articulo_cod_texto\',  Rcod_articulo.observaciones AS \'Rcod_articulo_observaciones\',  Rcod_articulo.sw_ver_agentes AS \'Rcod_articulo_sw_ver_agentes\',  Rcod_articulo.cod_repres AS \'Rcod_articulo_cod_repres\',  Rcod_articulo.base_comi AS \'Rcod_articulo_base_comi\',  Rcod_articulo.tpc_comi_dir AS \'Rcod_articulo_tpc_comi_dir\',  Rcod_articulo.tipo_articulo AS \'Rcod_articulo_tipo_articulo\',  Rcod_articulo.sw_alma_ubic AS \'Rcod_articulo_sw_alma_ubic\',  Rcod_articulo.sw_alma_emba AS \'Rcod_articulo_sw_alma_emba\',  Rcod_articulo.cantidad_base AS \'Rcod_articulo_cantidad_base\',  Rcod_articulo.cod_almacen AS \'Rcod_articulo_cod_almacen\',  Rcod_articulo.cuen_arti_almacen AS \'Rcod_articulo_cuen_arti_almacen\',  Rcod_articulo.cod_etiqueta AS \'Rcod_articulo_cod_etiqueta\',  Rcod_articulo.cod_unidad_medida AS \'Rcod_articulo_cod_unidad_medida\',  Rcod_articulo.cod_unidad_compra AS \'Rcod_articulo_cod_unidad_compra\',  Rcod_articulo.factor_compra AS \'Rcod_articulo_factor_compra\',  Rcod_articulo.cod_unidad_venta AS \'Rcod_articulo_cod_unidad_venta\',  Rcod_articulo.factor_venta AS \'Rcod_articulo_factor_venta\',  Rcod_articulo.stock_min AS \'Rcod_articulo_stock_min\',  Rcod_articulo.stock_max AS \'Rcod_articulo_stock_max\',  Rcod_articulo.stock_pup AS \'Rcod_articulo_stock_pup\',  Rcod_articulo.comunitario AS \'Rcod_articulo_comunitario\',  Rcod_articulo.partida_arancel AS \'Rcod_articulo_partida_arancel\',  Rcod_articulo.cod_nacion AS \'Rcod_articulo_cod_nacion\',  Rcod_articulo.sw_impuesto_esp AS \'Rcod_articulo_sw_impuesto_esp\',  Rcod_articulo.sw_rapel AS \'Rcod_articulo_sw_rapel\',  Rcod_articulo.cod_tipo_iva AS \'Rcod_articulo_cod_tipo_iva\',  Rcod_articulo.cod_cuenta_vta_bas AS \'Rcod_articulo_cod_cuenta_vta_bas\',  Rcod_articulo.cod_cuenta_vta_abo AS \'Rcod_articulo_cod_cuenta_vta_abo\',  Rcod_articulo.cod_cuenta_com_bas AS \'Rcod_articulo_cod_cuenta_com_bas\',  Rcod_articulo.cod_cuenta_com_abo AS \'Rcod_articulo_cod_cuenta_com_abo\',  Rcod_articulo.cod_cuenta_inve AS \'Rcod_articulo_cod_cuenta_inve\',  Rcod_articulo.id_cialceco AS \'Rcod_articulo_id_cialceco\',  Rcod_articulo.cod_analitica AS \'Rcod_articulo_cod_analitica\',  Rcod_articulo.image_file AS \'Rcod_articulo_image_file\',  Rcod_articulo.image_file1 AS \'Rcod_articulo_image_file1\',  Rcod_articulo.image_file2 AS \'Rcod_articulo_image_file2\',  Rcod_articulo.image_file3 AS \'Rcod_articulo_image_file3\',  Rcod_articulo.sw_web AS \'Rcod_articulo_sw_web\',  Rcod_articulo.sw_send_stock_ecomm AS \'Rcod_articulo_sw_send_stock_ecomm\',  Rcod_articulo.nivel_publica AS \'Rcod_articulo_nivel_publica\',  Rcod_articulo.html_1 AS \'Rcod_articulo_html_1\',  Rcod_articulo.cod_und_emb AS \'Rcod_articulo_cod_und_emb\',  Rcod_articulo.cambio_embalaje AS \'Rcod_articulo_cambio_embalaje\',  Rcod_articulo.alto AS \'Rcod_articulo_alto\',  Rcod_articulo.cod_unidad_alto AS \'Rcod_articulo_cod_unidad_alto\',  Rcod_articulo.largo AS \'Rcod_articulo_largo\',  Rcod_articulo.cod_unidad_largo AS \'Rcod_articulo_cod_unidad_largo\',  Rcod_articulo.ancho AS \'Rcod_articulo_ancho\',  Rcod_articulo.cod_unidad_ancho AS \'Rcod_articulo_cod_unidad_ancho\',  Rcod_articulo.peso_unitario AS \'Rcod_articulo_peso_unitario\',  Rcod_articulo.peso_unit_bruto AS \'Rcod_articulo_peso_unit_bruto\',  Rcod_articulo.densidad_long AS \'Rcod_articulo_densidad_long\',  Rcod_articulo.cod_unidad_peso_long AS \'Rcod_articulo_cod_unidad_peso_long\',  Rcod_articulo.cod_unidad_long AS \'Rcod_articulo_cod_unidad_long\',  Rcod_articulo.densidad_supe AS \'Rcod_articulo_densidad_supe\',  Rcod_articulo.cod_unidad_peso_supe AS \'Rcod_articulo_cod_unidad_peso_supe\',  Rcod_articulo.cod_unidad_supe AS \'Rcod_articulo_cod_unidad_supe\',  Rcod_articulo.densidad_volu AS \'Rcod_articulo_densidad_volu\',  Rcod_articulo.cod_unidad_peso_volu AS \'Rcod_articulo_cod_unidad_peso_volu\',  Rcod_articulo.cod_unidad_volu AS \'Rcod_articulo_cod_unidad_volu\',  Rcod_articulo.cod_tole_medi AS \'Rcod_articulo_cod_tole_medi\',  Rcod_articulo.cod_pla_par AS \'Rcod_articulo_cod_pla_par\',  Rcod_articulo.cod_dete AS \'Rcod_articulo_cod_dete\',  Rcod_articulo.texto_ficha_tec AS \'Rcod_articulo_texto_ficha_tec\',  Rcod_articulo.nivel_calidad AS \'Rcod_articulo_nivel_calidad\',  Rcod_articulo.num_tole_mues AS \'Rcod_articulo_num_tole_mues\',  Rcod_articulo.cod_deca AS \'Rcod_articulo_cod_deca\',  Rcod_articulo.texto_ficha_cal AS \'Rcod_articulo_texto_ficha_cal\',  Rcod_articulo.tipo_materia AS \'Rcod_articulo_tipo_materia\',  Rcod_articulo.sw_kit AS \'Rcod_articulo_sw_kit\',  Rcod_articulo.cod_almacen_mat AS \'Rcod_articulo_cod_almacen_mat\',  Rcod_articulo.cod_unidad_fabr AS \'Rcod_articulo_cod_unidad_fabr\',  Rcod_articulo.factor_fabr AS \'Rcod_articulo_factor_fabr\',  Rcod_articulo.cod_unidad_cons AS \'Rcod_articulo_cod_unidad_cons\',  Rcod_articulo.factor_cons AS \'Rcod_articulo_factor_cons\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  Rcod_tipo_iva.nombre AS \'Rcod_tipo_iva_nombre\',  Rcod_tipo_iva.tpc_iva AS \'Rcod_tipo_iva_tpc_iva\',  Rcod_tipo_iva.tpc_rec AS \'Rcod_tipo_iva_tpc_rec\',  Rcod_tipo_iva.sw_tpc_303 AS \'Rcod_tipo_iva_sw_tpc_303\',  Rcod_tipo_iva.id_ps_iva AS \'Rcod_tipo_iva_id_ps_iva\',  Rcod_tipo_iva.id_ps_rec AS \'Rcod_tipo_iva_id_ps_rec\',  Rcod_tipo_iva.id_group_ps_iva AS \'Rcod_tipo_iva_id_group_ps_iva\',  Rcod_tipo_iva.sw_dto AS \'Rcod_tipo_iva_sw_dto\',  Rcod_tipo_iva.sw_fin AS \'Rcod_tipo_iva_sw_fin\',  Rcod_tipo_iva.sw_irpf AS \'Rcod_tipo_iva_sw_irpf\',  Rcod_tipo_iva.sw_iva_incluido AS \'Rcod_tipo_iva_sw_iva_incluido\',  Rcod_tipo_iva.cod_cuenta_com_bas AS \'Rcod_tipo_iva_cod_cuenta_com_bas\',  Rcod_tipo_iva.cod_cuenta_com_abo AS \'Rcod_tipo_iva_cod_cuenta_com_abo\',  Rcod_tipo_iva.cod_cuenta_com_iva AS \'Rcod_tipo_iva_cod_cuenta_com_iva\',  Rcod_tipo_iva.cod_cuenta_com_rec AS \'Rcod_tipo_iva_cod_cuenta_com_rec\',  Rcod_tipo_iva.cod_cuenta_vta_bas AS \'Rcod_tipo_iva_cod_cuenta_vta_bas\',  Rcod_tipo_iva.cod_cuenta_vta_abo AS \'Rcod_tipo_iva_cod_cuenta_vta_abo\',  Rcod_tipo_iva.cod_cuenta_vta_iva AS \'Rcod_tipo_iva_cod_cuenta_vta_iva\',  Rcod_tipo_iva.cod_cuenta_vta_rec AS \'Rcod_tipo_iva_cod_cuenta_vta_rec\',  Rcod_tipo_iva.cta_iva_sop_autofra AS \'Rcod_tipo_iva_cta_iva_sop_autofra\',  Rcod_tipo_iva.cta_iva_rep_autofra AS \'Rcod_tipo_iva_cta_iva_rep_autofra\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  (IF(cialdocolin.estruc_ela!=0, \'C\', IF(cialdocolin.id_coline_kit!=0, \'L\', \'N\'))) AS sw_kit_sql,  (cialdocoGetSqlEstado(cialdocolin.id_cocabe, cialdocolin.id_coline, cialdocolin.estado, cialdocolin.cod_motivo_cancela)) AS sql_estado,  (IF(cialdocolin.cod_motivo_cancela=\'\', \'N\', \'S\')) AS sw_cancela,  (IF(cialdocolin.id_coline_ori=0, \'T\', IFNULL((SELECT IF(o.estado!=\'D\', o.estado, IF(o.cod_motivo_cancela=\'\', \'T\', \'D\')) FROM quartup1.cialdocolin AS o WHERE o.id_coline=cialdocolin.id_coline_ori), \'T\'))) AS sw_cancela_origen,  (SELECT cod_cuenta_vta_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_bas,  (SELECT cod_cuenta_vta_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_abo,  (SELECT cod_cuenta_com_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_bas,  (SELECT cod_cuenta_com_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_abo FROM quartup1.cialdocolin LEFT JOIN quartup1.maesarti AS Rcod_articulo ON Rcod_articulo.nivel=\'1\' AND Rcod_articulo.cod_articulo=cialdocolin.cod_articulo LEFT JOIN quartup1.maestiva AS Rcod_tipo_iva ON Rcod_tipo_iva.cod_tipo_iva=cialdocolin.cod_tipo_iva WHERE (cialdocolin.id_cocabe)=(1220160020020144) AND (cialdocolin.id_coline_kit=0)   ORDER BY cialdocolin.id_cocabe ASC, cialdocolin.linea ASC ','0','5057 (5061 sql rows affected)',870,617521,258443792,0,1),(454,'2016-06-15',112001,'02:00:02','N','S','S','Fikalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpLsn9Pj /var/www/quartup.outs/temp/iophpY05ZuA N\n(ok)','0','0 (60688 skipped) (0 sql rows affected)',42,617521,281869920,0,1),(454,'2016-06-15',113001,'02:00:02','N','S','S','Ficalb','CREATE TEMPORARY TABLE tempficalb (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'AV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficalb ON cialdocolin.id_cocabe=tempficalb.id_cocabe WHERE cialdocolin.soporte=\'AV\' AND tempficalb.fecha>=\'20160516\' AND tempficalb.fecha<=\'20160615\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'AV\' AND cialdoco.fecha>=\'20160516\' AND cialdoco.fecha<=\'20160615\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpvp2HNi /var/www/quartup.outs/temp/iophpWvOq60 N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqlPfgUM4\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','0','857 (857 sql rows affected)',11,617521,282406576,0,1),(454,'2016-06-15',114001,'02:00:02','N','S','S','Filalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpBqn2pd /var/www/quartup.outs/temp/iophpEpHb3l N\n(ok)\n-----\nRecálculo de totales. 857 docs. reconstruídos.\n\nSegundos invertidos: 645.56604504585\n-----\nSELECT cialdocolin.id_cocabe,  cialdocolin.linea,  cialdocolin.fecha,  cialdocolin.fecha_validez,  cialdocolin.fec_entre_ped,  cialdocolin.fec_entre_pre,  cialdocolin.cod_articulo,  cialdocolin.id_maescombart,  cialdocolin.estruc_ela,  cialdocolin.id_coline_kit,  cialdocolin.cod_almacen_pre,  cialdocolin.cod_almacen,  cialdocolin.cod_ubicacion,  cialdocolin.num_lote,  cialdocolin.cod_und_emb,  cialdocolin.nombre,  cialdocolin.cantidad,  cialdocolin.cod_tarifa,  cialdocolin.preivi_mone,  cialdocolin.precio_mone,  cialdocolin.descuentos,  cialdocolin.importe_mone,  cialdocolin.impoivi_mone,  cialdocolin.preivi_euro,  cialdocolin.precio_euro,  cialdocolin.importe_euro,  cialdocolin.bultos,  cialdocolin.peso_neto,  cialdocolin.peso,  cialdocolin.cod_unidad_medida,  cialdocolin.cambio_embalaje,  cialdocolin.cant_emb,  cialdocolin.sw_reserva,  cialdocolin.cant_reserva,  cialdocolin.cod_unidad_compra,  cialdocolin.factor_compra,  cialdocolin.cod_unidad_venta,  cialdocolin.factor_venta,  cialdocolin.coste_alm_euro,  cialdocolin.coste_ule_euro,  cialdocolin.coste_man_euro,  cialdocolin.cod_cuenta,  cialdocolin.num_dien,  cialdocolin.cod_lugar,  cialdocolin.estado,  cialdocolin.cod_motivo_cancela,  cialdocolin.cant_ser,  cialdocolin.cant_emb_ser,  cialdocolin.soporte_ori,  cialdocolin.id_cocabe_ori,  cialdocolin.canal_ori,  cialdocolin.id_coline_ori,  cialdocolin.observaciones,  cialdocolin.cod_cuenta_bas,  cialdocolin.cod_tipo_iva,  cialdocolin.tpc_iva,  cialdocolin.tpc_rec,  cialdocolin.sw_dto,  cialdocolin.sw_fin,  cialdocolin.sw_irpf,  cialdocolin.soporte,  cialdocolin.canal,  cialdocolin.id_coline,  cialdocolin.sw_inhabitual,  cialdocolin.sw_recuadro,  cialdocolin.sw_negrita,  cialdocolin.sw_subrayado,  cialdocolin.sw_imprimir,  cialdocolin.sw_imprimir_img,  cialdocolin.enlace_soporte,  cialdocolin.enlace_canal,  cialdocolin.enlace_id_cocabe,  cialdocolin.enlace_id_coline,  cialdocolin.enlace_linea,  cialdocolin.enlace_sw_marca,  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_articulo.acceso AS \'Rcod_articulo_acceso\',  Rcod_articulo.nombre AS \'Rcod_articulo_nombre\',  Rcod_articulo.nombre_adi AS \'Rcod_articulo_nombre_adi\',  Rcod_articulo.cod_articulo_par AS \'Rcod_articulo_cod_articulo_par\',  Rcod_articulo.cod_familia_1 AS \'Rcod_articulo_cod_familia_1\',  Rcod_articulo.cod_familia_2 AS \'Rcod_articulo_cod_familia_2\',  Rcod_articulo.cod_familia_3 AS \'Rcod_articulo_cod_familia_3\',  Rcod_articulo.cod_familia_4 AS \'Rcod_articulo_cod_familia_4\',  Rcod_articulo.cod_familia_5 AS \'Rcod_articulo_cod_familia_5\',  Rcod_articulo.cod_cuenta_prov AS \'Rcod_articulo_cod_cuenta_prov\',  Rcod_articulo.sw_historico AS \'Rcod_articulo_sw_historico\',  Rcod_articulo.cod_barras AS \'Rcod_articulo_cod_barras\',  Rcod_articulo.id_maesartimar AS \'Rcod_articulo_id_maesartimar\',  Rcod_articulo.cod_esta_1 AS \'Rcod_articulo_cod_esta_1\',  Rcod_articulo.cod_esta_2 AS \'Rcod_articulo_cod_esta_2\',  Rcod_articulo.cod_esta_3 AS \'Rcod_articulo_cod_esta_3\',  Rcod_articulo.cod_nc_taric AS \'Rcod_articulo_cod_nc_taric\',  Rcod_articulo.num_puntos AS \'Rcod_articulo_num_puntos\',  Rcod_articulo.sw_dtos_modificable AS \'Rcod_articulo_sw_dtos_modificable\',  Rcod_articulo.precio_teorico AS \'Rcod_articulo_precio_teorico\',  Rcod_articulo.fecha_teo AS \'Rcod_articulo_fecha_teo\',  Rcod_articulo.fecha_alta AS \'Rcod_articulo_fecha_alta\',  Rcod_articulo.sw_estadistica AS \'Rcod_articulo_sw_estadistica\',  Rcod_articulo.fecha_baja AS \'Rcod_articulo_fecha_baja\',  Rcod_articulo.id_maesarti AS \'Rcod_articulo_id_maesarti\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_texto AS \'Rcod_articulo_cod_texto\',  Rcod_articulo.observaciones AS \'Rcod_articulo_observaciones\',  Rcod_articulo.sw_ver_agentes AS \'Rcod_articulo_sw_ver_agentes\',  Rcod_articulo.cod_repres AS \'Rcod_articulo_cod_repres\',  Rcod_articulo.base_comi AS \'Rcod_articulo_base_comi\',  Rcod_articulo.tpc_comi_dir AS \'Rcod_articulo_tpc_comi_dir\',  Rcod_articulo.tipo_articulo AS \'Rcod_articulo_tipo_articulo\',  Rcod_articulo.sw_alma_ubic AS \'Rcod_articulo_sw_alma_ubic\',  Rcod_articulo.sw_alma_emba AS \'Rcod_articulo_sw_alma_emba\',  Rcod_articulo.cantidad_base AS \'Rcod_articulo_cantidad_base\',  Rcod_articulo.cod_almacen AS \'Rcod_articulo_cod_almacen\',  Rcod_articulo.cuen_arti_almacen AS \'Rcod_articulo_cuen_arti_almacen\',  Rcod_articulo.cod_etiqueta AS \'Rcod_articulo_cod_etiqueta\',  Rcod_articulo.cod_unidad_medida AS \'Rcod_articulo_cod_unidad_medida\',  Rcod_articulo.cod_unidad_compra AS \'Rcod_articulo_cod_unidad_compra\',  Rcod_articulo.factor_compra AS \'Rcod_articulo_factor_compra\',  Rcod_articulo.cod_unidad_venta AS \'Rcod_articulo_cod_unidad_venta\',  Rcod_articulo.factor_venta AS \'Rcod_articulo_factor_venta\',  Rcod_articulo.stock_min AS \'Rcod_articulo_stock_min\',  Rcod_articulo.stock_max AS \'Rcod_articulo_stock_max\',  Rcod_articulo.stock_pup AS \'Rcod_articulo_stock_pup\',  Rcod_articulo.comunitario AS \'Rcod_articulo_comunitario\',  Rcod_articulo.partida_arancel AS \'Rcod_articulo_partida_arancel\',  Rcod_articulo.cod_nacion AS \'Rcod_articulo_cod_nacion\',  Rcod_articulo.sw_impuesto_esp AS \'Rcod_articulo_sw_impuesto_esp\',  Rcod_articulo.sw_rapel AS \'Rcod_articulo_sw_rapel\',  Rcod_articulo.cod_tipo_iva AS \'Rcod_articulo_cod_tipo_iva\',  Rcod_articulo.cod_cuenta_vta_bas AS \'Rcod_articulo_cod_cuenta_vta_bas\',  Rcod_articulo.cod_cuenta_vta_abo AS \'Rcod_articulo_cod_cuenta_vta_abo\',  Rcod_articulo.cod_cuenta_com_bas AS \'Rcod_articulo_cod_cuenta_com_bas\',  Rcod_articulo.cod_cuenta_com_abo AS \'Rcod_articulo_cod_cuenta_com_abo\',  Rcod_articulo.cod_cuenta_inve AS \'Rcod_articulo_cod_cuenta_inve\',  Rcod_articulo.id_cialceco AS \'Rcod_articulo_id_cialceco\',  Rcod_articulo.cod_analitica AS \'Rcod_articulo_cod_analitica\',  Rcod_articulo.image_file AS \'Rcod_articulo_image_file\',  Rcod_articulo.image_file1 AS \'Rcod_articulo_image_file1\',  Rcod_articulo.image_file2 AS \'Rcod_articulo_image_file2\',  Rcod_articulo.image_file3 AS \'Rcod_articulo_image_file3\',  Rcod_articulo.sw_web AS \'Rcod_articulo_sw_web\',  Rcod_articulo.sw_send_stock_ecomm AS \'Rcod_articulo_sw_send_stock_ecomm\',  Rcod_articulo.nivel_publica AS \'Rcod_articulo_nivel_publica\',  Rcod_articulo.html_1 AS \'Rcod_articulo_html_1\',  Rcod_articulo.cod_und_emb AS \'Rcod_articulo_cod_und_emb\',  Rcod_articulo.cambio_embalaje AS \'Rcod_articulo_cambio_embalaje\',  Rcod_articulo.alto AS \'Rcod_articulo_alto\',  Rcod_articulo.cod_unidad_alto AS \'Rcod_articulo_cod_unidad_alto\',  Rcod_articulo.largo AS \'Rcod_articulo_largo\',  Rcod_articulo.cod_unidad_largo AS \'Rcod_articulo_cod_unidad_largo\',  Rcod_articulo.ancho AS \'Rcod_articulo_ancho\',  Rcod_articulo.cod_unidad_ancho AS \'Rcod_articulo_cod_unidad_ancho\',  Rcod_articulo.peso_unitario AS \'Rcod_articulo_peso_unitario\',  Rcod_articulo.peso_unit_bruto AS \'Rcod_articulo_peso_unit_bruto\',  Rcod_articulo.densidad_long AS \'Rcod_articulo_densidad_long\',  Rcod_articulo.cod_unidad_peso_long AS \'Rcod_articulo_cod_unidad_peso_long\',  Rcod_articulo.cod_unidad_long AS \'Rcod_articulo_cod_unidad_long\',  Rcod_articulo.densidad_supe AS \'Rcod_articulo_densidad_supe\',  Rcod_articulo.cod_unidad_peso_supe AS \'Rcod_articulo_cod_unidad_peso_supe\',  Rcod_articulo.cod_unidad_supe AS \'Rcod_articulo_cod_unidad_supe\',  Rcod_articulo.densidad_volu AS \'Rcod_articulo_densidad_volu\',  Rcod_articulo.cod_unidad_peso_volu AS \'Rcod_articulo_cod_unidad_peso_volu\',  Rcod_articulo.cod_unidad_volu AS \'Rcod_articulo_cod_unidad_volu\',  Rcod_articulo.cod_tole_medi AS \'Rcod_articulo_cod_tole_medi\',  Rcod_articulo.cod_pla_par AS \'Rcod_articulo_cod_pla_par\',  Rcod_articulo.cod_dete AS \'Rcod_articulo_cod_dete\',  Rcod_articulo.texto_ficha_tec AS \'Rcod_articulo_texto_ficha_tec\',  Rcod_articulo.nivel_calidad AS \'Rcod_articulo_nivel_calidad\',  Rcod_articulo.num_tole_mues AS \'Rcod_articulo_num_tole_mues\',  Rcod_articulo.cod_deca AS \'Rcod_articulo_cod_deca\',  Rcod_articulo.texto_ficha_cal AS \'Rcod_articulo_texto_ficha_cal\',  Rcod_articulo.tipo_materia AS \'Rcod_articulo_tipo_materia\',  Rcod_articulo.sw_kit AS \'Rcod_articulo_sw_kit\',  Rcod_articulo.cod_almacen_mat AS \'Rcod_articulo_cod_almacen_mat\',  Rcod_articulo.cod_unidad_fabr AS \'Rcod_articulo_cod_unidad_fabr\',  Rcod_articulo.factor_fabr AS \'Rcod_articulo_factor_fabr\',  Rcod_articulo.cod_unidad_cons AS \'Rcod_articulo_cod_unidad_cons\',  Rcod_articulo.factor_cons AS \'Rcod_articulo_factor_cons\',  Rcod_articulo.nivel AS \'Rcod_articulo_nivel\',  Rcod_articulo.cod_articulo AS \'Rcod_articulo_cod_articulo\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  Rcod_tipo_iva.nombre AS \'Rcod_tipo_iva_nombre\',  Rcod_tipo_iva.tpc_iva AS \'Rcod_tipo_iva_tpc_iva\',  Rcod_tipo_iva.tpc_rec AS \'Rcod_tipo_iva_tpc_rec\',  Rcod_tipo_iva.sw_tpc_303 AS \'Rcod_tipo_iva_sw_tpc_303\',  Rcod_tipo_iva.id_ps_iva AS \'Rcod_tipo_iva_id_ps_iva\',  Rcod_tipo_iva.id_ps_rec AS \'Rcod_tipo_iva_id_ps_rec\',  Rcod_tipo_iva.id_group_ps_iva AS \'Rcod_tipo_iva_id_group_ps_iva\',  Rcod_tipo_iva.sw_dto AS \'Rcod_tipo_iva_sw_dto\',  Rcod_tipo_iva.sw_fin AS \'Rcod_tipo_iva_sw_fin\',  Rcod_tipo_iva.sw_irpf AS \'Rcod_tipo_iva_sw_irpf\',  Rcod_tipo_iva.sw_iva_incluido AS \'Rcod_tipo_iva_sw_iva_incluido\',  Rcod_tipo_iva.cod_cuenta_com_bas AS \'Rcod_tipo_iva_cod_cuenta_com_bas\',  Rcod_tipo_iva.cod_cuenta_com_abo AS \'Rcod_tipo_iva_cod_cuenta_com_abo\',  Rcod_tipo_iva.cod_cuenta_com_iva AS \'Rcod_tipo_iva_cod_cuenta_com_iva\',  Rcod_tipo_iva.cod_cuenta_com_rec AS \'Rcod_tipo_iva_cod_cuenta_com_rec\',  Rcod_tipo_iva.cod_cuenta_vta_bas AS \'Rcod_tipo_iva_cod_cuenta_vta_bas\',  Rcod_tipo_iva.cod_cuenta_vta_abo AS \'Rcod_tipo_iva_cod_cuenta_vta_abo\',  Rcod_tipo_iva.cod_cuenta_vta_iva AS \'Rcod_tipo_iva_cod_cuenta_vta_iva\',  Rcod_tipo_iva.cod_cuenta_vta_rec AS \'Rcod_tipo_iva_cod_cuenta_vta_rec\',  Rcod_tipo_iva.cta_iva_sop_autofra AS \'Rcod_tipo_iva_cta_iva_sop_autofra\',  Rcod_tipo_iva.cta_iva_rep_autofra AS \'Rcod_tipo_iva_cta_iva_rep_autofra\',  Rcod_tipo_iva.cod_tipo_iva AS \'Rcod_tipo_iva_cod_tipo_iva\',  (IF(cialdocolin.estruc_ela!=0, \'C\', IF(cialdocolin.id_coline_kit!=0, \'L\', \'N\'))) AS sw_kit_sql,  (cialdocoGetSqlEstado(cialdocolin.id_cocabe, cialdocolin.id_coline, cialdocolin.estado, cialdocolin.cod_motivo_cancela)) AS sql_estado,  (IF(cialdocolin.cod_motivo_cancela=\'\', \'N\', \'S\')) AS sw_cancela,  (IF(cialdocolin.id_coline_ori=0, \'T\', IFNULL((SELECT IF(o.estado!=\'D\', o.estado, IF(o.cod_motivo_cancela=\'\', \'T\', \'D\')) FROM quartup1.cialdocolin AS o WHERE o.id_coline=cialdocolin.id_coline_ori), \'T\'))) AS sw_cancela_origen,  (SELECT cod_cuenta_vta_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_bas,  (SELECT cod_cuenta_vta_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_vta_abo,  (SELECT cod_cuenta_com_bas FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_bas,  (SELECT cod_cuenta_com_abo FROM maesarti AS Rfamilia WHERE Rfamilia.cod_articulo=Rcod_articulo.cod_articulo_par AND nivel=2) AS Rfamilia_cod_cuenta_com_abo FROM quartup1.cialdocolin LEFT JOIN quartup1.maesarti AS Rcod_articulo ON Rcod_articulo.nivel=\'1\' AND Rcod_articulo.cod_articulo=cialdocolin.cod_articulo LEFT JOIN quartup1.maestiva AS Rcod_tipo_iva ON Rcod_tipo_iva.cod_tipo_iva=cialdocolin.cod_tipo_iva WHERE (cialdocolin.id_cocabe)=(2220160060020046) AND (cialdocolin.id_coline_kit=0)   ORDER BY cialdocolin.id_cocabe ASC, cialdocolin.linea ASC ','0','4396 (4396 sql rows affected)',673,617521,286616464,0,1),(454,'2016-06-15',115001,'02:00:02','N','S','S','Fisalb','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpb4lFSJ /var/www/quartup.outs/temp/iophpNNAEmy N\n(ok)','0','0 (8344 skipped) (0 sql rows affected)',55,617521,289271848,0,1),(454,'2016-06-15',122001,'02:00:02','N','S','S','Fikfac','','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpGMJkin /var/www/quartup.outs/temp/iophpgy01dc N\n(ok)','0','0 (92643 skipped) (0 sql rows affected)',61,617521,318166696,0,1),(454,'2016-06-15',123001,'02:00:02','N','S','S','Ficfac','CREATE TEMPORARY TABLE tempficfac (PRIMARY KEY (id_cocabe)) SELECT id_cocabe,  soporte,  fecha FROM quartup1.cialdoco WHERE soporte=\'FV\' + DELETE cialdocolin FROM quartup1.cialdocolin LEFT JOIN tempficfac ON cialdocolin.id_cocabe=tempficfac.id_cocabe WHERE cialdocolin.soporte=\'FV\' AND tempficfac.fecha>=\'20160516\' AND tempficfac.fecha<=\'20160615\' + DELETE cialdoco FROM quartup1.cialdoco WHERE cialdoco.soporte=\'FV\' AND cialdoco.fecha>=\'20160516\' AND cialdoco.fecha<=\'20160615\'','','/var/aidaroot/aidanew/aculinux61/bin/runcbl -b -c ../x_cgis/config.acu +e ../x_cgis/error-cgi.acu -f iocobol  /var/aidaroot/aidanew/fich0001 /var/www/quartup.outs/temp/iophpWXlWru /var/www/quartup.outs/temp/iophpyBzRFM N\n(ok)\n-----\nLOAD DATA INFILE \'/var/www/quartup.outs/temp/iosqliUSPf9\' REPLACE INTO TABLE quartup1.cialdoco FIELDS TERMINATED BY \', \' ENCLOSED BY \'\\\'\' ESCAPED BY \'\\\\\' LINES  TERMINATED BY \'\\r\\n\' (cod_serie, numero, fecha, fec_entre_ped, fec_entre_pre, fecha_validez, fecha_contab, cod_vendedor, cod_cuenta, su_documento, id_cialceco, cod_texto_man, texto_man, sw_val_su_doc, num_personal, cod_repres, num_dien_fra, cod_moneda, cambio, sw_tipo_fra, sw_agrupa, sw_dto_cascada, nombre, direccion, cod_postal, poblacion, provincia, cod_nacion, cif, telefono, fax, email, num_dien, cod_lugar, cod_agencia, cod_ruta, cod_incoterm, cod_modo_porte, tipo_portes, bultos, peso_neto, peso, volumen, cod_und_emb, cod_almacen_logis, fecha_alma, hora_alma, env_nombre, env_direccion, env_cod_postal, env_poblacion, env_provincia, env_cod_nacion, env_horario, env_telefono, env_fax, env_email, observaciones, cod_texto, texto, cod_texto_cab, cod_texto_pie, cod_impreso, sw_valor, link_sw_valor, copias_cuenta, copias_empresa, cod_pimp_alag, cod_pimp_etic, cod_pimp_etil, cod_fpago, cod_pago, num_domi, tpc_tae, fecha_cartera, cod_cuenta_paco, dto_fin, sw_cartera, sw_recalculo, imp_bru_mone, tpc_irpf, imp_rpf_mone, imp_dto_mone, imp_fra_mone, imp_bas_mone_1, tpc_iva_1, imp_iva_mone_1, imp_bar_mone_1, tpc_rec_1, imp_rec_mone_1, imp_bas_mone_2, tpc_iva_2, imp_iva_mone_2, imp_bar_mone_2, tpc_rec_2, imp_rec_mone_2, imp_bas_mone_3, tpc_iva_3, imp_iva_mone_3, imp_bar_mone_3, tpc_rec_3, imp_rec_mone_3, imp_bas_mone_4, tpc_iva_4, imp_iva_mone_4, imp_bar_mone_4, tpc_rec_4, imp_rec_mone_4, imp_bru_euro, imp_rpf_euro, imp_dto_euro, imp_fra_euro, imp_bas_euro_1, imp_iva_euro_1, imp_bar_euro_1, imp_rec_euro_1, imp_bas_euro_2, imp_iva_euro_2, imp_bar_euro_2, imp_rec_euro_2, imp_bas_euro_3, imp_iva_euro_3, imp_bar_euro_3, imp_rec_euro_3, imp_bas_euro_4, imp_iva_euro_4, imp_bar_euro_4, imp_rec_euro_4, sw_cocont, dif_con_mone, dif_con_euro, sw_lin_protec, estado, cod_motivo_cancela, sw_procesado, soporte, anyo, canal, id_cocabe, cod_usuario_cre, fecha_cre, hora_cre, sw_arrastre, enlace_sw_marca, cod_usuario_mod, fecha_mod, sw_cerrado, hora_mod)','0','546 (546 sql rows affected)',5,617521,318684024,0,1),