diff --git a/B4A/C_Cliente.bas b/B4A/C_Cliente.bas index 5969a43..ad049cb 100644 --- a/B4A/C_Cliente.bas +++ b/B4A/C_Cliente.bas @@ -415,7 +415,7 @@ Sub B4XPage_Appear - If Subs.traeCliente = "63403" Then + If (Subs.traeCliente = "63403" OR Subs.traeCliente = "100000") Then gest.Visible = False b_noEntrega.Visible = False Tar.Visible = True @@ -581,7 +581,7 @@ Private Sub B4XPage_CloseRequest As ResumableSub Else if p_abono.Visible Then p_abono.Visible = False Return False - Else If la_cuenta.Text = "63403" Then + Else If (la_cuenta.Text = "63403" Or la_cuenta.Text = "100000") Then B4XPages.ShowPage("Principal") Return False Else diff --git a/B4A/C_Principal.bas b/B4A/C_Principal.bas index b308105..631df6e 100644 --- a/B4A/C_Principal.bas +++ b/B4A/C_Principal.bas @@ -84,7 +84,7 @@ Sub Class_Globals Private p_principal As Panel Dim ime As IME Private b_tabulador As Button - + Dim paso1 As String Private l_rutasP As Label Private l_rechazo As Label Private Label9 As Label @@ -139,6 +139,11 @@ Sub Class_Globals Private l_pagaresnuevos As Label Private l_montoaliquidar As Label Private Label21 As Label + Private b_comodin As Button + Private p_validacion As Panel + Private b_cancelarcodigo As Button + Private b_aceptar As Button + Private et_codigo As EditText End Sub 'You can add more parameters here. @@ -324,9 +329,9 @@ Sub B4XPage_Appear f1=Starter.skmt.ExecQuery("select sum(hvd_costo_tot) as MONTO_TOTAL_DIA from hist_ventas2 where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_RECHAZO = 0") f2=Starter.skmt.ExecQuery("select sum(REP_COSTO_TOT) as MONTO_REC_DIA FROM REPARTO where REP_cliente in (Select cat_cl_codigo from kmt_info)") ' b=Starter.skmt.ExecQuery("select count(*) as CUANTOS from noventa where nv_cliente in (select cat_cl_codigo from kmt_info where gestion = 3)") - b=Starter.skmt.ExecQuery("select count(DISTINCT NV_CLIENTE) as CUANTOS from noventa where nv_motivo <> 'ENTREGA' and NV_CLIENTE <> 63403") + b=Starter.skmt.ExecQuery("select count(DISTINCT NV_CLIENTE) as CUANTOS from noventa where nv_motivo <> 'ENTREGA' and NV_CLIENTE NOT IN ('63403', '100000')") ' L=Starter.skmt.ExecQuery("select count(*) as CLIENTES_DIA from noventa where nv_cliente in (select cat_cl_codigo from kmt_info where gestion = 2)") - L=Starter.skmt.ExecQuery("select count(DISTINCT NV_CLIENTE) as CLIENTES_DIA from noventa where nv_motivo = 'ENTREGA' and NV_CLIENTE <> 63403") + L=Starter.skmt.ExecQuery("select count(DISTINCT NV_CLIENTE) as CLIENTES_DIA from noventa where nv_motivo = 'ENTREGA' and NV_CLIENTE NOT IN ('63403', '100000')") f2.Position=0 ' F4=Starter.skmt.execqUery("select count(*) as CUANTOS FROM PEDIDO") ' F4.Position = 0 @@ -744,12 +749,14 @@ Sub B4XPage_Appear ' b_venta_emp.Visible = False ' End If b_venta_emp.Visible = True + b_comodin.Visible = True Else Label21.Visible = False l_montoaliquidar.Visible = False Label9.Visible = False '''' PRUEBAS MOVER A TRUE L_MONTOE.Visible = False b_venta_emp.Visible = False '''' PRUEBAS MOVER A TRUE + b_comodin.Visible = False End If If l_ruta.Text = 0 Then @@ -842,27 +849,229 @@ Sub trabajar_Click End Sub Sub Subir_Click - If Not(IsConnectedToInternet) Then MsgboxAsync("No hay conexión a conexión a Internet", "Revisa tu conexión") - c=Starter.skmt.ExecQuery("select usuario from usuarioa") - c.Position = 0 - usuario = c.GetString("USUARIO") - c.Close - c = Starter.skmt.ExecQuery("SELECT * FROM BLOCKENVIO") - If c.RowCount = 0 Then - Starter.skmt.ExecNonQuery2("INSERT INTO BLOCKENVIO(ENVIADO) VALUES (?)", Array As Object (1)) - envioinfo + Private cg As Cursor = Starter.skmt.ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc") + + + If cg.RowCount > 0 Then + Dim banderarechazo As Int = 0 + + For i = 0 To cg.RowCount - 1 + cg.Position = i + + + Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='${cg.GetString("HVD_PROID")}' "$) + Private resta As String = 0 + + If c3.RowCount > 0 Then + c3.Position = 0 + resta = c3.GetString("PE_CANT") + Else + resta = 0 + End If + + If ( cg.GetInt("HVD_RECHAZOCANT") - resta) <= 0 Then + + Else + banderarechazo = banderarechazo + 1 + End If + Next + + If banderarechazo = 0 Then + If Not(IsConnectedToInternet) Then MsgboxAsync("No hay conexión a conexión a Internet", "Revisa tu conexión") + c=Starter.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c.Close + + c = Starter.skmt.ExecQuery("SELECT * FROM BLOCKENVIO") + If c.RowCount = 0 Then + Starter.skmt.ExecNonQuery2("INSERT INTO BLOCKENVIO(ENVIADO) VALUES (?)", Array As Object (1)) + envioinfo + Else + envioinfo + End If + c.Close + Else + Dim pickciego As Cursor = Starter.skmt.ExecQuery("SELECT * FROM PICK_CIEGO") + If pickciego.RowCount > 0 Then + If Not(IsConnectedToInternet) Then MsgboxAsync("No hay conexión a conexión a Internet", "Revisa tu conexión") + c=Starter.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c.Close + + c = Starter.skmt.ExecQuery("SELECT * FROM BLOCKENVIO") + If c.RowCount = 0 Then + Starter.skmt.ExecNonQuery2("INSERT INTO BLOCKENVIO(ENVIADO) VALUES (?)", Array As Object (1)) + envioinfo + Else + envioinfo + End If + c.Close + Else + MsgboxAsync("Para realizar el envio se necesita realizar la incidencia de recibo.", "Atención") + End If + End If + Else - envioinfo + If Not(IsConnectedToInternet) Then MsgboxAsync("No hay conexión a conexión a Internet", "Revisa tu conexión") + c=Starter.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c.Close + + c = Starter.skmt.ExecQuery("SELECT * FROM BLOCKENVIO") + If c.RowCount = 0 Then + Starter.skmt.ExecNonQuery2("INSERT INTO BLOCKENVIO(ENVIADO) VALUES (?)", Array As Object (1)) + envioinfo + Else + envioinfo + End If + c.Close End If c.Close -' cmd.Initialize -' cmd.Name = "select_estatus_MAZAPA" -' cmd.Parameters = Array As Object(ALMACEN,e_ruta.text) -' reqManager.ExecuteQuery(cmd , 0, "estatus") + + End Sub +Sub imp_LIQUIDACION + + ProgressDialogShow("Imprimiendo, un momento ...") + Printer1.DisConnect + If Not(Printer1.IsConnected) Then +' If logger Then Log("conectando 1") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) + Sleep(1000) + cont = cont + 1 + If cont = 7 Then Printer1.Connect 'Tratamos de reconectar + If cont > 15 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + Else +' If logger Then Log("conectando 2") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) Or Not(Printer1.IsConnected) + Sleep(1000) + cont = cont + 1 + If cont = 2 Then Printer1.Connect + If cont > 4 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + End If + + TAMANO = 0 + ESPACIO = 29 + BLANCO = " " + Printer1.Justify = 0 + Dim sDate, sTime As String + DateTime.DateFormat = "dd/MM/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate = DateTime.Date(DateTime.Now) + sTime = DateTime.Time(DateTime.Now) + Printer1.WriteString("Fecha: " &sDate & CRLF) + Printer1.WriteString("Hora: " &sTime & CRLF) + Printer1.WriteString("Ruta: " & l_ruta.Text & CRLF) + Printer1.WriteString("Usuario: " & Subs.dameUsuarioDeDB & CRLF) + Printer1.WriteString("----------LIQUIDACION----------" & CRLF) + Printer1.WriteString("--------------------------------" & CRLF) + + Printer1.WriteString("Monto entregado: $" & L_MONTOE.Text & CRLF) + Printer1.WriteString("Monto rechazado: $" & l_rechazo.Text & CRLF) + Printer1.WriteString("Pagares cobrados: $" & l_pagarescobrados.Text & CRLF) + + If l_pagarescobrados.Text > 0 Then + Printer1.WriteString("--------------------------------" & CRLF) + Printer1.WriteString(" Cliente Abono" & CRLF) + Printer1.WriteString("--------------------------------" & CRLF) +' Printer1.WriteString( CRLF) + Dim abonoscreditos As Cursor = Starter.skmt.ExecQuery("SELECT a_abono, length(a_abono) as L_abono , length(a_cliente) as L_cliente , a_cliente FROM ABONOS ORDER BY a_cliente") + For g = 0 To abonoscreditos.RowCount -1 + abonoscreditos.Position = g + + TAMANO = abonoscreditos.GetInt("L_abono") + TAMANO + ESPACIO = (ESPACIO - TAMANO)/2 +' Log(ESPACIO) + For j =0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + Printer1.Justify = 0 + Printer1.WriteString( abonoscreditos.GetString("a_cliente") & BLANCO) + Printer1.Justify = 1 + Printer1.WriteString( abonoscreditos.GetString("a_abono")) + Printer1.WriteString( CRLF) + TAMANO = 0 + ESPACIO = 29 + BLANCO = " " + Printer1.Justify = 0 + Next + Printer1.WriteString("--------------------------------" & CRLF) + Printer1.WriteString( CRLF) + End If + Printer1.WriteString("Pagares nuevos: $" & l_pagaresnuevos.Text & CRLF) + + If l_pagaresnuevos.Text > 0 Then + Printer1.WriteString("--------------------------------" & CRLF) + Printer1.WriteString(" Cliente Pagare" & CRLF) + Printer1.WriteString("--------------------------------" & CRLF) +' Printer1.WriteString( CRLF) + Dim abonoscreditos As Cursor = Starter.skmt.ExecQuery("SELECT PA_MONTO, length(PA_MONTO) as L_PA_MONTO , length(PA_CLIENTE) as L_cliente , PA_CLIENTE FROM PAGARES ORDER BY PA_CLIENTE") + For g = 0 To abonoscreditos.RowCount -1 + abonoscreditos.Position = g + + TAMANO = abonoscreditos.GetInt("L_PA_MONTO") + TAMANO + ESPACIO = (ESPACIO - TAMANO)/2 +' Log(ESPACIO) + For j =0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + Printer1.Justify = 0 + Printer1.WriteString( abonoscreditos.GetString("PA_CLIENTE") & BLANCO) + Printer1.Justify = 1 + Printer1.WriteString( abonoscreditos.GetString("PA_MONTO")) + Printer1.WriteString( CRLF) + TAMANO = 0 + ESPACIO = 29 + BLANCO = " " + Printer1.Justify = 0 + Next + Printer1.WriteString("--------------------------------" & CRLF) + Printer1.WriteString( CRLF) + End If + Printer1.WriteString("Monto a liquidar: $" & l_montoaliquidar.Text & CRLF) + + + +' Dim sumainv As Cursor = Starter.skmt.ExecQuery("SELECT SUM(HVD_CANT) AS CANTIDAD FROM HIST_VENTAS WHERE HVD_CODPROMO <> HVD_PROID") +' sumainv.Position = 0 +' +' Printer1.WriteString("------------------------------" & CRLF) +' Printer1.WriteString("Total piezas: " & sumainv.GetString("CANTIDAD")& CRLF) + Printer1.WriteString("------------------------------" & CRLF) + Printer1.Justify = 0 + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Sleep(1000) + Printer1.DisConnect + ProgressDialogHide + + + Msgbox2Async("Deseas imprimir de nuevo el ticket?", "ATENCION","SI","", "NO",LoadBitmap(File.DirAssets,"alert2.png"), False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + imp_LIQUIDACION + Else + + End If +End Sub Sub envioinfo @@ -1251,6 +1460,8 @@ Sub envioinfo End If 'FIN TABULADOR + imp_LIQUIDACION + Dim cmd As DBCommand cmd.Initialize cmd.Name = "insert_drop_rep_IZCA2" @@ -1297,7 +1508,7 @@ Sub cargar_Click Dim cmd As DBCommand cmd.Initialize cmd.Name = "insert_drop_rep_IZCA2" - cmd.Parameters = Array As Object(Subs.dameUsuarioDeDB, l_ruta.Text, ALMACEN, l_ctast.text, Subs.traeEntregados, Subs.traeRechazados, "CARGA",Application.VersionName) + cmd.Parameters = Array As Object(Subs.dameUsuarioDeDB, e_ruta.Text, ALMACEN, l_ctast.text, Subs.traeEntregados, Subs.traeRechazados, "CARGA",Application.VersionName) reqManager.ExecuteCommand(cmd , "inst_drop") ' reqs.Add("inst_noventa") @@ -1463,7 +1674,7 @@ Sub cargar____Click Dim cmd As DBCommand cmd.Initialize cmd.Name = "insert_drop_rep_IZCA2" - cmd.Parameters = Array As Object(Subs.dameUsuarioDeDB, l_ruta.Text, ALMACEN, l_ctast.text, Subs.traeEntregados, Subs.traeRechazados, "CARGA",Application.VersionName) + cmd.Parameters = Array As Object(Subs.dameUsuarioDeDB, e_ruta.Text, ALMACEN, l_ctast.text, Subs.traeEntregados, Subs.traeRechazados, "CARGA",Application.VersionName) reqManager.ExecuteCommand(cmd , "inst_drop") ' reqs.Add("inst_noventa") @@ -1657,6 +1868,7 @@ Sub JobDone(Job As HttpJob) Starter.skmt.ExecNonQuery2("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_BCREDITO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0)", Array As Object (CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_BCREDITO)) Next Starter.skmt.ExecNonQuery2("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_BCREDITO, gestion,SECUENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?)", Array As Object (63403,1000, "PRODUCTO DAÑADO","","","","","","","","","","","","","","-98.8357694","19.6906052","0","1")) + Starter.skmt.ExecNonQuery2("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_BCREDITO, gestion,SECUENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?)", Array As Object (100000,1000, "CLIENTE COMODIN","","","","","","","","","","","","","","-98.8357694","19.6906052","0","1")) ' End If Starter.skmt.TransactionSuccessful Starter.skmt.EndTransaction @@ -1699,7 +1911,7 @@ Sub JobDone(Job As HttpJob) Next - Dim clientes As Cursor = Starter.skmt.ExecQuery("select count(*) as clientes from kmt_info WHERE CAT_CL_CODIGO <> 63403 ") + Dim clientes As Cursor = Starter.skmt.ExecQuery("select count(*) as clientes from kmt_info WHERE CAT_CL_CODIGO NOT IN ('63403','100000') ") clientes.Position = 0 Dim detalleventa As Cursor = Starter.skmt.ExecQuery("select count(*) as detalle from hist_ventas ") @@ -2202,6 +2414,17 @@ Sub JobDone(Job As HttpJob) Next End If End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "contra" Then 'query tag + For Each records() As Object In result.Rows + Dim name As String = records(result.Columns.Get("CONTRA")) + + Next + paso1 = 1 + End If + End If If Job.JobName = "DBRequest" Then Dim result As DBResult = reqManager.HandleJob(Job) @@ -2225,8 +2448,108 @@ Sub JobDone(Job As HttpJob) End If End If Job.Release + + End If + + If paso1 = 1 Then + + + If name = "OK"&et_codigo.Text Then + p_validacion.Visible = False + et_codigo.Text = "" + Starter.skmt.ExecNonQuery("delete from CUENTAA") + Starter.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object("63403")) + + Subs.panelVisible(P_CIEGO,0,0) + P_CIEGO.Width = Root.Width + P_CIEGO.Height = Root.Height + + CLV_PICK_CIEGO.Clear + + Private c As Cursor = Starter.skmt.ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID, ifnull(PC_CANT,0) AS PC_CAN from HIST_VENTAS INNER JOIN PICK_CIEGO ON PC_ID_PROD = HVD_PROID WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PRONOMBRE <> 'Cobranza Pendiente' GROUP BY HVD_PROID order by HVD_PRONOMBRE asc") + If c.RowCount > 0 Then + + + For i = 0 To c.RowCount - 1 + c.Position = i + + + Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='${c.GetString("HVD_PROID")}' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"$) + Private resta As String = 0 + + If c3.RowCount > 0 Then + c3.Position = 0 + resta = c3.GetString("PE_CANT") + Else + resta = 0 + End If + If ( c.GetInt("HVD_RECHAZOCANT") - resta) <= 0 Then + + Else + CLV_PICK_CIEGO.Add(CreateListItem(c.GetString("HVD_PROID"), c.GetString("HVD_PRONOMBRE"), c.GetString("PC_CAN"),(c.GetInt("HVD_RECHAZOCANT") - resta)),i) + End If + + + Next + + d = Starter.skmt.ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PROID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO) and HVD_PRONOMBRE <> 'Cobranza Pendiente' GROUP BY HVD_PROID order by HVD_PRONOMBRE asc") + + For i = 0 To d.RowCount - 1 + d.Position = i + + + Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='${d.GetString("HVD_PROID")}' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"$) + Private resta As String = 0 + + If c3.RowCount > 0 Then + c3.Position = 0 + resta = c3.GetString("PE_CANT") + Else + resta = 0 + End If + If ( d.GetInt("HVD_RECHAZOCANT") - resta) <= 0 Then + + Else + CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString("HVD_PROID"), d.GetString("HVD_PRONOMBRE"),(d.GetInt("HVD_RECHAZOCANT") - resta)),i) + End If + + + Next + + Else If c.RowCount = 0 Then + d = Starter.skmt.ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PRONOMBRE <> 'Cobranza Pendiente' GROUP BY HVD_PROID order by HVD_PRONOMBRE asc") +' d=Starter.skmt.ExecQuery($"select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE CAT_GP_CLASIF <> 'PROMOS'"$) + For i = 0 To d.RowCount - 1 + d.Position = i + + + Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='${d.GetString("HVD_PROID")}'and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"$) + Private resta As String = 0 + + If c3.RowCount > 0 Then + c3.Position = 0 + resta = c3.GetString("PE_CANT") + Else + resta = 0 + End If + If ( d.GetInt("HVD_RECHAZOCANT") - resta) <= 0 Then + + Else + CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString("HVD_PROID"), d.GetString("HVD_PRONOMBRE"),(d.GetInt("HVD_RECHAZOCANT") - resta)),i) + End If + + + Next + End If + paso1 = 0 + Else + et_codigo.Text = "" + Msgbox("Password No valido","Atención") 'ignore + End If + End If + If reqs.Size = 0 Then @@ -2717,91 +3040,11 @@ Private Sub p_prod_Click End Sub Private Sub b_venta_emp_Click - Starter.skmt.ExecNonQuery("delete from CUENTAA") - Starter.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object("63403")) - - Subs.panelVisible(P_CIEGO,0,0) - P_CIEGO.Width = Root.Width - P_CIEGO.Height = Root.Height - CLV_PICK_CIEGO.Clear - - Private c As Cursor = Starter.skmt.ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID, ifnull(PC_CANT,0) AS PC_CAN from HIST_VENTAS INNER JOIN PICK_CIEGO ON PC_ID_PROD = HVD_PROID WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PRONOMBRE <> 'Cobranza Pendiente' GROUP BY HVD_PROID order by HVD_PRONOMBRE asc") - If c.RowCount > 0 Then - - - For i = 0 To c.RowCount - 1 - c.Position = i - - - Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='${c.GetString("HVD_PROID")}' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"$) - Private resta As String = 0 - - If c3.RowCount > 0 Then - c3.Position = 0 - resta = c3.GetString("PE_CANT") - Else - resta = 0 - End If - If ( c.GetInt("HVD_RECHAZOCANT") - resta) <= 0 Then - - Else - CLV_PICK_CIEGO.Add(CreateListItem(c.GetString("HVD_PROID"), c.GetString("HVD_PRONOMBRE"), c.GetString("PC_CAN"),(c.GetInt("HVD_RECHAZOCANT") - resta)),i) - End If - - - Next - - d = Starter.skmt.ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PROID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO) and HVD_PRONOMBRE <> 'Cobranza Pendiente' GROUP BY HVD_PROID order by HVD_PRONOMBRE asc") - - For i = 0 To d.RowCount - 1 - d.Position = i - - - Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='${d.GetString("HVD_PROID")}' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"$) - Private resta As String = 0 - - If c3.RowCount > 0 Then - c3.Position = 0 - resta = c3.GetString("PE_CANT") - Else - resta = 0 - End If - If ( d.GetInt("HVD_RECHAZOCANT") - resta) <= 0 Then - - Else - CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString("HVD_PROID"), d.GetString("HVD_PRONOMBRE"),(d.GetInt("HVD_RECHAZOCANT") - resta)),i) - End If - - - Next - - Else If c.RowCount = 0 Then - d = Starter.skmt.ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PRONOMBRE <> 'Cobranza Pendiente' GROUP BY HVD_PROID order by HVD_PRONOMBRE asc") -' d=Starter.skmt.ExecQuery($"select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE CAT_GP_CLASIF <> 'PROMOS'"$) - For i = 0 To d.RowCount - 1 - d.Position = i - - - Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='${d.GetString("HVD_PROID")}'and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"$) - Private resta As String = 0 - - If c3.RowCount > 0 Then - c3.Position = 0 - resta = c3.GetString("PE_CANT") - Else - resta = 0 - End If - If ( d.GetInt("HVD_RECHAZOCANT") - resta) <= 0 Then - - Else - CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString("HVD_PROID"), d.GetString("HVD_PRONOMBRE"),(d.GetInt("HVD_RECHAZOCANT") - resta)),i) - End If - - - Next - End If - + p_validacion.Visible = True + p_validacion.Width = Root.Width + p_validacion.Height = Root.Height + End Sub 'Private Sub connecta_LongClick @@ -3632,4 +3875,35 @@ Sub CreateListItem2(Id_prod As String, Prod As String,cantreal As String) As Pan 'cxc.Id_prod = mostrar3 'Log(pa.Width) Return pa +End Sub + +Private Sub connecta_LongClick + imp_LIQUIDACION +End Sub + +Private Sub b_comodin_Click + Starter.skmt.ExecNonQuery("delete from CUENTAA") + Starter.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object("100000")) + B4XPages.ShowPage("Cliente") +End Sub + +Private Sub b_aceptar_Click + If et_codigo.Text <> "" Then + + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "select_PASS_IZCA_REPG" + cmd.Parameters = Array As Object(ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "contra") + + End If +End Sub + +Private Sub b_cancelarcodigo_Click + p_validacion.Visible = False + et_codigo.Text = "" +End Sub + +Private Sub p_validacion_Click + End Sub \ No newline at end of file diff --git a/B4A/EscPosPrinter.bas b/B4A/EscPosPrinter.bas index cbfb796..83e430d 100644 --- a/B4A/EscPosPrinter.bas +++ b/B4A/EscPosPrinter.bas @@ -524,7 +524,7 @@ Version=9.3 '' Create the value to draw a box in a custom character '' The box top left start is X0,Y0 and bottom right is X1,Y1 'Public Sub CreateBox(x0 As Int, y0 As Int, x1 As Int, y1 As Int, fill As Boolean) As Int -' Dim box As Int = 0x10000000 +' Dim box As Int = 0x100000000 ' If fill Then box = box + 0x80000000 ' box = box + Bit.ShiftLeft(Bit.And(0xf,x0), 24) ' box = box + Bit.ShiftLeft(Bit.And(0x1f,y0), 16) @@ -1668,7 +1668,7 @@ End Sub ' Create the value to draw a box in a custom character ' The box top left start is X0,Y0 and bottom right is X1,Y1 Public Sub CreateBox(x0 As Int, y0 As Int, x1 As Int, y1 As Int, fill As Boolean) As Int - Dim box As Int = 0x10000000 + Dim box As Int = 0x100000000 If fill Then box = box + 0x80000000 box = box + Bit.ShiftLeft(Bit.And(0xf,x0), 24) box = box + Bit.ShiftLeft(Bit.And(0x1f,y0), 16) diff --git a/B4A/Files/login.bal b/B4A/Files/login.bal index 8e2ed01..86cca41 100644 Binary files a/B4A/Files/login.bal and b/B4A/Files/login.bal differ diff --git a/B4A/Files/principal.bal b/B4A/Files/principal.bal index 65a1674..353791b 100644 Binary files a/B4A/Files/principal.bal and b/B4A/Files/principal.bal differ diff --git a/B4A/Izca_Reparto.b4a b/B4A/Izca_Reparto.b4a index d0e2c78..b2e53e6 100644 --- a/B4A/Izca_Reparto.b4a +++ b/B4A/Izca_Reparto.b4a @@ -3018,7 +3018,7 @@ Version=12.8 #Region Project Attributes #ApplicationLabel: Izca Reparto #VersionCode: 1 - #VersionName: 5.09.14 + #VersionName: 5.09.20 'SupportedOrientations possible values: unspecified, landscape or portrait. #SupportedOrientations: portrait #CanInstallToExternalStorage: False diff --git a/B4A/Izca_Reparto.b4a.meta b/B4A/Izca_Reparto.b4a.meta index be25df8..869bdfd 100644 --- a/B4A/Izca_Reparto.b4a.meta +++ b/B4A/Izca_Reparto.b4a.meta @@ -91,6 +91,6 @@ ModuleClosedNodes6=18,19,20,21 ModuleClosedNodes7= ModuleClosedNodes8= ModuleClosedNodes9= -NavigationStack=C_Principal,B_CLIEPROD_Click,2471,6,Diseñador Visual,principal.bal,-100,6,C_Cliente,Class_Globals,75,0,C_Cliente,B4XPage_Appear,409,6,C_Principal,B4XPage_Appear,207,6,Diseñador Visual,cliente.bal,-100,1,C_Principal,JobDone,1701,0,C_Principal,cargar____Click,1512,0,C_Principal,cargar_Click,1357,0,C_Principal,connecta_Click,2276,0,C_Principal,b_venta_emp_Click,2757,5 +NavigationStack=B4XMainPage,Entrar_Click,295,0,Subs,traefECHAPREV,1042,0,C_Principal,p_validacion_Click,3891,0,C_Principal,Class_Globals,80,0,B4XMainPage,JobDone,524,0,Diseñador Visual,principal.bal,-100,6,C_Principal,JobDone,2541,6,C_Principal,b_aceptar_Click,3884,6,C_Principal,b_cancelarcodigo_Click,3895,5,C_Principal,connecta_LongClick,3876,0,C_Principal,B4XPage_Appear,264,0 SelectedBuild=0 VisibleModules=1,2,3,4,5,6,7,8,9,10,16 diff --git a/B4A/MAPA_RUTAS.bas b/B4A/MAPA_RUTAS.bas index ff0d5f4..dafb069 100644 --- a/B4A/MAPA_RUTAS.bas +++ b/B4A/MAPA_RUTAS.bas @@ -127,7 +127,7 @@ Sub MapFragment1_Ready Private esteAzul2 As String If azul = 1 Or todos = 1 Then c.IsInitialized - c = Starter.skmt.ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LAT, CAT_CL_LONG, CAT_CL_RUTA from kmt_info where gestion = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA") + c = Starter.skmt.ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LAT, CAT_CL_LONG, CAT_CL_RUTA from kmt_info where gestion = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO NOT IN ('63403','100000') order by CAT_CL_RUTA") rutaAnt = "" For i = 0 To c.RowCount -1 c.Position = i @@ -173,7 +173,7 @@ Sub MapFragment1_Ready If verde = 1 Or todos = 1 Then rutaAnt = "" c2.IsInitialized - c2=Starter.skmt.ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA") + c2=Starter.skmt.ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO NOT IN ('63403','100000') order by CAT_CL_RUTA") For i = 0 To c2.RowCount -1 c2.Position = i LongitudRU = c2.GetString("CAT_CL_LONG") @@ -199,7 +199,7 @@ Sub MapFragment1_Ready If verde = 1 Or todos = 1 Then rutaAnt = "" c2.IsInitialized - c2=Starter.skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA") + c2=Starter.skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO NOT IN ('63403','100000') order by CAT_CL_RUTA") For i = 0 To c2.RowCount -1 c2.Position = i LongitudRU = c2.GetString("CAT_CL_LONG") @@ -220,7 +220,7 @@ Sub MapFragment1_Ready If rojo = 1 Or todos = 1 Then rutaAnt = "" c3.IsInitialized - c3=Starter.skmt.ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA") + c3=Starter.skmt.ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO NOT IN ('63403','100000') order by CAT_CL_RUTA") For i = 0 To c3.RowCount -1 c3.Position = i LongitudRU = c3.GetDouble("CAT_CL_LONG") @@ -247,7 +247,7 @@ Sub MapFragment1_Ready If rojo = 1 Or todos = 1 Then rutaAnt = "" c3.IsInitialized - c3=Starter.skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA") + c3=Starter.skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO NOT IN ('63403','100000') order by CAT_CL_RUTA") For i = 0 To c3.RowCount -1 c3.Position = i LongitudRU = c3.GetDouble("CAT_CL_LONG") diff --git a/B4A/Objects/AndroidManifest.xml b/B4A/Objects/AndroidManifest.xml index f455d4c..c0d97c0 100644 --- a/B4A/Objects/AndroidManifest.xml +++ b/B4A/Objects/AndroidManifest.xml @@ -3,7 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" package="reparto_izca.keymon.lat" android:versionCode="1" - android:versionName="5.09.14" + android:versionName="5.09.20" android:installLocation="internalOnly"> diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/animatedcounter.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/animatedcounter.class index f9e8a45..49da60c 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/animatedcounter.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/animatedcounter.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/anotherprogressbar.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/anotherprogressbar.class index 11443dd..443ce48 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/anotherprogressbar.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/anotherprogressbar.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$ResumableSub_Service_Start.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$ResumableSub_Service_Start.class index ab4b3d1..99803b1 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$ResumableSub_Service_Start.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$ResumableSub_Service_Start.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$ResumableSub_download_newApk.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$ResumableSub_download_newApk.class index b1eca78..6b40964 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$ResumableSub_download_newApk.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$ResumableSub_download_newApk.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater.class index 7f9fca7..f50aba3 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbitset.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbitset.class index b4d27ad..b727ae9 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbitset.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbitset.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbreadcrumb.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbreadcrumb.class index df0e8d2..4f8c95c 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbreadcrumb.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbreadcrumb.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbytesbuilder.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbytesbuilder.class index 3b0cb78..14fe196 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbytesbuilder.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbytesbuilder.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcache.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcache.class index 515560d..cbe5716 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcache.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcache.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcollections.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcollections.class index cf1beb4..d833c76 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcollections.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcollections.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate.class index 872600c..9289c13 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcombobox.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcombobox.class index 10b855a..1ac6256 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcombobox.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcombobox.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcomparatorsort.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcomparatorsort.class index 4284e6d..ea8a305 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcomparatorsort.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcomparatorsort.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate.class index 3105396..5b0e733 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog.class index 4c37bcc..35b1523 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield.class index b937da7..41f2ab0 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xformatter.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xformatter.class index 3e1c7ca..48f8058 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xformatter.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xformatter.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4ximageview.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4ximageview.class index ea0273b..96b866c 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4ximageview.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4ximageview.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate.class index b909714..857f089 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate.class index 2dced45..8b780df 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator.class index 10d408f..382b6ca 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlongtexttemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlongtexttemplate.class index fb1db0d..3bed6ff 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlongtexttemplate.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlongtexttemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.class index 0d74cb9..68650b6 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.class index 36f9317..cf879f9 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.class index 6a6493f..7574dce 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage.class index bdc5321..5bf5ce5 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xorderedmap.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xorderedmap.class index 32bf0af..72ecbea 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xorderedmap.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xorderedmap.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpages.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpages.class index 54d00c2..4207872 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpages.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpages.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesdelegator.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesdelegator.class index aa3ddf3..19927c7 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesdelegator.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesdelegator.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager.class index 7eb3a53..ccf4fd1 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xplusminus.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xplusminus.class index d82c97f..80dd3c6 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xplusminus.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xplusminus.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xradiobutton.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xradiobutton.class index c4b0b53..2ae5d63 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xradiobutton.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xradiobutton.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate.class index 9f798f2..8e1d82c 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xseekbar.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xseekbar.class index 3122daa..26be4e6 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xseekbar.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xseekbar.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xset.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xset.class index 63b7160..545a467 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xset.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xset.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsignaturetemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsignaturetemplate.class index f941c03..bae9a96 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsignaturetemplate.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsignaturetemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xswitch.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xswitch.class index 7bfcf87..99ba15c 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xswitch.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xswitch.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate.class index 9f1a5a4..9b80117 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/batteryutilities.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/batteryutilities.class index 8135e2f..e48ae0e 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/batteryutilities.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/batteryutilities.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_buscar.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_buscar.class index 5f37b76..d71b966 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_buscar.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_buscar.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.class index d6f05ba..12d8544 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.class index 7462843..86dcd20 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist.class index 3c9f497..6d4c06a 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.class index faf8a6b..a8030f9 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP2_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP2_Click.class index 838533d..f87aba9 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP2_Click.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP2_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP_Click.class index f1e0033..5720d78 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP_Click.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_HIST_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_HIST_Click.class index 52d1399..0f8c4e6 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_HIST_Click.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_HIST_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_gest_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_gest_Click.class index 3d79b51..4dba535 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_gest_Click.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_gest_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_abonopagare.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_abonopagare.class index 423c9ac..493fb6e 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_abonopagare.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_abonopagare.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_pagare.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_pagare.class index d54c680..a55ee1c 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_pagare.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_pagare.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente.class index d7b2ab7..43a3ce0 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.class index d9a8d98..ed43181 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.class index 1f7cf5d..438e6e5 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.class index 0cd63f1..24caee6 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.class index f4e2872..68a9eff 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.class index a8ae25f..d9fbbd3 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_traeRutaDia.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_traeRutaDia.class index 0e2c545..ec323e6 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_traeRutaDia.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_traeRutaDia.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes.class index b5aca09..94a88bb 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalle_promo.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalle_promo.class index 90d9806..641082a 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalle_promo.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalle_promo.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalleventa.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalleventa.class index d31c96f..c3bdbbc 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalleventa.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalleventa.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_foto.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_foto.class index 6089338..5cf668e 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_foto.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_foto.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_historico.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_historico.class index 50b8961..9f18ab8 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_historico.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_historico.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_mapas.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_mapas.class index 51ec611..0c1930c 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_mapas.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_mapas.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_noventa.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_noventa.class index 4c7250d..dda57b2 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_noventa.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_noventa.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_nuevocliente.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_nuevocliente.class index caf8f5a..7f5d30d 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_nuevocliente.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_nuevocliente.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_pedidos.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_pedidos.class index 20cecbc..d8cea03 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_pedidos.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_pedidos.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.class index 50aefeb..414b7fc 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_b_imp_inventario_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_b_imp_inventario_Click.class index 689c7da..d2d5b03 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_b_imp_inventario_Click.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_b_imp_inventario_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_b_impresion_rec_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_b_impresion_rec_Click.class index 1eb1cc7..32128be 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_b_impresion_rec_Click.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_b_impresion_rec_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal.class index 9744d56..f0e253f 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_productos.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_productos.class index 8cbb666..50128f1 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_productos.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_productos.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_tabulador.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_tabulador.class index d1e46ef..4f21cf2 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_tabulador.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_tabulador.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_ticketsdia.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_ticketsdia.class index 69e278e..c642c6a 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_ticketsdia.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_ticketsdia.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.class index 4016091..22d5cd1 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_updateavailable.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_updateavailable.class index 2a3000b..2330640 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_updateavailable.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_updateavailable.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cameraexclass.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cameraexclass.class index 9b38a2c..8e98fcb 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cameraexclass.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cameraexclass.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.class index be71a9f..b7ff5fc 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.class index fa5592a..7de276c 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.class index 5640984..c5a1d2e 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.class index b3dabe2..b0a2df1 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.class index 1c4199c..5e9baf1 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate.class index ff67320..dc48f4f 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/dbrequestmanager.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/dbrequestmanager.class index c543984..90a22ab 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/dbrequestmanager.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/dbrequestmanager.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/escposprinter.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/escposprinter.class index cefd01a..0046371 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/escposprinter.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/escposprinter.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/fileprovider.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/fileprovider.class index b658b54..f06b041 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/fileprovider.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/fileprovider.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto.class index f8a4afb..8d2b4d7 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httpjob.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httpjob.class index 40fcde0..b9537da 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httpjob.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httpjob.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httputils2service.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httputils2service.class index 464dd5c..e168020 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httputils2service.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httputils2service.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/madewithlove.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/madewithlove.class index 2b0137f..e918f6e 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/madewithlove.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/madewithlove.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main.class index 4f924da..b30b81b 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/manageexternalstorage.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/manageexternalstorage.class index f4df486..b9104c3 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/manageexternalstorage.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/manageexternalstorage.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente.class index 18851b3..7a9ebcc 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.class index 070b166..ce22ad9 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas.class index ffd398d..dfaa04c 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2.class index d2cfd8d..cdbfa44 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/roundslider.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/roundslider.class index 9ee84ae..de47c6d 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/roundslider.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/roundslider.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/scrollinglabel.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/scrollinglabel.class index 4c998dd..f8eab1f 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/scrollinglabel.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/scrollinglabel.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter.class index 462ad5e..20c7bc9 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/subs.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/subs.class index 134ea77..060b08b 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/subs.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/subs.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/swiftbutton.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/swiftbutton.class index 1c824ba..2095f1f 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/swiftbutton.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/swiftbutton.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.class index d831121..62a5be5 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker.class index 11037a3..a36a6ea 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/xuiviewsutils.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/xuiviewsutils.class index 1a6a58e..50aeaa0 100644 Binary files a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/xuiviewsutils.class and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/xuiviewsutils.class differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/animatedcounter.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/animatedcounter.dex index 1f4d18c..9acd1de 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/animatedcounter.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/animatedcounter.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/anotherprogressbar.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/anotherprogressbar.dex index 59c6555..86b370e 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/anotherprogressbar.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/anotherprogressbar.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$ResumableSub_Service_Start.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$ResumableSub_Service_Start.dex index e3a10fd..4e3a7ad 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$ResumableSub_Service_Start.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$ResumableSub_Service_Start.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$ResumableSub_download_newApk.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$ResumableSub_download_newApk.dex index fb4f6b8..7d54ede 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$ResumableSub_download_newApk.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$ResumableSub_download_newApk.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater.dex index 25fa590..24f6b00 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbitset.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbitset.dex index ad034ce..71e6a81 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbitset.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbitset.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbreadcrumb.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbreadcrumb.dex index d17ba18..8c4c847 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbreadcrumb.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbreadcrumb.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbytesbuilder.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbytesbuilder.dex index 8d1d8d5..04ad565 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbytesbuilder.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbytesbuilder.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcache.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcache.dex index 286d127..be405ae 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcache.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcache.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcollections.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcollections.dex index 1a3bff4..9e8591d 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcollections.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcollections.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcolortemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcolortemplate.dex index 8c7acca..ad56ef9 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcolortemplate.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcolortemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcombobox.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcombobox.dex index 541c89c..ece8ca1 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcombobox.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcombobox.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcomparatorsort.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcomparatorsort.dex index 14b2637..72c46b2 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcomparatorsort.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcomparatorsort.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdatetemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdatetemplate.dex index 54c7094..3ead2ce 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdatetemplate.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdatetemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog.dex index de8e6ba..a937495 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xfloattextfield.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xfloattextfield.dex index def932f..48f7db4 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xfloattextfield.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xfloattextfield.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xformatter.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xformatter.dex index 294c0ed..529ee37 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xformatter.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xformatter.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4ximageview.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4ximageview.dex index ca60e03..d28fb10 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4ximageview.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4ximageview.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xinputtemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xinputtemplate.dex index 32b8248..e57d706 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xinputtemplate.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xinputtemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlisttemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlisttemplate.dex index e46467d..5b129a3 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlisttemplate.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlisttemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xloadingindicator.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xloadingindicator.dex index 98ccc75..ada7d09 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xloadingindicator.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xloadingindicator.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlongtexttemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlongtexttemplate.dex index 739be01..18f5e29 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlongtexttemplate.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlongtexttemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.dex index 96942c9..67c55ab 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.dex index 4e10017..d89d526 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.dex index 3398d54..7743a4b 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage.dex index b0cc6a1..7731875 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xorderedmap.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xorderedmap.dex index 75b16aa..9d4bc3d 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xorderedmap.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xorderedmap.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpages.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpages.dex index e9b4bc6..3af7993 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpages.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpages.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesdelegator.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesdelegator.dex index 516f5af..1f19d82 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesdelegator.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesdelegator.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager.dex index e1336c7..9dbda41 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xplusminus.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xplusminus.dex index fee9a5c..abce968 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xplusminus.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xplusminus.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xradiobutton.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xradiobutton.dex index 19d63ac..c3813c1 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xradiobutton.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xradiobutton.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsearchtemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsearchtemplate.dex index ce331e6..102e4e4 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsearchtemplate.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsearchtemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xseekbar.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xseekbar.dex index 9332561..003feb0 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xseekbar.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xseekbar.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xset.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xset.dex index 3308d4f..67f5bd2 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xset.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xset.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsignaturetemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsignaturetemplate.dex index e97b5cf..d365861 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsignaturetemplate.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsignaturetemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xswitch.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xswitch.dex index 1475fc9..d48f259 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xswitch.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xswitch.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xtimedtemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xtimedtemplate.dex index 5d52303..3c623e8 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xtimedtemplate.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xtimedtemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/batteryutilities.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/batteryutilities.dex index 3be1453..f80bd45 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/batteryutilities.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/batteryutilities.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_buscar.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_buscar.dex index f11c995..c7c5a7e 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_buscar.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_buscar.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.dex index 261d7d5..2630ba3 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.dex index ba68fb5..95ef9fd 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist.dex index a6c9264..2af28a3 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.dex index 54da207..3f2af53 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP2_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP2_Click.dex index feb5dd9..d47d604 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP2_Click.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP2_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP_Click.dex index 1e2d659..31975fb 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP_Click.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_HIST_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_HIST_Click.dex index 978e49d..057a831 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_HIST_Click.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_HIST_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_gest_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_gest_Click.dex index 0fa6a1a..5b54b54 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_gest_Click.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_gest_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_abonopagare.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_abonopagare.dex index 7ac8dba..4c43c04 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_abonopagare.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_abonopagare.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_pagare.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_pagare.dex index 09da348..2afdd4f 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_pagare.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_pagare.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente.dex index 307dc5b..0008ca8 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.dex index 8d0190d..b3d335d 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.dex index 606043c..4108f09 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.dex index 0865197..00e94b6 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.dex index 5e873e1..3bec4f2 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.dex index c9f177d..d62efa2 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_traeRutaDia.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_traeRutaDia.dex index a6c12e6..e4c909e 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_traeRutaDia.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_traeRutaDia.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes.dex index d86530e..04efaec 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalle_promo.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalle_promo.dex index fc9edf5..4843153 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalle_promo.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalle_promo.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalleventa.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalleventa.dex index 071802e..93b1316 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalleventa.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalleventa.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_foto.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_foto.dex index 17f1e35..e0cbe83 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_foto.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_foto.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_historico.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_historico.dex index 5552bcf..99d13ca 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_historico.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_historico.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_mapas.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_mapas.dex index 8303e65..d7aea32 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_mapas.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_mapas.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_noventa.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_noventa.dex index b75ba60..88e5281 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_noventa.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_noventa.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_nuevocliente.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_nuevocliente.dex index 4c3a8e5..2beaad5 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_nuevocliente.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_nuevocliente.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_pedidos.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_pedidos.dex index 7e621a9..7f93a16 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_pedidos.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_pedidos.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.dex index 28a8284..fe53ec8 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_b_imp_inventario_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_b_imp_inventario_Click.dex index 9edd408..698286f 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_b_imp_inventario_Click.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_b_imp_inventario_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_b_impresion_rec_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_b_impresion_rec_Click.dex index 132008f..9bb6f1e 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_b_impresion_rec_Click.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_b_impresion_rec_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal.dex index 757be8e..5e6b7f0 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_productos.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_productos.dex index 53592a1..1ed6be5 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_productos.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_productos.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_tabulador.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_tabulador.dex index 6cb233c..028f462 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_tabulador.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_tabulador.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_ticketsdia.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_ticketsdia.dex index 3be4bf1..98baf6a 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_ticketsdia.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_ticketsdia.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.dex index c17b9e6..c6d81a7 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_updateavailable.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_updateavailable.dex index 1127a04..bdcb973 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_updateavailable.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_updateavailable.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cameraexclass.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cameraexclass.dex index ba4ba85..bdf0ec3 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/cameraexclass.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cameraexclass.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.dex index ad6fabf..6128984 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.dex index 9f8b491..ec71ab7 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.dex index 77c12bf..2127257 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.dex index 6f07f0a..de25f53 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.dex index 202759d..fba7b22 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate.dex index 67d2cf4..ba78242 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/dbrequestmanager.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/dbrequestmanager.dex index aeae104..121e1fc 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/dbrequestmanager.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/dbrequestmanager.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/escposprinter.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/escposprinter.dex index 234d899..096ea74 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/escposprinter.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/escposprinter.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/fileprovider.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/fileprovider.dex index 1698dd2..550ade2 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/fileprovider.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/fileprovider.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/foto.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/foto.dex index f9d1fde..7773c32 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/foto.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/foto.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/httpjob.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/httpjob.dex index dbfff2b..9506e53 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/httpjob.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/httpjob.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/httputils2service.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/httputils2service.dex index 8120215..a17f068 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/httputils2service.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/httputils2service.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/madewithlove.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/madewithlove.dex index 3cfe36d..3b9988c 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/madewithlove.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/madewithlove.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/main.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/main.dex index a5799b3..eca5741 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/main.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/main.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/manageexternalstorage.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/manageexternalstorage.dex index 20f68da..8538c40 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/manageexternalstorage.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/manageexternalstorage.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente.dex index af809b2..2051ec8 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.dex index f92f738..a795614 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas.dex index 55f42f3..890b5c4 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2.dex index 93decab..047fd40 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/roundslider.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/roundslider.dex index 889fef4..b59295d 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/roundslider.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/roundslider.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/scrollinglabel.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/scrollinglabel.dex index 56a64c1..ad7ec25 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/scrollinglabel.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/scrollinglabel.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/starter.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/starter.dex index 5aa8724..b32ef0d 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/starter.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/starter.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/subs.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/subs.dex index df6611a..8c563da 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/subs.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/subs.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/swiftbutton.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/swiftbutton.dex index 6653ce3..feb9433 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/swiftbutton.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/swiftbutton.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.dex index ba63823..20ff080 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker.dex index 359fb97..b07842a 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/xuiviewsutils.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/xuiviewsutils.dex index d3fc3ac..3d4798a 100644 Binary files a/B4A/Objects/dexed/reparto_izca/keymon/lat/xuiviewsutils.dex and b/B4A/Objects/dexed/reparto_izca/keymon/lat/xuiviewsutils.dex differ diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/animatedcounter.java b/B4A/Objects/src/reparto_izca/keymon/lat/animatedcounter.java index 18111c2..b51a632 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/animatedcounter.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/animatedcounter.java @@ -41,11 +41,11 @@ public Object _tag = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/anotherprogressbar.java b/B4A/Objects/src/reparto_izca/keymon/lat/anotherprogressbar.java index 0400476..6805736 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/anotherprogressbar.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/anotherprogressbar.java @@ -46,11 +46,11 @@ public int _brushoffsetdelta = 0; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/appupdater.java b/B4A/Objects/src/reparto_izca/keymon/lat/appupdater.java index 57fa249..f350012 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/appupdater.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/appupdater.java @@ -140,11 +140,11 @@ public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; public static reparto_izca.keymon.lat.appupdater._mnewversion _newapp = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -264,7 +264,7 @@ case 0: //C this.state = 1; //BA.debugLineNum = 159;BA.debugLine="Log(\"Descargando actualización\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8589827","Descargando actualización",0); +anywheresoftware.b4a.keywords.Common.LogImpl("4589827","Descargando actualización",0); //BA.debugLineNum = 160;BA.debugLine="B4XPages.ShowPage(\"login\")"; parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"login"); //BA.debugLineNum = 161;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Descargando ac"; @@ -330,7 +330,7 @@ _outnewapk.Close(); //BA.debugLineNum = 177;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; parent.mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._ocultaprogreso /*String*/ (); //BA.debugLineNum = 178;BA.debugLine="Log(\"ocultamos prigreso DOWNLOAD APK\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8589846","ocultamos prigreso DOWNLOAD APK",0); +anywheresoftware.b4a.keywords.Common.LogImpl("4589846","ocultamos prigreso DOWNLOAD APK",0); if (true) break; case 8: @@ -392,7 +392,7 @@ _usefileprovider = anywheresoftware.b4a.keywords.Common.False; _sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); }; //BA.debugLineNum = 249;BA.debugLine="Log($\"Using FileProvider? - ${UseFileProvider}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("8983052",("Using FileProvider? - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("4983052",("Using FileProvider? - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); //BA.debugLineNum = 250;BA.debugLine="End Sub"; return ""; } @@ -427,7 +427,7 @@ if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.ge } catch (Exception e14) { processBA.setLastException(e14); //BA.debugLineNum = 267;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last"; -anywheresoftware.b4a.keywords.Common.LogImpl("81048590","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); +anywheresoftware.b4a.keywords.Common.LogImpl("41048590","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); //BA.debugLineNum = 268;BA.debugLine="Return \"\""; if (true) return (Object)(""); }; @@ -464,7 +464,7 @@ return ""; public static String _service_create() throws Exception{ //BA.debugLineNum = 101;BA.debugLine="Sub Service_Create"; //BA.debugLineNum = 102;BA.debugLine="Log(\"appUpdater(), Service_Create\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8393217","appUpdater(), Service_Create",0); +anywheresoftware.b4a.keywords.Common.LogImpl("4393217","appUpdater(), Service_Create",0); //BA.debugLineNum = 103;BA.debugLine="newApp.Initialize"; _newapp.Initialize(); //BA.debugLineNum = 104;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; @@ -479,7 +479,7 @@ return ""; public static String _service_destroy() throws Exception{ //BA.debugLineNum = 233;BA.debugLine="Sub Service_Destroy"; //BA.debugLineNum = 234;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8917505","appUpdater(), Service_Destroy",0); +anywheresoftware.b4a.keywords.Common.LogImpl("4917505","appUpdater(), Service_Destroy",0); //BA.debugLineNum = 235;BA.debugLine="End Sub"; return ""; } @@ -511,11 +511,11 @@ case 0: //C this.state = 1; //BA.debugLineNum = 110;BA.debugLine="Log(\"appUpdater(), Service_Start\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8458753","appUpdater(), Service_Start",0); +anywheresoftware.b4a.keywords.Common.LogImpl("4458753","appUpdater(), Service_Start",0); //BA.debugLineNum = 112;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua"; parent.mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ ("Buscando actualización"); //BA.debugLineNum = 113;BA.debugLine="Log(\"Buscando actualización\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8458756","Buscando actualización",0); +anywheresoftware.b4a.keywords.Common.LogImpl("4458756","Buscando actualización",0); //BA.debugLineNum = 114;BA.debugLine="fileProvider_init"; _fileprovider_init(); //BA.debugLineNum = 115;BA.debugLine="Wait For (Download(Me, lnk)) JobDone (j As HttpJo"; @@ -567,7 +567,7 @@ parent._newapp.okMsg /*String*/ = _app[(int) (2)]; //BA.debugLineNum = 123;BA.debugLine="newApp.version = app(0) 'Version actual"; parent._newapp.version /*String*/ = _app[(int) (0)]; //BA.debugLineNum = 125;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; -anywheresoftware.b4a.keywords.Common.LogImpl("8458768",("Application.VersionName="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+", newApp="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._newapp))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("4458768",("Application.VersionName="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+", newApp="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._newapp))+""),0); //BA.debugLineNum = 128;BA.debugLine="If newApp.version = Application.VersionName Th"; if (true) break; @@ -584,7 +584,7 @@ this.state = 10; //BA.debugLineNum = 129;BA.debugLine="newApp.update = False"; parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.False; //BA.debugLineNum = 130;BA.debugLine="Log(\"No new app\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8458773","No new app",0); +anywheresoftware.b4a.keywords.Common.LogImpl("4458773","No new app",0); //BA.debugLineNum = 131;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable"); //BA.debugLineNum = 133;BA.debugLine="CreateNotification2(\"Aplicacion al corriente\","; @@ -606,7 +606,7 @@ this.state = 13; //BA.debugLineNum = 136;BA.debugLine="newApp.update = True"; parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.True; //BA.debugLineNum = 137;BA.debugLine="Log(\"New app true\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("8458780","New app true",0); +anywheresoftware.b4a.keywords.Common.LogImpl("4458780","New app true",0); //BA.debugLineNum = 138;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable"); if (true) break; @@ -622,7 +622,7 @@ case 15: this.state = 16; this.catchState = 0; //BA.debugLineNum = 143;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE"; -anywheresoftware.b4a.keywords.Common.LogImpl("8458786","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); +anywheresoftware.b4a.keywords.Common.LogImpl("4458786","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); if (true) break; if (true) break; @@ -637,7 +637,7 @@ case 18: //C this.state = 19; //BA.debugLineNum = 146;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)"; -anywheresoftware.b4a.keywords.Common.LogImpl("8458789","appUpdater(), Job Failed "+parent._lnk,0); +anywheresoftware.b4a.keywords.Common.LogImpl("4458789","appUpdater(), Job Failed "+parent._lnk,0); if (true) break; case 19: diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xbitset.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xbitset.java index f54157f..e132e69 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xbitset.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xbitset.java @@ -29,11 +29,11 @@ public int _msize = 0; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xbreadcrumb.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xbreadcrumb.java index 69c4445..79bb5e5 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xbreadcrumb.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xbreadcrumb.java @@ -43,11 +43,11 @@ public boolean _mhaptic = false; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xbytesbuilder.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xbytesbuilder.java index 471ecad..c452ed8 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xbytesbuilder.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xbytesbuilder.java @@ -29,11 +29,11 @@ public int _mlength = 0; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -178,7 +178,7 @@ byte[] _afterindex = null; if (_index>=_mlength) { //BA.debugLineNum = 45;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; if (_index>_mlength) { -__c.LogImpl("935848194","Index too large",0);}; +__c.LogImpl("915728642","Index too large",0);}; //BA.debugLineNum = 46;BA.debugLine="Append(Data)"; _append(_data); }else { @@ -220,7 +220,7 @@ public String _set(int _index,byte[] _data) throws Exception{ if (_index>=_mlength) { //BA.debugLineNum = 58;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; if (_index>_mlength) { -__c.LogImpl("935913730","Index too large",0);}; +__c.LogImpl("915794178","Index too large",0);}; //BA.debugLineNum = 59;BA.debugLine="Append(Data)"; _append(_data); }else { diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcache.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcache.java index 9cbcb12..e1db99b 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcache.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcache.java @@ -31,11 +31,11 @@ public int _eternalcounts = 0; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcollections.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcollections.java index 869de8c..c5d56fc 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcollections.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcollections.java @@ -14,11 +14,11 @@ public static Object getObject() { public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcolortemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcolortemplate.java index b78de80..63de9d7 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcolortemplate.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcolortemplate.java @@ -44,11 +44,11 @@ public Object[] _initialcolor = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcombobox.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcombobox.java index 63734b5..2305623 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcombobox.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcombobox.java @@ -37,11 +37,11 @@ public String _b4icancelbutton = ""; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcomparatorsort.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcomparatorsort.java index 07e0aed..eff8ec2 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcomparatorsort.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcomparatorsort.java @@ -27,11 +27,11 @@ public class b4xcomparatorsort extends B4AClass.ImplB4AClass implements BA.SubDe public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xdatetemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xdatetemplate.java index acc244c..a086fe8 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xdatetemplate.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xdatetemplate.java @@ -65,11 +65,11 @@ public anywheresoftware.b4a.objects.collections.List _daysofweeknames = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xdialog.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xdialog.java index 670f4cf..8a4a749 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xdialog.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xdialog.java @@ -56,11 +56,11 @@ public anywheresoftware.b4a.objects.collections.Map _buttonsstate = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xfloattextfield.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xfloattextfield.java index 9d3215e..31f4151 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xfloattextfield.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xfloattextfield.java @@ -59,11 +59,11 @@ public long _lastswitchtextfieldtime = 0L; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -354,7 +354,7 @@ if (_passwordmode && _multiline) { //BA.debugLineNum = 90;BA.debugLine="Multiline = False"; _multiline = __c.False; //BA.debugLineNum = 91;BA.debugLine="Log(\"Multiline not supported with password mode."; -__c.LogImpl("952428824","Multiline not supported with password mode.",0); +__c.LogImpl("932309272","Multiline not supported with password mode.",0); }; //BA.debugLineNum = 93;BA.debugLine="CreateTextFieldAll(PasswordMode, PassedLabel.Font"; _createtextfieldall(_passwordmode,_passedlabel.getFont(),_xui.PaintOrColorToColor((Object)(_lbl.getTextColor()))); diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xformatter.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xformatter.java index 298d318..8380e5b 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xformatter.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xformatter.java @@ -31,11 +31,11 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4ximageview.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4ximageview.java index f0f39bb..8d7542e 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4ximageview.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4ximageview.java @@ -38,11 +38,11 @@ public int _mcornersradius = 0; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -271,7 +271,7 @@ _imageviewheight = (float) (_mbitmap.getHeight()); break; } default: { //BA.debugLineNum = 104;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)"; -__c.LogImpl("954788123","Invalid resize mode: "+_mresizemode,0); +__c.LogImpl("934668571","Invalid resize mode: "+_mresizemode,0); break; } } ; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xinputtemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xinputtemplate.java index 49b543e..5f5ae2f 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xinputtemplate.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xinputtemplate.java @@ -38,11 +38,11 @@ public int _bordercolorinvalid = 0; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xlisttemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xlisttemplate.java index 3d7dc6c..1b20290 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xlisttemplate.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xlisttemplate.java @@ -37,11 +37,11 @@ public int _multiselectionminimum = 0; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xloadingindicator.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xloadingindicator.java index 7b22f83..83fcc06 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xloadingindicator.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xloadingindicator.java @@ -37,11 +37,11 @@ public Object _tag = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xlongtexttemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xlongtexttemplate.java index 320f3af..c7e67c5 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xlongtexttemplate.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xlongtexttemplate.java @@ -31,11 +31,11 @@ public Object _text = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xmainpage.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xmainpage.java index cb2ff13..c45e597 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xmainpage.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xmainpage.java @@ -115,11 +115,11 @@ public String _monto_entregadoactual = ""; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -227,7 +227,7 @@ this.state = -1; //BA.debugLineNum = 580;BA.debugLine="Dim FileName As String = \"kmt.db\""; _filename = "kmt.db"; //BA.debugLineNum = 582;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)"; -parent.__c.LogImpl("81769477","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0); +parent.__c.LogImpl("41769477","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0); //BA.debugLineNum = 583;BA.debugLine="Sleep(1000)"; parent.__c.Sleep(ba,this,(int) (1000)); this.state = 1; @@ -319,7 +319,7 @@ _f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject //BA.debugLineNum = 818;BA.debugLine="f.Position=0"; _f.setPosition((int) (0)); //BA.debugLineNum = 819;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -__c.LogImpl("82621467",_f.GetString("RUTAA"),0); +__c.LogImpl("42621467",_f.GetString("RUTAA"),0); //BA.debugLineNum = 820;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; _a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); //BA.debugLineNum = 821;BA.debugLine="If a.RowCount>0 Then"; @@ -347,12 +347,12 @@ _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject //BA.debugLineNum = 832;BA.debugLine="If c.RowCount = 0 Then"; if (_c.getRowCount()==0) { //BA.debugLineNum = 834;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -__c.LogImpl("82621482",_f.GetString("RUTAA"),0); +__c.LogImpl("42621482",_f.GetString("RUTAA"),0); //BA.debugLineNum = 835;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,_a.GetString("ID_ALMACEN"),_f.GetString("RUTAA"),_fechatabulador3+" "+_stime})); }else { //BA.debugLineNum = 838;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -__c.LogImpl("82621486",_f.GetString("RUTAA"),0); +__c.LogImpl("42621486",_f.GetString("RUTAA"),0); //BA.debugLineNum = 839;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,_idparts[(int) (0)]})); }; @@ -362,7 +362,7 @@ _f.Close(); //BA.debugLineNum = 844;BA.debugLine="a.Close"; _a.Close(); //BA.debugLineNum = 845;BA.debugLine="Log(\"Processed item \" & i)"; -__c.LogImpl("82621493","Processed item "+BA.NumberToString(_i),0); +__c.LogImpl("42621493","Processed item "+BA.NumberToString(_i),0); } }; //BA.debugLineNum = 847;BA.debugLine="et_buspc.Text = \"\""; @@ -384,7 +384,7 @@ return ""; public String _b_server_click() throws Exception{ //BA.debugLineNum = 599;BA.debugLine="Private Sub b_server_Click"; //BA.debugLineNum = 600;BA.debugLine="Log(\"Guardar servidor\")"; -__c.LogImpl("81900545","Guardar servidor",0); +__c.LogImpl("41900545","Guardar servidor",0); //BA.debugLineNum = 601;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARIA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("SERVER")})); //BA.debugLineNum = 602;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIA"; @@ -395,11 +395,11 @@ _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*Strin _starter._server /*String*/ = _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ; //BA.debugLineNum = 605;BA.debugLine="If logger Then Log(\"Inicializamos reqManager con"; if (_logger) { -__c.LogImpl("81900550","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; +__c.LogImpl("41900550","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; //BA.debugLineNum = 606;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); //BA.debugLineNum = 607;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("81900552",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +__c.LogImpl("41900552",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); //BA.debugLineNum = 608;BA.debugLine="reinicializaReqManager"; _reinicializareqmanager(); //BA.debugLineNum = 609;BA.debugLine="p_appUpdate.Visible = False"; @@ -575,7 +575,7 @@ parent._f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.Ab //BA.debugLineNum = 883;BA.debugLine="f.Position=0"; parent._f.setPosition((int) (0)); //BA.debugLineNum = 884;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -parent.__c.LogImpl("82687009",parent._f.GetString("RUTAA"),0); +parent.__c.LogImpl("42687009",parent._f.GetString("RUTAA"),0); //BA.debugLineNum = 886;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN fr"; parent._a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); //BA.debugLineNum = 887;BA.debugLine="If a.RowCount>0 Then"; @@ -600,7 +600,7 @@ case 17: this.state = 18; ; //BA.debugLineNum = 890;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; -parent.__c.LogImpl("82687015",parent._a.GetString("ID_ALMACEN"),0); +parent.__c.LogImpl("42687015",parent._a.GetString("ID_ALMACEN"),0); //BA.debugLineNum = 892;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELE"; _k = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _k = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS"))); @@ -670,7 +670,7 @@ parent._f.Close(); //BA.debugLineNum = 908;BA.debugLine="a.Close"; parent._a.Close(); //BA.debugLineNum = 909;BA.debugLine="Log(\"Processed item \" & i)"; -parent.__c.LogImpl("82687034","Processed item "+BA.NumberToString(_i),0); +parent.__c.LogImpl("42687034","Processed item "+BA.NumberToString(_i),0); if (true) break; if (true) break; @@ -679,7 +679,7 @@ case 28: this.state = 31; ; //BA.debugLineNum = 911;BA.debugLine="Log(\"Finished processing all items\")"; -parent.__c.LogImpl("82687036","Finished processing all items",0); +parent.__c.LogImpl("42687036","Finished processing all items",0); //BA.debugLineNum = 912;BA.debugLine="P_CIEGO.Visible = False"; parent._p_ciego.setVisible(parent.__c.False); //BA.debugLineNum = 913;BA.debugLine="et_buspc.Text = \"\""; @@ -819,7 +819,7 @@ this.state = 16; //BA.debugLineNum = 250;BA.debugLine="ToastMessageShow(\"No permission\", True)"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission"),parent.__c.True); //BA.debugLineNum = 251;BA.debugLine="Log(\"Sin permisos\")"; -parent.__c.LogImpl("81376270","Sin permisos",0); +parent.__c.LogImpl("41376270","Sin permisos",0); if (true) break; case 16: @@ -1129,11 +1129,11 @@ _server = "http://keymon.net:1781"; //BA.debugLineNum = 222;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); //BA.debugLineNum = 223;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("81310833",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +__c.LogImpl("41310833",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); //BA.debugLineNum = 224;BA.debugLine="Label1.Text = Application.VersionName"; _label1.setText(BA.ObjectToCharSequence(__c.Application.getVersionName())); //BA.debugLineNum = 226;BA.debugLine="Log(\"provider\")"; -__c.LogImpl("81310836","provider",0); +__c.LogImpl("41310836","provider",0); //BA.debugLineNum = 227;BA.debugLine="Provider.Initialize"; _provider._initialize /*String*/ (ba); //BA.debugLineNum = 235;BA.debugLine="End Sub"; @@ -1465,11 +1465,11 @@ _fecha2 = __c.Regex.Split("-",_fecha[(int) (0)]); //BA.debugLineNum = 688;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\""; _fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)]; //BA.debugLineNum = 689;BA.debugLine="Log(fecha3)"; -__c.LogImpl("82359316",_fecha3,0); +__c.LogImpl("42359316",_fecha3,0); //BA.debugLineNum = 690;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; _hora = __c.Regex.Split("\\.",_fecha[(int) (1)]); //BA.debugLineNum = 691;BA.debugLine="Log(hora(0))"; -__c.LogImpl("82359318",_hora[(int) (0)],0); +__c.LogImpl("42359318",_hora[(int) (0)],0); }; //BA.debugLineNum = 696;BA.debugLine="Private cI As Cursor"; _ci = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); @@ -1503,7 +1503,7 @@ _clv_pick_ciego._clear(); //BA.debugLineNum = 757;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\""; _q_buscar = "%"+_et_buspc.getText()+"%"; //BA.debugLineNum = 758;BA.debugLine="Log(q_buscar)"; -__c.LogImpl("82555911",_q_buscar,0); +__c.LogImpl("42555911",_q_buscar,0); //BA.debugLineNum = 759;BA.debugLine="c=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBRE"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID , ifnull(PC_CANT,0) AS PC_CANT FROM CAT_GUNAPROD3 INNER JOIN PICK_CIEGO ON PC_ID_PROD = CAT_GP_ID AND PC_NOM_PROD = CAT_GP_NOMBRE WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"),new String[]{_q_buscar,_q_buscar}))); //BA.debugLineNum = 760;BA.debugLine="If c.RowCount > 0 Then"; @@ -1681,7 +1681,7 @@ final int groupLen25 = group25.getSize() for (; index25 < groupLen25;index25++){ _records = (Object[])(group25.Get(index25)); //BA.debugLineNum = 342;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; -__c.LogImpl("81507357","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0); +__c.LogImpl("41507357","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0); //BA.debugLineNum = 343;BA.debugLine="Private lat, lon As Double"; _lat = 0; _lon = 0; @@ -1753,7 +1753,7 @@ _cat_pa_pass = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Column //BA.debugLineNum = 376;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then"; if ((_cat_pa_pass).equals(_et_codigo.getText())) { //BA.debugLineNum = 377;BA.debugLine="Log(CAT_PA_PASS)"; -__c.LogImpl("81507392",_cat_pa_pass,0); +__c.LogImpl("41507392",_cat_pa_pass,0); //BA.debugLineNum = 378;BA.debugLine="p_validacion.Visible = False"; _p_validacion.setVisible(__c.False); //BA.debugLineNum = 379;BA.debugLine="et_codigo.Text = \"\""; @@ -1866,7 +1866,7 @@ _c2.setPosition((int) (0)); if (_c2.getRowCount()>0) { _c2.GetString("USUARIO");}; //BA.debugLineNum = 482;BA.debugLine="Log(CUENTA & \"----------------------!!\")"; -__c.LogImpl("81507497",_cuenta+"----------------------!!",0); +__c.LogImpl("41507497",_cuenta+"----------------------!!",0); //BA.debugLineNum = 483;BA.debugLine="If CUENTA = \"0\" Then"; if ((_cuenta).equals("0")) { }else if((double)(Double.parseDouble(_cuenta))>(double)(Double.parseDouble("0"))) { @@ -1921,7 +1921,7 @@ _et_server.setText(BA.ObjectToCharSequence(_value)); //BA.debugLineNum = 617;BA.debugLine="reqManager.Initialize(Me, Value)"; _reqmanager._initialize /*String*/ (ba,this,BA.ObjectToString(_value)); //BA.debugLineNum = 618;BA.debugLine="LogColor($\"ReqServer = ${Value}\"$, Colors.red)"; -__c.LogImpl("81966085",("ReqServer = "+__c.SmartStringFormatter("",_value)+""),__c.Colors.Red); +__c.LogImpl("41966085",("ReqServer = "+__c.SmartStringFormatter("",_value)+""),__c.Colors.Red); //BA.debugLineNum = 619;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Servidor modificado"),__c.False); //BA.debugLineNum = 620;BA.debugLine="End Sub"; @@ -1970,9 +1970,9 @@ if (_a.getRowCount()>0) { _a.setPosition((int) (0)); }; //BA.debugLineNum = 963;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; -__c.LogImpl("82883592",_a.GetString("ID_ALMACEN"),0); +__c.LogImpl("42883592",_a.GetString("ID_ALMACEN"),0); //BA.debugLineNum = 964;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))"; -__c.LogImpl("82883593",_f.GetString("CAT_CL_RUTA"),0); +__c.LogImpl("42883593",_f.GetString("CAT_CL_RUTA"),0); //BA.debugLineNum = 979;BA.debugLine="End Sub"; return ""; } @@ -1982,9 +1982,9 @@ public String _reinicializareqmanager() throws Exception{ _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); //BA.debugLineNum = 624;BA.debugLine="If logger Then Log(B4XPages.MainPage.server)"; if (_logger) { -__c.LogImpl("82031618",_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; +__c.LogImpl("42031618",_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; //BA.debugLineNum = 625;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("82031619",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +__c.LogImpl("42031619",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); //BA.debugLineNum = 626;BA.debugLine="End Sub"; return ""; } diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xorderedmap.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xorderedmap.java index cc237b4..512c81b 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xorderedmap.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xorderedmap.java @@ -29,11 +29,11 @@ public anywheresoftware.b4a.objects.collections.List _list = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xpages.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xpages.java index ef500e0..6c57049 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xpages.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xpages.java @@ -17,11 +17,11 @@ public static Object _globalcontext = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xpagesdelegator.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xpagesdelegator.java index ebea0ff..6b63723 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xpagesdelegator.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xpagesdelegator.java @@ -27,11 +27,11 @@ public class b4xpagesdelegator extends B4AClass.ImplB4AClass implements BA.SubDe public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xpagesmanager.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xpagesmanager.java index 021c529..28a9d79 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xpagesmanager.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xpagesmanager.java @@ -40,11 +40,11 @@ public boolean _logevents = false; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -198,7 +198,7 @@ _idtolower = _id.toLowerCase(); //BA.debugLineNum = 143;BA.debugLine="If IdToB4XPage.ContainsKey(IdToLower) Then"; if (_idtob4xpage._containskey /*boolean*/ ((Object)(_idtolower))) { //BA.debugLineNum = 144;BA.debugLine="Log($\"Page with this id already exists: ${IdToLo"; -__c.LogImpl("940566787",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0); +__c.LogImpl("920447235",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0); //BA.debugLineNum = 145;BA.debugLine="Return"; if (true) return ""; }; @@ -313,7 +313,7 @@ _screenorientation = (int)(BA.ObjectToNumber(_act.GetField("screenOrientation")) //BA.debugLineNum = 116;BA.debugLine="If screenOrientation = -1 Then"; if (_screenorientation==-1) { //BA.debugLineNum = 117;BA.debugLine="LogColor(\"#SupportedOrientations attribute mus"; -__c.LogImpl("940435733","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red); +__c.LogImpl("920316181","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red); }; }; } @@ -370,12 +370,12 @@ if (true) return "";}; //BA.debugLineNum = 212;BA.debugLine="If xui.IsB4i And GetTopPage <> pi Then"; if (_xui.getIsB4i() && (_gettoppage()).equals(_pi) == false) { //BA.debugLineNum = 213;BA.debugLine="Log(\"Only top page can be closed\")"; -__c.LogImpl("940828932","Only top page can be closed",0); +__c.LogImpl("920709380","Only top page can be closed",0); //BA.debugLineNum = 214;BA.debugLine="Return"; if (true) return ""; }else if(_xui.getIsB4i() && _mstackofpageids._getsize /*int*/ ()==1) { //BA.debugLineNum = 216;BA.debugLine="Log(\"First page cannot be closed\")"; -__c.LogImpl("940828935","First page cannot be closed",0); +__c.LogImpl("920709383","First page cannot be closed",0); //BA.debugLineNum = 217;BA.debugLine="Return"; if (true) return ""; }; @@ -590,9 +590,9 @@ _pi = (reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo)(_idtob4xpage._get / //BA.debugLineNum = 400;BA.debugLine="If pi = Null Then"; if (_pi== null) { //BA.debugLineNum = 401;BA.debugLine="Log(\"Error: page id not found: \" & id)"; -__c.LogImpl("941484291","Error: page id not found: "+_id,0); +__c.LogImpl("921364739","Error: page id not found: "+_id,0); //BA.debugLineNum = 402;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore"; -__c.LogImpl("941484292","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0); +__c.LogImpl("921364740","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0); }; //BA.debugLineNum = 404;BA.debugLine="Return pi"; if (true) return _pi; @@ -727,7 +727,7 @@ _addpageandcreate("MainPage",(Object)(_mainpage)); //BA.debugLineNum = 85;BA.debugLine="If LogEvents = False Then"; if (_logevents==__c.False) { //BA.debugLineNum = 86;BA.debugLine="Log(\"Call B4XPages.GetManager.LogEvents = True t"; -__c.LogImpl("940370203","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0); +__c.LogImpl("920250651","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0); }; //BA.debugLineNum = 88;BA.debugLine="If NonMainPageWasAdded Then"; if (_nonmainpagewasadded) { @@ -748,7 +748,7 @@ if (_logevents) { //BA.debugLineNum = 642;BA.debugLine="Dim msg As String = $\"*** ${pi.Id}: ${ev} ${Stac"; _msg = ("*** "+__c.SmartStringFormatter("",(Object)(_pi.Id /*String*/ ))+": "+__c.SmartStringFormatter("",(Object)(_ev))+" "+__c.SmartStringFormatter("",(Object)(_stackstring))+""); //BA.debugLineNum = 643;BA.debugLine="Log(msg)"; -__c.LogImpl("942598403",_msg,0); +__c.LogImpl("922478851",_msg,0); }; //BA.debugLineNum = 645;BA.debugLine="End Sub"; return ""; @@ -800,7 +800,7 @@ __c.CallSubDelayed3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0 break; } default: { //BA.debugLineNum = 562;BA.debugLine="Log(\"Too many parameters\")"; -__c.LogImpl("942074126","Too many parameters",0); +__c.LogImpl("921954574","Too many parameters",0); break; } } ; @@ -841,7 +841,7 @@ if (true) return __c.CallSubNew3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_pa break; } default: { //BA.debugLineNum = 580;BA.debugLine="Log(\"Too many parameters\")"; -__c.LogImpl("942139662","Too many parameters",0); +__c.LogImpl("922020110","Too many parameters",0); break; } } ; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xplusminus.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xplusminus.java index ba305ab..235fa9d 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xplusminus.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xplusminus.java @@ -53,11 +53,11 @@ public boolean _mhaptic = false; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xradiobutton.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xradiobutton.java index f0f4c51..2954768 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xradiobutton.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xradiobutton.java @@ -47,11 +47,11 @@ public float _scale = 0f; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xsearchtemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xsearchtemplate.java index 8bd3e2d..fdb5f8b 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xsearchtemplate.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xsearchtemplate.java @@ -45,11 +45,11 @@ public boolean _prefixonly = false; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -390,7 +390,7 @@ _count = (int) (_count+1); } }; //BA.debugLineNum = 227;BA.debugLine="Log(\"Index time: \" & (DateTime.Now - startTime) &"; -__c.LogImpl("960555295","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0); +__c.LogImpl("940435743","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0); //BA.debugLineNum = 228;BA.debugLine="AllItems = Items"; _allitems = _items; //BA.debugLineNum = 229;BA.debugLine="Return Array(prefixList, substringList, AllItems)"; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xseekbar.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xseekbar.java index d52a2de..eb58466 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xseekbar.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xseekbar.java @@ -48,11 +48,11 @@ public int _size = 0; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xset.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xset.java index ed5a35d..5b4dac1 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xset.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xset.java @@ -28,11 +28,11 @@ public reparto_izca.keymon.lat.b4xorderedmap _map = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xsignaturetemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xsignaturetemplate.java index c580042..5a95d94 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xsignaturetemplate.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xsignaturetemplate.java @@ -39,11 +39,11 @@ public int _numberofpoints = 0; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xswitch.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xswitch.java index 29c3a48..9b148ef 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xswitch.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xswitch.java @@ -45,11 +45,11 @@ public boolean _mhaptic = false; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xtimedtemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xtimedtemplate.java index bfbab19..2c4f48a 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/b4xtimedtemplate.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xtimedtemplate.java @@ -33,11 +33,11 @@ public int _index = 0; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/batteryutilities.java b/B4A/Objects/src/reparto_izca/keymon/lat/batteryutilities.java index 7394bdb..cfd6a77 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/batteryutilities.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/batteryutilities.java @@ -35,11 +35,11 @@ public anywheresoftware.b4j.object.JavaObject _nativeme = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_buscar.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_buscar.java index 52b349a..721acb8 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_buscar.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_buscar.java @@ -33,11 +33,11 @@ public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_cheklist.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_cheklist.java index 0f9c929..a4b89d2 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_cheklist.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_cheklist.java @@ -126,11 +126,11 @@ public anywheresoftware.b4a.objects.EditTextWrapper _et_km = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -166,13 +166,13 @@ __c.File.MakeDir(_dirp,"/md"); //BA.debugLineNum = 548;BA.debugLine="Dir = \"/md\""; _dir = "/md"; //BA.debugLineNum = 549;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; -__c.LogImpl("87405576","creado en promotoria "+_dirp+_dir,0); +__c.LogImpl("47405576","creado en promotoria "+_dirp+_dir,0); } catch (Exception e9) { ba.setLastException(e9); //BA.debugLineNum = 551;BA.debugLine="Dir = \"\""; _dir = ""; //BA.debugLineNum = 552;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("87405579","creado en raiz",0); +__c.LogImpl("47405579","creado en raiz",0); }; //BA.debugLineNum = 555;BA.debugLine="Try"; try { //BA.debugLineNum = 556;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; @@ -180,13 +180,13 @@ __c.File.MakeDir(_dirp+_dir,"/reduccion"); //BA.debugLineNum = 557;BA.debugLine="Dir2 = \"/reduccion\""; _dir2 = "/reduccion"; //BA.debugLineNum = 558;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; -__c.LogImpl("87405585","creado en promotoria "+_dirp+_dir+_dir2,0); +__c.LogImpl("47405585","creado en promotoria "+_dirp+_dir+_dir2,0); } catch (Exception e17) { ba.setLastException(e17); //BA.debugLineNum = 560;BA.debugLine="Dir = \"\""; _dir = ""; //BA.debugLineNum = 561;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("87405588","creado en raiz",0); +__c.LogImpl("47405588","creado en raiz",0); }; //BA.debugLineNum = 564;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; __c.DateTime.setTimeFormat("HH:mm:ss"); @@ -474,7 +474,7 @@ parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.Ab //BA.debugLineNum = 144;BA.debugLine="c.Position = 0"; parent._c.setPosition((int) (0)); //BA.debugLineNum = 145;BA.debugLine="Log(c.GetString(\"PLACA\"))"; -parent.__c.LogImpl("84259843",parent._c.GetString("PLACA"),0); +parent.__c.LogImpl("44259843",parent._c.GetString("PLACA"),0); //BA.debugLineNum = 146;BA.debugLine="l_placa.Text = c.GetString(\"PLACA\")"; parent._l_placa.setText(BA.ObjectToCharSequence(parent._c.GetString("PLACA"))); //BA.debugLineNum = 147;BA.debugLine="c.Close"; @@ -507,7 +507,7 @@ case 3: //C this.state = 6; //BA.debugLineNum = 153;BA.debugLine="Log(\"inicializamos Camara\")"; -parent.__c.LogImpl("84259851","inicializamos Camara",0); +parent.__c.LogImpl("44259851","inicializamos Camara",0); if (true) break; case 5: @@ -541,7 +541,7 @@ case 9: //C this.state = 16; //BA.debugLineNum = 164;BA.debugLine="Log(\"SDK = \" & SdkVersion & \" : Requesting WRITE"; -parent.__c.LogImpl("84259862","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting WRITE_EXTERNAL_STORAGE permission",0); +parent.__c.LogImpl("44259862","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting WRITE_EXTERNAL_STORAGE permission",0); //BA.debugLineNum = 165;BA.debugLine="Dim rp As RuntimePermissions"; _rp = new anywheresoftware.b4a.objects.RuntimePermissions(); //BA.debugLineNum = 166;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_"; @@ -557,16 +557,16 @@ _permission = (String) result[0]; _result = (Boolean) result[1]; ; //BA.debugLineNum = 168;BA.debugLine="Log($\"PERMISSION_WRITE_EXTERNAL_STORAGE = ${Resu"; -parent.__c.LogImpl("84259866",("PERMISSION_WRITE_EXTERNAL_STORAGE = "+parent.__c.SmartStringFormatter("",(Object)(_result))+""),0); +parent.__c.LogImpl("44259866",("PERMISSION_WRITE_EXTERNAL_STORAGE = "+parent.__c.SmartStringFormatter("",(Object)(_result))+""),0); if (true) break; case 11: //C this.state = 12; //BA.debugLineNum = 170;BA.debugLine="Log(\"SDK = \" & SdkVersion & \" : Requesting MANAG"; -parent.__c.LogImpl("84259868","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting MANAGE_EXTERNAL_STORAGE permission",0); +parent.__c.LogImpl("44259868","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting MANAGE_EXTERNAL_STORAGE permission",0); //BA.debugLineNum = 171;BA.debugLine="Log(\"On Entry MANAGE_EXTERNAL_STORAGE = \" & MES1"; -parent.__c.LogImpl("84259869","On Entry MANAGE_EXTERNAL_STORAGE = "+BA.ObjectToString(parent._mes1._haspermission /*boolean*/ ()),0); +parent.__c.LogImpl("44259869","On Entry MANAGE_EXTERNAL_STORAGE = "+BA.ObjectToString(parent._mes1._haspermission /*boolean*/ ()),0); //BA.debugLineNum = 172;BA.debugLine="If Not(MES1.HasPermission) Then"; if (true) break; @@ -592,7 +592,7 @@ this.state = 15; _res = (Integer) result[0]; ; //BA.debugLineNum = 175;BA.debugLine="Log(\"Getting permission\")"; -parent.__c.LogImpl("84259873","Getting permission",0); +parent.__c.LogImpl("44259873","Getting permission",0); //BA.debugLineNum = 176;BA.debugLine="MES1.GetPermission"; parent._mes1._getpermission /*String*/ (); //BA.debugLineNum = 177;BA.debugLine="Wait For MES_StorageAvailable"; @@ -797,7 +797,7 @@ _teclado.HideKeyboard(ba); _fototomada = _nombrefoto3; }; //BA.debugLineNum = 265;BA.debugLine="Log(\"tome foto\")"; -__c.LogImpl("84522011","tome foto",0); +__c.LogImpl("44522011","tome foto",0); //BA.debugLineNum = 266;BA.debugLine="Dim filename As String = fototomada"; _filename = _fototomada; //BA.debugLineNum = 267;BA.debugLine="Dim Dirp As String = File.DirInternal"; @@ -812,13 +812,13 @@ __c.File.MakeDir(_dirp,"/md"); //BA.debugLineNum = 272;BA.debugLine="Dir = \"/md\""; _dir = "/md"; //BA.debugLineNum = 273;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; -__c.LogImpl("84522019","creado en promotoria "+_dirp+_dir,0); +__c.LogImpl("44522019","creado en promotoria "+_dirp+_dir,0); } catch (Exception e32) { ba.setLastException(e32); //BA.debugLineNum = 275;BA.debugLine="Dir = \"\""; _dir = ""; //BA.debugLineNum = 276;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("84522022","creado en raiz",0); +__c.LogImpl("44522022","creado en raiz",0); }; //BA.debugLineNum = 279;BA.debugLine="Try"; try { //BA.debugLineNum = 280;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; @@ -826,30 +826,30 @@ __c.File.MakeDir(_dirp+_dir,"/reduccion"); //BA.debugLineNum = 281;BA.debugLine="Dir2 = \"/reduccion\""; _dir2 = "/reduccion"; //BA.debugLineNum = 282;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; -__c.LogImpl("84522028","creado en promotoria "+_dirp+_dir+_dir2,0); +__c.LogImpl("44522028","creado en promotoria "+_dirp+_dir+_dir2,0); } catch (Exception e40) { ba.setLastException(e40); //BA.debugLineNum = 284;BA.debugLine="Dir = \"\""; _dir = ""; //BA.debugLineNum = 285;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("84522031","creado en raiz",0); +__c.LogImpl("44522031","creado en raiz",0); }; //BA.debugLineNum = 288;BA.debugLine="camEx.SavePictureToFile(Data, Dirp&Dir, filename)"; _camex._savepicturetofile /*String*/ (_data,_dirp+_dir,_filename); //BA.debugLineNum = 289;BA.debugLine="camEx.StartPreview 'restart preview"; _camex._startpreview /*String*/ (); //BA.debugLineNum = 291;BA.debugLine="Log(\"Picture saved.\" & CRLF & \"File size: \" & Fi"; -__c.LogImpl("84522037","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0); +__c.LogImpl("44522037","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0); //BA.debugLineNum = 292;BA.debugLine="p_camara.Visible = False"; _p_camara.setVisible(__c.False); //BA.debugLineNum = 294;BA.debugLine="Log(nombrefoto)"; -__c.LogImpl("84522040",_nombrefoto,0); +__c.LogImpl("44522040",_nombrefoto,0); //BA.debugLineNum = 295;BA.debugLine="Log(nombrefoto1)"; -__c.LogImpl("84522041",_nombrefoto1,0); +__c.LogImpl("44522041",_nombrefoto1,0); //BA.debugLineNum = 296;BA.debugLine="Log(nombrefoto2)"; -__c.LogImpl("84522042",_nombrefoto2,0); +__c.LogImpl("44522042",_nombrefoto2,0); //BA.debugLineNum = 297;BA.debugLine="Log(nombrefoto3)"; -__c.LogImpl("84522043",_nombrefoto3,0); +__c.LogImpl("44522043",_nombrefoto3,0); //BA.debugLineNum = 299;BA.debugLine="If nombrefoto <> \"0\" Then"; if ((_nombrefoto).equals("0") == false) { //BA.debugLineNum = 300;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File"; @@ -918,7 +918,7 @@ return ""; public String _camera1_ready(boolean _success) throws Exception{ //BA.debugLineNum = 224;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; //BA.debugLineNum = 225;BA.debugLine="Log(\"Camara ready\")"; -__c.LogImpl("84456449","Camara ready",0); +__c.LogImpl("44456449","Camara ready",0); //BA.debugLineNum = 226;BA.debugLine="If Success Then"; if (_success) { //BA.debugLineNum = 227;BA.debugLine="camEx.SetJpegQuality(90)"; @@ -930,12 +930,12 @@ _camex._commitparameters /*String*/ (); //BA.debugLineNum = 230;BA.debugLine="camEx.StartPreview"; _camex._startpreview /*String*/ (); //BA.debugLineNum = 231;BA.debugLine="Log(camEx.GetPreviewSize)"; -__c.LogImpl("84456455",BA.ObjectToString(_camex._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ ()),0); +__c.LogImpl("44456455",BA.ObjectToString(_camex._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ ()),0); }else { //BA.debugLineNum = 233;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True); //BA.debugLineNum = 234;BA.debugLine="Log(\"Cannot open camera\")"; -__c.LogImpl("84456458","Cannot open camera",0); +__c.LogImpl("44456458","Cannot open camera",0); }; //BA.debugLineNum = 236;BA.debugLine="End Sub"; return ""; @@ -945,7 +945,7 @@ public String _cb_deratras_selectedindexchanged(int _index) throws Exception{ //BA.debugLineNum = 537;BA.debugLine="itemselect4 = cb_deratras.SelectedItem"; _itemselect4 = _cb_deratras._getselecteditem /*String*/ (); //BA.debugLineNum = 538;BA.debugLine="Log(itemselect4)"; -__c.LogImpl("87340034",_itemselect4,0); +__c.LogImpl("47340034",_itemselect4,0); //BA.debugLineNum = 539;BA.debugLine="End Sub"; return ""; } @@ -954,7 +954,7 @@ public String _cb_derdel_selectedindexchanged(int _index) throws Exception{ //BA.debugLineNum = 532;BA.debugLine="itemselect3 = cb_derdel.SelectedItem"; _itemselect3 = _cb_derdel._getselecteditem /*String*/ (); //BA.debugLineNum = 533;BA.debugLine="Log(itemselect3)"; -__c.LogImpl("87274498",_itemselect3,0); +__c.LogImpl("47274498",_itemselect3,0); //BA.debugLineNum = 534;BA.debugLine="End Sub"; return ""; } @@ -963,7 +963,7 @@ public String _cb_izqatras_selectedindexchanged(int _index) throws Exception{ //BA.debugLineNum = 527;BA.debugLine="itemselect2 = cb_izqatras.SelectedItem"; _itemselect2 = _cb_izqatras._getselecteditem /*String*/ (); //BA.debugLineNum = 528;BA.debugLine="Log(itemselect2)"; -__c.LogImpl("87208962",_itemselect2,0); +__c.LogImpl("47208962",_itemselect2,0); //BA.debugLineNum = 529;BA.debugLine="End Sub"; return ""; } @@ -972,7 +972,7 @@ public String _cb_izqdel_selectedindexchanged(int _index) throws Exception{ //BA.debugLineNum = 522;BA.debugLine="itemselect1 = cb_izqdel.SelectedItem"; _itemselect1 = _cb_izqdel._getselecteditem /*String*/ (); //BA.debugLineNum = 523;BA.debugLine="Log(itemselect1)"; -__c.LogImpl("87143426",_itemselect1,0); +__c.LogImpl("47143426",_itemselect1,0); //BA.debugLineNum = 524;BA.debugLine="End Sub"; return ""; } @@ -1290,7 +1290,7 @@ parent._camex._initialize /*String*/ (ba,parent._p_cam,parent._frontcamera,paren //BA.debugLineNum = 217;BA.debugLine="frontCamera = camEx.Front"; parent._frontcamera = parent._camex._front /*boolean*/ ; //BA.debugLineNum = 218;BA.debugLine="Log(\"inicializamos Camara\")"; -parent.__c.LogImpl("84390918","inicializamos Camara",0); +parent.__c.LogImpl("44390918","inicializamos Camara",0); if (true) break; case 5: @@ -1320,14 +1320,14 @@ Object[] _records = null; String _k = ""; //BA.debugLineNum = 747;BA.debugLine="Sub JobDone(Job As HttpJob)"; //BA.debugLineNum = 748;BA.debugLine="Log(\"JOBDONE CLIENTE . \" & Job.Success)"; -__c.LogImpl("87536641","JOBDONE CLIENTE . "+BA.ObjectToString(_job._success /*boolean*/ ),0); +__c.LogImpl("47536641","JOBDONE CLIENTE . "+BA.ObjectToString(_job._success /*boolean*/ ),0); //BA.debugLineNum = 749;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==__c.False) { //BA.debugLineNum = 752;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Job.Error"; -__c.LogImpl("87536645","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Blue); +__c.LogImpl("47536645","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Blue); }else { //BA.debugLineNum = 754;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("87536647","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +__c.LogImpl("47536647","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); //BA.debugLineNum = 755;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { //BA.debugLineNum = 756;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; @@ -1339,11 +1339,11 @@ _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); //BA.debugLineNum = 759;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; _cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); //BA.debugLineNum = 760;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; -__c.LogImpl("87536653",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); +__c.LogImpl("47536653",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); //BA.debugLineNum = 762;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT USUARIO, PLAC"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4, KILIMETRAJE, RUTA FROM CHECKLIST2"))); //BA.debugLineNum = 763;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("87536656",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); +__c.LogImpl("47536656",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); //BA.debugLineNum = 764;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { //BA.debugLineNum = 765;BA.debugLine="For i = 0 To c.RowCount -1"; @@ -1392,7 +1392,7 @@ final int groupLen29 = group29.getSize() for (; index29 < groupLen29;index29++){ _k = BA.ObjectToString(group29.Get(index29)); //BA.debugLineNum = 783;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; -__c.LogImpl("87536676",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); +__c.LogImpl("47536676",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); } }; } @@ -1414,11 +1414,11 @@ int _i = 0; reparto_izca.keymon.lat.dbrequestmanager._dbcommand _cmd = null; //BA.debugLineNum = 724;BA.debugLine="Sub mandaPendientes"; //BA.debugLineNum = 725;BA.debugLine="Log(\"MandaPendientes\")"; -__c.LogImpl("87471105","MandaPendientes",0); +__c.LogImpl("47471105","MandaPendientes",0); //BA.debugLineNum = 727;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT USUARIO, PLACA,"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4 FROM CHECKLIST2"))); //BA.debugLineNum = 728;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("87471108",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); +__c.LogImpl("47471108",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); //BA.debugLineNum = 729;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { //BA.debugLineNum = 730;BA.debugLine="For i = 0 To c.RowCount -1"; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_cliente.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_cliente.java index c3cbeaf..5b40c10 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_cliente.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_cliente.java @@ -130,11 +130,11 @@ public anywheresoftware.b4a.objects.ButtonWrapper _b_imp2 = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -419,13 +419,13 @@ _h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject //BA.debugLineNum = 1965;BA.debugLine="h.Position = 0"; _h.setPosition((int) (0)); //BA.debugLineNum = 1966;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; -__c.LogImpl("89502737",_h.GetString("CUENTA"),0); +__c.LogImpl("49502737",_h.GetString("CUENTA"),0); //BA.debugLineNum = 1967;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FROM"; _j = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is null",new String[]{_h.GetString("CUENTA")}))); //BA.debugLineNum = 1968;BA.debugLine="j.position = 0"; _j.setPosition((int) (0)); //BA.debugLineNum = 1969;BA.debugLine="Log(j.RowCount)"; -__c.LogImpl("89502740",BA.NumberToString(_j.getRowCount()),0); +__c.LogImpl("49502740",BA.NumberToString(_j.getRowCount()),0); //BA.debugLineNum = 1970;BA.debugLine="If j.RowCount = 0 Then"; if (_j.getRowCount()==0) { //BA.debugLineNum = 1971;BA.debugLine="p_abono.Visible = True"; @@ -459,7 +459,7 @@ _clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware. //BA.debugLineNum = 1984;BA.debugLine="total = total + d.GetString(\"PA_MONTO\")"; _total = _total+(double)(Double.parseDouble(_d.GetString("PA_MONTO"))); //BA.debugLineNum = 1985;BA.debugLine="Log(total)"; -__c.LogImpl("89502756",BA.NumberToString(_total),0); +__c.LogImpl("49502756",BA.NumberToString(_total),0); } }; //BA.debugLineNum = 1987;BA.debugLine="d.Close"; @@ -481,7 +481,7 @@ _clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware. //BA.debugLineNum = 1993;BA.debugLine="total = total - d.GetString(\"a_abono\")"; _total = _total-(double)(Double.parseDouble(_d.GetString("a_abono"))); //BA.debugLineNum = 1994;BA.debugLine="Log(total)"; -__c.LogImpl("89502765",BA.NumberToString(_total),0); +__c.LogImpl("49502765",BA.NumberToString(_total),0); } }; }; @@ -523,7 +523,7 @@ _clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware. //BA.debugLineNum = 2014;BA.debugLine="total = total + d.GetString(\"PA_MONTO\").Replace"; _total = _total+(double)(Double.parseDouble(_d.GetString("PA_MONTO").replace(",",""))); //BA.debugLineNum = 2015;BA.debugLine="Log(total)"; -__c.LogImpl("89502786",BA.NumberToString(_total),0); +__c.LogImpl("49502786",BA.NumberToString(_total),0); } }; //BA.debugLineNum = 2017;BA.debugLine="d.Close"; @@ -545,7 +545,7 @@ _clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware. //BA.debugLineNum = 2023;BA.debugLine="total = total - d.GetString(\"a_abono\")"; _total = _total-(double)(Double.parseDouble(_d.GetString("a_abono"))); //BA.debugLineNum = 2024;BA.debugLine="Log(total)"; -__c.LogImpl("89502795",BA.NumberToString(_total),0); +__c.LogImpl("49502795",BA.NumberToString(_total),0); } }; }; @@ -595,7 +595,7 @@ _h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject //BA.debugLineNum = 1511;BA.debugLine="h.Position = 0"; _h.setPosition((int) (0)); //BA.debugLineNum = 1512;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; -__c.LogImpl("89371652",_h.GetString("CUENTA"),0); +__c.LogImpl("49371652",_h.GetString("CUENTA"),0); //BA.debugLineNum = 1514;BA.debugLine="Dim Items As List"; _items = new anywheresoftware.b4a.objects.collections.List(); //BA.debugLineNum = 1515;BA.debugLine="Items.Initialize"; @@ -617,7 +617,7 @@ _j = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject //BA.debugLineNum = 1527;BA.debugLine="j.position = 0"; _j.setPosition((int) (0)); //BA.debugLineNum = 1528;BA.debugLine="Log(j.RowCount)"; -__c.LogImpl("89371668",BA.NumberToString(_j.getRowCount()),0); +__c.LogImpl("49371668",BA.NumberToString(_j.getRowCount()),0); //BA.debugLineNum = 1529;BA.debugLine="If j.RowCount = 0 Then"; if (_j.getRowCount()==0) { //BA.debugLineNum = 1530;BA.debugLine="p_abono.Visible = True"; @@ -649,13 +649,13 @@ _d.setPosition(_i); //BA.debugLineNum = 1541;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA"; _clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_d.GetString("NOTA"),"$ "+_d.GetString("SALDO_PENDIENTE")).getObject())),(Object)(_i)); //BA.debugLineNum = 1542;BA.debugLine="Log(d.GetString(\"NOTA\"))"; -__c.LogImpl("89371682",_d.GetString("NOTA"),0); +__c.LogImpl("49371682",_d.GetString("NOTA"),0); //BA.debugLineNum = 1543;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; -__c.LogImpl("89371683",_d.GetString("SALDO_PENDIENTE"),0); +__c.LogImpl("49371683",_d.GetString("SALDO_PENDIENTE"),0); //BA.debugLineNum = 1544;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; _total = _total+(double)(Double.parseDouble(_d.GetString("SALDO_PENDIENTE"))); //BA.debugLineNum = 1545;BA.debugLine="Log(total)"; -__c.LogImpl("89371685",BA.NumberToString(_total),0); +__c.LogImpl("49371685",BA.NumberToString(_total),0); } }; //BA.debugLineNum = 1547;BA.debugLine="d.Close"; @@ -677,7 +677,7 @@ _clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware. //BA.debugLineNum = 1553;BA.debugLine="total = total - d.GetString(\"a_abono\")"; _total = _total-(double)(Double.parseDouble(_d.GetString("a_abono"))); //BA.debugLineNum = 1554;BA.debugLine="Log(total)"; -__c.LogImpl("89371694",BA.NumberToString(_total),0); +__c.LogImpl("49371694",BA.NumberToString(_total),0); } }; }; @@ -717,13 +717,13 @@ _d.setPosition(_i); //BA.debugLineNum = 1572;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA"; _clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_d.GetString("NOTA"),"$ "+_d.GetString("SALDO_PENDIENTE")).getObject())),(Object)(_i)); //BA.debugLineNum = 1573;BA.debugLine="Log(d.GetString(\"NOTA\"))"; -__c.LogImpl("89371713",_d.GetString("NOTA"),0); +__c.LogImpl("49371713",_d.GetString("NOTA"),0); //BA.debugLineNum = 1574;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; -__c.LogImpl("89371714",_d.GetString("SALDO_PENDIENTE"),0); +__c.LogImpl("49371714",_d.GetString("SALDO_PENDIENTE"),0); //BA.debugLineNum = 1575;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; _total = _total+(double)(Double.parseDouble(_d.GetString("SALDO_PENDIENTE"))); //BA.debugLineNum = 1576;BA.debugLine="Log(total)"; -__c.LogImpl("89371716",BA.NumberToString(_total),0); +__c.LogImpl("49371716",BA.NumberToString(_total),0); } }; //BA.debugLineNum = 1578;BA.debugLine="d.Close"; @@ -745,7 +745,7 @@ _clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware. //BA.debugLineNum = 1584;BA.debugLine="total = total - d.GetString(\"a_abono\")"; _total = _total-(double)(Double.parseDouble(_d.GetString("a_abono"))); //BA.debugLineNum = 1585;BA.debugLine="Log(total)"; -__c.LogImpl("89371725",BA.NumberToString(_total),0); +__c.LogImpl("49371725",BA.NumberToString(_total),0); } }; }; @@ -1147,7 +1147,7 @@ this.state = 52; //BA.debugLineNum = 777;BA.debugLine="S.Position=i"; parent._s.setPosition(_i); //BA.debugLineNum = 778;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))"; -parent.__c.LogImpl("88650849",parent._s.GetString("HVD_RECHAZO"),0); +parent.__c.LogImpl("48650849",parent._s.GetString("HVD_RECHAZO"),0); //BA.debugLineNum = 779;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_"; if (true) break; @@ -1478,7 +1478,7 @@ parent._tamano = (int) (_ptot.length()+parent._tamano); //BA.debugLineNum = 876;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; parent._espacio = (int) ((parent._espacio-parent._tamano)/(double)2); //BA.debugLineNum = 877;BA.debugLine="Log(ESPACIO)"; -parent.__c.LogImpl("88650948",BA.NumberToString(parent._espacio),0); +parent.__c.LogImpl("48650948",BA.NumberToString(parent._espacio),0); //BA.debugLineNum = 878;BA.debugLine="For E=0 To ESPACIO -1"; if (true) break; @@ -1574,7 +1574,7 @@ this.state = 101; //BA.debugLineNum = 902;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM HIST_VE"; parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO <> '1' "))); //BA.debugLineNum = 903;BA.debugLine="Log(c.RowCount&\"------------------\")"; -parent.__c.LogImpl("88650974",BA.NumberToString(parent._c.getRowCount())+"------------------",0); +parent.__c.LogImpl("48650974",BA.NumberToString(parent._c.getRowCount())+"------------------",0); //BA.debugLineNum = 904;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; @@ -1663,7 +1663,7 @@ this.state = 114; //BA.debugLineNum = 921;BA.debugLine="S.Position=i"; parent._s.setPosition(_i); //BA.debugLineNum = 922;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))"; -parent.__c.LogImpl("88650993",parent._s.GetString("HVD_RECHAZO"),0); +parent.__c.LogImpl("48650993",parent._s.GetString("HVD_RECHAZO"),0); //BA.debugLineNum = 923;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_"; if (true) break; @@ -1994,7 +1994,7 @@ parent._tamano = (int) (_ptot.length()+parent._tamano); //BA.debugLineNum = 1020;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; parent._espacio = (int) ((parent._espacio-parent._tamano)/(double)2); //BA.debugLineNum = 1021;BA.debugLine="Log(ESPACIO)"; -parent.__c.LogImpl("88651092",BA.NumberToString(parent._espacio),0); +parent.__c.LogImpl("48651092",BA.NumberToString(parent._espacio),0); //BA.debugLineNum = 1022;BA.debugLine="For E=0 To ESPACIO -1"; if (true) break; @@ -2154,7 +2154,7 @@ parent._tamano = (int) (_ptot.length()+parent._tamano); //BA.debugLineNum = 1068;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; parent._espacio = (int) ((parent._espacio-parent._tamano)/(double)2); //BA.debugLineNum = 1069;BA.debugLine="Log(ESPACIO)"; -parent.__c.LogImpl("88651140",BA.NumberToString(parent._espacio),0); +parent.__c.LogImpl("48651140",BA.NumberToString(parent._espacio),0); //BA.debugLineNum = 1070;BA.debugLine="For E=0 To ESPACIO -1"; if (true) break; @@ -2750,7 +2750,7 @@ this.state = 48; //BA.debugLineNum = 2685;BA.debugLine="S.Position=i"; parent._s.setPosition(_i); //BA.debugLineNum = 2686;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))"; -parent.__c.LogImpl("89961684",parent._s.GetString("HVD_RECHAZO"),0); +parent.__c.LogImpl("49961684",parent._s.GetString("HVD_RECHAZO"),0); //BA.debugLineNum = 2687;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_"; if (true) break; @@ -3085,7 +3085,7 @@ parent._tamano = (int) (_ptot.length()+parent._tamano); //BA.debugLineNum = 2785;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; parent._espacio = (int) ((parent._espacio-parent._tamano)/(double)2); //BA.debugLineNum = 2786;BA.debugLine="Log(ESPACIO)"; -parent.__c.LogImpl("89961784",BA.NumberToString(parent._espacio),0); +parent.__c.LogImpl("49961784",BA.NumberToString(parent._espacio),0); //BA.debugLineNum = 2787;BA.debugLine="For E=0 To ESPACIO -1"; if (true) break; @@ -3245,7 +3245,7 @@ parent._tamano = (int) (_ptot.length()+parent._tamano); //BA.debugLineNum = 2833;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; parent._espacio = (int) ((parent._espacio-parent._tamano)/(double)2); //BA.debugLineNum = 2834;BA.debugLine="Log(ESPACIO)"; -parent.__c.LogImpl("89961832",BA.NumberToString(parent._espacio),0); +parent.__c.LogImpl("49961832",BA.NumberToString(parent._espacio),0); //BA.debugLineNum = 2835;BA.debugLine="For E=0 To ESPACIO -1"; if (true) break; @@ -3729,13 +3729,13 @@ _cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Dou }; }; //BA.debugLineNum = 270;BA.debugLine="Log(cuenta0)"; -__c.LogImpl("87798906",_cuenta0,0); +__c.LogImpl("47798906",_cuenta0,0); //BA.debugLineNum = 271;BA.debugLine="Log(Cuenta1)"; -__c.LogImpl("87798907",_cuenta1,0); +__c.LogImpl("47798907",_cuenta1,0); //BA.debugLineNum = 272;BA.debugLine="Log(Cuenta2)"; -__c.LogImpl("87798908",_cuenta2,0); +__c.LogImpl("47798908",_cuenta2,0); //BA.debugLineNum = 273;BA.debugLine="Log(Cuenta3)"; -__c.LogImpl("87798909",_cuenta3,0); +__c.LogImpl("47798909",_cuenta3,0); //BA.debugLineNum = 275;BA.debugLine="l_total.Text = NumberFormat2((cuenta0 + Cuenta1 +"; _l_total.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))),(int) (0),(int) (2),(int) (2),__c.True))); //BA.debugLineNum = 276;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2"; @@ -3762,7 +3762,7 @@ _printer1._disconnect /*String*/ (); //BA.debugLineNum = 295;BA.debugLine="Printer1.Connect"; _printer1._connect /*boolean*/ (); //BA.debugLineNum = 296;BA.debugLine="Log(\"2\")"; -__c.LogImpl("87798932","2",0); +__c.LogImpl("47798932","2",0); }; //BA.debugLineNum = 327;BA.debugLine="Private vcred4 As Cursor = Starter.skmt.ExecQuery"; _vcred4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); @@ -3822,9 +3822,9 @@ _cuentacred0 = (float) (_cuentacred0+((_vcred.GetInt("HVD_CANT")-_vcred.GetInt(" }; }; //BA.debugLineNum = 370;BA.debugLine="Log(cuentacred0)"; -__c.LogImpl("87799006",BA.NumberToString(_cuentacred0),0); +__c.LogImpl("47799006",BA.NumberToString(_cuentacred0),0); //BA.debugLineNum = 371;BA.debugLine="Log(Cuentacred2)"; -__c.LogImpl("87799007",BA.NumberToString(_cuentacred2),0); +__c.LogImpl("47799007",BA.NumberToString(_cuentacred2),0); //BA.debugLineNum = 373;BA.debugLine="l_montopag.Text = NumberFormat2((cuentacred0 + Cu"; _l_montopag.setText(BA.ObjectToCharSequence(__c.NumberFormat2((_cuentacred0+_cuentacred2),(int) (0),(int) (2),(int) (2),__c.False))); //BA.debugLineNum = 374;BA.debugLine="l_montoefec.Text = NumberFormat2((NumberFormat2(("; @@ -3860,7 +3860,7 @@ _b_cancel_pagare.setVisible(__c.False); _b_cancel_pagare.setVisible(__c.False); }; //BA.debugLineNum = 400;BA.debugLine="Log(\"SI AQUI\")"; -__c.LogImpl("87799036","SI AQUI",0); +__c.LogImpl("47799036","SI AQUI",0); //BA.debugLineNum = 401;BA.debugLine="b = Starter.skmt.ExecQuery(\"select COUNT(*) AS C"; _b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CLIENTE FROM ABONOSP WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); //BA.debugLineNum = 402;BA.debugLine="b.Position = 0"; @@ -3875,8 +3875,8 @@ _b_cxc.setVisible(__c.False); //BA.debugLineNum = 407;BA.debugLine="b_cxc.Visible = True"; _b_cxc.setVisible(__c.True); }; - //BA.debugLineNum = 412;BA.debugLine="If Subs.traeCliente = \"63403\" Then"; -if ((_subs._traecliente /*String*/ (ba)).equals("63403")) { + //BA.debugLineNum = 412;BA.debugLine="If (Subs.traeCliente = \"63403\" OR Subs.traeClient"; +if (((_subs._traecliente /*String*/ (ba)).equals("63403") || (_subs._traecliente /*String*/ (ba)).equals("100000"))) { //BA.debugLineNum = 413;BA.debugLine="gest.Visible = False"; _gest.setVisible(__c.False); //BA.debugLineNum = 414;BA.debugLine="b_noEntrega.Visible = False"; @@ -3934,7 +3934,7 @@ if (parent._p_credito.getVisible()) { this.state = 3; }else if(parent._p_abono.getVisible()) { this.state = 5; -}else if((parent._la_cuenta.getText()).equals("63403")) { +}else if(((parent._la_cuenta.getText()).equals("63403") || (parent._la_cuenta.getText()).equals("100000"))) { this.state = 7; }else { this.state = 9; @@ -4038,7 +4038,7 @@ if (_c.GetString("CAT_CL_ATIENTE2")!= null && (_c.GetString("CAT_CL_ATIENTE2")). //BA.debugLineNum = 133;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; _l_atiende2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENTE2"))); //BA.debugLineNum = 134;BA.debugLine="Log(\"|\"&c.GetString(\"CAT_CL_ATIENTE2\")&\"|\")"; -__c.LogImpl("87733273","|"+_c.GetString("CAT_CL_ATIENTE2")+"|",0); +__c.LogImpl("47733273","|"+_c.GetString("CAT_CL_ATIENTE2")+"|",0); }else { //BA.debugLineNum = 136;BA.debugLine="l_atiende2.Text = \" \""; _l_atiende2.setText(BA.ObjectToCharSequence(" ")); @@ -4388,7 +4388,7 @@ _k = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject //BA.debugLineNum = 468;BA.debugLine="k.Position = 0"; _k.setPosition((int) (0)); //BA.debugLineNum = 469;BA.debugLine="Log(k.GetString(\"CUENTA\"))"; -parent.__c.LogImpl("88060951",_k.GetString("CUENTA"),0); +parent.__c.LogImpl("48060951",_k.GetString("CUENTA"),0); //BA.debugLineNum = 470;BA.debugLine="Dim y As Cursor = Starter.skmt.ExecQuery2(\"SELEC"; _y = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _y = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT IFNULL(SUM(a_abono),0) AS a_abono FROM ABONOS WHERE a_cliente = ?",new String[]{_k.GetString("CUENTA")}))); @@ -4792,7 +4792,7 @@ case 15: //C this.state = 16; //BA.debugLineNum = 645;BA.debugLine="Log(\"Aqui\")"; -parent.__c.LogImpl("88585251","Aqui",0); +parent.__c.LogImpl("48585251","Aqui",0); if (true) break; case 16: @@ -4810,7 +4810,7 @@ _k = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject //BA.debugLineNum = 651;BA.debugLine="k.Position = 0"; _k.setPosition((int) (0)); //BA.debugLineNum = 652;BA.debugLine="Log(k.GetString(\"CUENTA\"))"; -parent.__c.LogImpl("88585258",_k.GetString("CUENTA"),0); +parent.__c.LogImpl("48585258",_k.GetString("CUENTA"),0); //BA.debugLineNum = 653;BA.debugLine="Dim y As Cursor = Starter.skmt.ExecQuery2(\"SELE"; _y = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _y = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT IFNULL(SUM(a_abono),0) AS a_abono FROM ABONOS WHERE a_cliente = ?",new String[]{_k.GetString("CUENTA")}))); @@ -5337,7 +5337,7 @@ parent._c.setPosition((int) (0)); //BA.debugLineNum = 1712;BA.debugLine="saldopendiente = c.GetDouble(\"SALDO_PENDIENTE\")"; _saldopendiente = parent._c.GetDouble("SALDO_PENDIENTE"); //BA.debugLineNum = 1713;BA.debugLine="Log(c.GetString(\"SALDO_PENDIENTE\"))"; -parent.__c.LogImpl("89437300",parent._c.GetString("SALDO_PENDIENTE"),0); +parent.__c.LogImpl("49437300",parent._c.GetString("SALDO_PENDIENTE"),0); if (true) break; case 53: @@ -5455,9 +5455,9 @@ this.state = 69; //BA.debugLineNum = 1758;BA.debugLine="Dim numpago As Int = c5.RowCount + 1"; _numpago = (int) (_c5.getRowCount()+1); //BA.debugLineNum = 1759;BA.debugLine="Log(notaabono)"; -parent.__c.LogImpl("89437346",_notaabono,0); +parent.__c.LogImpl("49437346",_notaabono,0); //BA.debugLineNum = 1760;BA.debugLine="Log(et_abono.Text)"; -parent.__c.LogImpl("89437347",parent._et_abono.getText(),0); +parent.__c.LogImpl("49437347",parent._et_abono.getText(),0); //BA.debugLineNum = 1761;BA.debugLine="Printer1.WriteString(\"Comprobante de pago del pag"; parent._printer1._writestring /*String*/ ("Comprobante de pago del pagare"+parent.__c.CRLF); //BA.debugLineNum = 1762;BA.debugLine="Printer1.WriteString(\"Folio: \" & notaabono &\"-\"&"; @@ -5662,7 +5662,7 @@ parent._h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.Ab //BA.debugLineNum = 1828;BA.debugLine="h.Position = 0"; parent._h.setPosition((int) (0)); //BA.debugLineNum = 1829;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; -parent.__c.LogImpl("89437416",parent._h.GetString("CUENTA"),0); +parent.__c.LogImpl("49437416",parent._h.GetString("CUENTA"),0); //BA.debugLineNum = 1830;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; parent._j = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ?",new String[]{parent._h.GetString("CUENTA")}))); //BA.debugLineNum = 1831;BA.debugLine="j.position = 0"; @@ -5760,7 +5760,7 @@ _textedit = (double)(Double.parseDouble(parent._et_abono.getText())); //BA.debugLineNum = 1852;BA.debugLine="Dim sumaresta As Double = saldopendiente-texte"; _sumaresta = _saldopendiente-_textedit-_saldopendiente1; //BA.debugLineNum = 1853;BA.debugLine="Log(NumberFormat2(sumaresta,0,2,2,False))"; -parent.__c.LogImpl("89437440",parent.__c.NumberFormat2(_sumaresta,(int) (0),(int) (2),(int) (2),parent.__c.False),0); +parent.__c.LogImpl("49437440",parent.__c.NumberFormat2(_sumaresta,(int) (0),(int) (2),(int) (2),parent.__c.False),0); //BA.debugLineNum = 1854;BA.debugLine="If NumberFormat2(sumaresta,0,2,2,False) <> \"-."; if (true) break; @@ -6537,7 +6537,7 @@ this.state = 60; //BA.debugLineNum = 2286;BA.debugLine="S.Position=i"; parent._s.setPosition(_i); //BA.debugLineNum = 2287;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))"; -parent.__c.LogImpl("89830535",parent._s.GetString("HVD_RECHAZO"),0); +parent.__c.LogImpl("49830535",parent._s.GetString("HVD_RECHAZO"),0); //BA.debugLineNum = 2288;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_"; if (true) break; @@ -6968,12 +6968,12 @@ Object[] _records = null; String _k = ""; //BA.debugLineNum = 1260;BA.debugLine="Sub JobDone(Job As HttpJob)"; //BA.debugLineNum = 1261;BA.debugLine="Log(Job.Success)"; -__c.LogImpl("89109505",BA.ObjectToString(_job._success /*boolean*/ ),0); +__c.LogImpl("49109505",BA.ObjectToString(_job._success /*boolean*/ ),0); //BA.debugLineNum = 1262;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==__c.False) { }else { //BA.debugLineNum = 1265;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("89109509","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +__c.LogImpl("49109509","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); //BA.debugLineNum = 1266;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { //BA.debugLineNum = 1267;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; @@ -6985,7 +6985,7 @@ _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); //BA.debugLineNum = 1270;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; _cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); //BA.debugLineNum = 1271;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; -__c.LogImpl("89109515",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); +__c.LogImpl("49109515",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); //BA.debugLineNum = 1272;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"1",_cliente,"1"})); //BA.debugLineNum = 1273;BA.debugLine="For Each records() As Object In resultado.Rows"; @@ -7005,7 +7005,7 @@ final int groupLen13 = group13.getSize() for (; index13 < groupLen13;index13++){ _k = BA.ObjectToString(group13.Get(index13)); //BA.debugLineNum = 1275;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; -__c.LogImpl("89109519",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); +__c.LogImpl("49109519",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); } }; } @@ -7075,7 +7075,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ _impresoraconectada = __c.True; }else { //BA.debugLineNum = 1153;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; -__c.LogImpl("88716300","Error conectando la impresora",__c.Colors.Red); +__c.LogImpl("48716300","Error conectando la impresora",__c.Colors.Red); //BA.debugLineNum = 1154;BA.debugLine="errorImpresora = errorImpresora + 1"; _errorimpresora = (int) (_errorimpresora+1); //BA.debugLineNum = 1155;BA.debugLine="If errorImpresora > 1 Then"; @@ -7092,7 +7092,7 @@ return ""; public String _printer1_error() throws Exception{ //BA.debugLineNum = 1162;BA.debugLine="Sub Printer1_Error"; //BA.debugLineNum = 1163;BA.debugLine="Log(\"error printer\")"; -__c.LogImpl("88781825","error printer",0); +__c.LogImpl("48781825","error printer",0); //BA.debugLineNum = 1164;BA.debugLine="End Sub"; return ""; } diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_clientes.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_clientes.java index 1a0d6f8..aac0a15 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_clientes.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_clientes.java @@ -50,11 +50,11 @@ public String _rutaacambiar = ""; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -250,7 +250,7 @@ case 18: this.state = 19; ; //BA.debugLineNum = 489;BA.debugLine="Log($\"locActual: ${locActual}, thisLoc1: ${this"; -parent.__c.LogImpl("810747927",("locActual: "+parent.__c.SmartStringFormatter("",(Object)(_locactual))+", thisLoc1: "+parent.__c.SmartStringFormatter("",(Object)(_thisloc1))+""),0); +parent.__c.LogImpl("410747927",("locActual: "+parent.__c.SmartStringFormatter("",(Object)(_locactual))+", thisLoc1: "+parent.__c.SmartStringFormatter("",(Object)(_thisloc1))+""),0); //BA.debugLineNum = 490;BA.debugLine="Wait For(distanciaEntreCoords(distancia2, locAc"; parent.__c.WaitFor("complete", ba, this, parent._distanciaentrecoords(_distancia2,_locactual,_thisloc1)); this.state = 33; @@ -261,14 +261,14 @@ this.state = 19; _r = (anywheresoftware.b4a.objects.collections.List) result[0]; ; //BA.debugLineNum = 491;BA.debugLine="LogColor($\"R: ${r.Get(0)} - ${r.Get(1)} - ${r.G"; -parent.__c.LogImpl("810747929",("R: "+parent.__c.SmartStringFormatter("",_r.Get((int) (0)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (1)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (2)))+""),parent.__c.Colors.Green); +parent.__c.LogImpl("410747929",("R: "+parent.__c.SmartStringFormatter("",_r.Get((int) (0)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (1)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (2)))+""),parent.__c.Colors.Green); //BA.debugLineNum = 492;BA.debugLine="Private tId As Int = r.Get(0)"; _tid = (int)(BA.ObjectToNumber(_r.Get((int) (0)))); //BA.debugLineNum = 493;BA.debugLine="Private tMap As Map = distOrderedMap.Get(tId)"; _tmap = new anywheresoftware.b4a.objects.collections.Map(); _tmap = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(parent._distorderedmap._get /*Object*/ ((Object)(_tid)))); //BA.debugLineNum = 494;BA.debugLine="LogColor(\"|\" & tId & \"| - \" &distOrderedMap.Get"; -parent.__c.LogImpl("810747932","|"+BA.NumberToString(_tid)+"| - "+BA.ObjectToString(parent._distorderedmap._get /*Object*/ ((Object)(_tid))),parent.__c.Colors.Blue); +parent.__c.LogImpl("410747932","|"+BA.NumberToString(_tid)+"| - "+BA.ObjectToString(parent._distorderedmap._get /*Object*/ ((Object)(_tid))),parent.__c.Colors.Blue); //BA.debugLineNum = 495;BA.debugLine="Private tempNDD As String = tMap.Get(\"nomDirDis"; _tempndd = BA.ObjectToString(_tmap.Get((Object)("nomDirDist"))); //BA.debugLineNum = 496;BA.debugLine="Private indexD As Int = tempNDD.IndexOf(\"Distan"; @@ -294,7 +294,7 @@ case 24: this.state = 25; ; //BA.debugLineNum = 498;BA.debugLine="Log(tempNDD)"; -parent.__c.LogImpl("810747936",_tempndd,0); +parent.__c.LogImpl("410747936",_tempndd,0); //BA.debugLineNum = 499;BA.debugLine="tempNDD = tempNDD & $\"Dist: $1.1{(r.Get(1)/1000"; _tempndd = _tempndd+("Dist: "+parent.__c.SmartStringFormatter("1.1",(Object)(((double)(BA.ObjectToNumber(_r.Get((int) (1))))/(double)1000)))+" kms, Tiempo aprox: "+parent.__c.SmartStringFormatter("1.0",(Object)((((double)(BA.ObjectToNumber(_r.Get((int) (2))))*2)/(double)60)))+" min."); //BA.debugLineNum = 500;BA.debugLine="Private esteCliente As Map = CreateMap(\"distanc"; @@ -510,7 +510,7 @@ _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitu }; }; //BA.debugLineNum = 109;BA.debugLine="Log(Starter.cedisLocation)"; -__c.LogImpl("810223676",BA.ObjectToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ),0); +__c.LogImpl("410223676",BA.ObjectToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ),0); //BA.debugLineNum = 110;BA.debugLine="End Sub"; return ""; } @@ -537,7 +537,7 @@ case 0: //C this.state = 1; //BA.debugLineNum = 116;BA.debugLine="Log(entro)"; -parent.__c.LogImpl("810289155",parent._entro,0); +parent.__c.LogImpl("410289155",parent._entro,0); //BA.debugLineNum = 117;BA.debugLine="If rutaGenerada Or entro = 3 Then ' Si ya generam"; if (true) break; @@ -597,7 +597,7 @@ _clientesmapao._initialize /*String*/ (ba); //BA.debugLineNum = 43;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); //BA.debugLineNum = 44;BA.debugLine="Log(\"Coordenadas del almacen: \" & Starter.cedisLo"; -__c.LogImpl("810158088","Coordenadas del almacen: "+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude())+","+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()),0); +__c.LogImpl("410158088","Coordenadas del almacen: "+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude())+","+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()),0); //BA.debugLineNum = 45;BA.debugLine="End Sub"; return ""; } @@ -710,7 +710,7 @@ _tmplist.AddAll(anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"A //BA.debugLineNum = 596;BA.debugLine="coords.InsertAt(0,tmpList)"; _coords.InsertAt((int) (0),(Object)(_tmplist.getObject())); //BA.debugLineNum = 597;BA.debugLine="Log(\"=================================\")"; -parent.__c.LogImpl("811075590","=================================",0); +parent.__c.LogImpl("411075590","=================================",0); //BA.debugLineNum = 599;BA.debugLine="Private coordsStr As String = \"\""; _coordsstr = ""; //BA.debugLineNum = 600;BA.debugLine="For Each tienda As List In coords"; @@ -781,7 +781,7 @@ case 10: this.state = 11; ; //BA.debugLineNum = 608;BA.debugLine="Log(coordsStr)"; -parent.__c.LogImpl("811075601",_coordsstr,0); +parent.__c.LogImpl("411075601",_coordsstr,0); //BA.debugLineNum = 609;BA.debugLine="ProgressDialogShow2(\"Calculando distancia y tiemp"; parent.__c.ProgressDialogShow2(ba,BA.ObjectToCharSequence("Calculando distancia y tiempo, un momento por favor."),parent.__c.False); //BA.debugLineNum = 610;BA.debugLine="Dim j As HttpJob"; @@ -791,7 +791,7 @@ _j._initialize /*String*/ (ba,"trip",parent); //BA.debugLineNum = 612;BA.debugLine="j.Download($\"http://keymon.net:9002/ruteador?m=OS"; _j._download /*String*/ (("http://keymon.net:9002/ruteador?m=OSRM&r="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traerutareparto /*String*/ (ba)))+"&a="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"&f=CEDIS,"+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+"&c="+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+"")); //BA.debugLineNum = 613;BA.debugLine="Log($\"http://keymon.net:9002/ruteador?m=OSRM&r=${"; -parent.__c.LogImpl("811075606",("http://keymon.net:9002/ruteador?m=OSRM&r="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traerutareparto /*String*/ (ba)))+"&a="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"&f=CEDIS,"+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+"&c="+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+""),0); +parent.__c.LogImpl("411075606",("http://keymon.net:9002/ruteador?m=OSRM&r="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traerutareparto /*String*/ (ba)))+"&a="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"&f=CEDIS,"+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+"&c="+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+""),0); //BA.debugLineNum = 614;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); this.state = 35; @@ -824,7 +824,7 @@ _jp.Initialize(_j._getstring /*String*/ ()); _m = new anywheresoftware.b4a.objects.collections.Map(); _m = _jp.NextObject(); //BA.debugLineNum = 619;BA.debugLine="Log(m)"; -parent.__c.LogImpl("811075612",BA.ObjectToString(_m),0); +parent.__c.LogImpl("411075612",BA.ObjectToString(_m),0); //BA.debugLineNum = 620;BA.debugLine="If m.Get(\"code\") = \"OK\" Then"; if (true) break; @@ -839,7 +839,7 @@ case 16: //C this.state = 17; //BA.debugLineNum = 621;BA.debugLine="Log(\"===== OK\")"; -parent.__c.LogImpl("811075614","===== OK",0); +parent.__c.LogImpl("411075614","===== OK",0); //BA.debugLineNum = 622;BA.debugLine="rutaGenerada = True"; parent._rutagenerada = parent.__c.True; //BA.debugLineNum = 623;BA.debugLine="Dim puntos As Int = m.Get(\"puntos\")"; @@ -975,7 +975,7 @@ this.state = 29; //BA.debugLineNum = 649;BA.debugLine="c.Close"; parent._c.Close(); //BA.debugLineNum = 650;BA.debugLine="Log($\"Distancia total: $1.1{distance/1000} kms,"; -parent.__c.LogImpl("811075643",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_distance))/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60/(double)60))+" hrs)"),0); +parent.__c.LogImpl("411075643",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_distance))/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60/(double)60))+" hrs)"),0); //BA.debugLineNum = 651;BA.debugLine="l_rutaInfo.Text = $\"Distancia: $1.1{distance/10"; parent._l_rutainfo.setText(BA.ObjectToCharSequence(("Distancia: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_distance))/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60/(double)60))+" hrs"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Visitas restantes: "+parent.__c.SmartStringFormatter("",(Object)(_puntos-1))+""))); //BA.debugLineNum = 652;BA.debugLine="l_rutaInfo.Width = Root.Width * 0.9"; @@ -1000,7 +1000,7 @@ case 31: //C this.state = 32; //BA.debugLineNum = 659;BA.debugLine="LogColor(\"**************** Error! ************"; -parent.__c.LogImpl("811075652","**************** Error! ******************",parent.__c.Colors.Red); +parent.__c.LogImpl("411075652","**************** Error! ******************",parent.__c.Colors.Red); if (true) break; case 32: @@ -1156,7 +1156,7 @@ _jp.Initialize(_j._getstring /*String*/ ()); _m = new anywheresoftware.b4a.objects.collections.Map(); _m = _jp.NextObject(); //BA.debugLineNum = 274;BA.debugLine="Log($\"Respuesta: ${m.Get(\"code\")}\"$)"; -parent.__c.LogImpl("810616844",("Respuesta: "+parent.__c.SmartStringFormatter("",_m.Get((Object)("code")))+""),0); +parent.__c.LogImpl("410616844",("Respuesta: "+parent.__c.SmartStringFormatter("",_m.Get((Object)("code")))+""),0); //BA.debugLineNum = 275;BA.debugLine="If m.Get(\"code\") = \"Ok\" Then"; if (true) break; @@ -1181,7 +1181,7 @@ _distanciatotal = BA.ObjectToString(_rutas2.Get((Object)("distance"))); //BA.debugLineNum = 283;BA.debugLine="tiempo = rutas2.Get(\"duration\")"; _tiempo = BA.ObjectToString(_rutas2.Get((Object)("duration"))); //BA.debugLineNum = 284;BA.debugLine="Log($\"Distancia total: ${distanciaTotal}, Tiemp"; -parent.__c.LogImpl("810616854",("Distancia total: "+parent.__c.SmartStringFormatter("",(Object)(_distanciatotal))+", Tiempo: "+parent.__c.SmartStringFormatter("",(Object)(_tiempo))+""),0); +parent.__c.LogImpl("410616854",("Distancia total: "+parent.__c.SmartStringFormatter("",(Object)(_distanciatotal))+", Tiempo: "+parent.__c.SmartStringFormatter("",(Object)(_tiempo))+""),0); if (true) break; case 7: @@ -1194,7 +1194,7 @@ case 9: //C this.state = 10; //BA.debugLineNum = 287;BA.debugLine="Log(\"Error!\")"; -parent.__c.LogImpl("810616857","Error!",0); +parent.__c.LogImpl("410616857","Error!",0); if (true) break; case 10: @@ -1397,7 +1397,7 @@ case 0: //C this.state = 1; //BA.debugLineNum = 129;BA.debugLine="Log(Value)"; -parent.__c.LogImpl("810354690",BA.ObjectToString(_value),0); +parent.__c.LogImpl("410354690",BA.ObjectToString(_value),0); //BA.debugLineNum = 130;BA.debugLine="ListView1.Clear"; parent._listview1.Clear(); //BA.debugLineNum = 131;BA.debugLine="Sleep(50)"; @@ -1466,7 +1466,7 @@ _lrt = BA.ObjectToString(_value); //BA.debugLineNum = 146;BA.debugLine="laRuta = lrt.SubString(6) 'Quitamos el texto \"Ru"; parent._laruta = _lrt.substring((int) (6)); //BA.debugLineNum = 147;BA.debugLine="Log($\"Original: ${Value} - Mod: |${lrt.SubString"; -parent.__c.LogImpl("810354708",("Original: "+parent.__c.SmartStringFormatter("",_value)+" - Mod: |"+parent.__c.SmartStringFormatter("",(Object)(_lrt.substring((int) (6))))+"| - laRuta: "+parent.__c.SmartStringFormatter("",(Object)(parent._laruta))+""),0); +parent.__c.LogImpl("410354708",("Original: "+parent.__c.SmartStringFormatter("",_value)+" - Mod: |"+parent.__c.SmartStringFormatter("",(Object)(_lrt.substring((int) (6))))+"| - laRuta: "+parent.__c.SmartStringFormatter("",(Object)(parent._laruta))+""),0); //BA.debugLineNum = 148;BA.debugLine="rutaacambiar = laRuta"; parent._rutaacambiar = parent._laruta; //BA.debugLineNum = 149;BA.debugLine="c2 = Starter.skmt.ExecQuery2(\"select CAT_CL_NOMB"; @@ -1666,9 +1666,9 @@ anywheresoftware.b4a.objects.collections.List _tmplist = null; anywheresoftware.b4a.sql.SQL.ResultSetWrapper _coords = null; //BA.debugLineNum = 666;BA.debugLine="Sub todosAVisitar As List"; //BA.debugLineNum = 667;BA.debugLine="Log(laRuta)"; -__c.LogImpl("811141121",_laruta,0); +__c.LogImpl("411141121",_laruta,0); //BA.debugLineNum = 668;BA.debugLine="Log(entro)"; -__c.LogImpl("811141122",_entro,0); +__c.LogImpl("411141122",_entro,0); //BA.debugLineNum = 669;BA.debugLine="Private sqlDeRuta As String = \"\""; _sqlderuta = ""; //BA.debugLineNum = 670;BA.debugLine="If entro = 3 Then sqlDeRuta = $\"and CAT_CL_RUTA ="; @@ -1693,7 +1693,7 @@ _avisitar.Add((Object)(_tmplist.getObject())); } ; //BA.debugLineNum = 679;BA.debugLine="Log(aVisitar)"; -__c.LogImpl("811141133",BA.ObjectToString(_avisitar),0); +__c.LogImpl("411141133",BA.ObjectToString(_avisitar),0); //BA.debugLineNum = 680;BA.debugLine="Return aVisitar"; if (true) return _avisitar; //BA.debugLineNum = 681;BA.debugLine="End Sub"; @@ -1773,7 +1773,7 @@ this.state = 1; //BA.debugLineNum = 301;BA.debugLine="Private coordsInicio As String = $\"${Starter.cedi"; _coordsinicio = (""+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+""); //BA.debugLineNum = 302;BA.debugLine="Log($\"Coordenadas de inicio: ${Starter.cedisLocat"; -parent.__c.LogImpl("810682370",("Coordenadas de inicio: "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+""),0); +parent.__c.LogImpl("410682370",("Coordenadas de inicio: "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+""),0); //BA.debugLineNum = 303;BA.debugLine="Private rutaCompleta As String = coordsInicio"; _rutacompleta = _coordsinicio; //BA.debugLineNum = 304;BA.debugLine="Private preRuta As String = coordsInicio"; @@ -1821,7 +1821,7 @@ case 4: this.state = 5; ; //BA.debugLineNum = 317;BA.debugLine="Log($\"a visitar: ${aVisitar.Keys.Size}\"$)"; -parent.__c.LogImpl("810682385",("a visitar: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()))+""),0); +parent.__c.LogImpl("410682385",("a visitar: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()))+""),0); //BA.debugLineNum = 318;BA.debugLine="For Each k As Object In aVisitar.Keys"; if (true) break; @@ -2056,7 +2056,7 @@ _tiempo0 = (double)(BA.ObjectToNumber(_rutas20.Get((Object)("duration")))); //BA.debugLineNum = 370;BA.debugLine="tiempo0 = ((tiempo0 * 2) ) 'Tiempo X 2 (es muy"; _tiempo0 = ((_tiempo0*2)); //BA.debugLineNum = 371;BA.debugLine="Log($\"Distancia total ruta inicial: $1.1{dista"; -parent.__c.LogImpl("810682439",("Distancia total ruta inicial: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal0/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo0/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo0/(double)60/(double)60))+" hrs)"),0); +parent.__c.LogImpl("410682439",("Distancia total ruta inicial: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal0/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo0/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo0/(double)60/(double)60))+" hrs)"),0); if (true) break; case 35: @@ -2069,7 +2069,7 @@ case 37: //C this.state = 38; //BA.debugLineNum = 375;BA.debugLine="Log(\"Error!\")"; -parent.__c.LogImpl("810682443","Error!",0); +parent.__c.LogImpl("410682443","Error!",0); if (true) break; case 38: @@ -2200,7 +2200,7 @@ _rutas2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.Ab //BA.debugLineNum = 408;BA.debugLine="distanciaTotal = rutas2.Get(\"distance\")"; _distanciatotal = (double)(BA.ObjectToNumber(_rutas2.Get((Object)("distance")))); //BA.debugLineNum = 409;BA.debugLine="Log(\"distancia ruta 2:\" & (distanciaTotal) & \"|"; -parent.__c.LogImpl("810682477","distancia ruta 2:"+BA.NumberToString((_distanciatotal))+"|"+BA.ObjectToString(_rutas2.Get((Object)("distance"))),0); +parent.__c.LogImpl("410682477","distancia ruta 2:"+BA.NumberToString((_distanciatotal))+"|"+BA.ObjectToString(_rutas2.Get((Object)("distance"))),0); //BA.debugLineNum = 410;BA.debugLine="distanciaTotal = distanciaTotal + distanciaTota"; _distanciatotal = _distanciatotal+_distanciatotal0; //BA.debugLineNum = 411;BA.debugLine="tiempo = rutas2.Get(\"duration\")"; @@ -2208,7 +2208,7 @@ _tiempo = (double)(BA.ObjectToNumber(_rutas2.Get((Object)("duration")))); //BA.debugLineNum = 412;BA.debugLine="tiempo = (((tiempo + tiempo0) * 2) + tiempoVisi"; _tiempo = (((_tiempo+_tiempo0)*2)+_tiempovisitas); //BA.debugLineNum = 413;BA.debugLine="Log($\"Distancia total: $1.1{distanciaTotal/1000"; -parent.__c.LogImpl("810682481",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60/(double)60))+" hrs)"),0); +parent.__c.LogImpl("410682481",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60/(double)60))+" hrs)"),0); //BA.debugLineNum = 414;BA.debugLine="l_rutaInfo.Text = $\"Distancia: $1.1{distanciaTo"; parent._l_rutainfo.setText(BA.ObjectToCharSequence(("Distancia: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60/(double)60))+" hrs"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Visitas restantes: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()))+""))); //BA.debugLineNum = 415;BA.debugLine="l_rutaInfo.Width = Root.Width * 0.9"; @@ -2233,7 +2233,7 @@ case 52: //C this.state = 53; //BA.debugLineNum = 422;BA.debugLine="LogColor(\"**************** Error! ************"; -parent.__c.LogImpl("810682490","**************** Error! ******************",parent.__c.Colors.Red); +parent.__c.LogImpl("410682490","**************** Error! ******************",parent.__c.Colors.Red); if (true) break; case 53: @@ -2252,7 +2252,7 @@ _wps = new anywheresoftware.b4a.objects.collections.Map(); //BA.debugLineNum = 429;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); //BA.debugLineNum = 430;BA.debugLine="Log(\"BORRAMOS WAYPOINTS\")"; -parent.__c.LogImpl("810682498","BORRAMOS WAYPOINTS",0); +parent.__c.LogImpl("410682498","BORRAMOS WAYPOINTS",0); //BA.debugLineNum = 431;BA.debugLine="For Each k As Object In clientesMapaO.Keys 'Guard"; if (true) break; @@ -2300,7 +2300,7 @@ _r1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObj //BA.debugLineNum = 434;BA.debugLine="r1.Get(\"codigo\")"; _r1.Get((Object)("codigo")); //BA.debugLineNum = 435;BA.debugLine="Log(listaWayPoints.Get(r) & \"|\" & r1.Get(\"coord"; -parent.__c.LogImpl("810682503",BA.ObjectToString(parent._listawaypoints.Get(_r))+"|"+BA.ObjectToString(_r1.Get((Object)("coords")))+"|"+BA.ObjectToString(_r1.Get((Object)("calle"))),0); +parent.__c.LogImpl("410682503",BA.ObjectToString(parent._listawaypoints.Get(_r))+"|"+BA.ObjectToString(_r1.Get((Object)("coords")))+"|"+BA.ObjectToString(_r1.Get((Object)("calle"))),0); //BA.debugLineNum = 436;BA.debugLine="wps = listaWayPoints.Get(r)"; _wps = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(parent._listawaypoints.Get(_r))); //BA.debugLineNum = 437;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info set"; @@ -2348,7 +2348,7 @@ _cs2 = new anywheresoftware.b4a.objects.CSBuilder(); //BA.debugLineNum = 450;BA.debugLine="entro = 3"; parent._entro = BA.NumberToString(3); //BA.debugLineNum = 451;BA.debugLine="Log(\"Generamos ListView1 en traeRutaDia\")"; -parent.__c.LogImpl("810682519","Generamos ListView1 en traeRutaDia",0); +parent.__c.LogImpl("410682519","Generamos ListView1 en traeRutaDia",0); //BA.debugLineNum = 453;BA.debugLine="c=Starter.skmt.ExecQuery(\"select codigo, indice,"; parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice"))); //BA.debugLineNum = 454;BA.debugLine="If c.RowCount > 0 Then"; @@ -2430,14 +2430,14 @@ int _distancia = 0; anywheresoftware.b4a.objects.collections.Map _estecliente = null; //BA.debugLineNum = 515;BA.debugLine="Sub traeTodosAVisitar As B4XOrderedMap 'ignore"; //BA.debugLineNum = 516;BA.debugLine="Log(\"Iniciamos traeTodosAVisitar\")"; -__c.LogImpl("810813441","Iniciamos traeTodosAVisitar",0); +__c.LogImpl("410813441","Iniciamos traeTodosAVisitar",0); //BA.debugLineNum = 519;BA.debugLine="Private thisLoc, ubicacionInicial As Location"; _thisloc = new anywheresoftware.b4a.gps.LocationWrapper(); _ubicacioninicial = new anywheresoftware.b4a.gps.LocationWrapper(); //BA.debugLineNum = 520;BA.debugLine="ubicacionInicial = Starter.cedisLocation"; _ubicacioninicial = _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ; //BA.debugLineNum = 521;BA.debugLine="LogColor(ubicacionInicial, Colors.Gray)"; -__c.LogImpl("810813446",BA.ObjectToString(_ubicacioninicial),__c.Colors.Gray); +__c.LogImpl("410813446",BA.ObjectToString(_ubicacioninicial),__c.Colors.Gray); //BA.debugLineNum = 522;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(gestion) as"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(gestion) as hayVisitados from kmt_info"))); //BA.debugLineNum = 523;BA.debugLine="If c.RowCount > 0 Then"; @@ -2451,7 +2451,7 @@ _ubicacioninicial = _tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapp //BA.debugLineNum = 528;BA.debugLine="c.Close"; _c.Close(); //BA.debugLineNum = 529;BA.debugLine="LogColor(ubicacionInicial, Colors.Red)"; -__c.LogImpl("810813454",BA.ObjectToString(_ubicacioninicial),__c.Colors.Red); +__c.LogImpl("410813454",BA.ObjectToString(_ubicacioninicial),__c.Colors.Red); //BA.debugLineNum = 530;BA.debugLine="thisLoc.Initialize"; _thisloc.Initialize(); //BA.debugLineNum = 531;BA.debugLine="clientesMapaO.Clear"; @@ -2513,7 +2513,7 @@ _c.Close(); //BA.debugLineNum = 562;BA.debugLine="c2.Close"; _c2.Close(); //BA.debugLineNum = 563;BA.debugLine="Log(c.RowCount & \" rutas, \" & clientesMapaO.Size"; -__c.LogImpl("810813488",BA.NumberToString(_c.getRowCount())+" rutas, "+BA.NumberToString(_clientesmapao._getsize /*int*/ ())+" clientes",0); +__c.LogImpl("410813488",BA.NumberToString(_c.getRowCount())+" rutas, "+BA.NumberToString(_clientesmapao._getsize /*int*/ ())+" clientes",0); //BA.debugLineNum = 566;BA.debugLine="Return clientesMapaO"; if (true) return _clientesmapao; //BA.debugLineNum = 567;BA.debugLine="End Sub"; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_detalle_promo.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_detalle_promo.java index d8ec412..de4e4ef 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_detalle_promo.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_detalle_promo.java @@ -38,11 +38,11 @@ public String _existe = ""; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_detalleventa.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_detalleventa.java index 736d9ad..b440cc0 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_detalleventa.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_detalleventa.java @@ -72,11 +72,11 @@ public anywheresoftware.b4a.objects.LabelWrapper _l_piezas = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -102,7 +102,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; //BA.debugLineNum = 651;BA.debugLine="etCantHasFocus = False"; _etcanthasfocus = __c.False; //BA.debugLineNum = 653;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("812451843","b_prodMas_Click",__c.Colors.Magenta); +__c.LogImpl("448103427","b_prodMas_Click",__c.Colors.Magenta); //BA.debugLineNum = 654;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; _index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); //BA.debugLineNum = 655;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; @@ -118,14 +118,14 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3)); _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); //BA.debugLineNum = 662;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; -__c.LogImpl("812451852","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("448103436","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); //BA.debugLineNum = 663;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; if ((_lacant.getText()).equals("")) { _lacant.setText(BA.ObjectToCharSequence(0));}; //BA.debugLineNum = 665;BA.debugLine="Private maxProds = esteTag.Get(1) + esteTag.Get(4"; _maxprods = BA.NumberToString((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4))))); //BA.debugLineNum = 667;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("812451857",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +__c.LogImpl("448103441",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); //BA.debugLineNum = 670;BA.debugLine="Private minimoadesc As String"; _minimoadesc = ""; //BA.debugLineNum = 671;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; @@ -152,7 +152,7 @@ if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) { //BA.debugLineNum = 686;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { //BA.debugLineNum = 687;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; -__c.LogImpl("812451877",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +__c.LogImpl("448103461",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); //BA.debugLineNum = 688;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$"; _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""))); //BA.debugLineNum = 689;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; @@ -168,7 +168,7 @@ _b4xpage_appear(); //BA.debugLineNum = 703;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { //BA.debugLineNum = 704;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; -__c.LogImpl("812451894",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +__c.LogImpl("448103478",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); //BA.debugLineNum = 705;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$"; _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""))); //BA.debugLineNum = 706;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; @@ -220,7 +220,7 @@ String _maxprods = ""; //BA.debugLineNum = 929;BA.debugLine="etCantHasFocus = False"; _etcanthasfocus = __c.False; //BA.debugLineNum = 931;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("812779523","b_prodMas_Click",__c.Colors.Magenta); +__c.LogImpl("448431107","b_prodMas_Click",__c.Colors.Magenta); //BA.debugLineNum = 932;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; _index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); //BA.debugLineNum = 933;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; @@ -236,30 +236,30 @@ _lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); //BA.debugLineNum = 940;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta"; -__c.LogImpl("812779532","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("448431116","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); //BA.debugLineNum = 941;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; if ((_lacantc.getText()).equals("")) { _lacantc.setText(BA.ObjectToCharSequence(0));}; //BA.debugLineNum = 943;BA.debugLine="Private maxProds As String = (esteTag.Get(1) + es"; _maxprods = BA.NumberToString(((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4)))))); //BA.debugLineNum = 944;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)"; -__c.LogImpl("812779536",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); +__c.LogImpl("448431120",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); //BA.debugLineNum = 945;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)"; -__c.LogImpl("812779537",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); +__c.LogImpl("448431121",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); //BA.debugLineNum = 946;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("812779538",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +__c.LogImpl("448431122",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); //BA.debugLineNum = 948;BA.debugLine="Log(maxProds)"; -__c.LogImpl("812779540",_maxprods,0); +__c.LogImpl("448431124",_maxprods,0); //BA.debugLineNum = 951;BA.debugLine="If esteTag.Get(7) <> \"1\" Then"; if ((_estetag.Get((int) (7))).equals((Object)("1")) == false) { //BA.debugLineNum = 954;BA.debugLine="If laCantc.Text + 1 <= maxProds Then"; if ((double)(Double.parseDouble(_lacantc.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { //BA.debugLineNum = 955;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)"; -__c.LogImpl("812779547",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0); +__c.LogImpl("448431131",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0); //BA.debugLineNum = 956;BA.debugLine="laCantc.Text = $\"$1.0{laCantc.Text + 1}\"$"; _lacantc.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""))); //BA.debugLineNum = 958;BA.debugLine="Log(laCantc.Text)"; -__c.LogImpl("812779550",_lacantc.getText(),0); +__c.LogImpl("448431134",_lacantc.getText(),0); //BA.debugLineNum = 959;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) -(1 * "+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+") WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); //BA.debugLineNum = 967;BA.debugLine="B4XPage_Appear"; @@ -284,9 +284,9 @@ float _preciou = 0f; //BA.debugLineNum = 507;BA.debugLine="etCantHasFocus = False"; _etcanthasfocus = __c.False; //BA.debugLineNum = 508;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("812386306","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); +__c.LogImpl("448037890","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); //BA.debugLineNum = 509;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("812386307","b_prodMenos_Click",__c.Colors.Magenta); +__c.LogImpl("448037891","b_prodMenos_Click",__c.Colors.Magenta); //BA.debugLineNum = 510;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; _index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); //BA.debugLineNum = 511;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; @@ -302,7 +302,7 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3)); _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); //BA.debugLineNum = 516;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; -__c.LogImpl("812386314","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("448037898","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); //BA.debugLineNum = 517;BA.debugLine="Private minimoadesc As String"; _minimoadesc = ""; //BA.debugLineNum = 518;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; @@ -381,9 +381,9 @@ _c2.setPosition((int) (0)); //BA.debugLineNum = 563;BA.debugLine="If c2.GetString(\"HVD_RECHAZO\") = \"0\" Then"; if ((_c2.GetString("HVD_RECHAZO")).equals("0")) { //BA.debugLineNum = 566;BA.debugLine="Log(\"ES PROMO\")"; -__c.LogImpl("812386364","ES PROMO",0); +__c.LogImpl("448037948","ES PROMO",0); //BA.debugLineNum = 567;BA.debugLine="Log(esteTag.Get(3))"; -__c.LogImpl("812386365",BA.ObjectToString(_estetag.Get((int) (3))),0); +__c.LogImpl("448037949",BA.ObjectToString(_estetag.Get((int) (3))),0); //BA.debugLineNum = 568;BA.debugLine="result = Msgbox2(\"Si se modifica una promoc"; _result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?"),BA.ObjectToCharSequence("Modificar Promoción"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); //BA.debugLineNum = 569;BA.debugLine="If result = DialogResponse.POSITIVE Then 'Qu"; @@ -391,7 +391,7 @@ if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { //BA.debugLineNum = 570;BA.debugLine="prodsMap.Remove(esteTag.Get(3))"; _prodsmap.Remove(_estetag.Get((int) (3))); //BA.debugLineNum = 574;BA.debugLine="LogColor(esteTag.Get(3),Colors.Blue)"; -__c.LogImpl("812386372",BA.ObjectToString(_estetag.Get((int) (3))),__c.Colors.Blue); +__c.LogImpl("448037956",BA.ObjectToString(_estetag.Get((int) (3))),__c.Colors.Blue); //BA.debugLineNum = 577;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)")); //BA.debugLineNum = 578;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VEN"; @@ -399,7 +399,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENT //BA.debugLineNum = 581;BA.debugLine="c.Close"; _c.Close(); //BA.debugLineNum = 582;BA.debugLine="LogColor(prodsMap, Colors.red)"; -__c.LogImpl("812386380",BA.ObjectToString(_prodsmap),__c.Colors.Red); +__c.LogImpl("448037964",BA.ObjectToString(_prodsmap),__c.Colors.Red); //BA.debugLineNum = 583;BA.debugLine="reconstruirPedido = True"; _reconstruirpedido = __c.True; //BA.debugLineNum = 584;BA.debugLine="promoABorrar = esteTag.Get(3)"; @@ -417,7 +417,7 @@ _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Obje if ((double)(Double.parseDouble(_lacant.getText()))<0) { _lacant.setText(BA.ObjectToCharSequence(0));}; //BA.debugLineNum = 591;BA.debugLine="Log(\"NO ES promo\")"; -__c.LogImpl("812386389","NO ES promo",0); +__c.LogImpl("448037973","NO ES promo",0); //BA.debugLineNum = 592;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"') WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); //BA.debugLineNum = 593;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunap"; @@ -435,7 +435,7 @@ _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Obje if ((double)(Double.parseDouble(_lacant.getText()))<0) { _lacant.setText(BA.ObjectToCharSequence(0));}; //BA.debugLineNum = 600;BA.debugLine="Log(\"NO ES promo\")"; -__c.LogImpl("812386398","NO ES promo",0); +__c.LogImpl("448037982","NO ES promo",0); //BA.debugLineNum = 601;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), BCAJAS = 0, CANTC = 0 WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); //BA.debugLineNum = 602;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapr"; @@ -454,7 +454,7 @@ _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Obje if ((double)(Double.parseDouble(_lacant.getText()))<0) { _lacant.setText(BA.ObjectToCharSequence(0));}; //BA.debugLineNum = 611;BA.debugLine="Log(\"NO ES promo\")"; -__c.LogImpl("812386409","NO ES promo",0); +__c.LogImpl("448037993","NO ES promo",0); //BA.debugLineNum = 616;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2("; _c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); @@ -494,7 +494,7 @@ _b4xpage_appear(); //BA.debugLineNum = 636;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; _preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); //BA.debugLineNum = 637;BA.debugLine="Log(\"PU: \" & preciou)"; -__c.LogImpl("812386435","PU: "+BA.NumberToString(_preciou),0); +__c.LogImpl("448038019","PU: "+BA.NumberToString(_preciou),0); //BA.debugLineNum = 648;BA.debugLine="End Sub"; return ""; } @@ -510,9 +510,9 @@ float _preciou = 0f; //BA.debugLineNum = 973;BA.debugLine="etCantHasFocus = False"; _etcanthasfocus = __c.False; //BA.debugLineNum = 974;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("812845058","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); +__c.LogImpl("448496642","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); //BA.debugLineNum = 975;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("812845059","b_prodMenos_Click",__c.Colors.Magenta); +__c.LogImpl("448496643","b_prodMenos_Click",__c.Colors.Magenta); //BA.debugLineNum = 976;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; _index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); //BA.debugLineNum = 977;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; @@ -528,22 +528,22 @@ _lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); //BA.debugLineNum = 982;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get"; -__c.LogImpl("812845066","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("448496650","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); //BA.debugLineNum = 983;BA.debugLine="Log(esteTag)"; -__c.LogImpl("812845067",BA.ObjectToString(_estetag),0); +__c.LogImpl("448496651",BA.ObjectToString(_estetag),0); //BA.debugLineNum = 985;BA.debugLine="If esteTag.Get(7) = \"1\" Then"; if ((_estetag.Get((int) (7))).equals((Object)("1"))) { //BA.debugLineNum = 986;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; _c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CAJAS, CONSECUTIVO FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); //BA.debugLineNum = 987;BA.debugLine="Log(c3.RowCount)"; -__c.LogImpl("812845071",BA.NumberToString(_c3.getRowCount()),0); +__c.LogImpl("448496655",BA.NumberToString(_c3.getRowCount()),0); //BA.debugLineNum = 988;BA.debugLine="Log(esteTag.Get(8))"; -__c.LogImpl("812845072",BA.ObjectToString(_estetag.Get((int) (8))),0); +__c.LogImpl("448496656",BA.ObjectToString(_estetag.Get((int) (8))),0); //BA.debugLineNum = 989;BA.debugLine="If c3.RowCount > 0 Then"; if (_c3.getRowCount()>0) { //BA.debugLineNum = 990;BA.debugLine="Log(\"AQUI VEMOS SI ACTUALIZAMOS\")"; -__c.LogImpl("812845074","AQUI VEMOS SI ACTUALIZAMOS",0); +__c.LogImpl("448496658","AQUI VEMOS SI ACTUALIZAMOS",0); //BA.debugLineNum = 991;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); //BA.debugLineNum = 992;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; @@ -556,7 +556,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDI }; }; //BA.debugLineNum = 998;BA.debugLine="Log(\"entre al if o algo asi \")"; -__c.LogImpl("812845082","entre al if o algo asi ",0); +__c.LogImpl("448496666","entre al if o algo asi ",0); //BA.debugLineNum = 999;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; if ((_lacantc.getText()).equals("")) { _lacantc.setText(BA.ObjectToCharSequence(0));}; @@ -573,7 +573,7 @@ if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) { //BA.debugLineNum = 1009;BA.debugLine="If laCantc.Text > 0 Then"; if ((double)(Double.parseDouble(_lacantc.getText()))>0) { //BA.debugLineNum = 1010;BA.debugLine="Log(\"entre al if o algo asi \")"; -__c.LogImpl("812845094","entre al if o algo asi ",0); +__c.LogImpl("448496678","entre al if o algo asi ",0); //BA.debugLineNum = 1011;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; if ((_lacantc.getText()).equals("")) { _lacantc.setText(BA.ObjectToCharSequence(0));}; @@ -599,7 +599,7 @@ _c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjec //BA.debugLineNum = 1027;BA.debugLine="If c3.RowCount > 0 Then"; if (_c3.getRowCount()>0) { //BA.debugLineNum = 1028;BA.debugLine="Log(\"AQUI VEMOS SI ACTUALIZAMOS\")"; -__c.LogImpl("812845112","AQUI VEMOS SI ACTUALIZAMOS",0); +__c.LogImpl("448496696","AQUI VEMOS SI ACTUALIZAMOS",0); //BA.debugLineNum = 1029;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); //BA.debugLineNum = 1030;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; @@ -612,7 +612,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDI }; }; //BA.debugLineNum = 1036;BA.debugLine="Log(\"entre al if o algo asi \")"; -__c.LogImpl("812845120","entre al if o algo asi ",0); +__c.LogImpl("448496704","entre al if o algo asi ",0); //BA.debugLineNum = 1037;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; if ((_lacantc.getText()).equals("")) { _lacantc.setText(BA.ObjectToCharSequence(0));}; @@ -630,7 +630,7 @@ _b4xpage_appear(); //BA.debugLineNum = 1048;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; _preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); //BA.debugLineNum = 1049;BA.debugLine="Log(\"PU: \" & preciou)"; -__c.LogImpl("812845133","PU: "+BA.NumberToString(_preciou),0); +__c.LogImpl("448496717","PU: "+BA.NumberToString(_preciou),0); //BA.debugLineNum = 1050;BA.debugLine="End Sub"; return ""; } @@ -861,7 +861,7 @@ _textcolor = __c.Colors.Black; //BA.debugLineNum = 174;BA.debugLine="clv_pedido.Add(CreateListItem2(c3.GetString(\"P"; _clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_c3.GetString("PE_PRONOMBRE"),_c3.GetString("PE_COSTOU"),(int)(Double.parseDouble(_c3.GetString("PE_CANT"))),(int) (0),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c3.GetString("PE_PROID"),_bgcolor,_textcolor,_subs._traealmacen /*String*/ (ba),_subs._traecliente /*String*/ (ba),_c3.GetString("PE_CLIENTEOR"),BA.NumberToString(1),(int)(Double.parseDouble(_c3.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); //BA.debugLineNum = 175;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P"; -__c.LogImpl("811862123","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0); +__c.LogImpl("447513707","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0); }else { //BA.debugLineNum = 177;BA.debugLine="Private bgColor, textColor As Int"; _bgcolor = 0; @@ -871,7 +871,7 @@ _bgcolor = __c.Colors.RGB((int) (221),(int) (132),(int) (132)); //BA.debugLineNum = 179;BA.debugLine="textColor = Colors.black"; _textcolor = __c.Colors.Black; //BA.debugLineNum = 180;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P"; -__c.LogImpl("811862128","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0); +__c.LogImpl("447513712","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0); //BA.debugLineNum = 181;BA.debugLine="clv_pedido.Add(CreateListItem(c3.GetString(\"PE"; _clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c3.GetString("PE_PRONOMBRE"),_c3.GetString("PE_COSTOU"),(int)(Double.parseDouble(_c3.GetString("PE_CANT"))),(int) (0),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c3.GetString("PE_PROID"),_bgcolor,_textcolor,_subs._traealmacen /*String*/ (ba),_subs._traecliente /*String*/ (ba),_c3.GetString("PE_CLIENTEOR"),BA.NumberToString(1),(int)(Double.parseDouble(_c3.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }; @@ -907,7 +907,7 @@ _c4.setPosition((int) (0)); //BA.debugLineNum = 198;BA.debugLine="cantres = c4.GetString(\"PE_CANT\")"; _cantres = (int)(Double.parseDouble(_c4.GetString("PE_CANT"))); //BA.debugLineNum = 199;BA.debugLine="Log(c4.GetString(\"PE_CANT\"))"; -__c.LogImpl("811862147",_c4.GetString("PE_CANT"),0); +__c.LogImpl("447513731",_c4.GetString("PE_CANT"),0); }else { //BA.debugLineNum = 201;BA.debugLine="cantres = 0"; _cantres = (int) (0); @@ -1061,9 +1061,9 @@ if ((double)(Double.parseDouble(_arti3))<0) { _arti = BA.NumberToString(0); }; //BA.debugLineNum = 296;BA.debugLine="Log(Cuenta&\",\"&Cuenta1&\",\"&Cuenta2&\",\"&Cuenta3)"; -__c.LogImpl("811862244",_cuenta+","+_cuenta1+","+_cuenta2+","+_cuenta3,0); +__c.LogImpl("447513828",_cuenta+","+_cuenta1+","+_cuenta2+","+_cuenta3,0); //BA.debugLineNum = 297;BA.debugLine="Log(arti&\",\"&arti1&\",\"&arti2&\",\"&arti3)"; -__c.LogImpl("811862245",_arti+","+_arti1+","+_arti2+","+_arti3,0); +__c.LogImpl("447513829",_arti+","+_arti1+","+_arti2+","+_arti3,0); //BA.debugLineNum = 298;BA.debugLine="If Cuenta + Cuenta1 + Cuenta2 + Cuenta3 < 0 Then"; if ((double)(Double.parseDouble(_cuenta))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))<0) { //BA.debugLineNum = 299;BA.debugLine="L_TOTAL.Text = 0"; @@ -1371,7 +1371,7 @@ return ""; public String _p_prods_click() throws Exception{ //BA.debugLineNum = 924;BA.debugLine="Sub p_prods_Click"; //BA.debugLineNum = 925;BA.debugLine="Log(Sender.As(Panel).tag)"; -__c.LogImpl("812713985",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); +__c.LogImpl("448365569",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); //BA.debugLineNum = 926;BA.debugLine="End Sub"; return ""; } diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_foto.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_foto.java index fe38615..893deae 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_foto.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_foto.java @@ -39,11 +39,11 @@ public String _motivo = ""; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -146,7 +146,7 @@ String _flash = ""; //BA.debugLineNum = 129;BA.debugLine="Dim f() As Float = camEx.GetFocusDistances"; _f = _camex._getfocusdistances /*float[]*/ (); //BA.debugLineNum = 130;BA.debugLine="Log(f(0) & \", \" & f(1) & \", \" & f(2))"; -__c.LogImpl("813893634",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0); +__c.LogImpl("449545218",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0); //BA.debugLineNum = 131;BA.debugLine="Dim flashModes As List = camEx.GetSupportedFlashM"; _flashmodes = new anywheresoftware.b4a.objects.collections.List(); _flashmodes = _camex._getsupportedflashmodes /*anywheresoftware.b4a.objects.collections.List*/ (); @@ -306,7 +306,7 @@ _camex._commitparameters /*String*/ (); //BA.debugLineNum = 55;BA.debugLine="camEx.StartPreview"; _camex._startpreview /*String*/ (); //BA.debugLineNum = 56;BA.debugLine="Log(camEx.GetPreviewSize)"; -__c.LogImpl("813500421",BA.ObjectToString(_camex._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ ()),0); +__c.LogImpl("449152005",BA.ObjectToString(_camex._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ ()),0); }else { //BA.debugLineNum = 58;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True); diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_historico.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_historico.java index 1f00d4d..5f4a053 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_historico.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_historico.java @@ -64,11 +64,11 @@ public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -92,7 +92,7 @@ anywheresoftware.b4a.objects.collections.Map _cym = null; //BA.debugLineNum = 384;BA.debugLine="etCantHasFocus = False"; _etcanthasfocus = __c.False; //BA.debugLineNum = 386;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("817694723","b_prodMas_Click",__c.Colors.Magenta); +__c.LogImpl("458261507","b_prodMas_Click",__c.Colors.Magenta); //BA.debugLineNum = 387;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; _index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); //BA.debugLineNum = 388;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; @@ -108,18 +108,18 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3)); _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); //BA.debugLineNum = 395;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; -__c.LogImpl("817694732","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("458261516","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); //BA.debugLineNum = 396;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; if ((_lacant.getText()).equals("")) { _lacant.setText(BA.ObjectToCharSequence(0));}; //BA.debugLineNum = 398;BA.debugLine="Private maxProds as string = esteTag.Get(1) + est"; _maxprods = BA.NumberToString((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4))))); //BA.debugLineNum = 400;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("817694737",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +__c.LogImpl("458261521",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); //BA.debugLineNum = 402;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { //BA.debugLineNum = 403;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; -__c.LogImpl("817694740",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +__c.LogImpl("458261524",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); //BA.debugLineNum = 404;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$"; _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""))); //BA.debugLineNum = 405;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; @@ -149,9 +149,9 @@ anywheresoftware.b4a.objects.collections.Map _cym = null; //BA.debugLineNum = 341;BA.debugLine="etCantHasFocus = False"; _etcanthasfocus = __c.False; //BA.debugLineNum = 342;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("817629186","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); +__c.LogImpl("458195970","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); //BA.debugLineNum = 343;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("817629187","b_prodMenos_Click",__c.Colors.Magenta); +__c.LogImpl("458195971","b_prodMenos_Click",__c.Colors.Magenta); //BA.debugLineNum = 344;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; _index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); //BA.debugLineNum = 345;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; @@ -167,11 +167,11 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3)); _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); //BA.debugLineNum = 350;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; -__c.LogImpl("817629194","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("458195978","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); //BA.debugLineNum = 351;BA.debugLine="If esteTag.Get(3) <> \"1\" Then 'Si es PROMO entonc"; if ((_estetag.Get((int) (3))).equals((Object)("1")) == false) { //BA.debugLineNum = 352;BA.debugLine="Log(\"ES PROMO\")"; -__c.LogImpl("817629196","ES PROMO",0); +__c.LogImpl("458195980","ES PROMO",0); //BA.debugLineNum = 353;BA.debugLine="result = Msgbox2(\"Si se modifica una promoción,"; _result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?"),BA.ObjectToCharSequence("Modificar Promoción"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); //BA.debugLineNum = 354;BA.debugLine="If result = DialogResponse.POSITIVE Then 'Quitam"; @@ -183,7 +183,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENT //BA.debugLineNum = 357;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_CODPROMO = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' WHERE HVD_cliente in (Select CUENTA from cuentaa) AND HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"'")); //BA.debugLineNum = 358;BA.debugLine="LogColor(prodsMap, Colors.red)"; -__c.LogImpl("817629202",BA.ObjectToString(_prodsmap),__c.Colors.Red); +__c.LogImpl("458195986",BA.ObjectToString(_prodsmap),__c.Colors.Red); //BA.debugLineNum = 359;BA.debugLine="reconstruirPedido = True"; _reconstruirpedido = __c.True; //BA.debugLineNum = 360;BA.debugLine="promoABorrar = esteTag.Get(3)"; @@ -206,7 +206,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunap //BA.debugLineNum = 369;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; _preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); //BA.debugLineNum = 370;BA.debugLine="Log(\"PU: \" & preciou)"; -__c.LogImpl("817629214","PU: "+BA.NumberToString(_preciou),0); +__c.LogImpl("458195998","PU: "+BA.NumberToString(_preciou),0); //BA.debugLineNum = 376;BA.debugLine="Subs.prodRechazo(esteTag.Get(5), esteTag.Get(2))"; _subs._prodrechazo /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); //BA.debugLineNum = 377;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_p"; @@ -326,7 +326,7 @@ _clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware. _vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE"))); //BA.debugLineNum = 113;BA.debugLine="Log($\"VENTA: ${vc.RowCount}\"$)"; -__c.LogImpl("817170486",("VENTA: "+__c.SmartStringFormatter("",(Object)(_vc.getRowCount()))+""),0); +__c.LogImpl("457737270",("VENTA: "+__c.SmartStringFormatter("",(Object)(_vc.getRowCount()))+""),0); //BA.debugLineNum = 114;BA.debugLine="If vc.RowCount > 0 Then"; if (_vc.getRowCount()>0) { //BA.debugLineNum = 117;BA.debugLine="textColor = Colors.RGB(0,87,142)"; @@ -612,13 +612,13 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _z = null; String _cantidad2 = ""; //BA.debugLineNum = 428;BA.debugLine="Sub cuentaProds(accion As String)"; //BA.debugLineNum = 430;BA.debugLine="Log(\"*********************************************"; -__c.LogImpl("817760258","*******************************************************",0); +__c.LogImpl("458327042","*******************************************************",0); //BA.debugLineNum = 431;BA.debugLine="Private cantRechazada As Int = 0"; _cantrechazada = (int) (0); //BA.debugLineNum = 432;BA.debugLine="If Not(reconstruirPedido) Then"; if (__c.Not(_reconstruirpedido)) { //BA.debugLineNum = 433;BA.debugLine="Log(\"*********** CUENTAPRODS - NO RECONSTRUIR\")"; -__c.LogImpl("817760261","*********** CUENTAPRODS - NO RECONSTRUIR",0); +__c.LogImpl("458327045","*********** CUENTAPRODS - NO RECONSTRUIR",0); //BA.debugLineNum = 434;BA.debugLine="prodsMap.Initialize"; _prodsmap.Initialize(); //BA.debugLineNum = 435;BA.debugLine="For i = 0 To clv_pedido.GetSize - 1"; @@ -643,9 +643,9 @@ _cant1.setText(BA.ObjectToCharSequence(0));}; _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_cant1.getTag()))); //BA.debugLineNum = 442;BA.debugLine="Log(\"-------------------------------------\")"; -__c.LogImpl("817760270","-------------------------------------",0); +__c.LogImpl("458327054","-------------------------------------",0); //BA.debugLineNum = 443;BA.debugLine="Log($\"ET: ${esteTag}\"$)"; -__c.LogImpl("817760271",("ET: "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),0); +__c.LogImpl("458327055",("ET: "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),0); //BA.debugLineNum = 444;BA.debugLine="Private esteProd As String = esteTag.Get(2)"; _esteprod = BA.ObjectToString(_estetag.Get((int) (2))); //BA.debugLineNum = 445;BA.debugLine="Private estaCant As Int = cant1.Text"; @@ -668,9 +668,9 @@ _cant1.setText(BA.ObjectToCharSequence(_maxprods));}; //BA.debugLineNum = 455;BA.debugLine="cantRechazada = esteTag.Get(4) - cant1.Text"; _cantrechazada = (int) ((double)(BA.ObjectToNumber(_estetag.Get((int) (4))))-(double)(Double.parseDouble(_cant1.getText()))); //BA.debugLineNum = 458;BA.debugLine="Log($\"${Subs.traeCantidadRechazada(esteClienteO"; -__c.LogImpl("817760286",(""+__c.SmartStringFormatter("",(Object)(_subs._traecantidadrechazada /*int*/ (ba,BA.NumberToString(_esteclienteoriginal),_esteprod)))+", "+__c.SmartStringFormatter("",(Object)(_subs._traecantidadvendida /*int*/ (ba,BA.NumberToString(_esteclienteoriginal),_esteprod)))+""),0); +__c.LogImpl("458327070",(""+__c.SmartStringFormatter("",(Object)(_subs._traecantidadrechazada /*int*/ (ba,BA.NumberToString(_esteclienteoriginal),_esteprod)))+", "+__c.SmartStringFormatter("",(Object)(_subs._traecantidadvendida /*int*/ (ba,BA.NumberToString(_esteclienteoriginal),_esteprod)))+""),0); //BA.debugLineNum = 461;BA.debugLine="LogColor($\"cantRechazada = ${cantRechazada}\"$,"; -__c.LogImpl("817760289",("cantRechazada = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),__c.Colors.Magenta); +__c.LogImpl("458327073",("cantRechazada = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),__c.Colors.Magenta); //BA.debugLineNum = 462;BA.debugLine="Private estePrecio As String = 0"; _esteprecio = BA.NumberToString(0); //BA.debugLineNum = 463;BA.debugLine="If Subs.traePrecio(esteProd, 1) <> Null Then es"; @@ -686,7 +686,7 @@ _rr.setPosition((int) (0)); //BA.debugLineNum = 472;BA.debugLine="If rr.GetString(\"hayRechazo\") = 0 Then"; if ((_rr.GetString("hayRechazo")).equals(BA.NumberToString(0))) { //BA.debugLineNum = 473;BA.debugLine="Log(\"INSERTAMOS EN REPARTO\")"; -__c.LogImpl("817760301","INSERTAMOS EN REPARTO",0); +__c.LogImpl("458327085","INSERTAMOS EN REPARTO",0); //BA.debugLineNum = 474;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_estecliente,_esteprodnombre,BA.NumberToString(0),_esteprecio,_fechareparto,_esteprod,_esteprecio,_estecliente})); //BA.debugLineNum = 475;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; @@ -694,7 +694,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into repa }else if(_esteclienteoriginal==(double)(Double.parseDouble("0"))) { }else { //BA.debugLineNum = 480;BA.debugLine="Log($\"Actualizamos REP_CANT RECHAZO = ${cantRe"; -__c.LogImpl("817760308",("Actualizamos REP_CANT RECHAZO = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),0); +__c.LogImpl("458327092",("Actualizamos REP_CANT RECHAZO = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),0); }; //BA.debugLineNum = 485;BA.debugLine="If cant1.Text > 0 Then"; if ((double)(Double.parseDouble(_cant1.getText()))>0) { @@ -706,7 +706,7 @@ _m = __c.createMap(new Object[] {(Object)("cant"),(Object)(_cant1.getText()),(Ob _prodsmap.Put(_estetag.Get((int) (2)),(Object)(_m.getObject())); }; //BA.debugLineNum = 493;BA.debugLine="Log(\"-------------------------------------\")"; -__c.LogImpl("817760321","-------------------------------------",0); +__c.LogImpl("458327105","-------------------------------------",0); } }; }; @@ -716,14 +716,14 @@ _textcolor = 0; //BA.debugLineNum = 498;BA.debugLine="If reconstruirPedido Then"; if (_reconstruirpedido) { //BA.debugLineNum = 499;BA.debugLine="Log(\"*********** CUENTAPRODS - SI RECONSTRUIR\")"; -__c.LogImpl("817760327","*********** CUENTAPRODS - SI RECONSTRUIR",0); +__c.LogImpl("458327111","*********** CUENTAPRODS - SI RECONSTRUIR",0); //BA.debugLineNum = 500;BA.debugLine="Private newPromo, newPrecio As String"; _newpromo = ""; _newprecio = ""; //BA.debugLineNum = 501;BA.debugLine="clv_pedido.Clear"; _clv_pedido._clear(); //BA.debugLineNum = 502;BA.debugLine="Log(\"Usamos PRODSMAP\")"; -__c.LogImpl("817760330","Usamos PRODSMAP",0); +__c.LogImpl("458327114","Usamos PRODSMAP",0); //BA.debugLineNum = 503;BA.debugLine="For Each pr As String In prodsMap.Keys"; { final anywheresoftware.b4a.BA.IterableList group53 = _prodsmap.Keys(); @@ -736,7 +736,7 @@ _pr = BA.ObjectToString(group53.Get(index53)); _pr1 = new anywheresoftware.b4a.objects.collections.Map(); _pr1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap.Get((Object)(_pr)))); //BA.debugLineNum = 505;BA.debugLine="Log(\"PPP: \" & pr & \"|PromoABorrar=\" & promoABor"; -__c.LogImpl("817760333","PPP: "+_pr+"|PromoABorrar="+_promoaborrar+"|"+BA.ObjectToString(_pr1),0); +__c.LogImpl("458327117","PPP: "+_pr+"|PromoABorrar="+_promoaborrar+"|"+BA.ObjectToString(_pr1),0); //BA.debugLineNum = 506;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; _bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); //BA.debugLineNum = 507;BA.debugLine="textColor = Colors.black"; @@ -746,7 +746,7 @@ _newpromo = BA.ObjectToString(_pr1.Get((Object)("promo"))); //BA.debugLineNum = 509;BA.debugLine="newPrecio = pr1.Get(\"precio\")"; _newprecio = BA.ObjectToString(_pr1.Get((Object)("precio"))); //BA.debugLineNum = 510;BA.debugLine="Log(\"AAA: \" & newPromo & \"|\" & promoABorrar)"; -__c.LogImpl("817760338","AAA: "+_newpromo+"|"+_promoaborrar,0); +__c.LogImpl("458327122","AAA: "+_newpromo+"|"+_promoaborrar,0); //BA.debugLineNum = 511;BA.debugLine="If newPromo = promoABorrar Then"; if ((_newpromo).equals(_promoaborrar)) { //BA.debugLineNum = 512;BA.debugLine="newPromo = 1"; @@ -756,7 +756,7 @@ _newprecio = BA.NumberToString((double)(Double.parseDouble(_subs._traeprecio /*S //BA.debugLineNum = 515;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_COSTO_TOT = "+__c.SmartStringFormatter("",(Object)(_newprecio))+", HVD_CODPROMO = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' WHERE HVD_PRONOMBRE = '"+__c.SmartStringFormatter("",_pr1.Get((Object)("nombre")))+"' and HVD_cliente in (Select CUENTA from cuentaa)")); //BA.debugLineNum = 516;BA.debugLine="LogColor(\"CAMBIAMOS PROMO: \" & newPromo, Color"; -__c.LogImpl("817760344","CAMBIAMOS PROMO: "+_newpromo,__c.Colors.Magenta); +__c.LogImpl("458327128","CAMBIAMOS PROMO: "+_newpromo,__c.Colors.Magenta); }; //BA.debugLineNum = 518;BA.debugLine="If newPromo <> \"1\" Then"; if ((_newpromo).equals("1") == false) { @@ -764,7 +764,7 @@ if ((_newpromo).equals("1") == false) { _bgcolor = __c.Colors.White; }; //BA.debugLineNum = 522;BA.debugLine="Log($\"CLI: ${pr1.Get(\"nombre\")}, ${newPrecio},"; -__c.LogImpl("817760350",("CLI: "+__c.SmartStringFormatter("",_pr1.Get((Object)("nombre")))+", "+__c.SmartStringFormatter("",(Object)(_newprecio))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant")))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant2")))+""),0); +__c.LogImpl("458327134",("CLI: "+__c.SmartStringFormatter("",_pr1.Get((Object)("nombre")))+", "+__c.SmartStringFormatter("",(Object)(_newprecio))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant")))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant2")))+""),0); //BA.debugLineNum = 523;BA.debugLine="clv_pedido.Add(CreateListItem(pr1.Get(\"nombre\")"; _clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(BA.ObjectToString(_pr1.Get((Object)("nombre"))),_newprecio,(int)(BA.ObjectToNumber(_pr1.Get((Object)("cant")))),(int)(BA.ObjectToNumber(_pr1.Get((Object)("cant2")))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (50)),_bmp,_pr,_bgcolor,_textcolor,_newpromo,BA.ObjectToString(_pr1.Get((Object)("cli_orig")))).getObject())),_pr1.Get((Object)("nombre"))); //BA.debugLineNum = 524;BA.debugLine="reconstruirPedido = False"; @@ -775,11 +775,11 @@ _reconstruirpedido = __c.False; _promoaborrar = ""; }; //BA.debugLineNum = 528;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; -__c.LogImpl("817760356",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0); +__c.LogImpl("458327140",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0); //BA.debugLineNum = 529;BA.debugLine="LogColor(\"prodsMap=\" & prodsMap, Colors.Green)"; -__c.LogImpl("817760357","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Green); +__c.LogImpl("458327141","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Green); //BA.debugLineNum = 532;BA.debugLine="LogColor(prodsMap, Colors.Blue)"; -__c.LogImpl("817760360",BA.ObjectToString(_prodsmap),__c.Colors.Blue); +__c.LogImpl("458327144",BA.ObjectToString(_prodsmap),__c.Colors.Blue); //BA.debugLineNum = 533;BA.debugLine="c = Starter.skmt.ExecQuery($\"SELECT sum(HVD_CANT)"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT sum(HVD_CANT) as CANTIDAD FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); //BA.debugLineNum = 534;BA.debugLine="Dim cantidad1 As String = 0"; @@ -901,7 +901,7 @@ return ""; public String _p_prods_click() throws Exception{ //BA.debugLineNum = 601;BA.debugLine="Sub p_prods_Click"; //BA.debugLineNum = 602;BA.debugLine="Log(Sender.As(Panel).tag)"; -__c.LogImpl("817956865",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); +__c.LogImpl("458523649",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); //BA.debugLineNum = 603;BA.debugLine="End Sub"; return ""; } diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_mapas.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_mapas.java index bfcb8a0..a367632 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_mapas.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_mapas.java @@ -29,11 +29,11 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_noventa.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_noventa.java index 3300092..2d56d7b 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_noventa.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_noventa.java @@ -56,11 +56,11 @@ public anywheresoftware.b4a.objects.streams.File.TextWriterWrapper _printer = nu public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -458,7 +458,7 @@ _printer1._disconnect /*String*/ (); //BA.debugLineNum = 55;BA.debugLine="Printer1.Connect"; _printer1._connect /*boolean*/ (); //BA.debugLineNum = 56;BA.debugLine="Log(\"2\")"; -__c.LogImpl("818415625","2",0); +__c.LogImpl("458982409","2",0); }; //BA.debugLineNum = 58;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; _btadmin.Initialize(ba,"BlueTeeth"); @@ -675,7 +675,7 @@ for (;_i2 <= limit34 ;_i2 = _i2 + step34 ) { //BA.debugLineNum = 275;BA.debugLine="rv.Position = i2"; _rv.setPosition(_i2); //BA.debugLineNum = 276;BA.debugLine="Log($\"Actualizamos REPARTO - cliente=${rv.Get"; -__c.LogImpl("818939945",("Actualizamos REPARTO - cliente="+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLIENTE")))+", cliente orignal="+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+", le agregamos "+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+""),0); +__c.LogImpl("459506729",("Actualizamos REPARTO - cliente="+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLIENTE")))+", cliente orignal="+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+", le agregamos "+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+""),0); //BA.debugLineNum = 277;BA.debugLine="Starter.skmt.ExecNonQuery($\"update REPARTO se"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update REPARTO set REP_CANT = REP_CANT + "+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+" where REP_RECHAZO = '1' and REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+"'")); } @@ -692,7 +692,7 @@ for (;_i <= limit41 ;_i = _i + step41 ) { //BA.debugLineNum = 283;BA.debugLine="c.Position=i"; _c.setPosition(_i); //BA.debugLineNum = 284;BA.debugLine="Log($\"REGISTRO= ${c.GetString(\"HVD_NUM_REGISTR"; -__c.LogImpl("818939953",("REGISTRO= "+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+""),0); +__c.LogImpl("459506737",("REGISTRO= "+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+""),0); //BA.debugLineNum = 285;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_PRODREGISTRO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_c.GetString("HVD_CLIENTE"),_c.GetString("HVD_PRONOMBRE"),_c.GetString("HVD_CANT"),_c.GetString("HVD_COSTO_TOT"),_c.GetString("HVD_FECHA"),_c.GetString("HVD_PROID"),_c.GetString("CAT_GP_PRECIO"),_c.GetString("HVD_NUM_REGISTRO"),_c.GetString("HVD_CLIENTE")})); //BA.debugLineNum = 286;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; @@ -766,12 +766,12 @@ Object[] _records = null; String _k = ""; //BA.debugLineNum = 109;BA.debugLine="Sub JobDone(Job As HttpJob)"; //BA.debugLineNum = 110;BA.debugLine="Log(Job.Success)"; -__c.LogImpl("818743297",BA.ObjectToString(_job._success /*boolean*/ ),0); +__c.LogImpl("459310081",BA.ObjectToString(_job._success /*boolean*/ ),0); //BA.debugLineNum = 111;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==__c.False) { }else { //BA.debugLineNum = 114;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("818743301","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +__c.LogImpl("459310085","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); //BA.debugLineNum = 115;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { //BA.debugLineNum = 116;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; @@ -783,7 +783,7 @@ _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); //BA.debugLineNum = 119;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; _cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); //BA.debugLineNum = 120;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; -__c.LogImpl("818743307",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); +__c.LogImpl("459310091",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); //BA.debugLineNum = 121;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"1",_cliente,"1"})); //BA.debugLineNum = 122;BA.debugLine="For Each records() As Object In resultado.Rows"; @@ -803,7 +803,7 @@ final int groupLen13 = group13.getSize() for (; index13 < groupLen13;index13++){ _k = BA.ObjectToString(group13.Get(index13)); //BA.debugLineNum = 124;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; -__c.LogImpl("818743311",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); +__c.LogImpl("459310095",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); } }; } @@ -851,7 +851,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ _impresoraconectada = __c.True; }else { //BA.debugLineNum = 339;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; -__c.LogImpl("819005452","Error conectando la impresora",__c.Colors.Red); +__c.LogImpl("459572236","Error conectando la impresora",__c.Colors.Red); //BA.debugLineNum = 340;BA.debugLine="errorImpresora = errorImpresora + 1"; _errorimpresora = (int) (_errorimpresora+1); //BA.debugLineNum = 341;BA.debugLine="If errorImpresora > 1 Then"; @@ -868,7 +868,7 @@ return ""; public String _printer1_error() throws Exception{ //BA.debugLineNum = 348;BA.debugLine="Sub Printer1_Error"; //BA.debugLineNum = 349;BA.debugLine="Log(\"error printer\")"; -__c.LogImpl("819070977","error printer",0); +__c.LogImpl("459637761","error printer",0); //BA.debugLineNum = 350;BA.debugLine="End Sub"; return ""; } diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_nuevocliente.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_nuevocliente.java index 04664aa..1741ed2 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_nuevocliente.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_nuevocliente.java @@ -29,11 +29,11 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_pedidos.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_pedidos.java index 1bc82a1..ec16a8b 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_pedidos.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_pedidos.java @@ -29,11 +29,11 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_principal.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_principal.java index 853c547..829009a 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_principal.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_principal.java @@ -100,6 +100,7 @@ public String _cargo = ""; public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; public anywheresoftware.b4a.objects.IME _ime = null; public anywheresoftware.b4a.objects.ButtonWrapper _b_tabulador = null; +public String _paso1 = ""; public anywheresoftware.b4a.objects.LabelWrapper _l_rutasp = null; public anywheresoftware.b4a.objects.LabelWrapper _l_rechazo = null; public anywheresoftware.b4a.objects.LabelWrapper _label9 = null; @@ -149,96 +150,128 @@ public anywheresoftware.b4a.objects.LabelWrapper _l_pagarescobrados = null; public anywheresoftware.b4a.objects.LabelWrapper _l_pagaresnuevos = null; public anywheresoftware.b4a.objects.LabelWrapper _l_montoaliquidar = null; public anywheresoftware.b4a.objects.LabelWrapper _label21 = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_comodin = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_validacion = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelarcodigo = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_aceptar = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_codigo = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; public reparto_izca.keymon.lat.httputils2service _httputils2service = null; public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _b_aceptar_click() throws Exception{ + //BA.debugLineNum = 3884;BA.debugLine="Private Sub b_aceptar_Click"; + //BA.debugLineNum = 3885;BA.debugLine="If et_codigo.Text <> \"\" Then"; +if ((_et_codigo.getText()).equals("") == false) { + //BA.debugLineNum = 3887;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); + //BA.debugLineNum = 3888;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); + //BA.debugLineNum = 3889;BA.debugLine="cmd.Name = \"select_PASS_IZCA_REPG\""; +_cmd.Name /*String*/ = "select_PASS_IZCA_REPG"; + //BA.debugLineNum = 3890;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; + //BA.debugLineNum = 3891;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"contra\")"; +_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("contra")); + }; + //BA.debugLineNum = 3894;BA.debugLine="End Sub"; +return ""; +} +public String _b_cancelarcodigo_click() throws Exception{ + //BA.debugLineNum = 3896;BA.debugLine="Private Sub b_cancelarcodigo_Click"; + //BA.debugLineNum = 3897;BA.debugLine="p_validacion.Visible = False"; +_p_validacion.setVisible(__c.False); + //BA.debugLineNum = 3898;BA.debugLine="et_codigo.Text = \"\""; +_et_codigo.setText(BA.ObjectToCharSequence("")); + //BA.debugLineNum = 3899;BA.debugLine="End Sub"; +return ""; +} public String _b_carga_click() throws Exception{ anywheresoftware.b4a.sql.SQL.CursorWrapper _checagestion = null; - //BA.debugLineNum = 2845;BA.debugLine="Private Sub B_carga_Click"; - //BA.debugLineNum = 2846;BA.debugLine="If L_carga.Text = \"LISTO\" And l_carga2.Text = \"LI"; + //BA.debugLineNum = 3088;BA.debugLine="Private Sub B_carga_Click"; + //BA.debugLineNum = 3089;BA.debugLine="If L_carga.Text = \"LISTO\" And l_carga2.Text = \"LI"; if ((_l_carga.getText()).equals("LISTO") && (_l_carga2.getText()).equals("LISTO")) { - //BA.debugLineNum = 2847;BA.debugLine="P_carga.Visible = False"; + //BA.debugLineNum = 3090;BA.debugLine="P_carga.Visible = False"; _p_carga.setVisible(__c.False); }else { - //BA.debugLineNum = 2849;BA.debugLine="Dim checagestion As Cursor = Starter.skmt.ExecQu"; + //BA.debugLineNum = 3092;BA.debugLine="Dim checagestion As Cursor = Starter.skmt.ExecQu"; _checagestion = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _checagestion = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM NOVENTA"))); - //BA.debugLineNum = 2850;BA.debugLine="If checagestion.RowCount = 0 Then"; + //BA.debugLineNum = 3093;BA.debugLine="If checagestion.RowCount = 0 Then"; if (_checagestion.getRowCount()==0) { - //BA.debugLineNum = 2851;BA.debugLine="P_carga.Visible = False"; + //BA.debugLineNum = 3094;BA.debugLine="P_carga.Visible = False"; _p_carga.setVisible(__c.False); - //BA.debugLineNum = 2852;BA.debugLine="e_ruta.Text = \"\""; + //BA.debugLineNum = 3095;BA.debugLine="e_ruta.Text = \"\""; _e_ruta.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 2853;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PICK_CIE"; + //BA.debugLineNum = 3096;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PICK_CIE"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PICK_CIEGO"); - //BA.debugLineNum = 2854;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; + //BA.debugLineNum = 3097;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente"); - //BA.debugLineNum = 2855;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PAGARES\""; + //BA.debugLineNum = 3098;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PAGARES\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PAGARES"); - //BA.debugLineNum = 2856;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECADO_"; + //BA.debugLineNum = 3099;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECADO_"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CHECADO_CHECK"); - //BA.debugLineNum = 2857;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECKLIS"; + //BA.debugLineNum = 3100;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECKLIS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CHECKLIST2"); - //BA.debugLineNum = 2858;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido\")"; + //BA.debugLineNum = 3101;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido"); - //BA.debugLineNum = 2859;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from noventa\""; + //BA.debugLineNum = 3102;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from noventa\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from noventa"); - //BA.debugLineNum = 2860;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from clie_act"; + //BA.debugLineNum = 3103;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from clie_act"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from clie_act"); - //BA.debugLineNum = 2861;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info"; + //BA.debugLineNum = 3104;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); - //BA.debugLineNum = 2862;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; + //BA.debugLineNum = 3105;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 2863;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; + //BA.debugLineNum = 3106;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); - //BA.debugLineNum = 2864;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETA"; + //BA.debugLineNum = 3107;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 2865;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; + //BA.debugLineNum = 3108;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 2866;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; + //BA.debugLineNum = 3109;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); - //BA.debugLineNum = 2867;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; + //BA.debugLineNum = 3110;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_MONEDAS"); - //BA.debugLineNum = 2868;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; + //BA.debugLineNum = 3111;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_BILLETES"); - //BA.debugLineNum = 2869;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; + //BA.debugLineNum = 3112;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 2870;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; + //BA.debugLineNum = 3113;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOSP"); - //BA.debugLineNum = 2871;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOS\")"; + //BA.debugLineNum = 3114;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOS\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOS"); - //BA.debugLineNum = 2872;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM BLOCKENV"; + //BA.debugLineNum = 3115;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM BLOCKENV"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM BLOCKENVIO"); - //BA.debugLineNum = 2873;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 3116;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 2874;BA.debugLine="MsgboxAsync(\"No se cargo bien la informacion, f"; + //BA.debugLineNum = 3117;BA.debugLine="MsgboxAsync(\"No se cargo bien la informacion, f"; __c.MsgboxAsync(BA.ObjectToCharSequence("No se cargo bien la informacion, favor de cargar día nuevamente"),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 2876;BA.debugLine="MsgboxAsync(\"No se cargo bien la informacion, f"; + //BA.debugLineNum = 3119;BA.debugLine="MsgboxAsync(\"No se cargo bien la informacion, f"; __c.MsgboxAsync(BA.ObjectToCharSequence("No se cargo bien la informacion, favor de cargar día nuevamente"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 2877;BA.debugLine="P_carga.Visible = False"; + //BA.debugLineNum = 3120;BA.debugLine="P_carga.Visible = False"; _p_carga.setVisible(__c.False); }; }; - //BA.debugLineNum = 2880;BA.debugLine="End Sub"; + //BA.debugLineNum = 3123;BA.debugLine="End Sub"; return ""; } public String _b_check_click() throws Exception{ - //BA.debugLineNum = 2631;BA.debugLine="Private Sub b_check_Click"; - //BA.debugLineNum = 2633;BA.debugLine="B4XPages.ShowPage(\"checklist\")"; + //BA.debugLineNum = 2954;BA.debugLine="Private Sub b_check_Click"; + //BA.debugLineNum = 2956;BA.debugLine="B4XPages.ShowPage(\"checklist\")"; _b4xpages._showpage /*String*/ (ba,"checklist"); - //BA.debugLineNum = 2635;BA.debugLine="End Sub"; + //BA.debugLineNum = 2958;BA.debugLine="End Sub"; return ""; } public String _b_clieprod_click() throws Exception{ @@ -268,191 +301,191 @@ String _arti3 = ""; int _x = 0; String _totalmonto = ""; String _totalcantidad = ""; - //BA.debugLineNum = 2360;BA.debugLine="Sub B_CLIEPROD_Click"; - //BA.debugLineNum = 2361;BA.debugLine="If b_check.Visible = True Then"; + //BA.debugLineNum = 2683;BA.debugLine="Sub B_CLIEPROD_Click"; + //BA.debugLineNum = 2684;BA.debugLine="If b_check.Visible = True Then"; if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 2362;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; + //BA.debugLineNum = 2685;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; __c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 2364;BA.debugLine="BUSCA.Visible = True"; + //BA.debugLineNum = 2687;BA.debugLine="BUSCA.Visible = True"; _busca.setVisible(__c.True); - //BA.debugLineNum = 2365;BA.debugLine="connecta.Visible = False"; + //BA.debugLineNum = 2688;BA.debugLine="connecta.Visible = False"; _connecta.setVisible(__c.False); - //BA.debugLineNum = 2366;BA.debugLine="trabajar.Visible = True"; + //BA.debugLineNum = 2689;BA.debugLine="trabajar.Visible = True"; _trabajar.setVisible(__c.True); - //BA.debugLineNum = 2367;BA.debugLine="B_CLIEPROD.Visible = True"; + //BA.debugLineNum = 2690;BA.debugLine="B_CLIEPROD.Visible = True"; _b_clieprod.setVisible(__c.True); - //BA.debugLineNum = 2368;BA.debugLine="Panel1.Visible = True"; + //BA.debugLineNum = 2691;BA.debugLine="Panel1.Visible = True"; _panel1.setVisible(__c.True); - //BA.debugLineNum = 2369;BA.debugLine="Panel1.BringToFront"; + //BA.debugLineNum = 2692;BA.debugLine="Panel1.BringToFront"; _panel1.BringToFront(); - //BA.debugLineNum = 2370;BA.debugLine="Panel1.Width = Root.Width"; + //BA.debugLineNum = 2693;BA.debugLine="Panel1.Width = Root.Width"; _panel1.setWidth(_root.getWidth()); - //BA.debugLineNum = 2371;BA.debugLine="Panel1.Height = Root.Height"; + //BA.debugLineNum = 2694;BA.debugLine="Panel1.Height = Root.Height"; _panel1.setHeight(_root.getHeight()); - //BA.debugLineNum = 2372;BA.debugLine="B_REGRESA.Top = Panel1.Height - B_REGRESA.Height"; + //BA.debugLineNum = 2695;BA.debugLine="B_REGRESA.Top = Panel1.Height - B_REGRESA.Height"; _b_regresa.setTop((int) (_panel1.getHeight()-_b_regresa.getHeight())); - //BA.debugLineNum = 2373;BA.debugLine="Btn_Ubicar_Ru.Visible=True"; + //BA.debugLineNum = 2696;BA.debugLine="Btn_Ubicar_Ru.Visible=True"; _btn_ubicar_ru.setVisible(__c.True); - //BA.debugLineNum = 2375;BA.debugLine="Dim ch As Cursor = Starter.skmt.ExecQuery(\"selec"; + //BA.debugLineNum = 2698;BA.debugLine="Dim ch As Cursor = Starter.skmt.ExecQuery(\"selec"; _ch = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _ch = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as visit from kmt_info WHERE gestion = 2"))); - //BA.debugLineNum = 2376;BA.debugLine="ch.Position = 0"; + //BA.debugLineNum = 2699;BA.debugLine="ch.Position = 0"; _ch.setPosition((int) (0)); - //BA.debugLineNum = 2377;BA.debugLine="L_clientes_visit.Text = ch.GetInt(\"visit\")"; + //BA.debugLineNum = 2700;BA.debugLine="L_clientes_visit.Text = ch.GetInt(\"visit\")"; _l_clientes_visit.setText(BA.ObjectToCharSequence(_ch.GetInt("visit"))); - //BA.debugLineNum = 2379;BA.debugLine="Dim ch1 As Cursor = Starter.skmt.ExecQuery(\"sele"; + //BA.debugLineNum = 2702;BA.debugLine="Dim ch1 As Cursor = Starter.skmt.ExecQuery(\"sele"; _ch1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _ch1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as rechazo from kmt_info WHERE gestion = 3"))); - //BA.debugLineNum = 2380;BA.debugLine="ch1.Position = 0"; + //BA.debugLineNum = 2703;BA.debugLine="ch1.Position = 0"; _ch1.setPosition((int) (0)); - //BA.debugLineNum = 2381;BA.debugLine="l_clientes_recha.Text = ch1.GetInt(\"rechazo\")"; + //BA.debugLineNum = 2704;BA.debugLine="l_clientes_recha.Text = ch1.GetInt(\"rechazo\")"; _l_clientes_recha.setText(BA.ObjectToCharSequence(_ch1.GetInt("rechazo"))); - //BA.debugLineNum = 2382;BA.debugLine="l_clientes_visitados.Text = ch1.GetInt(\"rechazo\""; + //BA.debugLineNum = 2705;BA.debugLine="l_clientes_visitados.Text = ch1.GetInt(\"rechazo\""; _l_clientes_visitados.setText(BA.ObjectToCharSequence(_ch1.GetInt("rechazo")+_ch.GetInt("visit"))); - //BA.debugLineNum = 2384;BA.debugLine="c=Starter.skmt.ExecQuery(\"select distinct(CAT_CL_"; + //BA.debugLineNum = 2707;BA.debugLine="c=Starter.skmt.ExecQuery(\"select distinct(CAT_CL_"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(CAT_CL_CODIGO), GESTION, CAT_CL_NOMBRE from kmt_info WHERE gestion <> 0 order by HORAENT"))); - //BA.debugLineNum = 2385;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; + //BA.debugLineNum = 2708;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; _subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 2386;BA.debugLine="ListView1.Clear"; + //BA.debugLineNum = 2709;BA.debugLine="ListView1.Clear"; _listview1.Clear(); - //BA.debugLineNum = 2387;BA.debugLine="Dim label1 As Label"; + //BA.debugLineNum = 2710;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 2388;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; + //BA.debugLineNum = 2711;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; _label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 2389;BA.debugLine="label1.TextSize = 16"; + //BA.debugLineNum = 2712;BA.debugLine="label1.TextSize = 16"; _label1.setTextSize((float) (16)); - //BA.debugLineNum = 2390;BA.debugLine="label1.TextColor = Colors.Black"; + //BA.debugLineNum = 2713;BA.debugLine="label1.TextColor = Colors.Black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 2391;BA.debugLine="Dim label2 As Label"; + //BA.debugLineNum = 2714;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 2392;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; + //BA.debugLineNum = 2715;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; _label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 2393;BA.debugLine="label2.TextSize = 16"; + //BA.debugLineNum = 2716;BA.debugLine="label2.TextSize = 16"; _label2.setTextSize((float) (16)); - //BA.debugLineNum = 2394;BA.debugLine="label2.TextColor = Colors.Black"; + //BA.debugLineNum = 2717;BA.debugLine="label2.TextColor = Colors.Black"; _label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 2396;BA.debugLine="If c.RowCount>0 Then"; + //BA.debugLineNum = 2719;BA.debugLine="If c.RowCount>0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 2397;BA.debugLine="For i=0 To c.RowCount -1"; + //BA.debugLineNum = 2720;BA.debugLine="For i=0 To c.RowCount -1"; { final int step33 = 1; final int limit33 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit33 ;_i = _i + step33 ) { - //BA.debugLineNum = 2398;BA.debugLine="c.Position=i"; + //BA.debugLineNum = 2721;BA.debugLine="c.Position=i"; _c.setPosition(_i); - //BA.debugLineNum = 2399;BA.debugLine="If c.GetString(\"gestion\") = \"2\" Then"; + //BA.debugLineNum = 2722;BA.debugLine="If c.GetString(\"gestion\") = \"2\" Then"; if ((_c.GetString("gestion")).equals("2")) { - //BA.debugLineNum = 2400;BA.debugLine="ESTATUS = \"ENTREGADO\""; + //BA.debugLineNum = 2723;BA.debugLine="ESTATUS = \"ENTREGADO\""; _estatus = "ENTREGADO"; - //BA.debugLineNum = 2401;BA.debugLine="Log(\"entrega\")"; -__c.LogImpl("815401001","entrega",0); + //BA.debugLineNum = 2724;BA.debugLine="Log(\"entrega\")"; +__c.LogImpl("451118121","entrega",0); }else if((_c.GetString("gestion")).equals("3")) { - //BA.debugLineNum = 2403;BA.debugLine="Log(\"no entrega\")"; -__c.LogImpl("815401003","no entrega",0); - //BA.debugLineNum = 2404;BA.debugLine="ESTATUS = \"RECHAZADO\""; + //BA.debugLineNum = 2726;BA.debugLine="Log(\"no entrega\")"; +__c.LogImpl("451118123","no entrega",0); + //BA.debugLineNum = 2727;BA.debugLine="ESTATUS = \"RECHAZADO\""; _estatus = "RECHAZADO"; }else { - //BA.debugLineNum = 2406;BA.debugLine="ESTATUS = \"SIN ESTATUS\""; + //BA.debugLineNum = 2729;BA.debugLine="ESTATUS = \"SIN ESTATUS\""; _estatus = "SIN ESTATUS"; }; - //BA.debugLineNum = 2411;BA.debugLine="If ESTATUS = \"ENTREGADO\" Then"; + //BA.debugLineNum = 2734;BA.debugLine="If ESTATUS = \"ENTREGADO\" Then"; if ((_estatus).equals("ENTREGADO")) { - //BA.debugLineNum = 2412;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; + //BA.debugLineNum = 2735;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; _vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 2414;BA.debugLine="Private cuenta0 As String = 0"; + //BA.debugLineNum = 2737;BA.debugLine="Private cuenta0 As String = 0"; _cuenta0 = BA.NumberToString(0); - //BA.debugLineNum = 2415;BA.debugLine="Private arti As String = 0"; + //BA.debugLineNum = 2738;BA.debugLine="Private arti As String = 0"; _arti = BA.NumberToString(0); - //BA.debugLineNum = 2416;BA.debugLine="If vc.RowCount > 0 Then"; + //BA.debugLineNum = 2739;BA.debugLine="If vc.RowCount > 0 Then"; if (_vc.getRowCount()>0) { - //BA.debugLineNum = 2417;BA.debugLine="For hjf = 0 To vc.RowCount - 1"; + //BA.debugLineNum = 2740;BA.debugLine="For hjf = 0 To vc.RowCount - 1"; { final int step49 = 1; final int limit49 = (int) (_vc.getRowCount()-1); _hjf = (int) (0) ; for (;_hjf <= limit49 ;_hjf = _hjf + step49 ) { - //BA.debugLineNum = 2418;BA.debugLine="vc.Position = hjf"; + //BA.debugLineNum = 2741;BA.debugLine="vc.Position = hjf"; _vc.setPosition(_hjf); - //BA.debugLineNum = 2420;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - v"; + //BA.debugLineNum = 2743;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - v"; _arti = BA.NumberToString((double)(Double.parseDouble(_arti))+((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 2421;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CAN"; + //BA.debugLineNum = 2744;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CAN"; _cuenta0 = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc.GetString("HVD_CANT")))))); } }; }; - //BA.debugLineNum = 2426;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer"; + //BA.debugLineNum = 2749;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer"; _vc2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 1")))); - //BA.debugLineNum = 2427;BA.debugLine="Private Cuenta1 As String = 0"; + //BA.debugLineNum = 2750;BA.debugLine="Private Cuenta1 As String = 0"; _cuenta1 = BA.NumberToString(0); - //BA.debugLineNum = 2428;BA.debugLine="Private arti1 As String = 0"; + //BA.debugLineNum = 2751;BA.debugLine="Private arti1 As String = 0"; _arti1 = BA.NumberToString(0); - //BA.debugLineNum = 2429;BA.debugLine="If vc2.RowCount > 0 Then"; + //BA.debugLineNum = 2752;BA.debugLine="If vc2.RowCount > 0 Then"; if (_vc2.getRowCount()>0) { - //BA.debugLineNum = 2430;BA.debugLine="For h = 0 To vc2.RowCount - 1"; + //BA.debugLineNum = 2753;BA.debugLine="For h = 0 To vc2.RowCount - 1"; { final int step59 = 1; final int limit59 = (int) (_vc2.getRowCount()-1); _h = (int) (0) ; for (;_h <= limit59 ;_h = _h + step59 ) { - //BA.debugLineNum = 2431;BA.debugLine="vc2.Position = h"; + //BA.debugLineNum = 2754;BA.debugLine="vc2.Position = h"; _vc2.setPosition(_h); - //BA.debugLineNum = 2432;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt"; + //BA.debugLineNum = 2755;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt"; _preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc2.GetString("CANTC"))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 2433;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu"; + //BA.debugLineNum = 2756;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu"; _vc3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc2.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 2434;BA.debugLine="If vc3.RowCount > 0 Then"; + //BA.debugLineNum = 2757;BA.debugLine="If vc3.RowCount > 0 Then"; if (_vc3.getRowCount()>0) { - //BA.debugLineNum = 2435;BA.debugLine="vc3.Position = 0"; + //BA.debugLineNum = 2758;BA.debugLine="vc3.Position = 0"; _vc3.setPosition((int) (0)); - //BA.debugLineNum = 2436;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC"; + //BA.debugLineNum = 2759;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC"; _cuenta1 = BA.NumberToString((double)(Double.parseDouble(_cuenta1))+(((double)(Double.parseDouble(_vc2.GetString("CANTC")))-((double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT")))/(double)(double)(Double.parseDouble(_vc3.GetString("CONVERSION")))))*_preu)); - //BA.debugLineNum = 2437;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\")"; + //BA.debugLineNum = 2760;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\")"; _arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+((double)(Double.parseDouble(_vc2.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT"))))); }; } }; }; - //BA.debugLineNum = 2443;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer"; + //BA.debugLineNum = 2766;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer"; _vc4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); - //BA.debugLineNum = 2444;BA.debugLine="Private Cuenta2 As String = 0"; + //BA.debugLineNum = 2767;BA.debugLine="Private Cuenta2 As String = 0"; _cuenta2 = BA.NumberToString(0); - //BA.debugLineNum = 2445;BA.debugLine="Private arti2 As String = 0"; + //BA.debugLineNum = 2768;BA.debugLine="Private arti2 As String = 0"; _arti2 = BA.NumberToString(0); - //BA.debugLineNum = 2446;BA.debugLine="If vc4.RowCount > 0 Then"; + //BA.debugLineNum = 2769;BA.debugLine="If vc4.RowCount > 0 Then"; if (_vc4.getRowCount()>0) { - //BA.debugLineNum = 2448;BA.debugLine="For k = 0 To vc4.RowCount - 1"; + //BA.debugLineNum = 2771;BA.debugLine="For k = 0 To vc4.RowCount - 1"; { final int step74 = 1; final int limit74 = (int) (_vc4.getRowCount()-1); _k = (int) (0) ; for (;_k <= limit74 ;_k = _k + step74 ) { - //BA.debugLineNum = 2449;BA.debugLine="vc4.Position = k"; + //BA.debugLineNum = 2772;BA.debugLine="vc4.Position = k"; _vc4.setPosition(_k); - //BA.debugLineNum = 2450;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; + //BA.debugLineNum = 2773;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { - //BA.debugLineNum = 2451;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; + //BA.debugLineNum = 2774;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 2452;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO"; + //BA.debugLineNum = 2775;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO"; _cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))); - //BA.debugLineNum = 2453;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; + //BA.debugLineNum = 2776;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))); }else { - //BA.debugLineNum = 2455;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec"; + //BA.debugLineNum = 2778;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec"; _vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc4.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 2456;BA.debugLine="If vc5.RowCount > 0 Then"; + //BA.debugLineNum = 2779;BA.debugLine="If vc5.RowCount > 0 Then"; if (_vc5.getRowCount()>0) { - //BA.debugLineNum = 2457;BA.debugLine="vc5.Position= 0"; + //BA.debugLineNum = 2780;BA.debugLine="vc5.Position= 0"; _vc5.setPosition((int) (0)); - //BA.debugLineNum = 2459;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_"; + //BA.debugLineNum = 2782;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_"; _cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_vc5.GetString("CAT_GP_PRECIO"))))); - //BA.debugLineNum = 2460;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\""; + //BA.debugLineNum = 2783;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\""; _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))); }; }; @@ -460,79 +493,90 @@ _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double } }; }; - //BA.debugLineNum = 2469;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery"; + //BA.debugLineNum = 2792;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery"; _c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 2470;BA.debugLine="Private Cuenta3 As String = 0"; + //BA.debugLineNum = 2793;BA.debugLine="Private Cuenta3 As String = 0"; _cuenta3 = BA.NumberToString(0); - //BA.debugLineNum = 2471;BA.debugLine="Private arti3 As String = 0"; + //BA.debugLineNum = 2794;BA.debugLine="Private arti3 As String = 0"; _arti3 = BA.NumberToString(0); - //BA.debugLineNum = 2472;BA.debugLine="If c4.RowCount > 0 Then"; + //BA.debugLineNum = 2795;BA.debugLine="If c4.RowCount > 0 Then"; if (_c4.getRowCount()>0) { - //BA.debugLineNum = 2473;BA.debugLine="For x = 0 To c4.RowCount -1"; + //BA.debugLineNum = 2796;BA.debugLine="For x = 0 To c4.RowCount -1"; { final int step95 = 1; final int limit95 = (int) (_c4.getRowCount()-1); _x = (int) (0) ; for (;_x <= limit95 ;_x = _x + step95 ) { - //BA.debugLineNum = 2474;BA.debugLine="c4.Position = x"; + //BA.debugLineNum = 2797;BA.debugLine="c4.Position = x"; _c4.setPosition(_x); - //BA.debugLineNum = 2475;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; + //BA.debugLineNum = 2798;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; _arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); - //BA.debugLineNum = 2476;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_"; + //BA.debugLineNum = 2799;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_"; _cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Double.parseDouble(_c4.GetString("PE_COSTO_TOT")))); } }; }; - //BA.debugLineNum = 2481;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen"; + //BA.debugLineNum = 2804;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen"; _totalmonto = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))); - //BA.debugLineNum = 2482;BA.debugLine="Private TOTALcantidad As String = arti + arti"; + //BA.debugLineNum = 2805;BA.debugLine="Private TOTALcantidad As String = arti + arti"; _totalcantidad = BA.NumberToString((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))); - //BA.debugLineNum = 2484;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD"; + //BA.debugLineNum = 2807;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD"; _listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO")+" - "+_c.GetString("CAT_CL_NOMBRE")),BA.ObjectToCharSequence("Articulos :"+_totalcantidad+" Monto :"+__c.NumberFormat2((double)(Double.parseDouble(_totalmonto)),(int) (0),(int) (2),(int) (2),__c.True)+" "+_estatus)); - //BA.debugLineNum = 2485;BA.debugLine="Log(\"si entre2\")"; -__c.LogImpl("815401085","si entre2",0); + //BA.debugLineNum = 2808;BA.debugLine="Log(\"si entre2\")"; +__c.LogImpl("451118205","si entre2",0); }else if((_estatus).equals("RECHAZADO")) { - //BA.debugLineNum = 2489;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; + //BA.debugLineNum = 2812;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; _vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select SUM(HVD_COSTO_TOT) AS HVD_COSTO_TOT, SUM(HVD_CANT) AS HVD_CANT from HIST_VENTAS WHERE HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"' AND HVD_CODPROMO ")))); - //BA.debugLineNum = 2491;BA.debugLine="Private cuenta0 As String = 0"; + //BA.debugLineNum = 2814;BA.debugLine="Private cuenta0 As String = 0"; _cuenta0 = BA.NumberToString(0); - //BA.debugLineNum = 2492;BA.debugLine="Private arti As String = 0"; + //BA.debugLineNum = 2815;BA.debugLine="Private arti As String = 0"; _arti = BA.NumberToString(0); - //BA.debugLineNum = 2493;BA.debugLine="If vc.RowCount > 0 Then"; + //BA.debugLineNum = 2816;BA.debugLine="If vc.RowCount > 0 Then"; if (_vc.getRowCount()>0) { - //BA.debugLineNum = 2494;BA.debugLine="For hjf = 0 To vc.RowCount - 1"; + //BA.debugLineNum = 2817;BA.debugLine="For hjf = 0 To vc.RowCount - 1"; { final int step110 = 1; final int limit110 = (int) (_vc.getRowCount()-1); _hjf = (int) (0) ; for (;_hjf <= limit110 ;_hjf = _hjf + step110 ) { - //BA.debugLineNum = 2495;BA.debugLine="vc.Position = hjf"; + //BA.debugLineNum = 2818;BA.debugLine="vc.Position = hjf"; _vc.setPosition(_hjf); - //BA.debugLineNum = 2498;BA.debugLine="arti = (vc.GetString(\"HVD_CANT\"))"; + //BA.debugLineNum = 2821;BA.debugLine="arti = (vc.GetString(\"HVD_CANT\"))"; _arti = (_vc.GetString("HVD_CANT")); - //BA.debugLineNum = 2499;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_COS"; + //BA.debugLineNum = 2822;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_COS"; _cuenta0 = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(((_vc.GetString("HVD_COSTO_TOT")))))); } }; }; - //BA.debugLineNum = 2502;BA.debugLine="Log(cuenta0)"; -__c.LogImpl("815401102",_cuenta0,0); - //BA.debugLineNum = 2559;BA.debugLine="Private TOTALMONTO As String = cuenta0"; + //BA.debugLineNum = 2825;BA.debugLine="Log(cuenta0)"; +__c.LogImpl("451118222",_cuenta0,0); + //BA.debugLineNum = 2882;BA.debugLine="Private TOTALMONTO As String = cuenta0"; _totalmonto = _cuenta0; - //BA.debugLineNum = 2560;BA.debugLine="Private TOTALcantidad As String = arti"; + //BA.debugLineNum = 2883;BA.debugLine="Private TOTALcantidad As String = arti"; _totalcantidad = _arti; - //BA.debugLineNum = 2562;BA.debugLine="Log(\"si entre\")"; -__c.LogImpl("815401162","si entre",0); - //BA.debugLineNum = 2563;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD"; + //BA.debugLineNum = 2885;BA.debugLine="Log(\"si entre\")"; +__c.LogImpl("451118282","si entre",0); + //BA.debugLineNum = 2886;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD"; _listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO")+" - "+_c.GetString("CAT_CL_NOMBRE")),BA.ObjectToCharSequence("Articulos :"+_totalcantidad+" Monto :"+__c.NumberFormat2((double)(Double.parseDouble(_totalmonto)),(int) (0),(int) (2),(int) (2),__c.True)+" "+_estatus)); }; } }; }; }; - //BA.debugLineNum = 2600;BA.debugLine="End Sub"; + //BA.debugLineNum = 2923;BA.debugLine="End Sub"; +return ""; +} +public String _b_comodin_click() throws Exception{ + //BA.debugLineNum = 3878;BA.debugLine="Private Sub b_comodin_Click"; + //BA.debugLineNum = 3879;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); + //BA.debugLineNum = 3880;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("100000")})); + //BA.debugLineNum = 3881;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); + //BA.debugLineNum = 3882;BA.debugLine="End Sub"; return ""; } public void _b_imp_inventario_click() throws Exception{ @@ -569,11 +613,11 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 3064;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; + //BA.debugLineNum = 3307;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); - //BA.debugLineNum = 3065;BA.debugLine="Printer1.DisConnect"; + //BA.debugLineNum = 3308;BA.debugLine="Printer1.DisConnect"; parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 3066;BA.debugLine="If Not(Printer1.IsConnected) Then"; + //BA.debugLineNum = 3309;BA.debugLine="If Not(Printer1.IsConnected) Then"; if (true) break; case 1: @@ -588,11 +632,11 @@ this.state = 21; case 3: //C this.state = 4; - //BA.debugLineNum = 3068;BA.debugLine="Printer1.Connect"; + //BA.debugLineNum = 3311;BA.debugLine="Printer1.Connect"; parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 3069;BA.debugLine="Private cont As Int = 0"; + //BA.debugLineNum = 3312;BA.debugLine="Private cont As Int = 0"; _cont = (int) (0); - //BA.debugLineNum = 3070;BA.debugLine="Do While Not(impresoraConectada)"; + //BA.debugLineNum = 3313;BA.debugLine="Do While Not(impresoraConectada)"; if (true) break; case 4: @@ -607,7 +651,7 @@ if (true) break; case 6: //C this.state = 7; - //BA.debugLineNum = 3071;BA.debugLine="Sleep(1000)"; + //BA.debugLineNum = 3314;BA.debugLine="Sleep(1000)"; parent.__c.Sleep(ba,this,(int) (1000)); this.state = 57; return; @@ -615,9 +659,9 @@ case 57: //C this.state = 7; ; - //BA.debugLineNum = 3072;BA.debugLine="cont = cont + 1"; + //BA.debugLineNum = 3315;BA.debugLine="cont = cont + 1"; _cont = (int) (_cont+1); - //BA.debugLineNum = 3073;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; + //BA.debugLineNum = 3316;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; if (true) break; case 7: @@ -637,7 +681,7 @@ case 12: //C this.state = 13; ; - //BA.debugLineNum = 3074;BA.debugLine="If cont > 15 Then impresoraConectada = True"; + //BA.debugLineNum = 3317;BA.debugLine="If cont > 15 Then impresoraConectada = True"; if (true) break; case 13: @@ -663,7 +707,7 @@ case 19: //C this.state = 38; ; - //BA.debugLineNum = 3076;BA.debugLine="Sleep(500)"; + //BA.debugLineNum = 3319;BA.debugLine="Sleep(500)"; parent.__c.Sleep(ba,this,(int) (500)); this.state = 58; return; @@ -671,18 +715,18 @@ case 58: //C this.state = 38; ; - //BA.debugLineNum = 3077;BA.debugLine="impresoraConectada = False"; + //BA.debugLineNum = 3320;BA.debugLine="impresoraConectada = False"; parent._impresoraconectada = parent.__c.False; if (true) break; case 21: //C this.state = 22; - //BA.debugLineNum = 3080;BA.debugLine="Printer1.Connect"; + //BA.debugLineNum = 3323;BA.debugLine="Printer1.Connect"; parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 3081;BA.debugLine="Private cont As Int = 0"; + //BA.debugLineNum = 3324;BA.debugLine="Private cont As Int = 0"; _cont = (int) (0); - //BA.debugLineNum = 3082;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; + //BA.debugLineNum = 3325;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; if (true) break; case 22: @@ -697,7 +741,7 @@ if (true) break; case 24: //C this.state = 25; - //BA.debugLineNum = 3083;BA.debugLine="Sleep(1000)"; + //BA.debugLineNum = 3326;BA.debugLine="Sleep(1000)"; parent.__c.Sleep(ba,this,(int) (1000)); this.state = 59; return; @@ -705,9 +749,9 @@ case 59: //C this.state = 25; ; - //BA.debugLineNum = 3084;BA.debugLine="cont = cont + 1"; + //BA.debugLineNum = 3327;BA.debugLine="cont = cont + 1"; _cont = (int) (_cont+1); - //BA.debugLineNum = 3085;BA.debugLine="If cont = 2 Then Printer1.Connect"; + //BA.debugLineNum = 3328;BA.debugLine="If cont = 2 Then Printer1.Connect"; if (true) break; case 25: @@ -727,7 +771,7 @@ case 30: //C this.state = 31; ; - //BA.debugLineNum = 3086;BA.debugLine="If cont > 4 Then impresoraConectada = True"; + //BA.debugLineNum = 3329;BA.debugLine="If cont > 4 Then impresoraConectada = True"; if (true) break; case 31: @@ -753,7 +797,7 @@ case 37: //C this.state = 38; ; - //BA.debugLineNum = 3088;BA.debugLine="Sleep(500)"; + //BA.debugLineNum = 3331;BA.debugLine="Sleep(500)"; parent.__c.Sleep(ba,this,(int) (500)); this.state = 60; return; @@ -761,7 +805,7 @@ case 60: //C this.state = 38; ; - //BA.debugLineNum = 3089;BA.debugLine="impresoraConectada = False"; + //BA.debugLineNum = 3332;BA.debugLine="impresoraConectada = False"; parent._impresoraconectada = parent.__c.False; if (true) break; @@ -769,67 +813,67 @@ case 38: //C this.state = 39; ; - //BA.debugLineNum = 3092;BA.debugLine="TAMANO = 0"; + //BA.debugLineNum = 3335;BA.debugLine="TAMANO = 0"; parent._tamano = (int) (0); - //BA.debugLineNum = 3093;BA.debugLine="ESPACIO = 28"; + //BA.debugLineNum = 3336;BA.debugLine="ESPACIO = 28"; parent._espacio = (int) (28); - //BA.debugLineNum = 3094;BA.debugLine="BLANCO = \" \""; + //BA.debugLineNum = 3337;BA.debugLine="BLANCO = \" \""; parent._blanco = " "; - //BA.debugLineNum = 3095;BA.debugLine="Dim bmp As Bitmap"; + //BA.debugLineNum = 3338;BA.debugLine="Dim bmp As Bitmap"; _bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 3096;BA.debugLine="Printer1.Justify= 1"; + //BA.debugLineNum = 3339;BA.debugLine="Printer1.Justify= 1"; parent._printer1._setjustify((int) (1)); - //BA.debugLineNum = 3097;BA.debugLine="bmp.InitializeResize(File.DirAssets, \"inventarios"; + //BA.debugLineNum = 3340;BA.debugLine="bmp.InitializeResize(File.DirAssets, \"inventarios"; _bmp.InitializeResize(parent.__c.File.getDirAssets(),"inventarios.jpg",(int) (92),(int) (92),parent.__c.True); - //BA.debugLineNum = 3098;BA.debugLine="Dim myimage As AnImage = Printer1.ImageToBWIMage("; + //BA.debugLineNum = 3341;BA.debugLine="Dim myimage As AnImage = Printer1.ImageToBWIMage("; _myimage = parent._printer1._imagetobwimage /*reparto_izca.keymon.lat.escposprinter._animage*/ (_bmp); - //BA.debugLineNum = 3099;BA.debugLine="myimage = Printer1.DitherImage2D(myimage, 128)"; + //BA.debugLineNum = 3342;BA.debugLine="myimage = Printer1.DitherImage2D(myimage, 128)"; _myimage = parent._printer1._ditherimage2d /*reparto_izca.keymon.lat.escposprinter._animage*/ (_myimage,(int) (128)); - //BA.debugLineNum = 3100;BA.debugLine="myimage= Printer1.PackImage(myimage)"; + //BA.debugLineNum = 3343;BA.debugLine="myimage= Printer1.PackImage(myimage)"; _myimage = parent._printer1._packimage /*reparto_izca.keymon.lat.escposprinter._animage*/ (_myimage); - //BA.debugLineNum = 3101;BA.debugLine="Printer1.WriteString(CRLF) ' nudge the printer to"; + //BA.debugLineNum = 3344;BA.debugLine="Printer1.WriteString(CRLF) ' nudge the printer to"; parent._printer1._writestring /*String*/ (parent.__c.CRLF); - //BA.debugLineNum = 3102;BA.debugLine="Printer1.WriteString(CRLF) ' nudge the printer to"; + //BA.debugLineNum = 3345;BA.debugLine="Printer1.WriteString(CRLF) ' nudge the printer to"; parent._printer1._writestring /*String*/ (parent.__c.CRLF); - //BA.debugLineNum = 3103;BA.debugLine="Printer1.WriteString(Printer1.REVERSE)"; + //BA.debugLineNum = 3346;BA.debugLine="Printer1.WriteString(Printer1.REVERSE)"; parent._printer1._writestring /*String*/ (parent._printer1._reverse /*String*/ ); - //BA.debugLineNum = 3104;BA.debugLine="Printer1.PrintImage(myimage)"; + //BA.debugLineNum = 3347;BA.debugLine="Printer1.PrintImage(myimage)"; parent._printer1._printimage /*int*/ (_myimage); - //BA.debugLineNum = 3105;BA.debugLine="Printer1.WriteString(Printer1.UNREVERSE)"; + //BA.debugLineNum = 3348;BA.debugLine="Printer1.WriteString(Printer1.UNREVERSE)"; parent._printer1._writestring /*String*/ (parent._printer1._unreverse /*String*/ ); - //BA.debugLineNum = 3106;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; + //BA.debugLineNum = 3349;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 3107;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; + //BA.debugLineNum = 3350;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; parent._c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_CANT), 0) AS HVD_CANT, HVD_PROID from HIST_VENTAS WHERE HVD_PRONOMBRE <> 'Cobranza Pendiente' and HVD_PROID <> HVD_CODPROMO GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 3108;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C"; + //BA.debugLineNum = 3351;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C"; parent._lv_prod_prin.getSingleLineLayout().Label.setTextColor(parent.__c.Colors.White); - //BA.debugLineNum = 3109;BA.debugLine="lv_prod_Prin.Clear"; + //BA.debugLineNum = 3352;BA.debugLine="lv_prod_Prin.Clear"; parent._lv_prod_prin.Clear(); - //BA.debugLineNum = 3110;BA.debugLine="Printer1.Justify = 0"; + //BA.debugLineNum = 3353;BA.debugLine="Printer1.Justify = 0"; parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 3111;BA.debugLine="Dim sDate, sTime As String"; + //BA.debugLineNum = 3354;BA.debugLine="Dim sDate, sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 3112;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; + //BA.debugLineNum = 3355;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 3113;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; + //BA.debugLineNum = 3356;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; parent.__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 3114;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 3357;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; _sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 3115;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; + //BA.debugLineNum = 3358;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; _stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 3116;BA.debugLine="Printer1.WriteString(\"Fecha: \" &sDate & CRLF)"; + //BA.debugLineNum = 3359;BA.debugLine="Printer1.WriteString(\"Fecha: \" &sDate & CRLF)"; parent._printer1._writestring /*String*/ ("Fecha: "+_sdate+parent.__c.CRLF); - //BA.debugLineNum = 3117;BA.debugLine="Printer1.WriteString(\"Hora: \" &sTime & CRLF)"; + //BA.debugLineNum = 3360;BA.debugLine="Printer1.WriteString(\"Hora: \" &sTime & CRLF)"; parent._printer1._writestring /*String*/ ("Hora: "+_stime+parent.__c.CRLF); - //BA.debugLineNum = 3118;BA.debugLine="Printer1.WriteString(\"Ruta: \" & l_ruta.Text & CRL"; + //BA.debugLineNum = 3361;BA.debugLine="Printer1.WriteString(\"Ruta: \" & l_ruta.Text & CRL"; parent._printer1._writestring /*String*/ ("Ruta: "+parent._l_ruta.getText()+parent.__c.CRLF); - //BA.debugLineNum = 3119;BA.debugLine="Printer1.WriteString(\"Usuario: \" & Subs.dameUsuar"; + //BA.debugLineNum = 3362;BA.debugLine="Printer1.WriteString(\"Usuario: \" & Subs.dameUsuar"; parent._printer1._writestring /*String*/ ("Usuario: "+parent._subs._dameusuariodedb /*String*/ (ba)+parent.__c.CRLF); - //BA.debugLineNum = 3121;BA.debugLine="Printer1.WriteString(\"---------------------------"; + //BA.debugLineNum = 3364;BA.debugLine="Printer1.WriteString(\"---------------------------"; parent._printer1._writestring /*String*/ ("--------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 3122;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 3365;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 39: @@ -842,7 +886,7 @@ this.state = 41; case 41: //C this.state = 42; - //BA.debugLineNum = 3123;BA.debugLine="For i = 0 To c.RowCount - 1"; + //BA.debugLineNum = 3366;BA.debugLine="For i = 0 To c.RowCount - 1"; if (true) break; case 42: @@ -869,17 +913,17 @@ if (true) break; case 44: //C this.state = 45; - //BA.debugLineNum = 3124;BA.debugLine="c.Position = i"; + //BA.debugLineNum = 3367;BA.debugLine="c.Position = i"; parent._c.setPosition(_i); - //BA.debugLineNum = 3126;BA.debugLine="Printer1.WriteString(\"-----------INVENTARIO----"; + //BA.debugLineNum = 3369;BA.debugLine="Printer1.WriteString(\"-----------INVENTARIO----"; parent._printer1._writestring /*String*/ ("-----------INVENTARIO-----------"+parent.__c.CRLF); - //BA.debugLineNum = 3127;BA.debugLine="Printer1.WriteString(\"-------------------------"; + //BA.debugLineNum = 3370;BA.debugLine="Printer1.WriteString(\"-------------------------"; parent._printer1._writestring /*String*/ ("--------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 3128;BA.debugLine="Printer1.WriteString(\"Cant. Producto\" & C"; + //BA.debugLineNum = 3371;BA.debugLine="Printer1.WriteString(\"Cant. Producto\" & C"; parent._printer1._writestring /*String*/ ("Cant. Producto"+parent.__c.CRLF); - //BA.debugLineNum = 3129;BA.debugLine="Printer1.WriteString(\"-------------------------"; + //BA.debugLineNum = 3372;BA.debugLine="Printer1.WriteString(\"-------------------------"; parent._printer1._writestring /*String*/ ("------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 3130;BA.debugLine="For i=0 To c.RowCount -1"; + //BA.debugLineNum = 3373;BA.debugLine="For i=0 To c.RowCount -1"; if (true) break; case 45: @@ -906,19 +950,19 @@ if (true) break; case 47: //C this.state = 48; - //BA.debugLineNum = 3131;BA.debugLine="c.Position=i"; + //BA.debugLineNum = 3374;BA.debugLine="c.Position=i"; parent._c.setPosition(_i); - //BA.debugLineNum = 3134;BA.debugLine="Printer1.Justify = 0"; + //BA.debugLineNum = 3377;BA.debugLine="Printer1.Justify = 0"; parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 3135;BA.debugLine="Printer1.WriteString( (c.GetString(\"HVD_CANT\")"; + //BA.debugLineNum = 3378;BA.debugLine="Printer1.WriteString( (c.GetString(\"HVD_CANT\")"; parent._printer1._writestring /*String*/ ((parent._c.GetString("HVD_CANT"))+"- "); - //BA.debugLineNum = 3136;BA.debugLine="Printer1.Justify = 0"; + //BA.debugLineNum = 3379;BA.debugLine="Printer1.Justify = 0"; parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 3137;BA.debugLine="Dim firstChar As String = c.GetString(\"HVD_PRO"; + //BA.debugLineNum = 3380;BA.debugLine="Dim firstChar As String = c.GetString(\"HVD_PRO"; _firstchar = parent._c.GetString("HVD_PRONOMBRE").substring((int) (0),(int) (1)); - //BA.debugLineNum = 3138;BA.debugLine="Dim productoinven As String"; + //BA.debugLineNum = 3381;BA.debugLine="Dim productoinven As String"; _productoinven = ""; - //BA.debugLineNum = 3141;BA.debugLine="If Asc(firstChar) >= Asc(\"0\") And Asc(firstCha"; + //BA.debugLineNum = 3384;BA.debugLine="If Asc(firstChar) >= Asc(\"0\") And Asc(firstCha"; if (true) break; case 48: @@ -933,14 +977,14 @@ this.state = 52; case 50: //C this.state = 53; - //BA.debugLineNum = 3143;BA.debugLine="productoinven = c.GetString(\"HVD_PRONOMBRE\")."; + //BA.debugLineNum = 3386;BA.debugLine="productoinven = c.GetString(\"HVD_PRONOMBRE\")."; _productoinven = parent._c.GetString("HVD_PRONOMBRE").substring((int) (4)); if (true) break; case 52: //C this.state = 53; - //BA.debugLineNum = 3146;BA.debugLine="productoinven = c.GetString(\"HVD_PRONOMBRE\")"; + //BA.debugLineNum = 3389;BA.debugLine="productoinven = c.GetString(\"HVD_PRONOMBRE\")"; _productoinven = parent._c.GetString("HVD_PRONOMBRE"); if (true) break; @@ -948,11 +992,11 @@ case 53: //C this.state = 64; ; - //BA.debugLineNum = 3150;BA.debugLine="Printer1.WriteString(productoinven)"; + //BA.debugLineNum = 3393;BA.debugLine="Printer1.WriteString(productoinven)"; parent._printer1._writestring /*String*/ (_productoinven); - //BA.debugLineNum = 3151;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; + //BA.debugLineNum = 3394;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 3152;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; + //BA.debugLineNum = 3395;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); if (true) break; if (true) break; @@ -974,30 +1018,30 @@ case 56: //C this.state = -1; ; - //BA.debugLineNum = 3159;BA.debugLine="c.Close"; + //BA.debugLineNum = 3402;BA.debugLine="c.Close"; parent._c.Close(); - //BA.debugLineNum = 3161;BA.debugLine="Dim sumainv As Cursor = Starter.skmt.ExecQuery(\"S"; + //BA.debugLineNum = 3404;BA.debugLine="Dim sumainv As Cursor = Starter.skmt.ExecQuery(\"S"; _sumainv = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _sumainv = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(HVD_CANT) AS CANTIDAD FROM HIST_VENTAS WHERE HVD_CODPROMO <> HVD_PROID"))); - //BA.debugLineNum = 3162;BA.debugLine="sumainv.Position = 0"; + //BA.debugLineNum = 3405;BA.debugLine="sumainv.Position = 0"; _sumainv.setPosition((int) (0)); - //BA.debugLineNum = 3164;BA.debugLine="Printer1.WriteString(\"---------------------------"; + //BA.debugLineNum = 3407;BA.debugLine="Printer1.WriteString(\"---------------------------"; parent._printer1._writestring /*String*/ ("------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 3165;BA.debugLine="Printer1.WriteString(\"Total piezas: \" & sumainv.G"; + //BA.debugLineNum = 3408;BA.debugLine="Printer1.WriteString(\"Total piezas: \" & sumainv.G"; parent._printer1._writestring /*String*/ ("Total piezas: "+_sumainv.GetString("CANTIDAD")+parent.__c.CRLF); - //BA.debugLineNum = 3166;BA.debugLine="Printer1.WriteString(\"---------------------------"; + //BA.debugLineNum = 3409;BA.debugLine="Printer1.WriteString(\"---------------------------"; parent._printer1._writestring /*String*/ ("------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 3167;BA.debugLine="Printer1.Justify = 0"; + //BA.debugLineNum = 3410;BA.debugLine="Printer1.Justify = 0"; parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 3168;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; + //BA.debugLineNum = 3411;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 3169;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; + //BA.debugLineNum = 3412;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 3170;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; + //BA.debugLineNum = 3413;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 3171;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; + //BA.debugLineNum = 3414;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 3172;BA.debugLine="Sleep(1000)"; + //BA.debugLineNum = 3415;BA.debugLine="Sleep(1000)"; parent.__c.Sleep(ba,this,(int) (1000)); this.state = 65; return; @@ -1005,11 +1049,11 @@ case 65: //C this.state = -1; ; - //BA.debugLineNum = 3173;BA.debugLine="Printer1.DisConnect"; + //BA.debugLineNum = 3416;BA.debugLine="Printer1.DisConnect"; parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 3174;BA.debugLine="ProgressDialogHide"; + //BA.debugLineNum = 3417;BA.debugLine="ProgressDialogHide"; parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 3175;BA.debugLine="End Sub"; + //BA.debugLineNum = 3418;BA.debugLine="End Sub"; if (true) break; } @@ -1048,36 +1092,36 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 3179;BA.debugLine="Dim totalentrega As Int"; + //BA.debugLineNum = 3422;BA.debugLine="Dim totalentrega As Int"; _totalentrega = 0; - //BA.debugLineNum = 3180;BA.debugLine="Dim totalrechazo As Int"; + //BA.debugLineNum = 3423;BA.debugLine="Dim totalrechazo As Int"; _totalrechazo = 0; - //BA.debugLineNum = 3181;BA.debugLine="Dim totalpiezas As Int"; + //BA.debugLineNum = 3424;BA.debugLine="Dim totalpiezas As Int"; _totalpiezas = 0; - //BA.debugLineNum = 3182;BA.debugLine="Dim sDate, sTime As String"; + //BA.debugLineNum = 3425;BA.debugLine="Dim sDate, sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 3183;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; + //BA.debugLineNum = 3426;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 3184;BA.debugLine="c.Position=0"; + //BA.debugLineNum = 3427;BA.debugLine="c.Position=0"; parent._c.setPosition((int) (0)); - //BA.debugLineNum = 3185;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; + //BA.debugLineNum = 3428;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; parent._usuario = parent._c.GetString("USUARIO"); - //BA.debugLineNum = 3187;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; + //BA.debugLineNum = 3430;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 3188;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; + //BA.debugLineNum = 3431;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; parent.__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 3189;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 3432;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; _sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 3190;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; + //BA.debugLineNum = 3433;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; _stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 3191;BA.debugLine="c.Close"; + //BA.debugLineNum = 3434;BA.debugLine="c.Close"; parent._c.Close(); - //BA.debugLineNum = 3197;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; + //BA.debugLineNum = 3440;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); - //BA.debugLineNum = 3198;BA.debugLine="Printer1.DisConnect"; + //BA.debugLineNum = 3441;BA.debugLine="Printer1.DisConnect"; parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 3199;BA.debugLine="If Not(Printer1.IsConnected) Then"; + //BA.debugLineNum = 3442;BA.debugLine="If Not(Printer1.IsConnected) Then"; if (true) break; case 1: @@ -1092,11 +1136,11 @@ this.state = 21; case 3: //C this.state = 4; - //BA.debugLineNum = 3201;BA.debugLine="Printer1.Connect"; + //BA.debugLineNum = 3444;BA.debugLine="Printer1.Connect"; parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 3202;BA.debugLine="Private cont As Int = 0"; + //BA.debugLineNum = 3445;BA.debugLine="Private cont As Int = 0"; _cont = (int) (0); - //BA.debugLineNum = 3203;BA.debugLine="Do While Not(impresoraConectada)"; + //BA.debugLineNum = 3446;BA.debugLine="Do While Not(impresoraConectada)"; if (true) break; case 4: @@ -1111,7 +1155,7 @@ if (true) break; case 6: //C this.state = 7; - //BA.debugLineNum = 3204;BA.debugLine="Sleep(1000)"; + //BA.debugLineNum = 3447;BA.debugLine="Sleep(1000)"; parent.__c.Sleep(ba,this,(int) (1000)); this.state = 53; return; @@ -1119,9 +1163,9 @@ case 53: //C this.state = 7; ; - //BA.debugLineNum = 3206;BA.debugLine="cont = cont + 1"; + //BA.debugLineNum = 3449;BA.debugLine="cont = cont + 1"; _cont = (int) (_cont+1); - //BA.debugLineNum = 3207;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de"; + //BA.debugLineNum = 3450;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de"; if (true) break; case 7: @@ -1141,7 +1185,7 @@ case 12: //C this.state = 13; ; - //BA.debugLineNum = 3208;BA.debugLine="If cont > 3 Then impresoraConectada = True"; + //BA.debugLineNum = 3451;BA.debugLine="If cont > 3 Then impresoraConectada = True"; if (true) break; case 13: @@ -1167,7 +1211,7 @@ case 19: //C this.state = 38; ; - //BA.debugLineNum = 3210;BA.debugLine="Sleep(500)"; + //BA.debugLineNum = 3453;BA.debugLine="Sleep(500)"; parent.__c.Sleep(ba,this,(int) (500)); this.state = 54; return; @@ -1175,18 +1219,18 @@ case 54: //C this.state = 38; ; - //BA.debugLineNum = 3211;BA.debugLine="impresoraConectada = False"; + //BA.debugLineNum = 3454;BA.debugLine="impresoraConectada = False"; parent._impresoraconectada = parent.__c.False; if (true) break; case 21: //C this.state = 22; - //BA.debugLineNum = 3214;BA.debugLine="Printer1.Connect"; + //BA.debugLineNum = 3457;BA.debugLine="Printer1.Connect"; parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 3215;BA.debugLine="Private cont As Int = 0"; + //BA.debugLineNum = 3458;BA.debugLine="Private cont As Int = 0"; _cont = (int) (0); - //BA.debugLineNum = 3216;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; + //BA.debugLineNum = 3459;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; if (true) break; case 22: @@ -1201,7 +1245,7 @@ if (true) break; case 24: //C this.state = 25; - //BA.debugLineNum = 3217;BA.debugLine="Sleep(1000)"; + //BA.debugLineNum = 3460;BA.debugLine="Sleep(1000)"; parent.__c.Sleep(ba,this,(int) (1000)); this.state = 55; return; @@ -1209,9 +1253,9 @@ case 55: //C this.state = 25; ; - //BA.debugLineNum = 3219;BA.debugLine="cont = cont + 1"; + //BA.debugLineNum = 3462;BA.debugLine="cont = cont + 1"; _cont = (int) (_cont+1); - //BA.debugLineNum = 3220;BA.debugLine="If cont = 2 Then Printer1.Connect"; + //BA.debugLineNum = 3463;BA.debugLine="If cont = 2 Then Printer1.Connect"; if (true) break; case 25: @@ -1231,7 +1275,7 @@ case 30: //C this.state = 31; ; - //BA.debugLineNum = 3221;BA.debugLine="If cont > 3 Then impresoraConectada = True"; + //BA.debugLineNum = 3464;BA.debugLine="If cont > 3 Then impresoraConectada = True"; if (true) break; case 31: @@ -1257,7 +1301,7 @@ case 37: //C this.state = 38; ; - //BA.debugLineNum = 3223;BA.debugLine="Sleep(500)"; + //BA.debugLineNum = 3466;BA.debugLine="Sleep(500)"; parent.__c.Sleep(ba,this,(int) (500)); this.state = 56; return; @@ -1265,7 +1309,7 @@ case 56: //C this.state = 38; ; - //BA.debugLineNum = 3224;BA.debugLine="impresoraConectada = False"; + //BA.debugLineNum = 3467;BA.debugLine="impresoraConectada = False"; parent._impresoraconectada = parent.__c.False; if (true) break; @@ -1273,22 +1317,22 @@ case 38: //C this.state = 39; ; - //BA.debugLineNum = 3227;BA.debugLine="TAMANO = 0"; + //BA.debugLineNum = 3470;BA.debugLine="TAMANO = 0"; parent._tamano = (int) (0); - //BA.debugLineNum = 3228;BA.debugLine="ESPACIO = 28"; + //BA.debugLineNum = 3471;BA.debugLine="ESPACIO = 28"; parent._espacio = (int) (28); - //BA.debugLineNum = 3229;BA.debugLine="BLANCO = \" \""; + //BA.debugLineNum = 3472;BA.debugLine="BLANCO = \" \""; parent._blanco = " "; - //BA.debugLineNum = 3231;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" & CRL"; + //BA.debugLineNum = 3474;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" & CRL"; parent._printer1._writestring /*String*/ ("Izca Distribuciones"+parent.__c.CRLF); - //BA.debugLineNum = 3232;BA.debugLine="Printer1.WriteString(sDate & \" \" &sTime & CRLF)"; + //BA.debugLineNum = 3475;BA.debugLine="Printer1.WriteString(sDate & \" \" &sTime & CRLF)"; parent._printer1._writestring /*String*/ (_sdate+" "+_stime+parent.__c.CRLF); - //BA.debugLineNum = 3234;BA.debugLine="Printer1.WriteString(\"------------ENTREGA--------"; + //BA.debugLineNum = 3477;BA.debugLine="Printer1.WriteString(\"------------ENTREGA--------"; parent._printer1._writestring /*String*/ ("------------ENTREGA-----------"+parent.__c.CRLF); - //BA.debugLineNum = 3235;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; + //BA.debugLineNum = 3478;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; parent._c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, IFNULL(SUM(HVD_CANT), 0) AS HVD_CANT, (IFNULL(SUM(HVD_CANT), 0) - IFNULL(SUM(HVD_RECHAZOCANT), 0)) as total, HVD_PROID from HIST_VENTAS where HVD_PROID <> HVD_CODPROMO GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 3236;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 3479;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 39: @@ -1301,7 +1345,7 @@ this.state = 41; case 41: //C this.state = 42; - //BA.debugLineNum = 3237;BA.debugLine="For i = 0 To c.RowCount - 1"; + //BA.debugLineNum = 3480;BA.debugLine="For i = 0 To c.RowCount - 1"; if (true) break; case 42: @@ -1328,14 +1372,14 @@ if (true) break; case 44: //C this.state = 45; - //BA.debugLineNum = 3238;BA.debugLine="c.Position = i"; + //BA.debugLineNum = 3481;BA.debugLine="c.Position = i"; parent._c.setPosition(_i); - //BA.debugLineNum = 3241;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 3484;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; _c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 3242;BA.debugLine="Private resta As String = 0"; + //BA.debugLineNum = 3485;BA.debugLine="Private resta As String = 0"; _resta = BA.NumberToString(0); - //BA.debugLineNum = 3244;BA.debugLine="If c3.RowCount > 0 Then"; + //BA.debugLineNum = 3487;BA.debugLine="If c3.RowCount > 0 Then"; if (true) break; case 45: @@ -1350,16 +1394,16 @@ this.state = 49; case 47: //C this.state = 50; - //BA.debugLineNum = 3245;BA.debugLine="c3.Position = 0"; + //BA.debugLineNum = 3488;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); - //BA.debugLineNum = 3246;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; + //BA.debugLineNum = 3489;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; _resta = _c3.GetString("PE_CANT"); if (true) break; case 49: //C this.state = 50; - //BA.debugLineNum = 3248;BA.debugLine="resta = 0"; + //BA.debugLineNum = 3491;BA.debugLine="resta = 0"; _resta = BA.NumberToString(0); if (true) break; @@ -1367,31 +1411,31 @@ case 50: //C this.state = 58; ; - //BA.debugLineNum = 3250;BA.debugLine="Printer1.Justify = 0"; + //BA.debugLineNum = 3493;BA.debugLine="Printer1.Justify = 0"; parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 3251;BA.debugLine="Printer1.WriteString(c.GetString(\"HVD_PRONOMBRE"; + //BA.debugLineNum = 3494;BA.debugLine="Printer1.WriteString(c.GetString(\"HVD_PRONOMBRE"; parent._printer1._writestring /*String*/ (parent._c.GetString("HVD_PRONOMBRE")+parent.__c.CRLF); - //BA.debugLineNum = 3252;BA.debugLine="Printer1.Justify = 0"; + //BA.debugLineNum = 3495;BA.debugLine="Printer1.Justify = 0"; parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 3253;BA.debugLine="Printer1.WriteString(\"TP: \"& c.GetInt(\"HVD_CANT"; + //BA.debugLineNum = 3496;BA.debugLine="Printer1.WriteString(\"TP: \"& c.GetInt(\"HVD_CANT"; parent._printer1._writestring /*String*/ ("TP: "+BA.NumberToString(parent._c.GetInt("HVD_CANT"))+" "); - //BA.debugLineNum = 3254;BA.debugLine="Printer1.Justify = 1"; + //BA.debugLineNum = 3497;BA.debugLine="Printer1.Justify = 1"; parent._printer1._setjustify((int) (1)); - //BA.debugLineNum = 3255;BA.debugLine="Printer1.WriteString(\" TE: \" & (c.GetInt(\"tot"; + //BA.debugLineNum = 3498;BA.debugLine="Printer1.WriteString(\" TE: \" & (c.GetInt(\"tot"; parent._printer1._writestring /*String*/ (" TE: "+BA.NumberToString((parent._c.GetInt("total")+(double)(Double.parseDouble(_resta))))+" "); - //BA.debugLineNum = 3256;BA.debugLine="Printer1.Justify = 2"; + //BA.debugLineNum = 3499;BA.debugLine="Printer1.Justify = 2"; parent._printer1._setjustify((int) (2)); - //BA.debugLineNum = 3257;BA.debugLine="Printer1.WriteString(\" TR: \" & (c.GetInt(\"HVD"; + //BA.debugLineNum = 3500;BA.debugLine="Printer1.WriteString(\" TR: \" & (c.GetInt(\"HVD"; parent._printer1._writestring /*String*/ (" TR: "+BA.NumberToString((parent._c.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta))))+" "); - //BA.debugLineNum = 3258;BA.debugLine="Printer1.Justify = 0"; + //BA.debugLineNum = 3501;BA.debugLine="Printer1.Justify = 0"; parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 3259;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; + //BA.debugLineNum = 3502;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 3261;BA.debugLine="totalentrega = totalentrega + c.GetInt(\"total\")"; + //BA.debugLineNum = 3504;BA.debugLine="totalentrega = totalentrega + c.GetInt(\"total\")"; _totalentrega = (int) (_totalentrega+parent._c.GetInt("total")+(double)(Double.parseDouble(_resta))); - //BA.debugLineNum = 3262;BA.debugLine="totalrechazo = totalrechazo + c.GetInt(\"HVD_REC"; + //BA.debugLineNum = 3505;BA.debugLine="totalrechazo = totalrechazo + c.GetInt(\"HVD_REC"; _totalrechazo = (int) (_totalrechazo+parent._c.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta))); - //BA.debugLineNum = 3263;BA.debugLine="totalpiezas = totalpiezas + c.GetInt(\"HVD_CANT\""; + //BA.debugLineNum = 3506;BA.debugLine="totalpiezas = totalpiezas + c.GetInt(\"HVD_CANT\""; _totalpiezas = (int) (_totalpiezas+parent._c.GetInt("HVD_CANT")); if (true) break; if (true) break; @@ -1406,31 +1450,31 @@ case 52: //C this.state = -1; ; - //BA.debugLineNum = 3268;BA.debugLine="c.Close"; + //BA.debugLineNum = 3511;BA.debugLine="c.Close"; parent._c.Close(); - //BA.debugLineNum = 3269;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; + //BA.debugLineNum = 3512;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 3270;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; + //BA.debugLineNum = 3513;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 3271;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; + //BA.debugLineNum = 3514;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 3273;BA.debugLine="Printer1.WriteString(\"Total Piezas: \"& totalpiez"; + //BA.debugLineNum = 3516;BA.debugLine="Printer1.WriteString(\"Total Piezas: \"& totalpiez"; parent._printer1._writestring /*String*/ ("Total Piezas: "+BA.NumberToString(_totalpiezas)+parent.__c.CRLF); - //BA.debugLineNum = 3274;BA.debugLine="Printer1.WriteString(\"Total Entrega: \"& totalent"; + //BA.debugLineNum = 3517;BA.debugLine="Printer1.WriteString(\"Total Entrega: \"& totalent"; parent._printer1._writestring /*String*/ ("Total Entrega: "+BA.NumberToString(_totalentrega)+parent.__c.CRLF); - //BA.debugLineNum = 3275;BA.debugLine="Printer1.WriteString(\"Total Rechazo: \"& totalrec"; + //BA.debugLineNum = 3518;BA.debugLine="Printer1.WriteString(\"Total Rechazo: \"& totalrec"; parent._printer1._writestring /*String*/ ("Total Rechazo: "+BA.NumberToString(_totalrechazo)+parent.__c.CRLF); - //BA.debugLineNum = 3278;BA.debugLine="Printer1.WriteString(\"---------------------------"; + //BA.debugLineNum = 3521;BA.debugLine="Printer1.WriteString(\"---------------------------"; parent._printer1._writestring /*String*/ ("------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 3279;BA.debugLine="Printer1.WriteString(\"---------------------------"; + //BA.debugLineNum = 3522;BA.debugLine="Printer1.WriteString(\"---------------------------"; parent._printer1._writestring /*String*/ ("------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 3280;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; + //BA.debugLineNum = 3523;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 3281;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; + //BA.debugLineNum = 3524;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 3282;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; + //BA.debugLineNum = 3525;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 3283;BA.debugLine="Sleep(1000)"; + //BA.debugLineNum = 3526;BA.debugLine="Sleep(1000)"; parent.__c.Sleep(ba,this,(int) (1000)); this.state = 59; return; @@ -1438,11 +1482,11 @@ case 59: //C this.state = -1; ; - //BA.debugLineNum = 3284;BA.debugLine="Printer1.DisConnect"; + //BA.debugLineNum = 3527;BA.debugLine="Printer1.DisConnect"; parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 3286;BA.debugLine="ProgressDialogHide"; + //BA.debugLineNum = 3529;BA.debugLine="ProgressDialogHide"; parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 3287;BA.debugLine="End Sub"; + //BA.debugLineNum = 3530;BA.debugLine="End Sub"; if (true) break; } @@ -1450,10 +1494,10 @@ if (true) break; } } public String _b_mapa_click() throws Exception{ - //BA.debugLineNum = 2298;BA.debugLine="Sub b_mapa_Click"; - //BA.debugLineNum = 2300;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; + //BA.debugLineNum = 2621;BA.debugLine="Sub b_mapa_Click"; + //BA.debugLineNum = 2623;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; _b4xpages._showpage /*String*/ (ba,"mapas"); - //BA.debugLineNum = 2301;BA.debugLine="End Sub"; + //BA.debugLineNum = 2624;BA.debugLine="End Sub"; return ""; } public String _b_pc_env_click() throws Exception{ @@ -1473,106 +1517,106 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _k = null; String[] _fechatabulador = null; String _fechatabulador3 = ""; int _restado = 0; - //BA.debugLineNum = 3527;BA.debugLine="Private Sub B_PC_ENV_Click"; - //BA.debugLineNum = 3528;BA.debugLine="Dim sDate, sTime As String"; + //BA.debugLineNum = 3770;BA.debugLine="Private Sub B_PC_ENV_Click"; + //BA.debugLineNum = 3771;BA.debugLine="Dim sDate, sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 3529;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; + //BA.debugLineNum = 3772;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; __c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 3530;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; + //BA.debugLineNum = 3773;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; __c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 3531;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 3774;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; _sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 3532;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; + //BA.debugLineNum = 3775;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; _stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 3535;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; + //BA.debugLineNum = 3778;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; { final int step6 = 1; final int limit6 = (int) (_clv_pick_ciego._getsize()-1); _i = (int) (0) ; for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 3537;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; + //BA.debugLineNum = 3780;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; _itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _itempanel = _clv_pick_ciego._getpanel(_i); - //BA.debugLineNum = 3538;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; + //BA.debugLineNum = 3781;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; _innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _innerpanel = _itempanel.GetView((int) (0)); - //BA.debugLineNum = 3539;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; + //BA.debugLineNum = 3782;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; _edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); _edittext = _innerpanel.GetView((int) (1)); - //BA.debugLineNum = 3540;BA.debugLine="Dim inputText As String = editText.As(EditText)."; + //BA.debugLineNum = 3783;BA.debugLine="Dim inputText As String = editText.As(EditText)."; _inputtext = ((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_edittext.getObject()))).getText(); - //BA.debugLineNum = 3541;BA.debugLine="Dim labelcant As B4XView = innerPanel.GetView(2)"; + //BA.debugLineNum = 3784;BA.debugLine="Dim labelcant As B4XView = innerPanel.GetView(2)"; _labelcant = new anywheresoftware.b4a.objects.B4XViewWrapper(); _labelcant = _innerpanel.GetView((int) (2)); - //BA.debugLineNum = 3542;BA.debugLine="Dim cantidadrestar As String = labelcant.As(Labe"; + //BA.debugLineNum = 3785;BA.debugLine="Dim cantidadrestar As String = labelcant.As(Labe"; _cantidadrestar = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_labelcant.getObject()))).getText(); - //BA.debugLineNum = 3545;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; + //BA.debugLineNum = 3788;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; if (__c.Regex.IsMatch("^[0]+$",_inputtext) || (_inputtext).equals("")) { - //BA.debugLineNum = 3546;BA.debugLine="inputText = \"0\""; + //BA.debugLineNum = 3789;BA.debugLine="inputText = \"0\""; _inputtext = "0"; }; - //BA.debugLineNum = 3550;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; + //BA.debugLineNum = 3793;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; _idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _idlabel = _innerpanel.GetView((int) (0)); - //BA.debugLineNum = 3551;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; + //BA.debugLineNum = 3794;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; _idtext = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_idlabel.getObject()))).getText(); - //BA.debugLineNum = 3552;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; + //BA.debugLineNum = 3795;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; _idparts = __c.Regex.Split(__c.CRLF,_idtext); - //BA.debugLineNum = 3554;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; + //BA.debugLineNum = 3797;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; _f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); - //BA.debugLineNum = 3555;BA.debugLine="f.Position=0"; + //BA.debugLineNum = 3798;BA.debugLine="f.Position=0"; _f.setPosition((int) (0)); - //BA.debugLineNum = 3557;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; + //BA.debugLineNum = 3800;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; _a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 3558;BA.debugLine="If a.RowCount>0 Then"; + //BA.debugLineNum = 3801;BA.debugLine="If a.RowCount>0 Then"; if (_a.getRowCount()>0) { - //BA.debugLineNum = 3559;BA.debugLine="a.Position=0"; + //BA.debugLineNum = 3802;BA.debugLine="a.Position=0"; _a.setPosition((int) (0)); }; - //BA.debugLineNum = 3561;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; + //BA.debugLineNum = 3804;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; _k = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _k = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS"))); - //BA.debugLineNum = 3562;BA.debugLine="k.Position = 0"; + //BA.debugLineNum = 3805;BA.debugLine="k.Position = 0"; _k.setPosition((int) (0)); - //BA.debugLineNum = 3563;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; + //BA.debugLineNum = 3806;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; _fechatabulador = __c.Regex.Split(" ",_k.GetString("HVD_FECHA")); - //BA.debugLineNum = 3565;BA.debugLine="Dim fechatabulador3 As String = fechatabulador(0"; + //BA.debugLineNum = 3808;BA.debugLine="Dim fechatabulador3 As String = fechatabulador(0"; _fechatabulador3 = _fechatabulador[(int) (0)]; - //BA.debugLineNum = 3566;BA.debugLine="k.Close"; + //BA.debugLineNum = 3809;BA.debugLine="k.Close"; _k.Close(); - //BA.debugLineNum = 3567;BA.debugLine="If inputText <> \"\" Then"; + //BA.debugLineNum = 3810;BA.debugLine="If inputText <> \"\" Then"; if ((_inputtext).equals("") == false) { - //BA.debugLineNum = 3568;BA.debugLine="Log(idParts(0))"; -__c.LogImpl("816711721",_idparts[(int) (0)],0); - //BA.debugLineNum = 3569;BA.debugLine="Log(cantidadrestar)"; -__c.LogImpl("816711722",_cantidadrestar,0); - //BA.debugLineNum = 3570;BA.debugLine="Log(inputText)"; -__c.LogImpl("816711723",_inputtext,0); - //BA.debugLineNum = 3571;BA.debugLine="Dim restado As Int = cantidadrestar - inputText"; + //BA.debugLineNum = 3811;BA.debugLine="Log(idParts(0))"; +__c.LogImpl("452428841",_idparts[(int) (0)],0); + //BA.debugLineNum = 3812;BA.debugLine="Log(cantidadrestar)"; +__c.LogImpl("452428842",_cantidadrestar,0); + //BA.debugLineNum = 3813;BA.debugLine="Log(inputText)"; +__c.LogImpl("452428843",_inputtext,0); + //BA.debugLineNum = 3814;BA.debugLine="Dim restado As Int = cantidadrestar - inputText"; _restado = (int) ((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))); - //BA.debugLineNum = 3572;BA.debugLine="Log(cantidadrestar - inputText)"; -__c.LogImpl("816711725",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0); - //BA.debugLineNum = 3573;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; + //BA.debugLineNum = 3815;BA.debugLine="Log(cantidadrestar - inputText)"; +__c.LogImpl("452428845",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0); + //BA.debugLineNum = 3816;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); - //BA.debugLineNum = 3574;BA.debugLine="If c.RowCount = 0 Then"; + //BA.debugLineNum = 3817;BA.debugLine="If c.RowCount = 0 Then"; if (_c.getRowCount()==0) { - //BA.debugLineNum = 3578;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C"; + //BA.debugLineNum = 3821;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA, RESTA) VALUES(?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,_a.GetString("ID_ALMACEN"),_f.GetString("RUTAA"),_fechatabulador3+" "+_stime,BA.NumberToString(_restado)})); }else { - //BA.debugLineNum = 3583;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO"; + //BA.debugLineNum = 3826;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,BA.NumberToString(_restado),_idparts[(int) (0)]})); }; }; - //BA.debugLineNum = 3587;BA.debugLine="f.Close"; + //BA.debugLineNum = 3830;BA.debugLine="f.Close"; _f.Close(); - //BA.debugLineNum = 3588;BA.debugLine="a.Close"; + //BA.debugLineNum = 3831;BA.debugLine="a.Close"; _a.Close(); - //BA.debugLineNum = 3589;BA.debugLine="Log(\"Processed item \" & i)"; -__c.LogImpl("816711742","Processed item "+BA.NumberToString(_i),0); + //BA.debugLineNum = 3832;BA.debugLine="Log(\"Processed item \" & i)"; +__c.LogImpl("452428862","Processed item "+BA.NumberToString(_i),0); } }; - //BA.debugLineNum = 3592;BA.debugLine="End Sub"; + //BA.debugLineNum = 3835;BA.debugLine="End Sub"; return ""; } public String _b_rechazos_click() throws Exception{ @@ -1581,123 +1625,123 @@ int _i = 0; String _itemtext = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; String _resta = ""; - //BA.debugLineNum = 2649;BA.debugLine="Private Sub b_rechazos_Click"; - //BA.debugLineNum = 2650;BA.debugLine="Dim label1 As Label"; + //BA.debugLineNum = 2972;BA.debugLine="Private Sub b_rechazos_Click"; + //BA.debugLineNum = 2973;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 2651;BA.debugLine="label1 = lv_prod_Prin.SingleLineLayout.Label"; + //BA.debugLineNum = 2974;BA.debugLine="label1 = lv_prod_Prin.SingleLineLayout.Label"; _label1 = _lv_prod_prin.getSingleLineLayout().Label; - //BA.debugLineNum = 2652;BA.debugLine="label1.TextSize = 14"; + //BA.debugLineNum = 2975;BA.debugLine="label1.TextSize = 14"; _label1.setTextSize((float) (14)); - //BA.debugLineNum = 2653;BA.debugLine="p_prod.Width = Root.Width"; + //BA.debugLineNum = 2976;BA.debugLine="p_prod.Width = Root.Width"; _p_prod.setWidth(_root.getWidth()); - //BA.debugLineNum = 2654;BA.debugLine="p_prod.Height = Root.Height"; + //BA.debugLineNum = 2977;BA.debugLine="p_prod.Height = Root.Height"; _p_prod.setHeight(_root.getHeight()); - //BA.debugLineNum = 2657;BA.debugLine="b_regreso.Top = p_prod.Height - b_regreso.Height"; + //BA.debugLineNum = 2980;BA.debugLine="b_regreso.Top = p_prod.Height - b_regreso.Height"; _b_regreso.setTop((int) (_p_prod.getHeight()-_b_regreso.getHeight())); - //BA.debugLineNum = 2658;BA.debugLine="b_impresion_rec.Top = p_prod.Height - b_impresion"; + //BA.debugLineNum = 2981;BA.debugLine="b_impresion_rec.Top = p_prod.Height - b_impresion"; _b_impresion_rec.setTop((int) (_p_prod.getHeight()-_b_impresion_rec.getHeight())); - //BA.debugLineNum = 2660;BA.debugLine="p_prod.Visible = True"; + //BA.debugLineNum = 2983;BA.debugLine="p_prod.Visible = True"; _p_prod.setVisible(__c.True); - //BA.debugLineNum = 2661;BA.debugLine="p_prod.BringToFront"; + //BA.debugLineNum = 2984;BA.debugLine="p_prod.BringToFront"; _p_prod.BringToFront(); - //BA.debugLineNum = 2663;BA.debugLine="If l_ctast.Text = \"0\" Then"; + //BA.debugLineNum = 2986;BA.debugLine="If l_ctast.Text = \"0\" Then"; if ((_l_ctast.getText()).equals("0")) { - //BA.debugLineNum = 2664;BA.debugLine="b_impresion_rec.Enabled = True"; + //BA.debugLineNum = 2987;BA.debugLine="b_impresion_rec.Enabled = True"; _b_impresion_rec.setEnabled(__c.True); }else if((_l_ctast.getText()).equals("0") == false) { - //BA.debugLineNum = 2666;BA.debugLine="b_impresion_rec.Enabled = False"; + //BA.debugLineNum = 2989;BA.debugLine="b_impresion_rec.Enabled = False"; _b_impresion_rec.setEnabled(__c.False); }; - //BA.debugLineNum = 2670;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; + //BA.debugLineNum = 2993;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 2672;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C"; + //BA.debugLineNum = 2995;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C"; _lv_prod_prin.getSingleLineLayout().Label.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 2673;BA.debugLine="lv_prod_Prin.Clear"; + //BA.debugLineNum = 2996;BA.debugLine="lv_prod_Prin.Clear"; _lv_prod_prin.Clear(); - //BA.debugLineNum = 2674;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 2997;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 2675;BA.debugLine="For i = 0 To c.RowCount - 1"; + //BA.debugLineNum = 2998;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step19 = 1; final int limit19 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit19 ;_i = _i + step19 ) { - //BA.debugLineNum = 2676;BA.debugLine="c.Position = i"; + //BA.debugLineNum = 2999;BA.debugLine="c.Position = i"; _c.setPosition(_i); - //BA.debugLineNum = 2677;BA.debugLine="Dim itemText As String"; + //BA.debugLineNum = 3000;BA.debugLine="Dim itemText As String"; _itemtext = ""; - //BA.debugLineNum = 2679;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 3002;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; _c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' ")))); - //BA.debugLineNum = 2680;BA.debugLine="Private resta As String = 0"; + //BA.debugLineNum = 3003;BA.debugLine="Private resta As String = 0"; _resta = BA.NumberToString(0); - //BA.debugLineNum = 2682;BA.debugLine="If c3.RowCount > 0 Then"; + //BA.debugLineNum = 3005;BA.debugLine="If c3.RowCount > 0 Then"; if (_c3.getRowCount()>0) { - //BA.debugLineNum = 2683;BA.debugLine="c3.Position = 0"; + //BA.debugLineNum = 3006;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); - //BA.debugLineNum = 2684;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; + //BA.debugLineNum = 3007;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; _resta = _c3.GetString("PE_CANT"); }else { - //BA.debugLineNum = 2686;BA.debugLine="resta = 0"; + //BA.debugLineNum = 3009;BA.debugLine="resta = 0"; _resta = BA.NumberToString(0); }; - //BA.debugLineNum = 2688;BA.debugLine="If ( c.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; + //BA.debugLineNum = 3011;BA.debugLine="If ( c.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; if ((_c.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { }else { - //BA.debugLineNum = 2691;BA.debugLine="itemText = $\"${c.GetString(\"HVD_PRONOMBRE\")} $"; + //BA.debugLineNum = 3014;BA.debugLine="itemText = $\"${c.GetString(\"HVD_PRONOMBRE\")} $"; _itemtext = (""+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PRONOMBRE")))+" "+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inventario: "+__c.SmartStringFormatter("",(Object)((_c.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))))+""); - //BA.debugLineNum = 2692;BA.debugLine="lv_prod_Prin.AddSingleLine(itemText)"; + //BA.debugLineNum = 3015;BA.debugLine="lv_prod_Prin.AddSingleLine(itemText)"; _lv_prod_prin.AddSingleLine(BA.ObjectToCharSequence(_itemtext)); }; } }; }else { - //BA.debugLineNum = 2698;BA.debugLine="lv_prod_Prin.AddSingleLine(\"No hay datos disponi"; + //BA.debugLineNum = 3021;BA.debugLine="lv_prod_Prin.AddSingleLine(\"No hay datos disponi"; _lv_prod_prin.AddSingleLine(BA.ObjectToCharSequence("No hay datos disponibles.")); }; - //BA.debugLineNum = 2700;BA.debugLine="c.Close"; + //BA.debugLineNum = 3023;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 2703;BA.debugLine="End Sub"; + //BA.debugLineNum = 3026;BA.debugLine="End Sub"; return ""; } public String _b_regresa_click() throws Exception{ - //BA.debugLineNum = 2602;BA.debugLine="Sub B_REGRESA_Click"; - //BA.debugLineNum = 2603;BA.debugLine="Log(\"B_REGRESA_Click\")"; -__c.LogImpl("815466497","B_REGRESA_Click",0); - //BA.debugLineNum = 2604;BA.debugLine="BUSCA.Visible = False"; + //BA.debugLineNum = 2925;BA.debugLine="Sub B_REGRESA_Click"; + //BA.debugLineNum = 2926;BA.debugLine="Log(\"B_REGRESA_Click\")"; +__c.LogImpl("451183617","B_REGRESA_Click",0); + //BA.debugLineNum = 2927;BA.debugLine="BUSCA.Visible = False"; _busca.setVisible(__c.False); - //BA.debugLineNum = 2605;BA.debugLine="connecta.Visible = True"; + //BA.debugLineNum = 2928;BA.debugLine="connecta.Visible = True"; _connecta.setVisible(__c.True); - //BA.debugLineNum = 2606;BA.debugLine="trabajar.Visible = True"; + //BA.debugLineNum = 2929;BA.debugLine="trabajar.Visible = True"; _trabajar.setVisible(__c.True); - //BA.debugLineNum = 2607;BA.debugLine="B_CLIEPROD.Visible = True"; + //BA.debugLineNum = 2930;BA.debugLine="B_CLIEPROD.Visible = True"; _b_clieprod.setVisible(__c.True); - //BA.debugLineNum = 2608;BA.debugLine="Panel1.Visible = False"; + //BA.debugLineNum = 2931;BA.debugLine="Panel1.Visible = False"; _panel1.setVisible(__c.False); - //BA.debugLineNum = 2609;BA.debugLine="Btn_Ubicar_Ru.Visible=True"; + //BA.debugLineNum = 2932;BA.debugLine="Btn_Ubicar_Ru.Visible=True"; _btn_ubicar_ru.setVisible(__c.True); - //BA.debugLineNum = 2610;BA.debugLine="End Sub"; + //BA.debugLineNum = 2933;BA.debugLine="End Sub"; return ""; } public String _b_regreso_click() throws Exception{ - //BA.debugLineNum = 2705;BA.debugLine="Private Sub b_regreso_Click"; - //BA.debugLineNum = 2706;BA.debugLine="p_prod.Visible = False"; + //BA.debugLineNum = 3028;BA.debugLine="Private Sub b_regreso_Click"; + //BA.debugLineNum = 3029;BA.debugLine="p_prod.Visible = False"; _p_prod.setVisible(__c.False); - //BA.debugLineNum = 2707;BA.debugLine="End Sub"; + //BA.debugLineNum = 3030;BA.debugLine="End Sub"; return ""; } public String _b_tabulador_click() throws Exception{ - //BA.debugLineNum = 2623;BA.debugLine="Private Sub b_tabulador_Click"; - //BA.debugLineNum = 2624;BA.debugLine="If b_check.Visible = True Then"; + //BA.debugLineNum = 2946;BA.debugLine="Private Sub b_tabulador_Click"; + //BA.debugLineNum = 2947;BA.debugLine="If b_check.Visible = True Then"; if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 2625;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; + //BA.debugLineNum = 2948;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; __c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 2627;BA.debugLine="B4XPages.ShowPage(\"tabulador\")"; + //BA.debugLineNum = 2950;BA.debugLine="B4XPages.ShowPage(\"tabulador\")"; _b4xpages._showpage /*String*/ (ba,"tabulador"); }; - //BA.debugLineNum = 2629;BA.debugLine="End Sub"; + //BA.debugLineNum = 2952;BA.debugLine="End Sub"; return ""; } public String _b_terpc_click() throws Exception{ @@ -1723,502 +1767,389 @@ String _preciofull = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _faltantes = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _restadoanterior = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _sobrantes = null; - //BA.debugLineNum = 3291;BA.debugLine="Private Sub b_terpc_Click"; - //BA.debugLineNum = 3293;BA.debugLine="Dim sDate, sTime As String"; + //BA.debugLineNum = 3534;BA.debugLine="Private Sub b_terpc_Click"; + //BA.debugLineNum = 3536;BA.debugLine="Dim sDate, sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 3294;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; + //BA.debugLineNum = 3537;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; __c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 3295;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; + //BA.debugLineNum = 3538;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; __c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 3296;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 3539;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; _sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 3297;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; + //BA.debugLineNum = 3540;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; _stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 3299;BA.debugLine="Dim consecutivo As Int = 1000"; + //BA.debugLineNum = 3542;BA.debugLine="Dim consecutivo As Int = 1000"; _consecutivo = (int) (1000); - //BA.debugLineNum = 3300;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; + //BA.debugLineNum = 3543;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; { final int step7 = 1; final int limit7 = (int) (_clv_pick_ciego._getsize()-1); _i = (int) (0) ; for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 3302;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; + //BA.debugLineNum = 3545;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; _itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _itempanel = _clv_pick_ciego._getpanel(_i); - //BA.debugLineNum = 3303;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; + //BA.debugLineNum = 3546;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; _innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _innerpanel = _itempanel.GetView((int) (0)); - //BA.debugLineNum = 3304;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; + //BA.debugLineNum = 3547;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; _edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); _edittext = _innerpanel.GetView((int) (1)); - //BA.debugLineNum = 3305;BA.debugLine="Dim inputText As String = editText.As(EditText)."; + //BA.debugLineNum = 3548;BA.debugLine="Dim inputText As String = editText.As(EditText)."; _inputtext = ((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_edittext.getObject()))).getText(); - //BA.debugLineNum = 3306;BA.debugLine="Dim labelcant As B4XView = innerPanel.GetView(2)"; + //BA.debugLineNum = 3549;BA.debugLine="Dim labelcant As B4XView = innerPanel.GetView(2)"; _labelcant = new anywheresoftware.b4a.objects.B4XViewWrapper(); _labelcant = _innerpanel.GetView((int) (2)); - //BA.debugLineNum = 3307;BA.debugLine="Dim cantidadrestar As String = labelcant.As(Labe"; + //BA.debugLineNum = 3550;BA.debugLine="Dim cantidadrestar As String = labelcant.As(Labe"; _cantidadrestar = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_labelcant.getObject()))).getText(); - //BA.debugLineNum = 3310;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; + //BA.debugLineNum = 3553;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; if (__c.Regex.IsMatch("^[0]+$",_inputtext) || (_inputtext).equals("")) { - //BA.debugLineNum = 3311;BA.debugLine="inputText = \"0\""; + //BA.debugLineNum = 3554;BA.debugLine="inputText = \"0\""; _inputtext = "0"; }; - //BA.debugLineNum = 3315;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; + //BA.debugLineNum = 3558;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; _idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _idlabel = _innerpanel.GetView((int) (0)); - //BA.debugLineNum = 3316;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; + //BA.debugLineNum = 3559;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; _idtext = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_idlabel.getObject()))).getText(); - //BA.debugLineNum = 3317;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; + //BA.debugLineNum = 3560;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; _idparts = __c.Regex.Split(__c.CRLF,_idtext); - //BA.debugLineNum = 3319;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; + //BA.debugLineNum = 3562;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; _f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); - //BA.debugLineNum = 3320;BA.debugLine="f.Position=0"; + //BA.debugLineNum = 3563;BA.debugLine="f.Position=0"; _f.setPosition((int) (0)); - //BA.debugLineNum = 3322;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; + //BA.debugLineNum = 3565;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; _a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 3323;BA.debugLine="If a.RowCount>0 Then"; + //BA.debugLineNum = 3566;BA.debugLine="If a.RowCount>0 Then"; if (_a.getRowCount()>0) { - //BA.debugLineNum = 3324;BA.debugLine="a.Position=0"; + //BA.debugLineNum = 3567;BA.debugLine="a.Position=0"; _a.setPosition((int) (0)); }; - //BA.debugLineNum = 3326;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; + //BA.debugLineNum = 3569;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; _k = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _k = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS"))); - //BA.debugLineNum = 3327;BA.debugLine="k.Position = 0"; + //BA.debugLineNum = 3570;BA.debugLine="k.Position = 0"; _k.setPosition((int) (0)); - //BA.debugLineNum = 3328;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; + //BA.debugLineNum = 3571;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; _fechatabulador = __c.Regex.Split(" ",_k.GetString("HVD_FECHA")); - //BA.debugLineNum = 3330;BA.debugLine="Dim fechatabulador3 As String = fechatabulador(0"; + //BA.debugLineNum = 3573;BA.debugLine="Dim fechatabulador3 As String = fechatabulador(0"; _fechatabulador3 = _fechatabulador[(int) (0)]; - //BA.debugLineNum = 3331;BA.debugLine="k.Close"; + //BA.debugLineNum = 3574;BA.debugLine="k.Close"; _k.Close(); - //BA.debugLineNum = 3332;BA.debugLine="If inputText <> \"\" And inputText <> 0 Then"; + //BA.debugLineNum = 3575;BA.debugLine="If inputText <> \"\" And inputText <> 0 Then"; if ((_inputtext).equals("") == false && (_inputtext).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 3333;BA.debugLine="Log(\"IMPUT DIFERENTE DE CERO\")"; -__c.LogImpl("816646186","IMPUT DIFERENTE DE CERO",0); - //BA.debugLineNum = 3334;BA.debugLine="Log(idParts(0))"; -__c.LogImpl("816646187",_idparts[(int) (0)],0); - //BA.debugLineNum = 3335;BA.debugLine="Log(cantidadrestar)"; -__c.LogImpl("816646188",_cantidadrestar,0); - //BA.debugLineNum = 3336;BA.debugLine="Log(inputText)"; -__c.LogImpl("816646189",_inputtext,0); - //BA.debugLineNum = 3337;BA.debugLine="Dim restado As Int = cantidadrestar - inputText"; + //BA.debugLineNum = 3576;BA.debugLine="Log(\"IMPUT DIFERENTE DE CERO\")"; +__c.LogImpl("452363306","IMPUT DIFERENTE DE CERO",0); + //BA.debugLineNum = 3577;BA.debugLine="Log(idParts(0))"; +__c.LogImpl("452363307",_idparts[(int) (0)],0); + //BA.debugLineNum = 3578;BA.debugLine="Log(cantidadrestar)"; +__c.LogImpl("452363308",_cantidadrestar,0); + //BA.debugLineNum = 3579;BA.debugLine="Log(inputText)"; +__c.LogImpl("452363309",_inputtext,0); + //BA.debugLineNum = 3580;BA.debugLine="Dim restado As Int = cantidadrestar - inputText"; _restado = (int) ((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))); - //BA.debugLineNum = 3338;BA.debugLine="Log(cantidadrestar - inputText)"; -__c.LogImpl("816646191",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0); - //BA.debugLineNum = 3339;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; + //BA.debugLineNum = 3581;BA.debugLine="Log(cantidadrestar - inputText)"; +__c.LogImpl("452363311",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0); + //BA.debugLineNum = 3582;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); - //BA.debugLineNum = 3341;BA.debugLine="If c.RowCount = 0 Then"; + //BA.debugLineNum = 3584;BA.debugLine="If c.RowCount = 0 Then"; if (_c.getRowCount()==0) { - //BA.debugLineNum = 3346;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C"; + //BA.debugLineNum = 3589;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA, RESTA) VALUES(?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,_a.GetString("ID_ALMACEN"),_f.GetString("RUTAA"),_fechatabulador3+" "+_stime,BA.NumberToString(_restado)})); - //BA.debugLineNum = 3347;BA.debugLine="If restado > 0 And inputText <> 0 Then"; + //BA.debugLineNum = 3590;BA.debugLine="If restado > 0 And inputText <> 0 Then"; if (_restado>0 && (_inputtext).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 3349;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; + //BA.debugLineNum = 3592;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; _preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _preciocat = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); - //BA.debugLineNum = 3350;BA.debugLine="If preciocat.RowCount > 0 Then"; + //BA.debugLineNum = 3593;BA.debugLine="If preciocat.RowCount > 0 Then"; if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 3351;BA.debugLine="preciocat.Position = 0"; + //BA.debugLineNum = 3594;BA.debugLine="preciocat.Position = 0"; _preciocat.setPosition((int) (0)); - //BA.debugLineNum = 3352;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; + //BA.debugLineNum = 3595;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); }; - //BA.debugLineNum = 3354;BA.debugLine="preciocat.Close"; + //BA.debugLineNum = 3597;BA.debugLine="preciocat.Close"; _preciocat.Close(); - //BA.debugLineNum = 3355;BA.debugLine="Log(\"MAYOR A CERO\")"; -__c.LogImpl("816646208","MAYOR A CERO",0); - //BA.debugLineNum = 3356;BA.debugLine="consecutivo = consecutivo + 1"; + //BA.debugLineNum = 3598;BA.debugLine="Log(\"MAYOR A CERO\")"; +__c.LogImpl("452363328","MAYOR A CERO",0); + //BA.debugLineNum = 3599;BA.debugLine="consecutivo = consecutivo + 1"; _consecutivo = (int) (_consecutivo+1); - //BA.debugLineNum = 3357;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQu"; + //BA.debugLineNum = 3600;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQu"; _faltantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _faltantes = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' AND PE_TIPO = 'FALTANTE'")))); - //BA.debugLineNum = 3358;BA.debugLine="If faltantes.RowCount > 0 Then"; + //BA.debugLineNum = 3601;BA.debugLine="If faltantes.RowCount > 0 Then"; if (_faltantes.getRowCount()>0) { - //BA.debugLineNum = 3359;BA.debugLine="faltantes.Position = 0"; + //BA.debugLineNum = 3602;BA.debugLine="faltantes.Position = 0"; _faltantes.setPosition((int) (0)); - //BA.debugLineNum = 3360;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; + //BA.debugLineNum = 3603;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)(_restado))+"', PE_COSTO_TOT= '"+__c.SmartStringFormatter("",(Object)(_restado))+"'*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'")); }else { - //BA.debugLineNum = 3362;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; + //BA.debugLineNum = 3605;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],BA.NumberToString(_restado),"",_subs._traecliente /*String*/ (ba),_preciofull,BA.NumberToString(((double)(Double.parseDouble(_preciofull))*_restado)),BA.NumberToString(_consecutivo),BA.NumberToString(1000),"FALTANTE",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)})); }; }else if(_restado<0 && (_inputtext).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 3366;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; + //BA.debugLineNum = 3609;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; _preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _preciocat = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); - //BA.debugLineNum = 3367;BA.debugLine="If preciocat.RowCount > 0 Then"; + //BA.debugLineNum = 3610;BA.debugLine="If preciocat.RowCount > 0 Then"; if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 3368;BA.debugLine="preciocat.Position = 0"; + //BA.debugLineNum = 3611;BA.debugLine="preciocat.Position = 0"; _preciocat.setPosition((int) (0)); - //BA.debugLineNum = 3369;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; + //BA.debugLineNum = 3612;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); }; - //BA.debugLineNum = 3371;BA.debugLine="preciocat.Close"; + //BA.debugLineNum = 3614;BA.debugLine="preciocat.Close"; _preciocat.Close(); - //BA.debugLineNum = 3372;BA.debugLine="Log(\"MENOR A CERO\")"; -__c.LogImpl("816646225","MENOR A CERO",0); - //BA.debugLineNum = 3373;BA.debugLine="consecutivo = consecutivo + 1"; + //BA.debugLineNum = 3615;BA.debugLine="Log(\"MENOR A CERO\")"; +__c.LogImpl("452363345","MENOR A CERO",0); + //BA.debugLineNum = 3616;BA.debugLine="consecutivo = consecutivo + 1"; _consecutivo = (int) (_consecutivo+1); - //BA.debugLineNum = 3374;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQu"; + //BA.debugLineNum = 3617;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQu"; _faltantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _faltantes = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' AND PE_TIPO = 'FALTANTE'")))); - //BA.debugLineNum = 3375;BA.debugLine="If faltantes.RowCount > 0 Then"; + //BA.debugLineNum = 3618;BA.debugLine="If faltantes.RowCount > 0 Then"; if (_faltantes.getRowCount()>0) { - //BA.debugLineNum = 3376;BA.debugLine="faltantes.Position = 0"; + //BA.debugLineNum = 3619;BA.debugLine="faltantes.Position = 0"; _faltantes.setPosition((int) (0)); - //BA.debugLineNum = 3377;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; + //BA.debugLineNum = 3620;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)((-1*_restado)))+"', PE_COSTO_TOT= "+__c.SmartStringFormatter("",(Object)((-1*_restado)))+"*"+__c.SmartStringFormatter("",(Object)(_preciofull))+", PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'")); }else { - //BA.debugLineNum = 3379;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; + //BA.debugLineNum = 3622;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],BA.NumberToString((-1*_restado)),"",_subs._traecliente /*String*/ (ba),_preciofull,BA.NumberToString((-1*((double)(Double.parseDouble(_preciofull))*_restado))),BA.NumberToString(_consecutivo),BA.NumberToString(1000),"SOBRANTE",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)})); }; }; }else { - //BA.debugLineNum = 3385;BA.debugLine="Dim restadoanterior As Cursor = Starter.skmt.E"; + //BA.debugLineNum = 3628;BA.debugLine="Dim restadoanterior As Cursor = Starter.skmt.E"; _restadoanterior = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _restadoanterior = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select RESTA from PICK_CIEGO WHERE PC_ID_PROD = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); - //BA.debugLineNum = 3386;BA.debugLine="restadoanterior.Position = 0"; + //BA.debugLineNum = 3629;BA.debugLine="restadoanterior.Position = 0"; _restadoanterior.setPosition((int) (0)); - //BA.debugLineNum = 3389;BA.debugLine="If restadoanterior.GetInt(\"RESTA\") > 0 And res"; + //BA.debugLineNum = 3632;BA.debugLine="If restadoanterior.GetInt(\"RESTA\") > 0 And res"; if (_restadoanterior.GetInt("RESTA")>0 && _restadoanterior.GetInt("RESTA")!=_restado) { - //BA.debugLineNum = 3392;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQu"; + //BA.debugLineNum = 3635;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQu"; _faltantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _faltantes = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' AND PE_TIPO = 'FALTANTE'")))); - //BA.debugLineNum = 3394;BA.debugLine="If faltantes.RowCount > 0 Then"; + //BA.debugLineNum = 3637;BA.debugLine="If faltantes.RowCount > 0 Then"; if (_faltantes.getRowCount()>0) { - //BA.debugLineNum = 3395;BA.debugLine="faltantes.Position = 0"; + //BA.debugLineNum = 3638;BA.debugLine="faltantes.Position = 0"; _faltantes.setPosition((int) (0)); - //BA.debugLineNum = 3396;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; + //BA.debugLineNum = 3639;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; _preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _preciocat = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); - //BA.debugLineNum = 3397;BA.debugLine="If preciocat.RowCount > 0 Then"; + //BA.debugLineNum = 3640;BA.debugLine="If preciocat.RowCount > 0 Then"; if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 3398;BA.debugLine="preciocat.Position = 0"; + //BA.debugLineNum = 3641;BA.debugLine="preciocat.Position = 0"; _preciocat.setPosition((int) (0)); - //BA.debugLineNum = 3399;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; + //BA.debugLineNum = 3642;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); }; - //BA.debugLineNum = 3401;BA.debugLine="preciocat.Close"; + //BA.debugLineNum = 3644;BA.debugLine="preciocat.Close"; _preciocat.Close(); - //BA.debugLineNum = 3403;BA.debugLine="Log(\"MAYOR A CERO UPDATE\")"; -__c.LogImpl("816646256","MAYOR A CERO UPDATE",0); - //BA.debugLineNum = 3404;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; + //BA.debugLineNum = 3646;BA.debugLine="Log(\"MAYOR A CERO UPDATE\")"; +__c.LogImpl("452363376","MAYOR A CERO UPDATE",0); + //BA.debugLineNum = 3647;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,BA.NumberToString(_restado),_idparts[(int) (0)]})); - //BA.debugLineNum = 3405;BA.debugLine="If restado > 0 Then"; + //BA.debugLineNum = 3648;BA.debugLine="If restado > 0 Then"; if (_restado>0) { - //BA.debugLineNum = 3406;BA.debugLine="Log(\"AQUI ES FALTANTE\")"; -__c.LogImpl("816646259","AQUI ES FALTANTE",0); - //BA.debugLineNum = 3408;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; + //BA.debugLineNum = 3649;BA.debugLine="Log(\"AQUI ES FALTANTE\")"; +__c.LogImpl("452363379","AQUI ES FALTANTE",0); + //BA.debugLineNum = 3651;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)(_restado))+"', PE_COSTO_TOT= '"+__c.SmartStringFormatter("",(Object)(_restado))+"'*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'")); }else if(_restado<0) { - //BA.debugLineNum = 3410;BA.debugLine="Log(\"AQUI ES SOBRANTE\")"; -__c.LogImpl("816646263","AQUI ES SOBRANTE",0); - //BA.debugLineNum = 3412;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; + //BA.debugLineNum = 3653;BA.debugLine="Log(\"AQUI ES SOBRANTE\")"; +__c.LogImpl("452363383","AQUI ES SOBRANTE",0); + //BA.debugLineNum = 3655;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)((-1*_restado)))+"', PE_COSTO_TOT= "+__c.SmartStringFormatter("",(Object)((-1*_restado)))+"*"+__c.SmartStringFormatter("",(Object)(_preciofull))+", PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'")); }else if(_restado==0) { - //BA.debugLineNum = 3414;BA.debugLine="Log(\"AQUI ES SOBRANTE\")"; -__c.LogImpl("816646267","AQUI ES SOBRANTE",0); - //BA.debugLineNum = 3415;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PED"; + //BA.debugLineNum = 3657;BA.debugLine="Log(\"AQUI ES SOBRANTE\")"; +__c.LogImpl("452363387","AQUI ES SOBRANTE",0); + //BA.debugLineNum = 3658;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PED"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'")); }; }; }else if(_restadoanterior.GetInt("RESTA")<0 && _restadoanterior.GetInt("RESTA")!=_restado) { - //BA.debugLineNum = 3421;BA.debugLine="Log(\"es sobrante\")"; -__c.LogImpl("816646274","es sobrante",0); - //BA.debugLineNum = 3422;BA.debugLine="Dim sobrantes As Cursor = Starter.skmt.ExecQu"; + //BA.debugLineNum = 3664;BA.debugLine="Log(\"es sobrante\")"; +__c.LogImpl("452363394","es sobrante",0); + //BA.debugLineNum = 3665;BA.debugLine="Dim sobrantes As Cursor = Starter.skmt.ExecQu"; _sobrantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _sobrantes = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' AND PE_TIPO = 'SOBRANTE'")))); - //BA.debugLineNum = 3423;BA.debugLine="If sobrantes.RowCount > 0 Then"; + //BA.debugLineNum = 3666;BA.debugLine="If sobrantes.RowCount > 0 Then"; if (_sobrantes.getRowCount()>0) { - //BA.debugLineNum = 3424;BA.debugLine="sobrantes.Position = 0"; + //BA.debugLineNum = 3667;BA.debugLine="sobrantes.Position = 0"; _sobrantes.setPosition((int) (0)); - //BA.debugLineNum = 3426;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; + //BA.debugLineNum = 3669;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; _preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _preciocat = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); - //BA.debugLineNum = 3427;BA.debugLine="If preciocat.RowCount > 0 Then"; + //BA.debugLineNum = 3670;BA.debugLine="If preciocat.RowCount > 0 Then"; if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 3428;BA.debugLine="preciocat.Position = 0"; + //BA.debugLineNum = 3671;BA.debugLine="preciocat.Position = 0"; _preciocat.setPosition((int) (0)); - //BA.debugLineNum = 3429;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; + //BA.debugLineNum = 3672;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); }; - //BA.debugLineNum = 3431;BA.debugLine="preciocat.Close"; + //BA.debugLineNum = 3674;BA.debugLine="preciocat.Close"; _preciocat.Close(); - //BA.debugLineNum = 3433;BA.debugLine="Log(\"MENOR A CERO UPDATE\")"; -__c.LogImpl("816646286","MENOR A CERO UPDATE",0); - //BA.debugLineNum = 3434;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; + //BA.debugLineNum = 3676;BA.debugLine="Log(\"MENOR A CERO UPDATE\")"; +__c.LogImpl("452363406","MENOR A CERO UPDATE",0); + //BA.debugLineNum = 3677;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,BA.NumberToString(_restado),_idparts[(int) (0)]})); - //BA.debugLineNum = 3435;BA.debugLine="If restado > 0 Then"; + //BA.debugLineNum = 3678;BA.debugLine="If restado > 0 Then"; if (_restado>0) { - //BA.debugLineNum = 3438;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; + //BA.debugLineNum = 3681;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)(_restado))+"', PE_COSTO_TOT= '"+__c.SmartStringFormatter("",(Object)(_restado))+"'*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_sobrantes.GetString("CONSECUTIVO")))+"'")); }else if(_restado<0) { - //BA.debugLineNum = 3442;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; + //BA.debugLineNum = 3685;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)(-1*_restado))+"', PE_COSTO_TOT= '"+__c.SmartStringFormatter("",(Object)(-1*_restado))+"'*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"', PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_sobrantes.GetString("CONSECUTIVO")))+"'")); }else if(_restado==0) { - //BA.debugLineNum = 3444;BA.debugLine="Log(\"a eliminar\")"; -__c.LogImpl("816646297","a eliminar",0); - //BA.debugLineNum = 3445;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PED"; + //BA.debugLineNum = 3687;BA.debugLine="Log(\"a eliminar\")"; +__c.LogImpl("452363417","a eliminar",0); + //BA.debugLineNum = 3688;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PED"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_sobrantes.GetString("CONSECUTIVO")))+"'")); }; }; }else if(_restadoanterior.GetInt("RESTA")==0 && _restadoanterior.GetInt("RESTA")!=_restado) { - //BA.debugLineNum = 3450;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO"; + //BA.debugLineNum = 3693;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,BA.NumberToString(_restado),_idparts[(int) (0)]})); - //BA.debugLineNum = 3451;BA.debugLine="If restado > 0 And inputText <> 0 Then"; + //BA.debugLineNum = 3694;BA.debugLine="If restado > 0 And inputText <> 0 Then"; if (_restado>0 && (_inputtext).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 3453;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; + //BA.debugLineNum = 3696;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; _preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _preciocat = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); - //BA.debugLineNum = 3454;BA.debugLine="If preciocat.RowCount > 0 Then"; + //BA.debugLineNum = 3697;BA.debugLine="If preciocat.RowCount > 0 Then"; if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 3455;BA.debugLine="preciocat.Position = 0"; + //BA.debugLineNum = 3698;BA.debugLine="preciocat.Position = 0"; _preciocat.setPosition((int) (0)); - //BA.debugLineNum = 3456;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; + //BA.debugLineNum = 3699;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); }; - //BA.debugLineNum = 3458;BA.debugLine="preciocat.Close"; + //BA.debugLineNum = 3701;BA.debugLine="preciocat.Close"; _preciocat.Close(); - //BA.debugLineNum = 3459;BA.debugLine="Log(\"MAYOR A CERO\")"; -__c.LogImpl("816646312","MAYOR A CERO",0); - //BA.debugLineNum = 3460;BA.debugLine="consecutivo = consecutivo + 1"; + //BA.debugLineNum = 3702;BA.debugLine="Log(\"MAYOR A CERO\")"; +__c.LogImpl("452363432","MAYOR A CERO",0); + //BA.debugLineNum = 3703;BA.debugLine="consecutivo = consecutivo + 1"; _consecutivo = (int) (_consecutivo+1); - //BA.debugLineNum = 3461;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQ"; + //BA.debugLineNum = 3704;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQ"; _faltantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _faltantes = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' AND PE_TIPO = 'FALTANTE'")))); - //BA.debugLineNum = 3462;BA.debugLine="If faltantes.RowCount > 0 Then"; + //BA.debugLineNum = 3705;BA.debugLine="If faltantes.RowCount > 0 Then"; if (_faltantes.getRowCount()>0) { - //BA.debugLineNum = 3463;BA.debugLine="faltantes.Position = 0"; + //BA.debugLineNum = 3706;BA.debugLine="faltantes.Position = 0"; _faltantes.setPosition((int) (0)); - //BA.debugLineNum = 3464;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; + //BA.debugLineNum = 3707;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)(_restado))+"', PE_COSTO_TOT= '"+__c.SmartStringFormatter("",(Object)(_restado))+"'*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'")); }else { - //BA.debugLineNum = 3466;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; + //BA.debugLineNum = 3709;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],BA.NumberToString(_restado),"",_subs._traecliente /*String*/ (ba),_preciofull,BA.NumberToString(((double)(Double.parseDouble(_preciofull))*_restado)),BA.NumberToString(_consecutivo),BA.NumberToString(1000),"FALTANTE",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)})); }; }else if(_restado<0 && (_inputtext).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 3470;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; + //BA.debugLineNum = 3713;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; _preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _preciocat = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); - //BA.debugLineNum = 3471;BA.debugLine="If preciocat.RowCount > 0 Then"; + //BA.debugLineNum = 3714;BA.debugLine="If preciocat.RowCount > 0 Then"; if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 3472;BA.debugLine="preciocat.Position = 0"; + //BA.debugLineNum = 3715;BA.debugLine="preciocat.Position = 0"; _preciocat.setPosition((int) (0)); - //BA.debugLineNum = 3473;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; + //BA.debugLineNum = 3716;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); }; - //BA.debugLineNum = 3475;BA.debugLine="preciocat.Close"; + //BA.debugLineNum = 3718;BA.debugLine="preciocat.Close"; _preciocat.Close(); - //BA.debugLineNum = 3476;BA.debugLine="Log(\"MENOR A CERO\")"; -__c.LogImpl("816646329","MENOR A CERO",0); - //BA.debugLineNum = 3477;BA.debugLine="consecutivo = consecutivo + 1"; + //BA.debugLineNum = 3719;BA.debugLine="Log(\"MENOR A CERO\")"; +__c.LogImpl("452363449","MENOR A CERO",0); + //BA.debugLineNum = 3720;BA.debugLine="consecutivo = consecutivo + 1"; _consecutivo = (int) (_consecutivo+1); - //BA.debugLineNum = 3478;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQ"; + //BA.debugLineNum = 3721;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQ"; _faltantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _faltantes = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' AND PE_TIPO = 'FALTANTE'")))); - //BA.debugLineNum = 3479;BA.debugLine="If faltantes.RowCount > 0 Then"; + //BA.debugLineNum = 3722;BA.debugLine="If faltantes.RowCount > 0 Then"; if (_faltantes.getRowCount()>0) { - //BA.debugLineNum = 3480;BA.debugLine="faltantes.Position = 0"; + //BA.debugLineNum = 3723;BA.debugLine="faltantes.Position = 0"; _faltantes.setPosition((int) (0)); - //BA.debugLineNum = 3481;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; + //BA.debugLineNum = 3724;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)((-1*_restado)))+"', PE_COSTO_TOT= "+__c.SmartStringFormatter("",(Object)((-1*_restado)))+"*"+__c.SmartStringFormatter("",(Object)(_preciofull))+", PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'")); }else { - //BA.debugLineNum = 3483;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; + //BA.debugLineNum = 3726;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],BA.NumberToString((-1*_restado)),"",_subs._traecliente /*String*/ (ba),_preciofull,BA.NumberToString((-1*((double)(Double.parseDouble(_preciofull))*_restado))),BA.NumberToString(_consecutivo),BA.NumberToString(1000),"SOBRANTE",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)})); }; }; }else if(_restadoanterior.GetInt("RESTA")==0 && _restado==0) { - //BA.debugLineNum = 3487;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDID"; + //BA.debugLineNum = 3730;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDID"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND PE_TIPO NOT IN ('DANADO') ")); }; }; }else if((_inputtext).equals("") || (_inputtext).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 3491;BA.debugLine="Log(\"IMPUT IGUAL DE CERO\")"; -__c.LogImpl("816646344","IMPUT IGUAL DE CERO",0); - //BA.debugLineNum = 3492;BA.debugLine="Log(idParts(0))"; -__c.LogImpl("816646345",_idparts[(int) (0)],0); - //BA.debugLineNum = 3493;BA.debugLine="Log(cantidadrestar)"; -__c.LogImpl("816646346",_cantidadrestar,0); - //BA.debugLineNum = 3494;BA.debugLine="Log(inputText)"; -__c.LogImpl("816646347",_inputtext,0); - //BA.debugLineNum = 3495;BA.debugLine="Dim restado As Int = cantidadrestar - inputText"; + //BA.debugLineNum = 3734;BA.debugLine="Log(\"IMPUT IGUAL DE CERO\")"; +__c.LogImpl("452363464","IMPUT IGUAL DE CERO",0); + //BA.debugLineNum = 3735;BA.debugLine="Log(idParts(0))"; +__c.LogImpl("452363465",_idparts[(int) (0)],0); + //BA.debugLineNum = 3736;BA.debugLine="Log(cantidadrestar)"; +__c.LogImpl("452363466",_cantidadrestar,0); + //BA.debugLineNum = 3737;BA.debugLine="Log(inputText)"; +__c.LogImpl("452363467",_inputtext,0); + //BA.debugLineNum = 3738;BA.debugLine="Dim restado As Int = cantidadrestar - inputText"; _restado = (int) ((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))); - //BA.debugLineNum = 3496;BA.debugLine="Log(cantidadrestar - inputText)"; -__c.LogImpl("816646349",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0); - //BA.debugLineNum = 3497;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQuer"; + //BA.debugLineNum = 3739;BA.debugLine="Log(cantidadrestar - inputText)"; +__c.LogImpl("452363469",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0); + //BA.debugLineNum = 3740;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQuer"; _faltantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _faltantes = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); - //BA.debugLineNum = 3498;BA.debugLine="If faltantes.RowCount > 0 Then"; + //BA.debugLineNum = 3741;BA.debugLine="If faltantes.RowCount > 0 Then"; if (_faltantes.getRowCount()>0) { - //BA.debugLineNum = 3499;BA.debugLine="faltantes.Position = 0"; + //BA.debugLineNum = 3742;BA.debugLine="faltantes.Position = 0"; _faltantes.setPosition((int) (0)); - //BA.debugLineNum = 3500;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PICK_C"; + //BA.debugLineNum = 3743;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PICK_C"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PICK_CIEGO where PC_ID_PROD = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")); }; - //BA.debugLineNum = 3503;BA.debugLine="Dim sobrantes As Cursor = Starter.skmt.ExecQuer"; + //BA.debugLineNum = 3746;BA.debugLine="Dim sobrantes As Cursor = Starter.skmt.ExecQuer"; _sobrantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _sobrantes = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403'")))); - //BA.debugLineNum = 3504;BA.debugLine="If sobrantes.RowCount > 0 Then"; + //BA.debugLineNum = 3747;BA.debugLine="If sobrantes.RowCount > 0 Then"; if (_sobrantes.getRowCount()>0) { - //BA.debugLineNum = 3505;BA.debugLine="sobrantes.Position = 0"; + //BA.debugLineNum = 3748;BA.debugLine="sobrantes.Position = 0"; _sobrantes.setPosition((int) (0)); - //BA.debugLineNum = 3506;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDIDO"; + //BA.debugLineNum = 3749;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDIDO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_sobrantes.GetString("CONSECUTIVO")))+"'")); }; - //BA.debugLineNum = 3509;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQuer"; + //BA.debugLineNum = 3752;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQuer"; _preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _preciocat = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); - //BA.debugLineNum = 3510;BA.debugLine="If preciocat.RowCount > 0 Then"; + //BA.debugLineNum = 3753;BA.debugLine="If preciocat.RowCount > 0 Then"; if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 3511;BA.debugLine="preciocat.Position = 0"; + //BA.debugLineNum = 3754;BA.debugLine="preciocat.Position = 0"; _preciocat.setPosition((int) (0)); - //BA.debugLineNum = 3512;BA.debugLine="Dim preciofull As String = preciocat.GetString"; + //BA.debugLineNum = 3755;BA.debugLine="Dim preciofull As String = preciocat.GetString"; _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); }; - //BA.debugLineNum = 3514;BA.debugLine="preciocat.Close"; + //BA.debugLineNum = 3757;BA.debugLine="preciocat.Close"; _preciocat.Close(); - //BA.debugLineNum = 3515;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDIDO("; + //BA.debugLineNum = 3758;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDIDO("; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],BA.NumberToString(_restado),"",_subs._traecliente /*String*/ (ba),_preciofull,BA.NumberToString(((double)(Double.parseDouble(_preciofull))*_restado)),BA.NumberToString(_consecutivo),BA.NumberToString(1000),"FALTANTE",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)})); }; - //BA.debugLineNum = 3518;BA.debugLine="f.Close"; + //BA.debugLineNum = 3761;BA.debugLine="f.Close"; _f.Close(); - //BA.debugLineNum = 3519;BA.debugLine="a.Close"; + //BA.debugLineNum = 3762;BA.debugLine="a.Close"; _a.Close(); - //BA.debugLineNum = 3520;BA.debugLine="Log(\"Processed item \" & i)"; -__c.LogImpl("816646373","Processed item "+BA.NumberToString(_i),0); + //BA.debugLineNum = 3763;BA.debugLine="Log(\"Processed item \" & i)"; +__c.LogImpl("452363493","Processed item "+BA.NumberToString(_i),0); } }; - //BA.debugLineNum = 3523;BA.debugLine="P_CIEGO.Visible = False"; + //BA.debugLineNum = 3766;BA.debugLine="P_CIEGO.Visible = False"; _p_ciego.setVisible(__c.False); - //BA.debugLineNum = 3524;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; + //BA.debugLineNum = 3767;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 3525;BA.debugLine="End Sub"; + //BA.debugLineNum = 3768;BA.debugLine="End Sub"; return ""; } public String _b_venta_emp_click() throws Exception{ -int _i = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; -String _resta = ""; - //BA.debugLineNum = 2713;BA.debugLine="Private Sub b_venta_emp_Click"; - //BA.debugLineNum = 2714;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 2715;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("63403")})); - //BA.debugLineNum = 2717;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_ciego,(int) (0),(int) (0)); - //BA.debugLineNum = 2718;BA.debugLine="P_CIEGO.Width = Root.Width"; -_p_ciego.setWidth(_root.getWidth()); - //BA.debugLineNum = 2719;BA.debugLine="P_CIEGO.Height = Root.Height"; -_p_ciego.setHeight(_root.getHeight()); - //BA.debugLineNum = 2721;BA.debugLine="CLV_PICK_CIEGO.Clear"; -_clv_pick_ciego._clear(); - //BA.debugLineNum = 2723;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID, ifnull(PC_CANT,0) AS PC_CAN from HIST_VENTAS INNER JOIN PICK_CIEGO ON PC_ID_PROD = HVD_PROID WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PRONOMBRE <> 'Cobranza Pendiente' GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 2724;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2727;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step9 = 1; -final int limit9 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit9 ;_i = _i + step9 ) { - //BA.debugLineNum = 2728;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 2731;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); - //BA.debugLineNum = 2732;BA.debugLine="Private resta As String = 0"; -_resta = BA.NumberToString(0); - //BA.debugLineNum = 2734;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 2735;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 2736;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; -_resta = _c3.GetString("PE_CANT"); - }else { - //BA.debugLineNum = 2738;BA.debugLine="resta = 0"; -_resta = BA.NumberToString(0); - }; - //BA.debugLineNum = 2740;BA.debugLine="If ( c.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; -if ((_c.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { - }else { - //BA.debugLineNum = 2743;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem(c.GetString("; -_clv_pick_ciego._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PROID"),_c.GetString("HVD_PRONOMBRE"),_c.GetString("PC_CAN"),BA.NumberToString((_c.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta))))).getObject())),(Object)(_i)); - }; - } -}; - //BA.debugLineNum = 2749;BA.debugLine="d = Starter.skmt.ExecQuery(\"select HVD_PRONOMBRE"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PROID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO) and HVD_PRONOMBRE <> 'Cobranza Pendiente' GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 2751;BA.debugLine="For i = 0 To d.RowCount - 1"; -{ -final int step25 = 1; -final int limit25 = (int) (_d.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit25 ;_i = _i + step25 ) { - //BA.debugLineNum = 2752;BA.debugLine="d.Position = i"; -_d.setPosition(_i); - //BA.debugLineNum = 2755;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_d.GetString("HVD_PROID")))+"' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); - //BA.debugLineNum = 2756;BA.debugLine="Private resta As String = 0"; -_resta = BA.NumberToString(0); - //BA.debugLineNum = 2758;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 2759;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 2760;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; -_resta = _c3.GetString("PE_CANT"); - }else { - //BA.debugLineNum = 2762;BA.debugLine="resta = 0"; -_resta = BA.NumberToString(0); - }; - //BA.debugLineNum = 2764;BA.debugLine="If ( d.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; -if ((_d.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { - }else { - //BA.debugLineNum = 2767;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; -_clv_pick_ciego._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_d.GetString("HVD_PROID"),_d.GetString("HVD_PRONOMBRE"),BA.NumberToString((_d.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta))))).getObject())),(Object)(_i)); - }; - } -}; - }else if(_c.getRowCount()==0) { - //BA.debugLineNum = 2774;BA.debugLine="d = Starter.skmt.ExecQuery(\"select HVD_PRONOMBRE"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PRONOMBRE <> 'Cobranza Pendiente' GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 2776;BA.debugLine="For i = 0 To d.RowCount - 1"; -{ -final int step42 = 1; -final int limit42 = (int) (_d.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit42 ;_i = _i + step42 ) { - //BA.debugLineNum = 2777;BA.debugLine="d.Position = i"; -_d.setPosition(_i); - //BA.debugLineNum = 2780;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_d.GetString("HVD_PROID")))+"'and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); - //BA.debugLineNum = 2781;BA.debugLine="Private resta As String = 0"; -_resta = BA.NumberToString(0); - //BA.debugLineNum = 2783;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 2784;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 2785;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; -_resta = _c3.GetString("PE_CANT"); - }else { - //BA.debugLineNum = 2787;BA.debugLine="resta = 0"; -_resta = BA.NumberToString(0); - }; - //BA.debugLineNum = 2789;BA.debugLine="If ( d.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; -if ((_d.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { - }else { - //BA.debugLineNum = 2792;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; -_clv_pick_ciego._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_d.GetString("HVD_PROID"),_d.GetString("HVD_PRONOMBRE"),BA.NumberToString((_d.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta))))).getObject())),(Object)(_i)); - }; - } -}; - }; - //BA.debugLineNum = 2799;BA.debugLine="End Sub"; + //BA.debugLineNum = 3036;BA.debugLine="Private Sub b_venta_emp_Click"; + //BA.debugLineNum = 3038;BA.debugLine="p_validacion.Visible = True"; +_p_validacion.setVisible(__c.True); + //BA.debugLineNum = 3039;BA.debugLine="p_validacion.Width = Root.Width"; +_p_validacion.setWidth(_root.getWidth()); + //BA.debugLineNum = 3040;BA.debugLine="p_validacion.Height = Root.Height"; +_p_validacion.setHeight(_root.getHeight()); + //BA.debugLineNum = 3042;BA.debugLine="End Sub"; return ""; } public String _b4xpage_appear() throws Exception{ @@ -2268,875 +2199,879 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _g12 = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _g13 = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _pagarescobrados = null; anywheresoftware.b4a.sql.SQL.CursorWrapper _pagaresnuevos = null; - //BA.debugLineNum = 208;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 210;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM NOVENTA WHERE NV_MOTIVO = 'ENTREGA' AND NV_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 211;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 212;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA w"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA where NV_MOTIVO <> 'ENTREGA' AND NV_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - }; + //BA.debugLineNum = 213;BA.debugLine="Sub B4XPage_Appear"; //BA.debugLineNum = 215;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM NOVENTA"))); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM NOVENTA WHERE NV_MOTIVO = 'ENTREGA' AND NV_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); //BA.debugLineNum = 216;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 217;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; + //BA.debugLineNum = 217;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA w"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA where NV_MOTIVO <> 'ENTREGA' AND NV_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); + }; + //BA.debugLineNum = 220;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM NOVENTA"))); + //BA.debugLineNum = 221;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { + //BA.debugLineNum = 222;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info set gestion = 2 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA WHERE NV_MOTIVO = 'ENTREGA')"); }; - //BA.debugLineNum = 219;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; + //BA.debugLineNum = 224;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE FROM NOVENTA"))); - //BA.debugLineNum = 220;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 225;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 221;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; + //BA.debugLineNum = 226;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info set gestion = 3 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA WHERE NV_MOTIVO <> 'ENTREGA')"); }; - //BA.debugLineNum = 224;BA.debugLine="b_check.visible = False"; + //BA.debugLineNum = 229;BA.debugLine="b_check.visible = False"; _b_check.setVisible(__c.False); - //BA.debugLineNum = 225;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; + //BA.debugLineNum = 230;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; _subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 238;BA.debugLine="If EJECUTANDO = 0 Then"; + //BA.debugLineNum = 243;BA.debugLine="If EJECUTANDO = 0 Then"; if ((_ejecutando).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 239;BA.debugLine="Listo1 = 0"; + //BA.debugLineNum = 244;BA.debugLine="Listo1 = 0"; _listo1 = BA.NumberToString(0); - //BA.debugLineNum = 240;BA.debugLine="Listo2 = 0"; + //BA.debugLineNum = 245;BA.debugLine="Listo2 = 0"; _listo2 = BA.NumberToString(0); - //BA.debugLineNum = 241;BA.debugLine="Listo3 = 0"; + //BA.debugLineNum = 246;BA.debugLine="Listo3 = 0"; _listo3 = BA.NumberToString(0); - //BA.debugLineNum = 242;BA.debugLine="Listo4 = 0"; + //BA.debugLineNum = 247;BA.debugLine="Listo4 = 0"; _listo4 = BA.NumberToString(0); - //BA.debugLineNum = 243;BA.debugLine="Listo5 = 0"; + //BA.debugLineNum = 248;BA.debugLine="Listo5 = 0"; _listo5 = BA.NumberToString(0); - //BA.debugLineNum = 244;BA.debugLine="inve = 0"; + //BA.debugLineNum = 249;BA.debugLine="inve = 0"; _inve = BA.NumberToString(0); - //BA.debugLineNum = 245;BA.debugLine="img2.Visible =False"; + //BA.debugLineNum = 250;BA.debugLine="img2.Visible =False"; _img2.setVisible(__c.False); }; - //BA.debugLineNum = 247;BA.debugLine="l_ruta.Text = 0"; + //BA.debugLineNum = 252;BA.debugLine="l_ruta.Text = 0"; _l_ruta.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 248;BA.debugLine="f=Starter.skmt.ExecQuery(\"select rutaa from rutaa"; + //BA.debugLineNum = 253;BA.debugLine="f=Starter.skmt.ExecQuery(\"select rutaa from rutaa"; _f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select rutaa from rutaa"))); - //BA.debugLineNum = 249;BA.debugLine="If f.RowCount > 0 Then"; + //BA.debugLineNum = 254;BA.debugLine="If f.RowCount > 0 Then"; if (_f.getRowCount()>0) { - //BA.debugLineNum = 250;BA.debugLine="f.Position = 0"; + //BA.debugLineNum = 255;BA.debugLine="f.Position = 0"; _f.setPosition((int) (0)); - //BA.debugLineNum = 251;BA.debugLine="l_ruta.Text = f.GetString(\"RUTAA\")"; + //BA.debugLineNum = 256;BA.debugLine="l_ruta.Text = f.GetString(\"RUTAA\")"; _l_ruta.setText(BA.ObjectToCharSequence(_f.GetString("RUTAA"))); }; - //BA.debugLineNum = 253;BA.debugLine="f.Close"; + //BA.debugLineNum = 258;BA.debugLine="f.Close"; _f.Close(); - //BA.debugLineNum = 254;BA.debugLine="If l_ruta.Text = 0 Then"; + //BA.debugLineNum = 259;BA.debugLine="If l_ruta.Text = 0 Then"; if ((_l_ruta.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 255;BA.debugLine="l_ruta.Text = 0"; + //BA.debugLineNum = 260;BA.debugLine="l_ruta.Text = 0"; _l_ruta.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 256;BA.debugLine="l_rutasP.Text = 0"; + //BA.debugLineNum = 261;BA.debugLine="l_rutasP.Text = 0"; _l_rutasp.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 257;BA.debugLine="l_numtickets.Text = 0"; + //BA.debugLineNum = 262;BA.debugLine="l_numtickets.Text = 0"; _l_numtickets.setText(BA.ObjectToCharSequence(0)); }else { - //BA.debugLineNum = 259;BA.debugLine="f=Starter.skmt.ExecQuery(\"select distinct CAT_CL"; + //BA.debugLineNum = 264;BA.debugLine="f=Starter.skmt.ExecQuery(\"select distinct CAT_CL"; _f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_CL_RUTA from kmt_info WHERE CAT_CL_RUTA <> 1000 order by CAT_CL_RUTA"))); - //BA.debugLineNum = 261;BA.debugLine="l_rutasP.Text = \"\""; + //BA.debugLineNum = 266;BA.debugLine="l_rutasP.Text = \"\""; _l_rutasp.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 262;BA.debugLine="For i = 0 To f.RowCount - 1"; + //BA.debugLineNum = 267;BA.debugLine="For i = 0 To f.RowCount - 1"; { final int step38 = 1; final int limit38 = (int) (_f.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit38 ;_i = _i + step38 ) { - //BA.debugLineNum = 263;BA.debugLine="f.Position = i"; + //BA.debugLineNum = 268;BA.debugLine="f.Position = i"; _f.setPosition(_i); - //BA.debugLineNum = 264;BA.debugLine="If i = 0 Then"; + //BA.debugLineNum = 269;BA.debugLine="If i = 0 Then"; if (_i==0) { - //BA.debugLineNum = 265;BA.debugLine="l_rutasP.Text = f.GetString(\"CAT_CL_RUTA\")"; + //BA.debugLineNum = 270;BA.debugLine="l_rutasP.Text = f.GetString(\"CAT_CL_RUTA\")"; _l_rutasp.setText(BA.ObjectToCharSequence(_f.GetString("CAT_CL_RUTA"))); }else { - //BA.debugLineNum = 267;BA.debugLine="l_rutasP.Text = l_rutasP.Text & \", \" & f.GetSt"; + //BA.debugLineNum = 272;BA.debugLine="l_rutasP.Text = l_rutasP.Text & \", \" & f.GetSt"; _l_rutasp.setText(BA.ObjectToCharSequence(_l_rutasp.getText()+", "+_f.GetString("CAT_CL_RUTA"))); }; } }; - //BA.debugLineNum = 270;BA.debugLine="f.Close"; + //BA.debugLineNum = 275;BA.debugLine="f.Close"; _f.Close(); - //BA.debugLineNum = 272;BA.debugLine="Dim numticks As Cursor = Starter.skmt.ExecQuery("; + //BA.debugLineNum = 277;BA.debugLine="Dim numticks As Cursor = Starter.skmt.ExecQuery("; _numticks = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _numticks = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(distinct HVD_NUM_TICKET) AS TICKET from HIST_VENTAS"))); - //BA.debugLineNum = 273;BA.debugLine="numticks.Position = 0"; + //BA.debugLineNum = 278;BA.debugLine="numticks.Position = 0"; _numticks.setPosition((int) (0)); - //BA.debugLineNum = 274;BA.debugLine="l_numtickets.Text = numticks.GetInt(\"TICKET\")"; + //BA.debugLineNum = 279;BA.debugLine="l_numtickets.Text = numticks.GetInt(\"TICKET\")"; _l_numtickets.setText(BA.ObjectToCharSequence(_numticks.GetInt("TICKET"))); }; - //BA.debugLineNum = 276;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; + //BA.debugLineNum = 281;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 277;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 282;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; _fecha = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 278;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; + //BA.debugLineNum = 283;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; _b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from kmt_info"))); - //BA.debugLineNum = 279;BA.debugLine="b.Position=0"; + //BA.debugLineNum = 284;BA.debugLine="b.Position=0"; _b.setPosition((int) (0)); - //BA.debugLineNum = 280;BA.debugLine="If b.RowCount > 0 Then Cuantos = b.GetString(\"CUA"; + //BA.debugLineNum = 285;BA.debugLine="If b.RowCount > 0 Then Cuantos = b.GetString(\"CUA"; if (_b.getRowCount()>0) { _cuantos = _b.GetString("CUANTOS");}; - //BA.debugLineNum = 281;BA.debugLine="d=Starter.skmt.ExecQuery(\"select count(distinct(C"; + //BA.debugLineNum = 286;BA.debugLine="d=Starter.skmt.ExecQuery(\"select count(distinct(C"; _d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(distinct(CAT_CL_CODIGO)) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000"))); - //BA.debugLineNum = 282;BA.debugLine="D.Position=0"; + //BA.debugLineNum = 287;BA.debugLine="D.Position=0"; _d.setPosition((int) (0)); - //BA.debugLineNum = 283;BA.debugLine="b.Close"; + //BA.debugLineNum = 288;BA.debugLine="b.Close"; _b.Close(); - //BA.debugLineNum = 284;BA.debugLine="e=Starter.skmt.ExecQuery(\"select count(distinct(C"; + //BA.debugLineNum = 289;BA.debugLine="e=Starter.skmt.ExecQuery(\"select count(distinct(C"; _e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(distinct(CAT_CL_CODIGO)) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000"))); - //BA.debugLineNum = 285;BA.debugLine="e.Position=0"; + //BA.debugLineNum = 290;BA.debugLine="e.Position=0"; _e.setPosition((int) (0)); - //BA.debugLineNum = 296;BA.debugLine="cargar.Visible = False"; + //BA.debugLineNum = 301;BA.debugLine="cargar.Visible = False"; _cargar.setVisible(__c.False); - //BA.debugLineNum = 297;BA.debugLine="Subir.Visible = False"; + //BA.debugLineNum = 302;BA.debugLine="Subir.Visible = False"; _subir.setVisible(__c.False); - //BA.debugLineNum = 298;BA.debugLine="connecta.Visible = True"; + //BA.debugLineNum = 303;BA.debugLine="connecta.Visible = True"; _connecta.setVisible(__c.True); - //BA.debugLineNum = 300;BA.debugLine="If Cuantos = 0 Then"; + //BA.debugLineNum = 305;BA.debugLine="If Cuantos = 0 Then"; if ((_cuantos).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 302;BA.debugLine="l_cuantosc.Text = 0"; + //BA.debugLineNum = 307;BA.debugLine="l_cuantosc.Text = 0"; _l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 303;BA.debugLine="l_cuantosn.Text = 0"; + //BA.debugLineNum = 308;BA.debugLine="l_cuantosn.Text = 0"; _l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 304;BA.debugLine="drop = 0"; + //BA.debugLineNum = 309;BA.debugLine="drop = 0"; _drop = 0; - //BA.debugLineNum = 305;BA.debugLine="l_montoSalida.Text = 0"; + //BA.debugLineNum = 310;BA.debugLine="l_montoSalida.Text = 0"; _l_montosalida.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 306;BA.debugLine="efectiva = 0"; + //BA.debugLineNum = 311;BA.debugLine="efectiva = 0"; _efectiva = 0; - //BA.debugLineNum = 309;BA.debugLine="L_MONTOE.Text = 0"; + //BA.debugLineNum = 314;BA.debugLine="L_MONTOE.Text = 0"; _l_montoe.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 310;BA.debugLine="l_ctast.Text = 0"; + //BA.debugLineNum = 315;BA.debugLine="l_ctast.Text = 0"; _l_ctast.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 311;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; + //BA.debugLineNum = 316;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; if (_d.getRowCount()>0) { _l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR")));}; - //BA.debugLineNum = 312;BA.debugLine="l_porvisitar.Text = 0"; + //BA.debugLineNum = 317;BA.debugLine="l_porvisitar.Text = 0"; _l_porvisitar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 313;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; + //BA.debugLineNum = 318;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; if (_e.getRowCount()>0) { _l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR")));}; - //BA.debugLineNum = 314;BA.debugLine="d.Close"; + //BA.debugLineNum = 319;BA.debugLine="d.Close"; _d.Close(); - //BA.debugLineNum = 315;BA.debugLine="e.Close"; + //BA.debugLineNum = 320;BA.debugLine="e.Close"; _e.Close(); }else { - //BA.debugLineNum = 317;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(hvd_costo_t"; + //BA.debugLineNum = 322;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(hvd_costo_t"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(hvd_costo_tot) as MONTO_DIA from hist_ventas where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_ESTATUS = 1 "))); - //BA.debugLineNum = 318;BA.debugLine="f1=Starter.skmt.ExecQuery(\"select sum(hvd_costo_"; + //BA.debugLineNum = 323;BA.debugLine="f1=Starter.skmt.ExecQuery(\"select sum(hvd_costo_"; _f1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(hvd_costo_tot) as MONTO_TOTAL_DIA from hist_ventas2 where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_RECHAZO = 0"))); - //BA.debugLineNum = 319;BA.debugLine="f2=Starter.skmt.ExecQuery(\"select sum(REP_COSTO_"; + //BA.debugLineNum = 324;BA.debugLine="f2=Starter.skmt.ExecQuery(\"select sum(REP_COSTO_"; _f2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(REP_COSTO_TOT) as MONTO_REC_DIA FROM REPARTO where REP_cliente in (Select cat_cl_codigo from kmt_info)"))); - //BA.debugLineNum = 321;BA.debugLine="b=Starter.skmt.ExecQuery(\"select count(DISTINCT"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(DISTINCT NV_CLIENTE) as CUANTOS from noventa where nv_motivo <> 'ENTREGA' and NV_CLIENTE <> 63403"))); - //BA.debugLineNum = 323;BA.debugLine="L=Starter.skmt.ExecQuery(\"select count(DISTINCT"; -_l = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(DISTINCT NV_CLIENTE) as CLIENTES_DIA from noventa where nv_motivo = 'ENTREGA' and NV_CLIENTE <> 63403"))); - //BA.debugLineNum = 324;BA.debugLine="f2.Position=0"; + //BA.debugLineNum = 326;BA.debugLine="b=Starter.skmt.ExecQuery(\"select count(DISTINCT"; +_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(DISTINCT NV_CLIENTE) as CUANTOS from noventa where nv_motivo <> 'ENTREGA' and NV_CLIENTE NOT IN ('63403', '100000')"))); + //BA.debugLineNum = 328;BA.debugLine="L=Starter.skmt.ExecQuery(\"select count(DISTINCT"; +_l = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(DISTINCT NV_CLIENTE) as CLIENTES_DIA from noventa where nv_motivo = 'ENTREGA' and NV_CLIENTE NOT IN ('63403', '100000')"))); + //BA.debugLineNum = 329;BA.debugLine="f2.Position=0"; _f2.setPosition((int) (0)); - //BA.debugLineNum = 327;BA.debugLine="Private MONTO_REC_DIA = 0"; + //BA.debugLineNum = 332;BA.debugLine="Private MONTO_REC_DIA = 0"; _monto_rec_dia = BA.NumberToString(0); - //BA.debugLineNum = 328;BA.debugLine="If f2.GetString(\"MONTO_REC_DIA\") <> Null Then MO"; + //BA.debugLineNum = 333;BA.debugLine="If f2.GetString(\"MONTO_REC_DIA\") <> Null Then MO"; if (_f2.GetString("MONTO_REC_DIA")!= null) { _monto_rec_dia = _f2.GetString("MONTO_REC_DIA");}; - //BA.debugLineNum = 339;BA.debugLine="C.Position = 0"; + //BA.debugLineNum = 344;BA.debugLine="C.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 340;BA.debugLine="b.Position = 0"; + //BA.debugLineNum = 345;BA.debugLine="b.Position = 0"; _b.setPosition((int) (0)); - //BA.debugLineNum = 341;BA.debugLine="L.Position = 0"; + //BA.debugLineNum = 346;BA.debugLine="L.Position = 0"; _l.setPosition((int) (0)); - //BA.debugLineNum = 342;BA.debugLine="f1.Position = 0"; + //BA.debugLineNum = 347;BA.debugLine="f1.Position = 0"; _f1.setPosition((int) (0)); - //BA.debugLineNum = 345;BA.debugLine="L_MONTOE.Text = 0"; + //BA.debugLineNum = 350;BA.debugLine="L_MONTOE.Text = 0"; _l_montoe.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 347;BA.debugLine="l_cuantosc.Text = 0"; + //BA.debugLineNum = 352;BA.debugLine="l_cuantosc.Text = 0"; _l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 348;BA.debugLine="If L.RowCount > 0 Then l_cuantosc.Text = L.GetSt"; + //BA.debugLineNum = 353;BA.debugLine="If L.RowCount > 0 Then l_cuantosc.Text = L.GetSt"; if (_l.getRowCount()>0) { _l_cuantosc.setText(BA.ObjectToCharSequence(_l.GetString("CLIENTES_DIA")));}; - //BA.debugLineNum = 349;BA.debugLine="l_cuantosn.Text = 0"; + //BA.debugLineNum = 354;BA.debugLine="l_cuantosn.Text = 0"; _l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 350;BA.debugLine="If b.RowCount > 0 Then l_cuantosn.Text = b.GetSt"; + //BA.debugLineNum = 355;BA.debugLine="If b.RowCount > 0 Then l_cuantosn.Text = b.GetSt"; if (_b.getRowCount()>0) { _l_cuantosn.setText(BA.ObjectToCharSequence(_b.GetString("CUANTOS")));}; - //BA.debugLineNum = 352;BA.debugLine="If f1.GetString(\"MONTO_TOTAL_DIA\") <> Null Then"; + //BA.debugLineNum = 357;BA.debugLine="If f1.GetString(\"MONTO_TOTAL_DIA\") <> Null Then"; if (_f1.GetString("MONTO_TOTAL_DIA")!= null) { _l_montosalida.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_f1.GetString("MONTO_TOTAL_DIA"))),(int) (2))));}; - //BA.debugLineNum = 354;BA.debugLine="l_ctast.Text = 0"; + //BA.debugLineNum = 359;BA.debugLine="l_ctast.Text = 0"; _l_ctast.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 355;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; + //BA.debugLineNum = 360;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; if (_d.getRowCount()>0) { _l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR")));}; - //BA.debugLineNum = 356;BA.debugLine="l_porvisitar.Text = 0"; + //BA.debugLineNum = 361;BA.debugLine="l_porvisitar.Text = 0"; _l_porvisitar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 357;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; + //BA.debugLineNum = 362;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; if (_e.getRowCount()>0) { _l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR")));}; - //BA.debugLineNum = 358;BA.debugLine="c.Close"; + //BA.debugLineNum = 363;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 359;BA.debugLine="b.Close"; + //BA.debugLineNum = 364;BA.debugLine="b.Close"; _b.Close(); - //BA.debugLineNum = 370;BA.debugLine="c.Close"; + //BA.debugLineNum = 375;BA.debugLine="c.Close"; _c.Close(); }; - //BA.debugLineNum = 372;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; + //BA.debugLineNum = 377;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 373;BA.debugLine="C.Position =0"; + //BA.debugLineNum = 378;BA.debugLine="C.Position =0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 374;BA.debugLine="ALMACEN = 0"; + //BA.debugLineNum = 379;BA.debugLine="ALMACEN = 0"; _almacen = BA.NumberToString(0); - //BA.debugLineNum = 375;BA.debugLine="If C.RowCount > 0 Then ALMACEN = C.GetString(\"ID_"; + //BA.debugLineNum = 380;BA.debugLine="If C.RowCount > 0 Then ALMACEN = C.GetString(\"ID_"; if (_c.getRowCount()>0) { _almacen = _c.GetString("ID_ALMACEN");}; - //BA.debugLineNum = 376;BA.debugLine="B4XPages.MainPage.almacen = ALMACEN"; + //BA.debugLineNum = 381;BA.debugLine="B4XPages.MainPage.almacen = ALMACEN"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ = _almacen; - //BA.debugLineNum = 377;BA.debugLine="C.Close"; + //BA.debugLineNum = 382;BA.debugLine="C.Close"; _c.Close(); - //BA.debugLineNum = 378;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HGDATE, HGLAT, H"; + //BA.debugLineNum = 383;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HGDATE, HGLAT, H"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HGDATE, HGLAT, HGLON from HIST_GPS"))); - //BA.debugLineNum = 380;BA.debugLine="If c.RowCount>0 Then"; + //BA.debugLineNum = 385;BA.debugLine="If c.RowCount>0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 381;BA.debugLine="For i=0 To c.RowCount -1"; + //BA.debugLineNum = 386;BA.debugLine="For i=0 To c.RowCount -1"; { final int step112 = 1; final int limit112 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit112 ;_i = _i + step112 ) { - //BA.debugLineNum = 382;BA.debugLine="c.Position=i"; + //BA.debugLineNum = 387;BA.debugLine="c.Position=i"; _c.setPosition(_i); - //BA.debugLineNum = 383;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 388;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 384;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 389;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 385;BA.debugLine="cmd.Name = \"insert_gps_actual_REP\""; + //BA.debugLineNum = 390;BA.debugLine="cmd.Name = \"insert_gps_actual_REP\""; _cmd.Name /*String*/ = "insert_gps_actual_REP"; - //BA.debugLineNum = 386;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"h"; + //BA.debugLineNum = 391;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"h"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("hgdate")),(Object)(_c.GetString("hglat")),(Object)(_c.GetString("hglon")),(Object)(_usuario)}; } }; }; - //BA.debugLineNum = 390;BA.debugLine="bu.Initialize"; + //BA.debugLineNum = 395;BA.debugLine="bu.Initialize"; _bu._initialize /*String*/ (ba); - //BA.debugLineNum = 391;BA.debugLine="batterystatus = bu.BatteryInformation"; + //BA.debugLineNum = 396;BA.debugLine="batterystatus = bu.BatteryInformation"; _batterystatus = _bu._getbatteryinformation /*int[]*/ (); - //BA.debugLineNum = 393;BA.debugLine="B4XPages.MainPage.batt = batterystatus(0)"; + //BA.debugLineNum = 398;BA.debugLine="B4XPages.MainPage.batt = batterystatus(0)"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._batt /*int*/ = _batterystatus[(int) (0)]; - //BA.debugLineNum = 394;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; + //BA.debugLineNum = 399;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 395;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 400;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 396;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; + //BA.debugLineNum = 401;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; _usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 397;BA.debugLine="c.Close"; + //BA.debugLineNum = 402;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 398;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTAA"; + //BA.debugLineNum = 403;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTAA"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); - //BA.debugLineNum = 399;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 404;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 400;BA.debugLine="RUTA_T = 0"; + //BA.debugLineNum = 405;BA.debugLine="RUTA_T = 0"; _ruta_t = BA.NumberToString(0); - //BA.debugLineNum = 401;BA.debugLine="If c.RowCount > 0 Then RUTA_T = c.GetString(\"RUTA"; + //BA.debugLineNum = 406;BA.debugLine="If c.RowCount > 0 Then RUTA_T = c.GetString(\"RUTA"; if (_c.getRowCount()>0) { _ruta_t = _c.GetString("RUTAA");}; - //BA.debugLineNum = 402;BA.debugLine="B4XPages.MainPage.rutaPreventa = RUTA_T"; + //BA.debugLineNum = 407;BA.debugLine="B4XPages.MainPage.rutaPreventa = RUTA_T"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _ruta_t; - //BA.debugLineNum = 403;BA.debugLine="c.Close"; + //BA.debugLineNum = 408;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 404;BA.debugLine="reqs.Initialize"; + //BA.debugLineNum = 409;BA.debugLine="reqs.Initialize"; _reqs.Initialize(); - //BA.debugLineNum = 406;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 411;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; _rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _rc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from REPARTO where REP_RECHAZO = \"1\" and REP_CANT > 0")))); - //BA.debugLineNum = 408;BA.debugLine="If rc.RowCount > 0 Then"; + //BA.debugLineNum = 413;BA.debugLine="If rc.RowCount > 0 Then"; if (_rc.getRowCount()>0) { - //BA.debugLineNum = 409;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from RECHAZOS"; + //BA.debugLineNum = 414;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from RECHAZOS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from RECHAZOS")); - //BA.debugLineNum = 410;BA.debugLine="For i3=0 To rc.RowCount -1 'Copiamos los rechazo"; + //BA.debugLineNum = 415;BA.debugLine="For i3=0 To rc.RowCount -1 'Copiamos los rechazo"; { final int step137 = 1; final int limit137 = (int) (_rc.getRowCount()-1); _i3 = (int) (0) ; for (;_i3 <= limit137 ;_i3 = _i3 + step137 ) { - //BA.debugLineNum = 411;BA.debugLine="rc.Position = i3"; + //BA.debugLineNum = 416;BA.debugLine="rc.Position = i3"; _rc.setPosition(_i3); - //BA.debugLineNum = 414;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into RECHAZO"; + //BA.debugLineNum = 419;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into RECHAZO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into RECHAZOS(R_FECHA, R_CLIENTE, R_CLI_ORIG, R_PRODID, R_CANT, R_RECHAZO, R_PRECIO) select REP_FECHA, REP_CLIENTE, REP_CLI_ORIG, REP_PRODID, REP_CANT, REP_RECHAZO, REP_PRECIO from REPARTO where REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_rc.GetString("REP_CLIENTE")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_rc.GetString("REP_CLI_ORIG")))+"' and REP_PRODID = '"+__c.SmartStringFormatter("",(Object)(_rc.GetString("REP_PRODID")))+"' and REP_RECHAZO = '1' and REP_CANT > 0")); } }; }; - //BA.debugLineNum = 417;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 422;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; _vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _vc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from REPARTO where REP_RECHAZO = \"0\" and REP_CANT > 0")))); - //BA.debugLineNum = 419;BA.debugLine="If vc.RowCount > 0 Then"; + //BA.debugLineNum = 424;BA.debugLine="If vc.RowCount > 0 Then"; if (_vc.getRowCount()>0) { - //BA.debugLineNum = 420;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from VENTAS\"$"; + //BA.debugLineNum = 425;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from VENTAS\"$"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from VENTAS")); - //BA.debugLineNum = 421;BA.debugLine="For i4=0 To vc.RowCount -1 'Copiamos las ventas"; + //BA.debugLineNum = 426;BA.debugLine="For i4=0 To vc.RowCount -1 'Copiamos las ventas"; { final int step145 = 1; final int limit145 = (int) (_vc.getRowCount()-1); _i4 = (int) (0) ; for (;_i4 <= limit145 ;_i4 = _i4 + step145 ) { - //BA.debugLineNum = 422;BA.debugLine="vc.Position = i4"; + //BA.debugLineNum = 427;BA.debugLine="vc.Position = i4"; _vc.setPosition(_i4); - //BA.debugLineNum = 425;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into VENTAS("; + //BA.debugLineNum = 430;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into VENTAS("; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into VENTAS(V_FECHA, V_CLIENTE, V_CLI_ORIG, V_PRODID, V_CANT, V_RECHAZO, V_PRECIO) select REP_FECHA, REP_CLIENTE, REP_CLI_ORIG, REP_PRODID, REP_CANT, REP_RECHAZO, REP_PRECIO from REPARTO where REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_CLIENTE")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_CLI_ORIG")))+"' and REP_PRODID = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_PRODID")))+"' and REP_RECHAZO = '0' and REP_CANT > 0")); } }; }; - //BA.debugLineNum = 428;BA.debugLine="Starter.ENVIA_ULTIMA_GPS"; + //BA.debugLineNum = 433;BA.debugLine="Starter.ENVIA_ULTIMA_GPS"; _starter._envia_ultima_gps /*String*/ (); - //BA.debugLineNum = 433;BA.debugLine="Dim entMap As Map = Subs.traeEntregados"; + //BA.debugLineNum = 438;BA.debugLine="Dim entMap As Map = Subs.traeEntregados"; _entmap = new anywheresoftware.b4a.objects.collections.Map(); _entmap = _subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 434;BA.debugLine="Dim rechMap As Map = Subs.traeRechazados"; + //BA.debugLineNum = 439;BA.debugLine="Dim rechMap As Map = Subs.traeRechazados"; _rechmap = new anywheresoftware.b4a.objects.collections.Map(); _rechmap = _subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 435;BA.debugLine="Dim vendMap As Map = Subs.traeVendidos"; + //BA.debugLineNum = 440;BA.debugLine="Dim vendMap As Map = Subs.traeVendidos"; _vendmap = new anywheresoftware.b4a.objects.collections.Map(); _vendmap = _subs._traevendidos /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 438;BA.debugLine="Dim cancelrecha As Cursor = Starter.skmt.ExecQuer"; + //BA.debugLineNum = 443;BA.debugLine="Dim cancelrecha As Cursor = Starter.skmt.ExecQuer"; _cancelrecha = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _cancelrecha = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ifnull(HVD_RECHAZOCANT,0), HVD_RECHAZO, CONSECUTIVO FROM HIST_VENTAS"))); - //BA.debugLineNum = 439;BA.debugLine="If cancelrecha.RowCount > 0 Then"; + //BA.debugLineNum = 444;BA.debugLine="If cancelrecha.RowCount > 0 Then"; if (_cancelrecha.getRowCount()>0) { - //BA.debugLineNum = 440;BA.debugLine="For h54 = 0 To cancelrecha.RowCount - 1"; + //BA.debugLineNum = 445;BA.debugLine="For h54 = 0 To cancelrecha.RowCount - 1"; { final int step156 = 1; final int limit156 = (int) (_cancelrecha.getRowCount()-1); _h54 = (int) (0) ; for (;_h54 <= limit156 ;_h54 = _h54 + step156 ) { - //BA.debugLineNum = 441;BA.debugLine="cancelrecha.Position = h54"; + //BA.debugLineNum = 446;BA.debugLine="cancelrecha.Position = h54"; _cancelrecha.setPosition(_h54); - //BA.debugLineNum = 442;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update HIST_VENTAS"; + //BA.debugLineNum = 447;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update HIST_VENTAS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update HIST_VENTAS set HVD_RECHAZO = '0' WHERE CONSECUTIVO = ? and (HVD_RECHAZOCANT = 0 OR HVD_RECHAZOCANT IS NULL)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_cancelrecha.GetString("CONSECUTIVO")})); } }; }; - //BA.debugLineNum = 445;BA.debugLine="cancelrecha.Close"; + //BA.debugLineNum = 450;BA.debugLine="cancelrecha.Close"; _cancelrecha.Close(); - //BA.debugLineNum = 449;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 454;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; _r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ORDER BY HVD_PROID ")))); - //BA.debugLineNum = 451;BA.debugLine="Private rescant As String = 0"; + //BA.debugLineNum = 456;BA.debugLine="Private rescant As String = 0"; _rescant = BA.NumberToString(0); - //BA.debugLineNum = 452;BA.debugLine="If r5.RowCount > 0 Then"; + //BA.debugLineNum = 457;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 453;BA.debugLine="For j4 = 0 To r5.RowCount -1"; + //BA.debugLineNum = 458;BA.debugLine="For j4 = 0 To r5.RowCount -1"; { final int step165 = 1; final int limit165 = (int) (_r5.getRowCount()-1); _j4 = (int) (0) ; for (;_j4 <= limit165 ;_j4 = _j4 + step165 ) { - //BA.debugLineNum = 454;BA.debugLine="r5.Position = j4"; + //BA.debugLineNum = 459;BA.debugLine="r5.Position = j4"; _r5.setPosition(_j4); - //BA.debugLineNum = 455;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; + //BA.debugLineNum = 460;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; _r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); - //BA.debugLineNum = 456;BA.debugLine="Dim totalcantped As String"; + //BA.debugLineNum = 461;BA.debugLine="Dim totalcantped As String"; _totalcantped = ""; - //BA.debugLineNum = 457;BA.debugLine="If r6.RowCount > 0 Then"; + //BA.debugLineNum = 462;BA.debugLine="If r6.RowCount > 0 Then"; if (_r6.getRowCount()>0) { - //BA.debugLineNum = 458;BA.debugLine="r6.Position = 0"; + //BA.debugLineNum = 463;BA.debugLine="r6.Position = 0"; _r6.setPosition((int) (0)); - //BA.debugLineNum = 459;BA.debugLine="totalcantped = r6.GetString(\"PE_CANT\")"; + //BA.debugLineNum = 464;BA.debugLine="totalcantped = r6.GetString(\"PE_CANT\")"; _totalcantped = _r6.GetString("PE_CANT"); }else { - //BA.debugLineNum = 462;BA.debugLine="totalcantped = 0"; + //BA.debugLineNum = 467;BA.debugLine="totalcantped = 0"; _totalcantped = BA.NumberToString(0); }; - //BA.debugLineNum = 465;BA.debugLine="Log(r5.GetString(\"HVD_RECHAZOCANT\") &\" - \"& tot"; -__c.LogImpl("814287105",_r5.GetString("HVD_RECHAZOCANT")+" - "+_totalcantped,0); - //BA.debugLineNum = 466;BA.debugLine="rescant = rescant + ((r5.GetString(\"HVD_COSTO_T"; + //BA.debugLineNum = 470;BA.debugLine="Log(r5.GetString(\"HVD_RECHAZOCANT\") &\" - \"& tot"; +__c.LogImpl("449938689",_r5.GetString("HVD_RECHAZOCANT")+" - "+_totalcantped,0); + //BA.debugLineNum = 471;BA.debugLine="rescant = rescant + ((r5.GetString(\"HVD_COSTO_T"; _rescant = BA.NumberToString((double)(Double.parseDouble(_rescant))+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_totalcantped)))))); - //BA.debugLineNum = 468;BA.debugLine="r6.Close"; + //BA.debugLineNum = 473;BA.debugLine="r6.Close"; _r6.Close(); } }; }; - //BA.debugLineNum = 471;BA.debugLine="If rescant = \"NaN\" Then rescant = 0"; + //BA.debugLineNum = 476;BA.debugLine="If rescant = \"NaN\" Then rescant = 0"; if ((_rescant).equals("NaN")) { _rescant = BA.NumberToString(0);}; - //BA.debugLineNum = 472;BA.debugLine="LogColor(rescant,Colors.Red)"; -__c.LogImpl("814287112",_rescant,__c.Colors.Red); - //BA.debugLineNum = 473;BA.debugLine="r5.Close"; + //BA.debugLineNum = 477;BA.debugLine="LogColor(rescant,Colors.Red)"; +__c.LogImpl("449938696",_rescant,__c.Colors.Red); + //BA.debugLineNum = 478;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 477;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 482;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; _r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))); - //BA.debugLineNum = 481;BA.debugLine="Private rescant2 As Double = 0"; + //BA.debugLineNum = 486;BA.debugLine="Private rescant2 As Double = 0"; _rescant2 = 0; - //BA.debugLineNum = 482;BA.debugLine="If r5.RowCount > 0 Then"; + //BA.debugLineNum = 487;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 483;BA.debugLine="For j5 = 0 To r5.RowCount -1"; + //BA.debugLineNum = 488;BA.debugLine="For j5 = 0 To r5.RowCount -1"; { final int step186 = 1; final int limit186 = (int) (_r5.getRowCount()-1); _j5 = (int) (0) ; for (;_j5 <= limit186 ;_j5 = _j5 + step186 ) { - //BA.debugLineNum = 484;BA.debugLine="r5.Position = j5"; + //BA.debugLineNum = 489;BA.debugLine="r5.Position = j5"; _r5.setPosition(_j5); - //BA.debugLineNum = 485;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; + //BA.debugLineNum = 490;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; _r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); - //BA.debugLineNum = 486;BA.debugLine="r6.Position = 0"; + //BA.debugLineNum = 491;BA.debugLine="r6.Position = 0"; _r6.setPosition((int) (0)); - //BA.debugLineNum = 488;BA.debugLine="rescant2 = rescant2 + ((r5.GetString(\"HVD_COSTO"; + //BA.debugLineNum = 493;BA.debugLine="rescant2 = rescant2 + ((r5.GetString(\"HVD_COSTO"; _rescant2 = _rescant2+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("CANTC")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_r6.GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_r5.GetString("HVD_PROID")))))); - //BA.debugLineNum = 489;BA.debugLine="rescant2 = NumberFormat2(rescant2, 0, 2, 2, Fal"; + //BA.debugLineNum = 494;BA.debugLine="rescant2 = NumberFormat2(rescant2, 0, 2, 2, Fal"; _rescant2 = (double)(Double.parseDouble(__c.NumberFormat2(_rescant2,(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 490;BA.debugLine="r6.Close"; + //BA.debugLineNum = 495;BA.debugLine="r6.Close"; _r6.Close(); } }; }; - //BA.debugLineNum = 493;BA.debugLine="If rescant2 = \"NaN\" Then rescant2 = 0"; + //BA.debugLineNum = 498;BA.debugLine="If rescant2 = \"NaN\" Then rescant2 = 0"; if (_rescant2==(double)(Double.parseDouble("NaN"))) { _rescant2 = 0;}; - //BA.debugLineNum = 494;BA.debugLine="Log(rescant2)"; -__c.LogImpl("814287134",BA.NumberToString(_rescant2),0); - //BA.debugLineNum = 495;BA.debugLine="r5.Close"; + //BA.debugLineNum = 499;BA.debugLine="Log(rescant2)"; +__c.LogImpl("449938718",BA.NumberToString(_rescant2),0); + //BA.debugLineNum = 500;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 500;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; + //BA.debugLineNum = 505;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; _r5r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5r = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ")))); - //BA.debugLineNum = 502;BA.debugLine="Private rescantr As String = 0"; + //BA.debugLineNum = 507;BA.debugLine="Private rescantr As String = 0"; _rescantr = BA.NumberToString(0); - //BA.debugLineNum = 503;BA.debugLine="If r5r.RowCount > 0 Then"; + //BA.debugLineNum = 508;BA.debugLine="If r5r.RowCount > 0 Then"; if (_r5r.getRowCount()>0) { - //BA.debugLineNum = 504;BA.debugLine="For j4r = 0 To r5r.RowCount -1"; + //BA.debugLineNum = 509;BA.debugLine="For j4r = 0 To r5r.RowCount -1"; { final int step201 = 1; final int limit201 = (int) (_r5r.getRowCount()-1); _j4r = (int) (0) ; for (;_j4r <= limit201 ;_j4r = _j4r + step201 ) { - //BA.debugLineNum = 505;BA.debugLine="r5r.Position = j4r"; + //BA.debugLineNum = 510;BA.debugLine="r5r.Position = j4r"; _r5r.setPosition(_j4r); - //BA.debugLineNum = 506;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; + //BA.debugLineNum = 511;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; _r6r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r6r = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("CONSECUTIVO")))+"' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE') ")))); - //BA.debugLineNum = 507;BA.debugLine="r6r.Position = 0"; + //BA.debugLineNum = 512;BA.debugLine="r6r.Position = 0"; _r6r.setPosition((int) (0)); - //BA.debugLineNum = 510;BA.debugLine="rescantr = rescantr + ((r5r.GetString(\"HVD_COST"; + //BA.debugLineNum = 515;BA.debugLine="rescantr = rescantr + ((r5r.GetString(\"HVD_COST"; _rescantr = BA.NumberToString((double)(Double.parseDouble(_rescantr))+(((double)(Double.parseDouble(_r5r.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5r.GetString("HVD_CANT")))))*(double)(Double.parseDouble((_r5r.GetString("HVD_RECHAZOCANT")))))); - //BA.debugLineNum = 511;BA.debugLine="r6r.Close"; + //BA.debugLineNum = 516;BA.debugLine="r6r.Close"; _r6r.Close(); } }; }; - //BA.debugLineNum = 514;BA.debugLine="If rescantr = \"NaN\" Then rescantr = 0"; + //BA.debugLineNum = 519;BA.debugLine="If rescantr = \"NaN\" Then rescantr = 0"; if ((_rescantr).equals("NaN")) { _rescantr = BA.NumberToString(0);}; - //BA.debugLineNum = 516;BA.debugLine="r5r.Close"; + //BA.debugLineNum = 521;BA.debugLine="r5r.Close"; _r5r.Close(); - //BA.debugLineNum = 518;BA.debugLine="Log(rescantr)"; -__c.LogImpl("814287158",_rescantr,0); - //BA.debugLineNum = 520;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; + //BA.debugLineNum = 523;BA.debugLine="Log(rescantr)"; +__c.LogImpl("449938742",_rescantr,0); + //BA.debugLineNum = 525;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; _r5r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5r = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))); - //BA.debugLineNum = 524;BA.debugLine="Private rescant2r As String = 0"; + //BA.debugLineNum = 529;BA.debugLine="Private rescant2r As String = 0"; _rescant2r = BA.NumberToString(0); - //BA.debugLineNum = 525;BA.debugLine="If r5r.RowCount > 0 Then"; + //BA.debugLineNum = 530;BA.debugLine="If r5r.RowCount > 0 Then"; if (_r5r.getRowCount()>0) { - //BA.debugLineNum = 526;BA.debugLine="For j5r = 0 To r5r.RowCount -1"; + //BA.debugLineNum = 531;BA.debugLine="For j5r = 0 To r5r.RowCount -1"; { final int step215 = 1; final int limit215 = (int) (_r5r.getRowCount()-1); _j5r = (int) (0) ; for (;_j5r <= limit215 ;_j5r = _j5r + step215 ) { - //BA.debugLineNum = 527;BA.debugLine="r5r.Position = j5r"; + //BA.debugLineNum = 532;BA.debugLine="r5r.Position = j5r"; _r5r.setPosition(_j5r); - //BA.debugLineNum = 528;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; + //BA.debugLineNum = 533;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; _r6r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r6r = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("CONSECUTIVO")))+"' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); - //BA.debugLineNum = 529;BA.debugLine="r6r.Position = 0"; + //BA.debugLineNum = 534;BA.debugLine="r6r.Position = 0"; _r6r.setPosition((int) (0)); - //BA.debugLineNum = 531;BA.debugLine="rescant2r = rescant2r + ((r5r.GetString(\"HVD_CO"; + //BA.debugLineNum = 536;BA.debugLine="rescant2r = rescant2r + ((r5r.GetString(\"HVD_CO"; _rescant2r = BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(((double)(Double.parseDouble(_r5r.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5r.GetString("CANTC")))))*((double)(Double.parseDouble((_r5r.GetString("HVD_RECHAZOCANT"))))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_r5r.GetString("HVD_PROID"))))))); - //BA.debugLineNum = 532;BA.debugLine="r6r.Close"; + //BA.debugLineNum = 537;BA.debugLine="r6r.Close"; _r6r.Close(); } }; }; - //BA.debugLineNum = 535;BA.debugLine="If rescant2r = \"NaN\" Then rescant2r = 0"; + //BA.debugLineNum = 540;BA.debugLine="If rescant2r = \"NaN\" Then rescant2r = 0"; if ((_rescant2r).equals("NaN")) { _rescant2r = BA.NumberToString(0);}; - //BA.debugLineNum = 537;BA.debugLine="r5r.Close"; + //BA.debugLineNum = 542;BA.debugLine="r5r.Close"; _r5r.Close(); - //BA.debugLineNum = 538;BA.debugLine="Log(rescant2r)"; -__c.LogImpl("814287178",_rescant2r,0); - //BA.debugLineNum = 539;BA.debugLine="Log(rescant2r+rescantr)"; -__c.LogImpl("814287179",BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(double)(Double.parseDouble(_rescantr))),0); - //BA.debugLineNum = 555;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\""; + //BA.debugLineNum = 543;BA.debugLine="Log(rescant2r)"; +__c.LogImpl("449938762",_rescant2r,0); + //BA.debugLineNum = 544;BA.debugLine="Log(rescant2r+rescantr)"; +__c.LogImpl("449938763",BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(double)(Double.parseDouble(_rescantr))),0); + //BA.debugLineNum = 560;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\""; _r55 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r55 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '0' ")))); - //BA.debugLineNum = 556;BA.debugLine="Private rescant3 As Double"; + //BA.debugLineNum = 561;BA.debugLine="Private rescant3 As Double"; _rescant3 = 0; - //BA.debugLineNum = 557;BA.debugLine="If r55.RowCount > 0 Then"; + //BA.debugLineNum = 562;BA.debugLine="If r55.RowCount > 0 Then"; if (_r55.getRowCount()>0) { - //BA.debugLineNum = 558;BA.debugLine="For r75 = 0 To r55.RowCount -1"; + //BA.debugLineNum = 563;BA.debugLine="For r75 = 0 To r55.RowCount -1"; { final int step230 = 1; final int limit230 = (int) (_r55.getRowCount()-1); _r75 = (int) (0) ; for (;_r75 <= limit230 ;_r75 = _r75 + step230 ) { - //BA.debugLineNum = 559;BA.debugLine="r55.Position = r75"; + //BA.debugLineNum = 564;BA.debugLine="r55.Position = r75"; _r55.setPosition(_r75); - //BA.debugLineNum = 560;BA.debugLine="rescant3 = rescant3 + r55.GetString(\"HVD_COSTO_"; + //BA.debugLineNum = 565;BA.debugLine="rescant3 = rescant3 + r55.GetString(\"HVD_COSTO_"; _rescant3 = _rescant3+(double)(Double.parseDouble(_r55.GetString("HVD_COSTO_TOT"))); - //BA.debugLineNum = 561;BA.debugLine="rescant3 = NumberFormat2(rescant3, 0, 2, 2, Fal"; + //BA.debugLineNum = 566;BA.debugLine="rescant3 = NumberFormat2(rescant3, 0, 2, 2, Fal"; _rescant3 = (double)(Double.parseDouble(__c.NumberFormat2(_rescant3,(int) (0),(int) (2),(int) (2),__c.False))); } }; }; - //BA.debugLineNum = 565;BA.debugLine="Log(rescant3)"; -__c.LogImpl("814287205",BA.NumberToString(_rescant3),0); - //BA.debugLineNum = 566;BA.debugLine="r55.Close"; + //BA.debugLineNum = 570;BA.debugLine="Log(rescant3)"; +__c.LogImpl("449938789",BA.NumberToString(_rescant3),0); + //BA.debugLineNum = 571;BA.debugLine="r55.Close"; _r55.Close(); - //BA.debugLineNum = 571;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 576;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; _r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(HVD_COSTO_TOT),0) AS HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '1' ")))); - //BA.debugLineNum = 572;BA.debugLine="Private rescant4 As Double"; + //BA.debugLineNum = 577;BA.debugLine="Private rescant4 As Double"; _rescant4 = 0; - //BA.debugLineNum = 573;BA.debugLine="If r5.RowCount > 0 Then"; + //BA.debugLineNum = 578;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 574;BA.debugLine="r5.Position = 0"; + //BA.debugLineNum = 579;BA.debugLine="r5.Position = 0"; _r5.setPosition((int) (0)); - //BA.debugLineNum = 575;BA.debugLine="rescant4 = r5.GetString(\"HVD_COSTO_TOT\")"; + //BA.debugLineNum = 580;BA.debugLine="rescant4 = r5.GetString(\"HVD_COSTO_TOT\")"; _rescant4 = (double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT"))); }; - //BA.debugLineNum = 577;BA.debugLine="Log(rescant4)"; -__c.LogImpl("814287217",BA.NumberToString(_rescant4),0); - //BA.debugLineNum = 578;BA.debugLine="r5.Close"; + //BA.debugLineNum = 582;BA.debugLine="Log(rescant4)"; +__c.LogImpl("449938801",BA.NumberToString(_rescant4),0); + //BA.debugLineNum = 583;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 580;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 585;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; _r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT from PEDIDO WHERE PE_TIPO <> 'SOBRANTE' ")))); - //BA.debugLineNum = 581;BA.debugLine="Private rescant5 As Double"; + //BA.debugLineNum = 586;BA.debugLine="Private rescant5 As Double"; _rescant5 = 0; - //BA.debugLineNum = 582;BA.debugLine="If r5.RowCount > 0 Then"; + //BA.debugLineNum = 587;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 583;BA.debugLine="r5.Position = 0"; + //BA.debugLineNum = 588;BA.debugLine="r5.Position = 0"; _r5.setPosition((int) (0)); - //BA.debugLineNum = 584;BA.debugLine="rescant5 = r5.GetString(\"PE_COSTO_TOT\")"; + //BA.debugLineNum = 589;BA.debugLine="rescant5 = r5.GetString(\"PE_COSTO_TOT\")"; _rescant5 = (double)(Double.parseDouble(_r5.GetString("PE_COSTO_TOT"))); }; - //BA.debugLineNum = 586;BA.debugLine="Log(rescant5)"; -__c.LogImpl("814287226",BA.NumberToString(_rescant5),0); - //BA.debugLineNum = 587;BA.debugLine="r5.Close"; + //BA.debugLineNum = 591;BA.debugLine="Log(rescant5)"; +__c.LogImpl("449938810",BA.NumberToString(_rescant5),0); + //BA.debugLineNum = 592;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 592;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 597;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; _r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ")))); - //BA.debugLineNum = 593;BA.debugLine="Private rescant6 As Double"; + //BA.debugLineNum = 598;BA.debugLine="Private rescant6 As Double"; _rescant6 = 0; - //BA.debugLineNum = 594;BA.debugLine="If r5.RowCount > 0 Then"; + //BA.debugLineNum = 599;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 595;BA.debugLine="For j4 = 0 To r5.RowCount -1"; + //BA.debugLineNum = 600;BA.debugLine="For j4 = 0 To r5.RowCount -1"; { final int step257 = 1; final int limit257 = (int) (_r5.getRowCount()-1); _j4 = (int) (0) ; for (;_j4 <= limit257 ;_j4 = _j4 + step257 ) { - //BA.debugLineNum = 596;BA.debugLine="r5.Position = j4"; + //BA.debugLineNum = 601;BA.debugLine="r5.Position = j4"; _r5.setPosition(_j4); - //BA.debugLineNum = 597;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; + //BA.debugLineNum = 602;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; _r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); - //BA.debugLineNum = 598;BA.debugLine="r6.Position = 0"; + //BA.debugLineNum = 603;BA.debugLine="r6.Position = 0"; _r6.setPosition((int) (0)); - //BA.debugLineNum = 601;BA.debugLine="rescant6 = rescant6 + ((r5.GetString(\"HVD_COSTO"; + //BA.debugLineNum = 606;BA.debugLine="rescant6 = rescant6 + ((r5.GetString(\"HVD_COSTO"; _rescant6 = _rescant6+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 603;BA.debugLine="r6.Close"; + //BA.debugLineNum = 608;BA.debugLine="r6.Close"; _r6.Close(); } }; }; - //BA.debugLineNum = 606;BA.debugLine="If rescant6 = \"NaN\" Then rescant6 = 0"; + //BA.debugLineNum = 611;BA.debugLine="If rescant6 = \"NaN\" Then rescant6 = 0"; if (_rescant6==(double)(Double.parseDouble("NaN"))) { _rescant6 = 0;}; - //BA.debugLineNum = 607;BA.debugLine="LogColor(rescant6,Colors.Red)"; -__c.LogImpl("814287247",BA.NumberToString(_rescant6),__c.Colors.Red); - //BA.debugLineNum = 608;BA.debugLine="r5.Close"; + //BA.debugLineNum = 612;BA.debugLine="LogColor(rescant6,Colors.Red)"; +__c.LogImpl("449938831",BA.NumberToString(_rescant6),__c.Colors.Red); + //BA.debugLineNum = 613;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 610;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 615;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; _r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))); - //BA.debugLineNum = 611;BA.debugLine="Private rescant7 As Double"; + //BA.debugLineNum = 616;BA.debugLine="Private rescant7 As Double"; _rescant7 = 0; - //BA.debugLineNum = 612;BA.debugLine="If r5.RowCount > 0 Then"; + //BA.debugLineNum = 617;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 613;BA.debugLine="For j5 = 0 To r5.RowCount -1"; + //BA.debugLineNum = 618;BA.debugLine="For j5 = 0 To r5.RowCount -1"; { final int step271 = 1; final int limit271 = (int) (_r5.getRowCount()-1); _j5 = (int) (0) ; for (;_j5 <= limit271 ;_j5 = _j5 + step271 ) { - //BA.debugLineNum = 614;BA.debugLine="r5.Position = j5"; + //BA.debugLineNum = 619;BA.debugLine="r5.Position = j5"; _r5.setPosition(_j5); - //BA.debugLineNum = 615;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; + //BA.debugLineNum = 620;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; _r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); - //BA.debugLineNum = 616;BA.debugLine="r6.Position = 0"; + //BA.debugLineNum = 621;BA.debugLine="r6.Position = 0"; _r6.setPosition((int) (0)); - //BA.debugLineNum = 618;BA.debugLine="rescant7 = rescant7 + ((r5.GetString(\"HVD_COSTO"; + //BA.debugLineNum = 623;BA.debugLine="rescant7 = rescant7 + ((r5.GetString(\"HVD_COSTO"; _rescant7 = _rescant7+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("CANTC")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT"))))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_r5.GetString("HVD_PROID")))))); - //BA.debugLineNum = 619;BA.debugLine="r6.Close"; + //BA.debugLineNum = 624;BA.debugLine="r6.Close"; _r6.Close(); } }; }; - //BA.debugLineNum = 622;BA.debugLine="If rescant7 = \"NaN\" Then rescant7 = 0"; + //BA.debugLineNum = 627;BA.debugLine="If rescant7 = \"NaN\" Then rescant7 = 0"; if (_rescant7==(double)(Double.parseDouble("NaN"))) { _rescant7 = 0;}; - //BA.debugLineNum = 623;BA.debugLine="Log(rescant7)"; -__c.LogImpl("814287263",BA.NumberToString(_rescant7),0); - //BA.debugLineNum = 624;BA.debugLine="r5.Close"; + //BA.debugLineNum = 628;BA.debugLine="Log(rescant7)"; +__c.LogImpl("449938847",BA.NumberToString(_rescant7),0); + //BA.debugLineNum = 629;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 627;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\""; + //BA.debugLineNum = 632;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\""; _r55 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r55 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_COSTO_TOT, HVD_CANT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '0' AND HVD_CLIENTE IN (SELECT CAT_CL_CODIGO from kmt_info WHERE gestion = 2)")))); - //BA.debugLineNum = 628;BA.debugLine="Private rescant10 As Double"; + //BA.debugLineNum = 633;BA.debugLine="Private rescant10 As Double"; _rescant10 = 0; - //BA.debugLineNum = 629;BA.debugLine="Private pztotal As Int"; + //BA.debugLineNum = 634;BA.debugLine="Private pztotal As Int"; _pztotal = 0; - //BA.debugLineNum = 630;BA.debugLine="If r55.RowCount > 0 Then"; + //BA.debugLineNum = 635;BA.debugLine="If r55.RowCount > 0 Then"; if (_r55.getRowCount()>0) { - //BA.debugLineNum = 631;BA.debugLine="For r75 = 0 To r55.RowCount -1"; + //BA.debugLineNum = 636;BA.debugLine="For r75 = 0 To r55.RowCount -1"; { final int step286 = 1; final int limit286 = (int) (_r55.getRowCount()-1); _r75 = (int) (0) ; for (;_r75 <= limit286 ;_r75 = _r75 + step286 ) { - //BA.debugLineNum = 632;BA.debugLine="r55.Position = r75"; + //BA.debugLineNum = 637;BA.debugLine="r55.Position = r75"; _r55.setPosition(_r75); - //BA.debugLineNum = 633;BA.debugLine="rescant10 = rescant10 + r55.GetString(\"HVD_COST"; + //BA.debugLineNum = 638;BA.debugLine="rescant10 = rescant10 + r55.GetString(\"HVD_COST"; _rescant10 = _rescant10+(double)(Double.parseDouble(_r55.GetString("HVD_COSTO_TOT"))); - //BA.debugLineNum = 634;BA.debugLine="rescant10 = NumberFormat2(rescant10, 0, 2, 2, F"; + //BA.debugLineNum = 639;BA.debugLine="rescant10 = NumberFormat2(rescant10, 0, 2, 2, F"; _rescant10 = (double)(Double.parseDouble(__c.NumberFormat2(_rescant10,(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 635;BA.debugLine="pztotal = pztotal + r55.GetString(\"HVD_CANT\")"; + //BA.debugLineNum = 640;BA.debugLine="pztotal = pztotal + r55.GetString(\"HVD_CANT\")"; _pztotal = (int) (_pztotal+(double)(Double.parseDouble(_r55.GetString("HVD_CANT")))); } }; }; - //BA.debugLineNum = 638;BA.debugLine="Log(rescant10)"; -__c.LogImpl("814287278",BA.NumberToString(_rescant10),0); - //BA.debugLineNum = 639;BA.debugLine="r55.Close"; + //BA.debugLineNum = 643;BA.debugLine="Log(rescant10)"; +__c.LogImpl("449938862",BA.NumberToString(_rescant10),0); + //BA.debugLineNum = 644;BA.debugLine="r55.Close"; _r55.Close(); - //BA.debugLineNum = 652;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 657;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; _r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT, IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO ")))); - //BA.debugLineNum = 653;BA.debugLine="Private pztotal2 As Int"; + //BA.debugLineNum = 658;BA.debugLine="Private pztotal2 As Int"; _pztotal2 = 0; - //BA.debugLineNum = 654;BA.debugLine="Private rescant11 As Double"; + //BA.debugLineNum = 659;BA.debugLine="Private rescant11 As Double"; _rescant11 = 0; - //BA.debugLineNum = 655;BA.debugLine="If r5.RowCount > 0 Then"; + //BA.debugLineNum = 660;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 656;BA.debugLine="r5.Position = 0"; + //BA.debugLineNum = 661;BA.debugLine="r5.Position = 0"; _r5.setPosition((int) (0)); - //BA.debugLineNum = 657;BA.debugLine="rescant11 = r5.GetString(\"PE_COSTO_TOT\")"; + //BA.debugLineNum = 662;BA.debugLine="rescant11 = r5.GetString(\"PE_COSTO_TOT\")"; _rescant11 = (double)(Double.parseDouble(_r5.GetString("PE_COSTO_TOT"))); - //BA.debugLineNum = 658;BA.debugLine="pztotal2 = pztotal2 + r5.GetString(\"PE_CANT\")"; + //BA.debugLineNum = 663;BA.debugLine="pztotal2 = pztotal2 + r5.GetString(\"PE_CANT\")"; _pztotal2 = (int) (_pztotal2+(double)(Double.parseDouble(_r5.GetString("PE_CANT")))); }; - //BA.debugLineNum = 660;BA.debugLine="Log(rescant11)"; -__c.LogImpl("814287300",BA.NumberToString(_rescant11),0); - //BA.debugLineNum = 661;BA.debugLine="r5.Close"; + //BA.debugLineNum = 665;BA.debugLine="Log(rescant11)"; +__c.LogImpl("449938884",BA.NumberToString(_rescant11),0); + //BA.debugLineNum = 666;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 663;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 668;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; _r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' AND HVD_CLIENTE IN (SELECT CAT_CL_CODIGO from kmt_info WHERE gestion = 2) ")))); - //BA.debugLineNum = 664;BA.debugLine="Private pztotal3 As Int"; + //BA.debugLineNum = 669;BA.debugLine="Private pztotal3 As Int"; _pztotal3 = 0; - //BA.debugLineNum = 665;BA.debugLine="Private rescant12 As Double"; + //BA.debugLineNum = 670;BA.debugLine="Private rescant12 As Double"; _rescant12 = 0; - //BA.debugLineNum = 666;BA.debugLine="If r5.RowCount > 0 Then"; + //BA.debugLineNum = 671;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 667;BA.debugLine="For j4 = 0 To r5.RowCount -1"; + //BA.debugLineNum = 672;BA.debugLine="For j4 = 0 To r5.RowCount -1"; { final int step309 = 1; final int limit309 = (int) (_r5.getRowCount()-1); _j4 = (int) (0) ; for (;_j4 <= limit309 ;_j4 = _j4 + step309 ) { - //BA.debugLineNum = 668;BA.debugLine="r5.Position = j4"; + //BA.debugLineNum = 673;BA.debugLine="r5.Position = j4"; _r5.setPosition(_j4); - //BA.debugLineNum = 669;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; + //BA.debugLineNum = 674;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; _r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' ")))); - //BA.debugLineNum = 670;BA.debugLine="r6.Position = 0"; + //BA.debugLineNum = 675;BA.debugLine="r6.Position = 0"; _r6.setPosition((int) (0)); - //BA.debugLineNum = 671;BA.debugLine="LogColor(r5.GetString(\"HVD_COSTO_TOT\")&\" / \"& r"; -__c.LogImpl("814287311",_r5.GetString("HVD_COSTO_TOT")+" / "+_r5.GetString("HVD_CANT")+" * "+_r5.GetString("HVD_RECHAZOCANT")+" - "+_r6.GetString("PE_CANT"),__c.Colors.Blue); - //BA.debugLineNum = 672;BA.debugLine="LogColor(r6.GetString(\"PE_CANT\"),Colors.Blue)"; -__c.LogImpl("814287312",_r6.GetString("PE_CANT"),__c.Colors.Blue); - //BA.debugLineNum = 673;BA.debugLine="rescant12 = rescant12 + ((r5.GetString(\"HVD_COS"; + //BA.debugLineNum = 676;BA.debugLine="LogColor(r5.GetString(\"HVD_COSTO_TOT\")&\" / \"& r"; +__c.LogImpl("449938895",_r5.GetString("HVD_COSTO_TOT")+" / "+_r5.GetString("HVD_CANT")+" * "+_r5.GetString("HVD_RECHAZOCANT")+" - "+_r6.GetString("PE_CANT"),__c.Colors.Blue); + //BA.debugLineNum = 677;BA.debugLine="LogColor(r6.GetString(\"PE_CANT\"),Colors.Blue)"; +__c.LogImpl("449938896",_r6.GetString("PE_CANT"),__c.Colors.Blue); + //BA.debugLineNum = 678;BA.debugLine="rescant12 = rescant12 + ((r5.GetString(\"HVD_COS"; _rescant12 = _rescant12+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 674;BA.debugLine="pztotal3 = pztotal3 + (r5.GetString(\"HVD_CANT\""; + //BA.debugLineNum = 679;BA.debugLine="pztotal3 = pztotal3 + (r5.GetString(\"HVD_CANT\""; _pztotal3 = (int) (_pztotal3+((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 675;BA.debugLine="Log(rescant12)"; -__c.LogImpl("814287315",BA.NumberToString(_rescant12),0); - //BA.debugLineNum = 676;BA.debugLine="r6.Close"; + //BA.debugLineNum = 680;BA.debugLine="Log(rescant12)"; +__c.LogImpl("449938899",BA.NumberToString(_rescant12),0); + //BA.debugLineNum = 681;BA.debugLine="r6.Close"; _r6.Close(); } }; }; - //BA.debugLineNum = 679;BA.debugLine="If rescant12 = \"NaN\" Then rescant12 = 0"; + //BA.debugLineNum = 684;BA.debugLine="If rescant12 = \"NaN\" Then rescant12 = 0"; if (_rescant12==(double)(Double.parseDouble("NaN"))) { _rescant12 = 0;}; - //BA.debugLineNum = 680;BA.debugLine="LogColor(rescant12,Colors.Red)"; -__c.LogImpl("814287320",BA.NumberToString(_rescant12),__c.Colors.Red); - //BA.debugLineNum = 681;BA.debugLine="r5.Close"; + //BA.debugLineNum = 685;BA.debugLine="LogColor(rescant12,Colors.Red)"; +__c.LogImpl("449938904",BA.NumberToString(_rescant12),__c.Colors.Red); + //BA.debugLineNum = 686;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 684;BA.debugLine="Private restafaltante As Cursor = Starter.skmt.Ex"; + //BA.debugLineNum = 689;BA.debugLine="Private restafaltante As Cursor = Starter.skmt.Ex"; _restafaltante = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _restafaltante = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT from PEDIDO where PE_CLIENTEOR = '' AND PE_TIPO = 'FALTANTE'")))); - //BA.debugLineNum = 686;BA.debugLine="Private rescant8 As Double = 0"; + //BA.debugLineNum = 691;BA.debugLine="Private rescant8 As Double = 0"; _rescant8 = 0; - //BA.debugLineNum = 688;BA.debugLine="If restafaltante.RowCount > 0 Then"; + //BA.debugLineNum = 693;BA.debugLine="If restafaltante.RowCount > 0 Then"; if (_restafaltante.getRowCount()>0) { - //BA.debugLineNum = 689;BA.debugLine="restafaltante.Position = 0"; + //BA.debugLineNum = 694;BA.debugLine="restafaltante.Position = 0"; _restafaltante.setPosition((int) (0)); - //BA.debugLineNum = 690;BA.debugLine="rescant8 = NumberFormat2(restafaltante.GetDouble"; + //BA.debugLineNum = 695;BA.debugLine="rescant8 = NumberFormat2(restafaltante.GetDouble"; _rescant8 = (double)(Double.parseDouble(__c.NumberFormat2(_restafaltante.GetDouble("PE_COSTO_TOT"),(int) (0),(int) (2),(int) (2),__c.False))); }; - //BA.debugLineNum = 692;BA.debugLine="If rescant8 = \"NaN\" Then rescant8 = 0"; + //BA.debugLineNum = 697;BA.debugLine="If rescant8 = \"NaN\" Then rescant8 = 0"; if (_rescant8==(double)(Double.parseDouble("NaN"))) { _rescant8 = 0;}; - //BA.debugLineNum = 693;BA.debugLine="Log(rescant8)"; -__c.LogImpl("814287333",BA.NumberToString(_rescant8),0); - //BA.debugLineNum = 694;BA.debugLine="r5.Close"; + //BA.debugLineNum = 698;BA.debugLine="Log(rescant8)"; +__c.LogImpl("449938917",BA.NumberToString(_rescant8),0); + //BA.debugLineNum = 699;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 696;BA.debugLine="l_rechazo.text = NumberFormat2((rescant + rescant"; + //BA.debugLineNum = 701;BA.debugLine="l_rechazo.text = NumberFormat2((rescant + rescant"; _l_rechazo.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_rescant))+_rescant2),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 697;BA.debugLine="L_MONTOE.Text = NumberFormat2((rescant3 + rescant"; + //BA.debugLineNum = 702;BA.debugLine="L_MONTOE.Text = NumberFormat2((rescant3 + rescant"; _l_montoe.setText(BA.ObjectToCharSequence(__c.NumberFormat2((_rescant3+_rescant4+_rescant5+_rescant6+_rescant7),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 698;BA.debugLine="Log((rescant3 &\" + \"& rescant4 &\" + \"& re"; -__c.LogImpl("814287338",(BA.NumberToString(_rescant3)+" + "+BA.NumberToString(_rescant4)+" + "+BA.NumberToString(_rescant5)+" + "+BA.NumberToString(_rescant6)+" + "+BA.NumberToString(_rescant7)),0); - //BA.debugLineNum = 701;BA.debugLine="Dim g8 As Cursor = Starter.skmt.ExecQuery(\"SELECT"; + //BA.debugLineNum = 703;BA.debugLine="Log((rescant3 &\" + \"& rescant4 &\" + \"& re"; +__c.LogImpl("449938922",(BA.NumberToString(_rescant3)+" + "+BA.NumberToString(_rescant4)+" + "+BA.NumberToString(_rescant5)+" + "+BA.NumberToString(_rescant6)+" + "+BA.NumberToString(_rescant7)),0); + //BA.debugLineNum = 706;BA.debugLine="Dim g8 As Cursor = Starter.skmt.ExecQuery(\"SELECT"; _g8 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _g8 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT IFNULL(SUM(HVD_COSTO_TOT),0) AS HVD_COSTO_TOT FROM HIST_VENTAS"))); - //BA.debugLineNum = 702;BA.debugLine="g8.Position = 0"; + //BA.debugLineNum = 707;BA.debugLine="g8.Position = 0"; _g8.setPosition((int) (0)); - //BA.debugLineNum = 703;BA.debugLine="Dim g11 As Cursor = Starter.skmt.ExecQuery(\"SELEC"; + //BA.debugLineNum = 708;BA.debugLine="Dim g11 As Cursor = Starter.skmt.ExecQuery(\"SELEC"; _g11 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _g11 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT count(*) as cuenta FROM kmt_info where gestion <> 0"))); - //BA.debugLineNum = 704;BA.debugLine="g11.Position = 0"; + //BA.debugLineNum = 709;BA.debugLine="g11.Position = 0"; _g11.setPosition((int) (0)); - //BA.debugLineNum = 705;BA.debugLine="Dim g12 As Cursor = Starter.skmt.ExecQuery(\"SELEC"; + //BA.debugLineNum = 710;BA.debugLine="Dim g12 As Cursor = Starter.skmt.ExecQuery(\"SELEC"; _g12 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _g12 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT count(*) as cuenta FROM kmt_info where gestion = 2"))); - //BA.debugLineNum = 706;BA.debugLine="g12.Position = 0"; + //BA.debugLineNum = 711;BA.debugLine="g12.Position = 0"; _g12.setPosition((int) (0)); - //BA.debugLineNum = 707;BA.debugLine="Dim g13 As Cursor = Starter.skmt.ExecQuery(\"SELEC"; + //BA.debugLineNum = 712;BA.debugLine="Dim g13 As Cursor = Starter.skmt.ExecQuery(\"SELEC"; _g13 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _g13 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT count(*) as cuenta FROM kmt_info where gestion = 3"))); - //BA.debugLineNum = 708;BA.debugLine="g13.Position = 0"; + //BA.debugLineNum = 713;BA.debugLine="g13.Position = 0"; _g13.setPosition((int) (0)); - //BA.debugLineNum = 710;BA.debugLine="B4XPages.MainPage.monto_entregadoactual = Number"; + //BA.debugLineNum = 715;BA.debugLine="B4XPages.MainPage.monto_entregadoactual = Number"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._monto_entregadoactual /*String*/ = __c.NumberFormat2((_rescant10+_rescant11+_rescant12),(int) (0),(int) (2),(int) (2),__c.False); - //BA.debugLineNum = 712;BA.debugLine="B4XPages.MainPage.clientesVisitados = L_MONTOE.Te"; + //BA.debugLineNum = 717;BA.debugLine="B4XPages.MainPage.clientesVisitados = L_MONTOE.Te"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._clientesvisitados /*String*/ = _l_montoe.getText(); - //BA.debugLineNum = 713;BA.debugLine="B4XPages.MainPage.clientesVenta = l_cuantosc.Text"; + //BA.debugLineNum = 718;BA.debugLine="B4XPages.MainPage.clientesVenta = l_cuantosc.Text"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._clientesventa /*String*/ = _l_cuantosc.getText(); - //BA.debugLineNum = 714;BA.debugLine="B4XPages.MainPage.clientesRechazo = l_cuantosn.Te"; + //BA.debugLineNum = 719;BA.debugLine="B4XPages.MainPage.clientesRechazo = l_cuantosn.Te"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._clientesrechazo /*String*/ = _l_cuantosn.getText(); - //BA.debugLineNum = 715;BA.debugLine="B4XPages.MainPage.clientestotal = l_porvisitar.Te"; + //BA.debugLineNum = 720;BA.debugLine="B4XPages.MainPage.clientestotal = l_porvisitar.Te"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._clientestotal /*String*/ = _l_porvisitar.getText(); - //BA.debugLineNum = 716;BA.debugLine="B4XPages.MainPage.montoActual = Round2(g8.GetStr"; + //BA.debugLineNum = 721;BA.debugLine="B4XPages.MainPage.montoActual = Round2(g8.GetStr"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._montoactual /*String*/ = BA.NumberToString(__c.Round2((double)(Double.parseDouble(_g8.GetString("HVD_COSTO_TOT"))),(int) (2))); - //BA.debugLineNum = 717;BA.debugLine="B4XPages.MainPage.porVisitar = l_ctast.text"; + //BA.debugLineNum = 722;BA.debugLine="B4XPages.MainPage.porVisitar = l_ctast.text"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._porvisitar /*String*/ = _l_ctast.getText(); - //BA.debugLineNum = 718;BA.debugLine="B4XPages.MainPage.visitadostotales = g11.GetStrin"; + //BA.debugLineNum = 723;BA.debugLine="B4XPages.MainPage.visitadostotales = g11.GetStrin"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._visitadostotales /*String*/ = _g11.GetString("cuenta"); - //BA.debugLineNum = 720;BA.debugLine="B4XPages.MainPage.entregas = g12.GetString(\"cuent"; + //BA.debugLineNum = 725;BA.debugLine="B4XPages.MainPage.entregas = g12.GetString(\"cuent"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._entregas /*String*/ = _g12.GetString("cuenta"); - //BA.debugLineNum = 721;BA.debugLine="B4XPages.MainPage.rechazos = g13.GetString(\"cuent"; + //BA.debugLineNum = 726;BA.debugLine="B4XPages.MainPage.rechazos = g13.GetString(\"cuent"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._rechazos /*String*/ = _g13.GetString("cuenta"); - //BA.debugLineNum = 722;BA.debugLine="B4XPages.MainPage.montoEntregado = L_MONTOE.text"; + //BA.debugLineNum = 727;BA.debugLine="B4XPages.MainPage.montoEntregado = L_MONTOE.text"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._montoentregado /*String*/ = _l_montoe.getText(); - //BA.debugLineNum = 723;BA.debugLine="B4XPages.MainPage.montoRechazado = l_rechazo.text"; + //BA.debugLineNum = 728;BA.debugLine="B4XPages.MainPage.montoRechazado = l_rechazo.text"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._montorechazado /*String*/ = _l_rechazo.getText(); - //BA.debugLineNum = 725;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; + //BA.debugLineNum = 730;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 728;BA.debugLine="If l_ctast.Text = 0 And l_porvisitar.Text <> 0 Th"; + //BA.debugLineNum = 733;BA.debugLine="If l_ctast.Text = 0 And l_porvisitar.Text <> 0 Th"; if ((_l_ctast.getText()).equals(BA.NumberToString(0)) && (_l_porvisitar.getText()).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 729;BA.debugLine="Label9.Visible = True"; + //BA.debugLineNum = 734;BA.debugLine="Label9.Visible = True"; _label9.setVisible(__c.True); - //BA.debugLineNum = 730;BA.debugLine="L_MONTOE.Visible = True"; + //BA.debugLineNum = 735;BA.debugLine="L_MONTOE.Visible = True"; _l_montoe.setVisible(__c.True); - //BA.debugLineNum = 731;BA.debugLine="l_montoaliquidar.Visible = True"; + //BA.debugLineNum = 736;BA.debugLine="l_montoaliquidar.Visible = True"; _l_montoaliquidar.setVisible(__c.True); - //BA.debugLineNum = 732;BA.debugLine="Label21.Visible = True"; + //BA.debugLineNum = 737;BA.debugLine="Label21.Visible = True"; _label21.setVisible(__c.True); - //BA.debugLineNum = 740;BA.debugLine="b_venta_emp.Visible = True"; + //BA.debugLineNum = 745;BA.debugLine="b_venta_emp.Visible = True"; _b_venta_emp.setVisible(__c.True); + //BA.debugLineNum = 746;BA.debugLine="b_comodin.Visible = True"; +_b_comodin.setVisible(__c.True); }else { - //BA.debugLineNum = 742;BA.debugLine="Label21.Visible = False"; + //BA.debugLineNum = 748;BA.debugLine="Label21.Visible = False"; _label21.setVisible(__c.False); - //BA.debugLineNum = 743;BA.debugLine="l_montoaliquidar.Visible = False"; + //BA.debugLineNum = 749;BA.debugLine="l_montoaliquidar.Visible = False"; _l_montoaliquidar.setVisible(__c.False); - //BA.debugLineNum = 744;BA.debugLine="Label9.Visible = False '''' PRUEBAS MOVER A TRU"; + //BA.debugLineNum = 750;BA.debugLine="Label9.Visible = False '''' PRUEBAS MOVER A TRU"; _label9.setVisible(__c.False); - //BA.debugLineNum = 745;BA.debugLine="L_MONTOE.Visible = False"; + //BA.debugLineNum = 751;BA.debugLine="L_MONTOE.Visible = False"; _l_montoe.setVisible(__c.False); - //BA.debugLineNum = 746;BA.debugLine="b_venta_emp.Visible = False '''' PRUEBAS MOVER A"; + //BA.debugLineNum = 752;BA.debugLine="b_venta_emp.Visible = False '''' PRUEBAS MOVER A"; _b_venta_emp.setVisible(__c.False); + //BA.debugLineNum = 753;BA.debugLine="b_comodin.Visible = False"; +_b_comodin.setVisible(__c.False); }; - //BA.debugLineNum = 749;BA.debugLine="If l_ruta.Text = 0 Then"; + //BA.debugLineNum = 756;BA.debugLine="If l_ruta.Text = 0 Then"; if ((_l_ruta.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 750;BA.debugLine="b_imp_inventario.Visible = False"; + //BA.debugLineNum = 757;BA.debugLine="b_imp_inventario.Visible = False"; _b_imp_inventario.setVisible(__c.False); }else { - //BA.debugLineNum = 752;BA.debugLine="b_imp_inventario.Visible = True"; + //BA.debugLineNum = 759;BA.debugLine="b_imp_inventario.Visible = True"; _b_imp_inventario.setVisible(__c.True); }; - //BA.debugLineNum = 760;BA.debugLine="c = Starter.skmt.ExecQuery2(\"select CAT_VA_VALOR"; + //BA.debugLineNum = 767;BA.debugLine="c = Starter.skmt.ExecQuery2(\"select CAT_VA_VALOR"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"MACIMP"}))); - //BA.debugLineNum = 761;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 768;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 762;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 769;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 763;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; + //BA.debugLineNum = 770;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; _starter._mac_impresora /*String*/ = _c.GetString("CAT_VA_VALOR"); }; - //BA.debugLineNum = 765;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; + //BA.debugLineNum = 772;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; if ((_starter._mac_impresora /*String*/ ).equals("")) { _starter._mac_impresora /*String*/ = "0";}; - //BA.debugLineNum = 767;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; + //BA.debugLineNum = 774;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; _printer1._initialize /*String*/ (ba,this,"Printer1"); - //BA.debugLineNum = 768;BA.debugLine="If Printer1.IsConnected = False Then"; + //BA.debugLineNum = 775;BA.debugLine="If Printer1.IsConnected = False Then"; if (_printer1._isconnected /*boolean*/ ()==__c.False) { }else { - //BA.debugLineNum = 772;BA.debugLine="Printer1.DisConnect"; + //BA.debugLineNum = 779;BA.debugLine="Printer1.DisConnect"; _printer1._disconnect /*String*/ (); - //BA.debugLineNum = 773;BA.debugLine="Printer1.Connect"; + //BA.debugLineNum = 780;BA.debugLine="Printer1.Connect"; _printer1._connect /*boolean*/ (); - //BA.debugLineNum = 774;BA.debugLine="Log(\"2\")"; -__c.LogImpl("814287414","2",0); + //BA.debugLineNum = 781;BA.debugLine="Log(\"2\")"; +__c.LogImpl("449939000","2",0); }; - //BA.debugLineNum = 777;BA.debugLine="Dim pagarescobrados As Cursor = Starter.skmt.Exec"; + //BA.debugLineNum = 784;BA.debugLine="Dim pagarescobrados As Cursor = Starter.skmt.Exec"; _pagarescobrados = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _pagarescobrados = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT IfNULL(SUM(a_abono),0) as a_abono FROM ABONOS"))); - //BA.debugLineNum = 778;BA.debugLine="pagarescobrados.Position = 0"; + //BA.debugLineNum = 785;BA.debugLine="pagarescobrados.Position = 0"; _pagarescobrados.setPosition((int) (0)); - //BA.debugLineNum = 779;BA.debugLine="l_pagarescobrados.Text = NumberFormat2(pagarescob"; + //BA.debugLineNum = 786;BA.debugLine="l_pagarescobrados.Text = NumberFormat2(pagarescob"; _l_pagarescobrados.setText(BA.ObjectToCharSequence(__c.NumberFormat2(_pagarescobrados.GetDouble("a_abono"),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 780;BA.debugLine="pagarescobrados.Close"; + //BA.debugLineNum = 787;BA.debugLine="pagarescobrados.Close"; _pagarescobrados.Close(); - //BA.debugLineNum = 782;BA.debugLine="Dim pagaresnuevos As Cursor = Starter.skmt.ExecQu"; + //BA.debugLineNum = 789;BA.debugLine="Dim pagaresnuevos As Cursor = Starter.skmt.ExecQu"; _pagaresnuevos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _pagaresnuevos = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT IfNULL(SUM(PA_MONTO),0) as PA_MONTO FROM PAGARES"))); - //BA.debugLineNum = 783;BA.debugLine="pagaresnuevos.Position = 0"; + //BA.debugLineNum = 790;BA.debugLine="pagaresnuevos.Position = 0"; _pagaresnuevos.setPosition((int) (0)); - //BA.debugLineNum = 784;BA.debugLine="l_pagaresnuevos.Text = NumberFormat2(pagaresnuevo"; + //BA.debugLineNum = 791;BA.debugLine="l_pagaresnuevos.Text = NumberFormat2(pagaresnuevo"; _l_pagaresnuevos.setText(BA.ObjectToCharSequence(__c.NumberFormat2(_pagaresnuevos.GetDouble("PA_MONTO"),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 785;BA.debugLine="pagaresnuevos.Close"; + //BA.debugLineNum = 792;BA.debugLine="pagaresnuevos.Close"; _pagaresnuevos.Close(); - //BA.debugLineNum = 787;BA.debugLine="l_montoaliquidar.Text = NumberFormat2((l_pagaresc"; + //BA.debugLineNum = 794;BA.debugLine="l_montoaliquidar.Text = NumberFormat2((l_pagaresc"; _l_montoaliquidar.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_l_pagarescobrados.getText()))+(double)(Double.parseDouble(_l_montoe.getText()))-(double)(Double.parseDouble(_l_pagaresnuevos.getText()))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 790;BA.debugLine="End Sub"; + //BA.debugLineNum = 797;BA.debugLine="End Sub"; return ""; } public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ @@ -3161,7 +3096,7 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 2248;BA.debugLine="If Panel1.visible Then"; + //BA.debugLineNum = 2571;BA.debugLine="If Panel1.visible Then"; if (true) break; case 1: @@ -3180,30 +3115,30 @@ this.state = 9; case 3: //C this.state = 10; - //BA.debugLineNum = 2249;BA.debugLine="Log(\"PANEL1 VISIBLE\")"; -parent.__c.LogImpl("814942211","PANEL1 VISIBLE",0); - //BA.debugLineNum = 2250;BA.debugLine="B_REGRESA_Click"; + //BA.debugLineNum = 2572;BA.debugLine="Log(\"PANEL1 VISIBLE\")"; +parent.__c.LogImpl("450659331","PANEL1 VISIBLE",0); + //BA.debugLineNum = 2573;BA.debugLine="B_REGRESA_Click"; parent._b_regresa_click(); if (true) break; case 5: //C this.state = 10; - //BA.debugLineNum = 2252;BA.debugLine="P_CIEGO.Visible = False"; + //BA.debugLineNum = 2575;BA.debugLine="P_CIEGO.Visible = False"; parent._p_ciego.setVisible(parent.__c.False); if (true) break; case 7: //C this.state = 10; - //BA.debugLineNum = 2254;BA.debugLine="p_prod.Visible = False"; + //BA.debugLineNum = 2577;BA.debugLine="p_prod.Visible = False"; parent._p_prod.setVisible(parent.__c.False); if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 2256;BA.debugLine="B4XPages.ShowPage(\"Login\")"; + //BA.debugLineNum = 2579;BA.debugLine="B4XPages.ShowPage(\"Login\")"; parent._b4xpages._showpage /*String*/ (ba,"Login"); if (true) break; @@ -3211,10 +3146,10 @@ case 10: //C this.state = -1; ; - //BA.debugLineNum = 2259;BA.debugLine="Return False"; + //BA.debugLineNum = 2582;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 2260;BA.debugLine="End Sub"; + //BA.debugLineNum = 2583;BA.debugLine="End Sub"; if (true) break; } @@ -3222,105 +3157,105 @@ if (true) break; } } public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 144;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 145;BA.debugLine="Root = Root1"; + //BA.debugLineNum = 149;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; + //BA.debugLineNum = 150;BA.debugLine="Root = Root1"; _root = _root1; - //BA.debugLineNum = 147;BA.debugLine="Root.LoadLayout(\"principal\")"; + //BA.debugLineNum = 152;BA.debugLine="Root.LoadLayout(\"principal\")"; _root.LoadLayout("principal",ba); - //BA.debugLineNum = 148;BA.debugLine="EJECUTANDO=1"; + //BA.debugLineNum = 153;BA.debugLine="EJECUTANDO=1"; _ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 149;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; + //BA.debugLineNum = 154;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 152;BA.debugLine="img2.Visible =False"; + //BA.debugLineNum = 157;BA.debugLine="img2.Visible =False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 153;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; + //BA.debugLineNum = 158;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 154;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 159;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; _fecha = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 156;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; + //BA.debugLineNum = 161;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; _b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from pedido_cliente"))); - //BA.debugLineNum = 157;BA.debugLine="b.Position=0"; + //BA.debugLineNum = 162;BA.debugLine="b.Position=0"; _b.setPosition((int) (0)); - //BA.debugLineNum = 158;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; + //BA.debugLineNum = 163;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; _cuantos = _b.GetString("CUANTOS"); - //BA.debugLineNum = 159;BA.debugLine="d=Starter.skmt.ExecQuery(\"select count(*) as TOTA"; + //BA.debugLineNum = 164;BA.debugLine="d=Starter.skmt.ExecQuery(\"select count(*) as TOTA"; _d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000"))); - //BA.debugLineNum = 160;BA.debugLine="D.Position=0"; + //BA.debugLineNum = 165;BA.debugLine="D.Position=0"; _d.setPosition((int) (0)); - //BA.debugLineNum = 161;BA.debugLine="b.Close"; + //BA.debugLineNum = 166;BA.debugLine="b.Close"; _b.Close(); - //BA.debugLineNum = 162;BA.debugLine="e=Starter.skmt.ExecQuery(\"select count(*) as POR_"; + //BA.debugLineNum = 167;BA.debugLine="e=Starter.skmt.ExecQuery(\"select count(*) as POR_"; _e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000"))); - //BA.debugLineNum = 163;BA.debugLine="e.Position=0"; + //BA.debugLineNum = 168;BA.debugLine="e.Position=0"; _e.setPosition((int) (0)); - //BA.debugLineNum = 164;BA.debugLine="If Cuantos = 0 Then"; + //BA.debugLineNum = 169;BA.debugLine="If Cuantos = 0 Then"; if ((_cuantos).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 166;BA.debugLine="l_cuantosc.Text = 0"; + //BA.debugLineNum = 171;BA.debugLine="l_cuantosc.Text = 0"; _l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 167;BA.debugLine="l_cuantosn.Text = 0"; + //BA.debugLineNum = 172;BA.debugLine="l_cuantosn.Text = 0"; _l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 168;BA.debugLine="drop = 0"; + //BA.debugLineNum = 173;BA.debugLine="drop = 0"; _drop = 0; - //BA.debugLineNum = 169;BA.debugLine="l_montoSalida.Text = 0"; + //BA.debugLineNum = 174;BA.debugLine="l_montoSalida.Text = 0"; _l_montosalida.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 170;BA.debugLine="efectiva = 0"; + //BA.debugLineNum = 175;BA.debugLine="efectiva = 0"; _efectiva = 0; - //BA.debugLineNum = 172;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; + //BA.debugLineNum = 177;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; _l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR"))); - //BA.debugLineNum = 173;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; + //BA.debugLineNum = 178;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; _l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR"))); }else { }; - //BA.debugLineNum = 192;BA.debugLine="b=Starter.skmt.ExecQuery(\"select id_almacen from"; + //BA.debugLineNum = 197;BA.debugLine="b=Starter.skmt.ExecQuery(\"select id_almacen from"; _b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select id_almacen from CAT_ALMACEN"))); - //BA.debugLineNum = 193;BA.debugLine="If b.RowCount > 0 Then"; + //BA.debugLineNum = 198;BA.debugLine="If b.RowCount > 0 Then"; if (_b.getRowCount()>0) { - //BA.debugLineNum = 195;BA.debugLine="b.Position = 0"; + //BA.debugLineNum = 200;BA.debugLine="b.Position = 0"; _b.setPosition((int) (0)); - //BA.debugLineNum = 197;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 202;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 198;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 203;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 199;BA.debugLine="cmd.Name = \"select_coords_almacen_mards\""; + //BA.debugLineNum = 204;BA.debugLine="cmd.Name = \"select_coords_almacen_mards\""; _cmd.Name /*String*/ = "select_coords_almacen_mards"; - //BA.debugLineNum = 200;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"ID"; + //BA.debugLineNum = 205;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"ID"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_b.GetString("ID_ALMACEN"))}; - //BA.debugLineNum = 201;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; + //BA.debugLineNum = 206;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("coords_almacen")); }; - //BA.debugLineNum = 203;BA.debugLine="B4XPages.MainPage.usuario=Subs.dameUsuarioDeDB"; + //BA.debugLineNum = 208;BA.debugLine="B4XPages.MainPage.usuario=Subs.dameUsuarioDeDB"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._usuario /*String*/ = _subs._dameusuariodedb /*String*/ (ba); - //BA.debugLineNum = 204;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; + //BA.debugLineNum = 209;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; _btadmin.Initialize(ba,"BlueTeeth"); - //BA.debugLineNum = 205;BA.debugLine="cmp20.Initialize(\"Printer\")"; + //BA.debugLineNum = 210;BA.debugLine="cmp20.Initialize(\"Printer\")"; _cmp20.Initialize("Printer"); - //BA.debugLineNum = 206;BA.debugLine="End Sub"; + //BA.debugLineNum = 211;BA.debugLine="End Sub"; return ""; } public String _btn_ubicar_ru_click() throws Exception{ - //BA.debugLineNum = 2613;BA.debugLine="Sub Btn_Ubicar_Ru_Click"; - //BA.debugLineNum = 2614;BA.debugLine="If b_check.Visible = True Then"; + //BA.debugLineNum = 2936;BA.debugLine="Sub Btn_Ubicar_Ru_Click"; + //BA.debugLineNum = 2937;BA.debugLine="If b_check.Visible = True Then"; if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 2615;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; + //BA.debugLineNum = 2938;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; __c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 2618;BA.debugLine="StartActivity(MAPA_RUTAS)"; + //BA.debugLineNum = 2941;BA.debugLine="StartActivity(MAPA_RUTAS)"; __c.StartActivity(ba,(Object)(_mapa_rutas.getObject())); }; - //BA.debugLineNum = 2620;BA.debugLine="End Sub"; + //BA.debugLineNum = 2943;BA.debugLine="End Sub"; return ""; } public String _busca_click() throws Exception{ - //BA.debugLineNum = 2289;BA.debugLine="Sub BUSCA_Click"; - //BA.debugLineNum = 2290;BA.debugLine="If b_check.Visible = True Then"; + //BA.debugLineNum = 2612;BA.debugLine="Sub BUSCA_Click"; + //BA.debugLineNum = 2613;BA.debugLine="If b_check.Visible = True Then"; if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 2291;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; + //BA.debugLineNum = 2614;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; __c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 2294;BA.debugLine="B4XPages.ShowPage(\"Buscar\")"; + //BA.debugLineNum = 2617;BA.debugLine="B4XPages.ShowPage(\"Buscar\")"; _b4xpages._showpage /*String*/ (ba,"Buscar"); }; - //BA.debugLineNum = 2296;BA.debugLine="End Sub"; + //BA.debugLineNum = 2619;BA.debugLine="End Sub"; return ""; } public String _cargar____click() throws Exception{ @@ -3329,231 +3264,231 @@ String[] _fecha2 = null; String[] _fecha3 = null; String _dia = ""; String _dia2 = ""; - //BA.debugLineNum = 1429;BA.debugLine="Sub cargar____Click"; - //BA.debugLineNum = 1430;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; + //BA.debugLineNum = 1640;BA.debugLine="Sub cargar____Click"; + //BA.debugLineNum = 1641;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; _pedidodiaanterior = __c.False; - //BA.debugLineNum = 1431;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select"; + //BA.debugLineNum = 1642;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select"; _cp = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _cp = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from NOVENTA"))); - //BA.debugLineNum = 1432;BA.debugLine="If cp.RowCount > 0 Then"; + //BA.debugLineNum = 1643;BA.debugLine="If cp.RowCount > 0 Then"; if (_cp.getRowCount()>0) { - //BA.debugLineNum = 1433;BA.debugLine="cp.Position = 0"; + //BA.debugLineNum = 1644;BA.debugLine="cp.Position = 0"; _cp.setPosition((int) (0)); - //BA.debugLineNum = 1434;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; + //BA.debugLineNum = 1645;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; _fecha = _cp.GetString("NV_FECHA"); - //BA.debugLineNum = 1435;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; -__c.LogImpl("814811142",_cp.GetString("NV_FECHA"),0); - //BA.debugLineNum = 1436;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; + //BA.debugLineNum = 1646;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; +__c.LogImpl("450528262",_cp.GetString("NV_FECHA"),0); + //BA.debugLineNum = 1647;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; _fecha2 = __c.Regex.Split(" ",_fecha); - //BA.debugLineNum = 1437;BA.debugLine="Log(fecha2(0))"; -__c.LogImpl("814811144",_fecha2[(int) (0)],0); - //BA.debugLineNum = 1438;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; + //BA.debugLineNum = 1648;BA.debugLine="Log(fecha2(0))"; +__c.LogImpl("450528264",_fecha2[(int) (0)],0); + //BA.debugLineNum = 1649;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; _fecha3 = __c.Regex.Split("/",_fecha2[(int) (0)]); - //BA.debugLineNum = 1439;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; + //BA.debugLineNum = 1650;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; __c.DateTime.setDateFormat("yyyyMMdd"); - //BA.debugLineNum = 1440;BA.debugLine="DateTime.TimeFormat = \"\""; + //BA.debugLineNum = 1651;BA.debugLine="DateTime.TimeFormat = \"\""; __c.DateTime.setTimeFormat(""); - //BA.debugLineNum = 1441;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; + //BA.debugLineNum = 1652;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; _dia = _fecha3[(int) (2)]+_fecha3[(int) (0)]+_fecha3[(int) (1)]; - //BA.debugLineNum = 1442;BA.debugLine="Log(dia)"; -__c.LogImpl("814811149",_dia,0); - //BA.debugLineNum = 1443;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 1653;BA.debugLine="Log(dia)"; +__c.LogImpl("450528269",_dia,0); + //BA.debugLineNum = 1654;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; _dia2 = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1444;BA.debugLine="Log(dia & \" , \" & dia2)"; -__c.LogImpl("814811151",_dia+" , "+_dia2,0); - //BA.debugLineNum = 1445;BA.debugLine="If dia < dia2 Then"; + //BA.debugLineNum = 1655;BA.debugLine="Log(dia & \" , \" & dia2)"; +__c.LogImpl("450528271",_dia+" , "+_dia2,0); + //BA.debugLineNum = 1656;BA.debugLine="If dia < dia2 Then"; if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) { - //BA.debugLineNum = 1446;BA.debugLine="pedidodiaanterior = True"; + //BA.debugLineNum = 1657;BA.debugLine="pedidodiaanterior = True"; _pedidodiaanterior = __c.True; }; }; - //BA.debugLineNum = 1449;BA.debugLine="If Not (pedidodiaanterior) Then"; + //BA.debugLineNum = 1660;BA.debugLine="If Not (pedidodiaanterior) Then"; if (__c.Not(_pedidodiaanterior)) { - //BA.debugLineNum = 1450;BA.debugLine="Log(\"CUMPLE\")"; -__c.LogImpl("814811157","CUMPLE",0); - //BA.debugLineNum = 1451;BA.debugLine="EJECUTANDO = 1"; + //BA.debugLineNum = 1661;BA.debugLine="Log(\"CUMPLE\")"; +__c.LogImpl("450528277","CUMPLE",0); + //BA.debugLineNum = 1662;BA.debugLine="EJECUTANDO = 1"; _ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 1452;BA.debugLine="reqs.Initialize"; + //BA.debugLineNum = 1663;BA.debugLine="reqs.Initialize"; _reqs.Initialize(); - //BA.debugLineNum = 1453;BA.debugLine="TOPE = 0"; + //BA.debugLineNum = 1664;BA.debugLine="TOPE = 0"; _tope = (int) (0); - //BA.debugLineNum = 1454;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; -__c.LogImpl("814811161",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 1455;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; + //BA.debugLineNum = 1665;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; +__c.LogImpl("450528281",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); + //BA.debugLineNum = 1666;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 1457;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1668;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1458;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1669;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1459;BA.debugLine="cmd.Name = \"insert_drop_rep_IZCA2\""; + //BA.debugLineNum = 1670;BA.debugLine="cmd.Name = \"insert_drop_rep_IZCA2\""; _cmd.Name /*String*/ = "insert_drop_rep_IZCA2"; - //BA.debugLineNum = 1460;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuari"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(_l_ruta.getText()),(Object)(_almacen),(Object)(_l_ctast.getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("CARGA"),(Object)(__c.Application.getVersionName())}; - //BA.debugLineNum = 1461;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; + //BA.debugLineNum = 1671;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuari"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_l_ctast.getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("CARGA"),(Object)(__c.Application.getVersionName())}; + //BA.debugLineNum = 1672;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_drop")); - //BA.debugLineNum = 1464;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; + //BA.debugLineNum = 1675;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); - //BA.debugLineNum = 1465;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; + //BA.debugLineNum = 1676;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result"); - //BA.debugLineNum = 1466;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; + //BA.debugLineNum = 1677;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest"); - //BA.debugLineNum = 1467;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; + //BA.debugLineNum = 1678;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 1468;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; + //BA.debugLineNum = 1679;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos"); - //BA.debugLineNum = 1470;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; + //BA.debugLineNum = 1681;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PUNTEO_GPS"); - //BA.debugLineNum = 1471;BA.debugLine="If l_ruta.Text = \"0\" Then '"; + //BA.debugLineNum = 1682;BA.debugLine="If l_ruta.Text = \"0\" Then '"; if ((_l_ruta.getText()).equals("0")) { - //BA.debugLineNum = 1472;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; -__c.LogImpl("814811179","********************* No hay ruta, BORRAMOS TODO",0); - //BA.debugLineNum = 1473;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; + //BA.debugLineNum = 1683;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; +__c.LogImpl("450528299","********************* No hay ruta, BORRAMOS TODO",0); + //BA.debugLineNum = 1684;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 1474;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; + //BA.debugLineNum = 1685;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); - //BA.debugLineNum = 1475;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; + //BA.debugLineNum = 1686;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); - //BA.debugLineNum = 1476;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; + //BA.debugLineNum = 1687;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 1477;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; + //BA.debugLineNum = 1688;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS2"); - //BA.debugLineNum = 1478;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; + //BA.debugLineNum = 1689;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA"); }else { - //BA.debugLineNum = 1480;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; -__c.LogImpl("814811187","********************* Hay ruta, NO BORRAMOS TODO",0); + //BA.debugLineNum = 1691;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; +__c.LogImpl("450528307","********************* Hay ruta, NO BORRAMOS TODO",0); }; - //BA.debugLineNum = 1484;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us"; + //BA.debugLineNum = 1695;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 1485;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 1696;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1486;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; + //BA.debugLineNum = 1697;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; _usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1488;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1699;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1489;BA.debugLine="cmd.Name = \"select_punteo_mards_re_REPG\""; + //BA.debugLineNum = 1700;BA.debugLine="cmd.Name = \"select_punteo_mards_re_REPG\""; _cmd.Name /*String*/ = "select_punteo_mards_re_REPG"; - //BA.debugLineNum = 1490;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; + //BA.debugLineNum = 1701;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen)}; - //BA.debugLineNum = 1491;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; + //BA.debugLineNum = 1702;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("punteo")); - //BA.debugLineNum = 1492;BA.debugLine="Log($\"Pedimos Punteo\"$)"; -__c.LogImpl("814811199",("Pedimos Punteo"),0); - //BA.debugLineNum = 1493;BA.debugLine="reqs.Add(\"punteo\")"; + //BA.debugLineNum = 1703;BA.debugLine="Log($\"Pedimos Punteo\"$)"; +__c.LogImpl("450528319",("Pedimos Punteo"),0); + //BA.debugLineNum = 1704;BA.debugLine="reqs.Add(\"punteo\")"; _reqs.Add((Object)("punteo")); - //BA.debugLineNum = 1496;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1707;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1497;BA.debugLine="cmd.Name = \"select_almacen_mards_re_REPG\""; + //BA.debugLineNum = 1708;BA.debugLine="cmd.Name = \"select_almacen_mards_re_REPG\""; _cmd.Name /*String*/ = "select_almacen_mards_re_REPG"; - //BA.debugLineNum = 1498;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; + //BA.debugLineNum = 1709;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1499;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; + //BA.debugLineNum = 1710;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod")); - //BA.debugLineNum = 1500;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te"; -__c.LogImpl("814811207",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0); - //BA.debugLineNum = 1501;BA.debugLine="reqs.Add(\"gunaprod\")"; + //BA.debugLineNum = 1711;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te"; +__c.LogImpl("450528327",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0); + //BA.debugLineNum = 1712;BA.debugLine="reqs.Add(\"gunaprod\")"; _reqs.Add((Object)("gunaprod")); - //BA.debugLineNum = 1505;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1716;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1506;BA.debugLine="cmd.Name = \"select_cliente_mards_re_REPG\""; + //BA.debugLineNum = 1717;BA.debugLine="cmd.Name = \"select_cliente_mards_re_REPG\""; _cmd.Name /*String*/ = "select_cliente_mards_re_REPG"; - //BA.debugLineNum = 1507;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; + //BA.debugLineNum = 1718;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1508;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; + //BA.debugLineNum = 1719;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos")); - //BA.debugLineNum = 1509;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; -__c.LogImpl("814811216",("Pedimos kmt_datos"),0); - //BA.debugLineNum = 1510;BA.debugLine="reqs.Add(\"kmt_datos\")"; + //BA.debugLineNum = 1720;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; +__c.LogImpl("450528336",("Pedimos kmt_datos"),0); + //BA.debugLineNum = 1721;BA.debugLine="reqs.Add(\"kmt_datos\")"; _reqs.Add((Object)("kmt_datos")); - //BA.debugLineNum = 1512;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1723;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1513;BA.debugLine="cmd.Name = \"select_ventad_mards_re_REPG\""; + //BA.debugLineNum = 1724;BA.debugLine="cmd.Name = \"select_ventad_mards_re_REPG\""; _cmd.Name /*String*/ = "select_ventad_mards_re_REPG"; - //BA.debugLineNum = 1514;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; + //BA.debugLineNum = 1725;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1515;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; + //BA.debugLineNum = 1726;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos")); - //BA.debugLineNum = 1516;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; -__c.LogImpl("814811223",("Pedimos hist_datos"),0); - //BA.debugLineNum = 1517;BA.debugLine="reqs.Add(\"hist_datos\")"; + //BA.debugLineNum = 1727;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; +__c.LogImpl("450528343",("Pedimos hist_datos"),0); + //BA.debugLineNum = 1728;BA.debugLine="reqs.Add(\"hist_datos\")"; _reqs.Add((Object)("hist_datos")); - //BA.debugLineNum = 1534;BA.debugLine="If ALMACEN = \"32\" Then"; + //BA.debugLineNum = 1745;BA.debugLine="If ALMACEN = \"32\" Then"; if ((_almacen).equals("32")) { - //BA.debugLineNum = 1535;BA.debugLine="ALMACEN = \"33\""; + //BA.debugLineNum = 1746;BA.debugLine="ALMACEN = \"33\""; _almacen = "33"; - //BA.debugLineNum = 1536;BA.debugLine="cargo = 2"; + //BA.debugLineNum = 1747;BA.debugLine="cargo = 2"; _cargo = BA.NumberToString(2); - //BA.debugLineNum = 1537;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1748;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1538;BA.debugLine="cmd.Name = \"select_punteo_mards_re_REPG\""; + //BA.debugLineNum = 1749;BA.debugLine="cmd.Name = \"select_punteo_mards_re_REPG\""; _cmd.Name /*String*/ = "select_punteo_mards_re_REPG"; - //BA.debugLineNum = 1539;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; + //BA.debugLineNum = 1750;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen)}; - //BA.debugLineNum = 1540;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; + //BA.debugLineNum = 1751;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("punteo")); - //BA.debugLineNum = 1541;BA.debugLine="reqs.Add(\"punteo\")"; + //BA.debugLineNum = 1752;BA.debugLine="reqs.Add(\"punteo\")"; _reqs.Add((Object)("punteo")); - //BA.debugLineNum = 1543;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1754;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1544;BA.debugLine="cmd.Name = \"select_almacen_mards_re_REPG\""; + //BA.debugLineNum = 1755;BA.debugLine="cmd.Name = \"select_almacen_mards_re_REPG\""; _cmd.Name /*String*/ = "select_almacen_mards_re_REPG"; - //BA.debugLineNum = 1545;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_rut"; + //BA.debugLineNum = 1756;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_rut"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1546;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; + //BA.debugLineNum = 1757;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod")); - //BA.debugLineNum = 1547;BA.debugLine="reqs.Add(\"gunaprod\")"; + //BA.debugLineNum = 1758;BA.debugLine="reqs.Add(\"gunaprod\")"; _reqs.Add((Object)("gunaprod")); - //BA.debugLineNum = 1549;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1760;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1550;BA.debugLine="cmd.Name = \"select_cliente_mards_re_REPG\""; + //BA.debugLineNum = 1761;BA.debugLine="cmd.Name = \"select_cliente_mards_re_REPG\""; _cmd.Name /*String*/ = "select_cliente_mards_re_REPG"; - //BA.debugLineNum = 1551;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; + //BA.debugLineNum = 1762;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1552;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; + //BA.debugLineNum = 1763;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos")); - //BA.debugLineNum = 1553;BA.debugLine="reqs.Add(\"kmt_datos\")"; + //BA.debugLineNum = 1764;BA.debugLine="reqs.Add(\"kmt_datos\")"; _reqs.Add((Object)("kmt_datos")); - //BA.debugLineNum = 1555;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1766;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1556;BA.debugLine="cmd.Name = \"select_ventad_mards_re_REPG\""; + //BA.debugLineNum = 1767;BA.debugLine="cmd.Name = \"select_ventad_mards_re_REPG\""; _cmd.Name /*String*/ = "select_ventad_mards_re_REPG"; - //BA.debugLineNum = 1557;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; + //BA.debugLineNum = 1768;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1558;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; + //BA.debugLineNum = 1769;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos")); - //BA.debugLineNum = 1559;BA.debugLine="reqs.Add(\"hist_datos\")"; + //BA.debugLineNum = 1770;BA.debugLine="reqs.Add(\"hist_datos\")"; _reqs.Add((Object)("hist_datos")); }; - //BA.debugLineNum = 1593;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA"; + //BA.debugLineNum = 1804;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA"; _d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); - //BA.debugLineNum = 1594;BA.debugLine="d.Position=0"; + //BA.debugLineNum = 1805;BA.debugLine="d.Position=0"; _d.setPosition((int) (0)); - //BA.debugLineNum = 1595;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; + //BA.debugLineNum = 1806;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; _cuantos_noventa = _d.GetString("CUANTOS_NOVENTA"); - //BA.debugLineNum = 1596;BA.debugLine="d.Close"; + //BA.debugLineNum = 1807;BA.debugLine="d.Close"; _d.Close(); - //BA.debugLineNum = 1597;BA.debugLine="cargar.Visible = False"; + //BA.debugLineNum = 1808;BA.debugLine="cargar.Visible = False"; _cargar.setVisible(__c.False); - //BA.debugLineNum = 1598;BA.debugLine="Subir.Visible = False"; + //BA.debugLineNum = 1809;BA.debugLine="Subir.Visible = False"; _subir.setVisible(__c.False); - //BA.debugLineNum = 1599;BA.debugLine="connecta.Visible = True"; + //BA.debugLineNum = 1810;BA.debugLine="connecta.Visible = True"; _connecta.setVisible(__c.True); - //BA.debugLineNum = 1600;BA.debugLine="inv.Visible = False"; + //BA.debugLineNum = 1811;BA.debugLine="inv.Visible = False"; _inv.setVisible(__c.False); - //BA.debugLineNum = 1601;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est"; + //BA.debugLineNum = 1812;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est"; __c.ToastMessageShow(BA.ObjectToCharSequence("Se actualizarán los datos, este proceso podria tardar hasta un minuto, gracias"),__c.True); - //BA.debugLineNum = 1602;BA.debugLine="ProgressDialogShow2(\"Descargando rutas, espere u"; + //BA.debugLineNum = 1813;BA.debugLine="ProgressDialogShow2(\"Descargando rutas, espere u"; __c.ProgressDialogShow2(ba,BA.ObjectToCharSequence("Descargando rutas, espere un momento."),__c.False); - //BA.debugLineNum = 1603;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\""; + //BA.debugLineNum = 1814;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\""; if (__c.Not(_isconnectedtointernet())) { __c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; }else { - //BA.debugLineNum = 1607;BA.debugLine="Log(\"XXXX\")"; -__c.LogImpl("814811314","XXXX",0); - //BA.debugLineNum = 1608;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; + //BA.debugLineNum = 1818;BA.debugLine="Log(\"XXXX\")"; +__c.LogImpl("450528434","XXXX",0); + //BA.debugLineNum = 1819;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; __c.MsgboxAsync(BA.ObjectToCharSequence("Para poder cargar día no puedes tener venta del día anterior. Por favor haz FIN DIA e intenta nuevamente."),BA.ObjectToCharSequence("Atención"),ba); }; - //BA.debugLineNum = 1611;BA.debugLine="End Sub"; + //BA.debugLineNum = 1822;BA.debugLine="End Sub"; return ""; } public String _cargar_click() throws Exception{ @@ -3562,244 +3497,244 @@ String[] _fecha2 = null; String[] _fecha3 = null; String _dia = ""; String _dia2 = ""; - //BA.debugLineNum = 1256;BA.debugLine="Sub cargar_Click"; - //BA.debugLineNum = 1257;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; + //BA.debugLineNum = 1467;BA.debugLine="Sub cargar_Click"; + //BA.debugLineNum = 1468;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; _pedidodiaanterior = __c.False; - //BA.debugLineNum = 1258;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select"; + //BA.debugLineNum = 1469;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select"; _cp = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _cp = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from NOVENTA"))); - //BA.debugLineNum = 1259;BA.debugLine="If cp.RowCount > 0 Then"; + //BA.debugLineNum = 1470;BA.debugLine="If cp.RowCount > 0 Then"; if (_cp.getRowCount()>0) { - //BA.debugLineNum = 1260;BA.debugLine="cp.Position = 0"; + //BA.debugLineNum = 1471;BA.debugLine="cp.Position = 0"; _cp.setPosition((int) (0)); - //BA.debugLineNum = 1261;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; + //BA.debugLineNum = 1472;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; _fecha = _cp.GetString("NV_FECHA"); - //BA.debugLineNum = 1262;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; -__c.LogImpl("814745606",_cp.GetString("NV_FECHA"),0); - //BA.debugLineNum = 1263;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; + //BA.debugLineNum = 1473;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; +__c.LogImpl("450462726",_cp.GetString("NV_FECHA"),0); + //BA.debugLineNum = 1474;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; _fecha2 = __c.Regex.Split(" ",_fecha); - //BA.debugLineNum = 1264;BA.debugLine="Log(fecha2(0))"; -__c.LogImpl("814745608",_fecha2[(int) (0)],0); - //BA.debugLineNum = 1265;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; + //BA.debugLineNum = 1475;BA.debugLine="Log(fecha2(0))"; +__c.LogImpl("450462728",_fecha2[(int) (0)],0); + //BA.debugLineNum = 1476;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; _fecha3 = __c.Regex.Split("/",_fecha2[(int) (0)]); - //BA.debugLineNum = 1266;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; + //BA.debugLineNum = 1477;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; __c.DateTime.setDateFormat("yyyyMMdd"); - //BA.debugLineNum = 1267;BA.debugLine="DateTime.TimeFormat = \"\""; + //BA.debugLineNum = 1478;BA.debugLine="DateTime.TimeFormat = \"\""; __c.DateTime.setTimeFormat(""); - //BA.debugLineNum = 1268;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; + //BA.debugLineNum = 1479;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; _dia = _fecha3[(int) (2)]+_fecha3[(int) (0)]+_fecha3[(int) (1)]; - //BA.debugLineNum = 1269;BA.debugLine="Log(dia)"; -__c.LogImpl("814745613",_dia,0); - //BA.debugLineNum = 1270;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 1480;BA.debugLine="Log(dia)"; +__c.LogImpl("450462733",_dia,0); + //BA.debugLineNum = 1481;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; _dia2 = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1271;BA.debugLine="Log(dia & \" , \" & dia2)"; -__c.LogImpl("814745615",_dia+" , "+_dia2,0); - //BA.debugLineNum = 1272;BA.debugLine="If dia < dia2 Then"; + //BA.debugLineNum = 1482;BA.debugLine="Log(dia & \" , \" & dia2)"; +__c.LogImpl("450462735",_dia+" , "+_dia2,0); + //BA.debugLineNum = 1483;BA.debugLine="If dia < dia2 Then"; if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) { - //BA.debugLineNum = 1273;BA.debugLine="pedidodiaanterior = True"; + //BA.debugLineNum = 1484;BA.debugLine="pedidodiaanterior = True"; _pedidodiaanterior = __c.True; }; }; - //BA.debugLineNum = 1276;BA.debugLine="If Not (pedidodiaanterior) Then"; + //BA.debugLineNum = 1487;BA.debugLine="If Not (pedidodiaanterior) Then"; if (__c.Not(_pedidodiaanterior)) { - //BA.debugLineNum = 1277;BA.debugLine="P_carga.Visible = True"; + //BA.debugLineNum = 1488;BA.debugLine="P_carga.Visible = True"; _p_carga.setVisible(__c.True); - //BA.debugLineNum = 1278;BA.debugLine="P_carga.Width = Root.Width"; + //BA.debugLineNum = 1489;BA.debugLine="P_carga.Width = Root.Width"; _p_carga.setWidth(_root.getWidth()); - //BA.debugLineNum = 1279;BA.debugLine="P_carga.Height = Root.Height"; + //BA.debugLineNum = 1490;BA.debugLine="P_carga.Height = Root.Height"; _p_carga.setHeight(_root.getHeight()); - //BA.debugLineNum = 1280;BA.debugLine="l_carga2.Text = \"CARGANDO\""; + //BA.debugLineNum = 1491;BA.debugLine="l_carga2.Text = \"CARGANDO\""; _l_carga2.setText(BA.ObjectToCharSequence("CARGANDO")); - //BA.debugLineNum = 1281;BA.debugLine="L_carga.Text = \"CARGANDO\""; + //BA.debugLineNum = 1492;BA.debugLine="L_carga.Text = \"CARGANDO\""; _l_carga.setText(BA.ObjectToCharSequence("CARGANDO")); - //BA.debugLineNum = 1282;BA.debugLine="PB_carga.Progress = 0"; + //BA.debugLineNum = 1493;BA.debugLine="PB_carga.Progress = 0"; _pb_carga.setProgress((int) (0)); - //BA.debugLineNum = 1283;BA.debugLine="PB_carga2.Progress = 0"; + //BA.debugLineNum = 1494;BA.debugLine="PB_carga2.Progress = 0"; _pb_carga2.setProgress((int) (0)); - //BA.debugLineNum = 1284;BA.debugLine="Log(\"CUMPLE\")"; -__c.LogImpl("814745628","CUMPLE",0); - //BA.debugLineNum = 1285;BA.debugLine="EJECUTANDO = 1"; + //BA.debugLineNum = 1495;BA.debugLine="Log(\"CUMPLE\")"; +__c.LogImpl("450462748","CUMPLE",0); + //BA.debugLineNum = 1496;BA.debugLine="EJECUTANDO = 1"; _ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 1286;BA.debugLine="reqs.Initialize"; + //BA.debugLineNum = 1497;BA.debugLine="reqs.Initialize"; _reqs.Initialize(); - //BA.debugLineNum = 1287;BA.debugLine="TOPE = 0"; + //BA.debugLineNum = 1498;BA.debugLine="TOPE = 0"; _tope = (int) (0); - //BA.debugLineNum = 1288;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; -__c.LogImpl("814745632",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 1289;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; + //BA.debugLineNum = 1499;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; +__c.LogImpl("450462752",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); + //BA.debugLineNum = 1500;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 1291;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1502;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1292;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1503;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1293;BA.debugLine="cmd.Name = \"insert_drop_rep_IZCA2\""; + //BA.debugLineNum = 1504;BA.debugLine="cmd.Name = \"insert_drop_rep_IZCA2\""; _cmd.Name /*String*/ = "insert_drop_rep_IZCA2"; - //BA.debugLineNum = 1294;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuari"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(_l_ruta.getText()),(Object)(_almacen),(Object)(_l_ctast.getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("CARGA"),(Object)(__c.Application.getVersionName())}; - //BA.debugLineNum = 1295;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; + //BA.debugLineNum = 1505;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuari"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_l_ctast.getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("CARGA"),(Object)(__c.Application.getVersionName())}; + //BA.debugLineNum = 1506;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_drop")); - //BA.debugLineNum = 1298;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; + //BA.debugLineNum = 1509;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); - //BA.debugLineNum = 1299;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; + //BA.debugLineNum = 1510;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result"); - //BA.debugLineNum = 1300;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; + //BA.debugLineNum = 1511;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest"); - //BA.debugLineNum = 1301;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; + //BA.debugLineNum = 1512;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 1302;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; + //BA.debugLineNum = 1513;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos"); - //BA.debugLineNum = 1303;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_gunap"; + //BA.debugLineNum = 1514;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_gunap"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 1304;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_gunap"; + //BA.debugLineNum = 1515;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_gunap"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); - //BA.debugLineNum = 1306;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; + //BA.debugLineNum = 1517;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PUNTEO_GPS"); - //BA.debugLineNum = 1307;BA.debugLine="If l_ruta.Text = \"0\" Then '"; + //BA.debugLineNum = 1518;BA.debugLine="If l_ruta.Text = \"0\" Then '"; if ((_l_ruta.getText()).equals("0")) { - //BA.debugLineNum = 1308;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; -__c.LogImpl("814745652","********************* No hay ruta, BORRAMOS TODO",0); - //BA.debugLineNum = 1309;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; + //BA.debugLineNum = 1519;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; +__c.LogImpl("450462772","********************* No hay ruta, BORRAMOS TODO",0); + //BA.debugLineNum = 1520;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); - //BA.debugLineNum = 1310;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; + //BA.debugLineNum = 1521;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 1311;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; + //BA.debugLineNum = 1522;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS2"); - //BA.debugLineNum = 1312;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; + //BA.debugLineNum = 1523;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA"); - //BA.debugLineNum = 1313;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; + //BA.debugLineNum = 1524;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOSP"); }else { - //BA.debugLineNum = 1315;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; -__c.LogImpl("814745659","********************* Hay ruta, NO BORRAMOS TODO",0); + //BA.debugLineNum = 1526;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; +__c.LogImpl("450462779","********************* Hay ruta, NO BORRAMOS TODO",0); }; - //BA.debugLineNum = 1319;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us"; + //BA.debugLineNum = 1530;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 1320;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 1531;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1321;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; + //BA.debugLineNum = 1532;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; _usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1323;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1534;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1324;BA.debugLine="cmd.Name = \"select_punteo_re_REPG_IZCA\""; + //BA.debugLineNum = 1535;BA.debugLine="cmd.Name = \"select_punteo_re_REPG_IZCA\""; _cmd.Name /*String*/ = "select_punteo_re_REPG_IZCA"; - //BA.debugLineNum = 1325;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; + //BA.debugLineNum = 1536;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen)}; - //BA.debugLineNum = 1326;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; + //BA.debugLineNum = 1537;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("punteo")); - //BA.debugLineNum = 1327;BA.debugLine="Log($\"Pedimos Punteo\"$)"; -__c.LogImpl("814745671",("Pedimos Punteo"),0); - //BA.debugLineNum = 1328;BA.debugLine="reqs.Add(\"punteo\")"; + //BA.debugLineNum = 1538;BA.debugLine="Log($\"Pedimos Punteo\"$)"; +__c.LogImpl("450462791",("Pedimos Punteo"),0); + //BA.debugLineNum = 1539;BA.debugLine="reqs.Add(\"punteo\")"; _reqs.Add((Object)("punteo")); - //BA.debugLineNum = 1330;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1541;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1331;BA.debugLine="cmd.Name = \"select_almacen_IZCA_re_REPG2\""; + //BA.debugLineNum = 1542;BA.debugLine="cmd.Name = \"select_almacen_IZCA_re_REPG2\""; _cmd.Name /*String*/ = "select_almacen_IZCA_re_REPG2"; - //BA.debugLineNum = 1332;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; + //BA.debugLineNum = 1543;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1333;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; + //BA.debugLineNum = 1544;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod")); - //BA.debugLineNum = 1334;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te"; -__c.LogImpl("814745678",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0); - //BA.debugLineNum = 1335;BA.debugLine="reqs.Add(\"gunaprod\")"; + //BA.debugLineNum = 1545;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te"; +__c.LogImpl("450462798",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0); + //BA.debugLineNum = 1546;BA.debugLine="reqs.Add(\"gunaprod\")"; _reqs.Add((Object)("gunaprod")); - //BA.debugLineNum = 1337;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1548;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1338;BA.debugLine="cmd.Name = \"select_abonosp_IZCAREP2\""; + //BA.debugLineNum = 1549;BA.debugLine="cmd.Name = \"select_abonosp_IZCAREP2\""; _cmd.Name /*String*/ = "select_abonosp_IZCAREP2"; - //BA.debugLineNum = 1339;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; + //BA.debugLineNum = 1550;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1340;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"select_abonosp"; + //BA.debugLineNum = 1551;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"select_abonosp"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("select_abonosp")); - //BA.debugLineNum = 1350;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1561;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1351;BA.debugLine="cmd.Name = \"select_cliente_IZCA_re_REPG4\""; + //BA.debugLineNum = 1562;BA.debugLine="cmd.Name = \"select_cliente_IZCA_re_REPG4\""; _cmd.Name /*String*/ = "select_cliente_IZCA_re_REPG4"; - //BA.debugLineNum = 1352;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; + //BA.debugLineNum = 1563;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen)}; - //BA.debugLineNum = 1353;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; + //BA.debugLineNum = 1564;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos")); - //BA.debugLineNum = 1354;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; -__c.LogImpl("814745698",("Pedimos kmt_datos"),0); - //BA.debugLineNum = 1355;BA.debugLine="reqs.Add(\"kmt_datos\")"; + //BA.debugLineNum = 1565;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; +__c.LogImpl("450462818",("Pedimos kmt_datos"),0); + //BA.debugLineNum = 1566;BA.debugLine="reqs.Add(\"kmt_datos\")"; _reqs.Add((Object)("kmt_datos")); - //BA.debugLineNum = 1357;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1568;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1358;BA.debugLine="cmd.Name = \"select_ventad3_IZCA_re_REPG\""; + //BA.debugLineNum = 1569;BA.debugLine="cmd.Name = \"select_ventad3_IZCA_re_REPG\""; _cmd.Name /*String*/ = "select_ventad3_IZCA_re_REPG"; - //BA.debugLineNum = 1359;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; + //BA.debugLineNum = 1570;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1360;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; + //BA.debugLineNum = 1571;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos")); - //BA.debugLineNum = 1361;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; -__c.LogImpl("814745705",("Pedimos hist_datos"),0); - //BA.debugLineNum = 1362;BA.debugLine="reqs.Add(\"hist_datos\")"; + //BA.debugLineNum = 1572;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; +__c.LogImpl("450462825",("Pedimos hist_datos"),0); + //BA.debugLineNum = 1573;BA.debugLine="reqs.Add(\"hist_datos\")"; _reqs.Add((Object)("hist_datos")); - //BA.debugLineNum = 1364;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1575;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1365;BA.debugLine="cmd.Name = \"select_coords_almacen_IZCA\""; + //BA.debugLineNum = 1576;BA.debugLine="cmd.Name = \"select_coords_almacen_IZCA\""; _cmd.Name /*String*/ = "select_coords_almacen_IZCA"; - //BA.debugLineNum = 1366;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; + //BA.debugLineNum = 1577;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1367;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; + //BA.debugLineNum = 1578;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("coords_almacen")); - //BA.debugLineNum = 1369;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1580;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1370;BA.debugLine="cmd.Name = \"select_cat_gunaprod3_IZCA\""; + //BA.debugLineNum = 1581;BA.debugLine="cmd.Name = \"select_cat_gunaprod3_IZCA\""; _cmd.Name /*String*/ = "select_cat_gunaprod3_IZCA"; - //BA.debugLineNum = 1371;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; + //BA.debugLineNum = 1582;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1372;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod3\")"; + //BA.debugLineNum = 1583;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod3\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod3")); - //BA.debugLineNum = 1409;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA"; + //BA.debugLineNum = 1620;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA"; _d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); - //BA.debugLineNum = 1410;BA.debugLine="d.Position=0"; + //BA.debugLineNum = 1621;BA.debugLine="d.Position=0"; _d.setPosition((int) (0)); - //BA.debugLineNum = 1411;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; + //BA.debugLineNum = 1622;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; _cuantos_noventa = _d.GetString("CUANTOS_NOVENTA"); - //BA.debugLineNum = 1412;BA.debugLine="d.Close"; + //BA.debugLineNum = 1623;BA.debugLine="d.Close"; _d.Close(); - //BA.debugLineNum = 1413;BA.debugLine="cargar.Visible = False"; + //BA.debugLineNum = 1624;BA.debugLine="cargar.Visible = False"; _cargar.setVisible(__c.False); - //BA.debugLineNum = 1414;BA.debugLine="Subir.Visible = False"; + //BA.debugLineNum = 1625;BA.debugLine="Subir.Visible = False"; _subir.setVisible(__c.False); - //BA.debugLineNum = 1415;BA.debugLine="connecta.Visible = True"; + //BA.debugLineNum = 1626;BA.debugLine="connecta.Visible = True"; _connecta.setVisible(__c.True); - //BA.debugLineNum = 1416;BA.debugLine="inv.Visible = False"; + //BA.debugLineNum = 1627;BA.debugLine="inv.Visible = False"; _inv.setVisible(__c.False); - //BA.debugLineNum = 1417;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est"; + //BA.debugLineNum = 1628;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est"; __c.ToastMessageShow(BA.ObjectToCharSequence("Se actualizarán los datos, este proceso podria tardar hasta un minuto, gracias"),__c.True); - //BA.debugLineNum = 1419;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\""; + //BA.debugLineNum = 1630;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\""; if (__c.Not(_isconnectedtointernet())) { __c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; }else { - //BA.debugLineNum = 1423;BA.debugLine="Log(\"XXXX\")"; -__c.LogImpl("814745767","XXXX",0); - //BA.debugLineNum = 1424;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; + //BA.debugLineNum = 1634;BA.debugLine="Log(\"XXXX\")"; +__c.LogImpl("450462887","XXXX",0); + //BA.debugLineNum = 1635;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; __c.MsgboxAsync(BA.ObjectToCharSequence("Para poder cargar día no puedes tener venta del día anterior. Por favor haz FIN DIA e intenta nuevamente."),BA.ObjectToCharSequence("Atención"),ba); }; - //BA.debugLineNum = 1427;BA.debugLine="End Sub"; + //BA.debugLineNum = 1638;BA.debugLine="End Sub"; return ""; } public String _checachek() throws Exception{ - //BA.debugLineNum = 792;BA.debugLine="Sub checachek"; - //BA.debugLineNum = 793;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT CHECADO FROM"; + //BA.debugLineNum = 799;BA.debugLine="Sub checachek"; + //BA.debugLineNum = 800;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT CHECADO FROM"; _b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CHECADO FROM CHECADO_CHECK"))); - //BA.debugLineNum = 794;BA.debugLine="If b.RowCount > 0 Then"; + //BA.debugLineNum = 801;BA.debugLine="If b.RowCount > 0 Then"; if (_b.getRowCount()>0) { - //BA.debugLineNum = 795;BA.debugLine="b.Position = 0"; + //BA.debugLineNum = 802;BA.debugLine="b.Position = 0"; _b.setPosition((int) (0)); - //BA.debugLineNum = 796;BA.debugLine="If b.GetString(\"CHECADO\") = 0 Then"; + //BA.debugLineNum = 803;BA.debugLine="If b.GetString(\"CHECADO\") = 0 Then"; if ((_b.GetString("CHECADO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 797;BA.debugLine="b_check.Visible = True"; + //BA.debugLineNum = 804;BA.debugLine="b_check.Visible = True"; _b_check.setVisible(__c.True); }else if((_b.GetString("CHECADO")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 799;BA.debugLine="b_check.Visible =False"; + //BA.debugLineNum = 806;BA.debugLine="b_check.Visible =False"; _b_check.setVisible(__c.False); }; - //BA.debugLineNum = 801;BA.debugLine="b.Close"; + //BA.debugLineNum = 808;BA.debugLine="b.Close"; _b.Close(); }; - //BA.debugLineNum = 803;BA.debugLine="End Sub"; + //BA.debugLineNum = 810;BA.debugLine="End Sub"; return ""; } public String _class_globals() throws Exception{ @@ -3957,6 +3892,8 @@ _p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); _ime = new anywheresoftware.b4a.objects.IME(); //BA.debugLineNum = 80;BA.debugLine="Private b_tabulador As Button"; _b_tabulador = new anywheresoftware.b4a.objects.ButtonWrapper(); + //BA.debugLineNum = 81;BA.debugLine="Dim paso1 As String"; +_paso1 = ""; //BA.debugLineNum = 82;BA.debugLine="Private l_rutasP As Label"; _l_rutasp = new anywheresoftware.b4a.objects.LabelWrapper(); //BA.debugLineNum = 83;BA.debugLine="Private l_rechazo As Label"; @@ -4055,171 +3992,188 @@ _l_pagaresnuevos = new anywheresoftware.b4a.objects.LabelWrapper(); _l_montoaliquidar = new anywheresoftware.b4a.objects.LabelWrapper(); //BA.debugLineNum = 135;BA.debugLine="Private Label21 As Label"; _label21 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 136;BA.debugLine="End Sub"; + //BA.debugLineNum = 136;BA.debugLine="Private b_comodin As Button"; +_b_comodin = new anywheresoftware.b4a.objects.ButtonWrapper(); + //BA.debugLineNum = 137;BA.debugLine="Private p_validacion As Panel"; +_p_validacion = new anywheresoftware.b4a.objects.PanelWrapper(); + //BA.debugLineNum = 138;BA.debugLine="Private b_cancelarcodigo As Button"; +_b_cancelarcodigo = new anywheresoftware.b4a.objects.ButtonWrapper(); + //BA.debugLineNum = 139;BA.debugLine="Private b_aceptar As Button"; +_b_aceptar = new anywheresoftware.b4a.objects.ButtonWrapper(); + //BA.debugLineNum = 140;BA.debugLine="Private et_codigo As EditText"; +_et_codigo = new anywheresoftware.b4a.objects.EditTextWrapper(); + //BA.debugLineNum = 141;BA.debugLine="End Sub"; return ""; } public String _connecta_click() throws Exception{ - //BA.debugLineNum = 2262;BA.debugLine="Sub connecta_Click"; - //BA.debugLineNum = 2263;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("815007745",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 2264;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; + //BA.debugLineNum = 2585;BA.debugLine="Sub connecta_Click"; + //BA.debugLineNum = 2586;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +__c.LogImpl("450724865",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); + //BA.debugLineNum = 2587;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; if (__c.Not(_isconnectedtointernet())) { __c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; - //BA.debugLineNum = 2265;BA.debugLine="If e_ruta.Text <> \"\" Then"; + //BA.debugLineNum = 2588;BA.debugLine="If e_ruta.Text <> \"\" Then"; if ((_e_ruta.getText()).equals("") == false) { - //BA.debugLineNum = 2266;BA.debugLine="imei = \"\" 'p.GetDeviceId"; + //BA.debugLineNum = 2589;BA.debugLine="imei = \"\" 'p.GetDeviceId"; _imei = ""; - //BA.debugLineNum = 2267;BA.debugLine="conn = \"1\""; + //BA.debugLineNum = 2590;BA.debugLine="conn = \"1\""; _conn = "1"; - //BA.debugLineNum = 2268;BA.debugLine="ime.HideKeyboard"; + //BA.debugLineNum = 2591;BA.debugLine="ime.HideKeyboard"; _ime.HideKeyboard(ba); - //BA.debugLineNum = 2269;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 2592;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2270;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 2593;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 2271;BA.debugLine="cmd.Name = \"select_version_IZCA\""; + //BA.debugLineNum = 2594;BA.debugLine="cmd.Name = \"select_version_IZCA\""; _cmd.Name /*String*/ = "select_version_IZCA"; - //BA.debugLineNum = 2272;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; + //BA.debugLineNum = 2595;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("version")); - //BA.debugLineNum = 2273;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 2596;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2274;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 2597;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 2277;BA.debugLine="cmd.Name = \"select_ruta_re_REPG_IZCA4\""; + //BA.debugLineNum = 2600;BA.debugLine="cmd.Name = \"select_ruta_re_REPG_IZCA4\""; _cmd.Name /*String*/ = "select_ruta_re_REPG_IZCA4"; - //BA.debugLineNum = 2278;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; + //BA.debugLineNum = 2601;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_usuario)}; - //BA.debugLineNum = 2279;BA.debugLine="Log($\"${ALMACEN}, ${e_ruta.text}, ${usuario}\"$)"; -__c.LogImpl("815007761",(""+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+", "+__c.SmartStringFormatter("",(Object)(_usuario))+""),0); - //BA.debugLineNum = 2280;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")"; + //BA.debugLineNum = 2602;BA.debugLine="Log($\"${ALMACEN}, ${e_ruta.text}, ${usuario}\"$)"; +__c.LogImpl("450724881",(""+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+", "+__c.SmartStringFormatter("",(Object)(_usuario))+""),0); + //BA.debugLineNum = 2603;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("ruta")); - //BA.debugLineNum = 2282;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)"; + //BA.debugLineNum = 2605;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Validando Conexión."),__c.True); - //BA.debugLineNum = 2283;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; + //BA.debugLineNum = 2606;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 2284;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTAA(RU"; + //BA.debugLineNum = 2607;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTAA(RU"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_e_ruta.getText())})); - //BA.debugLineNum = 2285;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; + //BA.debugLineNum = 2608;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _e_ruta.getText(); }; - //BA.debugLineNum = 2287;BA.debugLine="End Sub"; + //BA.debugLineNum = 2610;BA.debugLine="End Sub"; +return ""; +} +public String _connecta_longclick() throws Exception{ + //BA.debugLineNum = 3874;BA.debugLine="Private Sub connecta_LongClick"; + //BA.debugLineNum = 3875;BA.debugLine="imp_LIQUIDACION"; +_imp_liquidacion(); + //BA.debugLineNum = 3876;BA.debugLine="End Sub"; return ""; } public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _id_prod,String _prod,String _cant,String _cantreal) throws Exception{ anywheresoftware.b4a.objects.B4XViewWrapper _pa = null; - //BA.debugLineNum = 3598;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri"; - //BA.debugLineNum = 3599;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; + //BA.debugLineNum = 3841;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri"; + //BA.debugLineNum = 3842;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; _pa = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pa = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 3600;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; + //BA.debugLineNum = 3843;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; _pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); - //BA.debugLineNum = 3601;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; + //BA.debugLineNum = 3844;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; _pa.LoadLayout("PANEL_PICK_CIEGO",ba); - //BA.debugLineNum = 3602;BA.debugLine="pa.Height = 55dip"; + //BA.debugLineNum = 3845;BA.debugLine="pa.Height = 55dip"; _pa.setHeight(__c.DipToCurrent((int) (55))); - //BA.debugLineNum = 3603;BA.debugLine="pa.Width = 298dip"; + //BA.debugLineNum = 3846;BA.debugLine="pa.Width = 298dip"; _pa.setWidth(__c.DipToCurrent((int) (298))); - //BA.debugLineNum = 3605;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; + //BA.debugLineNum = 3848;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; _l_pick_ciego.setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); - //BA.debugLineNum = 3606;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; + //BA.debugLineNum = 3849;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; _l_pick_ciego.setTextSize((float) (12)); - //BA.debugLineNum = 3607;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; + //BA.debugLineNum = 3850;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; _l_pick_ciego.setGravity(__c.Bit.Or(__c.Gravity.CENTER_VERTICAL,__c.Gravity.CENTER_HORIZONTAL)); - //BA.debugLineNum = 3608;BA.debugLine="ET_PICK_CIEGO.Text = cant"; + //BA.debugLineNum = 3851;BA.debugLine="ET_PICK_CIEGO.Text = cant"; _et_pick_ciego.setText(BA.ObjectToCharSequence(_cant)); - //BA.debugLineNum = 3609;BA.debugLine="L_CANT_PCIK.Text = cantreal"; + //BA.debugLineNum = 3852;BA.debugLine="L_CANT_PCIK.Text = cantreal"; _l_cant_pcik.setText(BA.ObjectToCharSequence(_cantreal)); - //BA.debugLineNum = 3612;BA.debugLine="Return pa"; + //BA.debugLineNum = 3855;BA.debugLine="Return pa"; if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pa.getObject())); - //BA.debugLineNum = 3613;BA.debugLine="End Sub"; + //BA.debugLineNum = 3856;BA.debugLine="End Sub"; return null; } public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(String _id_prod,String _prod,String _cantreal) throws Exception{ anywheresoftware.b4a.objects.B4XViewWrapper _pa = null; - //BA.debugLineNum = 3615;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str"; - //BA.debugLineNum = 3616;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; + //BA.debugLineNum = 3858;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str"; + //BA.debugLineNum = 3859;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; _pa = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pa = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 3617;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; + //BA.debugLineNum = 3860;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; _pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); - //BA.debugLineNum = 3618;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; + //BA.debugLineNum = 3861;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; _pa.LoadLayout("PANEL_PICK_CIEGO",ba); - //BA.debugLineNum = 3619;BA.debugLine="pa.Height = 55dip"; + //BA.debugLineNum = 3862;BA.debugLine="pa.Height = 55dip"; _pa.setHeight(__c.DipToCurrent((int) (55))); - //BA.debugLineNum = 3620;BA.debugLine="pa.Width = 298dip"; + //BA.debugLineNum = 3863;BA.debugLine="pa.Width = 298dip"; _pa.setWidth(__c.DipToCurrent((int) (298))); - //BA.debugLineNum = 3622;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; + //BA.debugLineNum = 3865;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; _l_pick_ciego.setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); - //BA.debugLineNum = 3623;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; + //BA.debugLineNum = 3866;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; _l_pick_ciego.setTextSize((float) (12)); - //BA.debugLineNum = 3624;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; + //BA.debugLineNum = 3867;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; _l_pick_ciego.setGravity(__c.Bit.Or(__c.Gravity.CENTER_VERTICAL,__c.Gravity.CENTER_HORIZONTAL)); - //BA.debugLineNum = 3625;BA.debugLine="L_CANT_PCIK.Text = cantreal"; + //BA.debugLineNum = 3868;BA.debugLine="L_CANT_PCIK.Text = cantreal"; _l_cant_pcik.setText(BA.ObjectToCharSequence(_cantreal)); - //BA.debugLineNum = 3628;BA.debugLine="Return pa"; + //BA.debugLineNum = 3871;BA.debugLine="Return pa"; if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pa.getObject())); - //BA.debugLineNum = 3629;BA.debugLine="End Sub"; + //BA.debugLineNum = 3872;BA.debugLine="End Sub"; return null; } public String _e_ruta_enterpressed() throws Exception{ - //BA.debugLineNum = 2303;BA.debugLine="Sub e_ruta_EnterPressed"; - //BA.debugLineNum = 2304;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; + //BA.debugLineNum = 2626;BA.debugLine="Sub e_ruta_EnterPressed"; + //BA.debugLineNum = 2627;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; if ((_e_ruta.getText()).equals("FIN DIA")) { - //BA.debugLineNum = 2305;BA.debugLine="RES = Msgbox2(\"Seguro que desea hacer el cierre"; + //BA.debugLineNum = 2628;BA.debugLine="RES = Msgbox2(\"Seguro que desea hacer el cierre"; _res = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea hacer el cierre todos los datos se borraran?"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 2306;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; + //BA.debugLineNum = 2629;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; if ((_res).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 2308;BA.debugLine="e_ruta.Text = \"\""; + //BA.debugLineNum = 2631;BA.debugLine="e_ruta.Text = \"\""; _e_ruta.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 2309;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PICK_CIE"; + //BA.debugLineNum = 2632;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PICK_CIE"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PICK_CIEGO"); - //BA.debugLineNum = 2310;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO_"; + //BA.debugLineNum = 2633;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO_"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO_GEO"); - //BA.debugLineNum = 2311;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; + //BA.debugLineNum = 2634;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente"); - //BA.debugLineNum = 2312;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PAGARES\""; + //BA.debugLineNum = 2635;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PAGARES\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PAGARES"); - //BA.debugLineNum = 2313;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECADO_"; + //BA.debugLineNum = 2636;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECADO_"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CHECADO_CHECK"); - //BA.debugLineNum = 2314;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECKLIS"; + //BA.debugLineNum = 2637;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECKLIS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CHECKLIST2"); - //BA.debugLineNum = 2315;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido\")"; + //BA.debugLineNum = 2638;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido"); - //BA.debugLineNum = 2316;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from noventa\""; + //BA.debugLineNum = 2639;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from noventa\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from noventa"); - //BA.debugLineNum = 2317;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from clie_act"; + //BA.debugLineNum = 2640;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from clie_act"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from clie_act"); - //BA.debugLineNum = 2318;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info"; + //BA.debugLineNum = 2641;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); - //BA.debugLineNum = 2319;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; + //BA.debugLineNum = 2642;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 2320;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; + //BA.debugLineNum = 2643;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); - //BA.debugLineNum = 2321;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETA"; + //BA.debugLineNum = 2644;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 2322;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; + //BA.debugLineNum = 2645;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 2323;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; + //BA.debugLineNum = 2646;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); - //BA.debugLineNum = 2324;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; + //BA.debugLineNum = 2647;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_MONEDAS"); - //BA.debugLineNum = 2325;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; + //BA.debugLineNum = 2648;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_BILLETES"); - //BA.debugLineNum = 2326;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; + //BA.debugLineNum = 2649;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 2327;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; + //BA.debugLineNum = 2650;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOSP"); - //BA.debugLineNum = 2328;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOS\")"; + //BA.debugLineNum = 2651;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOS\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOS"); - //BA.debugLineNum = 2329;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM BLOCKENV"; + //BA.debugLineNum = 2652;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM BLOCKENV"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM BLOCKENVIO"); - //BA.debugLineNum = 2330;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 2653;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); }; - //BA.debugLineNum = 2333;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints"; + //BA.debugLineNum = 2656;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); }; - //BA.debugLineNum = 2335;BA.debugLine="End Sub"; + //BA.debugLineNum = 2658;BA.debugLine="End Sub"; return ""; } public String _envioinfo() throws Exception{ @@ -4243,491 +4197,1094 @@ String _fecha3 = ""; String _hora = ""; String _sdate = ""; String _stime = ""; - //BA.debugLineNum = 862;BA.debugLine="Sub envioinfo"; - //BA.debugLineNum = 867;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT NV_CLIENTE,NV_"; + //BA.debugLineNum = 1071;BA.debugLine="Sub envioinfo"; + //BA.debugLineNum = 1076;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT NV_CLIENTE,NV_"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO, NV_REPROGRAMAR FROM NOVENTA"))); - //BA.debugLineNum = 868;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUAN"; + //BA.debugLineNum = 1077;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUAN"; _d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); - //BA.debugLineNum = 869;BA.debugLine="If c.RowCount>0 Then"; + //BA.debugLineNum = 1078;BA.debugLine="If c.RowCount>0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 870;BA.debugLine="For i=0 To c.RowCount -1"; + //BA.debugLineNum = 1079;BA.debugLine="For i=0 To c.RowCount -1"; { final int step4 = 1; final int limit4 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 871;BA.debugLine="c.Position=i"; + //BA.debugLineNum = 1080;BA.debugLine="c.Position=i"; _c.setPosition(_i); - //BA.debugLineNum = 872;BA.debugLine="foto1 = c.GetBlob(\"NV_FOTO\")"; + //BA.debugLineNum = 1081;BA.debugLine="foto1 = c.GetBlob(\"NV_FOTO\")"; _foto1 = _c.GetBlob("NV_FOTO"); - //BA.debugLineNum = 873;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1082;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 874;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1083;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 875;BA.debugLine="cmd.Name = \"insert_reparto_REPG_IZCA\""; + //BA.debugLineNum = 1084;BA.debugLine="cmd.Name = \"insert_reparto_REPG_IZCA\""; _cmd.Name /*String*/ = "insert_reparto_REPG_IZCA"; - //BA.debugLineNum = 876;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"N"; + //BA.debugLineNum = 1085;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"N"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("NV_CLIENTE")),(Object)(_c.GetString("NV_FECHA")),(Object)(_c.GetString("NV_USER")),(Object)(_c.GetString("NV_MOTIVO")),(Object)(_c.GetString("NV_COMM")),(Object)(_c.GetString("NV_LAT")),(Object)(_c.GetString("NV_LON")),(Object)(_almacen),(Object)(_l_ruta.getText()),(Object)(_c.GetString("NV_REPROGRAMAR"))}; - //BA.debugLineNum = 877;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa_"; + //BA.debugLineNum = 1086;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa_"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_noventa_")); } }; - //BA.debugLineNum = 879;BA.debugLine="c.Close"; + //BA.debugLineNum = 1088;BA.debugLine="c.Close"; _c.Close(); }; - //BA.debugLineNum = 881;BA.debugLine="d.Position=0"; + //BA.debugLineNum = 1090;BA.debugLine="d.Position=0"; _d.setPosition((int) (0)); - //BA.debugLineNum = 882;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; + //BA.debugLineNum = 1091;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; _cuantos_noventa = _d.GetString("CUANTOS_NOVENTA"); - //BA.debugLineNum = 883;BA.debugLine="d.Close"; + //BA.debugLineNum = 1092;BA.debugLine="d.Close"; _d.Close(); - //BA.debugLineNum = 886;BA.debugLine="Dim r As Cursor =Starter.skmt.ExecQuery(\"select *"; + //BA.debugLineNum = 1095;BA.debugLine="Dim r As Cursor =Starter.skmt.ExecQuery(\"select *"; _r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _r = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from noventa where nv_reprogramar = 1"))); - //BA.debugLineNum = 887;BA.debugLine="If r.RowCount > 0 Then"; + //BA.debugLineNum = 1096;BA.debugLine="If r.RowCount > 0 Then"; if (_r.getRowCount()>0) { - //BA.debugLineNum = 888;BA.debugLine="For rx = 0 To r.RowCount - 1"; + //BA.debugLineNum = 1097;BA.debugLine="For rx = 0 To r.RowCount - 1"; { final int step20 = 1; final int limit20 = (int) (_r.getRowCount()-1); _rx = (int) (0) ; for (;_rx <= limit20 ;_rx = _rx + step20 ) { - //BA.debugLineNum = 889;BA.debugLine="r.Position = rx"; + //BA.debugLineNum = 1098;BA.debugLine="r.Position = rx"; _r.setPosition(_rx); - //BA.debugLineNum = 890;BA.debugLine="Dim o As Cursor = Starter.skmt.ExecQuery2(\"sele"; + //BA.debugLineNum = 1099;BA.debugLine="Dim o As Cursor = Starter.skmt.ExecQuery2(\"sele"; _o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select HVD_FECHA, CAT_CL_RUTA FROM HIST_VENTAS INNER JOIN kmt_info on HVD_CLIENTE = cat_cl_codigo WHERE HVD_CLIENTE = ?",new String[]{_r.GetString("NV_CLIENTE")}))); - //BA.debugLineNum = 891;BA.debugLine="If o.RowCount > 0 Then"; + //BA.debugLineNum = 1100;BA.debugLine="If o.RowCount > 0 Then"; if (_o.getRowCount()>0) { - //BA.debugLineNum = 892;BA.debugLine="o.Position = 0"; + //BA.debugLineNum = 1101;BA.debugLine="o.Position = 0"; _o.setPosition((int) (0)); - //BA.debugLineNum = 893;BA.debugLine="Log(\"Enviamos reprogramados: \" & r.RowCount)"; -__c.LogImpl("814680095","Enviamos reprogramados: "+BA.NumberToString(_r.getRowCount()),0); - //BA.debugLineNum = 895;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1102;BA.debugLine="Log(\"Enviamos reprogramados: \" & r.RowCount)"; +__c.LogImpl("450397215","Enviamos reprogramados: "+BA.NumberToString(_r.getRowCount()),0); + //BA.debugLineNum = 1104;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 896;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1105;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 897;BA.debugLine="cmd.Name = \"insert_reparto_reprogramar3_IZCA\""; + //BA.debugLineNum = 1106;BA.debugLine="cmd.Name = \"insert_reparto_reprogramar3_IZCA\""; _cmd.Name /*String*/ = "insert_reparto_reprogramar3_IZCA"; - //BA.debugLineNum = 898;BA.debugLine="cmd.Parameters = Array As Object(r.GetString(\""; + //BA.debugLineNum = 1107;BA.debugLine="cmd.Parameters = Array As Object(r.GetString(\""; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_r.GetString("NV_CLIENTE")),(Object)(_r.GetString("NV_REPROGRAMAR")),(Object)(_o.GetString("HVD_FECHA")),(Object)(_o.GetString("CAT_CL_RUTA")),(Object)(_almacen)}; - //BA.debugLineNum = 899;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_reprogram"; + //BA.debugLineNum = 1108;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_reprogram"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_reprogramar")); }; } }; }; - //BA.debugLineNum = 903;BA.debugLine="r.Close"; + //BA.debugLineNum = 1112;BA.debugLine="r.Close"; _r.Close(); - //BA.debugLineNum = 960;BA.debugLine="Dim pa As Cursor =Starter.skmt.ExecQuery(\"select"; + //BA.debugLineNum = 1169;BA.debugLine="Dim pa As Cursor =Starter.skmt.ExecQuery(\"select"; _pa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _pa = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PA_ALMACEN,PA_RUTA_REP,PA_RUTAPREV,PA_FECHA_PREV,PA_CAPTURA,PA_MONTO,PA_USUARIO,PA_CLIENTE from PAGARES"))); - //BA.debugLineNum = 961;BA.debugLine="If pa.RowCount > 0 Then"; + //BA.debugLineNum = 1170;BA.debugLine="If pa.RowCount > 0 Then"; if (_pa.getRowCount()>0) { - //BA.debugLineNum = 962;BA.debugLine="For pag = 0 To pa.RowCount - 1"; + //BA.debugLineNum = 1171;BA.debugLine="For pag = 0 To pa.RowCount - 1"; { final int step37 = 1; final int limit37 = (int) (_pa.getRowCount()-1); _pag = (int) (0) ; for (;_pag <= limit37 ;_pag = _pag + step37 ) { - //BA.debugLineNum = 963;BA.debugLine="pa.Position = pag"; + //BA.debugLineNum = 1172;BA.debugLine="pa.Position = pag"; _pa.setPosition(_pag); - //BA.debugLineNum = 964;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1173;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 965;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1174;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 966;BA.debugLine="cmd.Name = \"insert_reparto_PAGARES_IZCA_VN\""; + //BA.debugLineNum = 1175;BA.debugLine="cmd.Name = \"insert_reparto_PAGARES_IZCA_VN\""; _cmd.Name /*String*/ = "insert_reparto_PAGARES_IZCA_VN"; - //BA.debugLineNum = 967;BA.debugLine="Dim fechaenvio() As String"; + //BA.debugLineNum = 1176;BA.debugLine="Dim fechaenvio() As String"; _fechaenvio = new String[(int) (0)]; java.util.Arrays.fill(_fechaenvio,""); - //BA.debugLineNum = 968;BA.debugLine="fechaenvio = Regex.Split(\" \",pa.GetString(\"PA_F"; + //BA.debugLineNum = 1177;BA.debugLine="fechaenvio = Regex.Split(\" \",pa.GetString(\"PA_F"; _fechaenvio = __c.Regex.Split(" ",_pa.GetString("PA_FECHA_PREV")); - //BA.debugLineNum = 975;BA.debugLine="Dim fechacap() As String"; + //BA.debugLineNum = 1184;BA.debugLine="Dim fechacap() As String"; _fechacap = new String[(int) (0)]; java.util.Arrays.fill(_fechacap,""); - //BA.debugLineNum = 976;BA.debugLine="fechacap = Regex.Split(\"/\",pa.GetString(\"PA_CAP"; + //BA.debugLineNum = 1185;BA.debugLine="fechacap = Regex.Split(\"/\",pa.GetString(\"PA_CAP"; _fechacap = __c.Regex.Split("/",_pa.GetString("PA_CAPTURA")); - //BA.debugLineNum = 982;BA.debugLine="cmd.Parameters = Array As Object(pa.GetString("; + //BA.debugLineNum = 1191;BA.debugLine="cmd.Parameters = Array As Object(pa.GetString("; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_pa.GetString("PA_CLIENTE")),(Object)(_pa.GetString("PA_MONTO")),(Object)(_fechaenvio[(int) (0)]),(Object)(_pa.GetString("PA_ALMACEN")),(Object)(_pa.GetString("PA_RUTAPREV")),(Object)(_pa.GetString("PA_RUTA_REP")),(Object)(_pa.GetString("PA_CAPTURA")),(Object)(_pa.GetString("PA_USUARIO")),(Object)("")}; - //BA.debugLineNum = 984;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pagares\")"; + //BA.debugLineNum = 1193;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pagares\")"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_pagares")); } }; }; - //BA.debugLineNum = 987;BA.debugLine="pa.Close"; + //BA.debugLineNum = 1196;BA.debugLine="pa.Close"; _pa.Close(); - //BA.debugLineNum = 990;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; + //BA.debugLineNum = 1199;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; _d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); - //BA.debugLineNum = 991;BA.debugLine="d.Position = 0"; + //BA.debugLineNum = 1200;BA.debugLine="d.Position = 0"; _d.setPosition((int) (0)); - //BA.debugLineNum = 992;BA.debugLine="Dim ab As Cursor = Starter.skmt.ExecQuery($\"SELEC"; + //BA.debugLineNum = 1201;BA.debugLine="Dim ab As Cursor = Starter.skmt.ExecQuery($\"SELEC"; _ab = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _ab = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * from ABONOS where a_enviado is null and a_tipoabono IS NULL")))); - //BA.debugLineNum = 993;BA.debugLine="Log(ab.RowCount)"; -__c.LogImpl("814680195",BA.NumberToString(_ab.getRowCount()),0); - //BA.debugLineNum = 994;BA.debugLine="If ab.RowCount > 0 Then"; + //BA.debugLineNum = 1202;BA.debugLine="Log(ab.RowCount)"; +__c.LogImpl("450397315",BA.NumberToString(_ab.getRowCount()),0); + //BA.debugLineNum = 1203;BA.debugLine="If ab.RowCount > 0 Then"; if (_ab.getRowCount()>0) { - //BA.debugLineNum = 995;BA.debugLine="For i=0 To ab.RowCount -1"; + //BA.debugLineNum = 1204;BA.debugLine="For i=0 To ab.RowCount -1"; { final int step56 = 1; final int limit56 = (int) (_ab.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit56 ;_i = _i + step56 ) { - //BA.debugLineNum = 996;BA.debugLine="ab.Position = i"; + //BA.debugLineNum = 1205;BA.debugLine="ab.Position = i"; _ab.setPosition(_i); - //BA.debugLineNum = 998;BA.debugLine="Dim ab1 As Cursor = Starter.skmt.ExecQuery($\"SE"; + //BA.debugLineNum = 1207;BA.debugLine="Dim ab1 As Cursor = Starter.skmt.ExecQuery($\"SE"; _ab1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _ab1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT a_abono from ABONOS where a_cliente = '"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+"' and a_tipoabono IS NULL")))); - //BA.debugLineNum = 999;BA.debugLine="ab1.Position = 0"; + //BA.debugLineNum = 1208;BA.debugLine="ab1.Position = 0"; _ab1.setPosition((int) (0)); - //BA.debugLineNum = 1001;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1210;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1002;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1211;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1003;BA.debugLine="cmd.Name = \"insert_abono_REP_IZCA_VN2\""; + //BA.debugLineNum = 1212;BA.debugLine="cmd.Name = \"insert_abono_REP_IZCA_VN2\""; _cmd.Name /*String*/ = "insert_abono_REP_IZCA_VN2"; - //BA.debugLineNum = 1004;BA.debugLine="cmd.Parameters = Array As Object( ab.GetString("; + //BA.debugLineNum = 1213;BA.debugLine="cmd.Parameters = Array As Object( ab.GetString("; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_ab.GetString("a_usuario")),(Object)(_ab.GetString("a_ruta")),(Object)(_ab.GetString("a_cliente")),(Object)(_ab.GetString("a_abono")),(Object)(_ab.GetString("a_fecha")),(Object)(_almacen),(Object)("REPARTO"),(Object)(_d.GetString("RUTAA")),(Object)(""),(Object)(_ab.GetString("TIPO_PAGO")),(Object)(_ab.GetString("a_ticket")),(Object)(_ab.GetString("a_numpago"))}; - //BA.debugLineNum = 1005;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPen"; + //BA.debugLineNum = 1214;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPen"; _reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""))); - //BA.debugLineNum = 1006;BA.debugLine="ab1.Close"; + //BA.debugLineNum = 1215;BA.debugLine="ab1.Close"; _ab1.Close(); - //BA.debugLineNum = 1007;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_cl"; -__c.LogImpl("814680209",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0); + //BA.debugLineNum = 1216;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_cl"; +__c.LogImpl("450397329",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0); } }; }; - //BA.debugLineNum = 1010;BA.debugLine="ab.Close"; + //BA.debugLineNum = 1219;BA.debugLine="ab.Close"; _ab.Close(); - //BA.debugLineNum = 1011;BA.debugLine="d.Close"; + //BA.debugLineNum = 1220;BA.debugLine="d.Close"; _d.Close(); - //BA.debugLineNum = 1015;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; + //BA.debugLineNum = 1224;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; _d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); - //BA.debugLineNum = 1016;BA.debugLine="d.Position = 0"; + //BA.debugLineNum = 1225;BA.debugLine="d.Position = 0"; _d.setPosition((int) (0)); - //BA.debugLineNum = 1017;BA.debugLine="Dim ab As Cursor = Starter.skmt.ExecQuery($\"SELEC"; + //BA.debugLineNum = 1226;BA.debugLine="Dim ab As Cursor = Starter.skmt.ExecQuery($\"SELEC"; _ab = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _ab = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * from ABONOS where a_enviado is null and a_tipoabono IS NOT NULL")))); - //BA.debugLineNum = 1018;BA.debugLine="Log(ab.RowCount)"; -__c.LogImpl("814680220",BA.NumberToString(_ab.getRowCount()),0); - //BA.debugLineNum = 1019;BA.debugLine="If ab.RowCount > 0 Then"; + //BA.debugLineNum = 1227;BA.debugLine="Log(ab.RowCount)"; +__c.LogImpl("450397340",BA.NumberToString(_ab.getRowCount()),0); + //BA.debugLineNum = 1228;BA.debugLine="If ab.RowCount > 0 Then"; if (_ab.getRowCount()>0) { - //BA.debugLineNum = 1020;BA.debugLine="For i=0 To ab.RowCount -1"; + //BA.debugLineNum = 1229;BA.debugLine="For i=0 To ab.RowCount -1"; { final int step76 = 1; final int limit76 = (int) (_ab.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit76 ;_i = _i + step76 ) { - //BA.debugLineNum = 1021;BA.debugLine="ab.Position = i"; + //BA.debugLineNum = 1230;BA.debugLine="ab.Position = i"; _ab.setPosition(_i); - //BA.debugLineNum = 1023;BA.debugLine="Dim ab1 As Cursor = Starter.skmt.ExecQuery($\"SE"; + //BA.debugLineNum = 1232;BA.debugLine="Dim ab1 As Cursor = Starter.skmt.ExecQuery($\"SE"; _ab1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _ab1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT a_abono from ABONOS where a_cliente = '"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+"' and a_tipoabono IS NOT NULL")))); - //BA.debugLineNum = 1024;BA.debugLine="ab1.Position = 0"; + //BA.debugLineNum = 1233;BA.debugLine="ab1.Position = 0"; _ab1.setPosition((int) (0)); - //BA.debugLineNum = 1026;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1235;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1027;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1236;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1028;BA.debugLine="cmd.Name = \"insert_abono_REP_IZCA_VN2\""; + //BA.debugLineNum = 1237;BA.debugLine="cmd.Name = \"insert_abono_REP_IZCA_VN2\""; _cmd.Name /*String*/ = "insert_abono_REP_IZCA_VN2"; - //BA.debugLineNum = 1029;BA.debugLine="cmd.Parameters = Array As Object( ab.GetString("; + //BA.debugLineNum = 1238;BA.debugLine="cmd.Parameters = Array As Object( ab.GetString("; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_ab.GetString("a_usuario")),(Object)(_ab.GetString("a_ruta")),(Object)(_ab.GetString("a_cliente")),(Object)(_ab.GetString("a_abono")),(Object)(_ab.GetString("a_fecha")),(Object)(_almacen),(Object)("REPARTO"),(Object)(_d.GetString("RUTAA")),(Object)("1"),(Object)(_ab.GetString("TIPO_PAGO")),(Object)(_ab.GetString("a_ticket")),(Object)(_ab.GetString("a_numpago"))}; - //BA.debugLineNum = 1030;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPen"; + //BA.debugLineNum = 1239;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPen"; _reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""))); - //BA.debugLineNum = 1031;BA.debugLine="ab1.Close"; + //BA.debugLineNum = 1240;BA.debugLine="ab1.Close"; _ab1.Close(); - //BA.debugLineNum = 1032;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_cl"; -__c.LogImpl("814680234",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0); + //BA.debugLineNum = 1241;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_cl"; +__c.LogImpl("450397354",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0); } }; }; - //BA.debugLineNum = 1035;BA.debugLine="ab.Close"; + //BA.debugLineNum = 1244;BA.debugLine="ab.Close"; _ab.Close(); - //BA.debugLineNum = 1036;BA.debugLine="d.Close"; + //BA.debugLineNum = 1245;BA.debugLine="d.Close"; _d.Close(); - //BA.debugLineNum = 1060;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT PE_TIPO, PE_RUTA"; + //BA.debugLineNum = 1269;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT PE_TIPO, PE_RUTA"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PE_TIPO, PE_RUTA, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_CLIENTEOR, PE_CAJAS, PE_BCAJAS, CONSECUTIVO, FECHA_PREV, RUTA_REP, PE_REGALO FROM PEDIDO"))); - //BA.debugLineNum = 1061;BA.debugLine="If c.RowCount>0 Then"; + //BA.debugLineNum = 1270;BA.debugLine="If c.RowCount>0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1062;BA.debugLine="For i=0 To c.RowCount -1"; + //BA.debugLineNum = 1271;BA.debugLine="For i=0 To c.RowCount -1"; { final int step93 = 1; final int limit93 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit93 ;_i = _i + step93 ) { - //BA.debugLineNum = 1063;BA.debugLine="c.Position=i"; + //BA.debugLineNum = 1272;BA.debugLine="c.Position=i"; _c.setPosition(_i); - //BA.debugLineNum = 1064;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1273;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1065;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1274;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1066;BA.debugLine="cmd.Name = \"insert_pedido_REP_IZCA\""; + //BA.debugLineNum = 1275;BA.debugLine="cmd.Name = \"insert_pedido_REP_IZCA\""; _cmd.Name /*String*/ = "insert_pedido_REP_IZCA"; - //BA.debugLineNum = 1067;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"P"; + //BA.debugLineNum = 1276;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"P"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_TIPO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_CEDIS")),(Object)(_c.GetString("PE_COSTO_TOT")),(Object)(_c.GetString("PE_COSTOU")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_CLIENTEOR")),(Object)(_c.GetString("PE_CAJAS")),(Object)(_c.GetString("PE_BCAJAS")),(Object)(_c.GetString("CONSECUTIVO")),(Object)(_c.GetString("FECHA_PREV")),(Object)(_c.GetString("RUTA_REP")),(Object)(_c.GetString("PE_REGALO"))}; - //BA.debugLineNum = 1068;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedido_Inm"; + //BA.debugLineNum = 1277;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedido_Inm"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_pedido_Inmtex")); } }; - //BA.debugLineNum = 1070;BA.debugLine="c.Close"; + //BA.debugLineNum = 1279;BA.debugLine="c.Close"; _c.Close(); }; - //BA.debugLineNum = 1134;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD, PC"; + //BA.debugLineNum = 1343;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD, PC"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_ID_PROD, PC_ALMACEN, PC_RUTA, PC_FECHA FROM PICK_CIEGO"))); - //BA.debugLineNum = 1135;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 1344;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1136;BA.debugLine="For i = 0 To c.RowCount - 1"; + //BA.debugLineNum = 1345;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step105 = 1; final int limit105 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit105 ;_i = _i + step105 ) { - //BA.debugLineNum = 1137;BA.debugLine="c.Position = i"; + //BA.debugLineNum = 1346;BA.debugLine="c.Position = i"; _c.setPosition(_i); - //BA.debugLineNum = 1138;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1347;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1139;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1348;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1140;BA.debugLine="cmd.Name = \"select_HIST_PICKCIEGO_IZCA\" '"; + //BA.debugLineNum = 1349;BA.debugLine="cmd.Name = \"select_HIST_PICKCIEGO_IZCA\" '"; _cmd.Name /*String*/ = "select_HIST_PICKCIEGO_IZCA"; - //BA.debugLineNum = 1141;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"P"; + //BA.debugLineNum = 1350;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"P"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PC_ID_PROD")),(Object)(_c.GetString("PC_ALMACEN")),(Object)(_c.GetString("PC_RUTA")),(Object)(_c.GetString("PC_FECHA")),(Object)("REPARTO")}; - //BA.debugLineNum = 1142;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, $\"PICK_C_${c.G"; + //BA.debugLineNum = 1351;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, $\"PICK_C_${c.G"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)(("PICK_C_"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_ID_PROD")))+""))); } }; }; - //BA.debugLineNum = 1145;BA.debugLine="c.close"; + //BA.debugLineNum = 1354;BA.debugLine="c.close"; _c.Close(); - //BA.debugLineNum = 1148;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT VEINTE, DIEZ,"; + //BA.debugLineNum = 1357;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT VEINTE, DIEZ,"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS"))); - //BA.debugLineNum = 1149;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; + //BA.debugLineNum = 1358;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; _d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); - //BA.debugLineNum = 1150;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; + //BA.debugLineNum = 1359;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; _b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN"))); - //BA.debugLineNum = 1151;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; + //BA.debugLineNum = 1360;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; _f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS"))); - //BA.debugLineNum = 1152;BA.debugLine="d.Position = 0"; + //BA.debugLineNum = 1361;BA.debugLine="d.Position = 0"; _d.setPosition((int) (0)); - //BA.debugLineNum = 1153;BA.debugLine="b.Position = 0"; + //BA.debugLineNum = 1362;BA.debugLine="b.Position = 0"; _b.setPosition((int) (0)); - //BA.debugLineNum = 1154;BA.debugLine="f.Position = 0"; + //BA.debugLineNum = 1363;BA.debugLine="f.Position = 0"; _f.setPosition((int) (0)); - //BA.debugLineNum = 1155;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 1364;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1156;BA.debugLine="For i = 0 To c.RowCount - 1"; + //BA.debugLineNum = 1365;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step123 = 1; final int limit123 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit123 ;_i = _i + step123 ) { - //BA.debugLineNum = 1157;BA.debugLine="c.Position=i"; + //BA.debugLineNum = 1366;BA.debugLine="c.Position=i"; _c.setPosition(_i); - //BA.debugLineNum = 1158;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1367;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1159;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; + //BA.debugLineNum = 1368;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; _fechatabulador = __c.Regex.Split(" ",_f.GetString("HVD_FECHA")); - //BA.debugLineNum = 1161;BA.debugLine="Dim fechatabulador3 As String = fechatabulador("; + //BA.debugLineNum = 1370;BA.debugLine="Dim fechatabulador3 As String = fechatabulador("; _fechatabulador3 = _fechatabulador[(int) (0)]; - //BA.debugLineNum = 1162;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1371;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1163;BA.debugLine="cmd.Name = \"insert_tabulador_monedas_IZCA\""; + //BA.debugLineNum = 1372;BA.debugLine="cmd.Name = \"insert_tabulador_monedas_IZCA\""; _cmd.Name /*String*/ = "insert_tabulador_monedas_IZCA"; - //BA.debugLineNum = 1164;BA.debugLine="cmd.Parameters = Array As Object(d.GetString(\"R"; + //BA.debugLineNum = 1373;BA.debugLine="cmd.Parameters = Array As Object(d.GetString(\"R"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_d.GetString("RUTAA")),(Object)(_b.GetString("ID_ALMACEN")),(Object)(_c.GetString("VEINTE")),(Object)(_c.GetString("DIEZ")),(Object)(_c.GetString("CINCO")),(Object)(_c.GetString("DOS")),(Object)(_c.GetString("PESO")),(Object)(_c.GetString("CENTAVO")),(Object)(_fechatabulador3)}; - //BA.debugLineNum = 1165;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; + //BA.debugLineNum = 1374;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_tabulador_mon")); } }; - //BA.debugLineNum = 1167;BA.debugLine="c.Close"; + //BA.debugLineNum = 1376;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 1168;BA.debugLine="d.Close"; + //BA.debugLineNum = 1377;BA.debugLine="d.Close"; _d.Close(); - //BA.debugLineNum = 1169;BA.debugLine="b.Close"; + //BA.debugLineNum = 1378;BA.debugLine="b.Close"; _b.Close(); - //BA.debugLineNum = 1170;BA.debugLine="f.Close"; + //BA.debugLineNum = 1379;BA.debugLine="f.Close"; _f.Close(); }; - //BA.debugLineNum = 1173;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT IFNULL(HVD_REC"; + //BA.debugLineNum = 1382;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT IFNULL(HVD_REC"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_CLIENTE, HVD_PROID, HVD_FECHA, HVD_CODPROMO, HVD_NUM_TICKET, HVD_CANT, CONSECUTIVO, BCAJAS, CANTC FROM HIST_VENTAS"))); - //BA.debugLineNum = 1174;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 1383;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1175;BA.debugLine="For i=0 To c.RowCount -1"; + //BA.debugLineNum = 1384;BA.debugLine="For i=0 To c.RowCount -1"; { final int step140 = 1; final int limit140 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit140 ;_i = _i + step140 ) { - //BA.debugLineNum = 1176;BA.debugLine="c.Position = i"; + //BA.debugLineNum = 1385;BA.debugLine="c.Position = i"; _c.setPosition(_i); - //BA.debugLineNum = 1177;BA.debugLine="Log(c.GetString(\"HVD_CLIENTE\"))"; -__c.LogImpl("814680379",_c.GetString("HVD_CLIENTE"),0); - //BA.debugLineNum = 1178;BA.debugLine="Private d4 As Cursor = Starter.skmt.ExecQuery($"; + //BA.debugLineNum = 1386;BA.debugLine="Log(c.GetString(\"HVD_CLIENTE\"))"; +__c.LogImpl("450397499",_c.GetString("HVD_CLIENTE"),0); + //BA.debugLineNum = 1387;BA.debugLine="Private d4 As Cursor = Starter.skmt.ExecQuery($"; _d4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _d4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"'")))); - //BA.debugLineNum = 1179;BA.debugLine="d4.Position = 0"; + //BA.debugLineNum = 1388;BA.debugLine="d4.Position = 0"; _d4.setPosition((int) (0)); - //BA.debugLineNum = 1180;BA.debugLine="Log(d4.GetString(\"CAT_CL_RUTA\"))"; -__c.LogImpl("814680382",_d4.GetString("CAT_CL_RUTA"),0); - //BA.debugLineNum = 1181;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery("; + //BA.debugLineNum = 1389;BA.debugLine="Log(d4.GetString(\"CAT_CL_RUTA\"))"; +__c.LogImpl("450397502",_d4.GetString("CAT_CL_RUTA"),0); + //BA.debugLineNum = 1390;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery("; _d5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _d5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE') ")))); - //BA.debugLineNum = 1182;BA.debugLine="d5.Position = 0"; + //BA.debugLineNum = 1391;BA.debugLine="d5.Position = 0"; _d5.setPosition((int) (0)); - //BA.debugLineNum = 1183;BA.debugLine="Private restacant As String = d5.GetString(\"PE_"; + //BA.debugLineNum = 1392;BA.debugLine="Private restacant As String = d5.GetString(\"PE_"; _restacant = _d5.GetString("PE_CANT"); - //BA.debugLineNum = 1184;BA.debugLine="d5.Close"; + //BA.debugLineNum = 1393;BA.debugLine="d5.Close"; _d5.Close(); - //BA.debugLineNum = 1186;BA.debugLine="Dim fecha1() As String = Regex.Split(\" \", c.Get"; + //BA.debugLineNum = 1395;BA.debugLine="Dim fecha1() As String = Regex.Split(\" \", c.Get"; _fecha1 = __c.Regex.Split(" ",_c.GetString("HVD_FECHA")); - //BA.debugLineNum = 1188;BA.debugLine="Dim fecha3 As String = fecha1(0)"; + //BA.debugLineNum = 1397;BA.debugLine="Dim fecha3 As String = fecha1(0)"; _fecha3 = _fecha1[(int) (0)]; - //BA.debugLineNum = 1189;BA.debugLine="Log(fecha3)"; -__c.LogImpl("814680391",_fecha3,0); - //BA.debugLineNum = 1190;BA.debugLine="Dim hora As String = fecha1(1)"; + //BA.debugLineNum = 1398;BA.debugLine="Log(fecha3)"; +__c.LogImpl("450397511",_fecha3,0); + //BA.debugLineNum = 1399;BA.debugLine="Dim hora As String = fecha1(1)"; _hora = _fecha1[(int) (1)]; - //BA.debugLineNum = 1193;BA.debugLine="Dim sDate, sTime As String"; + //BA.debugLineNum = 1402;BA.debugLine="Dim sDate, sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 1194;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; + //BA.debugLineNum = 1403;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; __c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 1195;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; + //BA.debugLineNum = 1404;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; __c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 1196;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 1405;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; _sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1197;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; + //BA.debugLineNum = 1406;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; _stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1198;BA.debugLine="If c.GetString(\"HVD_RECHAZOCANT\") <> \"0\" Then"; + //BA.debugLineNum = 1407;BA.debugLine="If c.GetString(\"HVD_RECHAZOCANT\") <> \"0\" Then"; if ((_c.GetString("HVD_RECHAZOCANT")).equals("0") == false) { - //BA.debugLineNum = 1199;BA.debugLine="Log((c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; -__c.LogImpl("814680401",BA.NumberToString(((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))),0); - //BA.debugLineNum = 1200;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1408;BA.debugLine="Log((c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; +__c.LogImpl("450397521",BA.NumberToString(((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))),0); + //BA.debugLineNum = 1409;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1201;BA.debugLine="cmd.Name = \"update_HVD_izcarep2\""; + //BA.debugLineNum = 1410;BA.debugLine="cmd.Name = \"update_HVD_izcarep2\""; _cmd.Name /*String*/ = "update_HVD_izcarep2"; - //BA.debugLineNum = 1202;BA.debugLine="cmd.Parameters = Array As String(c.GetString(\""; + //BA.debugLineNum = 1411;BA.debugLine="cmd.Parameters = Array As String(c.GetString(\""; _cmd.Parameters /*Object[]*/ = (Object[])(new String[]{_c.GetString("HVD_RECHAZOCANT"),_sdate+" "+_stime,BA.NumberToString(1),_c.GetString("HVD_CLIENTE"),_c.GetString("HVD_PROID"),_fecha3+" "+_hora,_d4.GetString("CAT_CL_RUTA"),_almacen,_l_ruta.getText(),_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_NUM_TICKET"),_c.GetString("HVD_CANT")}); - //BA.debugLineNum = 1203;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")"; + //BA.debugLineNum = 1412;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("update_hvd")); }else { - //BA.debugLineNum = 1205;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1414;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1206;BA.debugLine="cmd.Name = \"update_HVD_izcarep2\""; + //BA.debugLineNum = 1415;BA.debugLine="cmd.Name = \"update_HVD_izcarep2\""; _cmd.Name /*String*/ = "update_HVD_izcarep2"; - //BA.debugLineNum = 1207;BA.debugLine="Log( c.GetString(\"CANTC\")& c.GetString(\"HVD_CL"; -__c.LogImpl("814680409",_c.GetString("CANTC")+_c.GetString("HVD_CLIENTE")+_c.GetString("HVD_PROID")+_fecha3+" "+_hora+_d4.GetString("CAT_CL_RUTA")+_almacen+_l_ruta.getText()+_c.GetString("HVD_CODPROMO")+_c.GetString("HVD_NUM_TICKET")+_c.GetString("HVD_CANT"),0); - //BA.debugLineNum = 1208;BA.debugLine="cmd.Parameters = Array As String(\"\",\"\",\"\", c.G"; + //BA.debugLineNum = 1416;BA.debugLine="Log( c.GetString(\"CANTC\")& c.GetString(\"HVD_CL"; +__c.LogImpl("450397529",_c.GetString("CANTC")+_c.GetString("HVD_CLIENTE")+_c.GetString("HVD_PROID")+_fecha3+" "+_hora+_d4.GetString("CAT_CL_RUTA")+_almacen+_l_ruta.getText()+_c.GetString("HVD_CODPROMO")+_c.GetString("HVD_NUM_TICKET")+_c.GetString("HVD_CANT"),0); + //BA.debugLineNum = 1417;BA.debugLine="cmd.Parameters = Array As String(\"\",\"\",\"\", c.G"; _cmd.Parameters /*Object[]*/ = (Object[])(new String[]{"","","",_c.GetString("HVD_CLIENTE"),_c.GetString("HVD_PROID"),_fecha3+" "+_hora,_d4.GetString("CAT_CL_RUTA"),_almacen,_l_ruta.getText(),_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_NUM_TICKET"),_c.GetString("HVD_CANT")}); - //BA.debugLineNum = 1209;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")"; + //BA.debugLineNum = 1418;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("update_hvd")); }; - //BA.debugLineNum = 1211;BA.debugLine="d4.Close"; + //BA.debugLineNum = 1420;BA.debugLine="d4.Close"; _d4.Close(); } }; }; - //BA.debugLineNum = 1214;BA.debugLine="c.Close"; + //BA.debugLineNum = 1423;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 1217;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT MIL, QUINIENTO"; + //BA.debugLineNum = 1426;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT MIL, QUINIENTO"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES"))); - //BA.debugLineNum = 1218;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; + //BA.debugLineNum = 1427;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; _d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); - //BA.debugLineNum = 1219;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; + //BA.debugLineNum = 1428;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; _b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN"))); - //BA.debugLineNum = 1220;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; + //BA.debugLineNum = 1429;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; _f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS"))); - //BA.debugLineNum = 1221;BA.debugLine="d.Position = 0"; + //BA.debugLineNum = 1430;BA.debugLine="d.Position = 0"; _d.setPosition((int) (0)); - //BA.debugLineNum = 1222;BA.debugLine="b.Position = 0"; + //BA.debugLineNum = 1431;BA.debugLine="b.Position = 0"; _b.setPosition((int) (0)); - //BA.debugLineNum = 1223;BA.debugLine="f.Position = 0"; + //BA.debugLineNum = 1432;BA.debugLine="f.Position = 0"; _f.setPosition((int) (0)); - //BA.debugLineNum = 1224;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 1433;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1225;BA.debugLine="For i = 0 To c.RowCount - 1"; + //BA.debugLineNum = 1434;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step184 = 1; final int limit184 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit184 ;_i = _i + step184 ) { - //BA.debugLineNum = 1226;BA.debugLine="c.Position=i"; + //BA.debugLineNum = 1435;BA.debugLine="c.Position=i"; _c.setPosition(_i); - //BA.debugLineNum = 1227;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1436;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1232;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; + //BA.debugLineNum = 1441;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; _fechatabulador = __c.Regex.Split(" ",_f.GetString("HVD_FECHA")); - //BA.debugLineNum = 1234;BA.debugLine="Dim fechatabulador3 As String = fechatabulador("; + //BA.debugLineNum = 1443;BA.debugLine="Dim fechatabulador3 As String = fechatabulador("; _fechatabulador3 = _fechatabulador[(int) (0)]; - //BA.debugLineNum = 1236;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1445;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1237;BA.debugLine="cmd.Name = \"insert_tabulador_billetes_IZCA\""; + //BA.debugLineNum = 1446;BA.debugLine="cmd.Name = \"insert_tabulador_billetes_IZCA\""; _cmd.Name /*String*/ = "insert_tabulador_billetes_IZCA"; - //BA.debugLineNum = 1238;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"I"; + //BA.debugLineNum = 1447;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"I"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_b.GetString("ID_ALMACEN")),(Object)(_d.GetString("RUTAA")),(Object)(_c.GetString("MIL")),(Object)(_c.GetString("QUINIENTOS")),(Object)(_c.GetString("DOCIENTOS")),(Object)(_c.GetString("CIEN")),(Object)(_c.GetString("CINCUENTA")),(Object)(_c.GetString("VEINTE")),(Object)(_fechatabulador3)}; - //BA.debugLineNum = 1239;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; + //BA.debugLineNum = 1448;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_tabulador_bill")); } }; - //BA.debugLineNum = 1241;BA.debugLine="c.Close"; + //BA.debugLineNum = 1450;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 1242;BA.debugLine="d.Close"; + //BA.debugLineNum = 1451;BA.debugLine="d.Close"; _d.Close(); - //BA.debugLineNum = 1243;BA.debugLine="b.Close"; + //BA.debugLineNum = 1452;BA.debugLine="b.Close"; _b.Close(); - //BA.debugLineNum = 1244;BA.debugLine="f.Close"; + //BA.debugLineNum = 1453;BA.debugLine="f.Close"; _f.Close(); }; - //BA.debugLineNum = 1248;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1457;BA.debugLine="imp_LIQUIDACION"; +_imp_liquidacion(); + //BA.debugLineNum = 1459;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1249;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1460;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1250;BA.debugLine="cmd.Name = \"insert_drop_rep_IZCA2\""; + //BA.debugLineNum = 1461;BA.debugLine="cmd.Name = \"insert_drop_rep_IZCA2\""; _cmd.Name /*String*/ = "insert_drop_rep_IZCA2"; - //BA.debugLineNum = 1251;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuario"; + //BA.debugLineNum = 1462;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuario"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(_l_ruta.getText()),(Object)(_almacen),(Object)(_l_ctast.getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("ENVIO"),(Object)(__c.Application.getVersionName())}; - //BA.debugLineNum = 1252;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; + //BA.debugLineNum = 1463;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_drop")); - //BA.debugLineNum = 1253;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; + //BA.debugLineNum = 1464;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; __c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias "+_l_ruta.getText()),__c.True); - //BA.debugLineNum = 1254;BA.debugLine="End Sub"; + //BA.debugLineNum = 1465;BA.debugLine="End Sub"; return ""; } +public void _imp_liquidacion() throws Exception{ +ResumableSub_imp_LIQUIDACION rsub = new ResumableSub_imp_LIQUIDACION(this); +rsub.resume(ba, null); +} +public static class ResumableSub_imp_LIQUIDACION extends BA.ResumableSub { +public ResumableSub_imp_LIQUIDACION(reparto_izca.keymon.lat.c_principal parent) { +this.parent = parent; +} +reparto_izca.keymon.lat.c_principal parent; +int _cont = 0; +String _sdate = ""; +String _stime = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _abonoscreditos = null; +int _g = 0; +int _j = 0; +int _resultado = 0; +int step49; +int limit49; +int step53; +int limit53; +int step75; +int limit75; +int step79; +int limit79; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + //BA.debugLineNum = 935;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); + //BA.debugLineNum = 936;BA.debugLine="Printer1.DisConnect"; +parent._printer1._disconnect /*String*/ (); + //BA.debugLineNum = 937;BA.debugLine="If Not(Printer1.IsConnected) Then"; +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + //BA.debugLineNum = 939;BA.debugLine="Printer1.Connect"; +parent._printer1._connect /*boolean*/ (); + //BA.debugLineNum = 940;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); + //BA.debugLineNum = 941;BA.debugLine="Do While Not(impresoraConectada)"; +if (true) break; + +case 4: +//do while +this.state = 19; +while (parent.__c.Not(parent._impresoraconectada)) { +this.state = 6; +if (true) break; +} +if (true) break; + +case 6: +//C +this.state = 7; + //BA.debugLineNum = 942;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,this,(int) (1000)); +this.state = 69; +return; +case 69: +//C +this.state = 7; +; + //BA.debugLineNum = 943;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); + //BA.debugLineNum = 944;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +if (true) break; + +case 7: +//if +this.state = 12; +if (_cont==7) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +parent._printer1._connect /*boolean*/ (); +if (true) break; + +case 12: +//C +this.state = 13; +; + //BA.debugLineNum = 945;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +if (true) break; + +case 13: +//if +this.state = 18; +if (_cont>15) { +this.state = 15; +;}if (true) break; + +case 15: +//C +this.state = 18; +parent._impresoraconectada = parent.__c.True; +if (true) break; + +case 18: +//C +this.state = 4; +; + if (true) break; + +case 19: +//C +this.state = 38; +; + //BA.debugLineNum = 947;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,this,(int) (500)); +this.state = 70; +return; +case 70: +//C +this.state = 38; +; + //BA.debugLineNum = 948;BA.debugLine="impresoraConectada = False"; +parent._impresoraconectada = parent.__c.False; + if (true) break; + +case 21: +//C +this.state = 22; + //BA.debugLineNum = 951;BA.debugLine="Printer1.Connect"; +parent._printer1._connect /*boolean*/ (); + //BA.debugLineNum = 952;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); + //BA.debugLineNum = 953;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +if (true) break; + +case 22: +//do while +this.state = 37; +while (parent.__c.Not(parent._impresoraconectada) || parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + //BA.debugLineNum = 954;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,this,(int) (1000)); +this.state = 71; +return; +case 71: +//C +this.state = 25; +; + //BA.debugLineNum = 955;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); + //BA.debugLineNum = 956;BA.debugLine="If cont = 2 Then Printer1.Connect"; +if (true) break; + +case 25: +//if +this.state = 30; +if (_cont==2) { +this.state = 27; +;}if (true) break; + +case 27: +//C +this.state = 30; +parent._printer1._connect /*boolean*/ (); +if (true) break; + +case 30: +//C +this.state = 31; +; + //BA.debugLineNum = 957;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +if (true) break; + +case 31: +//if +this.state = 36; +if (_cont>4) { +this.state = 33; +;}if (true) break; + +case 33: +//C +this.state = 36; +parent._impresoraconectada = parent.__c.True; +if (true) break; + +case 36: +//C +this.state = 22; +; + if (true) break; + +case 37: +//C +this.state = 38; +; + //BA.debugLineNum = 959;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,this,(int) (500)); +this.state = 72; +return; +case 72: +//C +this.state = 38; +; + //BA.debugLineNum = 960;BA.debugLine="impresoraConectada = False"; +parent._impresoraconectada = parent.__c.False; + if (true) break; + +case 38: +//C +this.state = 39; +; + //BA.debugLineNum = 963;BA.debugLine="TAMANO = 0"; +parent._tamano = (int) (0); + //BA.debugLineNum = 964;BA.debugLine="ESPACIO = 29"; +parent._espacio = (int) (29); + //BA.debugLineNum = 965;BA.debugLine="BLANCO = \" \""; +parent._blanco = " "; + //BA.debugLineNum = 966;BA.debugLine="Printer1.Justify = 0"; +parent._printer1._setjustify((int) (0)); + //BA.debugLineNum = 967;BA.debugLine="Dim sDate, sTime As String"; +_sdate = ""; +_stime = ""; + //BA.debugLineNum = 968;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); + //BA.debugLineNum = 969;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +parent.__c.DateTime.setTimeFormat("HH:mm:ss"); + //BA.debugLineNum = 970;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +_sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); + //BA.debugLineNum = 971;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +_stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); + //BA.debugLineNum = 972;BA.debugLine="Printer1.WriteString(\"Fecha: \" &sDate & CRLF)"; +parent._printer1._writestring /*String*/ ("Fecha: "+_sdate+parent.__c.CRLF); + //BA.debugLineNum = 973;BA.debugLine="Printer1.WriteString(\"Hora: \" &sTime & CRLF)"; +parent._printer1._writestring /*String*/ ("Hora: "+_stime+parent.__c.CRLF); + //BA.debugLineNum = 974;BA.debugLine="Printer1.WriteString(\"Ruta: \" & l_ruta.Text & CRL"; +parent._printer1._writestring /*String*/ ("Ruta: "+parent._l_ruta.getText()+parent.__c.CRLF); + //BA.debugLineNum = 975;BA.debugLine="Printer1.WriteString(\"Usuario: \" & Subs.dameUsuar"; +parent._printer1._writestring /*String*/ ("Usuario: "+parent._subs._dameusuariodedb /*String*/ (ba)+parent.__c.CRLF); + //BA.debugLineNum = 976;BA.debugLine="Printer1.WriteString(\"----------LIQUIDACION------"; +parent._printer1._writestring /*String*/ ("----------LIQUIDACION----------"+parent.__c.CRLF); + //BA.debugLineNum = 977;BA.debugLine="Printer1.WriteString(\"---------------------------"; +parent._printer1._writestring /*String*/ ("--------------------------------"+parent.__c.CRLF); + //BA.debugLineNum = 979;BA.debugLine="Printer1.WriteString(\"Monto entregado: $\" & L_MON"; +parent._printer1._writestring /*String*/ ("Monto entregado: $"+parent._l_montoe.getText()+parent.__c.CRLF); + //BA.debugLineNum = 980;BA.debugLine="Printer1.WriteString(\"Monto rechazado: $\" & l_rec"; +parent._printer1._writestring /*String*/ ("Monto rechazado: $"+parent._l_rechazo.getText()+parent.__c.CRLF); + //BA.debugLineNum = 981;BA.debugLine="Printer1.WriteString(\"Pagares cobrados: $\" & l_pa"; +parent._printer1._writestring /*String*/ ("Pagares cobrados: $"+parent._l_pagarescobrados.getText()+parent.__c.CRLF); + //BA.debugLineNum = 983;BA.debugLine="If l_pagarescobrados.Text > 0 Then"; +if (true) break; + +case 39: +//if +this.state = 50; +if ((double)(Double.parseDouble(parent._l_pagarescobrados.getText()))>0) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; + //BA.debugLineNum = 984;BA.debugLine="Printer1.WriteString(\"--------------------------"; +parent._printer1._writestring /*String*/ ("--------------------------------"+parent.__c.CRLF); + //BA.debugLineNum = 985;BA.debugLine="Printer1.WriteString(\" Cliente Abo"; +parent._printer1._writestring /*String*/ (" Cliente Abono"+parent.__c.CRLF); + //BA.debugLineNum = 986;BA.debugLine="Printer1.WriteString(\"--------------------------"; +parent._printer1._writestring /*String*/ ("--------------------------------"+parent.__c.CRLF); + //BA.debugLineNum = 988;BA.debugLine="Dim abonoscreditos As Cursor = Starter.skmt.Exec"; +_abonoscreditos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_abonoscreditos = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT a_abono, length(a_abono) as L_abono , length(a_cliente) as L_cliente , a_cliente FROM ABONOS ORDER BY a_cliente"))); + //BA.debugLineNum = 989;BA.debugLine="For g = 0 To abonoscreditos.RowCount -1"; +if (true) break; + +case 42: +//for +this.state = 49; +step49 = 1; +limit49 = (int) (_abonoscreditos.getRowCount()-1); +_g = (int) (0) ; +this.state = 73; +if (true) break; + +case 73: +//C +this.state = 49; +if ((step49 > 0 && _g <= limit49) || (step49 < 0 && _g >= limit49)) this.state = 44; +if (true) break; + +case 74: +//C +this.state = 73; +_g = ((int)(0 + _g + step49)) ; +if (true) break; + +case 44: +//C +this.state = 45; + //BA.debugLineNum = 990;BA.debugLine="abonoscreditos.Position = g"; +_abonoscreditos.setPosition(_g); + //BA.debugLineNum = 992;BA.debugLine="TAMANO = abonoscreditos.GetInt(\"L_abono\") + TAM"; +parent._tamano = (int) (_abonoscreditos.GetInt("L_abono")+parent._tamano); + //BA.debugLineNum = 993;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +parent._espacio = (int) ((parent._espacio-parent._tamano)/(double)2); + //BA.debugLineNum = 995;BA.debugLine="For j =0 To ESPACIO -1"; +if (true) break; + +case 45: +//for +this.state = 48; +step53 = 1; +limit53 = (int) (parent._espacio-1); +_j = (int) (0) ; +this.state = 75; +if (true) break; + +case 75: +//C +this.state = 48; +if ((step53 > 0 && _j <= limit53) || (step53 < 0 && _j >= limit53)) this.state = 47; +if (true) break; + +case 76: +//C +this.state = 75; +_j = ((int)(0 + _j + step53)) ; +if (true) break; + +case 47: +//C +this.state = 76; + //BA.debugLineNum = 996;BA.debugLine="BLANCO = \" \" & BLANCO"; +parent._blanco = " "+parent._blanco; + if (true) break; +if (true) break; + +case 48: +//C +this.state = 74; +; + //BA.debugLineNum = 998;BA.debugLine="Printer1.Justify = 0"; +parent._printer1._setjustify((int) (0)); + //BA.debugLineNum = 999;BA.debugLine="Printer1.WriteString( abonoscreditos.GetString("; +parent._printer1._writestring /*String*/ (_abonoscreditos.GetString("a_cliente")+parent._blanco); + //BA.debugLineNum = 1000;BA.debugLine="Printer1.Justify = 1"; +parent._printer1._setjustify((int) (1)); + //BA.debugLineNum = 1001;BA.debugLine="Printer1.WriteString( abonoscreditos.GetString("; +parent._printer1._writestring /*String*/ (_abonoscreditos.GetString("a_abono")); + //BA.debugLineNum = 1002;BA.debugLine="Printer1.WriteString( CRLF)"; +parent._printer1._writestring /*String*/ (parent.__c.CRLF); + //BA.debugLineNum = 1003;BA.debugLine="TAMANO = 0"; +parent._tamano = (int) (0); + //BA.debugLineNum = 1004;BA.debugLine="ESPACIO = 29"; +parent._espacio = (int) (29); + //BA.debugLineNum = 1005;BA.debugLine="BLANCO = \" \""; +parent._blanco = " "; + //BA.debugLineNum = 1006;BA.debugLine="Printer1.Justify = 0"; +parent._printer1._setjustify((int) (0)); + if (true) break; +if (true) break; + +case 49: +//C +this.state = 50; +; + //BA.debugLineNum = 1008;BA.debugLine="Printer1.WriteString(\"--------------------------"; +parent._printer1._writestring /*String*/ ("--------------------------------"+parent.__c.CRLF); + //BA.debugLineNum = 1009;BA.debugLine="Printer1.WriteString( CRLF)"; +parent._printer1._writestring /*String*/ (parent.__c.CRLF); + if (true) break; + +case 50: +//C +this.state = 51; +; + //BA.debugLineNum = 1011;BA.debugLine="Printer1.WriteString(\"Pagares nuevos: $\" & l_paga"; +parent._printer1._writestring /*String*/ ("Pagares nuevos: $"+parent._l_pagaresnuevos.getText()+parent.__c.CRLF); + //BA.debugLineNum = 1013;BA.debugLine="If l_pagaresnuevos.Text > 0 Then"; +if (true) break; + +case 51: +//if +this.state = 62; +if ((double)(Double.parseDouble(parent._l_pagaresnuevos.getText()))>0) { +this.state = 53; +}if (true) break; + +case 53: +//C +this.state = 54; + //BA.debugLineNum = 1014;BA.debugLine="Printer1.WriteString(\"--------------------------"; +parent._printer1._writestring /*String*/ ("--------------------------------"+parent.__c.CRLF); + //BA.debugLineNum = 1015;BA.debugLine="Printer1.WriteString(\" Cliente Pag"; +parent._printer1._writestring /*String*/ (" Cliente Pagare"+parent.__c.CRLF); + //BA.debugLineNum = 1016;BA.debugLine="Printer1.WriteString(\"--------------------------"; +parent._printer1._writestring /*String*/ ("--------------------------------"+parent.__c.CRLF); + //BA.debugLineNum = 1018;BA.debugLine="Dim abonoscreditos As Cursor = Starter.skmt.Exec"; +_abonoscreditos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_abonoscreditos = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PA_MONTO, length(PA_MONTO) as L_PA_MONTO , length(PA_CLIENTE) as L_cliente , PA_CLIENTE FROM PAGARES ORDER BY PA_CLIENTE"))); + //BA.debugLineNum = 1019;BA.debugLine="For g = 0 To abonoscreditos.RowCount -1"; +if (true) break; + +case 54: +//for +this.state = 61; +step75 = 1; +limit75 = (int) (_abonoscreditos.getRowCount()-1); +_g = (int) (0) ; +this.state = 77; +if (true) break; + +case 77: +//C +this.state = 61; +if ((step75 > 0 && _g <= limit75) || (step75 < 0 && _g >= limit75)) this.state = 56; +if (true) break; + +case 78: +//C +this.state = 77; +_g = ((int)(0 + _g + step75)) ; +if (true) break; + +case 56: +//C +this.state = 57; + //BA.debugLineNum = 1020;BA.debugLine="abonoscreditos.Position = g"; +_abonoscreditos.setPosition(_g); + //BA.debugLineNum = 1022;BA.debugLine="TAMANO = abonoscreditos.GetInt(\"L_PA_MONTO\") +"; +parent._tamano = (int) (_abonoscreditos.GetInt("L_PA_MONTO")+parent._tamano); + //BA.debugLineNum = 1023;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +parent._espacio = (int) ((parent._espacio-parent._tamano)/(double)2); + //BA.debugLineNum = 1025;BA.debugLine="For j =0 To ESPACIO -1"; +if (true) break; + +case 57: +//for +this.state = 60; +step79 = 1; +limit79 = (int) (parent._espacio-1); +_j = (int) (0) ; +this.state = 79; +if (true) break; + +case 79: +//C +this.state = 60; +if ((step79 > 0 && _j <= limit79) || (step79 < 0 && _j >= limit79)) this.state = 59; +if (true) break; + +case 80: +//C +this.state = 79; +_j = ((int)(0 + _j + step79)) ; +if (true) break; + +case 59: +//C +this.state = 80; + //BA.debugLineNum = 1026;BA.debugLine="BLANCO = \" \" & BLANCO"; +parent._blanco = " "+parent._blanco; + if (true) break; +if (true) break; + +case 60: +//C +this.state = 78; +; + //BA.debugLineNum = 1028;BA.debugLine="Printer1.Justify = 0"; +parent._printer1._setjustify((int) (0)); + //BA.debugLineNum = 1029;BA.debugLine="Printer1.WriteString( abonoscreditos.GetString("; +parent._printer1._writestring /*String*/ (_abonoscreditos.GetString("PA_CLIENTE")+parent._blanco); + //BA.debugLineNum = 1030;BA.debugLine="Printer1.Justify = 1"; +parent._printer1._setjustify((int) (1)); + //BA.debugLineNum = 1031;BA.debugLine="Printer1.WriteString( abonoscreditos.GetString("; +parent._printer1._writestring /*String*/ (_abonoscreditos.GetString("PA_MONTO")); + //BA.debugLineNum = 1032;BA.debugLine="Printer1.WriteString( CRLF)"; +parent._printer1._writestring /*String*/ (parent.__c.CRLF); + //BA.debugLineNum = 1033;BA.debugLine="TAMANO = 0"; +parent._tamano = (int) (0); + //BA.debugLineNum = 1034;BA.debugLine="ESPACIO = 29"; +parent._espacio = (int) (29); + //BA.debugLineNum = 1035;BA.debugLine="BLANCO = \" \""; +parent._blanco = " "; + //BA.debugLineNum = 1036;BA.debugLine="Printer1.Justify = 0"; +parent._printer1._setjustify((int) (0)); + if (true) break; +if (true) break; + +case 61: +//C +this.state = 62; +; + //BA.debugLineNum = 1038;BA.debugLine="Printer1.WriteString(\"--------------------------"; +parent._printer1._writestring /*String*/ ("--------------------------------"+parent.__c.CRLF); + //BA.debugLineNum = 1039;BA.debugLine="Printer1.WriteString( CRLF)"; +parent._printer1._writestring /*String*/ (parent.__c.CRLF); + if (true) break; + +case 62: +//C +this.state = 63; +; + //BA.debugLineNum = 1041;BA.debugLine="Printer1.WriteString(\"Monto a liquidar: $\" & l_mo"; +parent._printer1._writestring /*String*/ ("Monto a liquidar: $"+parent._l_montoaliquidar.getText()+parent.__c.CRLF); + //BA.debugLineNum = 1050;BA.debugLine="Printer1.WriteString(\"---------------------------"; +parent._printer1._writestring /*String*/ ("------------------------------"+parent.__c.CRLF); + //BA.debugLineNum = 1051;BA.debugLine="Printer1.Justify = 0"; +parent._printer1._setjustify((int) (0)); + //BA.debugLineNum = 1052;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); + //BA.debugLineNum = 1053;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); + //BA.debugLineNum = 1054;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); + //BA.debugLineNum = 1055;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); + //BA.debugLineNum = 1056;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,this,(int) (1000)); +this.state = 81; +return; +case 81: +//C +this.state = 63; +; + //BA.debugLineNum = 1057;BA.debugLine="Printer1.DisConnect"; +parent._printer1._disconnect /*String*/ (); + //BA.debugLineNum = 1058;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); + //BA.debugLineNum = 1061;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket?"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?"),BA.ObjectToCharSequence("ATENCION"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); + //BA.debugLineNum = 1062;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, this, null); +this.state = 82; +return; +case 82: +//C +this.state = 63; +_resultado = (Integer) result[0]; +; + //BA.debugLineNum = 1063;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 63: +//if +this.state = 68; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 65; +}else { +this.state = 67; +}if (true) break; + +case 65: +//C +this.state = 68; + //BA.debugLineNum = 1064;BA.debugLine="imp_LIQUIDACION"; +parent._imp_liquidacion(); + if (true) break; + +case 67: +//C +this.state = 68; + if (true) break; + +case 68: +//C +this.state = -1; +; + //BA.debugLineNum = 1068;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _msgbox_result(int _resultado) throws Exception{ +} public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ innerInitialize(_ba); - //BA.debugLineNum = 139;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 140;BA.debugLine="Return Me"; + //BA.debugLineNum = 144;BA.debugLine="Public Sub Initialize As Object"; + //BA.debugLineNum = 145;BA.debugLine="Return Me"; if (true) return this; - //BA.debugLineNum = 141;BA.debugLine="End Sub"; + //BA.debugLineNum = 146;BA.debugLine="End Sub"; return null; } public String _inv_click() throws Exception{ - //BA.debugLineNum = 2337;BA.debugLine="Sub inv_Click"; - //BA.debugLineNum = 2338;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; + //BA.debugLineNum = 2660;BA.debugLine="Sub inv_Click"; + //BA.debugLineNum = 2661;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; __c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias"),__c.True); - //BA.debugLineNum = 2339;BA.debugLine="End Sub"; + //BA.debugLineNum = 2662;BA.debugLine="End Sub"; return ""; } public boolean _isconnectedtointernet() throws Exception{ anywheresoftware.b4a.agraham.reflection.Reflection _r = null; - //BA.debugLineNum = 805;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore"; - //BA.debugLineNum = 806;BA.debugLine="Dim r As Reflector"; + //BA.debugLineNum = 812;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore"; + //BA.debugLineNum = 813;BA.debugLine="Dim r As Reflector"; _r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 807;BA.debugLine="r.Target = r.GetContext"; + //BA.debugLineNum = 814;BA.debugLine="r.Target = r.GetContext"; _r.Target = (Object)(_r.GetContext(ba)); - //BA.debugLineNum = 808;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn"; + //BA.debugLineNum = 815;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn"; _r.Target = _r.RunMethod2("getSystemService","connectivity","java.lang.String"); - //BA.debugLineNum = 809;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")"; + //BA.debugLineNum = 816;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")"; _r.Target = _r.RunMethod("getActiveNetworkInfo"); - //BA.debugLineNum = 810;BA.debugLine="If r.Target <> Null Then"; + //BA.debugLineNum = 817;BA.debugLine="If r.Target <> Null Then"; if (_r.Target!= null) { - //BA.debugLineNum = 811;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")"; + //BA.debugLineNum = 818;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")"; if (true) return BA.ObjectToBoolean(_r.RunMethod("isConnectedOrConnecting")); }; - //BA.debugLineNum = 813;BA.debugLine="Return False"; + //BA.debugLineNum = 820;BA.debugLine="Return False"; if (true) return __c.False; - //BA.debugLineNum = 814;BA.debugLine="End Sub"; + //BA.debugLineNum = 821;BA.debugLine="End Sub"; return false; } public String _jobdone(reparto_izca.keymon.lat.httpjob _job) throws Exception{ @@ -4819,29 +5376,33 @@ String _cat_ve_version = ""; String _valido = ""; double _lat = 0; double _lon = 0; +String _name = ""; String _k = ""; - //BA.debugLineNum = 1613;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 1615;BA.debugLine="If Job.Success = False Then"; +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +String _resta = ""; + //BA.debugLineNum = 1824;BA.debugLine="Sub JobDone(Job As HttpJob)"; + //BA.debugLineNum = 1826;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 1616;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro"; -__c.LogImpl("814876675","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red); + //BA.debugLineNum = 1827;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro"; +__c.LogImpl("450593795","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red); }else { - //BA.debugLineNum = 1619;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("814876678","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 1620;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1830;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("450593798","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); + //BA.debugLineNum = 1831;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1621;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1832;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1622;BA.debugLine="If result.Tag = \"kmt_datos\" Then 'query tag"; + //BA.debugLineNum = 1833;BA.debugLine="If result.Tag = \"kmt_datos\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos"))) { - //BA.debugLineNum = 1623;BA.debugLine="If reqs.IndexOf(\"kmt_datos\") > -1 Then"; + //BA.debugLineNum = 1834;BA.debugLine="If reqs.IndexOf(\"kmt_datos\") > -1 Then"; if (_reqs.IndexOf((Object)("kmt_datos"))>-1) { - //BA.debugLineNum = 1624;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"kmt_datos\"))"; + //BA.debugLineNum = 1835;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"kmt_datos\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("kmt_datos"))); }; - //BA.debugLineNum = 1627;BA.debugLine="Starter.skmt.BeginTransaction"; + //BA.debugLineNum = 1838;BA.debugLine="Starter.skmt.BeginTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1629;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1840;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group12 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen12 = group12.getSize() @@ -4849,1031 +5410,1025 @@ final int groupLen12 = group12.getSize() ; for (; index12 < groupLen12;index12++){ _records = (Object[])(group12.Get(index12)); - //BA.debugLineNum = 1630;BA.debugLine="Dim CAT_CL_CODIGO As String = records(result."; + //BA.debugLineNum = 1841;BA.debugLine="Dim CAT_CL_CODIGO As String = records(result."; _cat_cl_codigo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]); - //BA.debugLineNum = 1631;BA.debugLine="Dim CAT_CL_RUTA As String = records(result.Co"; + //BA.debugLineNum = 1842;BA.debugLine="Dim CAT_CL_RUTA As String = records(result.Co"; _cat_cl_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_RUTA"))))]); - //BA.debugLineNum = 1632;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(result."; + //BA.debugLineNum = 1843;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(result."; _cat_cl_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOMBRE"))))]); - //BA.debugLineNum = 1633;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(resul"; + //BA.debugLineNum = 1844;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(resul"; _cat_cl_atiende1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENDE1"))))]); - //BA.debugLineNum = 1634;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(resul"; + //BA.debugLineNum = 1845;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(resul"; _cat_cl_atiente2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENTE2"))))]); - //BA.debugLineNum = 1635;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(resul"; + //BA.debugLineNum = 1846;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(resul"; _cat_cl_telefono = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TELEFONO"))))]); - //BA.debugLineNum = 1636;BA.debugLine="Dim CAT_CL_EMAIL As String = records(result.C"; + //BA.debugLineNum = 1847;BA.debugLine="Dim CAT_CL_EMAIL As String = records(result.C"; _cat_cl_email = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EMAIL"))))]); - //BA.debugLineNum = 1637;BA.debugLine="Dim CAT_CL_CALLE As String = records(result.C"; + //BA.debugLineNum = 1848;BA.debugLine="Dim CAT_CL_CALLE As String = records(result.C"; _cat_cl_calle = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE"))))]); - //BA.debugLineNum = 1638;BA.debugLine="Dim CAT_CL_NOEXT As String = records(result.C"; + //BA.debugLineNum = 1849;BA.debugLine="Dim CAT_CL_NOEXT As String = records(result.C"; _cat_cl_noext = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOEXT"))))]); - //BA.debugLineNum = 1639;BA.debugLine="Dim CAT_CL_NOINT As String = records(result.C"; + //BA.debugLineNum = 1850;BA.debugLine="Dim CAT_CL_NOINT As String = records(result.C"; _cat_cl_noint = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOINT"))))]); - //BA.debugLineNum = 1640;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(result."; + //BA.debugLineNum = 1851;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(result."; _cat_cl_calle1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE1"))))]); - //BA.debugLineNum = 1641;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(result."; + //BA.debugLineNum = 1852;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(result."; _cat_cl_calle2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE2"))))]); - //BA.debugLineNum = 1642;BA.debugLine="Dim CAT_CL_COLONIA As String = records(result"; + //BA.debugLineNum = 1853;BA.debugLine="Dim CAT_CL_COLONIA As String = records(result"; _cat_cl_colonia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_COLONIA"))))]); - //BA.debugLineNum = 1643;BA.debugLine="Dim CAT_CL_MUNI As String = records(result.Co"; + //BA.debugLineNum = 1854;BA.debugLine="Dim CAT_CL_MUNI As String = records(result.Co"; _cat_cl_muni = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MUNI"))))]); - //BA.debugLineNum = 1644;BA.debugLine="Dim CAT_CL_EDO As String = records(result.Col"; + //BA.debugLineNum = 1855;BA.debugLine="Dim CAT_CL_EDO As String = records(result.Col"; _cat_cl_edo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EDO"))))]); - //BA.debugLineNum = 1645;BA.debugLine="Dim CAT_CL_CP As String = records(result.Colu"; + //BA.debugLineNum = 1856;BA.debugLine="Dim CAT_CL_CP As String = records(result.Colu"; _cat_cl_cp = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CP"))))]); - //BA.debugLineNum = 1646;BA.debugLine="Dim CAT_CL_LONG As String = records(result.Co"; + //BA.debugLineNum = 1857;BA.debugLine="Dim CAT_CL_LONG As String = records(result.Co"; _cat_cl_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LONG"))))]); - //BA.debugLineNum = 1647;BA.debugLine="Dim CAT_CL_LAT As String = records(result.Col"; + //BA.debugLineNum = 1858;BA.debugLine="Dim CAT_CL_LAT As String = records(result.Col"; _cat_cl_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LAT"))))]); - //BA.debugLineNum = 1648;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(resul"; + //BA.debugLineNum = 1859;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(resul"; _cat_cl_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BCREDITO"))))]); - //BA.debugLineNum = 1651;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_i"; + //BA.debugLineNum = 1862;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_i"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_BCREDITO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_bcredito)})); } }; - //BA.debugLineNum = 1653;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in"; + //BA.debugLineNum = 1864;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_BCREDITO, gestion,SECUENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(63403),(Object)(1000),(Object)("PRODUCTO DAÑADO"),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("-98.8357694"),(Object)("19.6906052"),(Object)("0"),(Object)("1")})); - //BA.debugLineNum = 1655;BA.debugLine="Starter.skmt.TransactionSuccessful"; + //BA.debugLineNum = 1865;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_BCREDITO, gestion,SECUENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(100000),(Object)(1000),(Object)("CLIENTE COMODIN"),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("-98.8357694"),(Object)("19.6906052"),(Object)("0"),(Object)("1")})); + //BA.debugLineNum = 1867;BA.debugLine="Starter.skmt.TransactionSuccessful"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1656;BA.debugLine="Starter.skmt.EndTransaction"; + //BA.debugLineNum = 1868;BA.debugLine="Starter.skmt.EndTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1657;BA.debugLine="Listo1 = 1"; + //BA.debugLineNum = 1869;BA.debugLine="Listo1 = 1"; _listo1 = BA.NumberToString(1); - //BA.debugLineNum = 1658;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; + //BA.debugLineNum = 1870;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; if ((_listo1).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1659;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 1871;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1660;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 1872;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 1661;BA.debugLine="img2.Visible = False"; + //BA.debugLineNum = 1873;BA.debugLine="img2.Visible = False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1662;BA.debugLine="EJECUTANDO=0"; + //BA.debugLineNum = 1874;BA.debugLine="EJECUTANDO=0"; _ejecutando = BA.NumberToString(0); }; - //BA.debugLineNum = 1666;BA.debugLine="t8.Initialize(\"t8\", 20000) ' 1000 = 1 second"; + //BA.debugLineNum = 1878;BA.debugLine="t8.Initialize(\"t8\", 20000) ' 1000 = 1 second"; _t8.Initialize(ba,"t8",(long) (20000)); - //BA.debugLineNum = 1667;BA.debugLine="t8.Enabled = True"; + //BA.debugLineNum = 1879;BA.debugLine="t8.Enabled = True"; _t8.setEnabled(__c.True); }; }; - //BA.debugLineNum = 1672;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1884;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1673;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1885;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1674;BA.debugLine="If result.Tag = \"select_abonosp\" Then 'query ta"; + //BA.debugLineNum = 1886;BA.debugLine="If result.Tag = \"select_abonosp\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("select_abonosp"))) { - //BA.debugLineNum = 1675;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP"; + //BA.debugLineNum = 1887;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOSP"); - //BA.debugLineNum = 1676;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1888;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group52 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen52 = group52.getSize() -;int index52 = 0; +final anywheresoftware.b4a.BA.IterableList group53 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen53 = group53.getSize() +;int index53 = 0; ; -for (; index52 < groupLen52;index52++){ -_records = (Object[])(group52.Get(index52)); - //BA.debugLineNum = 1677;BA.debugLine="Dim NOTA As String = records(result.Columns.G"; +for (; index53 < groupLen53;index53++){ +_records = (Object[])(group53.Get(index53)); + //BA.debugLineNum = 1889;BA.debugLine="Dim NOTA As String = records(result.Columns.G"; _nota = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("NOTA"))))]); - //BA.debugLineNum = 1678;BA.debugLine="Dim CLIENTE As String = records(result.Column"; + //BA.debugLineNum = 1890;BA.debugLine="Dim CLIENTE As String = records(result.Column"; _cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CLIENTE"))))]); - //BA.debugLineNum = 1679;BA.debugLine="Dim SALDO_PENDIENTE As String = records(resul"; + //BA.debugLineNum = 1891;BA.debugLine="Dim SALDO_PENDIENTE As String = records(resul"; _saldo_pendiente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("SALDO_PENDIENTE"))))]); - //BA.debugLineNum = 1681;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ABONO"; + //BA.debugLineNum = 1893;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ABONO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ABONOSP(NOTA,CLIENTE,SALDO_PENDIENTE) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nota),(Object)(_cliente),(Object)(_saldo_pendiente)})); } }; }; }; - //BA.debugLineNum = 1686;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1898;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1687;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1899;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1688;BA.debugLine="If result.Tag = \"CONTEO_DATOS\" Then 'query tag"; + //BA.debugLineNum = 1900;BA.debugLine="If result.Tag = \"CONTEO_DATOS\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("CONTEO_DATOS"))) { - //BA.debugLineNum = 1689;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1901;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group63 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen63 = group63.getSize() -;int index63 = 0; +final anywheresoftware.b4a.BA.IterableList group64 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen64 = group64.getSize() +;int index64 = 0; ; -for (; index63 < groupLen63;index63++){ -_records = (Object[])(group63.Get(index63)); - //BA.debugLineNum = 1690;BA.debugLine="Dim DETALLE As String = records(result.Column"; +for (; index64 < groupLen64;index64++){ +_records = (Object[])(group64.Get(index64)); + //BA.debugLineNum = 1902;BA.debugLine="Dim DETALLE As String = records(result.Column"; _detalle = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("DETALE"))))]); - //BA.debugLineNum = 1691;BA.debugLine="Dim CONTEO_CAT As String = records(result.Col"; + //BA.debugLineNum = 1903;BA.debugLine="Dim CONTEO_CAT As String = records(result.Col"; _conteo_cat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CONTEO_CAT"))))]); } }; - //BA.debugLineNum = 1696;BA.debugLine="Dim clientes As Cursor = Starter.skmt.ExecQuer"; + //BA.debugLineNum = 1908;BA.debugLine="Dim clientes As Cursor = Starter.skmt.ExecQuer"; _clientes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_clientes = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as clientes from kmt_info WHERE CAT_CL_CODIGO <> 63403 "))); - //BA.debugLineNum = 1697;BA.debugLine="clientes.Position = 0"; +_clientes = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as clientes from kmt_info WHERE CAT_CL_CODIGO NOT IN ('63403','100000') "))); + //BA.debugLineNum = 1909;BA.debugLine="clientes.Position = 0"; _clientes.setPosition((int) (0)); - //BA.debugLineNum = 1699;BA.debugLine="Dim detalleventa As Cursor = Starter.skmt.Exec"; + //BA.debugLineNum = 1911;BA.debugLine="Dim detalleventa As Cursor = Starter.skmt.Exec"; _detalleventa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _detalleventa = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as detalle from hist_ventas "))); - //BA.debugLineNum = 1700;BA.debugLine="detalleventa.Position = 0"; + //BA.debugLineNum = 1912;BA.debugLine="detalleventa.Position = 0"; _detalleventa.setPosition((int) (0)); - //BA.debugLineNum = 1702;BA.debugLine="Log(CONTEO_CAT)"; -__c.LogImpl("814876761",_conteo_cat,0); - //BA.debugLineNum = 1703;BA.debugLine="Log(clientes.GetString(\"clientes\"))"; -__c.LogImpl("814876762",_clientes.GetString("clientes"),0); - //BA.debugLineNum = 1704;BA.debugLine="If clientes.GetString(\"clientes\") = CONTEO_CAT"; + //BA.debugLineNum = 1914;BA.debugLine="Log(CONTEO_CAT)"; +__c.LogImpl("450593882",_conteo_cat,0); + //BA.debugLineNum = 1915;BA.debugLine="Log(clientes.GetString(\"clientes\"))"; +__c.LogImpl("450593883",_clientes.GetString("clientes"),0); + //BA.debugLineNum = 1916;BA.debugLine="If clientes.GetString(\"clientes\") = CONTEO_CAT"; if ((_clientes.GetString("clientes")).equals(_conteo_cat)) { - //BA.debugLineNum = 1705;BA.debugLine="PB_carga2.Progress = 100"; + //BA.debugLineNum = 1917;BA.debugLine="PB_carga2.Progress = 100"; _pb_carga2.setProgress((int) (100)); - //BA.debugLineNum = 1706;BA.debugLine="l_carga2.Text = \"LISTO\""; + //BA.debugLineNum = 1918;BA.debugLine="l_carga2.Text = \"LISTO\""; _l_carga2.setText(BA.ObjectToCharSequence("LISTO")); }else { }; - //BA.debugLineNum = 1711;BA.debugLine="Log(DETALLE)"; -__c.LogImpl("814876770",_detalle,0); - //BA.debugLineNum = 1712;BA.debugLine="Log(detalleventa.GetString(\"detalle\"))"; -__c.LogImpl("814876771",_detalleventa.GetString("detalle"),0); - //BA.debugLineNum = 1713;BA.debugLine="If detalleventa.GetString(\"detalle\") = DETALLE"; + //BA.debugLineNum = 1923;BA.debugLine="Log(DETALLE)"; +__c.LogImpl("450593891",_detalle,0); + //BA.debugLineNum = 1924;BA.debugLine="Log(detalleventa.GetString(\"detalle\"))"; +__c.LogImpl("450593892",_detalleventa.GetString("detalle"),0); + //BA.debugLineNum = 1925;BA.debugLine="If detalleventa.GetString(\"detalle\") = DETALLE"; if ((_detalleventa.GetString("detalle")).equals(_detalle)) { - //BA.debugLineNum = 1714;BA.debugLine="PB_carga.Progress = 100"; + //BA.debugLineNum = 1926;BA.debugLine="PB_carga.Progress = 100"; _pb_carga.setProgress((int) (100)); - //BA.debugLineNum = 1715;BA.debugLine="L_carga.Text = \"LISTO\""; + //BA.debugLineNum = 1927;BA.debugLine="L_carga.Text = \"LISTO\""; _l_carga.setText(BA.ObjectToCharSequence("LISTO")); }else { }; - //BA.debugLineNum = 1720;BA.debugLine="clientes.Close"; + //BA.debugLineNum = 1932;BA.debugLine="clientes.Close"; _clientes.Close(); - //BA.debugLineNum = 1721;BA.debugLine="detalleventa.Close"; + //BA.debugLineNum = 1933;BA.debugLine="detalleventa.Close"; _detalleventa.Close(); }; }; - //BA.debugLineNum = 1726;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1938;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1727;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1939;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1728;BA.debugLine="If result.Tag.As(String).IndexOf(\"PICK_C_\") > -"; + //BA.debugLineNum = 1940;BA.debugLine="If result.Tag.As(String).IndexOf(\"PICK_C_\") > -"; if ((BA.ObjectToString(_result.Tag /*Object*/ )).indexOf("PICK_C_")>-1) { - //BA.debugLineNum = 1730;BA.debugLine="Private id As String= result.Tag"; + //BA.debugLineNum = 1942;BA.debugLine="Private id As String= result.Tag"; _id = BA.ObjectToString(_result.Tag /*Object*/ ); - //BA.debugLineNum = 1731;BA.debugLine="id = id.SubString(id.IndexOf(\"_\")+3)"; + //BA.debugLineNum = 1943;BA.debugLine="id = id.SubString(id.IndexOf(\"_\")+3)"; _id = _id.substring((int) (_id.indexOf("_")+3)); - //BA.debugLineNum = 1732;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1944;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group94 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen94 = group94.getSize() -;int index94 = 0; +final anywheresoftware.b4a.BA.IterableList group95 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen95 = group95.getSize() +;int index95 = 0; ; -for (; index94 < groupLen94;index94++){ -_records = (Object[])(group94.Get(index94)); - //BA.debugLineNum = 1733;BA.debugLine="Dim CUENTA As String = records(result.Columns"; +for (; index95 < groupLen95;index95++){ +_records = (Object[])(group95.Get(index95)); + //BA.debugLineNum = 1945;BA.debugLine="Dim CUENTA As String = records(result.Columns"; _cuenta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUENTA"))))]); - //BA.debugLineNum = 1734;BA.debugLine="Log(CUENTA)"; -__c.LogImpl("814876793",_cuenta,0); - //BA.debugLineNum = 1735;BA.debugLine="Log(id)"; -__c.LogImpl("814876794",_id,0); - //BA.debugLineNum = 1736;BA.debugLine="If CUENTA = 0 Then"; + //BA.debugLineNum = 1946;BA.debugLine="Log(CUENTA)"; +__c.LogImpl("450593914",_cuenta,0); + //BA.debugLineNum = 1947;BA.debugLine="Log(id)"; +__c.LogImpl("450593915",_id,0); + //BA.debugLineNum = 1948;BA.debugLine="If CUENTA = 0 Then"; if ((_cuenta).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1737;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P"; + //BA.debugLineNum = 1949;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD = ?",new String[]{_id}))); - //BA.debugLineNum = 1738;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 1950;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1740;BA.debugLine="c.Position=0"; + //BA.debugLineNum = 1952;BA.debugLine="c.Position=0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1741;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1953;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1742;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1954;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1743;BA.debugLine="cmd.Name = \"insert_PICKCIEGO_IZCA\""; + //BA.debugLineNum = 1955;BA.debugLine="cmd.Name = \"insert_PICKCIEGO_IZCA\""; _cmd.Name /*String*/ = "insert_PICKCIEGO_IZCA"; - //BA.debugLineNum = 1744;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; + //BA.debugLineNum = 1956;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PC_ID_PROD")),(Object)(_c.GetString("PC_NOM_PROD")),(Object)(_c.GetString("PC_CANT")),(Object)(_c.GetString("PC_ALMACEN")),(Object)(_c.GetString("PC_RUTA")),(Object)(_c.GetString("PC_FECHA")),(Object)("REPARTO")}; - //BA.debugLineNum = 1745;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_PC\")"; + //BA.debugLineNum = 1957;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_PC\")"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_PC")); }; - //BA.debugLineNum = 1748;BA.debugLine="c.Close"; + //BA.debugLineNum = 1960;BA.debugLine="c.Close"; _c.Close(); }else if((double)(Double.parseDouble(_cuenta))>0) { - //BA.debugLineNum = 1750;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P"; + //BA.debugLineNum = 1962;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD= ?",new String[]{_id}))); - //BA.debugLineNum = 1751;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 1963;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1753;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 1965;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1754;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1966;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1755;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1967;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1756;BA.debugLine="cmd.Name = \"update_PICKCIEGO_IZCA\""; + //BA.debugLineNum = 1968;BA.debugLine="cmd.Name = \"update_PICKCIEGO_IZCA\""; _cmd.Name /*String*/ = "update_PICKCIEGO_IZCA"; - //BA.debugLineNum = 1757;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))"; -__c.LogImpl("814876816","FECHA"+_c.GetString("PC_FECHA"),0); - //BA.debugLineNum = 1758;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; + //BA.debugLineNum = 1969;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))"; +__c.LogImpl("450593937","FECHA"+_c.GetString("PC_FECHA"),0); + //BA.debugLineNum = 1970;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PC_CANT")),(Object)(_c.GetString("PC_ID_PROD")),(Object)(_c.GetString("PC_ALMACEN")),(Object)(_c.GetString("PC_RUTA")),(Object)(_c.GetString("PC_FECHA")),(Object)("REPARTO")}; - //BA.debugLineNum = 1759;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")"; + //BA.debugLineNum = 1971;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("update_PC")); }; - //BA.debugLineNum = 1762;BA.debugLine="c.Close"; + //BA.debugLineNum = 1974;BA.debugLine="c.Close"; _c.Close(); }; } }; }; }; - //BA.debugLineNum = 1770;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1982;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1771;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1983;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1772;BA.debugLine="If result.Tag = \"gunaprod3\" Then 'query tag"; + //BA.debugLineNum = 1984;BA.debugLine="If result.Tag = \"gunaprod3\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod3"))) { - //BA.debugLineNum = 1773;BA.debugLine="If reqs.IndexOf(\"gunaprod3\") > -1 Then"; + //BA.debugLineNum = 1985;BA.debugLine="If reqs.IndexOf(\"gunaprod3\") > -1 Then"; if (_reqs.IndexOf((Object)("gunaprod3"))>-1) { - //BA.debugLineNum = 1774;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod3\"))"; + //BA.debugLineNum = 1986;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod3\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprod3"))); - //BA.debugLineNum = 1775;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("814876834",BA.NumberToString(_reqs.getSize()),0); + //BA.debugLineNum = 1987;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("450593955",BA.NumberToString(_reqs.getSize()),0); }; - //BA.debugLineNum = 1777;BA.debugLine="Starter.skmt.BeginTransaction"; + //BA.debugLineNum = 1989;BA.debugLine="Starter.skmt.BeginTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1778;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1990;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group133 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen133 = group133.getSize() -;int index133 = 0; +final anywheresoftware.b4a.BA.IterableList group134 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen134 = group134.getSize() +;int index134 = 0; ; -for (; index133 < groupLen133;index133++){ -_records = (Object[])(group133.Get(index133)); - //BA.debugLineNum = 1779;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; +for (; index134 < groupLen134;index134++){ +_records = (Object[])(group134.Get(index134)); + //BA.debugLineNum = 1991;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; _cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]); - //BA.debugLineNum = 1780;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; + //BA.debugLineNum = 1992;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; _cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]); - //BA.debugLineNum = 1781;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; + //BA.debugLineNum = 1993;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; _cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]); - //BA.debugLineNum = 1782;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; + //BA.debugLineNum = 1994;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; _cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]); - //BA.debugLineNum = 1783;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; + //BA.debugLineNum = 1995;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; _cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]); - //BA.debugLineNum = 1784;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; + //BA.debugLineNum = 1996;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; _cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]); - //BA.debugLineNum = 1785;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; + //BA.debugLineNum = 1997;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; _cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]); - //BA.debugLineNum = 1786;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; + //BA.debugLineNum = 1998;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; _cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]); - //BA.debugLineNum = 1787;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; + //BA.debugLineNum = 1999;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; _cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]); - //BA.debugLineNum = 1788;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; + //BA.debugLineNum = 2000;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; _cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]); - //BA.debugLineNum = 1789;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(result.Co"; + //BA.debugLineNum = 2001;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(result.Co"; _cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ALMACEN"))))])); - //BA.debugLineNum = 1791;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(result.C"; + //BA.debugLineNum = 2003;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(result.C"; _cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))])); - //BA.debugLineNum = 1792;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(result"; + //BA.debugLineNum = 2004;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(result"; _cat_gp_iniciativa = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_INICIATIVA"))))])); - //BA.debugLineNum = 1793;BA.debugLine="Dim CAT_DP_PRECIO4 As Float = records(result."; + //BA.debugLineNum = 2005;BA.debugLine="Dim CAT_DP_PRECIO4 As Float = records(result."; _cat_dp_precio4 = (float)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO4"))))])); - //BA.debugLineNum = 1794;BA.debugLine="Dim CAT_DP_CONVERSION1 As Int = records(resul"; + //BA.debugLineNum = 2006;BA.debugLine="Dim CAT_DP_CONVERSION1 As Int = records(resul"; _cat_dp_conversion1 = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CONVERSION1"))))])); - //BA.debugLineNum = 1798;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; + //BA.debugLineNum = 2010;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD3(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_GP_INICIATIVA,CAT_DP_PRECIO4,CAT_DP_CONVERSION1) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod),(Object)(_cat_gp_iniciativa),(Object)(_cat_dp_precio4),(Object)(_cat_dp_conversion1)})); } }; - //BA.debugLineNum = 1800;BA.debugLine="Starter.skmt.TransactionSuccessful"; + //BA.debugLineNum = 2012;BA.debugLine="Starter.skmt.TransactionSuccessful"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1801;BA.debugLine="Starter.skmt.EndTransaction"; + //BA.debugLineNum = 2013;BA.debugLine="Starter.skmt.EndTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1802;BA.debugLine="Listo2=1"; + //BA.debugLineNum = 2014;BA.debugLine="Listo2=1"; _listo2 = BA.NumberToString(1); - //BA.debugLineNum = 1803;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; + //BA.debugLineNum = 2015;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1804;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 2016;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1805;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 2017;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 1806;BA.debugLine="img2.Visible = False"; + //BA.debugLineNum = 2018;BA.debugLine="img2.Visible = False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1807;BA.debugLine="EJECUTANDO=0"; + //BA.debugLineNum = 2019;BA.debugLine="EJECUTANDO=0"; _ejecutando = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 1812;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2024;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1813;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2025;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1814;BA.debugLine="If result.Tag = \"gunaprod\" Then 'query tag"; + //BA.debugLineNum = 2026;BA.debugLine="If result.Tag = \"gunaprod\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod"))) { - //BA.debugLineNum = 1815;BA.debugLine="Log(\"Entramos a GUNA_PROD<--------------------"; -__c.LogImpl("814876874","Entramos a GUNA_PROD<---------------------------------",0); - //BA.debugLineNum = 1816;BA.debugLine="If reqs.IndexOf(\"gunaprod\") > -1 Then"; + //BA.debugLineNum = 2027;BA.debugLine="Log(\"Entramos a GUNA_PROD<--------------------"; +__c.LogImpl("450593995","Entramos a GUNA_PROD<---------------------------------",0); + //BA.debugLineNum = 2028;BA.debugLine="If reqs.IndexOf(\"gunaprod\") > -1 Then"; if (_reqs.IndexOf((Object)("gunaprod"))>-1) { - //BA.debugLineNum = 1817;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod\"))"; + //BA.debugLineNum = 2029;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprod"))); - //BA.debugLineNum = 1818;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("814876877",BA.NumberToString(_reqs.getSize()),0); + //BA.debugLineNum = 2030;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("450593998",BA.NumberToString(_reqs.getSize()),0); }; - //BA.debugLineNum = 1820;BA.debugLine="Starter.skmt.BeginTransaction"; + //BA.debugLineNum = 2032;BA.debugLine="Starter.skmt.BeginTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1821;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2033;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group171 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen171 = group171.getSize() -;int index171 = 0; +final anywheresoftware.b4a.BA.IterableList group172 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen172 = group172.getSize() +;int index172 = 0; ; -for (; index171 < groupLen171;index171++){ -_records = (Object[])(group171.Get(index171)); - //BA.debugLineNum = 1822;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; +for (; index172 < groupLen172;index172++){ +_records = (Object[])(group172.Get(index172)); + //BA.debugLineNum = 2034;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; _cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_ID"))))]); - //BA.debugLineNum = 1823;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; + //BA.debugLineNum = 2035;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; _cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_NOMBRE"))))]); - //BA.debugLineNum = 1824;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; + //BA.debugLineNum = 2036;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; _cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_IMP1"))))]); - //BA.debugLineNum = 1825;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; + //BA.debugLineNum = 2037;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; _cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_IMP2"))))]); - //BA.debugLineNum = 1826;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; + //BA.debugLineNum = 2038;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; _cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO"))))]); - //BA.debugLineNum = 1827;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; + //BA.debugLineNum = 2039;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; _cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CLASIF"))))]); - //BA.debugLineNum = 1828;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; + //BA.debugLineNum = 2040;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; _cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_STS"))))]); - //BA.debugLineNum = 1829;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; + //BA.debugLineNum = 2041;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; _cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_TIPO"))))]); - //BA.debugLineNum = 1830;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; + //BA.debugLineNum = 2042;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; _cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_SUBTIPO"))))]); - //BA.debugLineNum = 1831;BA.debugLine="Dim CONVERSION As String = 0'records(result.C"; + //BA.debugLineNum = 2043;BA.debugLine="Dim CONVERSION As String = 0'records(result.C"; _conversion = BA.NumberToString(0); - //BA.debugLineNum = 1832;BA.debugLine="Dim PRECIOCONVER As String = 0' records(resul"; + //BA.debugLineNum = 2044;BA.debugLine="Dim PRECIOCONVER As String = 0' records(resul"; _precioconver = BA.NumberToString(0); - //BA.debugLineNum = 1833;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; + //BA.debugLineNum = 2045;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; _cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_IMG"))))]); - //BA.debugLineNum = 1838;BA.debugLine="Log(CAT_GP_NOMBRE & \"<-----------------------"; -__c.LogImpl("814876897",_cat_gp_nombre+"<-------------------------------------",0); - //BA.debugLineNum = 1839;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; + //BA.debugLineNum = 2050;BA.debugLine="Log(CAT_GP_NOMBRE & \"<-----------------------"; +__c.LogImpl("450594018",_cat_gp_nombre+"<-------------------------------------",0); + //BA.debugLineNum = 2051;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CONVERSION,PRECIOCONVER) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(0),(Object)(_conversion),(Object)(_precioconver)})); } }; - //BA.debugLineNum = 1841;BA.debugLine="Starter.skmt.TransactionSuccessful"; + //BA.debugLineNum = 2053;BA.debugLine="Starter.skmt.TransactionSuccessful"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1842;BA.debugLine="Starter.skmt.EndTransaction"; + //BA.debugLineNum = 2054;BA.debugLine="Starter.skmt.EndTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1843;BA.debugLine="Listo2=1"; + //BA.debugLineNum = 2055;BA.debugLine="Listo2=1"; _listo2 = BA.NumberToString(1); - //BA.debugLineNum = 1844;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; + //BA.debugLineNum = 2056;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1845;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 2057;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1846;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 2058;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 1847;BA.debugLine="img2.Visible = False"; + //BA.debugLineNum = 2059;BA.debugLine="img2.Visible = False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1848;BA.debugLine="EJECUTANDO=0"; + //BA.debugLineNum = 2060;BA.debugLine="EJECUTANDO=0"; _ejecutando = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 1853;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2065;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1854;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2066;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1855;BA.debugLine="If result.Tag = \"gunaprodp\" Then 'query tag"; + //BA.debugLineNum = 2067;BA.debugLine="If result.Tag = \"gunaprodp\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodp"))) { - //BA.debugLineNum = 1856;BA.debugLine="If reqs.IndexOf(\"gunaprodp\") > -1 Then"; + //BA.debugLineNum = 2068;BA.debugLine="If reqs.IndexOf(\"gunaprodp\") > -1 Then"; if (_reqs.IndexOf((Object)("gunaprodp"))>-1) { - //BA.debugLineNum = 1857;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprodp\"))"; + //BA.debugLineNum = 2069;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprodp\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprodp"))); - //BA.debugLineNum = 1858;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("814876917",BA.NumberToString(_reqs.getSize()),0); + //BA.debugLineNum = 2070;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("450594038",BA.NumberToString(_reqs.getSize()),0); }; - //BA.debugLineNum = 1860;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2072;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group205 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen205 = group205.getSize() -;int index205 = 0; +final anywheresoftware.b4a.BA.IterableList group206 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen206 = group206.getSize() +;int index206 = 0; ; -for (; index205 < groupLen205;index205++){ -_records = (Object[])(group205.Get(index205)); - //BA.debugLineNum = 1861;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; +for (; index206 < groupLen206;index206++){ +_records = (Object[])(group206.Get(index206)); + //BA.debugLineNum = 2073;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; _cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]); - //BA.debugLineNum = 1862;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; + //BA.debugLineNum = 2074;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; _cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]); - //BA.debugLineNum = 1863;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; + //BA.debugLineNum = 2075;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; _cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]); - //BA.debugLineNum = 1864;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; + //BA.debugLineNum = 2076;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; _cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]); - //BA.debugLineNum = 1865;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; + //BA.debugLineNum = 2077;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; _cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]); - //BA.debugLineNum = 1866;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; + //BA.debugLineNum = 2078;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; _cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]); - //BA.debugLineNum = 1867;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; + //BA.debugLineNum = 2079;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; _cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]); - //BA.debugLineNum = 1868;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; + //BA.debugLineNum = 2080;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; _cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]); - //BA.debugLineNum = 1869;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; + //BA.debugLineNum = 2081;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; _cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]); - //BA.debugLineNum = 1870;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; + //BA.debugLineNum = 2082;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; _cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]); - //BA.debugLineNum = 1873;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; + //BA.debugLineNum = 2085;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(0)})); } }; - //BA.debugLineNum = 1875;BA.debugLine="Listo4=1"; + //BA.debugLineNum = 2087;BA.debugLine="Listo4=1"; _listo4 = BA.NumberToString(1); - //BA.debugLineNum = 1876;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; + //BA.debugLineNum = 2088;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1877;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 2089;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1878;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 2090;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 1879;BA.debugLine="img2.Visible = False"; + //BA.debugLineNum = 2091;BA.debugLine="img2.Visible = False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1880;BA.debugLine="EJECUTANDO=0"; + //BA.debugLineNum = 2092;BA.debugLine="EJECUTANDO=0"; _ejecutando = BA.NumberToString(0); }else if((_listo4).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_inve).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1882;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 2094;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1883;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 2095;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 1884;BA.debugLine="img2.Visible = False"; + //BA.debugLineNum = 2096;BA.debugLine="img2.Visible = False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1885;BA.debugLine="EJECUTANDO=0"; + //BA.debugLineNum = 2097;BA.debugLine="EJECUTANDO=0"; _ejecutando = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 1890;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2102;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1891;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2103;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1892;BA.debugLine="If result.Tag = \"detallepaq\" Then 'query tag"; + //BA.debugLineNum = 2104;BA.debugLine="If result.Tag = \"detallepaq\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("detallepaq"))) { - //BA.debugLineNum = 1893;BA.debugLine="If reqs.IndexOf(\"detallepaq\") > -1 Then"; + //BA.debugLineNum = 2105;BA.debugLine="If reqs.IndexOf(\"detallepaq\") > -1 Then"; if (_reqs.IndexOf((Object)("detallepaq"))>-1) { - //BA.debugLineNum = 1894;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"detallepaq\"))"; + //BA.debugLineNum = 2106;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"detallepaq\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("detallepaq"))); - //BA.debugLineNum = 1895;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("814876954",BA.NumberToString(_reqs.getSize()),0); + //BA.debugLineNum = 2107;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("450594075",BA.NumberToString(_reqs.getSize()),0); }; - //BA.debugLineNum = 1897;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2109;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group239 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen239 = group239.getSize() -;int index239 = 0; +final anywheresoftware.b4a.BA.IterableList group240 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen240 = group240.getSize() +;int index240 = 0; ; -for (; index239 < groupLen239;index239++){ -_records = (Object[])(group239.Get(index239)); - //BA.debugLineNum = 1898;BA.debugLine="Dim CAT_DP_ALMACEN As String = records(resul"; +for (; index240 < groupLen240;index240++){ +_records = (Object[])(group240.Get(index240)); + //BA.debugLineNum = 2110;BA.debugLine="Dim CAT_DP_ALMACEN As String = records(resul"; _cat_dp_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_ALMACEN"))))]); - //BA.debugLineNum = 1899;BA.debugLine="Dim CAT_DP_ID As String = records(result.Colu"; + //BA.debugLineNum = 2111;BA.debugLine="Dim CAT_DP_ID As String = records(result.Colu"; _cat_dp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_ID"))))]); - //BA.debugLineNum = 1900;BA.debugLine="Dim CAT_DP_IDPROD As String = records(result."; + //BA.debugLineNum = 2112;BA.debugLine="Dim CAT_DP_IDPROD As String = records(result."; _cat_dp_idprod = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_IDPROD"))))]); - //BA.debugLineNum = 1901;BA.debugLine="Dim CAT_DP_TIPO As String = records(result.Co"; + //BA.debugLineNum = 2113;BA.debugLine="Dim CAT_DP_TIPO As String = records(result.Co"; _cat_dp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_TIPO"))))]); - //BA.debugLineNum = 1902;BA.debugLine="Dim CAT_DP_PZAS As String = records(result.Co"; + //BA.debugLineNum = 2114;BA.debugLine="Dim CAT_DP_PZAS As String = records(result.Co"; _cat_dp_pzas = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PZAS"))))]); - //BA.debugLineNum = 1903;BA.debugLine="Dim CAT_DP_USUARIO As String = records(resul"; + //BA.debugLineNum = 2115;BA.debugLine="Dim CAT_DP_USUARIO As String = records(resul"; _cat_dp_usuario = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_USUARIO"))))]); - //BA.debugLineNum = 1904;BA.debugLine="Dim CAT_DP_FECHA As String = records(result.C"; + //BA.debugLineNum = 2116;BA.debugLine="Dim CAT_DP_FECHA As String = records(result.C"; _cat_dp_fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_FECHA"))))]); - //BA.debugLineNum = 1905;BA.debugLine="Dim CAT_DP_REGALO As String = records(result"; + //BA.debugLineNum = 2117;BA.debugLine="Dim CAT_DP_REGALO As String = records(result"; _cat_dp_regalo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_REGALO"))))]); - //BA.debugLineNum = 1906;BA.debugLine="Dim CAT_DP_CLASIF As String = records(result"; + //BA.debugLineNum = 2118;BA.debugLine="Dim CAT_DP_CLASIF As String = records(result"; _cat_dp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CLASIF"))))]); - //BA.debugLineNum = 1907;BA.debugLine="Dim CAT_DP_PRECIO As String = records(result."; + //BA.debugLineNum = 2119;BA.debugLine="Dim CAT_DP_PRECIO As String = records(result."; _cat_dp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO"))))]); - //BA.debugLineNum = 1908;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records"; + //BA.debugLineNum = 2120;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records"; _cat_dp_precio_simptos = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO_SIMPTOS"))))]); - //BA.debugLineNum = 1910;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_D"; + //BA.debugLineNum = 2122;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_D"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_DETALLES_PAQ(CAT_DP_ALMACEN,CAT_DP_ID,CAT_DP_IDPROD,CAT_DP_TIPO,CAT_DP_PZAS,CAT_DP_USUARIO,CAT_DP_FECHA,CAT_DP_REGALO,CAT_DP_CLASIF,CAT_DP_PRECIO,CAT_DP_PRECIO_SIMPTOS) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_dp_almacen),(Object)(_cat_dp_id),(Object)(_cat_dp_idprod),(Object)(_cat_dp_tipo),(Object)(_cat_dp_pzas),(Object)(_cat_dp_usuario),(Object)(_cat_dp_fecha),(Object)(_cat_dp_regalo),(Object)(_cat_dp_clasif),(Object)(_cat_dp_precio),(Object)(_cat_dp_precio_simptos)})); } }; - //BA.debugLineNum = 1912;BA.debugLine="Listo3 =1"; + //BA.debugLineNum = 2124;BA.debugLine="Listo3 =1"; _listo3 = BA.NumberToString(1); - //BA.debugLineNum = 1913;BA.debugLine="If Listo1 = 1 And Listo2 = 1 And Listo3 = 1 An"; + //BA.debugLineNum = 2125;BA.debugLine="If Listo1 = 1 And Listo2 = 1 And Listo3 = 1 An"; if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1914;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 2126;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1915;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 2127;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 1916;BA.debugLine="img2.Visible=False"; + //BA.debugLineNum = 2128;BA.debugLine="img2.Visible=False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1917;BA.debugLine="EJECUTANDO = 0"; + //BA.debugLineNum = 2129;BA.debugLine="EJECUTANDO = 0"; _ejecutando = BA.NumberToString(0); }else if((_listo4).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_inve).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1919;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 2131;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1920;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 2132;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 1921;BA.debugLine="img2.Visible = False"; + //BA.debugLineNum = 2133;BA.debugLine="img2.Visible = False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1922;BA.debugLine="EJECUTANDO = 0"; + //BA.debugLineNum = 2134;BA.debugLine="EJECUTANDO = 0"; _ejecutando = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 1927;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2139;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1928;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2140;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1929;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; + //BA.debugLineNum = 2141;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("estatus"))) { - //BA.debugLineNum = 1930;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2142;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group270 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen270 = group270.getSize() -;int index270 = 0; +final anywheresoftware.b4a.BA.IterableList group271 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen271 = group271.getSize() +;int index271 = 0; ; -for (; index270 < groupLen270;index270++){ -_records = (Object[])(group270.Get(index270)); - //BA.debugLineNum = 1931;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; +for (; index271 < groupLen271;index271++){ +_records = (Object[])(group271.Get(index271)); + //BA.debugLineNum = 2143;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; _hvd_estatus = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_ESTATUS"))))]); - //BA.debugLineNum = 1932;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; + //BA.debugLineNum = 2144;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; if ((_hvd_estatus).equals("Liquidado")) { - //BA.debugLineNum = 1934;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; + //BA.debugLineNum = 2146;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; __c.MsgboxAsync(BA.ObjectToCharSequence("La venta ya fue liquidada"),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 1936;BA.debugLine="envioinfo"; + //BA.debugLineNum = 2148;BA.debugLine="envioinfo"; _envioinfo(); }; } }; }; }; - //BA.debugLineNum = 1942;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2154;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1943;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2155;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1944;BA.debugLine="If result.Tag = \"punteo\" Then 'query tag"; + //BA.debugLineNum = 2156;BA.debugLine="If result.Tag = \"punteo\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("punteo"))) { - //BA.debugLineNum = 1945;BA.debugLine="If reqs.IndexOf(\"punteo\") > -1 Then"; + //BA.debugLineNum = 2157;BA.debugLine="If reqs.IndexOf(\"punteo\") > -1 Then"; if (_reqs.IndexOf((Object)("punteo"))>-1) { - //BA.debugLineNum = 1946;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; + //BA.debugLineNum = 2158;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("punteo"))); }; - //BA.debugLineNum = 1949;BA.debugLine="If reqs.IndexOf(\"punteo\") > 0 Then"; + //BA.debugLineNum = 2161;BA.debugLine="If reqs.IndexOf(\"punteo\") > 0 Then"; if (_reqs.IndexOf((Object)("punteo"))>0) { - //BA.debugLineNum = 1950;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; + //BA.debugLineNum = 2162;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("punteo"))); - //BA.debugLineNum = 1951;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("814877010",BA.NumberToString(_reqs.getSize()),0); + //BA.debugLineNum = 2163;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("450594131",BA.NumberToString(_reqs.getSize()),0); }; - //BA.debugLineNum = 1953;BA.debugLine="Starter.skmt.BeginTransaction"; + //BA.debugLineNum = 2165;BA.debugLine="Starter.skmt.BeginTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1954;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2166;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group291 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen291 = group291.getSize() -;int index291 = 0; +final anywheresoftware.b4a.BA.IterableList group292 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen292 = group292.getSize() +;int index292 = 0; ; -for (; index291 < groupLen291;index291++){ -_records = (Object[])(group291.Get(index291)); - //BA.debugLineNum = 1955;BA.debugLine="Dim HV_CLIENTE As String = records(result.Col"; +for (; index292 < groupLen292;index292++){ +_records = (Object[])(group292.Get(index292)); + //BA.debugLineNum = 2167;BA.debugLine="Dim HV_CLIENTE As String = records(result.Col"; _hv_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HV_CLIENTE"))))]); - //BA.debugLineNum = 1956;BA.debugLine="Dim HV_LONG As String = records(result.Column"; + //BA.debugLineNum = 2168;BA.debugLine="Dim HV_LONG As String = records(result.Column"; _hv_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HV_LONG"))))]); - //BA.debugLineNum = 1957;BA.debugLine="Dim HV_LAT As String = records(result.Columns"; + //BA.debugLineNum = 2169;BA.debugLine="Dim HV_LAT As String = records(result.Columns"; _hv_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HV_LAT"))))]); - //BA.debugLineNum = 1959;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PUNTE"; + //BA.debugLineNum = 2171;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PUNTE"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PUNTEO_GPS(HV_CLIENTE, HV_LONG, HV_LAT) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hv_cliente),(Object)(_hv_long),(Object)(_hv_lat)})); } }; - //BA.debugLineNum = 1961;BA.debugLine="Starter.skmt.TransactionSuccessful"; + //BA.debugLineNum = 2173;BA.debugLine="Starter.skmt.TransactionSuccessful"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1962;BA.debugLine="Starter.skmt.EndTransaction"; + //BA.debugLineNum = 2174;BA.debugLine="Starter.skmt.EndTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); }; }; - //BA.debugLineNum = 1966;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2178;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1967;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2179;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1968;BA.debugLine="If result.Tag = \"hist_datos\" Then 'query tag"; + //BA.debugLineNum = 2180;BA.debugLine="If result.Tag = \"hist_datos\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("hist_datos"))) { - //BA.debugLineNum = 1969;BA.debugLine="If reqs.IndexOf(\"hist_datos\") > -1 Then"; + //BA.debugLineNum = 2181;BA.debugLine="If reqs.IndexOf(\"hist_datos\") > -1 Then"; if (_reqs.IndexOf((Object)("hist_datos"))>-1) { - //BA.debugLineNum = 1970;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"hist_datos\"))"; + //BA.debugLineNum = 2182;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"hist_datos\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("hist_datos"))); }; - //BA.debugLineNum = 1973;BA.debugLine="Log(l_ruta.text)"; -__c.LogImpl("814877032",_l_ruta.getText(),0); - //BA.debugLineNum = 1974;BA.debugLine="Log($\"******** Insertamos HV - ${result.Rows."; -__c.LogImpl("814877033",("******** Insertamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0); - //BA.debugLineNum = 1975;BA.debugLine="Starter.skmt.BeginTransaction"; + //BA.debugLineNum = 2185;BA.debugLine="Log(l_ruta.text)"; +__c.LogImpl("450594153",_l_ruta.getText(),0); + //BA.debugLineNum = 2186;BA.debugLine="Log($\"******** Insertamos HV - ${result.Rows."; +__c.LogImpl("450594154",("******** Insertamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0); + //BA.debugLineNum = 2187;BA.debugLine="Starter.skmt.BeginTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1976;BA.debugLine="Dim consecutivo As Int= 0"; + //BA.debugLineNum = 2188;BA.debugLine="Dim consecutivo As Int= 0"; _consecutivo = (int) (0); - //BA.debugLineNum = 1977;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2189;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group311 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen311 = group311.getSize() -;int index311 = 0; +final anywheresoftware.b4a.BA.IterableList group312 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen312 = group312.getSize() +;int index312 = 0; ; -for (; index311 < groupLen311;index311++){ -_records = (Object[])(group311.Get(index311)); - //BA.debugLineNum = 1978;BA.debugLine="Dim HVD_CLIENTE As String = records(result.Co"; +for (; index312 < groupLen312;index312++){ +_records = (Object[])(group312.Get(index312)); + //BA.debugLineNum = 2190;BA.debugLine="Dim HVD_CLIENTE As String = records(result.Co"; _hvd_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]); - //BA.debugLineNum = 1979;BA.debugLine="Dim HVD_PRONOMBRE As String = records(result."; + //BA.debugLineNum = 2191;BA.debugLine="Dim HVD_PRONOMBRE As String = records(result."; _hvd_pronombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_PRONOMBRE"))))]); - //BA.debugLineNum = 1980;BA.debugLine="Dim HVD_CANT As String = records(result.Colum"; + //BA.debugLineNum = 2192;BA.debugLine="Dim HVD_CANT As String = records(result.Colum"; _hvd_cant = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CANT"))))]); - //BA.debugLineNum = 1981;BA.debugLine="Dim HVD_COSTO_TOT As String = records(result."; + //BA.debugLineNum = 2193;BA.debugLine="Dim HVD_COSTO_TOT As String = records(result."; _hvd_costo_tot = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_COSTO_TOT"))))]); - //BA.debugLineNum = 1982;BA.debugLine="Dim HVD_FECHA As String = records(result.Colu"; + //BA.debugLineNum = 2194;BA.debugLine="Dim HVD_FECHA As String = records(result.Colu"; _hvd_fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_FECHA"))))]); - //BA.debugLineNum = 1983;BA.debugLine="Dim HVD_CODPROMO As String = records(result.C"; + //BA.debugLineNum = 2195;BA.debugLine="Dim HVD_CODPROMO As String = records(result.C"; _hvd_codpromo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CODPROMO"))))]); - //BA.debugLineNum = 1984;BA.debugLine="Dim HVD_PROID As String = records(result.Colu"; + //BA.debugLineNum = 2196;BA.debugLine="Dim HVD_PROID As String = records(result.Colu"; _hvd_proid = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_PROID"))))]); - //BA.debugLineNum = 1985;BA.debugLine="Dim HVD_NUM_TICKET As String = records(result"; + //BA.debugLineNum = 2197;BA.debugLine="Dim HVD_NUM_TICKET As String = records(result"; _hvd_num_ticket = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_NUM_TICKET"))))]); - //BA.debugLineNum = 1986;BA.debugLine="Dim HVD_NUM_REGISTRO As String = records(resu"; + //BA.debugLineNum = 2198;BA.debugLine="Dim HVD_NUM_REGISTRO As String = records(resu"; _hvd_num_registro = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_NUM_REGISTRO"))))]); - //BA.debugLineNum = 1987;BA.debugLine="Dim HVD_RECHAZO As String = records(result.Co"; + //BA.debugLineNum = 2199;BA.debugLine="Dim HVD_RECHAZO As String = records(result.Co"; _hvd_rechazo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_RECHAZO"))))]); - //BA.debugLineNum = 1988;BA.debugLine="Dim HVD_BCREDITO As String = records(result.C"; + //BA.debugLineNum = 2200;BA.debugLine="Dim HVD_BCREDITO As String = records(result.C"; _hvd_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_BCREDITO"))))]); - //BA.debugLineNum = 1990;BA.debugLine="Dim bcajas As String = 0 ' records(result.Col"; + //BA.debugLineNum = 2202;BA.debugLine="Dim bcajas As String = 0 ' records(result.Col"; _bcajas = BA.NumberToString(0); - //BA.debugLineNum = 1991;BA.debugLine="Dim cantc As String = 0 'records(result.Colum"; + //BA.debugLineNum = 2203;BA.debugLine="Dim cantc As String = 0 'records(result.Colum"; _cantc = BA.NumberToString(0); - //BA.debugLineNum = 1993;BA.debugLine="consecutivo = consecutivo +1"; + //BA.debugLineNum = 2205;BA.debugLine="consecutivo = consecutivo +1"; _consecutivo = (int) (_consecutivo+1); - //BA.debugLineNum = 1994;BA.debugLine="Log(HVD_PRONOMBRE & \", \" & HVD_CANT & \", \" &H"; -__c.LogImpl("814877053",_hvd_pronombre+", "+_hvd_cant+", "+_hvd_cliente,0); - //BA.debugLineNum = 1995;BA.debugLine="If l_ruta.Text = \"0\" Then 'Si no hay ruta car"; + //BA.debugLineNum = 2206;BA.debugLine="Log(HVD_PRONOMBRE & \", \" & HVD_CANT & \", \" &H"; +__c.LogImpl("450594174",_hvd_pronombre+", "+_hvd_cant+", "+_hvd_cliente,0); + //BA.debugLineNum = 2207;BA.debugLine="If l_ruta.Text = \"0\" Then 'Si no hay ruta car"; if ((_l_ruta.getText()).equals("0")) { - //BA.debugLineNum = 1996;BA.debugLine="Log(\"No hay ruta, guardamos todos\")"; -__c.LogImpl("814877055","No hay ruta, guardamos todos",0); - //BA.debugLineNum = 1997;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST"; + //BA.debugLineNum = 2208;BA.debugLine="Log(\"No hay ruta, guardamos todos\")"; +__c.LogImpl("450594176","No hay ruta, guardamos todos",0); + //BA.debugLineNum = 2209;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR,HVD_BCREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo),(Object)(_bcajas),(Object)(_cantc),(Object)(_consecutivo),(Object)(_bcajas),(Object)(_cantc),(Object)(_hvd_bcredito)})); - //BA.debugLineNum = 1998;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST"; + //BA.debugLineNum = 2210;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS2(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) VALUES (?,?,?,?,?,?,?,?,?,?,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo)})); }else { - //BA.debugLineNum = 2001;BA.debugLine="Private tc As Cursor = Starter.skmt.ExecQuer"; + //BA.debugLineNum = 2213;BA.debugLine="Private tc As Cursor = Starter.skmt.ExecQuer"; _tc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _tc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CLIENTE from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+"' and HVD_PROID = '"+__c.SmartStringFormatter("",(Object)(_hvd_proid))+"' AND HVD_CANT = '"+__c.SmartStringFormatter("",(Object)(_hvd_cant))+"' AND HVD_CODPROMO = '"+__c.SmartStringFormatter("",(Object)(_hvd_codpromo))+"' ")))); - //BA.debugLineNum = 2002;BA.debugLine="If tc.RowCount = 0 Then"; + //BA.debugLineNum = 2214;BA.debugLine="If tc.RowCount = 0 Then"; if (_tc.getRowCount()==0) { - //BA.debugLineNum = 2003;BA.debugLine="Log($\"Guardamos ${HVD_CLIENTE}\"$)"; -__c.LogImpl("814877062",("Guardamos "+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+""),0); - //BA.debugLineNum = 2004;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS"; + //BA.debugLineNum = 2215;BA.debugLine="Log($\"Guardamos ${HVD_CLIENTE}\"$)"; +__c.LogImpl("450594183",("Guardamos "+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+""),0); + //BA.debugLineNum = 2216;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR,HVD_BCREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo),(Object)(_bcajas),(Object)(_cantc),(Object)(_consecutivo),(Object)(_bcajas),(Object)(_cantc),(Object)(_hvd_bcredito)})); - //BA.debugLineNum = 2005;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS"; + //BA.debugLineNum = 2217;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS2(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) VALUES (?,?,?,?,?,?,?,?,?,?,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo)})); }; }; } }; - //BA.debugLineNum = 2009;BA.debugLine="Starter.skmt.TransactionSuccessful"; + //BA.debugLineNum = 2221;BA.debugLine="Starter.skmt.TransactionSuccessful"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 2010;BA.debugLine="Starter.skmt.EndTransaction"; + //BA.debugLineNum = 2222;BA.debugLine="Starter.skmt.EndTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 2011;BA.debugLine="Log($\"******** Terminamos HV - ${result.Rows."; -__c.LogImpl("814877070",("******** Terminamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0); - //BA.debugLineNum = 2025;BA.debugLine="Listo3 =1"; + //BA.debugLineNum = 2223;BA.debugLine="Log($\"******** Terminamos HV - ${result.Rows."; +__c.LogImpl("450594191",("******** Terminamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0); + //BA.debugLineNum = 2237;BA.debugLine="Listo3 =1"; _listo3 = BA.NumberToString(1); - //BA.debugLineNum = 2026;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; + //BA.debugLineNum = 2238;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; if ((_listo1).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 2027;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 2239;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 2028;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 2240;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 2029;BA.debugLine="img2.Visible = False"; + //BA.debugLineNum = 2241;BA.debugLine="img2.Visible = False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 2030;BA.debugLine="EJECUTANDO = 0"; + //BA.debugLineNum = 2242;BA.debugLine="EJECUTANDO = 0"; _ejecutando = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 2036;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2248;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2037;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2249;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2038;BA.debugLine="If result.Tag = \"variables\" Then 'query tag"; + //BA.debugLineNum = 2250;BA.debugLine="If result.Tag = \"variables\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("variables"))) { - //BA.debugLineNum = 2039;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2251;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group355 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen355 = group355.getSize() -;int index355 = 0; +final anywheresoftware.b4a.BA.IterableList group356 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen356 = group356.getSize() +;int index356 = 0; ; -for (; index355 < groupLen355;index355++){ -_records = (Object[])(group355.Get(index355)); - //BA.debugLineNum = 2040;BA.debugLine="Dim Cat_Va_Descripcion As String = records(re"; +for (; index356 < groupLen356;index356++){ +_records = (Object[])(group356.Get(index356)); + //BA.debugLineNum = 2252;BA.debugLine="Dim Cat_Va_Descripcion As String = records(re"; _cat_va_descripcion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VA_DESCRIPCION"))))]); - //BA.debugLineNum = 2041;BA.debugLine="Dim Cat_Va_Valor As String = records(result.C"; + //BA.debugLineNum = 2253;BA.debugLine="Dim Cat_Va_Valor As String = records(result.C"; _cat_va_valor = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VA_VALOR"))))]); - //BA.debugLineNum = 2043;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; + //BA.debugLineNum = 2255;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_va_descripcion),(Object)(_cat_va_valor)})); } }; }; }; - //BA.debugLineNum = 2049;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2261;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2050;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2262;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2051;BA.debugLine="If result.Tag = \"PAGARES\" Then 'query tag"; + //BA.debugLineNum = 2263;BA.debugLine="If result.Tag = \"PAGARES\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("PAGARES"))) { - //BA.debugLineNum = 2052;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2264;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group365 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen365 = group365.getSize() -;int index365 = 0; +final anywheresoftware.b4a.BA.IterableList group366 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen366 = group366.getSize() +;int index366 = 0; ; -for (; index365 < groupLen365;index365++){ -_records = (Object[])(group365.Get(index365)); - //BA.debugLineNum = 2054;BA.debugLine="Dim TMP_MONTO_PAGARE As String = records(resu"; +for (; index366 < groupLen366;index366++){ +_records = (Object[])(group366.Get(index366)); + //BA.debugLineNum = 2266;BA.debugLine="Dim TMP_MONTO_PAGARE As String = records(resu"; _tmp_monto_pagare = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_MONTO_PAGARE"))))]); - //BA.debugLineNum = 2055;BA.debugLine="Dim TMP_CLIENTE As String = records(result.Co"; + //BA.debugLineNum = 2267;BA.debugLine="Dim TMP_CLIENTE As String = records(result.Co"; _tmp_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_CLIENTE"))))]); - //BA.debugLineNum = 2057;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGAR"; + //BA.debugLineNum = 2269;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGAR"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PAGARES(TMP_MONTO_PAGARE, TMP_CLIENTE) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_tmp_monto_pagare),(Object)(_tmp_cliente)})); } }; }; }; - //BA.debugLineNum = 2062;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2274;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2063;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2275;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2064;BA.debugLine="If result.Tag = \"valida_pedido\" Then 'query tag"; + //BA.debugLineNum = 2276;BA.debugLine="If result.Tag = \"valida_pedido\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedido"))) { - //BA.debugLineNum = 2065;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2277;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group375 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen375 = group375.getSize() -;int index375 = 0; +final anywheresoftware.b4a.BA.IterableList group376 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen376 = group376.getSize() +;int index376 = 0; ; -for (; index375 < groupLen375;index375++){ -_records = (Object[])(group375.Get(index375)); - //BA.debugLineNum = 2066;BA.debugLine="Dim CUANTOSP As Int = records(result.Columns."; +for (; index376 < groupLen376;index376++){ +_records = (Object[])(group376.Get(index376)); + //BA.debugLineNum = 2278;BA.debugLine="Dim CUANTOSP As Int = records(result.Columns."; _cuantosp = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSP"))))])); - //BA.debugLineNum = 2067;BA.debugLine="If cuantos_pedido = CUANTOSP Then"; + //BA.debugLineNum = 2279;BA.debugLine="If cuantos_pedido = CUANTOSP Then"; if ((_cuantos_pedido).equals(BA.NumberToString(_cuantosp))) { - //BA.debugLineNum = 2069;BA.debugLine="datos_iguales = \"ok\""; + //BA.debugLineNum = 2281;BA.debugLine="datos_iguales = \"ok\""; _datos_iguales = "ok"; }else { - //BA.debugLineNum = 2071;BA.debugLine="ToastMessageShow(\"No se cargo bien la info P"; + //BA.debugLineNum = 2283;BA.debugLine="ToastMessageShow(\"No se cargo bien la info P"; __c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info P. Sync Nuevamente"+BA.NumberToString(_cuantosp)+" "+_cuantos_pedido),__c.True); }; } }; }; }; - //BA.debugLineNum = 2079;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2291;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2080;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2292;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2081;BA.debugLine="If result.Tag = \"valida_pedidoc\" Then 'query ta"; + //BA.debugLineNum = 2293;BA.debugLine="If result.Tag = \"valida_pedidoc\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedidoc"))) { - //BA.debugLineNum = 2082;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2294;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group388 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen388 = group388.getSize() -;int index388 = 0; +final anywheresoftware.b4a.BA.IterableList group389 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen389 = group389.getSize() +;int index389 = 0; ; -for (; index388 < groupLen388;index388++){ -_records = (Object[])(group388.Get(index388)); - //BA.debugLineNum = 2083;BA.debugLine="Dim CUANTOSC As Int = records(result.Columns."; +for (; index389 < groupLen389;index389++){ +_records = (Object[])(group389.Get(index389)); + //BA.debugLineNum = 2295;BA.debugLine="Dim CUANTOSC As Int = records(result.Columns."; _cuantosc = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSC"))))])); - //BA.debugLineNum = 2084;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; + //BA.debugLineNum = 2296;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; if ((_cuantos_pedidosc).equals(BA.NumberToString(_cuantosc))) { - //BA.debugLineNum = 2086;BA.debugLine="datos_iguales = \"ok\""; + //BA.debugLineNum = 2298;BA.debugLine="datos_iguales = \"ok\""; _datos_iguales = "ok"; }else { - //BA.debugLineNum = 2088;BA.debugLine="ToastMessageShow(\"No se cargo bien la info C"; + //BA.debugLineNum = 2300;BA.debugLine="ToastMessageShow(\"No se cargo bien la info C"; __c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info C. Sync Nuevamente"+BA.NumberToString(_cuantosc)+" "+_cuantos_pedidosc),__c.True); }; } }; }; }; - //BA.debugLineNum = 2094;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2306;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2095;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2307;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2096;BA.debugLine="If result.Tag = \"valida_noventa\" Then 'query ta"; + //BA.debugLineNum = 2308;BA.debugLine="If result.Tag = \"valida_noventa\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("valida_noventa"))) { - //BA.debugLineNum = 2097;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2309;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group401 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen401 = group401.getSize() -;int index401 = 0; +final anywheresoftware.b4a.BA.IterableList group402 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen402 = group402.getSize() +;int index402 = 0; ; -for (; index401 < groupLen401;index401++){ -_records = (Object[])(group401.Get(index401)); - //BA.debugLineNum = 2098;BA.debugLine="Dim CUANTOSN As Int = records(result.Columns."; +for (; index402 < groupLen402;index402++){ +_records = (Object[])(group402.Get(index402)); + //BA.debugLineNum = 2310;BA.debugLine="Dim CUANTOSN As Int = records(result.Columns."; _cuantosn = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSN"))))])); - //BA.debugLineNum = 2099;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; + //BA.debugLineNum = 2311;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; if ((_cuantos_noventa).equals(BA.NumberToString(_cuantosn))) { - //BA.debugLineNum = 2101;BA.debugLine="datos_iguales = \"ok\""; + //BA.debugLineNum = 2313;BA.debugLine="datos_iguales = \"ok\""; _datos_iguales = "ok"; }else { - //BA.debugLineNum = 2103;BA.debugLine="ToastMessageShow(\"No se cargo bien la info N"; + //BA.debugLineNum = 2315;BA.debugLine="ToastMessageShow(\"No se cargo bien la info N"; __c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info N. Sync Nuevamente"+BA.NumberToString(_cuantosn)+" "+_cuantos_noventa),__c.True); }; } }; }; }; - //BA.debugLineNum = 2109;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2321;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2110;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2322;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2111;BA.debugLine="If result.Tag = \"insert_pedido\" Then 'query tag"; + //BA.debugLineNum = 2323;BA.debugLine="If result.Tag = \"insert_pedido\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("insert_pedido"))) { - //BA.debugLineNum = 2112;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True)"; + //BA.debugLineNum = 2324;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); }; }; - //BA.debugLineNum = 2116;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2328;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2117;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2329;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2118;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; + //BA.debugLineNum = 2330;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { - //BA.debugLineNum = 2119;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2331;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group420 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen420 = group420.getSize() -;int index420 = 0; +final anywheresoftware.b4a.BA.IterableList group421 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen421 = group421.getSize() +;int index421 = 0; ; -for (; index420 < groupLen420;index420++){ -_records = (Object[])(group420.Get(index420)); - //BA.debugLineNum = 2120;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; +for (; index421 < groupLen421;index421++){ +_records = (Object[])(group421.Get(index421)); + //BA.debugLineNum = 2332;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 2121;BA.debugLine="Dim CAT_VE_VERSION As String = records(result"; + //BA.debugLineNum = 2333;BA.debugLine="Dim CAT_VE_VERSION As String = records(result"; _cat_ve_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_VERSION"))))]); - //BA.debugLineNum = 2123;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI"; + //BA.debugLineNum = 2335;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); } }; }; }; - //BA.debugLineNum = 2128;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2340;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2129;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2341;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2130;BA.debugLine="If result.Tag = \"count_cli\" Then 'query tag"; + //BA.debugLineNum = 2342;BA.debugLine="If result.Tag = \"count_cli\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("count_cli"))) { - //BA.debugLineNum = 2131;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2343;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group430 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen430 = group430.getSize() -;int index430 = 0; +final anywheresoftware.b4a.BA.IterableList group431 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen431 = group431.getSize() +;int index431 = 0; ; -for (; index430 < groupLen430;index430++){ -_records = (Object[])(group430.Get(index430)); - //BA.debugLineNum = 2132;BA.debugLine="COUNT_CLIE = records(result.Columns.Get(\"COUN"; +for (; index431 < groupLen431;index431++){ +_records = (Object[])(group431.Get(index431)); + //BA.debugLineNum = 2344;BA.debugLine="COUNT_CLIE = records(result.Columns.Get(\"COUN"; _count_clie = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT_CLIE"))))])); } }; }; }; - //BA.debugLineNum = 2137;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2349;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2138;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2350;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2139;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag"; + //BA.debugLineNum = 2351;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("ruta"))) { - //BA.debugLineNum = 2140;BA.debugLine="If reqs.IndexOf(\"ruta\") > -1 Then"; + //BA.debugLineNum = 2352;BA.debugLine="If reqs.IndexOf(\"ruta\") > -1 Then"; if (_reqs.IndexOf((Object)("ruta"))>-1) { - //BA.debugLineNum = 2141;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"ruta\"))"; + //BA.debugLineNum = 2353;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"ruta\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("ruta"))); - //BA.debugLineNum = 2142;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("814877201",BA.NumberToString(_reqs.getSize()),0); + //BA.debugLineNum = 2354;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("450594322",BA.NumberToString(_reqs.getSize()),0); }; - //BA.debugLineNum = 2144;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2356;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group442 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen442 = group442.getSize() -;int index442 = 0; +final anywheresoftware.b4a.BA.IterableList group443 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen443 = group443.getSize() +;int index443 = 0; ; -for (; index442 < groupLen442;index442++){ -_records = (Object[])(group442.Get(index442)); - //BA.debugLineNum = 2145;BA.debugLine="Dim VALIDO As String = records(result.Columns"; +for (; index443 < groupLen443;index443++){ +_records = (Object[])(group443.Get(index443)); + //BA.debugLineNum = 2357;BA.debugLine="Dim VALIDO As String = records(result.Columns"; _valido = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("VALIDO"))))]); - //BA.debugLineNum = 2147;BA.debugLine="If VALIDO = \"OK\" Then"; + //BA.debugLineNum = 2359;BA.debugLine="If VALIDO = \"OK\" Then"; if ((_valido).equals("OK")) { - //BA.debugLineNum = 2148;BA.debugLine="If l_ctast.Text = \"0\" Then"; + //BA.debugLineNum = 2360;BA.debugLine="If l_ctast.Text = \"0\" Then"; if ((_l_ctast.getText()).equals("0")) { - //BA.debugLineNum = 2149;BA.debugLine="Subir.Visible = True"; + //BA.debugLineNum = 2361;BA.debugLine="Subir.Visible = True"; _subir.setVisible(__c.True); }else if((_l_ctast.getText()).equals("0") == false) { - //BA.debugLineNum = 2151;BA.debugLine="Subir.Visible = False"; + //BA.debugLineNum = 2363;BA.debugLine="Subir.Visible = False"; _subir.setVisible(__c.False); }; - //BA.debugLineNum = 2153;BA.debugLine="cargar.Visible = True"; + //BA.debugLineNum = 2365;BA.debugLine="cargar.Visible = True"; _cargar.setVisible(__c.True); - //BA.debugLineNum = 2154;BA.debugLine="If Subs.dameUsuarioDeDB = \"ROOT\" Then"; + //BA.debugLineNum = 2366;BA.debugLine="If Subs.dameUsuarioDeDB = \"ROOT\" Then"; if ((_subs._dameusuariodedb /*String*/ (ba)).equals("ROOT")) { - //BA.debugLineNum = 2155;BA.debugLine="Subir.Visible = True"; + //BA.debugLineNum = 2367;BA.debugLine="Subir.Visible = True"; _subir.setVisible(__c.True); }; - //BA.debugLineNum = 2157;BA.debugLine="connecta.Visible = False"; + //BA.debugLineNum = 2369;BA.debugLine="connecta.Visible = False"; _connecta.setVisible(__c.False); - //BA.debugLineNum = 2158;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA"; + //BA.debugLineNum = 2370;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 2161;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTA"; + //BA.debugLineNum = 2373;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_e_ruta.getText())})); - //BA.debugLineNum = 2163;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; + //BA.debugLineNum = 2375;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _e_ruta.getText(); - //BA.debugLineNum = 2165;BA.debugLine="If conn = \"1\" Then"; + //BA.debugLineNum = 2377;BA.debugLine="If conn = \"1\" Then"; if ((_conn).equals("1")) { - //BA.debugLineNum = 2166;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; + //BA.debugLineNum = 2378;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; __c.ToastMessageShow(BA.ObjectToCharSequence("Existe Conexión con el Servidor."),__c.True); }; }else { - //BA.debugLineNum = 2169;BA.debugLine="MsgboxAsync(\"La ruta no esta asignada a este"; + //BA.debugLineNum = 2381;BA.debugLine="MsgboxAsync(\"La ruta no esta asignada a este"; __c.MsgboxAsync(BA.ObjectToCharSequence("La ruta no esta asignada a este usuario"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 2170;BA.debugLine="cargar.Visible = False"; + //BA.debugLineNum = 2382;BA.debugLine="cargar.Visible = False"; _cargar.setVisible(__c.False); - //BA.debugLineNum = 2171;BA.debugLine="Subir.Visible = False"; + //BA.debugLineNum = 2383;BA.debugLine="Subir.Visible = False"; _subir.setVisible(__c.False); - //BA.debugLineNum = 2172;BA.debugLine="inv.Visible = False"; + //BA.debugLineNum = 2384;BA.debugLine="inv.Visible = False"; _inv.setVisible(__c.False); - //BA.debugLineNum = 2173;BA.debugLine="connecta.Visible = False"; + //BA.debugLineNum = 2385;BA.debugLine="connecta.Visible = False"; _connecta.setVisible(__c.False); }; } }; }; }; - //BA.debugLineNum = 2179;BA.debugLine="If Job.JobName = \"DBRequest\" Then 'Traemos las c"; + //BA.debugLineNum = 2391;BA.debugLine="If Job.JobName = \"DBRequest\" Then 'Traemos las c"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2180;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2392;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2181;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; + //BA.debugLineNum = 2393;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("coords_almacen"))) { - //BA.debugLineNum = 2182;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2394;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group474 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen474 = group474.getSize() -;int index474 = 0; +final anywheresoftware.b4a.BA.IterableList group475 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen475 = group475.getSize() +;int index475 = 0; ; -for (; index474 < groupLen474;index474++){ -_records = (Object[])(group474.Get(index474)); - //BA.debugLineNum = 2183;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; -__c.LogImpl("814877242","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0); - //BA.debugLineNum = 2184;BA.debugLine="Private lat, lon As Double"; +for (; index475 < groupLen475;index475++){ +_records = (Object[])(group475.Get(index475)); + //BA.debugLineNum = 2395;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; +__c.LogImpl("450594363","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0); + //BA.debugLineNum = 2396;BA.debugLine="Private lat, lon As Double"; _lat = 0; _lon = 0; - //BA.debugLineNum = 2185;BA.debugLine="lat = 0.0"; + //BA.debugLineNum = 2397;BA.debugLine="lat = 0.0"; _lat = 0.0; - //BA.debugLineNum = 2186;BA.debugLine="lon = 0.0"; + //BA.debugLineNum = 2398;BA.debugLine="lon = 0.0"; _lon = 0.0; - //BA.debugLineNum = 2187;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A"; + //BA.debugLineNum = 2399;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A"; if (__c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])) && __c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]))) { - //BA.debugLineNum = 2188;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT"; + //BA.debugLineNum = 2400;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT"; _lat = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])); - //BA.debugLineNum = 2189;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON"; + //BA.debugLineNum = 2401;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON"; _lon = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))])); }; - //BA.debugLineNum = 2191;BA.debugLine="Starter.cedisLocation.Latitude = lat"; + //BA.debugLineNum = 2403;BA.debugLine="Starter.cedisLocation.Latitude = lat"; _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLatitude(_lat); - //BA.debugLineNum = 2192;BA.debugLine="Starter.cedisLocation.Longitude = lon"; + //BA.debugLineNum = 2404;BA.debugLine="Starter.cedisLocation.Longitude = lon"; _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitude(_lon); - //BA.debugLineNum = 2193;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V"; + //BA.debugLineNum = 2405;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COORDS_ALMACEN")})); - //BA.debugLineNum = 2194;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; + //BA.debugLineNum = 2406;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COORDS_ALMACEN"),(Object)(BA.NumberToString(_lon)+","+BA.NumberToString(_lat))})); } }; }; }; - //BA.debugLineNum = 2200;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2412;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2201;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2413;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2202;BA.debugLine="If result.Tag = \"ins_reparto\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("ins_reparto"))) { - //BA.debugLineNum = 2203;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2414;BA.debugLine="If result.Tag = \"contra\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("contra"))) { + //BA.debugLineNum = 2415;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group493 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen493 = group493.getSize() -;int index493 = 0; -; -for (; index493 < groupLen493;index493++){ -_records = (Object[])(group493.Get(index493)); - //BA.debugLineNum = 2204;BA.debugLine="For Each k As String In result.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group494 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final anywheresoftware.b4a.BA.IterableList group494 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen494 = group494.getSize() ;int index494 = 0; ; for (; index494 < groupLen494;index494++){ -_k = BA.ObjectToString(group494.Get(index494)); - //BA.debugLineNum = 2205;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; -__c.LogImpl("814877264",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); - } -}; +_records = (Object[])(group494.Get(index494)); + //BA.debugLineNum = 2416;BA.debugLine="Dim name As String = records(result.Columns.G"; +_name = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CONTRA"))))]); } }; + //BA.debugLineNum = 2419;BA.debugLine="paso1 = 1"; +_paso1 = BA.NumberToString(1); }; }; - //BA.debugLineNum = 2211;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 2423;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2212;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 2424;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2213;BA.debugLine="If result.Tag = \"ins_rechazos\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("ins_rechazos"))) { - //BA.debugLineNum = 2214;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 2425;BA.debugLine="If result.Tag = \"ins_reparto\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("ins_reparto"))) { + //BA.debugLineNum = 2426;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group503 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen503 = group503.getSize() @@ -5881,7 +6436,7 @@ final int groupLen503 = group503.getSize() ; for (; index503 < groupLen503;index503++){ _records = (Object[])(group503.Get(index503)); - //BA.debugLineNum = 2215;BA.debugLine="For Each k As String In result.Columns.Keys"; + //BA.debugLineNum = 2427;BA.debugLine="For Each k As String In result.Columns.Keys"; { final anywheresoftware.b4a.BA.IterableList group504 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); final int groupLen504 = group504.getSize() @@ -5889,119 +6444,287 @@ final int groupLen504 = group504.getSize() ; for (; index504 < groupLen504;index504++){ _k = BA.ObjectToString(group504.Get(index504)); - //BA.debugLineNum = 2216;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; -__c.LogImpl("814877275",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); + //BA.debugLineNum = 2428;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; +__c.LogImpl("450594396",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); } }; } }; }; }; - //BA.debugLineNum = 2221;BA.debugLine="Job.Release"; + //BA.debugLineNum = 2434;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { + //BA.debugLineNum = 2435;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job); + //BA.debugLineNum = 2436;BA.debugLine="If result.Tag = \"ins_rechazos\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("ins_rechazos"))) { + //BA.debugLineNum = 2437;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group513 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen513 = group513.getSize() +;int index513 = 0; +; +for (; index513 < groupLen513;index513++){ +_records = (Object[])(group513.Get(index513)); + //BA.debugLineNum = 2438;BA.debugLine="For Each k As String In result.Columns.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group514 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen514 = group514.getSize() +;int index514 = 0; +; +for (; index514 < groupLen514;index514++){ +_k = BA.ObjectToString(group514.Get(index514)); + //BA.debugLineNum = 2439;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; +__c.LogImpl("450594407",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); + } +}; + } +}; + }; + }; + //BA.debugLineNum = 2444;BA.debugLine="Job.Release"; _job._release /*String*/ (); }; - //BA.debugLineNum = 2224;BA.debugLine="If reqs.Size = 0 Then"; + //BA.debugLineNum = 2450;BA.debugLine="If paso1 = 1 Then"; +if ((_paso1).equals(BA.NumberToString(1))) { + //BA.debugLineNum = 2453;BA.debugLine="If name = \"OK\"&et_codigo.Text Then"; +if ((_name).equals("OK"+_et_codigo.getText())) { + //BA.debugLineNum = 2454;BA.debugLine="p_validacion.Visible = False"; +_p_validacion.setVisible(__c.False); + //BA.debugLineNum = 2455;BA.debugLine="et_codigo.Text = \"\""; +_et_codigo.setText(BA.ObjectToCharSequence("")); + //BA.debugLineNum = 2456;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); + //BA.debugLineNum = 2457;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("63403")})); + //BA.debugLineNum = 2459;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; +_subs._panelvisible /*String*/ (ba,_p_ciego,(int) (0),(int) (0)); + //BA.debugLineNum = 2460;BA.debugLine="P_CIEGO.Width = Root.Width"; +_p_ciego.setWidth(_root.getWidth()); + //BA.debugLineNum = 2461;BA.debugLine="P_CIEGO.Height = Root.Height"; +_p_ciego.setHeight(_root.getHeight()); + //BA.debugLineNum = 2463;BA.debugLine="CLV_PICK_CIEGO.Clear"; +_clv_pick_ciego._clear(); + //BA.debugLineNum = 2465;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"se"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID, ifnull(PC_CANT,0) AS PC_CAN from HIST_VENTAS INNER JOIN PICK_CIEGO ON PC_ID_PROD = HVD_PROID WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PRONOMBRE <> 'Cobranza Pendiente' GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); + //BA.debugLineNum = 2466;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { + //BA.debugLineNum = 2469;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step534 = 1; +final int limit534 = (int) (_c.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit534 ;_i = _i + step534 ) { + //BA.debugLineNum = 2470;BA.debugLine="c.Position = i"; +_c.setPosition(_i); + //BA.debugLineNum = 2473;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\""; +_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); + //BA.debugLineNum = 2474;BA.debugLine="Private resta As String = 0"; +_resta = BA.NumberToString(0); + //BA.debugLineNum = 2476;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { + //BA.debugLineNum = 2477;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); + //BA.debugLineNum = 2478;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +_resta = _c3.GetString("PE_CANT"); + }else { + //BA.debugLineNum = 2480;BA.debugLine="resta = 0"; +_resta = BA.NumberToString(0); + }; + //BA.debugLineNum = 2482;BA.debugLine="If ( c.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; +if ((_c.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { + }else { + //BA.debugLineNum = 2485;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem(c.GetString"; +_clv_pick_ciego._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PROID"),_c.GetString("HVD_PRONOMBRE"),_c.GetString("PC_CAN"),BA.NumberToString((_c.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta))))).getObject())),(Object)(_i)); + }; + } +}; + //BA.debugLineNum = 2491;BA.debugLine="d = Starter.skmt.ExecQuery(\"select HVD_PRONOMBR"; +_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PROID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO) and HVD_PRONOMBRE <> 'Cobranza Pendiente' GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); + //BA.debugLineNum = 2493;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step550 = 1; +final int limit550 = (int) (_d.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit550 ;_i = _i + step550 ) { + //BA.debugLineNum = 2494;BA.debugLine="d.Position = i"; +_d.setPosition(_i); + //BA.debugLineNum = 2497;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\""; +_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_d.GetString("HVD_PROID")))+"' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); + //BA.debugLineNum = 2498;BA.debugLine="Private resta As String = 0"; +_resta = BA.NumberToString(0); + //BA.debugLineNum = 2500;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { + //BA.debugLineNum = 2501;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); + //BA.debugLineNum = 2502;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +_resta = _c3.GetString("PE_CANT"); + }else { + //BA.debugLineNum = 2504;BA.debugLine="resta = 0"; +_resta = BA.NumberToString(0); + }; + //BA.debugLineNum = 2506;BA.debugLine="If ( d.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; +if ((_d.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { + }else { + //BA.debugLineNum = 2509;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetStrin"; +_clv_pick_ciego._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_d.GetString("HVD_PROID"),_d.GetString("HVD_PRONOMBRE"),BA.NumberToString((_d.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta))))).getObject())),(Object)(_i)); + }; + } +}; + }else if(_c.getRowCount()==0) { + //BA.debugLineNum = 2516;BA.debugLine="d = Starter.skmt.ExecQuery(\"select HVD_PRONOMBR"; +_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PRONOMBRE <> 'Cobranza Pendiente' GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); + //BA.debugLineNum = 2518;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step567 = 1; +final int limit567 = (int) (_d.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit567 ;_i = _i + step567 ) { + //BA.debugLineNum = 2519;BA.debugLine="d.Position = i"; +_d.setPosition(_i); + //BA.debugLineNum = 2522;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\""; +_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_d.GetString("HVD_PROID")))+"'and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); + //BA.debugLineNum = 2523;BA.debugLine="Private resta As String = 0"; +_resta = BA.NumberToString(0); + //BA.debugLineNum = 2525;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { + //BA.debugLineNum = 2526;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); + //BA.debugLineNum = 2527;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +_resta = _c3.GetString("PE_CANT"); + }else { + //BA.debugLineNum = 2529;BA.debugLine="resta = 0"; +_resta = BA.NumberToString(0); + }; + //BA.debugLineNum = 2531;BA.debugLine="If ( d.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; +if ((_d.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { + }else { + //BA.debugLineNum = 2534;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetStrin"; +_clv_pick_ciego._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_d.GetString("HVD_PROID"),_d.GetString("HVD_PRONOMBRE"),BA.NumberToString((_d.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta))))).getObject())),(Object)(_i)); + }; + } +}; + }; + //BA.debugLineNum = 2540;BA.debugLine="paso1 = 0"; +_paso1 = BA.NumberToString(0); + }else { + //BA.debugLineNum = 2542;BA.debugLine="et_codigo.Text = \"\""; +_et_codigo.setText(BA.ObjectToCharSequence("")); + //BA.debugLineNum = 2543;BA.debugLine="Msgbox(\"Password No valido\",\"Atención\") 'ignore"; +__c.Msgbox(BA.ObjectToCharSequence("Password No valido"),BA.ObjectToCharSequence("Atención"),ba); + }; + }; + //BA.debugLineNum = 2547;BA.debugLine="If reqs.Size = 0 Then"; if (_reqs.getSize()==0) { - //BA.debugLineNum = 2230;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS C"; + //BA.debugLineNum = 2553;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS C"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM CHECADO_CHECK"))); - //BA.debugLineNum = 2231;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 2554;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 2232;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; + //BA.debugLineNum = 2555;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; if ((_c.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 2233;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into CHECADO"; + //BA.debugLineNum = 2556;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into CHECADO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into CHECADO_CHECK (CHECADO) VALUES(?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"0"})); }else if((_c.GetString("CUANTOS")).equals(BA.NumberToString(1))) { }; - //BA.debugLineNum = 2238;BA.debugLine="c.Close"; + //BA.debugLineNum = 2561;BA.debugLine="c.Close"; _c.Close(); }; - //BA.debugLineNum = 2244;BA.debugLine="End Sub"; + //BA.debugLineNum = 2567;BA.debugLine="End Sub"; return ""; } public String _listview1_itemclick(int _position,Object _value) throws Exception{ String[] _clieasing = null; - //BA.debugLineNum = 2637;BA.debugLine="Private Sub ListView1_ItemClick (Position As Int,"; - //BA.debugLineNum = 2638;BA.debugLine="Log(Value)"; -__c.LogImpl("815728641",BA.ObjectToString(_value),0); - //BA.debugLineNum = 2640;BA.debugLine="Dim clieasing() As String = Regex.Split(\" \", Valu"; + //BA.debugLineNum = 2960;BA.debugLine="Private Sub ListView1_ItemClick (Position As Int,"; + //BA.debugLineNum = 2961;BA.debugLine="Log(Value)"; +__c.LogImpl("451445761",BA.ObjectToString(_value),0); + //BA.debugLineNum = 2963;BA.debugLine="Dim clieasing() As String = Regex.Split(\" \", Valu"; _clieasing = __c.Regex.Split(" ",BA.ObjectToString(_value)); - //BA.debugLineNum = 2641;BA.debugLine="Log(clieasing(0))"; -__c.LogImpl("815728644",_clieasing[(int) (0)],0); - //BA.debugLineNum = 2643;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; + //BA.debugLineNum = 2964;BA.debugLine="Log(clieasing(0))"; +__c.LogImpl("451445764",_clieasing[(int) (0)],0); + //BA.debugLineNum = 2966;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 2644;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; + //BA.debugLineNum = 2967;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clieasing[(int) (0)])})); - //BA.debugLineNum = 2645;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; + //BA.debugLineNum = 2968;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 2646;BA.debugLine="Panel1.Visible = False"; + //BA.debugLineNum = 2969;BA.debugLine="Panel1.Visible = False"; _panel1.setVisible(__c.False); - //BA.debugLineNum = 2647;BA.debugLine="End Sub"; + //BA.debugLineNum = 2970;BA.debugLine="End Sub"; return ""; } public String _p_carga_click() throws Exception{ - //BA.debugLineNum = 2841;BA.debugLine="Private Sub P_carga_Click"; - //BA.debugLineNum = 2843;BA.debugLine="End Sub"; + //BA.debugLineNum = 3084;BA.debugLine="Private Sub P_carga_Click"; + //BA.debugLineNum = 3086;BA.debugLine="End Sub"; return ""; } public String _p_ciego_click() throws Exception{ - //BA.debugLineNum = 3594;BA.debugLine="Private Sub P_CIEGO_Click"; - //BA.debugLineNum = 3596;BA.debugLine="End Sub"; + //BA.debugLineNum = 3837;BA.debugLine="Private Sub P_CIEGO_Click"; + //BA.debugLineNum = 3839;BA.debugLine="End Sub"; return ""; } public String _p_prod_click() throws Exception{ - //BA.debugLineNum = 2709;BA.debugLine="Private Sub p_prod_Click"; - //BA.debugLineNum = 2711;BA.debugLine="End Sub"; + //BA.debugLineNum = 3032;BA.debugLine="Private Sub p_prod_Click"; + //BA.debugLineNum = 3034;BA.debugLine="End Sub"; +return ""; +} +public String _p_validacion_click() throws Exception{ + //BA.debugLineNum = 3901;BA.debugLine="Private Sub p_validacion_Click"; + //BA.debugLineNum = 3903;BA.debugLine="End Sub"; return ""; } public String _printer_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 2982;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; - //BA.debugLineNum = 2983;BA.debugLine="If Success Then"; + //BA.debugLineNum = 3225;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; + //BA.debugLineNum = 3226;BA.debugLine="If Success Then"; if (_success) { - //BA.debugLineNum = 2985;BA.debugLine="PASA_IMP = \"1\""; + //BA.debugLineNum = 3228;BA.debugLine="PASA_IMP = \"1\""; _pasa_imp = "1"; }else { - //BA.debugLineNum = 2988;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel"; + //BA.debugLineNum = 3231;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel"; if (__c.Msgbox2(BA.ObjectToCharSequence(""),BA.ObjectToCharSequence("Printer Error"),"Reprint","Cancel","",(android.graphics.Bitmap)(__c.Null),ba)==__c.DialogResponse.POSITIVE) { - //BA.debugLineNum = 2989;BA.debugLine="StartPrinter"; + //BA.debugLineNum = 3232;BA.debugLine="StartPrinter"; _startprinter(); }; }; - //BA.debugLineNum = 2992;BA.debugLine="End Sub"; + //BA.debugLineNum = 3235;BA.debugLine="End Sub"; return ""; } public String _printer1_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 2957;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; - //BA.debugLineNum = 2959;BA.debugLine="If Success Then"; + //BA.debugLineNum = 3200;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; + //BA.debugLineNum = 3202;BA.debugLine="If Success Then"; if (_success) { - //BA.debugLineNum = 2960;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; + //BA.debugLineNum = 3203;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Impresora conectada"),__c.False); - //BA.debugLineNum = 2961;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI"; + //BA.debugLineNum = 3204;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP")})); - //BA.debugLineNum = 2962;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI"; + //BA.debugLineNum = 3205;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP"),(Object)(_starter._mac_impresora /*String*/ )})); - //BA.debugLineNum = 2965;BA.debugLine="impresoraConectada = True"; + //BA.debugLineNum = 3208;BA.debugLine="impresoraConectada = True"; _impresoraconectada = __c.True; }else { - //BA.debugLineNum = 2969;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; -__c.LogImpl("816252940","Error conectando la impresora",__c.Colors.Red); - //BA.debugLineNum = 2970;BA.debugLine="errorImpresora = errorImpresora + 1"; + //BA.debugLineNum = 3212;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; +__c.LogImpl("451970060","Error conectando la impresora",__c.Colors.Red); + //BA.debugLineNum = 3213;BA.debugLine="errorImpresora = errorImpresora + 1"; _errorimpresora = (int) (_errorimpresora+1); - //BA.debugLineNum = 2971;BA.debugLine="If errorImpresora > 1 Then"; + //BA.debugLineNum = 3214;BA.debugLine="If errorImpresora > 1 Then"; if (_errorimpresora>1) { - //BA.debugLineNum = 2972;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; + //BA.debugLineNum = 3215;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; _starter._mac_impresora /*String*/ = "0"; - //BA.debugLineNum = 2973;BA.debugLine="errorImpresora = 0"; + //BA.debugLineNum = 3216;BA.debugLine="errorImpresora = 0"; _errorimpresora = (int) (0); }; }; - //BA.debugLineNum = 2976;BA.debugLine="End Sub"; + //BA.debugLineNum = 3219;BA.debugLine="End Sub"; return ""; } public String _printer1_error() throws Exception{ - //BA.debugLineNum = 2978;BA.debugLine="Sub Printer1_Error"; - //BA.debugLineNum = 2979;BA.debugLine="Log(\"error printer\")"; -__c.LogImpl("816318465","error printer",0); - //BA.debugLineNum = 2980;BA.debugLine="End Sub"; + //BA.debugLineNum = 3221;BA.debugLine="Sub Printer1_Error"; + //BA.debugLineNum = 3222;BA.debugLine="Log(\"error printer\")"; +__c.LogImpl("452035585","error printer",0); + //BA.debugLineNum = 3223;BA.debugLine="End Sub"; return ""; } public String _startprinter() throws Exception{ @@ -6009,194 +6732,305 @@ anywheresoftware.b4a.objects.collections.Map _paireddevices = null; anywheresoftware.b4a.objects.collections.List _l1 = null; int _resimp = 0; int _i = 0; - //BA.debugLineNum = 2994;BA.debugLine="Sub StartPrinter"; - //BA.debugLineNum = 2995;BA.debugLine="Dim PairedDevices As Map"; + //BA.debugLineNum = 3237;BA.debugLine="Sub StartPrinter"; + //BA.debugLineNum = 3238;BA.debugLine="Dim PairedDevices As Map"; _paireddevices = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 2996;BA.debugLine="Dim L1 As List"; + //BA.debugLineNum = 3239;BA.debugLine="Dim L1 As List"; _l1 = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 2997;BA.debugLine="Dim resimp As Int"; + //BA.debugLineNum = 3240;BA.debugLine="Dim resimp As Int"; _resimp = 0; - //BA.debugLineNum = 2998;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; + //BA.debugLineNum = 3241;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Printing....."),__c.True); - //BA.debugLineNum = 2999;BA.debugLine="PairedDevices.Initialize"; + //BA.debugLineNum = 3242;BA.debugLine="PairedDevices.Initialize"; _paireddevices.Initialize(); - //BA.debugLineNum = 3000;BA.debugLine="Try"; -try { //BA.debugLineNum = 3001;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; + //BA.debugLineNum = 3243;BA.debugLine="Try"; +try { //BA.debugLineNum = 3244;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; _paireddevices = _cmp20.GetPairedDevices(); } catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 3003;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; + ba.setLastException(e9); //BA.debugLineNum = 3246;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; __c.Msgbox(BA.ObjectToCharSequence("Getting Paired Devices"),BA.ObjectToCharSequence("Printer Error"),ba); - //BA.debugLineNum = 3004;BA.debugLine="printer.Close"; + //BA.debugLineNum = 3247;BA.debugLine="printer.Close"; _printer.Close(); - //BA.debugLineNum = 3005;BA.debugLine="cmp20.Disconnect"; + //BA.debugLineNum = 3248;BA.debugLine="cmp20.Disconnect"; _cmp20.Disconnect(); }; - //BA.debugLineNum = 3008;BA.debugLine="If PairedDevices.Size = 0 Then"; + //BA.debugLineNum = 3251;BA.debugLine="If PairedDevices.Size = 0 Then"; if (_paireddevices.getSize()==0) { - //BA.debugLineNum = 3009;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No"; + //BA.debugLineNum = 3252;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No"; __c.Msgbox(BA.ObjectToCharSequence("Error Connecting to Printer - Printer Not Found"),BA.ObjectToCharSequence(""),ba); - //BA.debugLineNum = 3010;BA.debugLine="Return"; + //BA.debugLineNum = 3253;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 3013;BA.debugLine="If PairedDevices.Size = 1 Then"; + //BA.debugLineNum = 3256;BA.debugLine="If PairedDevices.Size = 1 Then"; if (_paireddevices.getSize()==1) { - //BA.debugLineNum = 3014;BA.debugLine="Try"; -try { //BA.debugLineNum = 3015;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G"; + //BA.debugLineNum = 3257;BA.debugLine="Try"; +try { //BA.debugLineNum = 3258;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G"; _cmp20.Connect(ba,BA.ObjectToString(_paireddevices.Get(_paireddevices.GetKeyAt((int) (0))))); } catch (Exception e21) { - ba.setLastException(e21); //BA.debugLineNum = 3017;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; + ba.setLastException(e21); //BA.debugLineNum = 3260;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; __c.Msgbox(BA.ObjectToCharSequence("Connecting"),BA.ObjectToCharSequence("Printer Error"),ba); - //BA.debugLineNum = 3018;BA.debugLine="printer.Close"; + //BA.debugLineNum = 3261;BA.debugLine="printer.Close"; _printer.Close(); - //BA.debugLineNum = 3019;BA.debugLine="cmp20.Disconnect"; + //BA.debugLineNum = 3262;BA.debugLine="cmp20.Disconnect"; _cmp20.Disconnect(); }; }else { - //BA.debugLineNum = 3022;BA.debugLine="L1.Initialize"; + //BA.debugLineNum = 3265;BA.debugLine="L1.Initialize"; _l1.Initialize(); - //BA.debugLineNum = 3023;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; + //BA.debugLineNum = 3266;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; { final int step27 = 1; final int limit27 = (int) (_paireddevices.getSize()-1); _i = (int) (0) ; for (;_i <= limit27 ;_i = _i + step27 ) { - //BA.debugLineNum = 3024;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))"; + //BA.debugLineNum = 3267;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))"; _l1.Add(_paireddevices.GetKeyAt(_i)); } }; - //BA.debugLineNum = 3026;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign"; + //BA.debugLineNum = 3269;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign"; _resimp = __c.InputList(_l1,BA.ObjectToCharSequence("Choose device"),(int) (-1),ba); - //BA.debugLineNum = 3027;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; + //BA.debugLineNum = 3270;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; if (_resimp!=__c.DialogResponse.CANCEL) { - //BA.debugLineNum = 3028;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))"; + //BA.debugLineNum = 3271;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))"; _cmp20.Connect(ba,BA.ObjectToString(_paireddevices.Get(_l1.Get(_resimp)))); }; }; - //BA.debugLineNum = 3031;BA.debugLine="End Sub"; + //BA.debugLineNum = 3274;BA.debugLine="End Sub"; return ""; } public String _subir_click() throws Exception{ - //BA.debugLineNum = 838;BA.debugLine="Sub Subir_Click"; - //BA.debugLineNum = 839;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cg = null; +int _banderarechazo = 0; +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +String _resta = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _pickciego = null; + //BA.debugLineNum = 845;BA.debugLine="Sub Subir_Click"; + //BA.debugLineNum = 847;BA.debugLine="Private cg As Cursor = Starter.skmt.ExecQuery(\"se"; +_cg = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cg = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); + //BA.debugLineNum = 850;BA.debugLine="If cg.RowCount > 0 Then"; +if (_cg.getRowCount()>0) { + //BA.debugLineNum = 851;BA.debugLine="Dim banderarechazo As Int = 0"; +_banderarechazo = (int) (0); + //BA.debugLineNum = 853;BA.debugLine="For i = 0 To cg.RowCount - 1"; +{ +final int step4 = 1; +final int limit4 = (int) (_cg.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { + //BA.debugLineNum = 854;BA.debugLine="cg.Position = i"; +_cg.setPosition(_i); + //BA.debugLineNum = 857;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; +_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_cg.GetString("HVD_PROID")))+"' ")))); + //BA.debugLineNum = 858;BA.debugLine="Private resta As String = 0"; +_resta = BA.NumberToString(0); + //BA.debugLineNum = 860;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { + //BA.debugLineNum = 861;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); + //BA.debugLineNum = 862;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +_resta = _c3.GetString("PE_CANT"); + }else { + //BA.debugLineNum = 864;BA.debugLine="resta = 0"; +_resta = BA.NumberToString(0); + }; + //BA.debugLineNum = 867;BA.debugLine="If ( cg.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; +if ((_cg.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { + }else { + //BA.debugLineNum = 870;BA.debugLine="banderarechazo = banderarechazo + 1"; +_banderarechazo = (int) (_banderarechazo+1); + }; + } +}; + //BA.debugLineNum = 874;BA.debugLine="If banderarechazo = 0 Then"; +if (_banderarechazo==0) { + //BA.debugLineNum = 875;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync("; if (__c.Not(_isconnectedtointernet())) { __c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; - //BA.debugLineNum = 840;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; + //BA.debugLineNum = 876;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from u"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 841;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 877;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 842;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; + //BA.debugLineNum = 878;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; _usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 843;BA.debugLine="c.Close"; + //BA.debugLineNum = 879;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 845;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM BLOCKEN"; + //BA.debugLineNum = 881;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM BLOCK"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM BLOCKENVIO"))); - //BA.debugLineNum = 846;BA.debugLine="If c.RowCount = 0 Then"; + //BA.debugLineNum = 882;BA.debugLine="If c.RowCount = 0 Then"; if (_c.getRowCount()==0) { - //BA.debugLineNum = 847;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO BLOCKENV"; + //BA.debugLineNum = 883;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO BLOCKE"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO BLOCKENVIO(ENVIADO) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); - //BA.debugLineNum = 848;BA.debugLine="envioinfo"; + //BA.debugLineNum = 884;BA.debugLine="envioinfo"; _envioinfo(); }else { - //BA.debugLineNum = 850;BA.debugLine="envioinfo"; + //BA.debugLineNum = 886;BA.debugLine="envioinfo"; _envioinfo(); }; - //BA.debugLineNum = 852;BA.debugLine="c.Close"; + //BA.debugLineNum = 888;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 858;BA.debugLine="End Sub"; + }else { + //BA.debugLineNum = 890;BA.debugLine="Dim pickciego As Cursor = Starter.skmt.ExecQuer"; +_pickciego = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pickciego = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PICK_CIEGO"))); + //BA.debugLineNum = 891;BA.debugLine="If pickciego.RowCount > 0 Then"; +if (_pickciego.getRowCount()>0) { + //BA.debugLineNum = 892;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync"; +if (__c.Not(_isconnectedtointernet())) { +__c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; + //BA.debugLineNum = 893;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); + //BA.debugLineNum = 894;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); + //BA.debugLineNum = 895;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +_usuario = _c.GetString("USUARIO"); + //BA.debugLineNum = 896;BA.debugLine="c.Close"; +_c.Close(); + //BA.debugLineNum = 898;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM BLOC"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM BLOCKENVIO"))); + //BA.debugLineNum = 899;BA.debugLine="If c.RowCount = 0 Then"; +if (_c.getRowCount()==0) { + //BA.debugLineNum = 900;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO BLOCK"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO BLOCKENVIO(ENVIADO) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); + //BA.debugLineNum = 901;BA.debugLine="envioinfo"; +_envioinfo(); + }else { + //BA.debugLineNum = 903;BA.debugLine="envioinfo"; +_envioinfo(); + }; + //BA.debugLineNum = 905;BA.debugLine="c.Close"; +_c.Close(); + }else { + //BA.debugLineNum = 907;BA.debugLine="MsgboxAsync(\"Para realizar el envio se necesit"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Para realizar el envio se necesita realizar la incidencia de recibo."),BA.ObjectToCharSequence("Atención"),ba); + }; + }; + }else { + //BA.debugLineNum = 912;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync("; +if (__c.Not(_isconnectedtointernet())) { +__c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; + //BA.debugLineNum = 913;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from u"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); + //BA.debugLineNum = 914;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); + //BA.debugLineNum = 915;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +_usuario = _c.GetString("USUARIO"); + //BA.debugLineNum = 916;BA.debugLine="c.Close"; +_c.Close(); + //BA.debugLineNum = 918;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM BLOCK"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM BLOCKENVIO"))); + //BA.debugLineNum = 919;BA.debugLine="If c.RowCount = 0 Then"; +if (_c.getRowCount()==0) { + //BA.debugLineNum = 920;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO BLOCKE"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO BLOCKENVIO(ENVIADO) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); + //BA.debugLineNum = 921;BA.debugLine="envioinfo"; +_envioinfo(); + }else { + //BA.debugLineNum = 923;BA.debugLine="envioinfo"; +_envioinfo(); + }; + //BA.debugLineNum = 925;BA.debugLine="c.Close"; +_c.Close(); + }; + //BA.debugLineNum = 927;BA.debugLine="c.Close"; +_c.Close(); + //BA.debugLineNum = 931;BA.debugLine="End Sub"; return ""; } public String _t1_tick() throws Exception{ - //BA.debugLineNum = 2341;BA.debugLine="Sub t1_tick"; - //BA.debugLineNum = 2342;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 2664;BA.debugLine="Sub t1_tick"; + //BA.debugLineNum = 2665;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 2343;BA.debugLine="cmd.Name = \"select_cuantos_pedido\""; + //BA.debugLineNum = 2666;BA.debugLine="cmd.Name = \"select_cuantos_pedido\""; _cmd.Name /*String*/ = "select_cuantos_pedido"; - //BA.debugLineNum = 2344;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; + //BA.debugLineNum = 2667;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 2345;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedido\")"; + //BA.debugLineNum = 2668;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedido\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_pedido")); - //BA.debugLineNum = 2347;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 2670;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 2348;BA.debugLine="cmd.Name = \"select_cuantos_noventa_mards\""; + //BA.debugLineNum = 2671;BA.debugLine="cmd.Name = \"select_cuantos_noventa_mards\""; _cmd.Name /*String*/ = "select_cuantos_noventa_mards"; - //BA.debugLineNum = 2349;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; + //BA.debugLineNum = 2672;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 2350;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_noventa\""; + //BA.debugLineNum = 2673;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_noventa\""; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_noventa")); - //BA.debugLineNum = 2352;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 2675;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 2353;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc\""; + //BA.debugLineNum = 2676;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc\""; _cmd.Name /*String*/ = "select_cuantos_pedidoc"; - //BA.debugLineNum = 2354;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; + //BA.debugLineNum = 2677;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 2355;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedidoc\""; + //BA.debugLineNum = 2678;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedidoc\""; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_pedidoc")); - //BA.debugLineNum = 2356;BA.debugLine="img2.Visible=False"; + //BA.debugLineNum = 2679;BA.debugLine="img2.Visible=False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 2357;BA.debugLine="t1.Enabled = False"; + //BA.debugLineNum = 2680;BA.debugLine="t1.Enabled = False"; _t1.setEnabled(__c.False); - //BA.debugLineNum = 2358;BA.debugLine="End Sub"; + //BA.debugLineNum = 2681;BA.debugLine="End Sub"; return ""; } public String _t8_tick() throws Exception{ - //BA.debugLineNum = 2829;BA.debugLine="Sub t8_tick"; - //BA.debugLineNum = 2830;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 3072;BA.debugLine="Sub t8_tick"; + //BA.debugLineNum = 3073;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 2831;BA.debugLine="cmd.Name = \"select_conteo_izca2\""; + //BA.debugLineNum = 3074;BA.debugLine="cmd.Name = \"select_conteo_izca2\""; _cmd.Name /*String*/ = "select_conteo_izca2"; - //BA.debugLineNum = 2832;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, ALM"; + //BA.debugLineNum = 3075;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, ALM"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 2833;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"CONTEO_DATOS\")"; + //BA.debugLineNum = 3076;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"CONTEO_DATOS\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("CONTEO_DATOS")); - //BA.debugLineNum = 2834;BA.debugLine="l_carga2.Text = \"VALIDANDO\""; + //BA.debugLineNum = 3077;BA.debugLine="l_carga2.Text = \"VALIDANDO\""; _l_carga2.setText(BA.ObjectToCharSequence("VALIDANDO")); - //BA.debugLineNum = 2835;BA.debugLine="L_carga.Text = \"VALIDANDO\""; + //BA.debugLineNum = 3078;BA.debugLine="L_carga.Text = \"VALIDANDO\""; _l_carga.setText(BA.ObjectToCharSequence("VALIDANDO")); - //BA.debugLineNum = 2836;BA.debugLine="PB_carga.Progress = 50"; + //BA.debugLineNum = 3079;BA.debugLine="PB_carga.Progress = 50"; _pb_carga.setProgress((int) (50)); - //BA.debugLineNum = 2837;BA.debugLine="PB_carga2.Progress = 50"; + //BA.debugLineNum = 3080;BA.debugLine="PB_carga2.Progress = 50"; _pb_carga2.setProgress((int) (50)); - //BA.debugLineNum = 2838;BA.debugLine="t8.Enabled = False"; + //BA.debugLineNum = 3081;BA.debugLine="t8.Enabled = False"; _t8.setEnabled(__c.False); - //BA.debugLineNum = 2839;BA.debugLine="End Sub"; + //BA.debugLineNum = 3082;BA.debugLine="End Sub"; return ""; } public String _to_number_vb(Object _valor) throws Exception{ int _valstring = 0; String _valstring2 = ""; - //BA.debugLineNum = 816;BA.debugLine="Sub to_number_vb (valor As Object) As String"; - //BA.debugLineNum = 817;BA.debugLine="Dim valstring As Int"; + //BA.debugLineNum = 823;BA.debugLine="Sub to_number_vb (valor As Object) As String"; + //BA.debugLineNum = 824;BA.debugLine="Dim valstring As Int"; _valstring = 0; - //BA.debugLineNum = 818;BA.debugLine="Dim valstring2 As String = valor"; + //BA.debugLineNum = 825;BA.debugLine="Dim valstring2 As String = valor"; _valstring2 = BA.ObjectToString(_valor); - //BA.debugLineNum = 819;BA.debugLine="valstring2.Replace(\":\",\"\")"; + //BA.debugLineNum = 826;BA.debugLine="valstring2.Replace(\":\",\"\")"; _valstring2.replace(":",""); - //BA.debugLineNum = 820;BA.debugLine="Try"; -try { //BA.debugLineNum = 821;BA.debugLine="valstring =valstring2.Replace(\":\",\"\")"; + //BA.debugLineNum = 827;BA.debugLine="Try"; +try { //BA.debugLineNum = 828;BA.debugLine="valstring =valstring2.Replace(\":\",\"\")"; _valstring = (int)(Double.parseDouble(_valstring2.replace(":",""))); - //BA.debugLineNum = 822;BA.debugLine="Return valstring"; + //BA.debugLineNum = 829;BA.debugLine="Return valstring"; if (true) return BA.NumberToString(_valstring); } catch (Exception e8) { - ba.setLastException(e8); //BA.debugLineNum = 824;BA.debugLine="Return 0"; + ba.setLastException(e8); //BA.debugLineNum = 831;BA.debugLine="Return 0"; if (true) return BA.NumberToString(0); }; - //BA.debugLineNum = 826;BA.debugLine="End Sub"; + //BA.debugLineNum = 833;BA.debugLine="End Sub"; return ""; } public String _trabajar_click() throws Exception{ - //BA.debugLineNum = 828;BA.debugLine="Sub trabajar_Click"; - //BA.debugLineNum = 829;BA.debugLine="If b_check.Visible = True Then"; + //BA.debugLineNum = 835;BA.debugLine="Sub trabajar_Click"; + //BA.debugLineNum = 836;BA.debugLine="If b_check.Visible = True Then"; if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 830;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Atenc"; + //BA.debugLineNum = 837;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Atenc"; __c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 833;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; + //BA.debugLineNum = 840;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; _b4xpages._showpage /*String*/ (ba,"Clientes"); }; - //BA.debugLineNum = 836;BA.debugLine="End Sub"; + //BA.debugLineNum = 843;BA.debugLine="End Sub"; return ""; } public Object callSub(String sub, Object sender, Object[] args) throws Exception { diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_productos.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_productos.java index a282a06..be81b7f 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_productos.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_productos.java @@ -75,11 +75,11 @@ public anywheresoftware.b4a.objects.LabelWrapper _l_cajas = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -122,7 +122,7 @@ _sdate = __c.DateTime.Date(__c.DateTime.getNow()); //BA.debugLineNum = 678;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; _stime = __c.DateTime.Time(__c.DateTime.getNow()); //BA.debugLineNum = 680;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("820447240","b_prodMas_Click",__c.Colors.Magenta); +__c.LogImpl("461014024","b_prodMas_Click",__c.Colors.Magenta); //BA.debugLineNum = 681;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; _index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); //BA.debugLineNum = 682;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; @@ -138,7 +138,7 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3)); _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); //BA.debugLineNum = 689;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; -__c.LogImpl("820447249","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("461014033","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); //BA.debugLineNum = 690;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; if ((_lacant.getText()).equals("")) { _lacant.setText(BA.ObjectToCharSequence(0));}; @@ -164,16 +164,16 @@ _minimos.Close(); //BA.debugLineNum = 703;BA.debugLine="minimoadesc = \"1\""; _minimoadesc = "1"; //BA.debugLineNum = 706;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("820447266",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +__c.LogImpl("461014050",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); //BA.debugLineNum = 707;BA.debugLine="Log(esteTag.get(4))"; -__c.LogImpl("820447267",BA.ObjectToString(_estetag.Get((int) (4))),0); +__c.LogImpl("461014051",BA.ObjectToString(_estetag.Get((int) (4))),0); //BA.debugLineNum = 708;BA.debugLine="If esteTag.Get(4) = \"0\" Then"; if ((_estetag.Get((int) (4))).equals((Object)("0"))) { }else { //BA.debugLineNum = 711;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { //BA.debugLineNum = 712;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; -__c.LogImpl("820447272",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +__c.LogImpl("461014056",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); //BA.debugLineNum = 713;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$"; _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""))); //BA.debugLineNum = 714;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; @@ -257,7 +257,7 @@ if ((_c2.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) //BA.debugLineNum = 762;BA.debugLine="Private pup As String = c2.GetString(\"HVD_CO"; _pup = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("HVD_CANT")))); //BA.debugLineNum = 765;BA.debugLine="Log(\"algo1\")"; -__c.LogImpl("820447325","algo1",0); +__c.LogImpl("461014109","algo1",0); //BA.debugLineNum = 766;BA.debugLine="If Subs.traeCliente = \"63403\" Then"; if ((_subs._traecliente /*String*/ (ba)).equals("63403")) { //BA.debugLineNum = 767;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; @@ -268,37 +268,37 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDI }; }else { //BA.debugLineNum = 772;BA.debugLine="Log(\"|\" & preciofull& \"|\")"; -__c.LogImpl("820447332","|"+_preciofull+"|",0); +__c.LogImpl("461014116","|"+_preciofull+"|",0); //BA.debugLineNum = 773;BA.debugLine="Log(\"|\" & minimoadesc& \"|\")"; -__c.LogImpl("820447333","|"+_minimoadesc+"|",0); +__c.LogImpl("461014117","|"+_minimoadesc+"|",0); //BA.debugLineNum = 777;BA.debugLine="Log(esteTag.Get(2))"; -__c.LogImpl("820447337",BA.ObjectToString(_estetag.Get((int) (2))),0); +__c.LogImpl("461014121",BA.ObjectToString(_estetag.Get((int) (2))),0); //BA.debugLineNum = 778;BA.debugLine="Log(c2.GetString(\"HVD_PRONOMBRE\"))"; -__c.LogImpl("820447338",_c2.GetString("HVD_PRONOMBRE"),0); +__c.LogImpl("461014122",_c2.GetString("HVD_PRONOMBRE"),0); //BA.debugLineNum = 779;BA.debugLine="Log((1*minimoadesc))"; -__c.LogImpl("820447339",BA.NumberToString((1*(double)(Double.parseDouble(_minimoadesc)))),0); +__c.LogImpl("461014123",BA.NumberToString((1*(double)(Double.parseDouble(_minimoadesc)))),0); //BA.debugLineNum = 780;BA.debugLine="Log(esteTag.Get(5))"; -__c.LogImpl("820447340",BA.ObjectToString(_estetag.Get((int) (5))),0); +__c.LogImpl("461014124",BA.ObjectToString(_estetag.Get((int) (5))),0); //BA.debugLineNum = 781;BA.debugLine="Log(Subs.traeCliente)"; -__c.LogImpl("820447341",_subs._traecliente /*String*/ (ba),0); +__c.LogImpl("461014125",_subs._traecliente /*String*/ (ba),0); //BA.debugLineNum = 782;BA.debugLine="Log((preciofull*minimoadesc))"; -__c.LogImpl("820447342",BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),0); +__c.LogImpl("461014126",BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),0); //BA.debugLineNum = 783;BA.debugLine="Log(esteTag.Get(6))"; -__c.LogImpl("820447343",BA.ObjectToString(_estetag.Get((int) (6))),0); +__c.LogImpl("461014127",BA.ObjectToString(_estetag.Get((int) (6))),0); //BA.debugLineNum = 784;BA.debugLine="Log(Subs.traerUTAPREV)"; -__c.LogImpl("820447344",_subs._traerutaprev /*String*/ (ba),0); +__c.LogImpl("461014128",_subs._traerutaprev /*String*/ (ba),0); //BA.debugLineNum = 785;BA.debugLine="Log(Subs.traeAlmacen)"; -__c.LogImpl("820447345",_subs._traealmacen /*String*/ (ba),0); +__c.LogImpl("461014129",_subs._traealmacen /*String*/ (ba),0); //BA.debugLineNum = 786;BA.debugLine="Log(sDate & \" \" & sTime)"; -__c.LogImpl("820447346",_sdate+" "+_stime,0); +__c.LogImpl("461014130",_sdate+" "+_stime,0); //BA.debugLineNum = 787;BA.debugLine="Log(Subs.traeUsuario)"; -__c.LogImpl("820447347",_subs._traeusuario /*String*/ (ba),0); +__c.LogImpl("461014131",_subs._traeusuario /*String*/ (ba),0); //BA.debugLineNum = 788;BA.debugLine="Log(Subs.traefECHAPREV)"; -__c.LogImpl("820447348",_subs._traefechaprev /*String*/ (ba),0); +__c.LogImpl("461014132",_subs._traefechaprev /*String*/ (ba),0); //BA.debugLineNum = 789;BA.debugLine="Log(Subs.traeRutaReparto)"; -__c.LogImpl("820447349",_subs._traerutareparto /*String*/ (ba),0); +__c.LogImpl("461014133",_subs._traerutareparto /*String*/ (ba),0); //BA.debugLineNum = 790;BA.debugLine="Log(esregalo)"; -__c.LogImpl("820447350",_esregalo,0); +__c.LogImpl("461014134",_esregalo,0); //BA.debugLineNum = 793;BA.debugLine="If Subs.traeCliente = \"63403\" Then"; if ((_subs._traecliente /*String*/ (ba)).equals("63403")) { //BA.debugLineNum = 794;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; @@ -332,7 +332,7 @@ String _puc = ""; //BA.debugLineNum = 830;BA.debugLine="etCantHasFocus = False"; _etcanthasfocus = __c.False; //BA.debugLineNum = 832;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("820512771","b_prodMas_Click",__c.Colors.Magenta); +__c.LogImpl("461079555","b_prodMas_Click",__c.Colors.Magenta); //BA.debugLineNum = 833;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; _index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); //BA.debugLineNum = 834;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; @@ -345,40 +345,40 @@ _pnl = _pnl0.GetView((int) (0)); _lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); //BA.debugLineNum = 837;BA.debugLine="LogColor(laCantc.Text&\"--------------------------"; -__c.LogImpl("820512776",_lacantc.getText()+"-----------------------------",__c.Colors.Blue); +__c.LogImpl("461079560",_lacantc.getText()+"-----------------------------",__c.Colors.Blue); //BA.debugLineNum = 841;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); //BA.debugLineNum = 842;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta"; -__c.LogImpl("820512781","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("461079565","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); //BA.debugLineNum = 843;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; if ((_lacantc.getText()).equals("")) { _lacantc.setText(BA.ObjectToCharSequence(0));}; //BA.debugLineNum = 845;BA.debugLine="Private maxProds As String = (esteTag.Get(1) + es"; _maxprods = BA.NumberToString(((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4)))))); //BA.debugLineNum = 846;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)"; -__c.LogImpl("820512785",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); +__c.LogImpl("461079569",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); //BA.debugLineNum = 847;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)"; -__c.LogImpl("820512786",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); +__c.LogImpl("461079570",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); //BA.debugLineNum = 848;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("820512787",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +__c.LogImpl("461079571",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); //BA.debugLineNum = 850;BA.debugLine="Log(maxProds)"; -__c.LogImpl("820512789",_maxprods,0); +__c.LogImpl("461079573",_maxprods,0); //BA.debugLineNum = 853;BA.debugLine="Log(esteTag.Get(4))"; -__c.LogImpl("820512792",BA.ObjectToString(_estetag.Get((int) (4))),0); +__c.LogImpl("461079576",BA.ObjectToString(_estetag.Get((int) (4))),0); //BA.debugLineNum = 854;BA.debugLine="If esteTag.Get(4) = \"0\" Then"; if ((_estetag.Get((int) (4))).equals((Object)("0"))) { }else { //BA.debugLineNum = 857;BA.debugLine="If laCantc.Text + 1 <= maxProds Then"; if ((double)(Double.parseDouble(_lacantc.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { //BA.debugLineNum = 858;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)"; -__c.LogImpl("820512797",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0); +__c.LogImpl("461079581",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0); //BA.debugLineNum = 860;BA.debugLine="laCantc.Text = $\"$1.0{laCantc.Text + 1}\"$"; _lacantc.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""))); //BA.debugLineNum = 861;BA.debugLine="LogColor(esteTag,Colors.Magenta)"; -__c.LogImpl("820512800",BA.ObjectToString(_estetag),__c.Colors.Magenta); +__c.LogImpl("461079584",BA.ObjectToString(_estetag),__c.Colors.Magenta); //BA.debugLineNum = 863;BA.debugLine="LogColor(laCantc.Text,Colors.Red)"; -__c.LogImpl("820512802",_lacantc.getText(),__c.Colors.Red); +__c.LogImpl("461079586",_lacantc.getText(),__c.Colors.Red); //BA.debugLineNum = 866;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PEDI"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); //BA.debugLineNum = 867;BA.debugLine="If c.RowCount > 0 Then"; @@ -397,7 +397,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO se //BA.debugLineNum = 874;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); //BA.debugLineNum = 875;BA.debugLine="Log(\"aqui2\")"; -__c.LogImpl("820512814","aqui2",0); +__c.LogImpl("461079598","aqui2",0); }; }else { //BA.debugLineNum = 878;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; @@ -410,7 +410,7 @@ _c2.setPosition((int) (0)); //BA.debugLineNum = 881;BA.debugLine="Private puc As String = c2.GetString(\"HVD_COS"; _puc = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("CANTC")))); //BA.debugLineNum = 882;BA.debugLine="Log(puc)"; -__c.LogImpl("820512821",_puc,0); +__c.LogImpl("461079605",_puc,0); //BA.debugLineNum = 885;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDID"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,1,1,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2)))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),_puc,_puc,BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)})); //BA.debugLineNum = 886;BA.debugLine="B4XPage_Appear"; @@ -437,9 +437,9 @@ float _preciou = 0f; //BA.debugLineNum = 567;BA.debugLine="etCantHasFocus = False"; _etcanthasfocus = __c.False; //BA.debugLineNum = 568;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("820381698","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); +__c.LogImpl("460948482","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); //BA.debugLineNum = 569;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("820381699","b_prodMenos_Click",__c.Colors.Magenta); +__c.LogImpl("460948483","b_prodMenos_Click",__c.Colors.Magenta); //BA.debugLineNum = 570;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; _index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); //BA.debugLineNum = 571;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; @@ -455,7 +455,7 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3)); _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); //BA.debugLineNum = 576;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; -__c.LogImpl("820381706","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("460948490","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); //BA.debugLineNum = 578;BA.debugLine="Private minimoadesc As String"; _minimoadesc = ""; //BA.debugLineNum = 579;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; @@ -486,7 +486,7 @@ _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Obje if ((double)(Double.parseDouble(_lacant.getText()))<0) { _lacant.setText(BA.ObjectToCharSequence(0));}; //BA.debugLineNum = 627;BA.debugLine="Log(\"NO ES promo\")"; -__c.LogImpl("820381757","NO ES promo",0); +__c.LogImpl("460948541","NO ES promo",0); //BA.debugLineNum = 632;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; _c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); @@ -525,7 +525,7 @@ _b4xpage_appear(); //BA.debugLineNum = 658;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; _preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); //BA.debugLineNum = 659;BA.debugLine="Log(\"PU: \" & preciou)"; -__c.LogImpl("820381789","PU: "+BA.NumberToString(_preciou),0); +__c.LogImpl("460948573","PU: "+BA.NumberToString(_preciou),0); //BA.debugLineNum = 670;BA.debugLine="End Sub"; return ""; } @@ -541,9 +541,9 @@ float _preciou = 0f; //BA.debugLineNum = 895;BA.debugLine="etCantHasFocus = False"; _etcanthasfocus = __c.False; //BA.debugLineNum = 896;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("820578306","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); +__c.LogImpl("461145090","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); //BA.debugLineNum = 897;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("820578307","b_prodMenos_Click",__c.Colors.Magenta); +__c.LogImpl("461145091","b_prodMenos_Click",__c.Colors.Magenta); //BA.debugLineNum = 898;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; _index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); //BA.debugLineNum = 899;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; @@ -559,7 +559,7 @@ _lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); _estetag = new anywheresoftware.b4a.objects.collections.List(); _estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); //BA.debugLineNum = 904;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get"; -__c.LogImpl("820578314","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("461145098","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); //BA.debugLineNum = 908;BA.debugLine="If laCantc.Text > 0 Then"; if ((double)(Double.parseDouble(_lacantc.getText()))>0) { //BA.debugLineNum = 911;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; @@ -579,7 +579,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDI }; }; //BA.debugLineNum = 920;BA.debugLine="Log(\"entre al if o algo asi \")"; -__c.LogImpl("820578330","entre al if o algo asi ",0); +__c.LogImpl("461145114","entre al if o algo asi ",0); //BA.debugLineNum = 921;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; if ((_lacantc.getText()).equals("")) { _lacantc.setText(BA.ObjectToCharSequence(0));}; @@ -595,7 +595,7 @@ _b4xpage_appear(); //BA.debugLineNum = 930;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; _preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); //BA.debugLineNum = 931;BA.debugLine="Log(\"PU: \" & preciou)"; -__c.LogImpl("820578341","PU: "+BA.NumberToString(_preciou),0); +__c.LogImpl("461145125","PU: "+BA.NumberToString(_preciou),0); //BA.debugLineNum = 932;BA.debugLine="End Sub"; return ""; } @@ -733,14 +733,14 @@ _resta = BA.NumberToString(0); //BA.debugLineNum = 153;BA.debugLine="If c3.RowCount > 0 Then"; if (_c3.getRowCount()>0) { //BA.debugLineNum = 155;BA.debugLine="Log(1)"; -__c.LogImpl("819857489",BA.NumberToString(1),0); +__c.LogImpl("460424273",BA.NumberToString(1),0); //BA.debugLineNum = 156;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); //BA.debugLineNum = 157;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; _resta = _c3.GetString("PE_CANT"); }else { //BA.debugLineNum = 160;BA.debugLine="Log(2)"; -__c.LogImpl("819857494",BA.NumberToString(2),0); +__c.LogImpl("460424278",BA.NumberToString(2),0); //BA.debugLineNum = 161;BA.debugLine="resta = 0"; _resta = BA.NumberToString(0); }; @@ -757,16 +757,16 @@ _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); //BA.debugLineNum = 169;BA.debugLine="preciocat.Close"; _preciocat.Close(); //BA.debugLineNum = 170;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))"; -__c.LogImpl("819857504",_c.GetString("HVD_CODPROMO"),0); +__c.LogImpl("460424288",_c.GetString("HVD_CODPROMO"),0); //BA.debugLineNum = 171;BA.debugLine="Log(Subs.traeAlmacen)"; -__c.LogImpl("819857505",_subs._traealmacen /*String*/ (ba),0); +__c.LogImpl("460424289",_subs._traealmacen /*String*/ (ba),0); //BA.debugLineNum = 174;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { //BA.debugLineNum = 175;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; _clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,_c.GetString("HVD_PROID"),_c.GetString("HVD_CODPROMO"),_c.GetString("CONSECUTIVO")),(int)(Double.parseDouble(_c2.GetString("PE_CANT"))),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_c2.GetString("PE_CANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }else { //BA.debugLineNum = 177;BA.debugLine="Log(\"aqui arriba\")"; -__c.LogImpl("819857511","aqui arriba",0); +__c.LogImpl("460424295","aqui arriba",0); //BA.debugLineNum = 178;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; _clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_preciofull,(int)(Double.parseDouble(_c2.GetString("PE_CANT"))),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_c2.GetString("PE_CANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }; @@ -779,14 +779,14 @@ _resta = BA.NumberToString(0); //BA.debugLineNum = 186;BA.debugLine="If c3.RowCount > 0 Then"; if (_c3.getRowCount()>0) { //BA.debugLineNum = 188;BA.debugLine="Log(3)"; -__c.LogImpl("819857522",BA.NumberToString(3),0); +__c.LogImpl("460424306",BA.NumberToString(3),0); //BA.debugLineNum = 189;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); //BA.debugLineNum = 190;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; _resta = _c3.GetString("PE_CANT"); }else { //BA.debugLineNum = 193;BA.debugLine="Log(4)"; -__c.LogImpl("819857527",BA.NumberToString(4),0); +__c.LogImpl("460424311",BA.NumberToString(4),0); //BA.debugLineNum = 194;BA.debugLine="resta = 0"; _resta = BA.NumberToString(0); }; @@ -803,16 +803,16 @@ _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); //BA.debugLineNum = 203;BA.debugLine="preciocat.Close"; _preciocat.Close(); //BA.debugLineNum = 204;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))"; -__c.LogImpl("819857538",_c.GetString("HVD_CODPROMO"),0); +__c.LogImpl("460424322",_c.GetString("HVD_CODPROMO"),0); //BA.debugLineNum = 205;BA.debugLine="Log(Subs.traeAlmacen)"; -__c.LogImpl("819857539",_subs._traealmacen /*String*/ (ba),0); +__c.LogImpl("460424323",_subs._traealmacen /*String*/ (ba),0); //BA.debugLineNum = 207;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { //BA.debugLineNum = 208;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; _clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,_c.GetString("HVD_PROID"),_c.GetString("HVD_CODPROMO"),_c.GetString("CONSECUTIVO")),(int) (0),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }else { //BA.debugLineNum = 210;BA.debugLine="Log(\"aqui abajo\")"; -__c.LogImpl("819857544","aqui abajo",0); +__c.LogImpl("460424328","aqui abajo",0); //BA.debugLineNum = 211;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; _clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_preciofull,(int) (0),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }; @@ -822,7 +822,7 @@ _clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware. _c2.Close(); }else if((_c.GetString("BCAJAS")).equals("1")) { //BA.debugLineNum = 222;BA.debugLine="Log(\"AQUI1\")"; -__c.LogImpl("819857556","AQUI1",0); +__c.LogImpl("460424340","AQUI1",0); //BA.debugLineNum = 225;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery("; _oc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _oc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CANT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+"'")))); @@ -884,9 +884,9 @@ if (_c2.getRowCount()>0) { //BA.debugLineNum = 259;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); //BA.debugLineNum = 260;BA.debugLine="Log(\"SI ENTRO A PONER CAJAS BIEN \")"; -__c.LogImpl("819857594","SI ENTRO A PONER CAJAS BIEN ",0); +__c.LogImpl("460424378","SI ENTRO A PONER CAJAS BIEN ",0); //BA.debugLineNum = 261;BA.debugLine="Log(c2.GetString(\"PE_CAJAS\"))"; -__c.LogImpl("819857595",_c2.GetString("PE_CAJAS"),0); +__c.LogImpl("460424379",_c2.GetString("PE_CAJAS"),0); //BA.debugLineNum = 262;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; _c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'")))); @@ -895,26 +895,26 @@ _resta = BA.NumberToString(0); //BA.debugLineNum = 265;BA.debugLine="If c3.RowCount > 0 Then"; if (_c3.getRowCount()>0) { //BA.debugLineNum = 267;BA.debugLine="Log(5)"; -__c.LogImpl("819857601",BA.NumberToString(5),0); +__c.LogImpl("460424385",BA.NumberToString(5),0); //BA.debugLineNum = 268;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); //BA.debugLineNum = 269;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; _resta = _c3.GetString("PE_CANT"); }else { //BA.debugLineNum = 272;BA.debugLine="Log(6)"; -__c.LogImpl("819857606",BA.NumberToString(6),0); +__c.LogImpl("460424390",BA.NumberToString(6),0); //BA.debugLineNum = 273;BA.debugLine="resta = 0"; _resta = BA.NumberToString(0); }; //BA.debugLineNum = 275;BA.debugLine="Private puc As String = c.GetString(\"HVD_COS"; _puc = BA.NumberToString((double)(Double.parseDouble(_c.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c.GetString("CANTC")))); //BA.debugLineNum = 276;BA.debugLine="LogColor((restacant/Subs.traeConversion(c.Ge"; -__c.LogImpl("819857610",BA.NumberToString(((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),__c.Colors.Green); +__c.LogImpl("460424394",BA.NumberToString(((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),__c.Colors.Green); //BA.debugLineNum = 277;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\""; _clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_c.GetString("HVD_PRONOMBRE"),_puc,(int) (((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),(int) ((((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant))-(double)(Double.parseDouble(_resta)))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); }else { //BA.debugLineNum = 279;BA.debugLine="Log(\"NO ENTRO A PONER CAJAS BIEN \")"; -__c.LogImpl("819857613","NO ENTRO A PONER CAJAS BIEN ",0); +__c.LogImpl("460424397","NO ENTRO A PONER CAJAS BIEN ",0); //BA.debugLineNum = 280;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; _c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'")))); @@ -923,19 +923,19 @@ _resta = BA.NumberToString(0); //BA.debugLineNum = 283;BA.debugLine="If c3.RowCount > 0 Then"; if (_c3.getRowCount()>0) { //BA.debugLineNum = 285;BA.debugLine="Log(7)"; -__c.LogImpl("819857619",BA.NumberToString(7),0); +__c.LogImpl("460424403",BA.NumberToString(7),0); //BA.debugLineNum = 286;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); //BA.debugLineNum = 287;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; _resta = _c3.GetString("PE_CANT"); }else { //BA.debugLineNum = 290;BA.debugLine="Log(1)"; -__c.LogImpl("819857624",BA.NumberToString(1),0); +__c.LogImpl("460424408",BA.NumberToString(1),0); //BA.debugLineNum = 291;BA.debugLine="resta = 0"; _resta = BA.NumberToString(0); }; //BA.debugLineNum = 293;BA.debugLine="LogColor(resta,Colors.Green)"; -__c.LogImpl("819857627",_resta,__c.Colors.Green); +__c.LogImpl("460424411",_resta,__c.Colors.Green); //BA.debugLineNum = 294;BA.debugLine="Private puc As String = c.GetString(\"HVD_COS"; _puc = BA.NumberToString((double)(Double.parseDouble(_c.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c.GetString("CANTC")))); //BA.debugLineNum = 296;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\""; @@ -1186,9 +1186,9 @@ if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { _l_prodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); }; //BA.debugLineNum = 546;BA.debugLine="Log(inv&\" inventario 1\")"; -__c.LogImpl("820316174",BA.NumberToString(_inv)+" inventario 1",0); +__c.LogImpl("460882958",BA.NumberToString(_inv)+" inventario 1",0); //BA.debugLineNum = 547;BA.debugLine="Log(inv2&\" inventario 2\")"; -__c.LogImpl("820316175",BA.NumberToString(_inv2)+" inventario 2",0); +__c.LogImpl("460882959",BA.NumberToString(_inv2)+" inventario 2",0); //BA.debugLineNum = 548;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; _l_prodx.setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); //BA.debugLineNum = 550;BA.debugLine="l_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; @@ -1253,7 +1253,7 @@ return ""; public String _p_prods_click() throws Exception{ //BA.debugLineNum = 1116;BA.debugLine="Sub p_prods_Click"; //BA.debugLineNum = 1117;BA.debugLine="Log(Sender.As(Panel).tag)"; -__c.LogImpl("820971521",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); +__c.LogImpl("461538305",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); //BA.debugLineNum = 1118;BA.debugLine="End Sub"; return ""; } diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_tabulador.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_tabulador.java index f5f4b4d..9124126 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_tabulador.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_tabulador.java @@ -49,11 +49,11 @@ public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -163,7 +163,7 @@ _d.setPosition((int) (0)); //BA.debugLineNum = 43;BA.debugLine="If c.RowCount > 0 And d.RowCount > 0 Then"; if (_c.getRowCount()>0 && _d.getRowCount()>0) { //BA.debugLineNum = 44;BA.debugLine="Log(\"TABULADR CON RESUKTADO\")"; -__c.LogImpl("821233670","TABULADR CON RESUKTADO",0); +__c.LogImpl("461800454","TABULADR CON RESUKTADO",0); //BA.debugLineNum = 45;BA.debugLine="et_mil.Text = c.GetString(\"MIL\")"; _et_mil.setText(BA.ObjectToCharSequence(_c.GetString("MIL"))); //BA.debugLineNum = 46;BA.debugLine="et_quinientos.Text = c.GetString(\"QUINIENTOS\")"; @@ -192,7 +192,7 @@ _et_m_centavo.setText(BA.ObjectToCharSequence(_d.GetString("CENTAVO"))); _l_total.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL"))); }else if(_c.getRowCount()==0 && _d.getRowCount()==0) { //BA.debugLineNum = 59;BA.debugLine="Log(\"TABULADR SIN RESUKTADO\")"; -__c.LogImpl("821233685","TABULADR SIN RESUKTADO",0); +__c.LogImpl("461800469","TABULADR SIN RESUKTADO",0); //BA.debugLineNum = 60;BA.debugLine="et_mil.Text = \"\""; _et_mil.setText(BA.ObjectToCharSequence("")); //BA.debugLineNum = 61;BA.debugLine="et_quinientos.Text = \"\""; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_ticketsdia.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_ticketsdia.java index 49c1be0..f2dcb4e 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_ticketsdia.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_ticketsdia.java @@ -29,11 +29,11 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_updateavailable.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_updateavailable.java index 4f2e4b1..3f715d8 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/c_updateavailable.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_updateavailable.java @@ -29,11 +29,11 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -124,7 +124,7 @@ case 9: this.state = 10; this.catchState = 0; //BA.debugLineNum = 28;BA.debugLine="Log(\"updateAvailable() Error - \" & LastException"; -parent.__c.LogImpl("821823498","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0); +parent.__c.LogImpl("462390282","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0); if (true) break; if (true) break; ; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/cameraexclass.java b/B4A/Objects/src/reparto_izca/keymon/lat/cameraexclass.java index 1b08ab5..d2f234c 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/cameraexclass.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/cameraexclass.java @@ -34,11 +34,11 @@ public Object _parameters = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -79,7 +79,7 @@ if (_success) { _takepicture(); }else { //BA.debugLineNum = 279;BA.debugLine="Log(\"AutoFocus error.\")"; -__c.LogImpl("824248324","AutoFocus error.",0); +__c.LogImpl("464815108","AutoFocus error.",0); }; //BA.debugLineNum = 281;BA.debugLine="End Sub"; return ""; @@ -117,7 +117,7 @@ _parameters = _r.RunMethod("getParameters"); _setdisplayorientation(); }else { //BA.debugLineNum = 90;BA.debugLine="Log(\"success = false, \" & LastException)"; -__c.LogImpl("822347784","success = false, "+BA.ObjectToString(__c.LastException(ba)),0); +__c.LogImpl("462914568","success = false, "+BA.ObjectToString(__c.LastException(ba)),0); }; //BA.debugLineNum = 92;BA.debugLine="CallSub2(target, event & \"_ready\", Success)"; __c.CallSubNew2(ba,_target,_event+"_ready",(Object)(_success)); @@ -170,7 +170,7 @@ _r.RunMethod4("setParameters",new Object[]{_parameters},new String[]{"android.ha ba.setLastException(e5); //BA.debugLineNum = 142;BA.debugLine="ToastMessageShow(\"Error setting parameters.\", Tr"; __c.ToastMessageShow(BA.ObjectToCharSequence("Error setting parameters."),__c.True); //BA.debugLineNum = 143;BA.debugLine="Log(LastException)"; -__c.LogImpl("823003142",BA.ObjectToString(__c.LastException(ba)),0); +__c.LogImpl("463569926",BA.ObjectToString(__c.LastException(ba)),0); }; //BA.debugLineNum = 145;BA.debugLine="End Sub"; return ""; @@ -490,7 +490,7 @@ _setfocusmode("continuous-picture"); _setfocusmode("continuous-video"); }else { //BA.debugLineNum = 249;BA.debugLine="Log(\"Continuous focus mode is not availabl"; -__c.LogImpl("823920647","Continuous focus mode is not available",0); +__c.LogImpl("464487431","Continuous focus mode is not available",0); }; //BA.debugLineNum = 251;BA.debugLine="End Sub"; return ""; @@ -534,7 +534,7 @@ _previewresult = (int) ((_orientation-_degrees+360)%360); //BA.debugLineNum = 72;BA.debugLine="result = previewResult"; _result = _previewresult; //BA.debugLineNum = 73;BA.debugLine="Log(previewResult)"; -__c.LogImpl("822282256",BA.NumberToString(_previewresult),0); +__c.LogImpl("462849040",BA.NumberToString(_previewresult),0); }; //BA.debugLineNum = 75;BA.debugLine="r.target = nativeCam"; _r.Target = _nativecam; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/cl_appupdate.java b/B4A/Objects/src/reparto_izca/keymon/lat/cl_appupdate.java index 6deec30..b4a8fc3 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/cl_appupdate.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/cl_appupdate.java @@ -63,11 +63,11 @@ public int _logcolor1 = 0; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -220,7 +220,7 @@ case 0: //C this.state = 1; //BA.debugLineNum = 159;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor"; -parent.__c.LogImpl("932374785","---- AppUpdating.DownloadApk",parent._logcolor1); +parent.__c.LogImpl("912255233","---- AppUpdating.DownloadApk",parent._logcolor1); //BA.debugLineNum = 161;BA.debugLine="If sNewVerApk = \"\" Then"; if (true) break; @@ -249,7 +249,7 @@ this.state = 6; case 6: //C this.state = 9; -parent.__c.LogImpl("932374789",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0); +parent.__c.LogImpl("912255237",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0); if (true) break; case 9: @@ -286,7 +286,7 @@ this.state = 11; _j = (reparto_izca.keymon.lat.httpjob) result[0]; ; //BA.debugLineNum = 174;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; -parent.__c.LogImpl("932374800",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); +parent.__c.LogImpl("912255248",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); //BA.debugLineNum = 175;BA.debugLine="If j.Success Then"; if (true) break; @@ -311,7 +311,7 @@ parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftwar //BA.debugLineNum = 180;BA.debugLine="out.Close"; _out.Close(); //BA.debugLineNum = 181;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; -parent.__c.LogImpl("932374807",("Copy2 (saving) ok? TRUE"),0); +parent.__c.LogImpl("912255255",("Copy2 (saving) ok? TRUE"),0); //BA.debugLineNum = 182;BA.debugLine="sStatusCode = OK_DOWNLOAD"; parent._sstatuscode = parent._ok_download; //BA.debugLineNum = 183;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version dow"; @@ -327,7 +327,7 @@ this.state = 16; case 16: //C this.state = 19; -parent.__c.LogImpl("932374809",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0); +parent.__c.LogImpl("912255257",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0); if (true) break; case 19: @@ -340,7 +340,7 @@ case 21: //C this.state = 22; //BA.debugLineNum = 185;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; -parent.__c.LogImpl("932374811",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +parent.__c.LogImpl("912255259",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); //BA.debugLineNum = 186;BA.debugLine="sStatusCode = ERR_HTTP"; parent._sstatuscode = parent._err_http; //BA.debugLineNum = 187;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils2"; @@ -356,7 +356,7 @@ this.state = 24; case 24: //C this.state = 27; -parent.__c.LogImpl("932374813",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +parent.__c.LogImpl("912255261",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); if (true) break; case 27: @@ -683,14 +683,14 @@ _usefileprovider = __c.False; _sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); }; //BA.debugLineNum = 69;BA.debugLine="Log($\"SDK#: ${p.SdkVersion} - UseFP: ${UseFilePro"; -__c.LogImpl("931391765",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(_sharedfolder))+""),0); +__c.LogImpl("911272213",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(_sharedfolder))+""),0); //BA.debugLineNum = 70;BA.debugLine="End Sub"; return ""; } public String _installapk(boolean _pstatus) throws Exception{ //BA.debugLineNum = 195;BA.debugLine="Public Sub InstallApk(pstatus As Boolean)"; //BA.debugLineNum = 196;BA.debugLine="LogColor(\"---- AppUpdating.InstallApk\", LogColor1"; -__c.LogImpl("932440321","---- AppUpdating.InstallApk",_logcolor1); +__c.LogImpl("912320769","---- AppUpdating.InstallApk",_logcolor1); //BA.debugLineNum = 197;BA.debugLine="If pstatus Then"; if (_pstatus) { //BA.debugLineNum = 198;BA.debugLine="SendInstallIntent"; @@ -699,13 +699,13 @@ _sendinstallintent(); _sstatuscode = _ok_install; //BA.debugLineNum = 200;BA.debugLine="If sVerbose Then Log(TAB & \"user asked to instal"; if (_sverbose) { -__c.LogImpl("932440325",__c.TAB+"user asked to install new apk",0);}; +__c.LogImpl("912320773",__c.TAB+"user asked to install new apk",0);}; }else { //BA.debugLineNum = 202;BA.debugLine="sStatusCode = ERR_NOPERM"; _sstatuscode = _err_noperm; //BA.debugLineNum = 203;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; if (_sverbose) { -__c.LogImpl("932440328",__c.TAB+"no permissions from user to install new apk",0);}; +__c.LogImpl("912320776",__c.TAB+"no permissions from user to install new apk",0);}; }; //BA.debugLineNum = 205;BA.debugLine="Finito"; _finito(); @@ -723,7 +723,7 @@ _curver = ""; _sstatuscode = _err_nopkg; //BA.debugLineNum = 301;BA.debugLine="If sVerbose Then Log($\"${TAB}missing package nam"; if (_sverbose) { -__c.LogImpl("932702468",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);}; +__c.LogImpl("912582916",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);}; }else { //BA.debugLineNum = 303;BA.debugLine="Dim pm As PackageManager"; _pm = new anywheresoftware.b4a.phone.PackageManagerWrapper(); @@ -733,7 +733,7 @@ _curver = _pm.GetVersionName(_spackagename); _sstatuscode = _ok_curver; //BA.debugLineNum = 306;BA.debugLine="If sVerbose Then Log($\"${TAB}Current Version: ${"; if (_sverbose) { -__c.LogImpl("932702473",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(_curver))+""),0);}; +__c.LogImpl("912582921",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(_curver))+""),0);}; }; //BA.debugLineNum = 308;BA.debugLine="Return (sStatusCode == OK_CURVER)"; if (true) return (_sstatuscode==_ok_curver); @@ -764,7 +764,7 @@ case 0: //C this.state = 1; //BA.debugLineNum = 313;BA.debugLine="Log(\"IsValidComplete start\")"; -parent.__c.LogImpl("932768001","IsValidComplete start",0); +parent.__c.LogImpl("912648449","IsValidComplete start",0); //BA.debugLineNum = 314;BA.debugLine="If sNewVerTxt = \"\" Then"; if (true) break; @@ -797,7 +797,7 @@ this.state = 6; case 6: //C this.state = 9; -parent.__c.LogImpl("932768005",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0); +parent.__c.LogImpl("912648453",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0); if (true) break; case 9: @@ -820,7 +820,7 @@ _j._password /*String*/ = parent._supassword; //BA.debugLineNum = 324;BA.debugLine="j.Download(sNewVerTxt) 'ex: jobapk.Downlo"; _j._download /*String*/ (parent._snewvertxt); //BA.debugLineNum = 325;BA.debugLine="Log(\"before\")"; -parent.__c.LogImpl("932768013","before",0); +parent.__c.LogImpl("912648461","before",0); //BA.debugLineNum = 326;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); this.state = 61; @@ -831,7 +831,7 @@ this.state = 12; _j = (reparto_izca.keymon.lat.httpjob) result[0]; ; //BA.debugLineNum = 327;BA.debugLine="Log(\"after\")"; -parent.__c.LogImpl("932768015","after",0); +parent.__c.LogImpl("912648463","after",0); //BA.debugLineNum = 328;BA.debugLine="If j.Success Then"; if (true) break; @@ -860,7 +860,7 @@ this.state = 17; case 17: //C this.state = 20; -parent.__c.LogImpl("932768017",("Webserver's info file content: "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_j._getstring /*String*/ ()))+""),0); +parent.__c.LogImpl("912648465",("Webserver's info file content: "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_j._getstring /*String*/ ()))+""),0); if (true) break; case 20: @@ -918,7 +918,7 @@ this.state = 29; case 29: //C this.state = 32; -parent.__c.LogImpl("932768024",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0); +parent.__c.LogImpl("912648472",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0); if (true) break; case 32: @@ -945,7 +945,7 @@ this.state = 37; case 37: //C this.state = 40; -parent.__c.LogImpl("932768027",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(parent._webver))+""),0); +parent.__c.LogImpl("912648475",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(parent._webver))+""),0); if (true) break; case 40: @@ -978,7 +978,7 @@ this.state = 46; case 46: //C this.state = 49; -parent.__c.LogImpl("932768031",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0); +parent.__c.LogImpl("912648479",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0); if (true) break; case 49: @@ -997,7 +997,7 @@ case 52: //C this.state = 53; //BA.debugLineNum = 346;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; -parent.__c.LogImpl("932768034",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +parent.__c.LogImpl("912648482",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); //BA.debugLineNum = 347;BA.debugLine="sStatusCode = ERR_HTTP"; parent._sstatuscode = parent._err_http; //BA.debugLineNum = 348;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; @@ -1013,7 +1013,7 @@ this.state = 55; case 55: //C this.state = 58; -parent.__c.LogImpl("932768036",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +parent.__c.LogImpl("912648484",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); if (true) break; case 58: @@ -1049,7 +1049,7 @@ if (true) break; public String _readcurvn() throws Exception{ //BA.debugLineNum = 143;BA.debugLine="Public Sub ReadCurVN"; //BA.debugLineNum = 144;BA.debugLine="LogColor(\"---- AppUpdating.ReadCurVN\", LogColor1)"; -__c.LogImpl("932243713","---- AppUpdating.ReadCurVN",_logcolor1); +__c.LogImpl("912124161","---- AppUpdating.ReadCurVN",_logcolor1); //BA.debugLineNum = 145;BA.debugLine="IsValidCV 'we don't care about its resu"; _isvalidcv(); //BA.debugLineNum = 146;BA.debugLine="Finito"; @@ -1080,7 +1080,7 @@ case 0: //C this.state = -1; //BA.debugLineNum = 152;BA.debugLine="LogColor(\"---- AppUpdating.ReadWebVN\", LogColor1)"; -parent.__c.LogImpl("932309249","---- AppUpdating.ReadWebVN",parent._logcolor1); +parent.__c.LogImpl("912189697","---- AppUpdating.ReadWebVN",parent._logcolor1); //BA.debugLineNum = 153;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolean"; parent.__c.WaitFor("complete", ba, this, parent._isvalidwv()); this.state = 1; @@ -1243,7 +1243,7 @@ case 0: //C this.state = 1; //BA.debugLineNum = 246;BA.debugLine="LogColor($\"${TAB}-- TryApkUpdate\"$, LogColor1)"; -parent.__c.LogImpl("932571393",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),parent._logcolor1); +parent.__c.LogImpl("912451841",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),parent._logcolor1); //BA.debugLineNum = 248;BA.debugLine="If ((sStatusCode >= 0) And (sStatusCode <> NO_NEW"; if (true) break; @@ -1277,7 +1277,7 @@ this.state = 4; _j = (reparto_izca.keymon.lat.httpjob) result[0]; ; //BA.debugLineNum = 256;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; -parent.__c.LogImpl("932571403",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); +parent.__c.LogImpl("912451851",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); //BA.debugLineNum = 257;BA.debugLine="If j.Success Then"; if (true) break; @@ -1316,7 +1316,7 @@ parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftwar //BA.debugLineNum = 263;BA.debugLine="out.Close"; _out.Close(); //BA.debugLineNum = 264;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; -parent.__c.LogImpl("932571411",("Copy2 (saving) ok? TRUE"),0); +parent.__c.LogImpl("912451859",("Copy2 (saving) ok? TRUE"),0); //BA.debugLineNum = 265;BA.debugLine="sStatusCode = OK_DOWNLOAD"; parent._sstatuscode = parent._ok_download; //BA.debugLineNum = 266;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version d"; @@ -1332,7 +1332,7 @@ this.state = 12; case 12: //C this.state = 15; -parent.__c.LogImpl("932571413",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0); +parent.__c.LogImpl("912451861",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0); if (true) break; case 15: @@ -1346,7 +1346,7 @@ case 17: this.state = 18; this.catchState = 0; //BA.debugLineNum = 268;BA.debugLine="Log($\"Copy2 (saving) ok? FALSE\"$)"; -parent.__c.LogImpl("932571415",("Copy2 (saving) ok? FALSE"),0); +parent.__c.LogImpl("912451863",("Copy2 (saving) ok? FALSE"),0); //BA.debugLineNum = 269;BA.debugLine="sStatusCode = ERR_DOWNLOAD"; parent._sstatuscode = parent._err_download; //BA.debugLineNum = 270;BA.debugLine="If sVerbose Then Log($\"${TAB}failed download o"; @@ -1362,7 +1362,7 @@ this.state = 20; case 20: //C this.state = 23; -parent.__c.LogImpl("932571417",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0); +parent.__c.LogImpl("912451865",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0); if (true) break; case 23: @@ -1385,7 +1385,7 @@ case 26: //C this.state = 27; //BA.debugLineNum = 274;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; -parent.__c.LogImpl("932571421",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +parent.__c.LogImpl("912451869",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); //BA.debugLineNum = 275;BA.debugLine="sStatusCode = ERR_HTTP"; parent._sstatuscode = parent._err_http; //BA.debugLineNum = 276;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; @@ -1401,7 +1401,7 @@ this.state = 29; case 29: //C this.state = 32; -parent.__c.LogImpl("932571423",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +parent.__c.LogImpl("912451871",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); if (true) break; case 32: @@ -1448,7 +1448,7 @@ this.state = 39; case 39: //C this.state = 42; -parent.__c.LogImpl("932571430",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0); +parent.__c.LogImpl("912451878",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0); if (true) break; case 42: @@ -1509,7 +1509,7 @@ case 0: //C this.state = 1; //BA.debugLineNum = 211;BA.debugLine="LogColor(\"---- AppUpdating.UpdateApk\", LogColor1)"; -parent.__c.LogImpl("932505857","---- AppUpdating.UpdateApk",parent._logcolor1); +parent.__c.LogImpl("912386305","---- AppUpdating.UpdateApk",parent._logcolor1); //BA.debugLineNum = 212;BA.debugLine="If Not(pstatus) Then"; if (true) break; @@ -1540,7 +1540,7 @@ this.state = 6; case 6: //C this.state = 9; -parent.__c.LogImpl("932505860",parent.__c.TAB+"no permissions from user to install new apk",0); +parent.__c.LogImpl("912386308",parent.__c.TAB+"no permissions from user to install new apk",0); if (true) break; case 9: @@ -1632,7 +1632,7 @@ this.state = 26; case 26: //C this.state = 29; -parent.__c.LogImpl("932505870",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0); +parent.__c.LogImpl("912386318",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0); if (true) break; case 29: @@ -1674,7 +1674,7 @@ this.state = 36; case 36: //C this.state = 39; -parent.__c.LogImpl("932505875",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0); +parent.__c.LogImpl("912386323",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0); if (true) break; case 39: @@ -1709,7 +1709,7 @@ this.state = 45; case 45: //C this.state = 48; -parent.__c.LogImpl("932505878",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0); +parent.__c.LogImpl("912386326",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0); if (true) break; case 48: @@ -1748,7 +1748,7 @@ this.state = 55; case 55: //C this.state = 58; -parent.__c.LogImpl("932505883",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0); +parent.__c.LogImpl("912386331",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0); if (true) break; case 58: diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/dbrequestmanager.java b/B4A/Objects/src/reparto_izca/keymon/lat/dbrequestmanager.java index dc7edee..e70e09e 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/dbrequestmanager.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/dbrequestmanager.java @@ -42,11 +42,11 @@ public String _jobtaganterior = ""; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -267,7 +267,7 @@ _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); _table.Tag /*Object*/ = _job._tag /*Object*/ ; //BA.debugLineNum = 194;BA.debugLine="If jobTagAnterior <> Job.Tag Then LogColor(\"Handl"; if ((_jobtaganterior).equals(BA.ObjectToString(_job._tag /*Object*/ )) == false) { -__c.LogImpl("825165836","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.Blue);}; +__c.LogImpl("465732620","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.Blue);}; //BA.debugLineNum = 195;BA.debugLine="jobTagAnterior = Job.Tag 'Mod por CHV - 211023"; _jobtaganterior = BA.ObjectToString(_job._tag /*Object*/ ); //BA.debugLineNum = 196;BA.debugLine="If method = \"query\" Then"; @@ -367,7 +367,7 @@ Object[] _row = null; Object _record = null; //BA.debugLineNum = 248;BA.debugLine="Public Sub PrintTable(Table As DBResult)"; //BA.debugLineNum = 249;BA.debugLine="Log(\"Tag: \" & Table.Tag & \", Columns: \" & Table.C"; -__c.LogImpl("825427969","Tag: "+BA.ObjectToString(_table.Tag /*Object*/ )+", Columns: "+BA.NumberToString(_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .getSize())+", Rows: "+BA.NumberToString(_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); +__c.LogImpl("465994753","Tag: "+BA.ObjectToString(_table.Tag /*Object*/ )+", Columns: "+BA.NumberToString(_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .getSize())+", Rows: "+BA.NumberToString(_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); //BA.debugLineNum = 250;BA.debugLine="Dim sb As StringBuilder"; _sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); //BA.debugLineNum = 251;BA.debugLine="sb.Initialize"; @@ -385,7 +385,7 @@ _sb.Append(BA.ObjectToString(_col)).Append(__c.TAB); } }; //BA.debugLineNum = 255;BA.debugLine="Log(sb.ToString)"; -__c.LogImpl("825427975",_sb.ToString(),0); +__c.LogImpl("465994759",_sb.ToString(),0); //BA.debugLineNum = 256;BA.debugLine="For Each row() As Object In Table.Rows"; { final anywheresoftware.b4a.BA.IterableList group8 = _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/escposprinter.java b/B4A/Objects/src/reparto_izca/keymon/lat/escposprinter.java index b43bcae..e3423a6 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/escposprinter.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/escposprinter.java @@ -61,11 +61,11 @@ public String _defaults = ""; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -106,7 +106,7 @@ if (__c.SubExists(ba,_callback,_eventname+"_NewData")) { __c.CallSubNew2(ba,_callback,_eventname+"_NewData",(Object)(_buffer)); }; //BA.debugLineNum = 2282;BA.debugLine="Log(\"Data \" & Buffer(0))"; -__c.LogImpl("828966916","Data "+BA.NumberToString(_buffer[(int) (0)]),0); +__c.LogImpl("469533700","Data "+BA.NumberToString(_buffer[(int) (0)]),0); //BA.debugLineNum = 2283;BA.debugLine="End Sub"; return ""; } @@ -248,7 +248,7 @@ if (true) return __c.True; } catch (Exception e23) { ba.setLastException(e23); //BA.debugLineNum = 1282;BA.debugLine="Log(LastException)"; -__c.LogImpl("825821212",BA.ObjectToString(__c.LastException(getActivityBA())),0); +__c.LogImpl("466387996",BA.ObjectToString(__c.LastException(getActivityBA())),0); }; //BA.debugLineNum = 1284;BA.debugLine="End Sub"; return false; @@ -263,8 +263,8 @@ return ""; public int _createbox(int _x0,int _y0,int _x1,int _y1,boolean _fill) throws Exception{ int _box = 0; //BA.debugLineNum = 1664;BA.debugLine="Public Sub CreateBox(x0 As Int, y0 As Int, x1 As I"; - //BA.debugLineNum = 1665;BA.debugLine="Dim box As Int = 0x10000000"; -_box = ((int)0x10000000); + //BA.debugLineNum = 1665;BA.debugLine="Dim box As Int = 0x100000000"; +_box = (int) (((long)0x100000000L)); //BA.debugLineNum = 1666;BA.debugLine="If fill Then box = box + 0x80000000"; if (_fill) { _box = (int) (_box+((int)0x80000000));}; @@ -415,22 +415,22 @@ _logmsg = ": Fill="+BA.NumberToString(_fill)+" : Points "+BA.NumberToString(_x0) //BA.debugLineNum = 1589;BA.debugLine="If shape = 3 Then"; if (_shape==3) { //BA.debugLineNum = 1590;BA.debugLine="Log(\"Triangle \" & logmsg)"; -__c.LogImpl("827131946","Triangle "+_logmsg,0); +__c.LogImpl("467698730","Triangle "+_logmsg,0); //BA.debugLineNum = 1591;BA.debugLine="PlotTriangle(x0, y0, x1, y1, x2, y2, points, fi"; _plottriangle(_x0,_y0,_x1,_y1,_x2,_y2,_points,_fill); }else if(_shape==2) { //BA.debugLineNum = 1593;BA.debugLine="Log(\"Circle \" & logmsg)"; -__c.LogImpl("827131949","Circle "+_logmsg,0); +__c.LogImpl("467698733","Circle "+_logmsg,0); //BA.debugLineNum = 1594;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)"; _plotcircle(_x0,_y0,_x1,_y1,_points,_fill); }else if(_shape==1) { //BA.debugLineNum = 1596;BA.debugLine="Log(\"Box \" & logmsg)"; -__c.LogImpl("827131952","Box "+_logmsg,0); +__c.LogImpl("467698736","Box "+_logmsg,0); //BA.debugLineNum = 1597;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)"; _plotbox(_x0,_y0,_x1,_y1,_points,_fill); }else { //BA.debugLineNum = 1599;BA.debugLine="Log(\"Line \" & logmsg)"; -__c.LogImpl("827131955","Line "+_logmsg,0); +__c.LogImpl("467698739","Line "+_logmsg,0); //BA.debugLineNum = 1600;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; _plotline(_x0,_y0,_x1,_y1,_points); }; @@ -1933,7 +1933,7 @@ _databytes = _data.getBytes("ASCII"); //BA.debugLineNum = 2222;BA.debugLine="Dim dlow As Int = databytes.Length"; _dlow = _databytes.length; //BA.debugLineNum = 2223;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \","; -__c.LogImpl("828770307","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0); +__c.LogImpl("469337091","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0); //BA.debugLineNum = 2224;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt"; _writestring(_gs+"k"+BA.ObjectToString(_bartype.toUpperCase().charAt((int) (0)))); //BA.debugLineNum = 2225;BA.debugLine="Dim params(1) As Byte"; @@ -1971,7 +1971,7 @@ _dhigh = (int) (_databytes.length/(double)256); //BA.debugLineNum = 2239;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256"; _dlow = (int) (_databytes.length-_dhigh*256); //BA.debugLineNum = 2240;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \","; -__c.LogImpl("828835844","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0); +__c.LogImpl("469402628","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0); //BA.debugLineNum = 2241;BA.debugLine="Dim params(3) As Byte"; _params = new byte[(int) (3)]; ; @@ -2008,7 +2008,7 @@ _astream.Write(_data.getBytes(_encoding)); } catch (Exception e6) { ba.setLastException(e6); //BA.debugLineNum = 1449;BA.debugLine="Log(\"Printer error : \" & LastException.Message)"; -__c.LogImpl("826869766","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0); +__c.LogImpl("467436550","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0); //BA.debugLineNum = 1450;BA.debugLine="AStream_Error"; _astream_error(); }; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/fileprovider.java b/B4A/Objects/src/reparto_izca/keymon/lat/fileprovider.java index 7046aac..bfc4552 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/fileprovider.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/fileprovider.java @@ -30,11 +30,11 @@ public anywheresoftware.b4a.objects.RuntimePermissions _rp = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -104,7 +104,7 @@ _usefileprovider = __c.False; _sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); }; //BA.debugLineNum = 18;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; -__c.LogImpl("942795018",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); +__c.LogImpl("922675466",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); //BA.debugLineNum = 19;BA.debugLine="End Sub"; return ""; } diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/foto.java b/B4A/Objects/src/reparto_izca/keymon/lat/foto.java index ce262ca..38e6fff 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/foto.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/foto.java @@ -349,10 +349,10 @@ public static String _motivo = ""; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -444,7 +444,7 @@ String _flash = ""; //BA.debugLineNum = 151;BA.debugLine="Dim f() As Float = camEx.GetFocusDistances"; _f = mostCurrent._camex._getfocusdistances /*float[]*/ (); //BA.debugLineNum = 152;BA.debugLine="Log(f(0) & \", \" & f(1) & \", \" & f(2))"; -anywheresoftware.b4a.keywords.Common.LogImpl("830015490",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0); +anywheresoftware.b4a.keywords.Common.LogImpl("470582274",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0); //BA.debugLineNum = 153;BA.debugLine="Dim flashModes As List = camEx.GetSupportedFlashM"; _flashmodes = new anywheresoftware.b4a.objects.collections.List(); _flashmodes = mostCurrent._camex._getsupportedflashmodes /*anywheresoftware.b4a.objects.collections.List*/ (); @@ -604,7 +604,7 @@ mostCurrent._camex._commitparameters /*String*/ (); //BA.debugLineNum = 61;BA.debugLine="camEx.StartPreview"; mostCurrent._camex._startpreview /*String*/ (); //BA.debugLineNum = 62;BA.debugLine="Log(camEx.GetPreviewSize)"; -anywheresoftware.b4a.keywords.Common.LogImpl("829622277",BA.ObjectToString(mostCurrent._camex._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ ()),0); +anywheresoftware.b4a.keywords.Common.LogImpl("470189061",BA.ObjectToString(mostCurrent._camex._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ ()),0); }else { //BA.debugLineNum = 64;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),anywheresoftware.b4a.keywords.Common.True); diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/httpjob.java b/B4A/Objects/src/reparto_izca/keymon/lat/httpjob.java index 3746563..e142966 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/httpjob.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/httpjob.java @@ -40,11 +40,11 @@ public String _defaultscheme = ""; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -129,7 +129,7 @@ _req.InitializeDelete(_link); } catch (Exception e5) { ba.setLastException(e5); //BA.debugLineNum = 266;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("944695557",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("924576005",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); //BA.debugLineNum = 267;BA.debugLine="req.InitializeDelete(InvalidURL)"; _req.InitializeDelete(_invalidurl); }; @@ -148,7 +148,7 @@ _req.InitializeDelete(_escapelink(_link,_parameters)); } catch (Exception e5) { ba.setLastException(e5); //BA.debugLineNum = 277;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("944761093",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("924641541",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); //BA.debugLineNum = 278;BA.debugLine="req.InitializeDelete(escapeLink(InvalidURL, Para"; _req.InitializeDelete(_escapelink(_invalidurl,_parameters)); }; @@ -167,7 +167,7 @@ _req.InitializeGet(_link); } catch (Exception e5) { ba.setLastException(e5); //BA.debugLineNum = 224;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("944498949",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("924379397",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); //BA.debugLineNum = 225;BA.debugLine="req.InitializeGet(InvalidURL)"; _req.InitializeGet(_invalidurl); }; @@ -186,7 +186,7 @@ _req.InitializeGet(_escapelink(_link,_parameters)); } catch (Exception e5) { ba.setLastException(e5); //BA.debugLineNum = 240;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("944564485",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("924444933",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); //BA.debugLineNum = 241;BA.debugLine="req.InitializeGet(escapeLink(InvalidURL, Paramet"; _req.InitializeGet(_escapelink(_invalidurl,_parameters)); }; @@ -310,7 +310,7 @@ _req.InitializeHead(_link); } catch (Exception e5) { ba.setLastException(e5); //BA.debugLineNum = 124;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("944236805",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("924117253",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); //BA.debugLineNum = 125;BA.debugLine="req.InitializeHead(InvalidURL)"; _req.InitializeHead(_invalidurl); }; @@ -364,7 +364,7 @@ _req.InitializePatch2(_link,_data); } catch (Exception e5) { ba.setLastException(e5); //BA.debugLineNum = 109;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("944171276",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("924051724",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); //BA.debugLineNum = 110;BA.debugLine="req.InitializePatch2(InvalidURL, Data)"; _req.InitializePatch2(_invalidurl,_data); }; @@ -390,7 +390,7 @@ _req.InitializePost2(_link,_data); } catch (Exception e5) { ba.setLastException(e5); //BA.debugLineNum = 68;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("943909125",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("923789573",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); //BA.debugLineNum = 69;BA.debugLine="req.InitializePost2(InvalidURL, Data)"; _req.InitializePost2(_invalidurl,_data); }; @@ -410,7 +410,7 @@ _length = 0; //BA.debugLineNum = 197;BA.debugLine="If Dir = File.DirAssets Then"; if ((_dir).equals(__c.File.getDirAssets())) { //BA.debugLineNum = 198;BA.debugLine="Log(\"Cannot send files from the assets folder.\")"; -__c.LogImpl("944433416","Cannot send files from the assets folder.",0); +__c.LogImpl("924313864","Cannot send files from the assets folder.",0); //BA.debugLineNum = 199;BA.debugLine="Return"; if (true) return ""; }; @@ -547,7 +547,7 @@ _req.InitializePut2(_link,_data); } catch (Exception e5) { ba.setLastException(e5); //BA.debugLineNum = 85;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("944040197",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("923920645",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); //BA.debugLineNum = 86;BA.debugLine="req.InitializePut2(InvalidURL, Data)"; _req.InitializePut2(_invalidurl,_data); }; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/httputils2service.java b/B4A/Objects/src/reparto_izca/keymon/lat/httputils2service.java index a01f486..73e6dad 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/httputils2service.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/httputils2service.java @@ -51,11 +51,11 @@ public static int _taskcounter = 0; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -69,7 +69,7 @@ _job = (reparto_izca.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid))); //BA.debugLineNum = 157;BA.debugLine="If job = Null Then"; if (_job== null) { //BA.debugLineNum = 158;BA.debugLine="Log(\"HttpUtils2Service: job completed multiple t"; -anywheresoftware.b4a.keywords.Common.LogImpl("843581446","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0); +anywheresoftware.b4a.keywords.Common.LogImpl("423461894","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0); //BA.debugLineNum = 159;BA.debugLine="Return"; if (true) return ""; }; @@ -88,7 +88,7 @@ public static String _hc_responseerror(anywheresoftware.b4h.okhttp.OkHttpClient reparto_izca.keymon.lat.httpjob _job = null; //BA.debugLineNum = 115;BA.debugLine="Sub hc_ResponseError (Response As OkHttpResponse,"; //BA.debugLineNum = 117;BA.debugLine="Log($\"ResponseError. Reason: ${Reason}, Response:"; -anywheresoftware.b4a.keywords.Common.LogImpl("843515906",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("423396354",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0); //BA.debugLineNum = 119;BA.debugLine="Response.Release"; _response.Release(); //BA.debugLineNum = 120;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; @@ -96,7 +96,7 @@ _job = (reparto_izca.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid))); //BA.debugLineNum = 121;BA.debugLine="If job = Null Then"; if (_job== null) { //BA.debugLineNum = 122;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseError): job c"; -anywheresoftware.b4a.keywords.Common.LogImpl("843515911","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0); +anywheresoftware.b4a.keywords.Common.LogImpl("423396359","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0); //BA.debugLineNum = 123;BA.debugLine="Return"; if (true) return ""; }; @@ -122,7 +122,7 @@ _job = (reparto_izca.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid))); //BA.debugLineNum = 94;BA.debugLine="If job = Null Then"; if (_job== null) { //BA.debugLineNum = 95;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseSuccess): job"; -anywheresoftware.b4a.keywords.Common.LogImpl("843384835","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0); +anywheresoftware.b4a.keywords.Common.LogImpl("423265283","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0); //BA.debugLineNum = 96;BA.debugLine="Return"; if (true) return ""; }; @@ -186,9 +186,9 @@ anywheresoftware.b4a.keywords.Common.File.Delete(_tempfolder,"~test.test"); } catch (Exception e6) { processBA.setLastException(e6); //BA.debugLineNum = 34;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("843057159",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0); +anywheresoftware.b4a.keywords.Common.LogImpl("422937607",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0); //BA.debugLineNum = 35;BA.debugLine="Log(\"Switching to File.DirInternal\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("843057160","Switching to File.DirInternal",0); +anywheresoftware.b4a.keywords.Common.LogImpl("422937608","Switching to File.DirInternal",0); //BA.debugLineNum = 36;BA.debugLine="TempFolder = File.DirInternal"; _tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); }; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/madewithlove.java b/B4A/Objects/src/reparto_izca/keymon/lat/madewithlove.java index 17e8114..7c99be8 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/madewithlove.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/madewithlove.java @@ -32,11 +32,11 @@ public Object _tag = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/main.java b/B4A/Objects/src/reparto_izca/keymon/lat/main.java index a5e180f..0c8afad 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/main.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/main.java @@ -339,11 +339,11 @@ public anywheresoftware.b4a.keywords.Common __c = null; public static boolean _actionbarhomeclicked = false; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -428,11 +428,11 @@ public static void initializeProcessGlobals() { b4a.example.dateutils._process_globals(); main._process_globals(); appupdater._process_globals(); +subs._process_globals(); foto._process_globals(); mapa_cliente._process_globals(); mapa_rutas._process_globals(); starter._process_globals(); -subs._process_globals(); tracker._process_globals(); newinst2._process_globals(); b4xpages._process_globals(); diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/manageexternalstorage.java b/B4A/Objects/src/reparto_izca/keymon/lat/manageexternalstorage.java index 2532d30..91790c6 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/manageexternalstorage.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/manageexternalstorage.java @@ -30,11 +30,11 @@ public String _meventname = ""; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -121,7 +121,7 @@ return null; public String _raiseevent() throws Exception{ //BA.debugLineNum = 53;BA.debugLine="Private Sub RaiseEvent"; //BA.debugLineNum = 54;BA.debugLine="Log(\"Calling : \" & mEventName & \"_StorageAvailab"; -__c.LogImpl("830474241","Calling : "+_meventname+"_StorageAvailable",0); +__c.LogImpl("471041025","Calling : "+_meventname+"_StorageAvailable",0); //BA.debugLineNum = 55;BA.debugLine="CallSubDelayed(mCallback, mEventName & \"_StorageA"; __c.CallSubDelayed(ba,_mcallback,_meventname+"_StorageAvailable"); //BA.debugLineNum = 56;BA.debugLine="End Sub"; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/mapa_cliente.java b/B4A/Objects/src/reparto_izca/keymon/lat/mapa_cliente.java index 0423b51..4fc07fe 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/mapa_cliente.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/mapa_cliente.java @@ -361,10 +361,10 @@ public anywheresoftware.b4a.objects.ButtonWrapper _b_regresar = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -430,7 +430,7 @@ return ""; public static String _b_regresar_click() throws Exception{ //BA.debugLineNum = 105;BA.debugLine="Private Sub b_regresar_Click"; //BA.debugLineNum = 106;BA.debugLine="Log(\"Pressed\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("831260673","Pressed",0); +anywheresoftware.b4a.keywords.Common.LogImpl("471827457","Pressed",0); //BA.debugLineNum = 107;BA.debugLine="Activity.Finish"; mostCurrent._activity.Finish(); //BA.debugLineNum = 108;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/mapa_rutas.java b/B4A/Objects/src/reparto_izca/keymon/lat/mapa_rutas.java index 2f38881..d7ae4f9 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/mapa_rutas.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/mapa_rutas.java @@ -383,10 +383,10 @@ public static String _semana = ""; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -692,7 +692,7 @@ this.state = 4; //BA.debugLineNum = 123;BA.debugLine="c.IsInitialized"; parent._c.IsInitialized(); //BA.debugLineNum = 124;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LAT, CAT_CL_LONG, CAT_CL_RUTA from kmt_info where gestion = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA"))); +parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LAT, CAT_CL_LONG, CAT_CL_RUTA from kmt_info where gestion = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO NOT IN ('63403','100000') order by CAT_CL_RUTA"))); //BA.debugLineNum = 125;BA.debugLine="rutaAnt = \"\""; parent.mostCurrent._rutaant = ""; //BA.debugLineNum = 126;BA.debugLine="For i = 0 To c.RowCount -1"; @@ -961,7 +961,7 @@ parent.mostCurrent._rutaant = ""; //BA.debugLineNum = 169;BA.debugLine="c2.IsInitialized"; parent._c2.IsInitialized(); //BA.debugLineNum = 170;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,"; -parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA"))); +parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO NOT IN ('63403','100000') order by CAT_CL_RUTA"))); //BA.debugLineNum = 171;BA.debugLine="For i = 0 To c2.RowCount -1"; if (true) break; @@ -1091,7 +1091,7 @@ parent.mostCurrent._rutaant = ""; //BA.debugLineNum = 195;BA.debugLine="c2.IsInitialized"; parent._c2.IsInitialized(); //BA.debugLineNum = 196;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; -parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA"))); +parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO NOT IN ('63403','100000') order by CAT_CL_RUTA"))); //BA.debugLineNum = 197;BA.debugLine="For i = 0 To c2.RowCount -1"; if (true) break; @@ -1200,7 +1200,7 @@ parent.mostCurrent._rutaant = ""; //BA.debugLineNum = 216;BA.debugLine="c3.IsInitialized"; parent._c3.IsInitialized(); //BA.debugLineNum = 217;BA.debugLine="c3=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,"; -parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA"))); +parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO NOT IN ('63403','100000') order by CAT_CL_RUTA"))); //BA.debugLineNum = 218;BA.debugLine="For i = 0 To c3.RowCount -1"; if (true) break; @@ -1330,7 +1330,7 @@ parent.mostCurrent._rutaant = ""; //BA.debugLineNum = 243;BA.debugLine="c3.IsInitialized"; parent._c3.IsInitialized(); //BA.debugLineNum = 244;BA.debugLine="c3=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; -parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA"))); +parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 AND CAT_CL_CODIGO NOT IN ('63403','100000') order by CAT_CL_RUTA"))); //BA.debugLineNum = 245;BA.debugLine="For i = 0 To c3.RowCount -1"; if (true) break; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/newinst2.java b/B4A/Objects/src/reparto_izca/keymon/lat/newinst2.java index 76078c9..5b69d9f 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/newinst2.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/newinst2.java @@ -134,11 +134,11 @@ public static int _logcolor1 = 0; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; @@ -158,7 +158,7 @@ public static String _myappreload() throws Exception{ //BA.debugLineNum = 43;BA.debugLine="Sub MyAppReload"; //BA.debugLineNum = 44;BA.debugLine="If svcVerbose Then Log(\"-- AppUpdating.NewInst2:"; if (_svcverbose) { -anywheresoftware.b4a.keywords.Common.LogImpl("834013185","-- AppUpdating.NewInst2: processing MyAppReload",0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("413893633","-- AppUpdating.NewInst2: processing MyAppReload",0);}; //BA.debugLineNum = 45;BA.debugLine="If IsPaused(\"main\") Then"; if (anywheresoftware.b4a.keywords.Common.IsPaused(processBA,(Object)("main"))) { //BA.debugLineNum = 46;BA.debugLine="StartActivity(\"main\")"; @@ -181,7 +181,7 @@ return ""; public static String _service_create() throws Exception{ //BA.debugLineNum = 13;BA.debugLine="Sub Service_Create"; //BA.debugLineNum = 14;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service crea"; -anywheresoftware.b4a.keywords.Common.LogImpl("833751041","---- AppUpdating.newinst2: service created",_logcolor1); +anywheresoftware.b4a.keywords.Common.LogImpl("413631489","---- AppUpdating.newinst2: service created",_logcolor1); //BA.debugLineNum = 15;BA.debugLine="pkg = \"\""; _pkg = ""; //BA.debugLineNum = 16;BA.debugLine="svcVerbose = False"; @@ -197,28 +197,28 @@ return ""; public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ //BA.debugLineNum = 19;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; //BA.debugLineNum = 20;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service_star"; -anywheresoftware.b4a.keywords.Common.LogImpl("833816577","---- AppUpdating.newinst2: service_started",_logcolor1); +anywheresoftware.b4a.keywords.Common.LogImpl("413697025","---- AppUpdating.newinst2: service_started",_logcolor1); //BA.debugLineNum = 21;BA.debugLine="If svcVerbose Then"; if (_svcverbose) { //BA.debugLineNum = 22;BA.debugLine="Log($\"${TAB}intent: ${StartingIntent}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("833816579",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"intent: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getObject()))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("413697027",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"intent: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getObject()))+""),0); //BA.debugLineNum = 23;BA.debugLine="Log($\"${TAB}action: ${StartingIntent.Action}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("833816580",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"action: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getAction()))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("413697028",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"action: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getAction()))+""),0); //BA.debugLineNum = 24;BA.debugLine="Log($\"${TAB}extra: ${StartingIntent.ExtrasToStri"; -anywheresoftware.b4a.keywords.Common.LogImpl("833816581",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"extra: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.ExtrasToString()))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("413697029",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"extra: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.ExtrasToString()))+""),0); //BA.debugLineNum = 25;BA.debugLine="Log($\"${TAB}data: ${StartingIntent.GetData}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("833816582",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.GetData()))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("413697030",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.GetData()))+""),0); }; //BA.debugLineNum = 27;BA.debugLine="If StartingIntent.Action = \"android.intent.action"; if ((_startingintent.getAction()).equals("android.intent.action.MY_PACKAGE_REPLACED")) { //BA.debugLineNum = 28;BA.debugLine="If svcVerbose Then Log($\"${TAB}Intent MY_PACKAGE"; if (_svcverbose) { -anywheresoftware.b4a.keywords.Common.LogImpl("833816585",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("413697033",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);}; //BA.debugLineNum = 29;BA.debugLine="pkg = GetPackageName"; _pkg = _getpackagename(); //BA.debugLineNum = 30;BA.debugLine="If svcVerbose Then Log($\"${TAB}package: ${pkg}\"$"; if (_svcverbose) { -anywheresoftware.b4a.keywords.Common.LogImpl("833816587",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"package: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pkg))+""),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("413697035",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"package: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pkg))+""),0);}; //BA.debugLineNum = 31;BA.debugLine="MyAppReload"; _myappreload(); }; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/roundslider.java b/B4A/Objects/src/reparto_izca/keymon/lat/roundslider.java index 17f0b80..9cc4d4e 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/roundslider.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/roundslider.java @@ -48,11 +48,11 @@ public boolean _mrollover = false; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/scrollinglabel.java b/B4A/Objects/src/reparto_izca/keymon/lat/scrollinglabel.java index 7609c1b..65ebbe7 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/scrollinglabel.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/scrollinglabel.java @@ -39,11 +39,11 @@ public int _mtextcolor = 0; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/starter.java b/B4A/Objects/src/reparto_izca/keymon/lat/starter.java index 4a687a3..531ed2d 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/starter.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/starter.java @@ -151,10 +151,10 @@ public static anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; @@ -174,7 +174,7 @@ reparto_izca.keymon.lat.dbrequestmanager._dbcommand _cmd = null; //BA.debugLineNum = 96;BA.debugLine="If IsConnectedToInternet Then"; if (_isconnectedtointernet()) { //BA.debugLineNum = 97;BA.debugLine="Log(\"Con internet, enviamos UTR!\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("868288514","Con internet, enviamos UTR!",0); +anywheresoftware.b4a.keywords.Common.LogImpl("473203714","Con internet, enviamos UTR!",0); //BA.debugLineNum = 98;BA.debugLine="Dim skmt As SQL"; _skmt = new anywheresoftware.b4a.sql.SQL(); //BA.debugLineNum = 99;BA.debugLine="Dim cmd As DBCommand"; @@ -189,7 +189,7 @@ _skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); _skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); //BA.debugLineNum = 113;BA.debugLine="If B4XPages.MainPage.logger Then LogColor(\"Inici"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("868288530","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Red);}; +anywheresoftware.b4a.keywords.Common.LogImpl("473203730","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Red);}; //BA.debugLineNum = 114;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); //BA.debugLineNum = 115;BA.debugLine="B4XPages.MainPage.ultimaActualizacionGPS = DateT"; @@ -201,7 +201,7 @@ _cmd.Name /*String*/ = "select_fechat"; //BA.debugLineNum = 118;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fechat\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("fechat")); //BA.debugLineNum = 120;BA.debugLine="Log(B4XPages.MainPage.montoActual&\" , \" &B4XPa"; -anywheresoftware.b4a.keywords.Common.LogImpl("868288537",mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._visitadostotales /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._monto_entregadoactual /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ +" , "+BA.NumberToString(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ )+" , "+anywheresoftware.b4a.keywords.Common.Application.getVersionName()+" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ,0); +anywheresoftware.b4a.keywords.Common.LogImpl("473203737",mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._visitadostotales /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._monto_entregadoactual /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ +" , "+BA.NumberToString(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ )+" , "+anywheresoftware.b4a.keywords.Common.Application.getVersionName()+" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ,0); //BA.debugLineNum = 121;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); //BA.debugLineNum = 122;BA.debugLine="cmd.Initialize"; @@ -212,7 +212,7 @@ _cmd.Name /*String*/ = "UPDATE_IZCA_ACTUALR2_GPS"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._visitadostotales /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._monto_entregadoactual /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ),(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ )}; //BA.debugLineNum = 126;BA.debugLine="If B4XPages.MainPage.logger Then Log($\"montoActu"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("868288543",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+", montoRechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+", montoEntregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+", porVisitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+", entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+", rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+", Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("473203743",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+", montoRechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+", montoEntregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+", porVisitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+", entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+", rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+", Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);}; //BA.debugLineNum = 128;BA.debugLine="reqManager.ExecuteCommand(cmd, \"inst_visitas\")"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_visitas")); //BA.debugLineNum = 129;BA.debugLine="skmt.ExecNonQuery2(\"Update cat_variables set CAT"; @@ -225,7 +225,7 @@ _timer1.setInterval((long) (_interval*1000)); _timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True); }else { //BA.debugLineNum = 136;BA.debugLine="Log(\"Sin conexión a internet, no se envió UTR!\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("868288553","Sin conexión a internet, no se envió UTR!",0); +anywheresoftware.b4a.keywords.Common.LogImpl("473203753","Sin conexión a internet, no se envió UTR!",0); }; //BA.debugLineNum = 138;BA.debugLine="End Sub"; return ""; @@ -318,7 +318,7 @@ _ruta = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.Exists(_ruta,"kmt.db"))) { anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",_ruta,"kmt.db");}; //BA.debugLineNum = 44;BA.debugLine="Log(ruta)"; -anywheresoftware.b4a.keywords.Common.LogImpl("867895302",_ruta,0); +anywheresoftware.b4a.keywords.Common.LogImpl("472810502",_ruta,0); //BA.debugLineNum = 45;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; _skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); //BA.debugLineNum = 59;BA.debugLine="Timer1.Initialize(\"Timer1\", Interval * 1000)"; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/subs.java b/B4A/Objects/src/reparto_izca/keymon/lat/subs.java index d49599c..18ae551 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/subs.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/subs.java @@ -47,7 +47,7 @@ if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { //BA.debugLineNum = 971;BA.debugLine="Starter.skmt.ExecNonQuery($\"ALTER TABLE ${tabla"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"")); //BA.debugLineNum = 972;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -anywheresoftware.b4a.keywords.Common.LogImpl("872548358",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); +anywheresoftware.b4a.keywords.Common.LogImpl("457081862",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); }; } catch (Exception e9) { @@ -55,11 +55,11 @@ anywheresoftware.b4a.keywords.Common.LogImpl("872548358",("Columna \""+anywheres try { //BA.debugLineNum = 976;BA.debugLine="Starter.skmt.ExecNonQuery($\"ALTER TABLE ${tabla"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"")); //BA.debugLineNum = 977;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -anywheresoftware.b4a.keywords.Common.LogImpl("872548363",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); +anywheresoftware.b4a.keywords.Common.LogImpl("457081867",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); } catch (Exception e13) { (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e13); //BA.debugLineNum = 979;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("872548365",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +anywheresoftware.b4a.keywords.Common.LogImpl("457081869",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); }; }; //BA.debugLineNum = 982;BA.debugLine="End Sub"; @@ -71,7 +71,7 @@ public static String _borraarribade100errores(anywheresoftware.b4a.BA _ba) thro if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { _revisabd(_ba);}; //BA.debugLineNum = 443;BA.debugLine="LogColor(\"Recortamos la tabla de Errores, limite"; -anywheresoftware.b4a.keywords.Common.LogImpl("870385666","Recortamos la tabla de Errores, limite de 100",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +anywheresoftware.b4a.keywords.Common.LogImpl("454919170","Recortamos la tabla de Errores, limite de 100",anywheresoftware.b4a.keywords.Common.Colors.Magenta); //BA.debugLineNum = 444;BA.debugLine="errorLog.ExecNonQuery(\"DELETE FROM errores WHERE"; _errorlog.ExecNonQuery("DELETE FROM errores WHERE fecha NOT in (SELECT fecha FROM errores ORDER BY fecha desc LIMIT 99 )"); //BA.debugLineNum = 445;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; @@ -85,7 +85,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; //BA.debugLineNum = 451;BA.debugLine="revisaBD"; _revisabd(_ba); //BA.debugLineNum = 452;BA.debugLine="LogColor(\"Recortamos la tabla de la Bitacora, lim"; -anywheresoftware.b4a.keywords.Common.LogImpl("870451202","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +anywheresoftware.b4a.keywords.Common.LogImpl("454984706","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta); //BA.debugLineNum = 453;BA.debugLine="Private c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); //BA.debugLineNum = 454;BA.debugLine="c = kmt.ExecQuery(\"select fecha from bitacora\")"; @@ -107,7 +107,7 @@ return ""; public static String _borralogdb(anywheresoftware.b4a.BA _ba) throws Exception{ //BA.debugLineNum = 329;BA.debugLine="Sub borraLogDB 'ignore"; //BA.debugLineNum = 330;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; -anywheresoftware.b4a.keywords.Common.LogImpl("870057985","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +anywheresoftware.b4a.keywords.Common.LogImpl("454591489","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); //BA.debugLineNum = 331;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; _kmt.ExecNonQuery("delete from bitacora"); //BA.debugLineNum = 332;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; @@ -171,7 +171,7 @@ _compressed = _gzip.compress(_str); //BA.debugLineNum = 44;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; _base64 = _su.EncodeBase64(_compressed); //BA.debugLineNum = 45;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("868616198",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("453149702",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0); //BA.debugLineNum = 47;BA.debugLine="Return base64"; if (true) return _base64; //BA.debugLineNum = 48;BA.debugLine="End Sub"; @@ -216,11 +216,11 @@ anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("B anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))),anywheresoftware.b4a.keywords.Common.True); }; //BA.debugLineNum = 561;BA.debugLine="Log(\"rootExternal=\"&p)"; -anywheresoftware.b4a.keywords.Common.LogImpl("870778903","rootExternal="+_p,0); +anywheresoftware.b4a.keywords.Common.LogImpl("455312407","rootExternal="+_p,0); //BA.debugLineNum = 562;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; -anywheresoftware.b4a.keywords.Common.LogImpl("870778904","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); +anywheresoftware.b4a.keywords.Common.LogImpl("455312408","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); //BA.debugLineNum = 563;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; -anywheresoftware.b4a.keywords.Common.LogImpl("870778905","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); +anywheresoftware.b4a.keywords.Common.LogImpl("455312409","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); }else { //BA.debugLineNum = 565;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),anywheresoftware.b4a.keywords.Common.False); @@ -264,7 +264,7 @@ anywheresoftware.b4a.objects.collections.Map _m = null; anywheresoftware.b4a.objects.collections.Map _m2 = null; //BA.debugLineNum = 475;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,"; //BA.debugLineNum = 476;BA.debugLine="Log(\"dameErroresJSON\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("870582273","dameErroresJSON",0); +anywheresoftware.b4a.keywords.Common.LogImpl("455115777","dameErroresJSON",0); //BA.debugLineNum = 477;BA.debugLine="Private j As JSONGenerator"; _j = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); //BA.debugLineNum = 478;BA.debugLine="Private lim As String"; @@ -308,7 +308,7 @@ _cur.Close(); //BA.debugLineNum = 495;BA.debugLine="j.Initialize(m2)"; _j.Initialize(_m2); //BA.debugLineNum = 496;BA.debugLine="Log(j.ToString)"; -anywheresoftware.b4a.keywords.Common.LogImpl("870582293",_j.ToString(),0); +anywheresoftware.b4a.keywords.Common.LogImpl("455115797",_j.ToString(),0); //BA.debugLineNum = 497;BA.debugLine="If comprimido Then"; if (_comprimido) { //BA.debugLineNum = 498;BA.debugLine="Return compress(j.ToString)"; @@ -340,7 +340,7 @@ _fechainicio = _fechainiciohoy(_ba); }; //BA.debugLineNum = 153;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"fechaInicio"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("869140491","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("453673995","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);}; //BA.debugLineNum = 154;BA.debugLine="Dim c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); //BA.debugLineNum = 155;BA.debugLine="If kmt.IsInitialized = False Then kmt.Initialize("; @@ -348,7 +348,7 @@ if (_kmt.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { _kmt.Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);}; //BA.debugLineNum = 156;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"select FECH"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("869140494","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("453673998","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);}; //BA.debugLineNum = 157;BA.debugLine="c = kmt.ExecQuery(\"select FECHA, LAT, LON from \"&"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints)))); //BA.debugLineNum = 158;BA.debugLine="c.Position = 0"; @@ -416,7 +416,7 @@ _bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); //BA.debugLineNum = 55;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; _uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8"); //BA.debugLineNum = 56;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("868681733",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("453215237",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0); //BA.debugLineNum = 58;BA.debugLine="Return uncompressed"; if (true) return _uncompressed; //BA.debugLineNum = 59;BA.debugLine="End Sub"; @@ -458,7 +458,7 @@ _h = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.key //BA.debugLineNum = 292;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); //BA.debugLineNum = 293;BA.debugLine="Log(\"Hoy=\"&h)"; -anywheresoftware.b4a.keywords.Common.LogImpl("869795845","Hoy="+_h,0); +anywheresoftware.b4a.keywords.Common.LogImpl("454329349","Hoy="+_h,0); //BA.debugLineNum = 294;BA.debugLine="Return h"; if (true) return _h; //BA.debugLineNum = 295;BA.debugLine="End Sub"; @@ -508,16 +508,16 @@ anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); if (true) return _ticks; }else { //BA.debugLineNum = 518;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; -anywheresoftware.b4a.keywords.Common.LogImpl("870647821","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0); +anywheresoftware.b4a.keywords.Common.LogImpl("455181325","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0); //BA.debugLineNum = 519;BA.debugLine="Return 0"; if (true) return (long) (0); }; } catch (Exception e16) { (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16); //BA.debugLineNum = 522;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("870647825",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +anywheresoftware.b4a.keywords.Common.LogImpl("455181329",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); //BA.debugLineNum = 523;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; -anywheresoftware.b4a.keywords.Common.LogImpl("870647826",("Fecha dada: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partehora))+""),anywheresoftware.b4a.keywords.Common.Colors.Red); +anywheresoftware.b4a.keywords.Common.LogImpl("455181330",("Fecha dada: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partehora))+""),anywheresoftware.b4a.keywords.Common.Colors.Red); //BA.debugLineNum = 524;BA.debugLine="Return 0"; if (true) return (long) (0); }; @@ -594,7 +594,7 @@ String[] _latlon = null; //BA.debugLineNum = 128;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore"; //BA.debugLineNum = 129;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Guardamos u"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("869074945","Guardamos ubicacion en BD - "+_coords,0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("453608449","Guardamos ubicacion en BD - "+_coords,0);}; //BA.debugLineNum = 130;BA.debugLine="Try"; try { //BA.debugLineNum = 131;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord"; _latlon = anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",_coords); @@ -609,7 +609,7 @@ _kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywhe } catch (Exception e8) { (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8); //BA.debugLineNum = 137;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("869074953",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +anywheresoftware.b4a.keywords.Common.LogImpl("453608457",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); }; //BA.debugLineNum = 139;BA.debugLine="End Sub"; return ""; @@ -648,7 +648,7 @@ int _x = 0; if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { _revisabd(_ba);}; //BA.debugLineNum = 467;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("870516738","insertamos 50 renglones a errorLog",0); +anywheresoftware.b4a.keywords.Common.LogImpl("455050242","insertamos 50 renglones a errorLog",0); //BA.debugLineNum = 468;BA.debugLine="For x = 1 To 50"; { final int step3 = 1; @@ -658,7 +658,7 @@ for (;_x <= limit3 ;_x = _x + step3 ) { //BA.debugLineNum = 469;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fech"; _errorlog.ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)("abc")})); //BA.debugLineNum = 470;BA.debugLine="Log(x)"; -anywheresoftware.b4a.keywords.Common.LogImpl("870516741",BA.NumberToString(_x),0); +anywheresoftware.b4a.keywords.Common.LogImpl("455050245",BA.NumberToString(_x),0); } }; //BA.debugLineNum = 472;BA.debugLine="End Sub"; @@ -695,7 +695,7 @@ if (true) return _json.NextObject(); } catch (Exception e6) { (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 239;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("869533703",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +anywheresoftware.b4a.keywords.Common.LogImpl("454067207",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); //BA.debugLineNum = 240;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)"; _log2db(_ba,"JSON2Map: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))); //BA.debugLineNum = 241;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene"; @@ -710,7 +710,7 @@ return null; public static String _log2db(anywheresoftware.b4a.BA _ba,String _texto) throws Exception{ //BA.debugLineNum = 298;BA.debugLine="Sub log2DB(texto As String) 'ignore"; //BA.debugLineNum = 299;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; -anywheresoftware.b4a.keywords.Common.LogImpl("869861377",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +anywheresoftware.b4a.keywords.Common.LogImpl("454394881",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.Magenta); //BA.debugLineNum = 300;BA.debugLine="If kmt.IsInitialized Then kmt.ExecNonQuery2(\"INSE"; if (_kmt.IsInitialized()) { _kmt.ExecNonQuery2("INSERT INTO bitacora(fecha, texto) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)(_texto)}));}; @@ -764,7 +764,7 @@ if (true) return anywheresoftware.b4a.keywords.Common.False; } catch (Exception e8) { (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8); //BA.debugLineNum = 324;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("869992459",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +anywheresoftware.b4a.keywords.Common.LogImpl("454525963",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); }; //BA.debugLineNum = 326;BA.debugLine="End Sub"; return false; @@ -790,7 +790,7 @@ _notif.setSound(anywheresoftware.b4a.keywords.Common.False); //BA.debugLineNum = 90;BA.debugLine="notif.AutoCancel = True"; _notif.setAutoCancel(anywheresoftware.b4a.keywords.Common.True); //BA.debugLineNum = 91;BA.debugLine="Log(\"notiHigh: \"&title)"; -anywheresoftware.b4a.keywords.Common.LogImpl("868878343","notiHigh: "+_title,0); +anywheresoftware.b4a.keywords.Common.LogImpl("453411847","notiHigh: "+_title,0); //BA.debugLineNum = 92;BA.debugLine="notif.SetInfo(title, body, activity)"; _notif.SetInfoNew((_ba.processBA == null ? _ba : _ba.processBA),BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_body),_activity); //BA.debugLineNum = 94;BA.debugLine="notif.Notify(777)"; @@ -806,7 +806,7 @@ _notification = new anywheresoftware.b4a.objects.NotificationWrapper(); //BA.debugLineNum = 100;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; _notification.Initialize2(_notification.IMPORTANCE_LOW); //BA.debugLineNum = 101;BA.debugLine="Log(\"notiLowReturn: \"&title)"; -anywheresoftware.b4a.keywords.Common.LogImpl("868943875","notiLowReturn: "+_title,0); +anywheresoftware.b4a.keywords.Common.LogImpl("453477379","notiLowReturn: "+_title,0); //BA.debugLineNum = 102;BA.debugLine="notification.Icon = \"icon\""; _notification.setIcon("icon"); //BA.debugLineNum = 103;BA.debugLine="notification.Sound = False"; @@ -863,7 +863,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _chv = null; String _precio = ""; //BA.debugLineNum = 824;BA.debugLine="Sub prodRechazo(clienteOriginal As String, prodId"; //BA.debugLineNum = 825;BA.debugLine="Log(\"RECHAZO DEVOLUCION\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("872155137","RECHAZO DEVOLUCION",0); +anywheresoftware.b4a.keywords.Common.LogImpl("456688641","RECHAZO DEVOLUCION",0); //BA.debugLineNum = 826;BA.debugLine="Private rr As Cursor = Starter.skmt.ExecQuery($\"s"; _rr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _rr = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(REP_CLIENTE) as hayRechazo from REPARTO where rep_prodid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and REP_CLIENTE in (Select CUENTA from cuentaa)")))); @@ -872,7 +872,7 @@ _rr.setPosition((int) (0)); //BA.debugLineNum = 828;BA.debugLine="If rr.GetString(\"hayRechazo\") = 0 Then"; if ((_rr.GetString("hayRechazo")).equals(BA.NumberToString(0))) { //BA.debugLineNum = 829;BA.debugLine="Log(\"INSERTAMOS EN REPARTO\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("872155141","INSERTAMOS EN REPARTO",0); +anywheresoftware.b4a.keywords.Common.LogImpl("456688645","INSERTAMOS EN REPARTO",0); //BA.debugLineNum = 831;BA.debugLine="Private chv As Cursor = Starter.skmt.ExecQuery($"; _chv = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _chv = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from hist_ventas where hvd_cliente in (select cuenta from cuentaa) and hvd_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")))); @@ -891,7 +891,7 @@ mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("upda }; }else { //BA.debugLineNum = 842;BA.debugLine="Log($\"ACTUALIZAMOS REPARTO\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("872155154",("ACTUALIZAMOS REPARTO"),0); +anywheresoftware.b4a.keywords.Common.LogImpl("456688658",("ACTUALIZAMOS REPARTO"),0); //BA.debugLineNum = 843;BA.debugLine="Private precio As String = traePrecio(prodId, tr"; _precio = _traeprecio(_ba,_prodid,_traealmacen(_ba)); //BA.debugLineNum = 844;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update HIST_VENTAS s"; @@ -916,9 +916,9 @@ mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("upda //BA.debugLineNum = 797;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); //BA.debugLineNum = 798;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT - 1"; -anywheresoftware.b4a.keywords.Common.LogImpl("872089605",("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0); +anywheresoftware.b4a.keywords.Common.LogImpl("456623109",("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0); //BA.debugLineNum = 799;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT + 1"; -anywheresoftware.b4a.keywords.Common.LogImpl("872089606",("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0); +anywheresoftware.b4a.keywords.Common.LogImpl("456623110",("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0); //BA.debugLineNum = 800;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_COSTO_TOT = REP_CANT * "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+", REP_PRECIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+"' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); //BA.debugLineNum = 821;BA.debugLine="End Sub"; @@ -965,7 +965,7 @@ _kmt.ExecNonQuery("ALTER TABLE noventa ADD COLUMN NV_REPROGRAMAR TEXT"); } catch (Exception e19) { (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e19); //BA.debugLineNum = 218;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("869402647",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +anywheresoftware.b4a.keywords.Common.LogImpl("453936151",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); }; }; //BA.debugLineNum = 221;BA.debugLine="End Sub"; @@ -975,7 +975,7 @@ public static String _revisaflp(anywheresoftware.b4a.BA _ba) throws Exception{ boolean _todobienflp = false; //BA.debugLineNum = 372;BA.debugLine="Sub revisaFLP 'ignore"; //BA.debugLineNum = 373;BA.debugLine="LogColor($\"**** **** Revisamos FLP - ${fechaKMT(D"; -anywheresoftware.b4a.keywords.Common.LogImpl("870254593",("**** **** Revisamos FLP - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))))+"**** ****"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227))); +anywheresoftware.b4a.keywords.Common.LogImpl("454788097",("**** **** Revisamos FLP - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))))+"**** ****"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227))); //BA.debugLineNum = 374;BA.debugLine="Private todoBienFLP As Boolean = True"; _todobienflp = anywheresoftware.b4a.keywords.Common.True; //BA.debugLineNum = 375;BA.debugLine="If Not(Tracker.FLP.IsInitialized) Then"; @@ -1010,7 +1010,7 @@ _todobienflp = anywheresoftware.b4a.keywords.Common.False; }; //BA.debugLineNum = 395;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin errore"; if (_todobienflp) { -anywheresoftware.b4a.keywords.Common.LogImpl("870254615"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; +anywheresoftware.b4a.keywords.Common.LogImpl("454788119"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; //BA.debugLineNum = 397;BA.debugLine="End Sub"; return ""; } @@ -1030,14 +1030,14 @@ if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.Fu _daa = (int) (mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .DistanceTo((android.location.Location)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getObject()))); //BA.debugLineNum = 362;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"****"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("870189060",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; +anywheresoftware.b4a.keywords.Common.LogImpl("454722564",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; //BA.debugLineNum = 363;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocation"; if (_daa>40 && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()<35) { //BA.debugLineNum = 364;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha,"; _kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))),(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()),(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude())})); //BA.debugLineNum = 365;BA.debugLine="If B4XPages.MainPage.Logger Then Log(\"++++ Dist"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("870189063","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("454722567","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);}; }; //BA.debugLineNum = 367;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoca"; mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ = mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation(); @@ -1102,7 +1102,7 @@ _cr.setPosition((int) (0)); _cant = (int)(Double.parseDouble(_cr.GetString("REP_CANT"))); }; //BA.debugLineNum = 764;BA.debugLine="Log($\"${cliente}, ${prodId}, rowcont:${cr.RowCoun"; -anywheresoftware.b4a.keywords.Common.LogImpl("871892999",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", rowcont:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cr.getRowCount()))+", cant: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("456426503",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", rowcont:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cr.getRowCount()))+", cant: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+""),0); //BA.debugLineNum = 765;BA.debugLine="Return cant"; if (true) return _cant; //BA.debugLineNum = 766;BA.debugLine="End Sub"; @@ -1182,7 +1182,7 @@ _monto = (float) (_monto+((double)(Double.parseDouble(_ccym.GetString("REP_CANT" } }; //BA.debugLineNum = 905;BA.debugLine="Log($\"CANT=${cant}, MONTO=${monto}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("872286232",("CANT="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", MONTO="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("456819736",("CANT="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", MONTO="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0); }; //BA.debugLineNum = 908;BA.debugLine="ccym.Close"; _ccym.Close(); @@ -1205,7 +1205,7 @@ _cl = _cli.GetString("CUENTA"); //BA.debugLineNum = 726;BA.debugLine="cli.Close"; _cli.Close(); //BA.debugLineNum = 727;BA.debugLine="Log(\"Algo paso...\"& cl)"; -anywheresoftware.b4a.keywords.Common.LogImpl("871696389","Algo paso..."+_cl,0); +anywheresoftware.b4a.keywords.Common.LogImpl("456229893","Algo paso..."+_cl,0); //BA.debugLineNum = 728;BA.debugLine="Return cl"; if (true) return _cl; //BA.debugLineNum = 729;BA.debugLine="End Sub"; @@ -1270,7 +1270,6 @@ return null; public static String _traefechaprev(anywheresoftware.b4a.BA _ba) throws Exception{ anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; String _a = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _clienteasing = null; String[] _fecha = null; String _fecha3 = ""; String[] _hora = null; @@ -1279,30 +1278,6 @@ String[] _hora = null; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); //BA.debugLineNum = 1022;BA.debugLine="Private a As String"; _a = ""; - //BA.debugLineNum = 1023;BA.debugLine="Private clienteasing As Cursor = Starter.skmt.Exe"; -_clienteasing = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_clienteasing = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); - //BA.debugLineNum = 1024;BA.debugLine="clienteasing.Position = 0"; -_clienteasing.setPosition((int) (0)); - //BA.debugLineNum = 1025;BA.debugLine="If clienteasing.GetString(\"CUENTA\") <> \"63403\" Th"; -if ((_clienteasing.GetString("CUENTA")).equals("63403") == false) { - //BA.debugLineNum = 1026;BA.debugLine="c = Starter.skmt.ExecQuery(\"select HVD_FECHA fro"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_FECHA from HIST_VENTAS where HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1027;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1028;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", c.GetSt"; -_fecha = anywheresoftware.b4a.keywords.Common.Regex.Split(" ",_c.GetString("HVD_FECHA")); - //BA.debugLineNum = 1029;BA.debugLine="Dim fecha3 As String = fecha(0)"; -_fecha3 = _fecha[(int) (0)]; - //BA.debugLineNum = 1030;BA.debugLine="Log(fecha3)"; -anywheresoftware.b4a.keywords.Common.LogImpl("872810506",_fecha3,0); - //BA.debugLineNum = 1031;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; -_hora = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",_fecha[(int) (1)]); - //BA.debugLineNum = 1032;BA.debugLine="a = fecha3 & \" \" & hora(0)"; -_a = _fecha3+" "+_hora[(int) (0)]; - //BA.debugLineNum = 1033;BA.debugLine="c.Close"; -_c.Close(); - }else if((_clienteasing.GetString("CUENTA")).equals("63403")) { //BA.debugLineNum = 1035;BA.debugLine="c = Starter.skmt.ExecQuery(\"select HVD_FECHA fro"; _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_FECHA from HIST_VENTAS"))); //BA.debugLineNum = 1036;BA.debugLine="c.Position = 0"; @@ -1312,14 +1287,13 @@ _fecha = anywheresoftware.b4a.keywords.Common.Regex.Split(" ",_c.GetString("HVD_ //BA.debugLineNum = 1038;BA.debugLine="Dim fecha3 As String = fecha(0)"; _fecha3 = _fecha[(int) (0)]; //BA.debugLineNum = 1039;BA.debugLine="Log(fecha3)"; -anywheresoftware.b4a.keywords.Common.LogImpl("872810515",_fecha3,0); +anywheresoftware.b4a.keywords.Common.LogImpl("457344019",_fecha3,0); //BA.debugLineNum = 1040;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; _hora = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",_fecha[(int) (1)]); //BA.debugLineNum = 1041;BA.debugLine="a = fecha3 & \" \" & hora(0)"; _a = _fecha3+" "+_hora[(int) (0)]; //BA.debugLineNum = 1042;BA.debugLine="c.Close"; _c.Close(); - }; //BA.debugLineNum = 1044;BA.debugLine="Return a"; if (true) return _a; //BA.debugLineNum = 1045;BA.debugLine="End Sub"; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/swiftbutton.java b/B4A/Objects/src/reparto_izca/keymon/lat/swiftbutton.java index eda0057..b9f4342 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/swiftbutton.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/swiftbutton.java @@ -42,11 +42,11 @@ public boolean _mhaptic = false; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/tracker.java b/B4A/Objects/src/reparto_izca/keymon/lat/tracker.java index 61b9ec8..a1b4227 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/tracker.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/tracker.java @@ -141,11 +141,11 @@ public static String _pushserviceactividad = ""; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; @@ -156,13 +156,13 @@ uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; //BA.debugLineNum = 119;BA.debugLine="Private Sub CreateLocationRequest As LocationReque"; //BA.debugLineNum = 120;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"CreateLocat"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("873596929","CreateLocationRequest",0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("473990145","CreateLocationRequest",0);}; //BA.debugLineNum = 121;BA.debugLine="Dim lr As LocationRequest"; _lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); //BA.debugLineNum = 122;BA.debugLine="lr.Initialize"; _lr.Initialize(); - //BA.debugLineNum = 123;BA.debugLine="lr.SetInterval(10000) 'Intervalo deseado para act"; -_lr.SetInterval((long) (10000)); + //BA.debugLineNum = 123;BA.debugLine="lr.SetInterval(100000) 'Intervalo deseado para ac"; +_lr.SetInterval((long) (100000)); //BA.debugLineNum = 124;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; _lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); //BA.debugLineNum = 125;BA.debugLine="lr.SetSmallestDisplacement(75) 'Solo registra cam"; @@ -181,7 +181,7 @@ uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; //BA.debugLineNum = 131;BA.debugLine="Private Sub CreateLocationRequest2times As Locatio"; //BA.debugLineNum = 132;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Iniciamos C"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("873662465","Iniciamos CreateLocationRequest2times",0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("474055681","Iniciamos CreateLocationRequest2times",0);}; //BA.debugLineNum = 133;BA.debugLine="Dim lr As LocationRequest"; _lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); //BA.debugLineNum = 134;BA.debugLine="lr.Initialize"; @@ -226,7 +226,7 @@ String _coords = ""; if (_flp.GetLastKnownLocation().IsInitialized()) { //BA.debugLineNum = 147;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"Mand"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("873728003",("Mandamos UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|Acc:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|Spd:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; +anywheresoftware.b4a.keywords.Common.LogImpl("474121219",("Mandamos UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|Acc:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|Spd:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; //BA.debugLineNum = 148;BA.debugLine="Dim coords As String = FLP.GetLastKnownLocation."; _coords = BA.NumberToString(_flp.GetLastKnownLocation().getLatitude())+","+BA.NumberToString(_flp.GetLastKnownLocation().getLongitude())+","+_formatofecha(BA.NumberToString(_flp.GetLastKnownLocation().getTime())); //BA.debugLineNum = 150;BA.debugLine="Subs.mandamosLoc(coords)"; @@ -239,7 +239,7 @@ public static String _flp_connectionfailed(int _connectionresult1) throws Excep //BA.debugLineNum = 59;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)"; //BA.debugLineNum = 60;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Failed to c"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("873203713","Failed to connect to location provider",0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("473596929","Failed to connect to location provider",0);}; //BA.debugLineNum = 61;BA.debugLine="End Sub"; return ""; } @@ -252,7 +252,7 @@ public static String _flp_connectionsuspended(int _connectionresult1) throws Ex //BA.debugLineNum = 63;BA.debugLine="Sub flp_ConnectionSuspended(ConnectionResult1 As I"; //BA.debugLineNum = 64;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"FLP conecti"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("873269249","FLP conection suspended",0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("473662465","FLP conection suspended",0);}; //BA.debugLineNum = 65;BA.debugLine="StartFLP"; _startflp(); //BA.debugLineNum = 66;BA.debugLine="End Sub"; @@ -293,18 +293,18 @@ mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSE catch (Exception e14) { processBA.setLastException(e14); //BA.debugLineNum = 180;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Error al b"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("873859090","Error al borrar o insertar nuevas coordendas en HIST_GPS",0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("474252306","Error al borrar o insertar nuevas coordendas en HIST_GPS",0);}; }; //BA.debugLineNum = 183;BA.debugLine="Dim coords As String = Location1.Latitude&\",\"&Loc"; _coords = BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude())+","+_formatofecha(BA.NumberToString(_location1.getTime())); //BA.debugLineNum = 184;BA.debugLine="Log(\"Loc changed : \"&Location1.Latitude&\",\"&Locat"; -anywheresoftware.b4a.keywords.Common.LogImpl("873859094","Loc changed : "+BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude()),0); +anywheresoftware.b4a.keywords.Common.LogImpl("474252310","Loc changed : "+BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude()),0); //BA.debugLineNum = 185;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Mandamos Ub"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("873859095","Mandamos Ubicacion",0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("474252311","Mandamos Ubicacion",0);}; //BA.debugLineNum = 186;BA.debugLine="If B4XPages.MainPage.logger Then Log(locRequest)"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("873859096",_locrequest,0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("474252312",_locrequest,0);}; //BA.debugLineNum = 188;BA.debugLine="If Location1.Accuracy < 100 Then"; if (_location1.getAccuracy()<100) { //BA.debugLineNum = 189;BA.debugLine="Subs.guardaInfoEnBD(coords)'Escribimos coordenad"; @@ -322,7 +322,7 @@ _minsdif = (int) ((double)(Double.parseDouble(anywheresoftware.b4a.keywords.Comm if (_location1.getAccuracy()<100 && _minsdif>240) { //BA.debugLineNum = 198;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"actualizam"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("873859108","actualizamos Ubicacion Web",0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("474252324","actualizamos Ubicacion Web",0);}; //BA.debugLineNum = 199;BA.debugLine="CallSubDelayed(Starter, \"ENVIA_ULTIMA_GPS\")"; anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._starter.getObject()),"ENVIA_ULTIMA_GPS"); }; @@ -412,7 +412,7 @@ return ""; public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ //BA.debugLineNum = 68;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; //BA.debugLineNum = 69;BA.debugLine="LogColor(\"Iniciando Tracker ...\", Colors.Green)"; -anywheresoftware.b4a.keywords.Common.LogImpl("873334785","Iniciando Tracker ...",anywheresoftware.b4a.keywords.Common.Colors.Green); +anywheresoftware.b4a.keywords.Common.LogImpl("473728001","Iniciando Tracker ...",anywheresoftware.b4a.keywords.Common.Colors.Green); //BA.debugLineNum = 70;BA.debugLine="Service.StopAutomaticForeground"; mostCurrent._service.StopAutomaticForeground(); //BA.debugLineNum = 72;BA.debugLine="StartServiceAt(Me, DateTime.Now + 10 * DateTime.T"; @@ -519,7 +519,7 @@ this.state = 3; case 3: //C this.state = 6; -anywheresoftware.b4a.keywords.Common.LogImpl("873531393","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0); +anywheresoftware.b4a.keywords.Common.LogImpl("473924609","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0); if (true) break; case 6: @@ -562,7 +562,7 @@ this.state = 12; case 12: //C this.state = 15; -anywheresoftware.b4a.keywords.Common.LogImpl("873531396","sleeping GR",0); +anywheresoftware.b4a.keywords.Common.LogImpl("473924612","sleeping GR",0); if (true) break; case 15: @@ -592,7 +592,7 @@ this.state = 19; case 19: //C this.state = 22; -anywheresoftware.b4a.keywords.Common.LogImpl("873531400","Buscamos ubicacion 2 peticiones",0); +anywheresoftware.b4a.keywords.Common.LogImpl("473924616","Buscamos ubicacion 2 peticiones",0); if (true) break; case 22: @@ -612,7 +612,7 @@ this.state = 25; case 25: //C this.state = 28; -anywheresoftware.b4a.keywords.Common.LogImpl("873531401",BA.NumberToString(parent._actuallr.GetSmallestDisplacement()),0); +anywheresoftware.b4a.keywords.Common.LogImpl("473924617",BA.NumberToString(parent._actuallr.GetSmallestDisplacement()),0); if (true) break; case 28: @@ -642,7 +642,7 @@ public static String _track() throws Exception{ //BA.debugLineNum = 78;BA.debugLine="Public Sub Track"; //BA.debugLineNum = 79;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Inicia Trac"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("873400321","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("473793537","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);}; //BA.debugLineNum = 80;BA.debugLine="If Tracking Then"; if (_tracking) { //BA.debugLineNum = 82;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na"; @@ -652,7 +652,7 @@ if (true) return ""; if (mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .Check(mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION)==anywheresoftware.b4a.keywords.Common.False) { //BA.debugLineNum = 85;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"No permiss"; if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("873400327","No permission",0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("473793543","No permission",0);}; //BA.debugLineNum = 86;BA.debugLine="Return"; if (true) return ""; }; diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/xuiviewsutils.java b/B4A/Objects/src/reparto_izca/keymon/lat/xuiviewsutils.java index 5e5b2a7..ec49701 100644 --- a/B4A/Objects/src/reparto_izca/keymon/lat/xuiviewsutils.java +++ b/B4A/Objects/src/reparto_izca/keymon/lat/xuiviewsutils.java @@ -16,11 +16,11 @@ public static anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_izca.keymon.lat.main _main = null; public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.foto _foto = null; public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_izca.keymon.lat.starter _starter = null; -public reparto_izca.keymon.lat.subs _subs = null; public reparto_izca.keymon.lat.tracker _tracker = null; public reparto_izca.keymon.lat.newinst2 _newinst2 = null; public reparto_izca.keymon.lat.b4xpages _b4xpages = null; diff --git a/B4A/Subs.bas b/B4A/Subs.bas index cfd11e0..6db4abd 100644 --- a/B4A/Subs.bas +++ b/B4A/Subs.bas @@ -1026,18 +1026,18 @@ End Sub Sub traefECHAPREV As String 'ignore Private c As Cursor Private a As String - Private clienteasing As Cursor = Starter.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") - clienteasing.Position = 0 - If clienteasing.GetString("CUENTA") <> "63403" Then - c = Starter.skmt.ExecQuery("select HVD_FECHA from HIST_VENTAS where HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") - c.Position = 0 - Dim fecha() As String = Regex.Split(" ", c.GetString("HVD_FECHA")) - Dim fecha3 As String = fecha(0) - Log(fecha3) - Dim hora() As String = Regex.Split("\.", fecha(1)) - a = fecha3 & " " & hora(0) - c.Close - Else If clienteasing.GetString("CUENTA") = "63403" Then +' Private clienteasing As Cursor = Starter.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") +' clienteasing.Position = 0 +' If clienteasing.GetString("CUENTA") <> "63403" Or clienteasing.GetString("CUENTA") <> "100000" Then +' c = Starter.skmt.ExecQuery("select HVD_FECHA from HIST_VENTAS where HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") +' c.Position = 0 +' Dim fecha() As String = Regex.Split(" ", c.GetString("HVD_FECHA")) +' Dim fecha3 As String = fecha(0) +' Log(fecha3) +' Dim hora() As String = Regex.Split("\.", fecha(1)) +' a = fecha3 & " " & hora(0) +' c.Close +' Else If clienteasing.GetString("CUENTA") = "63403" Or clienteasing.GetString("CUENTA") = "100000" Then c = Starter.skmt.ExecQuery("select HVD_FECHA from HIST_VENTAS") c.Position = 0 Dim fecha() As String = Regex.Split(" ", c.GetString("HVD_FECHA")) @@ -1046,7 +1046,7 @@ Sub traefECHAPREV As String 'ignore Dim hora() As String = Regex.Split("\.", fecha(1)) a = fecha3 & " " & hora(0) c.Close - End If +' End If Return a End Sub diff --git a/B4A/Tracker.bas b/B4A/Tracker.bas index f564cfd..f4d7c7e 100644 --- a/B4A/Tracker.bas +++ b/B4A/Tracker.bas @@ -126,7 +126,7 @@ Private Sub CreateLocationRequest As LocationRequest If B4XPages.MainPage.logger Then Log("CreateLocationRequest") Dim lr As LocationRequest lr.Initialize - lr.SetInterval(10000) 'Intervalo deseado para actualizaciones de ubicacion + lr.SetInterval(100000) 'Intervalo deseado para actualizaciones de ubicacion lr.SetFastestInterval(lr.GetInterval / 2) 'Intervalo minimo para actualizaciones de ubicacion lr.SetSmallestDisplacement(75) 'Solo registra cambio de ubicacion si es mayor a XX mts lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY)