Error: update .operacion, ( select op_id,op_fecha,op_fechav,op_id_cliente,op_tipo,op_num_corre,op_subtotal,op_itbms,op_total,u_id,op_estacion,op_manejo,op_flete,op_seguro,op_controldoc,op_observ,op_desc,op_condicion,op_subtotalneto,op_costo,op_contado,op_credito,op_efectivo,op_cheque,op_ncheque,id_banco,op_tdebito,op_tcredito,op_ntdebito,op_ntcredito,op_pagado,op_vuelto,op_diferencia,op_utilidad,op_utilidadporc,hora,emp_imp1,emp_imp2,emp_imp3,no_control,emp_imp0base,emp_imp1base,emp_imp2base,emp_imp3base,suc_id,op_fechas,op_tcertificado,id_status,c_idfiscal2,op_num_ncf,op_num_rel,op_nombre,emp_imp4,emp_imp4base,op_direc,op_telf,op_num_fact,sale_id,t_id,mon_op,mon_taza_op,mon_id1,mon_taza_v1,mon_taza_c1,mon_id2,mon_taza_v2,mon_taza_c2,mon_id3,mon_taza_v3,mon_taza_c3,op_forma_6,op_forma_7,op_forma_8,op_fecha_x,op_tipodesc,conc_id,op_id_espe,op_numserie_if,op_num_nco,mont_letra,op_usuario,op_num_aptdo,op_saldo_ant_aptdo,op_pago_aptdo,op_saldo_act_aptdo,op_ship_to,op_dir_entrega,Saldo_Ant,Monto_Pago,Saldo_Act,op_totitems,op_pedido,op_pedido2,op_aptdo_status,op_aptdo_cancel,op_aptdo_devol,op_aptdo_factu,op_aptdo_pagad,op_num_fis_ec,op_desctm,op_desctp,UserModify,ci_op_idx,op_v_id,ci_op_idz,op_forma_9,op_forma_10,op_forma_11,op_forma_12,op_forma_13,op_forma_14,op_forma_15,op_forma_16,op_forma_17,op_forma_18,op_forma_19,op_forma_20,op_comens_cnt,op_comens_det,op_f_entrega,op_fide_fac_acu from tmp2.659591137967925 where tmp2.659591137967925.op_id in (select .operacion.op_id from .operacion where op_id is not null ) )b set operacion.op_id=b.op_id, operacion.op_fecha=b.op_fecha, operacion.op_fechav=b.op_fechav, operacion.op_id_cliente=b.op_id_cliente, operacion.op_tipo=b.op_tipo, operacion.op_num_corre=b.op_num_corre, operacion.op_subtotal=b.op_subtotal, operacion.op_itbms=b.op_itbms, operacion.op_total=b.op_total, operacion.u_id=b.u_id, operacion.op_estacion=b.op_estacion, operacion.op_manejo=b.op_manejo, operacion.op_flete=b.op_flete, operacion.op_seguro=b.op_seguro, operacion.op_controldoc=b.op_controldoc, operacion.op_observ=b.op_observ, operacion.op_desc=b.op_desc, operacion.op_condicion=b.op_condicion, operacion.op_subtotalneto=b.op_subtotalneto, operacion.op_costo=b.op_costo, operacion.op_contado=b.op_contado, operacion.op_credito=b.op_credito, operacion.op_efectivo=b.op_efectivo, operacion.op_cheque=b.op_cheque, operacion.op_ncheque=b.op_ncheque, operacion.id_banco=b.id_banco, operacion.op_tdebito=b.op_tdebito, operacion.op_tcredito=b.op_tcredito, operacion.op_ntdebito=b.op_ntdebito, operacion.op_ntcredito=b.op_ntcredito, operacion.op_pagado=b.op_pagado, operacion.op_vuelto=b.op_vuelto, operacion.op_diferencia=b.op_diferencia, operacion.op_utilidad=b.op_utilidad, operacion.op_utilidadporc=b.op_utilidadporc, operacion.hora=b.hora, operacion.emp_imp1=b.emp_imp1, operacion.emp_imp2=b.emp_imp2, operacion.emp_imp3=b.emp_imp3, operacion.no_control=b.no_control, operacion.emp_imp0base=b.emp_imp0base, operacion.emp_imp1base=b.emp_imp1base, operacion.emp_imp2base=b.emp_imp2base, operacion.emp_imp3base=b.emp_imp3base, operacion.suc_id=b.suc_id, operacion.op_fechas=b.op_fechas, operacion.op_tcertificado=b.op_tcertificado, operacion.id_status=b.id_status, operacion.c_idfiscal2=b.c_idfiscal2, operacion.op_num_ncf=b.op_num_ncf, operacion.op_num_rel=b.op_num_rel, operacion.op_nombre=b.op_nombre, operacion.emp_imp4=b.emp_imp4, operacion.emp_imp4base=b.emp_imp4base, operacion.op_direc=b.op_direc, operacion.op_telf=b.op_telf, operacion.op_num_fact=b.op_num_fact, operacion.sale_id=b.sale_id, operacion.t_id=b.t_id, operacion.mon_op=b.mon_op, operacion.mon_taza_op=b.mon_taza_op, operacion.mon_id1=b.mon_id1, operacion.mon_taza_v1=b.mon_taza_v1, operacion.mon_taza_c1=b.mon_taza_c1, operacion.mon_id2=b.mon_id2, operacion.mon_taza_v2=b.mon_taza_v2, operacion.mon_taza_c2=b.mon_taza_c2, operacion.mon_id3=b.mon_id3, operacion.mon_taza_v3=b.mon_taza_v3, operacion.mon_taza_c3=b.mon_taza_c3, operacion.op_forma_6=b.op_forma_6, operacion.op_forma_7=b.op_forma_7, operacion.op_forma_8=b.op_forma_8, operacion.op_fecha_x=b.op_fecha_x, operacion.op_tipodesc=b.op_tipodesc, operacion.conc_id=b.conc_id, operacion.op_id_espe=b.op_id_espe, operacion.op_numserie_if=b.op_numserie_if, operacion.op_num_nco=b.op_num_nco, operacion.mont_letra=b.mont_letra, operacion.op_usuario=b.op_usuario, operacion.op_num_aptdo=b.op_num_aptdo, operacion.op_saldo_ant_aptdo=b.op_saldo_ant_aptdo, operacion.op_pago_aptdo=b.op_pago_aptdo, operacion.op_saldo_act_aptdo=b.op_saldo_act_aptdo, operacion.op_ship_to=b.op_ship_to, operacion.op_dir_entrega=b.op_dir_entrega, operacion.Saldo_Ant=b.Saldo_Ant, operacion.Monto_Pago=b.Monto_Pago, operacion.Saldo_Act=b.Saldo_Act, operacion.op_totitems=b.op_totitems, operacion.op_pedido=b.op_pedido, operacion.op_pedido2=b.op_pedido2, operacion.op_aptdo_status=b.op_aptdo_status, operacion.op_aptdo_cancel=b.op_aptdo_cancel, operacion.op_aptdo_devol=b.op_aptdo_devol, operacion.op_aptdo_factu=b.op_aptdo_factu, operacion.op_aptdo_pagad=b.op_aptdo_pagad, operacion.op_num_fis_ec=b.op_num_fis_ec, operacion.op_desctm=b.op_desctm, operacion.op_desctp=b.op_desctp, operacion.UserModify=b.UserModify, operacion.ci_op_idx=b.ci_op_idx, operacion.op_v_id=b.op_v_id, operacion.ci_op_idz=b.ci_op_idz where operacion.op_id=b.op_id
Error: update .operacion, ( select op_id,op_fecha,op_fechav,op_id_cliente,op_tipo,op_num_corre,op_subtotal,op_itbms,op_total,u_id,op_estacion,op_manejo,op_flete,op_seguro,op_controldoc,op_observ,op_desc,op_condicion,op_subtotalneto,op_costo,op_contado,op_credito,op_efectivo,op_cheque,op_ncheque,id_banco,op_tdebito,op_tcredito,op_ntdebito,op_ntcredito,op_pagado,op_vuelto,op_diferencia,op_utilidad,op_utilidadporc,hora,emp_imp1,emp_imp2,emp_imp3,no_control,emp_imp0base,emp_imp1base,emp_imp2base,emp_imp3base,suc_id,op_fechas,op_tcertificado,id_status,c_idfiscal2,op_num_ncf,op_num_rel,op_nombre,emp_imp4,emp_imp4base,op_direc,op_telf,op_num_fact,sale_id,t_id,mon_op,mon_taza_op,mon_id1,mon_taza_v1,mon_taza_c1,mon_id2,mon_taza_v2,mon_taza_c2,mon_id3,mon_taza_v3,mon_taza_c3,op_forma_6,op_forma_7,op_forma_8,op_fecha_x,op_tipodesc,conc_id,op_id_espe,op_numserie_if,op_num_nco,mont_letra,op_usuario,op_num_aptdo,op_saldo_ant_aptdo,op_pago_aptdo,op_saldo_act_aptdo,op_ship_to,op_dir_entrega,Saldo_Ant,Monto_Pago,Saldo_Act,op_totitems,op_pedido,op_pedido2,op_aptdo_status,op_aptdo_cancel,op_aptdo_devol,op_aptdo_factu,op_aptdo_pagad,op_num_fis_ec,op_desctm,op_desctp,UserModify,ci_op_idx,op_v_id,ci_op_idz,op_forma_9,op_forma_10,op_forma_11,op_forma_12,op_forma_13,op_forma_14,op_forma_15,op_forma_16,op_forma_17,op_forma_18,op_forma_19,op_forma_20,op_comens_cnt,op_comens_det,op_f_entrega,op_fide_fac_acu from tmp2.659591137967925 where tmp2.659591137967925.op_id in (select .operacion.op_id from .operacion where op_id is not null ) )b set operacion.op_id=b.op_id, operacion.op_fecha=b.op_fecha, operacion.op_fechav=b.op_fechav, operacion.op_id_cliente=b.op_id_cliente, operacion.op_tipo=b.op_tipo, operacion.op_num_corre=b.op_num_corre, operacion.op_subtotal=b.op_subtotal, operacion.op_itbms=b.op_itbms, operacion.op_total=b.op_total, operacion.u_id=b.u_id, operacion.op_estacion=b.op_estacion, operacion.op_manejo=b.op_manejo, operacion.op_flete=b.op_flete, operacion.op_seguro=b.op_seguro, operacion.op_controldoc=b.op_controldoc, operacion.op_observ=b.op_observ, operacion.op_desc=b.op_desc, operacion.op_condicion=b.op_condicion, operacion.op_subtotalneto=b.op_subtotalneto, operacion.op_costo=b.op_costo, operacion.op_contado=b.op_contado, operacion.op_credito=b.op_credito, operacion.op_efectivo=b.op_efectivo, operacion.op_cheque=b.op_cheque, operacion.op_ncheque=b.op_ncheque, operacion.id_banco=b.id_banco, operacion.op_tdebito=b.op_tdebito, operacion.op_tcredito=b.op_tcredito, operacion.op_ntdebito=b.op_ntdebito, operacion.op_ntcredito=b.op_ntcredito, operacion.op_pagado=b.op_pagado, operacion.op_vuelto=b.op_vuelto, operacion.op_diferencia=b.op_diferencia, operacion.op_utilidad=b.op_utilidad, operacion.op_utilidadporc=b.op_utilidadporc, operacion.hora=b.hora, operacion.emp_imp1=b.emp_imp1, operacion.emp_imp2=b.emp_imp2, operacion.emp_imp3=b.emp_imp3, operacion.no_control=b.no_control, operacion.emp_imp0base=b.emp_imp0base, operacion.emp_imp1base=b.emp_imp1base, operacion.emp_imp2base=b.emp_imp2base, operacion.emp_imp3base=b.emp_imp3base, operacion.suc_id=b.suc_id, operacion.op_fechas=b.op_fechas, operacion.op_tcertificado=b.op_tcertificado, operacion.id_status=b.id_status, operacion.c_idfiscal2=b.c_idfiscal2, operacion.op_num_ncf=b.op_num_ncf, operacion.op_num_rel=b.op_num_rel, operacion.op_nombre=b.op_nombre, operacion.emp_imp4=b.emp_imp4, operacion.emp_imp4base=b.emp_imp4base, operacion.op_direc=b.op_direc, operacion.op_telf=b.op_telf, operacion.op_num_fact=b.op_num_fact, operacion.sale_id=b.sale_id, operacion.t_id=b.t_id, operacion.mon_op=b.mon_op, operacion.mon_taza_op=b.mon_taza_op, operacion.mon_id1=b.mon_id1, operacion.mon_taza_v1=b.mon_taza_v1, operacion.mon_taza_c1=b.mon_taza_c1, operacion.mon_id2=b.mon_id2, operacion.mon_taza_v2=b.mon_taza_v2, operacion.mon_taza_c2=b.mon_taza_c2, operacion.mon_id3=b.mon_id3, operacion.mon_taza_v3=b.mon_taza_v3, operacion.mon_taza_c3=b.mon_taza_c3, operacion.op_forma_6=b.op_forma_6, operacion.op_forma_7=b.op_forma_7, operacion.op_forma_8=b.op_forma_8, operacion.op_fecha_x=b.op_fecha_x, operacion.op_tipodesc=b.op_tipodesc, operacion.conc_id=b.conc_id, operacion.op_id_espe=b.op_id_espe, operacion.op_numserie_if=b.op_numserie_if, operacion.op_num_nco=b.op_num_nco, operacion.mont_letra=b.mont_letra, operacion.op_usuario=b.op_usuario, operacion.op_num_aptdo=b.op_num_aptdo, operacion.op_saldo_ant_aptdo=b.op_saldo_ant_aptdo, operacion.op_pago_aptdo=b.op_pago_aptdo, operacion.op_saldo_act_aptdo=b.op_saldo_act_aptdo, operacion.op_ship_to=b.op_ship_to, operacion.op_dir_entrega=b.op_dir_entrega, operacion.Saldo_Ant=b.Saldo_Ant, operacion.Monto_Pago=b.Monto_Pago, operacion.Saldo_Act=b.Saldo_Act, operacion.op_totitems=b.op_totitems, operacion.op_pedido=b.op_pedido, operacion.op_pedido2=b.op_pedido2, operacion.op_aptdo_status=b.op_aptdo_status, operacion.op_aptdo_cancel=b.op_aptdo_cancel, operacion.op_aptdo_devol=b.op_aptdo_devol, operacion.op_aptdo_factu=b.op_aptdo_factu, operacion.op_aptdo_pagad=b.op_aptdo_pagad, operacion.op_num_fis_ec=b.op_num_fis_ec, operacion.op_desctm=b.op_desctm, operacion.op_desctp=b.op_desctp, operacion.UserModify=b.UserModify, operacion.ci_op_idx=b.ci_op_idx, operacion.op_v_id=b.op_v_id, operacion.ci_op_idz=b.ci_op_idz where operacion.op_id=b.op_id
Error: update .producto_op, ( select po_op_id,po_costo,po_precio,po_itbms,po_id_prod,po_cant,po_v_id,po_dep_id,po_pr_tipo,po_visible_grid,po_precioneto,po_desc1,po_desc2,po_utilidad,po_utilidad_porc,po_signo,po_montoimp,po_dep_id_tras,po_preciotmp,mesa,silla,ubicacion,po_comisionv,po_comisionv_porc,po_comisionc,po_comisionc_por,mod_id_auto,po_father,ubic_enviada,ubic_enviada2,ubic_enviada3,ubic_enviada4,comanda,po_comision_tipo,ubic_id,ubic_id2,ubic_id3,ubic_id4,po_pr_detalle,po_comp_id,po_cant_pend,po_imp_adic,po_montoimp_adic,tpo_desc1,tpo_desc2,po_relac_unic,po_descripcion,po_posicion,trig_unic,e_id,po_flag_despa,po_fech_despa1,po_fech_despa2,SyncProcesing,UserModify,suc_id,UserOption,po_cant_asoc,po_cod_cupon,po_fide_cod_pro,po_fide_tip_item,po_fide_tip_desc,po_fide_cod_tip,po_fide_mon_lin,po_fide_pag_ptos,po_fide_fac_acu from tmp2.659591137967925 where tmp2.659591137967925.trig_unic in (select .producto_op.trig_unic from .producto_op where trig_unic is not null ) )b set producto_op.po_op_id=b.po_op_id, producto_op.po_costo=b.po_costo, producto_op.po_precio=b.po_precio, producto_op.po_itbms=b.po_itbms, producto_op.po_id_prod=b.po_id_prod, producto_op.po_cant=b.po_cant, producto_op.po_v_id=b.po_v_id, producto_op.po_dep_id=b.po_dep_id, producto_op.po_pr_tipo=b.po_pr_tipo, producto_op.po_visible_grid=b.po_visible_grid, producto_op.po_precioneto=b.po_precioneto, producto_op.po_desc1=b.po_desc1, producto_op.po_desc2=b.po_desc2, producto_op.po_utilidad=b.po_utilidad, producto_op.po_utilidad_porc=b.po_utilidad_porc, producto_op.po_signo=b.po_signo, producto_op.po_montoimp=b.po_montoimp, producto_op.po_dep_id_tras=b.po_dep_id_tras, producto_op.po_preciotmp=b.po_preciotmp, producto_op.mesa=b.mesa, producto_op.silla=b.silla, producto_op.ubicacion=b.ubicacion, producto_op.po_comisionv=b.po_comisionv, producto_op.po_comisionv_porc=b.po_comisionv_porc, producto_op.po_comisionc=b.po_comisionc, producto_op.po_comisionc_por=b.po_comisionc_por, producto_op.mod_id_auto=b.mod_id_auto, producto_op.po_father=b.po_father, producto_op.ubic_enviada=b.ubic_enviada, producto_op.ubic_enviada2=b.ubic_enviada2, producto_op.ubic_enviada3=b.ubic_enviada3, producto_op.ubic_enviada4=b.ubic_enviada4, producto_op.comanda=b.comanda, producto_op.po_comision_tipo=b.po_comision_tipo, producto_op.ubic_id=b.ubic_id, producto_op.ubic_id2=b.ubic_id2, producto_op.ubic_id3=b.ubic_id3, producto_op.ubic_id4=b.ubic_id4, producto_op.po_pr_detalle=b.po_pr_detalle, producto_op.po_comp_id=b.po_comp_id, producto_op.po_cant_pend=b.po_cant_pend, producto_op.po_imp_adic=b.po_imp_adic, producto_op.po_montoimp_adic=b.po_montoimp_adic, producto_op.tpo_desc1=b.tpo_desc1, producto_op.tpo_desc2=b.tpo_desc2, producto_op.po_relac_unic=b.po_relac_unic, producto_op.po_descripcion=b.po_descripcion, producto_op.po_posicion=b.po_posicion, producto_op.trig_unic=b.trig_unic, producto_op.e_id=b.e_id, producto_op.po_flag_despa=b.po_flag_despa, producto_op.po_fech_despa1=b.po_fech_despa1, producto_op.po_fech_despa2=b.po_fech_despa2, producto_op.SyncProcesing=b.SyncProcesing, producto_op.UserModify=b.UserModify, producto_op.UserOption=b.UserOption, producto_op.suc_id=b.suc_id where producto_op.trig_unic=b.trig_unic
Error: insert into .producto_op ( po_op_id,po_costo,po_precio,po_itbms,po_id_prod,po_cant,po_v_id,po_dep_id,po_pr_tipo,po_visible_grid,po_precioneto,po_desc1,po_desc2,po_utilidad,po_utilidad_porc,po_signo,po_montoimp,po_dep_id_tras,po_preciotmp,mesa,silla,ubicacion,po_comisionv,po_comisionv_porc,po_comisionc,po_comisionc_por,mod_id_auto,po_father,ubic_enviada,ubic_enviada2,ubic_enviada3,ubic_enviada4,comanda,po_comision_tipo,ubic_id,ubic_id2,ubic_id3,ubic_id4,po_pr_detalle,po_comp_id,po_cant_pend,po_imp_adic,po_montoimp_adic,tpo_desc1,tpo_desc2,po_relac_unic,po_descripcion,po_posicion,trig_unic,e_id,po_flag_despa,po_fech_despa1,po_fech_despa2,SyncProcesing,UserModify,suc_id,UserOption,po_cant_asoc,po_cod_cupon,po_fide_cod_pro,po_fide_tip_item,po_fide_tip_desc,po_fide_cod_tip,po_fide_mon_lin,po_fide_pag_ptos,po_fide_fac_acu) select po_op_id,po_costo,po_precio,po_itbms,po_id_prod,po_cant,po_v_id,po_dep_id,po_pr_tipo,po_visible_grid,po_precioneto,po_desc1,po_desc2,po_utilidad,po_utilidad_porc,po_signo,po_montoimp,po_dep_id_tras,po_preciotmp,mesa,silla,ubicacion,po_comisionv,po_comisionv_porc,po_comisionc,po_comisionc_por,mod_id_auto,po_father,ubic_enviada,ubic_enviada2,ubic_enviada3,ubic_enviada4,comanda,po_comision_tipo,ubic_id,ubic_id2,ubic_id3,ubic_id4,po_pr_detalle,po_comp_id,po_cant_pend,po_imp_adic,po_montoimp_adic,tpo_desc1,tpo_desc2,po_relac_unic,po_descripcion,po_posicion,trig_unic,e_id,po_flag_despa,po_fech_despa1,po_fech_despa2,SyncProcesing,UserModify,suc_id,UserOption,po_cant_asoc,po_cod_cupon,po_fide_cod_pro,po_fide_tip_item,po_fide_tip_desc,po_fide_cod_tip,po_fide_mon_lin,po_fide_pag_ptos,po_fide_fac_acu from tmp2.659591137967925 where trig_unic not in (select trig_unic from .producto_op where trig_unic is not null )
Error: CALL .Sinc_Genexist001ws2('tmp', '', '659591137967925', '2','0')
Error: CALL .Sinc_Genexist001ws2('tmp', '', '659591137967925', '2','0')
Error: CALL .Sinc_Genexist001ws2('tmp', '', '659591137967925', '16','0')
Error: CALL .Sinc_Genexist001ws2('tmp', '', '659591137967925', '13','0')
Error: CALL .Sinc_Genexist001ws2('tmp', '', '659591137967925', '14','0')
Error: update .estaciones set e_ftp_rop='' where e_id='' and suc_id=''
{"estado":"OK","mensaje":"Oper. enviadas en total: Procesados: 0"}