diff --git a/B4A/B4XMainPage.bas b/B4A/B4XMainPage.bas index d3211f8..18eb88f 100644 --- a/B4A/B4XMainPage.bas +++ b/B4A/B4XMainPage.bas @@ -196,6 +196,7 @@ Private Sub B4XPage_Created (Root1 As B4XView) Subs.agregaColumna("HIST_VENTAS","CANTC","TEXT") Subs.agregaColumna("HIST_VENTAS","BCAJAS_OR","TEXT") Subs.agregaColumna("HIST_VENTAS","CANTC_OR","TEXT") + Subs.agregaColumna("HIST_VENTAS","HVD_RUTA","TEXT") Subs.agregaColumna("CAT_GUNAPROD","CONVERSION","TEXT") Subs.agregaColumna("CAT_GUNAPROD","PRECIOCONVER","TEXT") Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)") @@ -251,6 +252,63 @@ Sub B4XPage_Appear ' If Result Then ' Log("Con permisos de escritura externa") ' End If + +' Dim Dirp As String = File.DirInternal +' Dim Dir As String +' Dim Dir2 As String +' Try +' File.MakeDir(Dirp,"/md") +' Dir = "/md" +' Log("creado en promotoria " & Dirp & Dir) +' Catch +' Dir = "" +' Log("creado en raiz") +' End Try +' +' Try +' File.MakeDir(Dirp & Dir,"/reduccion") +' Dir2 = "/reduccion" +' Log("creado en promotoria " & Dirp & Dir & Dir2) +' Catch +' Dir = "" +' Log("creado en raiz") +' End Try +' +' For i = 0 To 150 +' Log(Dirp) +' Dim img As B4XBitmap = xui.LoadBitmapResize(File.DirAssets, i&"marker-azul5", 72, 115, True) +' Dim out As OutputStream = File.OpenOutput(File.DirInternal & Dir & Dir2, i&"marker-azul5", True) +' img.WriteToStream(out, 100, "PNG") +' +'' Dim img As B4XBitmap = xui.LoadBitmapResize(File.DirAssets, i&"marker-azul7.png", 72, 115, True) +'' Dim out As OutputStream = File.OpenOutput(File.DirInternal & Dir & Dir2, i&"marker-azul7.png", True) +'' img.WriteToStream(out, 100, "PNG") +' +'' Dim img As B4XBitmap = xui.LoadBitmapResize(File.DirAssets, i&"marker-azul8.png", 72, 115, True) +'' Dim out As OutputStream = File.OpenOutput(File.DirInternal & Dir & Dir2, i&"marker-azul8.png", True) +'' img.WriteToStream(out, 100, "PNG") +'' +'' Dim img As B4XBitmap = xui.LoadBitmapResize(File.DirAssets, i&"marker-azul3.png", 72, 115, True) +'' Dim out As OutputStream = File.OpenOutput(File.DirInternal & Dir & Dir2, i&"marker-azul3.png", True) +'' img.WriteToStream(out, 100, "PNG") +'' +'' Dim img As B4XBitmap = xui.LoadBitmapResize(File.DirAssets, i&"marker-azul4.png", 72, 115, True) +'' Dim out As OutputStream = File.OpenOutput(File.DirInternal & Dir & Dir2, i&"marker-azul4.png", True) +'' img.WriteToStream(out, 100, "PNG") +' +'' Dim img As B4XBitmap = xui.LoadBitmapResize(File.DirAssets, i&"marker-rojo.png", 72, 115, True) +'' Dim out As OutputStream = File.OpenOutput(File.DirInternal & Dir & Dir2, i&"marker-rojo.png", True) +'' img.WriteToStream(out, 100, "PNG") +'' +'' Dim img As B4XBitmap = xui.LoadBitmapResize(File.DirAssets, i&"marker-verde.png", 72, 115, True) +'' Dim out As OutputStream = File.OpenOutput(File.DirInternal & Dir & Dir2, i&"marker-verde.png", True) +'' img.WriteToStream(out, 100, "PNG") +' +'' foto1 = File.ReadBytes(File.DirInternal & Dir & Dir2, nombrefoto) +' +' out.Close +' +' Next End Sub 'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. diff --git a/B4A/C_Cliente.bas b/B4A/C_Cliente.bas index 5e9ede1..03e101c 100644 --- a/B4A/C_Cliente.bas +++ b/B4A/C_Cliente.bas @@ -76,6 +76,7 @@ Sub Class_Globals Private l_montopag As Label Private l_efectivo As Label Private l_montoefec As Label + Dim distance As Long End Sub 'You can add more parameters here. @@ -128,6 +129,10 @@ Sub B4XPage_Appear Subs.centraPanel(p_principal, Root.Width) Starter.skmt.Initialize(Starter.ruta,"kmt.db", True) reqManager.Initialize(Me, B4XPages.MainPage.SERVER) + Tar.Visible = False + gest.Visible = False + b_noEntrega.Visible = False + HIST.Visible = False c=Starter.skmt.ExecQuery("select 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 from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)") s=Starter.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") s.Position=0 @@ -297,6 +302,18 @@ Sub B4XPage_Appear l_montopag.Visible = False End If + If distance < 50 Then + Tar.Visible = True + gest.Visible = True + b_noEntrega.Visible = True + HIST.Visible = True + Else + Tar.Visible = False + gest.Visible = False + b_noEntrega.Visible = False + HIST.Visible = False + End If + End Sub Sub Activity_Pause (UserClosed As Boolean) @@ -304,14 +321,50 @@ Sub Activity_Pause (UserClosed As Boolean) End Sub Sub GPS_LocationChanged (Location1 As Location) -' lat_gps=Location1.ConvertToSeconds(Location1.Latitude) -' lon_gps=Location1.ConvertToSeconds(Location1.Longitude) +' LogColor($"Entrando a Cliente.GPS_LocationChanged"$, Colors.red) + If Tracker.FLP.GetLastKnownLocation.IsInitialized And Tracker.FLP.GetLastKnownLocation.Latitude <> 0 Then + B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastKnownLocation.Latitude + B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastKnownLocation.Longitude + Log("Coords set to: " & B4XPages.MainPage.lat_gps & " and " & B4XPages.MainPage.lon_gps) + End If + + If LATITUD.Length < 5 Then + + Else + + + Dim l1, l2 As Location + l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps) + Log($"Coordenadas de la tienda - lat:${LATITUD}, lon:${LONGITUD}"$) + l2.Initialize2(LATITUD, LONGITUD) + + + + 'now we need the distance between our location and the target location + distance = l1.DistanceTo(l2) 'the result is in meter + + If distance < 50 Then + Tar.Visible = True + gest.Visible = True + b_noEntrega.Visible = True + HIST.Visible = True + Else + Tar.Visible = False + gest.Visible = False + b_noEntrega.Visible = False + HIST.Visible = False + End If + + Log("DISTANCIA "&distance) + End If + Dim sDate,sTime As String DateTime.DateFormat = "MM/dd/yyyy" sDate=DateTime.Date(DateTime.Now) sTime=DateTime.Time(DateTime.Now) Starter.skmt.ExecNonQuery("DELETE FROM HIST_GPS") Starter.skmt.ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ", Array As Object (sDate & sTime, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps)) + CallSubDelayed(Tracker, "CreateLocationRequest") End Sub Sub ListView1_ItemLongClick (Position As Int, Value As Object) @@ -363,13 +416,17 @@ Sub Guardado Starter.skmt.ExecNonQuery("update HIST_VENTAS SET HVD_ESTATUS = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") mandaPendientesreparto - - Dim mandamapa As Cursor = Starter.skmt.ExecQuery("SELECT * FROM kmt_info WHERE gestion = 0 and CAT_CL_CODIGO <> 63403") - If mandamapa.RowCount > 0 Then - StartActivity(MAPA_RUTAS) - Else If mandamapa.RowCount = 0 Then - B4XPages.ShowPage("Principal") + Msgbox2Async("Pedido entregado","Atención","Ok","", "",LoadBitmap(File.DirAssets,"alert2.png"), False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + Dim mandamapa As Cursor = Starter.skmt.ExecQuery("SELECT * FROM kmt_info WHERE gestion = 0 and CAT_CL_CODIGO <> 63403") + If mandamapa.RowCount > 0 Then + StartActivity(MAPA_RUTAS) + Else If mandamapa.RowCount = 0 Then + B4XPages.ShowPage("Principal") + End If End If + End Sub Sub b_noEntrega_Click diff --git a/B4A/C_NoVenta.bas b/B4A/C_NoVenta.bas index 7a05b88..2044881 100644 --- a/B4A/C_NoVenta.bas +++ b/B4A/C_NoVenta.bas @@ -140,11 +140,15 @@ Sub GUARDA_Click d.Position = 0 Starter.skmt.ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)",Array As String (cuenta, usuario, sDate &" "&sTime, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps,B4XPages.MainPage.almacen,ruta,rutapre,fechaprev, motivo, e_comm.Text,"NO ENTREGADO")) - Dim mandamapa As Cursor = Starter.skmt.ExecQuery("SELECT * FROM kmt_info WHERE gestion = 0") - If mandamapa.RowCount > 0 Then - StartActivity(MAPA_RUTAS) - Else If mandamapa.RowCount = 0 Then - B4XPages.ShowPage("Principal") + Msgbox2Async("Pedido rechazado","Atención","Ok","", "",LoadBitmap(File.DirAssets,"alert2.png"), False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + Dim mandamapa As Cursor = Starter.skmt.ExecQuery("SELECT * FROM kmt_info WHERE gestion = 0 and CAT_CL_CODIGO <> 63403") + If mandamapa.RowCount > 0 Then + StartActivity(MAPA_RUTAS) + Else If mandamapa.RowCount = 0 Then + B4XPages.ShowPage("Principal") + End If End If Else COMENTARIO = e_comm.Text diff --git a/B4A/C_Principal.bas b/B4A/C_Principal.bas index bfcc6c3..26d2c97 100644 --- a/B4A/C_Principal.bas +++ b/B4A/C_Principal.bas @@ -95,6 +95,15 @@ Sub Class_Globals Private b_regreso As Button Private lv_prod_Prin As ListView Private b_venta_emp As Button + Dim successfulRequests As Int = 0 + Dim totalRegistros As Int = 0 + Dim totalRegistrosTotales As Int = 0 + Dim todosRequest As Int = 0 + Private pEnvioInfo As Panel + Private bEnvioInfo As Button + Private pbEnvioInfo As ProgressBar + Private lEnviaInfo As Label + Private lVersionName As Label End Sub 'You can add more parameters here. @@ -118,10 +127,10 @@ Private Sub B4XPage_Created (Root1 As B4XView) b=Starter.skmt.ExecQuery("Select count(*) as CUANTOS from pedido_cliente") b.Position=0 Cuantos = b.GetString("CUANTOS") - d=Starter.skmt.ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000") + d=Starter.skmt.ExecQuery("select DISTINCT count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000") D.Position=0 b.Close - e=Starter.skmt.ExecQuery("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000") + e=Starter.skmt.ExecQuery("select DISTINCT count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000") e.Position=0 If Cuantos = 0 Then l_aLiquidar.Text = 0 @@ -167,6 +176,7 @@ End Sub Sub B4XPage_Appear + lVersionName.Text = "Version: " & Application.VersionName Private c As Cursor = Starter.skmt.ExecQuery("SELECT * FROM NOVENTA") If c.RowCount > 0 Then Starter.skmt.ExecNonQuery("Update kmt_info set gestion = 2 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA WHERE NV_MOTIVO = 'ENTREGA')") @@ -228,10 +238,10 @@ Sub B4XPage_Appear b=Starter.skmt.ExecQuery("Select count(*) as CUANTOS from kmt_info") b.Position=0 If b.RowCount > 0 Then Cuantos = b.GetString("CUANTOS") - d=Starter.skmt.ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000") + d=Starter.skmt.ExecQuery("selecT count(DISTINCT CAT_CL_CODIGO) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000") D.Position=0 b.Close - e=Starter.skmt.ExecQuery("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000") + e=Starter.skmt.ExecQuery("select count(DISTINCT CAT_CL_CODIGO) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000") e.Position=0 ' f=Starter.skmt.ExecQuery("select count(*) as CAT_CL_RUTA from kmt_info") ' f.Position=0 @@ -667,6 +677,15 @@ Sub trabajar_Click End Sub Sub Subir_Click + pEnvioInfo.Width = Root.Width + pEnvioInfo.Height = Root.Height + pEnvioInfo.Left = 0 + pEnvioInfo.Visible = True + pbEnvioInfo.Width = Root.Width * 0.7 + pbEnvioInfo.Left = Round(Root.Width/2)-(pbEnvioInfo.Width/2) + Subs.centraBoton(bEnvioInfo, pEnvioInfo.Width) + Subs.centraEtiqueta(lEnviaInfo, pEnvioInfo.Width) + 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 @@ -681,13 +700,20 @@ Sub Subir_Click End Sub Sub envioinfo - - - + successfulRequests = 0 + totalRegistros = 0 + totalRegistrosTotales = 0 + todosRequest = -1 + bEnvioInfo.Enabled = False ' NOVENTA c = Starter.skmt.ExecQuery("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO FROM NOVENTA") D=Starter.skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA") If c.RowCount>0 Then + Log($"Procesando NOVENTA: ${c.RowCount} registros"$) + totalRegistros = totalRegistros + c.RowCount + totalRegistrosTotales = totalRegistrosTotales + c.RowCount + Log($"Total acumulado: ${totalRegistros}"$) + For i=0 To c.RowCount -1 c.Position=i foto1 = c.GetBlob("NV_FOTO") @@ -702,9 +728,15 @@ Sub envioinfo d.Position=0 cuantos_noventa = D.GetString("CUANTOS_NOVENTA") d.Close + + ' HIST_VENTAS con rechazo o parcial c=Starter.skmt.ExecQuery("SELECT HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID, HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_PARCIAL FROM hist_ventas WHERE HVD_RECHAZO = 1 OR HVD_PARCIAL = 1") - ' If c.RowCount>0 Then + Log($"Procesando HIST_VENTAS (rechazos/parciales): ${c.RowCount} registros"$) + totalRegistros = totalRegistros + c.RowCount + totalRegistrosTotales = totalRegistrosTotales + c.RowCount + Log($"Total acumulado: ${totalRegistros}"$) + For i=0 To c.RowCount -1 c.Position=i Dim cmd As DBCommand @@ -715,9 +747,15 @@ Sub envioinfo Next c.Close End If -' pedido + + ' PEDIDO c=Starter.skmt.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") If c.RowCount>0 Then + Log($"Procesando PEDIDO: ${c.RowCount} registros"$) + totalRegistros = totalRegistros + c.RowCount + totalRegistrosTotales = totalRegistrosTotales + c.RowCount + Log($"Total acumulado: ${totalRegistros}"$) + For i=0 To c.RowCount -1 c.Position=i Dim cmd As DBCommand @@ -728,11 +766,15 @@ Sub envioinfo Next c.Close End If - - -' reqManager.Initialize(Me, "http://187.189.244.154:1787") 'Para el servidor de pruebas. + + ' REPARTO c = Starter.skmt.ExecQuery("SELECT * from reparto") If c.RowCount > 0 Then + Log($"Procesando REPARTO: ${c.RowCount} registros"$) + totalRegistros = totalRegistros + c.RowCount + totalRegistrosTotales = totalRegistrosTotales + c.RowCount + Log($"Total acumulado: ${totalRegistros}"$) + Private folio As String = Subs.hmsKMT For i=0 To c.RowCount -1 c.Position=i @@ -744,8 +786,15 @@ Sub envioinfo Next c.Close End If + + ' RECHAZOS c = Starter.skmt.ExecQuery("SELECT * from rechazos") If c.RowCount > 0 Then + Log($"Procesando RECHAZOS: ${c.RowCount} registros"$) + totalRegistros = totalRegistros + c.RowCount + totalRegistrosTotales = totalRegistrosTotales + c.RowCount + Log($"Total acumulado: ${totalRegistros}"$) + Private folio As String = Subs.hmsKMT For i=0 To c.RowCount -1 c.Position=i @@ -757,8 +806,15 @@ Sub envioinfo Next c.Close End If + + ' VENTAS c = Starter.skmt.ExecQuery("SELECT * from ventas") If c.RowCount > 0 Then + Log($"Procesando VENTAS: ${c.RowCount} registros"$) + totalRegistros = totalRegistros + c.RowCount + totalRegistrosTotales = totalRegistrosTotales + c.RowCount + Log($"Total acumulado: ${totalRegistros}"$) + Private folio As String = Subs.hmsKMT For i=0 To c.RowCount -1 c.Position=i @@ -770,25 +826,27 @@ Sub envioinfo Next c.Close End If - - - c=Starter.skmt.ExecQuery("SELECT CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO") - Log($"REPARTO_Cliente PENDIENTE: ${c.RowCount}"$) + + ' REPARTO_GEO + c=Starter.skmt.ExecQuery("SELECT CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO") If c.RowCount>0 Then + Log($"Procesando REPARTO_GEO: ${c.RowCount} registros"$) + totalRegistros = totalRegistros + c.RowCount + totalRegistrosTotales = totalRegistrosTotales + c.RowCount + Log($"Total acumulado: ${totalRegistros}"$) + For i=0 To c.RowCount -1 c.Position=i - Dim cmd As DBCommand cmd.Initialize cmd.Name = "insert_REPARTO_MAZAPA" cmd.Parameters = Array As Object(c.GetString("CLIENTE"), c.GetString("USUARIO"), c.GetString("FECHA_PUNTEO"), c.GetString("LATITUD"), c.GetString("LONGITUD"), c.GetString("ALMACEN"), c.GetString("RUTA_REPARTO"), c.GetString("RUTA_PREV"), c.GetString("FECHA_PREVENTA"), c.GetString("MOTIVO"), c.GetString("COMENTARIO"),c.GetString("TIPO")) reqManager.ExecuteCommand(cmd , $"ins_REPARTOPendientes_head_${c.GetString("CLIENTE")}"$) - Next End If c.Close - - 'TABULADOR + + ' TABULADOR_MONEDAS c = Starter.skmt.ExecQuery("SELECT VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS") d = Starter.skmt.ExecQuery("SELECT RUTAA FROM RUTAA") b = Starter.skmt.ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN") @@ -797,6 +855,11 @@ Sub envioinfo b.Position = 0 f.Position = 0 If c.RowCount > 0 Then + Log($"Procesando TABULADOR_MONEDAS: ${c.RowCount} registros"$) + totalRegistros = totalRegistros + c.RowCount + totalRegistrosTotales = totalRegistrosTotales + c.RowCount + Log($"Total acumulado: ${totalRegistros}"$) + For i = 0 To c.RowCount - 1 c.Position=i Dim cmd As DBCommand @@ -813,9 +876,15 @@ Sub envioinfo b.Close f.Close End If - - c = Starter.skmt.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") + + ' HIST_VENTAS para actualización + c = Starter.skmt.ExecQuery("SELECT IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RUTA, HVD_CLIENTE, HVD_PROID, HVD_FECHA, HVD_CODPROMO, HVD_NUM_TICKET, HVD_CANT, CONSECUTIVO, BCAJAS, CANTC FROM HIST_VENTAS") If c.RowCount > 0 Then + Log($"Procesando HIST_VENTAS (actualización): ${c.RowCount} registros"$) + totalRegistros = totalRegistros + c.RowCount + totalRegistrosTotales = totalRegistrosTotales + c.RowCount + Log($"Total acumulado: ${totalRegistros}"$) + For i=0 To c.RowCount -1 c.Position = i Log(c.GetString("HVD_CLIENTE")) @@ -826,14 +895,14 @@ Sub envioinfo d5.Position = 0 Private restacant As String = d5.GetString("PE_CANT") d5.Close - + Dim fecha1() As String = Regex.Split(" ", c.GetString("HVD_FECHA")) Dim fecha2() As String = Regex.Split("-", fecha1(0)) Dim fecha3 As String = fecha2(2)&"/"&fecha2(1)&"/"&fecha2(0) Log(fecha3) Dim hora() As String = Regex.Split("\.", fecha1(1)) Log(hora(0)) - + Dim sDate, sTime As String DateTime.DateFormat = "dd/MM/yyyy" DateTime.TimeFormat = "HH:mm:ss" @@ -843,13 +912,13 @@ Sub envioinfo Log((c.GetString("HVD_RECHAZOCANT")-restacant)) cmd.Initialize cmd.Name = "update_HVD_MAZAPArep2" - cmd.Parameters = Array As String(c.GetString("HVD_RECHAZOCANT"),c.GetString("BCAJAS"), c.GetString("CANTC"),sDate& " "& sTime,1, c.GetString("HVD_CLIENTE"), c.GetString("HVD_PROID"),fecha3&" "&hora(0), d4.GetString("CAT_CL_RUTA"),ALMACEN,l_ruta.Text,c.GetString("HVD_CODPROMO"),c.GetString("HVD_NUM_TICKET"), c.GetString("HVD_CANT")) + cmd.Parameters = Array As String(c.GetString("HVD_RECHAZOCANT"),c.GetString("BCAJAS"), c.GetString("CANTC"),sDate& " "& sTime,1, c.GetString("HVD_CLIENTE"), c.GetString("HVD_PROID"),fecha3&" "&hora(0), c.GetString("HVD_RUTA"),ALMACEN,l_ruta.Text,c.GetString("HVD_CODPROMO"),c.GetString("HVD_NUM_TICKET"), c.GetString("HVD_CANT")) reqManager.ExecuteCommand(cmd, "update_hvd") Else cmd.Initialize cmd.Name = "update_HVD_MAZAPArep2" Log( c.GetString("CANTC")& c.GetString("HVD_CLIENTE")& c.GetString("HVD_PROID")&fecha3&" "&hora(0)& d4.GetString("CAT_CL_RUTA")&ALMACEN&l_ruta.Text&c.GetString("HVD_CODPROMO")&c.GetString("HVD_NUM_TICKET")& c.GetString("HVD_CANT")) - cmd.Parameters = Array As String("",c.GetString("BCAJAS"), c.GetString("CANTC"),"","", c.GetString("HVD_CLIENTE"), c.GetString("HVD_PROID"),fecha3&" "&hora(0), d4.GetString("CAT_CL_RUTA"),ALMACEN,l_ruta.Text,c.GetString("HVD_CODPROMO"),c.GetString("HVD_NUM_TICKET"), c.GetString("HVD_CANT")) + cmd.Parameters = Array As String("",c.GetString("BCAJAS"), c.GetString("CANTC"),"","", c.GetString("HVD_CLIENTE"), c.GetString("HVD_PROID"),fecha3&" "&hora(0), c.GetString("HVD_RUTA"),ALMACEN,l_ruta.Text,c.GetString("HVD_CODPROMO"),c.GetString("HVD_NUM_TICKET"), c.GetString("HVD_CANT")) reqManager.ExecuteCommand(cmd, "update_hvd") End If d4.Close @@ -857,7 +926,7 @@ Sub envioinfo End If c.Close - + ' TABULADOR_BILLETES c = Starter.skmt.ExecQuery("SELECT MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES") d = Starter.skmt.ExecQuery("SELECT RUTAA FROM RUTAA") b = Starter.skmt.ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN") @@ -866,6 +935,11 @@ Sub envioinfo b.Position = 0 f.Position = 0 If c.RowCount > 0 Then + Log($"Procesando TABULADOR_BILLETES: ${c.RowCount} registros"$) + totalRegistros = totalRegistros + c.RowCount + totalRegistrosTotales = totalRegistrosTotales + c.RowCount + Log($"Total acumulado: ${totalRegistros}"$) + For i = 0 To c.RowCount - 1 c.Position=i Dim cmd As DBCommand @@ -882,14 +956,24 @@ Sub envioinfo b.Close f.Close End If - 'FIN TABULADOR - + + ' Insertar drop Dim cmd As DBCommand cmd.Initialize - cmd.Name = "insert_drop_rep_MAZAPA" - cmd.Parameters = Array As Object(Subs.dameUsuarioDeDB, l_ruta.Text, ALMACEN, l_ctast.text, Subs.traeEntregados, Subs.traeRechazados, "ENVIO") + cmd.Name = "insert_drop_rep_MAZAPA2" + cmd.Parameters = Array As Object(Subs.dameUsuarioDeDB, l_ruta.Text, ALMACEN, l_ctast.text, Subs.traeEntregados, Subs.traeRechazados, "ENVIO", Application.VersionName) reqManager.ExecuteCommand(cmd , "inst_drop") - ToastMessageShow("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias "& l_ruta.text , True) + + Log($"PROCESO COMPLETADO - TOTAL DE REGISTROS PROCESADOS: ${totalRegistros}"$) + ToastMessageShow("Se Actualizaron los datos, Este proceso podria tardar hasta un minuto, gracias "& l_ruta.text , True) + + Wait For AllRequestsComplete ' Espera a que todos los requests terminen + + Log($"Total registros procesados: ${totalRegistros}"$) + Log($"Requests exitosos: ${successfulRequests}"$) + LogColor("Esto es totalRegistrosTotales: ---->" & totalRegistrosTotales, Colors.Red) + + End Sub Sub cargar_Click @@ -922,8 +1006,8 @@ Sub cargar_Click Dim cmd As DBCommand cmd.Initialize - cmd.Name = "insert_drop_rep_MAZAPA" - cmd.Parameters = Array As Object(Subs.dameUsuarioDeDB, l_ruta.Text, ALMACEN, l_ctast.text, Subs.traeEntregados, Subs.traeRechazados, "CARGA") + cmd.Name = "insert_drop_rep_MAZAPA2" + cmd.Parameters = Array As Object(Subs.dameUsuarioDeDB, l_ruta.Text, ALMACEN, l_ctast.text, Subs.traeEntregados, Subs.traeRechazados, "CARGA", Application.VersionName) reqManager.ExecuteCommand(cmd , "inst_drop") ' reqs.Add("inst_noventa") @@ -958,14 +1042,14 @@ Sub cargar_Click Log($"Pedimos Punteo"$) reqs.Add("punteo") - If l_ruta.Text = "0" Then +' If l_ruta.Text = "0" Then cmd.Initialize cmd.Name = "select_almacen_MAZAPA_re_REPG2" cmd.Parameters = Array As Object(ALMACEN) reqManager.ExecuteQuery(cmd , 0, "gunaprod") Log($"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.text}"$) reqs.Add("gunaprod") - End If +' End If cmd.Initialize @@ -1049,10 +1133,17 @@ End Sub Sub JobDone(Job As HttpJob) ' Private r As DBResult = reqManager.HandleJob(Job) + Log(todosRequest) + todosRequest = todosRequest +1 + Log(todosRequest) If Job.Success = False Then LogColor("** " & Job.Tag & " Error: " & Job.ErrorMessage, Colors.Red) ' Mod by CHV - 211023 'ToastMessageShow("Error: " & Job.ErrorMessage, True) Else + LogColor("Esto es totalRegistros: " & totalRegistros, Colors.Red) + successfulRequests = successfulRequests + 1 + totalRegistros = totalRegistros - 1 + Log("Esto es successfulRequests: " & successfulRequests) LogColor("JobDone: '" & reqManager.HandleJob(Job).tag & "' - Registros: " & reqManager.HandleJob(Job).Rows.Size, Colors.Green) 'Mod por CHV - 211023 If Job.JobName = "DBRequest" Then Dim result As DBResult = reqManager.HandleJob(Job) @@ -1320,19 +1411,20 @@ Sub JobDone(Job As HttpJob) Dim HVD_PLACA As String = records(result.Columns.Get("HVD_PLACA")) Dim bcajas As String = records(result.Columns.Get("HVD_BCAJAS")) Dim cantc As String = records(result.Columns.Get("HVD_CANTC")) + Dim HVD_RUTA As String = records(result.Columns.Get("HVD_RUTA")) ' Log(" ++ insert into HIST_VENTAS: "&HVD_CLIENTE&","&HVD_PRONOMBRE&","&HVD_CANT) consecutivo = consecutivo +1 If l_ruta.Text = "0" Then 'Si no hay ruta cargada, guardamos todos los clientes Log("No hay ruta, guardamos todos") - Starter.skmt.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, PLACA,BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT,HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_PLACA,bcajas,cantc,consecutivo,bcajas,cantc)) + Starter.skmt.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, PLACA,BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR, HVD_RUTA) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?, ?)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT,HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_PLACA,bcajas,cantc,consecutivo,bcajas,cantc, HVD_RUTA)) Starter.skmt.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)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT,HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO)) Else 'Si ya hay ruta cargada, solo guardamos los clientes nuevos. ' Log("Hay ruta, guardamos los nuevos") Private tc As Cursor = Starter.skmt.ExecQuery($"select HVD_CLIENTE from HIST_VENTAS where HVD_CLIENTE = '${HVD_CLIENTE}' and HVD_PROID = '${HVD_PROID}'"$) If tc.RowCount = 0 Then Log($"Guardamos ${HVD_CLIENTE}"$) - Starter.skmt.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, PLACA,BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT,HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_PLACA,bcajas,cantc,consecutivo,bcajas,cantc)) - Starter.skmt.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)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT,HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO)) + Starter.skmt.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, PLACA,BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR, HVD_RUTA) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?, ?)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT,HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_PLACA,bcajas,cantc,consecutivo,bcajas,cantc, HVD_RUTA)) + Starter.skmt.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)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT,HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO)) End If End If Next @@ -1543,6 +1635,7 @@ Sub JobDone(Job As HttpJob) End If Job.Release End If + Job.Release If reqs.Size = 0 Then @@ -1561,6 +1654,35 @@ Sub JobDone(Job As HttpJob) ' Log(reqs.size) ' Log("Terminamos lo descarga de ruta!") End If + Log("---------------------------------------------------") + Log(totalRegistrosTotales) + Log(successfulRequests) + Log(todosRequest) + Log(NumberFormat2(((todosRequest/ totalRegistrosTotales ) * 100),1,0,0,False)) + 'Aqui voy a cambiar el porcentaje de mi barra de avance. + If totalRegistrosTotales > 0 Then + pbEnvioInfo.Progress = NumberFormat2(((todosRequest/ totalRegistrosTotales ) * 100),1,0,0,False) + + If pbEnvioInfo.Progress >= 100 Then + lEnviaInfo.Text = "Informacion Enviada "& CRLF &"%100" + Else + lEnviaInfo.Text = "Enviando Informacion: %" & pbEnvioInfo.Progress + End If + End If + Log("---------------------------------------------------") + Log(todosRequest >= totalRegistrosTotales) + + If todosRequest < totalRegistrosTotales Then + + Else + bEnvioInfo.Enabled = True + End If + +End Sub + +Private Sub bEnvioInfo_Click + bEnvioInfo.Enabled = False + pEnvioInfo.Visible = False End Sub Private Sub B4XPage_CloseRequest As ResumableSub @@ -1570,6 +1692,8 @@ Private Sub B4XPage_CloseRequest As ResumableSub B_REGRESA_Click Else If p_prod.Visible Then p_prod.Visible = False + Else If pEnvioInfo.Visible Then + Return False Else B4XPages.ShowPage("Login") End If @@ -1999,4 +2123,8 @@ Private Sub b_venta_emp_Click Starter.skmt.ExecNonQuery("delete from CUENTAA") Starter.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object("63403")) B4XPages.ShowPage("Cliente") +End Sub + +Private Sub pEnvioInfo_Click + End Sub \ No newline at end of file diff --git a/B4A/C_Productos.bas b/B4A/C_Productos.bas index e934b03..64685d8 100644 --- a/B4A/C_Productos.bas +++ b/B4A/C_Productos.bas @@ -96,7 +96,7 @@ Sub B4XPage_Appear ' c=Starter.skmt.ExecQuery("select distinct hist_ventas.hvd_num_registro, HIST_VENTAS.HVD_CLIENTE, HIST_VENTAS.HVD_PRONOMBRE, HIST_VENTAS.HVD_PROID, HIST_VENTAS.HVD_CANT, HIST_VENTAS2.HVD_CANT as HVD_CANT2, HIST_VENTAS.HVD_COSTO_TOT, HIST_VENTAS.HVD_CODPROMO from HIST_VENTAS inner join HIST_VENTAS2 on HIST_VENTAS.HVD_PROID = HIST_VENTAS2.HVD_PROID and HIST_VENTAS.HVD_CLIENTE = HIST_VENTAS2.HVD_CLIENTE WHERE HIST_VENTAS.HVD_CLIENTE IN (Select CUENTA from cuentaa) and HIST_VENTAS.HVD_RECHAZO = 0 order by HIST_VENTAS.HVD_CODPROMO desc, HIST_VENTAS.HVD_PRONOMBRE asc") - c=Starter.skmt.ExecQuery("select * from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc") + c=Starter.skmt.ExecQuery("select * from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) order by HVD_CODPROMO desc, HVD_PRONOMBRE asc") ' Private c2 As Cursor=Starter.skmt.ExecQuery("select from PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") ListView1.Clear @@ -705,7 +705,7 @@ Sub b_prodMas_Click If esteTag.Get(4) = "0" Then Else - If laCant.Text + 1 <= maxProds Then + If laCant.Text + 1 * minimoadesc <= maxProds Then Log($"NuevaCant = ${laCant.Text + 1}"$) laCant.Text = $"$1.0{laCant.Text + 1}"$ Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?", Array As String(esteTag.Get(2))) @@ -759,9 +759,9 @@ Sub b_prodMas_Click Private pup As String = c2.GetString("HVD_COSTO_TOT")/c2.GetString("HVD_CANT") ' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - 1 WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(5)}'"$) - Starter.skmt.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,?,?,?,?,?,?,?,?,?)", Array As String(esteTag.Get(2),c2.GetString("HVD_PRONOMBRE"),1*minimoadesc,esteTag.Get(5),Subs.traeCliente,(pup*minimoadesc),(pup*minimoadesc),esteTag.Get(6),Subs.traerUTAPREV,"PREVENTA",Subs.traeAlmacen, sDate & " " & sTime, Subs.traeUsuario,Subs.traefECHAPREV, Subs.traeRutaReparto,esregalo)) + Starter.skmt.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,?,?,?,?,?,?,?,?,?)", Array As String(esteTag.Get(2),c2.GetString("HVD_PRONOMBRE"),1*minimoadesc,esteTag.Get(5),Subs.traeCliente,(pup),(pup*minimoadesc),esteTag.Get(6),Subs.traerUTAPREV,"PREVENTA",Subs.traeAlmacen, sDate & " " & sTime, Subs.traeUsuario,Subs.traefECHAPREV, Subs.traeRutaReparto,esregalo)) Else - Starter.skmt.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,?,?,?,?,?,?,?,?,?)", Array As String(esteTag.Get(2),c2.GetString("HVD_PRONOMBRE"),1*minimoadesc,esteTag.Get(5),Subs.traeCliente,(preciofull*minimoadesc),(preciofull*minimoadesc),esteTag.Get(6),Subs.traerUTAPREV,"PREVENTA",Subs.traeAlmacen, sDate & " " & sTime, Subs.traeUsuario,Subs.traefECHAPREV, Subs.traeRutaReparto,esregalo)) + Starter.skmt.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,?,?,?,?,?,?,?,?,?)", Array As String(esteTag.Get(2),c2.GetString("HVD_PRONOMBRE"),1*minimoadesc,esteTag.Get(5),Subs.traeCliente,(preciofull),(preciofull*minimoadesc),esteTag.Get(6),Subs.traerUTAPREV,"PREVENTA",Subs.traeAlmacen, sDate & " " & sTime, Subs.traeUsuario,Subs.traefECHAPREV, Subs.traeRutaReparto,esregalo)) End If End If diff --git a/B4A/Files/cliente.bal b/B4A/Files/cliente.bal index 313307c..306b436 100644 Binary files a/B4A/Files/cliente.bal and b/B4A/Files/cliente.bal differ diff --git a/B4A/Files/principal.bal b/B4A/Files/principal.bal index 35e1749..2b349c7 100644 Binary files a/B4A/Files/principal.bal and b/B4A/Files/principal.bal differ diff --git a/B4A/MAPA_RUTAS.bas b/B4A/MAPA_RUTAS.bas index 27231eb..3c3987a 100644 --- a/B4A/MAPA_RUTAS.bas +++ b/B4A/MAPA_RUTAS.bas @@ -58,6 +58,8 @@ Sub Globals Dim CODIGO As String Private SEMANA As String ' Dim ruta As String + + End Sub Sub Activity_Create(FirstTime As Boolean) @@ -152,9 +154,17 @@ Sub MapFragment1_Ready If esteAzul = 3 Then esteAzul2= NumSerie&"maker-azul2.png" If esteAzul = 4 Then esteAzul2= NumSerie&"maker-azul3.png" If esteAzul = 5 Then esteAzul2= NumSerie&"maker-azul4.png" - If esteAzul = 6 Then esteAzul2= NumSerie&"maker-azul5.png" - If esteAzul = 7 Then esteAzul2= NumSerie&"maker-azul7.png" - If esteAzul = 8 Then esteAzul2= NumSerie&"maker-azul8.png" + If esteAzul = 6 Then esteAzul2= NumSerie&"maker-azul.png" + If esteAzul = 7 Then esteAzul2= NumSerie&"maker-azul1.png" + If esteAzul = 8 Then esteAzul2= NumSerie&"maker-azul2.png" + If esteAzul = 9 Then esteAzul2= NumSerie&"maker-azul3.png" + If esteAzul = 10 Then esteAzul2= NumSerie&"maker-azul4.png" + If esteAzul = 11 Then esteAzul2= NumSerie&"maker-azul.png" + If esteAzul = 12 Then esteAzul2= NumSerie&"maker-azul1.png" + If esteAzul = 13 Then esteAzul2= NumSerie&"maker-azul2.png" + If esteAzul = 14 Then esteAzul2= NumSerie&"maker-azul3.png" + If esteAzul = 15 Then esteAzul2= NumSerie&"maker-azul4.png" +' ' Log(ruta & "|" & esteAzul & "|" & esteAzul2) ' Log(NumSerie&" "& Tienda&" --------"& esteAzul2&" --------"&esteAzul) MARK_AZUL = gmap.AddMarker3(LatitudRu,LongitudRU,CODIGO,LoadBitmap(File.DirAssets, esteAzul2)) diff --git a/B4A/Mazapa_Reparto.b4a b/B4A/Mazapa_Reparto.b4a index 72d9c82..b672874 100644 --- a/B4A/Mazapa_Reparto.b4a +++ b/B4A/Mazapa_Reparto.b4a @@ -3001,12 +3001,12 @@ Module9=C_DetalleVenta NumberOfFiles=1470 NumberOfLibraries=27 NumberOfModules=30 -Version=12.8 +Version=13.1 @EndOfDesignText@ #Region Project Attributes #ApplicationLabel: MAZAPA Reparto #VersionCode: 1 - #VersionName: 5.01.12 + #VersionName: 5.03.31 'SupportedOrientations possible values: unspecified, landscape or portrait. #SupportedOrientations: portrait #CanInstallToExternalStorage: False diff --git a/B4A/Mazapa_Reparto.b4a.meta b/B4A/Mazapa_Reparto.b4a.meta index a3a87b0..b4aced7 100644 --- a/B4A/Mazapa_Reparto.b4a.meta +++ b/B4A/Mazapa_Reparto.b4a.meta @@ -91,6 +91,6 @@ ModuleClosedNodes6= ModuleClosedNodes7= ModuleClosedNodes8= ModuleClosedNodes9= -NavigationStack=C_Principal,B4XPage_Created,117,0,C_Principal,B4XPage_Appear,227,6,C_Clientes,B4XPage_Appear,68,0,C_Clientes,ListView1_ItemClick,148,0,C_Clientes,generaListViewRutas,207,0,C_Clientes,BUSCA_TextChanged,236,0,C_Clientes,traeRutaDia,452,0,C_Clientes,traeTodosAVisitar,538,0,C_Clientes,caculaRutaGPS,634,0,MAPA_RUTAS,Globals,40,0,MAPA_RUTAS,MapFragment1_Ready,150,0 +NavigationStack=C_Principal,B4XPage_Created,136,0,C_Productos,B4XPage_Created,66,0,C_Productos,B4XPage_Appear,92,6,C_Productos,Class_Globals,52,0,C_Principal,Class_Globals,100,0,C_Principal,B4XPage_Appear,172,6,Diseñador Visual,principal.bal,-100,6,C_Principal,envioinfo,956,2,C_NoVenta,GUARDA_Click,132,1,C_Cliente,B4XPage_Appear,298,0,C_Cliente,GPS_LocationChanged,339,0 SelectedBuild=0 -VisibleModules=1,2,3,4,5,6,7,8,9,10,27 +VisibleModules=1,2,6,7,16,30,28,29,17,13 diff --git a/B4A/Objects/AndroidManifest.xml b/B4A/Objects/AndroidManifest.xml index 26f55ad..014300e 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_mazapa.keymon.lat" android:versionCode="1" - android:versionName="5.01.12" + android:versionName="5.03.31" android:installLocation="internalOnly"> @@ -45,12 +45,12 @@ + - @@ -63,6 +63,7 @@ + + + + + + + + + + + - - - - - - - - - - - diff --git a/B4A/Objects/App_Mazapa_Reparto.apk b/B4A/Objects/App_Mazapa_Reparto.apk new file mode 100644 index 0000000..4061b04 Binary files /dev/null and b/B4A/Objects/App_Mazapa_Reparto.apk differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/animatedcounter.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/animatedcounter.class index f7d89aa..1644fc8 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/animatedcounter.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/animatedcounter.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar.class index b766026..e52983f 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$ResumableSub_Service_Start.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$ResumableSub_Service_Start.class index b445092..35f1f6e 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$ResumableSub_Service_Start.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$ResumableSub_Service_Start.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$ResumableSub_download_newApk.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$ResumableSub_download_newApk.class index 7c6d308..c4f74ea 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$ResumableSub_download_newApk.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$ResumableSub_download_newApk.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$_mnewversion.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$_mnewversion.class index 135cc5e..d6a48f0 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$_mnewversion.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$_mnewversion.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater.class index 4dd290b..249b6b2 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbitset.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbitset.class index 70e21ed..8fd460a 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbitset.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbitset.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbreadcrumb.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbreadcrumb.class index fc40ce2..128d8a5 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbreadcrumb.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbreadcrumb.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbytesbuilder.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbytesbuilder.class index 44221bc..1e75180 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbytesbuilder.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbytesbuilder.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcache.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcache.class index 7086d2a..b2847c5 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcache.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcache.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcollections.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcollections.class index be8c38a..22c7586 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcollections.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcollections.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate.class index 239201c..5916941 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox.class index 8287e7c..5098075 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcomparatorsort.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcomparatorsort.class index dae0e42..75931fd 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcomparatorsort.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcomparatorsort.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate.class index ff5cb18..ad917c8 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog.class index 6bf8e4d..a46c747 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield.class index 5859497..40b58f6 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xformatter.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xformatter.class index c122a1e..6d85d89 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xformatter.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xformatter.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4ximageview.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4ximageview.class index a43760d..132e563 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4ximageview.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4ximageview.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate.class index 55b8c1d..b155d00 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate.class index 6ff65a7..2fea367 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator.class index 6ed8941..507fb58 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlongtexttemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlongtexttemplate.class index 65c4014..91184dd 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlongtexttemplate.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlongtexttemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.class index c79bd8d..5a6b2c6 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.class index 873a229..470cbe2 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.class index 8353b3b..1a4017e 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage.class index d9b44fd..800740a 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xorderedmap.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xorderedmap.class index 8c3f2b5..2db2659 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xorderedmap.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xorderedmap.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpages.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpages.class index 950f89e..76d607d 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpages.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpages.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesdelegator.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesdelegator.class index 79bc835..e3dea59 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesdelegator.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesdelegator.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager.class index a01a525..8a5ece5 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus.class index f040df2..bd25a53 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton.class index 4cff5d6..6210564 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate.class index 25d803d..a51ddb0 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xseekbar.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xseekbar.class index c54213b..edd55d0 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xseekbar.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xseekbar.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xset.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xset.class index 0767f98..5866139 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xset.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xset.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsignaturetemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsignaturetemplate.class index e6860cd..1e2951c 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsignaturetemplate.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsignaturetemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xswitch.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xswitch.class index d48820a..65ef738 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xswitch.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xswitch.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate.class index 3478f7d..d96937f 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/batteryutilities.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/batteryutilities.class index dcfdd96..fd8761f 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/batteryutilities.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/batteryutilities.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_buscar.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_buscar.class index 718a41b..cda8b68 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_buscar.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_buscar.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.class index 49bdf8d..2583f8f 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.class index d55532e..dc16852 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist.class index ab056e1..35bce73 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.class index 2ef9865..44d8d27 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_Guardado.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_Guardado.class new file mode 100644 index 0000000..140e620 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_Guardado.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente.class index dc4d84b..368d00e 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.class index cf49001..e1aa064 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.class index 9814692..ba466b8 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.class index 377443a..cd3bacc 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.class index e4d9af7..5e87b7c 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.class index e2af253..51964b0 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_traeRutaDia.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_traeRutaDia.class index 439b37b..00d2f3f 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_traeRutaDia.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_traeRutaDia.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes.class index 0922aac..2bfde62 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalle_promo.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalle_promo.class index f97aa4a..6610b72 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalle_promo.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalle_promo.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa.class index bca183a..f051097 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_foto.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_foto.class index 1ce6d96..0e9b4be 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_foto.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_foto.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_historico.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_historico.class index d28bbed..861ac87 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_historico.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_historico.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_mapas.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_mapas.class index f5d1cf0..3bbe680 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_mapas.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_mapas.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_noventa$ResumableSub_GUARDA_Click.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_noventa$ResumableSub_GUARDA_Click.class new file mode 100644 index 0000000..1a3a692 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_noventa$ResumableSub_GUARDA_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_noventa.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_noventa.class index c6d842c..841cd90 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_noventa.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_noventa.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_nuevocliente.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_nuevocliente.class index 7b4637e..02aab31 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_nuevocliente.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_nuevocliente.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_pedidos.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_pedidos.class index ae7fdb4..f906b44 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_pedidos.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_pedidos.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.class index ebbe6b5..e3688a8 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal$ResumableSub_envioinfo.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal$ResumableSub_envioinfo.class new file mode 100644 index 0000000..d380926 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal$ResumableSub_envioinfo.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal.class index 4f7c45c..38d3876 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_productos.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_productos.class index 36ba45a..edd7cbd 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_productos.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_productos.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_tabulador.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_tabulador.class index 8c70b76..545eb09 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_tabulador.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_tabulador.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_ticketsdia.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_ticketsdia.class index f5e51f5..03a687f 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_ticketsdia.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_ticketsdia.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.class index 7dba8a8..ab7c9a8 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable.class index 91f710a..1e02428 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cameraexclass.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cameraexclass.class index 51b145f..ffd463f 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cameraexclass.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cameraexclass.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.class index 9170044..056dbce 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.class index e489fad..bbd3112 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.class index 81346ab..ac9f3e1 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.class index b370aee..3c59f6f 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.class index b3ad9e1..e8b0b13 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate.class index b39d808..44b73c2 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager.class index f631c28..0bc13c2 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/escposprinter.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/escposprinter.class index 777d5e8..07474c2 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/escposprinter.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/escposprinter.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/fileprovider.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/fileprovider.class index 59d9937..9ee1b43 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/fileprovider.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/fileprovider.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto.class index 2e27646..4d2b970 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httpjob.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httpjob.class index dcbf46d..fa500b5 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httpjob.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httpjob.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httputils2service.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httputils2service.class index e3b69b0..21c3f31 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httputils2service.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httputils2service.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/madewithlove.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/madewithlove.class index 2f02755..aba738c 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/madewithlove.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/madewithlove.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main.class index 943e342..82d96f5 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/manageexternalstorage.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/manageexternalstorage.class index b2a07d7..e0a4fa4 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/manageexternalstorage.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/manageexternalstorage.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente.class index bab66b3..6cac42f 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.class index aba249a..c7037a2 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas.class index 3d65d37..e434477 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2.class index b906ed2..56d0729 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/roundslider.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/roundslider.class index 91faec0..b3765e1 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/roundslider.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/roundslider.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel.class index 8c2bccd..4dc611b 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter.class index 8224ce1..809ecad 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/subs.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/subs.class index 8f487e0..e5cbfb1 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/subs.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/subs.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/swiftbutton.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/swiftbutton.class index a09acd0..47d1f16 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/swiftbutton.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/swiftbutton.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP.class index aaceef6..6f49443 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.class index 488deb6..8cb7158 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLPSmall.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLPSmall.class new file mode 100644 index 0000000..b6694b5 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLPSmall.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker.class index 236924f..bb4edda 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker.class differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/xuiviewsutils.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/xuiviewsutils.class index ac4d2ab..02d92dd 100644 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/xuiviewsutils.class and b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/xuiviewsutils.class differ diff --git a/B4A/Objects/bin/temp.ap_ b/B4A/Objects/bin/temp.ap_ index 5eb0567..d5ac28d 100644 Binary files a/B4A/Objects/bin/temp.ap_ and b/B4A/Objects/bin/temp.ap_ differ diff --git a/B4A/Objects/classes.dex b/B4A/Objects/classes.dex index ca84c66..6e99134 100644 Binary files a/B4A/Objects/classes.dex and b/B4A/Objects/classes.dex differ diff --git a/B4A/Objects/d8_arguments.txt b/B4A/Objects/d8_arguments.txt index 90a17a7..6b268ac 100644 --- a/B4A/Objects/d8_arguments.txt +++ b/B4A/Objects/d8_arguments.txt @@ -1,9 +1,11 @@ --release --output -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects +C:\ProyBien\Mazapa-Reparto\B4A\Objects --lib C:\Android\platforms\android-30\android.jar -C:\Android\tools\..\extras\b4a_local\unpacked-b4ashared-63837499356000\dex_v1\b4ashared.zip +--min-api +21 +C:\Android\tools\..\extras\b4a_local\unpacked-b4ashared-63872376916000\dex_v1\b4ashared.zip c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-maps\17.0.1\unpacked-play-services-maps-17.0.1\jars\classes.zip c:\android\tools\..\extras\b4a_remote\androidx\fragment\fragment\1.2.5\unpacked-fragment-1.2.5\jars\classes.zip c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.3.1\unpacked-core-1.3.1\jars\classes.zip @@ -37,358 +39,363 @@ c:\android\tools\..\extras\b4a_remote\androidx\asynclayoutinflater\asynclayoutin c:\android\tools\..\extras\b4a_remote\androidx\cursoradapter\cursoradapter\1.0.0\unpacked-cursoradapter-1.0.0\jars\classes.zip c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-location\18.0.0\unpacked-play-services-location-18.0.0\jars\classes.zip c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-places-placereport\17.0.0\unpacked-play-services-places-placereport-17.0.0\jars\classes.zip -C:\Android\tools\..\extras\b4a_local\unpacked-baqrcode-63580278352000\dex_v1\baqrcode.zip -C:\Android\tools\..\extras\b4a_local\unpacked-byteconverter-63837499358000\dex_v1\byteconverter.zip -C:\Android\tools\..\extras\b4a_local\unpacked-camera-63837499358000\dex_v1\camera.zip -C:\Android\tools\..\extras\b4a_local\unpacked-compressstrings-63690670984758\dex_v1\compressstrings.zip -C:\Android\tools\..\extras\b4a_local\unpacked-core-63837499358000\dex_v1\core.zip -C:\Android\tools\..\extras\b4a_local\unpacked-fusedlocationprovider-63591657828000\dex_v1\fusedlocationprovider.zip -C:\Android\tools\..\extras\b4a_local\unpacked-googlemaps-63702010524000\dex_v1\googlemaps.zip -C:\Android\tools\..\extras\b4a_local\unpacked-googlemapsextras-63717303676000\dex_v1\googlemapsextras.zip -C:\Android\tools\..\extras\b4a_local\unpacked-gps-63837499358000\dex_v1\gps.zip -C:\Android\tools\..\extras\b4a_local\unpacked-ime-63837499358000\dex_v1\ime.zip -C:\Android\tools\..\extras\b4a_local\unpacked-javaobject-63837499358000\dex_v1\javaobject.zip -C:\Android\tools\..\extras\b4a_local\unpacked-json-63837499358000\dex_v1\json.zip -C:\Android\tools\..\extras\b4a_local\unpacked-phone-63837499358000\dex_v1\phone.zip -C:\Android\tools\..\extras\b4a_local\unpacked-randomaccessfile-63837499358000\dex_v1\randomaccessfile.zip -C:\Android\tools\..\extras\b4a_local\unpacked-reflection-63837499358000\dex_v1\reflection.zip -C:\Android\tools\..\extras\b4a_local\unpacked-runtimepermissions.androidx-63837499358000\dex_v1\runtimepermissions.zip -C:\Android\tools\..\extras\b4a_local\unpacked-serial-63837499358000\dex_v1\serial.zip -C:\Android\tools\..\extras\b4a_local\unpacked-sql-63837499358000\dex_v1\sql.zip -C:\Android\tools\..\extras\b4a_local\unpacked-togglelibrary-63627631314000\dex_v1\togglelibrary.zip -C:\Android\tools\..\extras\b4a_local\unpacked-xcustomlistview-63837499358000\dex_v1\xcustomlistview.zip -C:\Android\tools\..\extras\b4a_local\unpacked-xui-63837499358000\dex_v1\xui.zip -C:\Android\tools\..\extras\b4a_local\unpacked-zxing_scanner-63580278356000\dex_v1\zxing_scanner.zip -C:\Android\tools\..\extras\b4a_local\unpacked-stringutils-63837499358000\dex_v1\stringutils.zip -C:\Android\tools\..\extras\b4a_local\unpacked-core-zxing-63580278780000\dex_v1\core-zxing.zip -C:\Android\tools\..\extras\b4a_local\unpacked-zxingscanner-63580278896000\dex_v1\zxingscanner.zip -C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-63837499358000\dex_v1\okhttp.zip -C:\Android\tools\..\extras\b4a_local\unpacked-bitmapcreator-63837499358000\dex_v1\bitmapcreator.zip -C:\Android\tools\..\extras\b4a_local\unpacked-dateutils-63837499358000\dex_v1\dateutils.zip -C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-4.9.0-63837499358000\dex_v1\okhttp-4.9.0.zip -C:\Android\tools\..\extras\b4a_local\unpacked-okio-2.8.0-63837499358000\dex_v1\okio-2.8.0.zip -C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-urlconnection-4.9.3-63837499358000\dex_v1\okhttp-urlconnection-4.9.3.zip -C:\Android\tools\..\extras\b4a_local\unpacked-kotlin-stdlib-1.6.10-63837499358000\dex_v1\kotlin-stdlib-1.6.10.zip -C:\Android\tools\..\extras\b4a_local\unpacked-remotelogger-63837499358000\dex_v1\remotelogger.zip +c:\android\tools\..\extras\b4a_remote\androidx\multidex\multidex\2.0.1\unpacked-multidex-2.0.1\jars\classes.zip +C:\Android\tools\..\extras\b4a_local\unpacked-baqrcode-63847686106627\dex_v1\baqrcode.zip +C:\Android\tools\..\extras\b4a_local\unpacked-byteconverter-63872376916000\dex_v1\byteconverter.zip +C:\Android\tools\..\extras\b4a_local\unpacked-camera-63872376916000\dex_v1\camera.zip +C:\Android\tools\..\extras\b4a_local\unpacked-compressstrings-63847686106189\dex_v1\compressstrings.zip +C:\Android\tools\..\extras\b4a_local\unpacked-core-63872376918000\dex_v1\core.zip +C:\Android\tools\..\extras\b4a_local\unpacked-fusedlocationprovider-63847686106192\dex_v1\fusedlocationprovider.zip +C:\Android\tools\..\extras\b4a_local\unpacked-googlemaps-63847686106196\dex_v1\googlemaps.zip +C:\Android\tools\..\extras\b4a_local\unpacked-googlemapsextras-63847686106197\dex_v1\googlemapsextras.zip +C:\Android\tools\..\extras\b4a_local\unpacked-gps-63872376918000\dex_v1\gps.zip +C:\Android\tools\..\extras\b4a_local\unpacked-ime-63872376918000\dex_v1\ime.zip +C:\Android\tools\..\extras\b4a_local\unpacked-javaobject-63872376918000\dex_v1\javaobject.zip +C:\Android\tools\..\extras\b4a_local\unpacked-json-63872376918000\dex_v1\json.zip +C:\Android\tools\..\extras\b4a_local\unpacked-phone-63872376918000\dex_v1\phone.zip +C:\Android\tools\..\extras\b4a_local\unpacked-randomaccessfile-63872376918000\dex_v1\randomaccessfile.zip +C:\Android\tools\..\extras\b4a_local\unpacked-reflection-63872376918000\dex_v1\reflection.zip +C:\Android\tools\..\extras\b4a_local\unpacked-runtimepermissions.androidx-63872376918000\dex_v1\runtimepermissions.zip +C:\Android\tools\..\extras\b4a_local\unpacked-serial-63872376918000\dex_v1\serial.zip +C:\Android\tools\..\extras\b4a_local\unpacked-sql-63872376918000\dex_v1\sql.zip +C:\Android\tools\..\extras\b4a_local\unpacked-togglelibrary-63847686106605\dex_v1\togglelibrary.zip +C:\Android\tools\..\extras\b4a_local\unpacked-xcustomlistview-63872376918000\dex_v1\xcustomlistview.zip +C:\Android\tools\..\extras\b4a_local\unpacked-xui-63872376918000\dex_v1\xui.zip +C:\Android\tools\..\extras\b4a_local\unpacked-zxing_scanner-63847686106726\dex_v1\zxing_scanner.zip +C:\Android\tools\..\extras\b4a_local\unpacked-org.jetbrains.kotlin-kotlin-stdlib-63872376918000\dex_v1\org.jetbrains.kotlin-kotlin-stdlib.zip +C:\Android\tools\..\extras\b4a_local\unpacked-stringutils-63872376918000\dex_v1\stringutils.zip +C:\Android\tools\..\extras\b4a_local\unpacked-core-zxing-63847686106637\dex_v1\core-zxing.zip +C:\Android\tools\..\extras\b4a_local\unpacked-zxingscanner-63847686106733\dex_v1\zxingscanner.zip +C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-63872376918000\dex_v1\okhttp.zip +C:\Android\tools\..\extras\b4a_local\unpacked-bitmapcreator-63872376916000\dex_v1\bitmapcreator.zip +C:\Android\tools\..\extras\b4a_local\unpacked-dateutils-63872376918000\dex_v1\dateutils.zip +C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-4.9.0-63872376918000\dex_v1\okhttp-4.9.0.zip +C:\Android\tools\..\extras\b4a_local\unpacked-okio-2.8.0-63872376918000\dex_v1\okio-2.8.0.zip +C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-urlconnection-4.9.3-63872376918000\dex_v1\okhttp-urlconnection-4.9.3.zip +C:\Android\tools\..\extras\b4a_local\unpacked-remotelogger-63872376918000\dex_v1\remotelogger.zip c:\android\tools\..\extras\b4a_remote\androidx\annotation\annotation\1.1.0\annotation-1.1.0.zip c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-common\2.2.0\lifecycle-common-2.2.0.zip c:\android\tools\..\extras\b4a_remote\androidx\arch\core\core-common\2.1.0\core-common-2.1.0.zip c:\android\tools\..\extras\b4a_remote\androidx\collection\collection\1.1.0\collection-1.1.0.zip -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$anim.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$attr.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$color.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$dimen.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$drawable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$id.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$integer.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$layout.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$string.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$style.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$styleable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$xml.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$anim.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$attr.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$color.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$dimen.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$drawable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$id.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$integer.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$layout.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$string.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$style.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$styleable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$xml.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$anim.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$attr.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$color.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$dimen.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$drawable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$id.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$integer.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$layout.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$string.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$style.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$styleable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$xml.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$anim.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$attr.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$color.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$dimen.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$drawable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$id.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$integer.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$layout.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$string.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$style.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$styleable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$xml.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$anim.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$attr.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$color.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$dimen.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$drawable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$id.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$integer.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$layout.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$string.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$style.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$styleable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$xml.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$anim.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$attr.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$color.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$dimen.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$drawable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$id.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$integer.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$layout.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$string.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$style.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$styleable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$xml.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$anim.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$attr.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$color.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$dimen.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$drawable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$id.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$integer.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$layout.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$string.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$style.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$styleable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$xml.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$anim.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$attr.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$color.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$dimen.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$drawable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$id.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$integer.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$layout.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$string.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$style.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$styleable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$xml.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$anim.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$attr.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$color.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$dimen.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$drawable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$id.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$integer.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$layout.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$string.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$style.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$styleable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$xml.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\animatedcounter.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\anotherprogressbar$ResumableSub_BusyLoop.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\anotherprogressbar.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$1.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$2.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$appupdater_BR.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$ResumableSub_download_newApk.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$ResumableSub_Service_Start.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$_mnewversion.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xbitset.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xbreadcrumb.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xbytesbuilder.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcache$_b4xcacheitem.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcache.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcollections.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcolortemplate$ResumableSub_Show.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcolortemplate$_colorpickerpart.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcolortemplate.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcombobox$ResumableSub_RaiseEvent.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcombobox.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcomparatorsort.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdatetemplate$ResumableSub_Show.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdatetemplate.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdialog$ResumableSub_Show.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdialog$ResumableSub_ShowCustom.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdialog$ResumableSub_ShowTemplate.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdialog.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xfloattextfield.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xformatter$_b4xformatdata.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xformatter.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4ximageview.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xinputtemplate$ResumableSub_Show.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xinputtemplate.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xlisttemplate$ResumableSub_Show.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xlisttemplate.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xloadingindicator$ResumableSub_MainLoop.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xloadingindicator.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xlongtexttemplate.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage$ResumableSub_B4XPage_Appear.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage$ResumableSub_b_envioBD_Click.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage$ResumableSub_b_terpc_Click.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xorderedmap.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpages.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesdelegator.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$PagesMenuListener.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$ResumableSub_HandleCloseRequest.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$_b4amenuitem.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$_b4xpageinfo.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$_b4xpageparent.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xplusminus$ResumableSub_StartDownLoop.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xplusminus.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xradiobutton$ResumableSub_SetValueImpl.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xradiobutton.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xsearchtemplate$ResumableSub_Show.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xsearchtemplate.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xseekbar.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xset.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xsignaturetemplate.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xswitch$ResumableSub_SetValueImpl.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xswitch.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xtimedtemplate$ResumableSub_Show.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xtimedtemplate.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\batteryutilities.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cameraexclass$_camerainfoandid.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cameraexclass$_camerasize.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cameraexclass.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_DownloadApk.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_IsvalidWV.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_ReadWebVN.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_TryApkUpdate.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_UpdateApk.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_buscar$ResumableSub_B4XPage_CloseRequest.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_buscar.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cheklist$ResumableSub_B4XPage_Appear.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cheklist$ResumableSub_B4XPage_CloseRequest.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cheklist$ResumableSub_InitializeCamera2.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cheklist.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cliente$ResumableSub_B4XPage_CloseRequest.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cliente.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_B4XPage_CloseRequest.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_b_GetDirs_Click.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_caculaRutaGPS.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_distanciaEntreCoords.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_generaListViewRutas.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_ListView1_ItemClick.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_traeRutaDia.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_detalleventa$ResumableSub_B4XPage_CloseRequest.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_detalleventa.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_detalle_promo.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_foto$ResumableSub_B4XPage_CloseRequest.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_foto.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_historico$ResumableSub_B4XPage_CloseRequest.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_historico.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_mapas.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_noventa.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_nuevocliente.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_pedidos.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_principal$ResumableSub_B4XPage_CloseRequest.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_principal.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_productos$ResumableSub_B4XPage_CloseRequest.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_productos.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_tabulador.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_ticketsdia.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_updateavailable$ResumableSub_B4XPage_Appear.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_updateavailable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\dbrequestmanager$_dbcommand.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\dbrequestmanager$_dbresult.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\dbrequestmanager.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\escposprinter$_animage.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\escposprinter.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\fileprovider.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$1.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$B4AMenuItemsClickListener.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$HandleKeyDelayed.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$ResumeMessage.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$WaitForLayout.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\httpjob$_multipartfiledata.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\httpjob.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\httputils2service.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\madewithlove.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$1.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$B4AMenuItemsClickListener.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$HandleKeyDelayed.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$ResumeMessage.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$WaitForLayout.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\manageexternalstorage.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$1.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$B4AMenuItemsClickListener.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$HandleKeyDelayed.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$ResumableSub_MapFragment1_Ready.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$ResumeMessage.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$WaitForLayout.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$1.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$B4AMenuItemsClickListener.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$HandleKeyDelayed.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$ResumableSub_MapFragment1_Ready.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$ResumeMessage.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$WaitForLayout.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\newinst2$1.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\newinst2$2.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\newinst2$newinst2_BR.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\newinst2.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$anim.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$attr.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$color.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$dimen.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$drawable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$id.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$integer.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$layout.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$string.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$style.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$styleable.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$xml.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\roundslider.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\scrollinglabel$ResumableSub_StartScrolling.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\scrollinglabel.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\starter$1.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\starter$2.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\starter$starter_BR.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\starter.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\subs.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\swiftbutton.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$1.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$2.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$ResumableSub_StartFLP.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$ResumableSub_StartFLP2Reqs.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$tracker_BR.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\xuiviewsutils.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_check.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_checklist.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_clientes.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_detalleventa.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_detalle_promo.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_historico.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_login.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_mainpage.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_mapa_cliente.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_mapa_rutas.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_no_venta.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_panel_pick_ciego.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_pedido.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_principal.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_proditem.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_proditem2.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_productos.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_searchtemplate.dex -C:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_tabulador.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$anim.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$attr.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$color.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$dimen.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$drawable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$id.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$integer.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$layout.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$string.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$style.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$styleable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$xml.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$anim.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$attr.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$color.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$dimen.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$drawable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$id.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$integer.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$layout.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$string.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$style.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$styleable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$xml.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$anim.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$attr.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$color.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$dimen.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$drawable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$id.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$integer.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$layout.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$string.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$style.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$styleable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$xml.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$anim.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$attr.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$color.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$dimen.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$drawable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$id.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$integer.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$layout.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$string.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$style.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$styleable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$xml.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$anim.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$attr.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$color.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$dimen.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$drawable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$id.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$integer.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$layout.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$string.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$style.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$styleable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$xml.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$anim.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$attr.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$color.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$dimen.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$drawable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$id.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$integer.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$layout.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$string.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$style.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$styleable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$xml.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$anim.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$attr.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$color.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$dimen.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$drawable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$id.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$integer.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$layout.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$string.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$style.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$styleable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$xml.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$anim.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$attr.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$color.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$dimen.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$drawable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$id.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$integer.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$layout.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$string.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$style.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$styleable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$xml.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$anim.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$attr.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$color.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$dimen.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$drawable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$id.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$integer.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$layout.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$string.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$style.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$styleable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$xml.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\animatedcounter.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\anotherprogressbar$ResumableSub_BusyLoop.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\anotherprogressbar.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$1.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$2.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$appupdater_BR.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$ResumableSub_download_newApk.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$ResumableSub_Service_Start.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$_mnewversion.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xbitset.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xbreadcrumb.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xbytesbuilder.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcache$_b4xcacheitem.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcache.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcollections.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcolortemplate$ResumableSub_Show.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcolortemplate$_colorpickerpart.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcolortemplate.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcombobox$ResumableSub_RaiseEvent.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcombobox.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcomparatorsort.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdatetemplate$ResumableSub_Show.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdatetemplate.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdialog$ResumableSub_Show.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdialog$ResumableSub_ShowCustom.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdialog$ResumableSub_ShowTemplate.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdialog.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xfloattextfield.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xformatter$_b4xformatdata.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xformatter.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4ximageview.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xinputtemplate$ResumableSub_Show.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xinputtemplate.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xlisttemplate$ResumableSub_Show.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xlisttemplate.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xloadingindicator$ResumableSub_MainLoop.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xloadingindicator.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xlongtexttemplate.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage$ResumableSub_B4XPage_Appear.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage$ResumableSub_b_envioBD_Click.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage$ResumableSub_b_terpc_Click.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xorderedmap.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpages.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesdelegator.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$PagesMenuListener.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$ResumableSub_HandleCloseRequest.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$_b4amenuitem.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$_b4xpageinfo.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$_b4xpageparent.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xplusminus$ResumableSub_StartDownLoop.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xplusminus.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xradiobutton$ResumableSub_SetValueImpl.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xradiobutton.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xsearchtemplate$ResumableSub_Show.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xsearchtemplate.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xseekbar.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xset.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xsignaturetemplate.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xswitch$ResumableSub_SetValueImpl.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xswitch.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xtimedtemplate$ResumableSub_Show.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xtimedtemplate.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\batteryutilities.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cameraexclass$_camerainfoandid.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cameraexclass$_camerasize.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cameraexclass.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_DownloadApk.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_IsvalidWV.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_ReadWebVN.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_TryApkUpdate.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_UpdateApk.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_buscar$ResumableSub_B4XPage_CloseRequest.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_buscar.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cheklist$ResumableSub_B4XPage_Appear.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cheklist$ResumableSub_B4XPage_CloseRequest.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cheklist$ResumableSub_InitializeCamera2.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cheklist.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cliente$ResumableSub_B4XPage_CloseRequest.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cliente$ResumableSub_Guardado.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cliente.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_B4XPage_CloseRequest.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_b_GetDirs_Click.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_caculaRutaGPS.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_distanciaEntreCoords.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_generaListViewRutas.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_ListView1_ItemClick.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_traeRutaDia.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_detalleventa$ResumableSub_B4XPage_CloseRequest.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_detalleventa.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_detalle_promo.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_foto$ResumableSub_B4XPage_CloseRequest.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_foto.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_historico$ResumableSub_B4XPage_CloseRequest.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_historico.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_mapas.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_noventa$ResumableSub_GUARDA_Click.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_noventa.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_nuevocliente.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_pedidos.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_principal$ResumableSub_B4XPage_CloseRequest.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_principal$ResumableSub_envioinfo.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_principal.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_productos$ResumableSub_B4XPage_CloseRequest.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_productos.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_tabulador.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_ticketsdia.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_updateavailable$ResumableSub_B4XPage_Appear.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_updateavailable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\dbrequestmanager$_dbcommand.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\dbrequestmanager$_dbresult.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\dbrequestmanager.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\escposprinter$_animage.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\escposprinter.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\fileprovider.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$1.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$B4AMenuItemsClickListener.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$HandleKeyDelayed.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$ResumeMessage.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$WaitForLayout.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\httpjob$_multipartfiledata.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\httpjob.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\httputils2service.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\madewithlove.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$1.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$B4AMenuItemsClickListener.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$HandleKeyDelayed.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$ResumeMessage.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$WaitForLayout.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\manageexternalstorage.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$1.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$B4AMenuItemsClickListener.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$HandleKeyDelayed.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$ResumableSub_MapFragment1_Ready.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$ResumeMessage.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$WaitForLayout.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$1.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$B4AMenuItemsClickListener.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$HandleKeyDelayed.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$ResumableSub_MapFragment1_Ready.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$ResumeMessage.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$WaitForLayout.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\newinst2$1.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\newinst2$2.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\newinst2$newinst2_BR.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\newinst2.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$anim.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$attr.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$color.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$dimen.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$drawable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$id.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$integer.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$layout.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$string.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$style.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$styleable.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$xml.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\roundslider.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\scrollinglabel$ResumableSub_StartScrolling.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\scrollinglabel.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\starter$1.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\starter$2.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\starter$starter_BR.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\starter.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\subs.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\swiftbutton.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$1.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$2.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$ResumableSub_StartFLP.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$ResumableSub_StartFLP2Reqs.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$ResumableSub_StartFLPSmall.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$tracker_BR.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\xuiviewsutils.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_check.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_checklist.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_clientes.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_detalleventa.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_detalle_promo.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_historico.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_login.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_mainpage.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_mapa_cliente.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_mapa_rutas.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_no_venta.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_panel_pick_ciego.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_pedido.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_principal.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_proditem.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_proditem2.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_productos.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_searchtemplate.dex +C:\ProyBien\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_tabulador.dex diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/animatedcounter.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/animatedcounter.dex index 8d9b5bf..b5242de 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/animatedcounter.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/animatedcounter.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/anotherprogressbar.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/anotherprogressbar.dex index ea084a2..f4175f1 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/anotherprogressbar.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/anotherprogressbar.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$ResumableSub_Service_Start.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$ResumableSub_Service_Start.dex index 4d85f8f..629cd6f 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$ResumableSub_Service_Start.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$ResumableSub_Service_Start.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$ResumableSub_download_newApk.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$ResumableSub_download_newApk.dex index b2849b5..c990504 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$ResumableSub_download_newApk.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$ResumableSub_download_newApk.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$_mnewversion.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$_mnewversion.dex index be8f06b..9cac5ae 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$_mnewversion.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$_mnewversion.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater.dex index e92dc9b..725580f 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbitset.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbitset.dex index 28ebcf2..f137a29 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbitset.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbitset.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbreadcrumb.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbreadcrumb.dex index 22af2db..b917639 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbreadcrumb.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbreadcrumb.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbytesbuilder.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbytesbuilder.dex index e181e53..84a95d4 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbytesbuilder.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbytesbuilder.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcache.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcache.dex index 96255fa..7509fb3 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcache.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcache.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcollections.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcollections.dex index a2e666e..ed7e91b 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcollections.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcollections.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcolortemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcolortemplate.dex index e5c5517..44996b1 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcolortemplate.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcolortemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcombobox.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcombobox.dex index 206b33e..4572a02 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcombobox.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcombobox.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcomparatorsort.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcomparatorsort.dex index 025e8f4..d1dc074 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcomparatorsort.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcomparatorsort.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdatetemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdatetemplate.dex index 71ab050..5ec9d0c 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdatetemplate.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdatetemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog.dex index f61b7eb..88d4d07 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xfloattextfield.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xfloattextfield.dex index 19aa124..ffa2eee 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xfloattextfield.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xfloattextfield.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xformatter.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xformatter.dex index 9fc5fb8..7080351 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xformatter.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xformatter.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4ximageview.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4ximageview.dex index c0963ff..6d5a3a7 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4ximageview.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4ximageview.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xinputtemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xinputtemplate.dex index 8dcdd0f..8773f85 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xinputtemplate.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xinputtemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlisttemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlisttemplate.dex index 1b2aacf..7843602 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlisttemplate.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlisttemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xloadingindicator.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xloadingindicator.dex index 0311f70..c7386ad 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xloadingindicator.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xloadingindicator.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlongtexttemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlongtexttemplate.dex index 43b20a8..4ac47f3 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlongtexttemplate.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlongtexttemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.dex index 71c63ac..e8422b3 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.dex index 60e8a0a..9eeb5cb 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.dex index f0f22f4..d639357 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage.dex index a812815..0675131 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xorderedmap.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xorderedmap.dex index a19f8b7..c196d18 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xorderedmap.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xorderedmap.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpages.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpages.dex index ec52e17..daaab41 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpages.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpages.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesdelegator.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesdelegator.dex index 1b3c701..09f08a8 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesdelegator.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesdelegator.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager.dex index 6ae7017..a57470f 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xplusminus.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xplusminus.dex index b860af0..cd75460 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xplusminus.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xplusminus.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xradiobutton.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xradiobutton.dex index 7729cab..2a94ad1 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xradiobutton.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xradiobutton.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsearchtemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsearchtemplate.dex index 1113dd2..f975a5f 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsearchtemplate.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsearchtemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xseekbar.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xseekbar.dex index 0c01741..c1f8a7a 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xseekbar.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xseekbar.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xset.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xset.dex index 6184c5e..fc536b0 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xset.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xset.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsignaturetemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsignaturetemplate.dex index 5e16838..2866bee 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsignaturetemplate.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsignaturetemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xswitch.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xswitch.dex index 59a6109..d534a39 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xswitch.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xswitch.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xtimedtemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xtimedtemplate.dex index ddcddc7..7462c35 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xtimedtemplate.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xtimedtemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/batteryutilities.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/batteryutilities.dex index 5ee08f2..4197752 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/batteryutilities.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/batteryutilities.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_buscar.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_buscar.dex index d932996..4883d46 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_buscar.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_buscar.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.dex index 2c31002..76523e2 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.dex index d6d75c4..092b3cf 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist.dex index ac7efb2..1f4fd7e 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.dex index 07684ed..534c5ae 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_Guardado.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_Guardado.dex new file mode 100644 index 0000000..f482427 Binary files /dev/null and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_Guardado.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente.dex index b3f58eb..c52fb26 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.dex index acd1c0f..153a494 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.dex index f54cb2b..7972041 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.dex index 5691c87..0e9bd50 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.dex index 0802046..ad5dc75 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.dex index a30be53..dd48213 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_traeRutaDia.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_traeRutaDia.dex index 1572c0f..f31c11d 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_traeRutaDia.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_traeRutaDia.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes.dex index 0b32fe3..f00d30e 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalle_promo.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalle_promo.dex index 941b72c..0a32ce5 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalle_promo.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalle_promo.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalleventa.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalleventa.dex index 7e97b5d..753407d 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalleventa.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalleventa.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_foto.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_foto.dex index 68b55fe..587c919 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_foto.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_foto.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_historico.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_historico.dex index ed00021..35f77eb 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_historico.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_historico.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_mapas.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_mapas.dex index fc989e1..c8384b3 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_mapas.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_mapas.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_noventa$ResumableSub_GUARDA_Click.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_noventa$ResumableSub_GUARDA_Click.dex new file mode 100644 index 0000000..e0b8120 Binary files /dev/null and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_noventa$ResumableSub_GUARDA_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_noventa.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_noventa.dex index 9eff82c..e504289 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_noventa.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_noventa.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_nuevocliente.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_nuevocliente.dex index 18d0c7e..8c85ca9 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_nuevocliente.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_nuevocliente.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_pedidos.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_pedidos.dex index 443be14..7647780 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_pedidos.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_pedidos.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.dex index 07ef021..eb54e2b 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal$ResumableSub_envioinfo.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal$ResumableSub_envioinfo.dex new file mode 100644 index 0000000..da4ef21 Binary files /dev/null and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal$ResumableSub_envioinfo.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal.dex index 48d93da..fa292c7 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_productos.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_productos.dex index cdc9c7d..b3d5058 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_productos.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_productos.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_tabulador.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_tabulador.dex index 93ecc80..76c63c8 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_tabulador.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_tabulador.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_ticketsdia.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_ticketsdia.dex index 6d26e63..35d94cb 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_ticketsdia.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_ticketsdia.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.dex index 73cec53..b849ef5 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_updateavailable.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_updateavailable.dex index 0b9754a..9d92ca2 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_updateavailable.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_updateavailable.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cameraexclass.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cameraexclass.dex index 37e6381..e592f9d 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cameraexclass.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cameraexclass.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.dex index 3a7e465..7ab593d 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.dex index 68b2557..cb6c3d6 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.dex index 5ac4679..b45413b 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.dex index 9bc3cc2..65087e8 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.dex index 3c7a6bb..436bff3 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate.dex index 93b5f0c..59bb127 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/dbrequestmanager.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/dbrequestmanager.dex index bea9aad..96a2e7a 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/dbrequestmanager.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/dbrequestmanager.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/escposprinter.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/escposprinter.dex index 4663324..0871f31 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/escposprinter.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/escposprinter.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/fileprovider.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/fileprovider.dex index 691a43c..53648dd 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/fileprovider.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/fileprovider.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto.dex index ef02d33..39d52b2 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httpjob.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httpjob.dex index 8ec3675..d4cd77c 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httpjob.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httpjob.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httputils2service.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httputils2service.dex index 793aed0..2661ac5 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httputils2service.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httputils2service.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/madewithlove.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/madewithlove.dex index 248deab..3678a85 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/madewithlove.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/madewithlove.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main.dex index de953ec..4367096 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/manageexternalstorage.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/manageexternalstorage.dex index e3533b9..491cc02 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/manageexternalstorage.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/manageexternalstorage.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente.dex index df09e56..eb2552d 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.dex index df17c6c..8d77f7e 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas.dex index 9c4a848..6255cb1 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2.dex index a6617fd..f88d6a8 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/roundslider.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/roundslider.dex index b9a06c7..a22c1d1 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/roundslider.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/roundslider.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/scrollinglabel.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/scrollinglabel.dex index 15999d4..16fcd60 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/scrollinglabel.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/scrollinglabel.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter.dex index e40321e..57cc456 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/subs.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/subs.dex index 21b9245..0ce9533 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/subs.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/subs.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/swiftbutton.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/swiftbutton.dex index 6967a1c..d6298a4 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/swiftbutton.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/swiftbutton.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP.dex index 0d3b673..a44aede 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.dex index 4822e0a..908228f 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLPSmall.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLPSmall.dex new file mode 100644 index 0000000..257f3c7 Binary files /dev/null and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLPSmall.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker.dex index 554a1ac..1881046 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker.dex differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/xuiviewsutils.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/xuiviewsutils.dex index 6e85f9a..7328658 100644 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/xuiviewsutils.dex and b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/xuiviewsutils.dex differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/animatedcounter.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/animatedcounter.class new file mode 100644 index 0000000..8c5d589 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/animatedcounter.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/animatedcounter_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/animatedcounter_subs_0.class new file mode 100644 index 0000000..e58efa9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/animatedcounter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar.class new file mode 100644 index 0000000..0e7110a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class new file mode 100644 index 0000000..839041e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar_subs_0.class new file mode 100644 index 0000000..fa9563a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/appupdater.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/appupdater.class new file mode 100644 index 0000000..3f32b28 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/appupdater.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/appupdater_subs_0$ResumableSub_Service_Start.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/appupdater_subs_0$ResumableSub_Service_Start.class new file mode 100644 index 0000000..486f56a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/appupdater_subs_0$ResumableSub_Service_Start.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/appupdater_subs_0$ResumableSub_download_newApk.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/appupdater_subs_0$ResumableSub_download_newApk.class new file mode 100644 index 0000000..f02de92 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/appupdater_subs_0$ResumableSub_download_newApk.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/appupdater_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/appupdater_subs_0.class new file mode 100644 index 0000000..5843e80 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/appupdater_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbitset.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbitset.class new file mode 100644 index 0000000..8edf6bc Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbitset.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbitset_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbitset_subs_0.class new file mode 100644 index 0000000..f878bdd Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbitset_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbreadcrumb.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbreadcrumb.class new file mode 100644 index 0000000..ed27d85 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbreadcrumb.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbreadcrumb_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbreadcrumb_subs_0.class new file mode 100644 index 0000000..08de393 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbreadcrumb_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbytesbuilder.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbytesbuilder.class new file mode 100644 index 0000000..3c03214 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbytesbuilder.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbytesbuilder_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbytesbuilder_subs_0.class new file mode 100644 index 0000000..bb362e8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xbytesbuilder_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcache.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcache.class new file mode 100644 index 0000000..4408f6e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcache.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcache_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcache_subs_0.class new file mode 100644 index 0000000..d9871c0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcache_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcollections.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcollections.class new file mode 100644 index 0000000..d10a872 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcollections.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcollections_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcollections_subs_0.class new file mode 100644 index 0000000..a168e57 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcollections_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate.class new file mode 100644 index 0000000..2cf55b2 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..df48d2c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate_subs_0.class new file mode 100644 index 0000000..7799c27 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox.class new file mode 100644 index 0000000..0891ea6 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class new file mode 100644 index 0000000..a7df92d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox_subs_0.class new file mode 100644 index 0000000..bd28b77 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcomparatorsort.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcomparatorsort.class new file mode 100644 index 0000000..8e59adf Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcomparatorsort.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcomparatorsort_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcomparatorsort_subs_0.class new file mode 100644 index 0000000..bed2bb2 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xcomparatorsort_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate.class new file mode 100644 index 0000000..a414575 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..6df0a11 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate_subs_0.class new file mode 100644 index 0000000..7cfa545 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog.class new file mode 100644 index 0000000..2866e7e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..e8817d2 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog_subs_0$ResumableSub_ShowCustom.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog_subs_0$ResumableSub_ShowCustom.class new file mode 100644 index 0000000..4bc6011 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog_subs_0$ResumableSub_ShowCustom.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog_subs_0$ResumableSub_ShowTemplate.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog_subs_0$ResumableSub_ShowTemplate.class new file mode 100644 index 0000000..b6cbe0c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog_subs_0$ResumableSub_ShowTemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog_subs_0.class new file mode 100644 index 0000000..d50528d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xdialog_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield.class new file mode 100644 index 0000000..d2e1d17 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class new file mode 100644 index 0000000..096837a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield_subs_0.class new file mode 100644 index 0000000..6033efa Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xformatter.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xformatter.class new file mode 100644 index 0000000..13b9be7 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xformatter.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xformatter_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xformatter_subs_0.class new file mode 100644 index 0000000..9a87bdf Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xformatter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4ximageview.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4ximageview.class new file mode 100644 index 0000000..8e07df0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4ximageview.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4ximageview_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4ximageview_subs_0.class new file mode 100644 index 0000000..dca66b0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4ximageview_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate.class new file mode 100644 index 0000000..2c7dc39 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..f9f02da Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate_subs_0.class new file mode 100644 index 0000000..feb2d1f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate.class new file mode 100644 index 0000000..3db8408 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..2cbcbda Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate_subs_0.class new file mode 100644 index 0000000..b7ce9aa Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator.class new file mode 100644 index 0000000..16ba352 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class new file mode 100644 index 0000000..1b0ae40 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator_subs_0.class new file mode 100644 index 0000000..b95a36f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlongtexttemplate.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlongtexttemplate.class new file mode 100644 index 0000000..69ddcef Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlongtexttemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlongtexttemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlongtexttemplate_subs_0.class new file mode 100644 index 0000000..74ce2ee Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xlongtexttemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage.class new file mode 100644 index 0000000..20c3f1d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..7ec71a9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..854643c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class new file mode 100644 index 0000000..2a4d499 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0$ResumableSub_b_terpc_Click.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0$ResumableSub_b_terpc_Click.class new file mode 100644 index 0000000..c19af24 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0$ResumableSub_b_terpc_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0.class new file mode 100644 index 0000000..6ce0f7f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xorderedmap.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xorderedmap.class new file mode 100644 index 0000000..3750591 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xorderedmap.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xorderedmap_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xorderedmap_subs_0.class new file mode 100644 index 0000000..e774640 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xorderedmap_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpages.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpages.class new file mode 100644 index 0000000..4fb9d90 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpages.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpages_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpages_subs_0.class new file mode 100644 index 0000000..0cae93b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpages_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesdelegator.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesdelegator.class new file mode 100644 index 0000000..1d80aba Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesdelegator.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesdelegator_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesdelegator_subs_0.class new file mode 100644 index 0000000..6282bca Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesdelegator_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager.class new file mode 100644 index 0000000..5d67ce4 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class new file mode 100644 index 0000000..712fe56 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager_subs_0.class new file mode 100644 index 0000000..666f6f8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus.class new file mode 100644 index 0000000..0eb51ad Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class new file mode 100644 index 0000000..600871b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus_subs_0.class new file mode 100644 index 0000000..01bed6f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton.class new file mode 100644 index 0000000..fd054b1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class new file mode 100644 index 0000000..7bc9cb3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton_subs_0.class new file mode 100644 index 0000000..686899a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate.class new file mode 100644 index 0000000..620788e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..7e38fb3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate_subs_0.class new file mode 100644 index 0000000..03624c5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xseekbar.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xseekbar.class new file mode 100644 index 0000000..09f8799 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xseekbar.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xseekbar_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xseekbar_subs_0.class new file mode 100644 index 0000000..c993127 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xseekbar_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xset.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xset.class new file mode 100644 index 0000000..7567c69 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xset.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xset_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xset_subs_0.class new file mode 100644 index 0000000..424b78a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xset_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsignaturetemplate.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsignaturetemplate.class new file mode 100644 index 0000000..2bcf6d3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsignaturetemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsignaturetemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsignaturetemplate_subs_0.class new file mode 100644 index 0000000..7bb4559 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xsignaturetemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xswitch.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xswitch.class new file mode 100644 index 0000000..e2b5ff0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xswitch.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xswitch_subs_0$ResumableSub_SetValueImpl.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xswitch_subs_0$ResumableSub_SetValueImpl.class new file mode 100644 index 0000000..23a9998 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xswitch_subs_0$ResumableSub_SetValueImpl.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xswitch_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xswitch_subs_0.class new file mode 100644 index 0000000..922c1c5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xswitch_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate.class new file mode 100644 index 0000000..50b18ad Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..5fac002 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate_subs_0.class new file mode 100644 index 0000000..8564ec5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/batteryutilities.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/batteryutilities.class new file mode 100644 index 0000000..ce5d3ce Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/batteryutilities.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/batteryutilities_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/batteryutilities_subs_0.class new file mode 100644 index 0000000..e4ef8ee Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/batteryutilities_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_buscar.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_buscar.class new file mode 100644 index 0000000..5f42462 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_buscar.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_buscar_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_buscar_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..47d1a3d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_buscar_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_buscar_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_buscar_subs_0.class new file mode 100644 index 0000000..5c43dd0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_buscar_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist.class new file mode 100644 index 0000000..9b1f5db Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist_subs_0$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..b64bbdc Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist_subs_0$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..d36b715 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist_subs_0$ResumableSub_InitializeCamera2.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist_subs_0$ResumableSub_InitializeCamera2.class new file mode 100644 index 0000000..17beb76 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist_subs_0$ResumableSub_InitializeCamera2.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist_subs_0.class new file mode 100644 index 0000000..b8d5deb Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cheklist_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cliente.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cliente.class new file mode 100644 index 0000000..0cc6c23 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cliente.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cliente_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cliente_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..2f968ba Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cliente_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cliente_subs_0$ResumableSub_Guardado.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cliente_subs_0$ResumableSub_Guardado.class new file mode 100644 index 0000000..2c396a8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cliente_subs_0$ResumableSub_Guardado.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cliente_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cliente_subs_0.class new file mode 100644 index 0000000..93eb3a1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_cliente_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes.class new file mode 100644 index 0000000..3458f4c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..c20cb67 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_ListView1_ItemClick.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_ListView1_ItemClick.class new file mode 100644 index 0000000..8b67c78 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_ListView1_ItemClick.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_b_GetDirs_Click.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_b_GetDirs_Click.class new file mode 100644 index 0000000..61c925e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_b_GetDirs_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_caculaRutaGPS.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_caculaRutaGPS.class new file mode 100644 index 0000000..0774a67 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_caculaRutaGPS.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_distanciaEntreCoords.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_distanciaEntreCoords.class new file mode 100644 index 0000000..9ddcd05 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_distanciaEntreCoords.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_generaListViewRutas.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_generaListViewRutas.class new file mode 100644 index 0000000..7151b07 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_generaListViewRutas.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_traeRutaDia.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_traeRutaDia.class new file mode 100644 index 0000000..bae8a86 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0$ResumableSub_traeRutaDia.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0.class new file mode 100644 index 0000000..736ea31 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_clientes_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalle_promo.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalle_promo.class new file mode 100644 index 0000000..5e58467 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalle_promo.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalle_promo_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalle_promo_subs_0.class new file mode 100644 index 0000000..f2298c2 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalle_promo_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa.class new file mode 100644 index 0000000..a01e3e8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..2f32f67 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa_subs_0.class new file mode 100644 index 0000000..d4c3bc4 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_foto.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_foto.class new file mode 100644 index 0000000..979d6a8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_foto.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_foto_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_foto_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..d4ad0c9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_foto_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_foto_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_foto_subs_0.class new file mode 100644 index 0000000..4681a54 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_foto_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_historico.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_historico.class new file mode 100644 index 0000000..ddb8e08 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_historico.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..04f43bc Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_historico_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_historico_subs_0.class new file mode 100644 index 0000000..442b937 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_historico_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_mapas.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_mapas.class new file mode 100644 index 0000000..a194377 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_mapas.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_mapas_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_mapas_subs_0.class new file mode 100644 index 0000000..da345a3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_mapas_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_noventa.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_noventa.class new file mode 100644 index 0000000..781f214 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_noventa.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_noventa_subs_0$ResumableSub_GUARDA_Click.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_noventa_subs_0$ResumableSub_GUARDA_Click.class new file mode 100644 index 0000000..3f01a62 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_noventa_subs_0$ResumableSub_GUARDA_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_noventa_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_noventa_subs_0.class new file mode 100644 index 0000000..c186df1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_noventa_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_nuevocliente.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_nuevocliente.class new file mode 100644 index 0000000..77a6aea Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_nuevocliente.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_nuevocliente_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_nuevocliente_subs_0.class new file mode 100644 index 0000000..2e6f6bd Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_nuevocliente_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_pedidos.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_pedidos.class new file mode 100644 index 0000000..3127981 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_pedidos.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_pedidos_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_pedidos_subs_0.class new file mode 100644 index 0000000..0b93032 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_pedidos_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_principal.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_principal.class new file mode 100644 index 0000000..a05da49 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_principal.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..891e2e2 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_principal_subs_0$ResumableSub_envioinfo.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_principal_subs_0$ResumableSub_envioinfo.class new file mode 100644 index 0000000..1e1cebf Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_principal_subs_0$ResumableSub_envioinfo.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_principal_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_principal_subs_0.class new file mode 100644 index 0000000..3b06334 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_principal_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_productos.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_productos.class new file mode 100644 index 0000000..59e79f1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_productos.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..072348b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_productos_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_productos_subs_0.class new file mode 100644 index 0000000..e9d0b2f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_productos_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_tabulador.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_tabulador.class new file mode 100644 index 0000000..a1be544 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_tabulador.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_tabulador_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_tabulador_subs_0.class new file mode 100644 index 0000000..87b675e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_tabulador_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_ticketsdia.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_ticketsdia.class new file mode 100644 index 0000000..e099b1f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_ticketsdia.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_ticketsdia_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_ticketsdia_subs_0.class new file mode 100644 index 0000000..d603129 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_ticketsdia_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable.class new file mode 100644 index 0000000..1c5b30e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..6913c63 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable_subs_0.class new file mode 100644 index 0000000..8fdcd80 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cameraexclass.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cameraexclass.class new file mode 100644 index 0000000..c496dfb Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cameraexclass.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cameraexclass_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cameraexclass_subs_0.class new file mode 100644 index 0000000..ac09fe2 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cameraexclass_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate.class new file mode 100644 index 0000000..19374ca Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_DownloadApk.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_DownloadApk.class new file mode 100644 index 0000000..8222e93 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_DownloadApk.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class new file mode 100644 index 0000000..9816a73 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class new file mode 100644 index 0000000..0c33085 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class new file mode 100644 index 0000000..3d9641e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_UpdateApk.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_UpdateApk.class new file mode 100644 index 0000000..6418196 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0$ResumableSub_UpdateApk.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0.class new file mode 100644 index 0000000..82027b6 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager.class new file mode 100644 index 0000000..f2b9fc8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager_subs_0.class new file mode 100644 index 0000000..c6fe12d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/escposprinter.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/escposprinter.class new file mode 100644 index 0000000..2648901 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/escposprinter.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/escposprinter_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/escposprinter_subs_0.class new file mode 100644 index 0000000..2688adb Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/escposprinter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/fileprovider.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/fileprovider.class new file mode 100644 index 0000000..c6d70ae Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/fileprovider.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/fileprovider_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/fileprovider_subs_0.class new file mode 100644 index 0000000..fea8246 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/fileprovider_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/foto.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/foto.class new file mode 100644 index 0000000..8dbb49a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/foto.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/foto_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/foto_subs_0.class new file mode 100644 index 0000000..bf23145 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/foto_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/httpjob.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/httpjob.class new file mode 100644 index 0000000..f896674 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/httpjob.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/httpjob_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/httpjob_subs_0.class new file mode 100644 index 0000000..2c84b96 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/httpjob_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/httputils2service.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/httputils2service.class new file mode 100644 index 0000000..2cfa9c8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/httputils2service.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/httputils2service_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/httputils2service_subs_0.class new file mode 100644 index 0000000..7e8ae27 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/httputils2service_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/madewithlove.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/madewithlove.class new file mode 100644 index 0000000..151c6a5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/madewithlove.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/madewithlove_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/madewithlove_subs_0.class new file mode 100644 index 0000000..f2dc44e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/madewithlove_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/main.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/main.class new file mode 100644 index 0000000..2011e3e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/main.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/main_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/main_subs_0.class new file mode 100644 index 0000000..60da6ba Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/main_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/manageexternalstorage.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/manageexternalstorage.class new file mode 100644 index 0000000..60c01f7 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/manageexternalstorage.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/manageexternalstorage_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/manageexternalstorage_subs_0.class new file mode 100644 index 0000000..e3e43b2 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/manageexternalstorage_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente.class new file mode 100644 index 0000000..7ee798e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente_subs_0$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente_subs_0$ResumableSub_MapFragment1_Ready.class new file mode 100644 index 0000000..8063b9e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente_subs_0$ResumableSub_MapFragment1_Ready.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente_subs_0.class new file mode 100644 index 0000000..447b38f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas.class new file mode 100644 index 0000000..90ba23f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class new file mode 100644 index 0000000..0f67fc5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas_subs_0.class new file mode 100644 index 0000000..a5f2e14 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/newinst2.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/newinst2.class new file mode 100644 index 0000000..a7e8027 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/newinst2.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/newinst2_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/newinst2_subs_0.class new file mode 100644 index 0000000..4e59134 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/newinst2_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/roundslider.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/roundslider.class new file mode 100644 index 0000000..55559c5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/roundslider.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/roundslider_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/roundslider_subs_0.class new file mode 100644 index 0000000..0fc497c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/roundslider_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel.class new file mode 100644 index 0000000..b42e622 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel_subs_0$ResumableSub_StartScrolling.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel_subs_0$ResumableSub_StartScrolling.class new file mode 100644 index 0000000..1a3a515 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel_subs_0$ResumableSub_StartScrolling.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel_subs_0.class new file mode 100644 index 0000000..e7edecf Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/starter.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/starter.class new file mode 100644 index 0000000..a121edc Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/starter.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/starter_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/starter_subs_0.class new file mode 100644 index 0000000..86ace65 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/starter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/subs.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/subs.class new file mode 100644 index 0000000..db0a3b4 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/subs.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/subs_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/subs_subs_0.class new file mode 100644 index 0000000..5b945cb Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/subs_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/swiftbutton.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/swiftbutton.class new file mode 100644 index 0000000..e9042d9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/swiftbutton.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/swiftbutton_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/swiftbutton_subs_0.class new file mode 100644 index 0000000..35090c7 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/swiftbutton_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker.class new file mode 100644 index 0000000..bf6fef5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker_subs_0$ResumableSub_StartFLP.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker_subs_0$ResumableSub_StartFLP.class new file mode 100644 index 0000000..ae5eb11 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker_subs_0$ResumableSub_StartFLP.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker_subs_0$ResumableSub_StartFLP2Reqs.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker_subs_0$ResumableSub_StartFLP2Reqs.class new file mode 100644 index 0000000..c3820d7 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker_subs_0$ResumableSub_StartFLP2Reqs.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker_subs_0$ResumableSub_StartFLPSmall.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker_subs_0$ResumableSub_StartFLPSmall.class new file mode 100644 index 0000000..ace779e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker_subs_0$ResumableSub_StartFLPSmall.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker_subs_0.class new file mode 100644 index 0000000..e050df7 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/tracker_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/xuiviewsutils.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/xuiviewsutils.class new file mode 100644 index 0000000..7ff4947 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/xuiviewsutils.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/xuiviewsutils_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/xuiviewsutils_subs_0.class new file mode 100644 index 0000000..116c8a0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_mazapa/keymon/lat/xuiviewsutils_subs_0.class differ diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/animatedcounter.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/animatedcounter.java index f57dd54..e9edd8f 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/animatedcounter.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/animatedcounter.java @@ -41,12 +41,12 @@ public Object _tag = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/anotherprogressbar.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/anotherprogressbar.java index 4ce1859..8b53258 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/anotherprogressbar.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/anotherprogressbar.java @@ -46,12 +46,12 @@ public int _brushoffsetdelta = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/appupdater.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/appupdater.java index 4ac70f4..831b5b2 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/appupdater.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/appupdater.java @@ -107,7 +107,15 @@ public class appupdater extends android.app.Service{ } } } - + + public void onTimeout(int startId) { + BA.LogInfo("** Service (appupdater) Timeout **"); + anywheresoftware.b4a.objects.collections.Map params = new anywheresoftware.b4a.objects.collections.Map(); + params.Initialize(); + params.Put("StartId", startId); + processBA.raiseEvent(null, "service_timeout", params); + + } @Override public void onDestroy() { super.onDestroy(); @@ -140,12 +148,12 @@ public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; public static reparto_mazapa.keymon.lat.appupdater._mnewversion _newapp = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -264,7 +272,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("0589827","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 +338,7 @@ _outnewapk.Close(); //BA.debugLineNum = 177;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; parent.mostCurrent._b4xpages._mainpage /*reparto_mazapa.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("0589846","ocultamos prigreso DOWNLOAD APK",0); if (true) break; case 8: @@ -392,7 +400,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("0983052",("Using FileProvider? - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); //BA.debugLineNum = 250;BA.debugLine="End Sub"; return ""; } @@ -427,7 +435,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("01048590","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); //BA.debugLineNum = 268;BA.debugLine="Return \"\""; if (true) return (Object)(""); }; @@ -464,7 +472,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("0393217","appUpdater(), Service_Create",0); //BA.debugLineNum = 103;BA.debugLine="newApp.Initialize"; _newapp.Initialize(); //BA.debugLineNum = 104;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; @@ -479,7 +487,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("0917505","appUpdater(), Service_Destroy",0); //BA.debugLineNum = 235;BA.debugLine="End Sub"; return ""; } @@ -511,11 +519,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("0458753","appUpdater(), Service_Start",0); //BA.debugLineNum = 112;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua"; parent.mostCurrent._b4xpages._mainpage /*reparto_mazapa.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("0458756","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 +575,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("0458768",("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 +592,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("0458773","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 +614,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("0458780","New app true",0); //BA.debugLineNum = 138;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable"); if (true) break; @@ -622,7 +630,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("0458786","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); if (true) break; if (true) break; @@ -637,7 +645,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("0458789","appUpdater(), Job Failed "+parent._lnk,0); if (true) break; case 19: diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbitset.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbitset.java index 11eb401..0c5cb37 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbitset.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbitset.java @@ -29,12 +29,12 @@ public int _msize = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbreadcrumb.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbreadcrumb.java index 82f3f9e..d896f13 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbreadcrumb.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbreadcrumb.java @@ -43,12 +43,12 @@ public boolean _mhaptic = false; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbytesbuilder.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbytesbuilder.java index 6895a8e..7267d5d 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbytesbuilder.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbytesbuilder.java @@ -29,12 +29,12 @@ public int _mlength = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = 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("914876674","Index too large",0);}; +__c.LogImpl("99371650","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("914942210","Index too large",0);}; +__c.LogImpl("99437186","Index too large",0);}; //BA.debugLineNum = 59;BA.debugLine="Append(Data)"; _append(_data); }else { diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcache.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcache.java index 4997de3..e542a65 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcache.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcache.java @@ -31,12 +31,12 @@ public int _eternalcounts = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcollections.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcollections.java index cb670c2..c1df7bb 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcollections.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcollections.java @@ -14,12 +14,12 @@ public static Object getObject() { public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcolortemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcolortemplate.java index 85fd42e..8906779 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcolortemplate.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcolortemplate.java @@ -44,12 +44,12 @@ public Object[] _initialcolor = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcombobox.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcombobox.java index 18013ef..4c3baeb 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcombobox.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcombobox.java @@ -37,12 +37,12 @@ public String _b4icancelbutton = ""; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcomparatorsort.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcomparatorsort.java index 81bda30..4c58769 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcomparatorsort.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcomparatorsort.java @@ -27,12 +27,12 @@ public class b4xcomparatorsort extends B4AClass.ImplB4AClass implements BA.SubDe public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdatetemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdatetemplate.java index 152fe24..64db437 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdatetemplate.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdatetemplate.java @@ -58,19 +58,19 @@ public anywheresoftware.b4a.objects.B4XViewWrapper _btnyearright = null; public anywheresoftware.b4a.objects.B4XViewWrapper _lblmonth = null; public anywheresoftware.b4a.objects.B4XViewWrapper _lblyear = null; public anywheresoftware.b4a.objects.B4XViewWrapper _pnldialog = null; -public anywheresoftware.b4a.objects.collections.List _months = null; +public anywheresoftware.b4a.objects.collections.List _monthsnames = null; public reparto_mazapa.keymon.lat.b4xdialog _mdialog = null; public boolean _closeonselection = false; public anywheresoftware.b4a.objects.collections.List _daysofweeknames = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -170,8 +170,8 @@ _lblmonth = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lblyear = new anywheresoftware.b4a.objects.B4XViewWrapper(); //BA.debugLineNum = 30;BA.debugLine="Private pnlDialog As B4XView"; _pnldialog = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private months As List"; -_months = new anywheresoftware.b4a.objects.collections.List(); + //BA.debugLineNum = 31;BA.debugLine="Public MonthsNames As List"; +_monthsnames = new anywheresoftware.b4a.objects.collections.List(); //BA.debugLineNum = 32;BA.debugLine="Private mDialog As B4XDialog"; _mdialog = new reparto_mazapa.keymon.lat.b4xdialog(); //BA.debugLineNum = 33;BA.debugLine="Public CloseOnSelection As Boolean = True"; @@ -220,8 +220,8 @@ anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _daysfont = null; int _day = 0; int _row = 0; //BA.debugLineNum = 62;BA.debugLine="Private Sub DrawDays"; - //BA.debugLineNum = 63;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; -_lblmonth.setText(BA.ObjectToCharSequence(_months.Get((int) (_month-1)))); + //BA.debugLineNum = 63;BA.debugLine="lblMonth.Text = MonthsNames.Get(month - 1)"; +_lblmonth.setText(BA.ObjectToCharSequence(_monthsnames.Get((int) (_month-1)))); //BA.debugLineNum = 64;BA.debugLine="lblYear.Text = year"; _lblyear.setText(BA.ObjectToCharSequence(_year)); //BA.debugLineNum = 65;BA.debugLine="SetYearsButtonState"; @@ -347,8 +347,8 @@ _pnldialog.setTag(this); _month = __c.DateTime.GetMonth(__c.DateTime.getNow()); //BA.debugLineNum = 43;BA.debugLine="year = DateTime.GetYear(DateTime.Now)"; _year = __c.DateTime.GetYear(__c.DateTime.getNow()); - //BA.debugLineNum = 44;BA.debugLine="months = DateUtils.GetMonthsNames"; -_months = _dateutils._getmonthsnames(ba); + //BA.debugLineNum = 44;BA.debugLine="MonthsNames = DateUtils.GetMonthsNames"; +_monthsnames = _dateutils._getmonthsnames(ba); //BA.debugLineNum = 45;BA.debugLine="selectedDate = DateTime.Now"; _selecteddate = __c.DateTime.getNow(); //BA.debugLineNum = 46;BA.debugLine="setDate(selectedDate)"; @@ -402,8 +402,8 @@ _month = __c.DateTime.GetMonth(_date); _selectday(__c.DateTime.GetDayOfMonth(_date)); //BA.debugLineNum = 111;BA.debugLine="lblYear.Text = year"; _lblyear.setText(BA.ObjectToCharSequence(_year)); - //BA.debugLineNum = 112;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; -_lblmonth.setText(BA.ObjectToCharSequence(_months.Get((int) (_month-1)))); + //BA.debugLineNum = 112;BA.debugLine="lblMonth.Text = MonthsNames.Get(month - 1)"; +_lblmonth.setText(BA.ObjectToCharSequence(_monthsnames.Get((int) (_month-1)))); //BA.debugLineNum = 113;BA.debugLine="End Sub"; return ""; } diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdialog.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdialog.java index ddcc93f..68c346b 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdialog.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdialog.java @@ -56,12 +56,12 @@ public anywheresoftware.b4a.objects.collections.Map _buttonsstate = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xfloattextfield.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xfloattextfield.java index 1811987..95196f7 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xfloattextfield.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xfloattextfield.java @@ -59,12 +59,12 @@ public long _lastswitchtextfieldtime = 0L; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = 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("931457304","Multiline not supported with password mode.",0); +__c.LogImpl("925952280","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_mazapa/keymon/lat/b4xformatter.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xformatter.java index fac8019..44d4922 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xformatter.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xformatter.java @@ -31,12 +31,12 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4ximageview.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4ximageview.java index f5e6ed6..65c2ffe 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4ximageview.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4ximageview.java @@ -38,12 +38,12 @@ public int _mcornersradius = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -271,7 +271,7 @@ _imageviewheight = (float) (_mbitmap.getHeight()); break; } default: { //BA.debugLineNum = 104;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)"; -__c.LogImpl("933816603","Invalid resize mode: "+_mresizemode,0); +__c.LogImpl("928311579","Invalid resize mode: "+_mresizemode,0); break; } } ; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xinputtemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xinputtemplate.java index f070250..a9a0916 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xinputtemplate.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xinputtemplate.java @@ -38,12 +38,12 @@ public int _bordercolorinvalid = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xlisttemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xlisttemplate.java index 707de42..f981fcc 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xlisttemplate.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xlisttemplate.java @@ -37,12 +37,12 @@ public int _multiselectionminimum = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xloadingindicator.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xloadingindicator.java index 7e63242..33857b5 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xloadingindicator.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xloadingindicator.java @@ -37,12 +37,12 @@ public Object _tag = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xlongtexttemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xlongtexttemplate.java index ab31d16..beaaa81 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xlongtexttemplate.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xlongtexttemplate.java @@ -31,12 +31,12 @@ public Object _text = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xmainpage.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xmainpage.java index ee8fba3..0373b79 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xmainpage.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xmainpage.java @@ -112,12 +112,12 @@ public anywheresoftware.b4a.sql.SQL.CursorWrapper _f = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -125,117 +125,117 @@ public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; public String _b_aceptar_click() throws Exception{ reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 913;BA.debugLine="Private Sub b_aceptar_Click"; - //BA.debugLineNum = 914;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; + //BA.debugLineNum = 971;BA.debugLine="Private Sub b_aceptar_Click"; + //BA.debugLineNum = 972;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; _f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _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 = 915;BA.debugLine="f.Position=0"; + //BA.debugLineNum = 973;BA.debugLine="f.Position=0"; _f.setPosition((int) (0)); - //BA.debugLineNum = 916;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"sele"; + //BA.debugLineNum = 974;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"sele"; _a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _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 = 917;BA.debugLine="a.Position = 0"; + //BA.debugLineNum = 975;BA.debugLine="a.Position = 0"; _a.setPosition((int) (0)); - //BA.debugLineNum = 918;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 976;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 919;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 977;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 920;BA.debugLine="cmd.Name = \"select_estatus_MAZAPA\""; + //BA.debugLineNum = 978;BA.debugLine="cmd.Name = \"select_estatus_MAZAPA\""; _cmd.Name /*String*/ = "select_estatus_MAZAPA"; - //BA.debugLineNum = 921;BA.debugLine="cmd.Parameters = Array As Object(a.GetString(\"ID_"; + //BA.debugLineNum = 979;BA.debugLine="cmd.Parameters = Array As Object(a.GetString(\"ID_"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_a.GetString("ID_ALMACEN")),(Object)(_f.GetString("RUTAA"))}; - //BA.debugLineNum = 922;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"estatus2\")"; + //BA.debugLineNum = 980;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"estatus2\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("estatus2")); - //BA.debugLineNum = 923;BA.debugLine="f.Close"; + //BA.debugLineNum = 981;BA.debugLine="f.Close"; _f.Close(); - //BA.debugLineNum = 924;BA.debugLine="a.Close"; + //BA.debugLineNum = 982;BA.debugLine="a.Close"; _a.Close(); - //BA.debugLineNum = 929;BA.debugLine="End Sub"; + //BA.debugLineNum = 987;BA.debugLine="End Sub"; return ""; } public String _b_aceptar_monto_click() throws Exception{ reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 630;BA.debugLine="Private Sub B_Aceptar_Monto_Click"; - //BA.debugLineNum = 631;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; + //BA.debugLineNum = 688;BA.debugLine="Private Sub B_Aceptar_Monto_Click"; + //BA.debugLineNum = 689;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; _f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _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 = 632;BA.debugLine="f.Position=0"; + //BA.debugLineNum = 690;BA.debugLine="f.Position=0"; _f.setPosition((int) (0)); - //BA.debugLineNum = 633;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"sele"; + //BA.debugLineNum = 691;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"sele"; _a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _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 = 634;BA.debugLine="a.Position = 0"; + //BA.debugLineNum = 692;BA.debugLine="a.Position = 0"; _a.setPosition((int) (0)); - //BA.debugLineNum = 635;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 693;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 636;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 694;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 637;BA.debugLine="cmd.Name = \"select_estatus_MAZAPA\""; + //BA.debugLineNum = 695;BA.debugLine="cmd.Name = \"select_estatus_MAZAPA\""; _cmd.Name /*String*/ = "select_estatus_MAZAPA"; - //BA.debugLineNum = 638;BA.debugLine="cmd.Parameters = Array As Object(a.GetString(\"ID_"; + //BA.debugLineNum = 696;BA.debugLine="cmd.Parameters = Array As Object(a.GetString(\"ID_"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_a.GetString("ID_ALMACEN")),(Object)(_f.GetString("RUTAA"))}; - //BA.debugLineNum = 639;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"estatus\")"; + //BA.debugLineNum = 697;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"estatus\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("estatus")); - //BA.debugLineNum = 640;BA.debugLine="f.Close"; + //BA.debugLineNum = 698;BA.debugLine="f.Close"; _f.Close(); - //BA.debugLineNum = 641;BA.debugLine="a.Close"; + //BA.debugLineNum = 699;BA.debugLine="a.Close"; _a.Close(); - //BA.debugLineNum = 642;BA.debugLine="End Sub"; + //BA.debugLineNum = 700;BA.debugLine="End Sub"; return ""; } public String _b_apk_click() throws Exception{ - //BA.debugLineNum = 570;BA.debugLine="Private Sub b_apk_Click"; - //BA.debugLineNum = 571;BA.debugLine="StartService(appUpdater)"; + //BA.debugLineNum = 628;BA.debugLine="Private Sub b_apk_Click"; + //BA.debugLineNum = 629;BA.debugLine="StartService(appUpdater)"; __c.StartService(ba,(Object)(_appupdater.getObject())); - //BA.debugLineNum = 572;BA.debugLine="End Sub"; + //BA.debugLineNum = 630;BA.debugLine="End Sub"; return ""; } public String _b_arqueocieego_click() throws Exception{ - //BA.debugLineNum = 718;BA.debugLine="Private Sub b_arqueocieego_Click"; - //BA.debugLineNum = 719;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM CAT_GU"; + //BA.debugLineNum = 776;BA.debugLine="Private Sub b_arqueocieego_Click"; + //BA.debugLineNum = 777;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM CAT_GU"; _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 CAT_GUNAPROD3"))); - //BA.debugLineNum = 720;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 778;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 721;BA.debugLine="Subs.panelVisible(p_validacion,0,0)"; + //BA.debugLineNum = 779;BA.debugLine="Subs.panelVisible(p_validacion,0,0)"; _subs._panelvisible /*String*/ (ba,_p_validacion,(int) (0),(int) (0)); }else { - //BA.debugLineNum = 723;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; + //BA.debugLineNum = 781;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; __c.MsgboxAsync(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día"),BA.ObjectToCharSequence("Atención"),ba); }; - //BA.debugLineNum = 725;BA.debugLine="End Sub"; + //BA.debugLineNum = 783;BA.debugLine="End Sub"; return ""; } public String _b_can_monto_click() throws Exception{ - //BA.debugLineNum = 714;BA.debugLine="Private Sub B_Can_Monto_Click"; - //BA.debugLineNum = 715;BA.debugLine="p_add_monto.Visible = False"; + //BA.debugLineNum = 772;BA.debugLine="Private Sub B_Can_Monto_Click"; + //BA.debugLineNum = 773;BA.debugLine="p_add_monto.Visible = False"; _p_add_monto.setVisible(__c.False); - //BA.debugLineNum = 716;BA.debugLine="End Sub"; + //BA.debugLineNum = 774;BA.debugLine="End Sub"; return ""; } public String _b_cancelarcodigo_click() throws Exception{ - //BA.debugLineNum = 957;BA.debugLine="Private Sub b_cancelarcodigo_Click"; - //BA.debugLineNum = 958;BA.debugLine="p_validacion.Visible = False"; + //BA.debugLineNum = 1015;BA.debugLine="Private Sub b_cancelarcodigo_Click"; + //BA.debugLineNum = 1016;BA.debugLine="p_validacion.Visible = False"; _p_validacion.setVisible(__c.False); - //BA.debugLineNum = 959;BA.debugLine="End Sub"; + //BA.debugLineNum = 1017;BA.debugLine="End Sub"; return ""; } public String _b_cargarmonto_click() throws Exception{ - //BA.debugLineNum = 613;BA.debugLine="Private Sub b_CargarMonto_Click"; - //BA.debugLineNum = 615;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM kmt_in"; + //BA.debugLineNum = 671;BA.debugLine="Private Sub b_CargarMonto_Click"; + //BA.debugLineNum = 673;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM kmt_in"; _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 kmt_info"))); - //BA.debugLineNum = 616;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 674;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 617;BA.debugLine="If c.RowCount < 0 Or c.RowCount = 0 Then"; + //BA.debugLineNum = 675;BA.debugLine="If c.RowCount < 0 Or c.RowCount = 0 Then"; if (_c.getRowCount()<0 || _c.getRowCount()==0) { - //BA.debugLineNum = 618;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; + //BA.debugLineNum = 676;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; __c.MsgboxAsync(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día"),BA.ObjectToCharSequence("Atención"),ba); }else { - //BA.debugLineNum = 620;BA.debugLine="Subs.panelVisible(p_add_monto,0,0)"; + //BA.debugLineNum = 678;BA.debugLine="Subs.panelVisible(p_add_monto,0,0)"; _subs._panelvisible /*String*/ (ba,_p_add_monto,(int) (0),(int) (0)); }; - //BA.debugLineNum = 622;BA.debugLine="c.Close"; + //BA.debugLineNum = 680;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 624;BA.debugLine="End Sub"; + //BA.debugLineNum = 682;BA.debugLine="End Sub"; return ""; } public void _b_enviobd_click() throws Exception{ @@ -262,11 +262,11 @@ return; case 0: //C this.state = -1; - //BA.debugLineNum = 555;BA.debugLine="Dim FileName As String = \"kmt.db\""; + //BA.debugLineNum = 613;BA.debugLine="Dim FileName As String = \"kmt.db\""; _filename = "kmt.db"; - //BA.debugLineNum = 557;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)"; -parent.__c.LogImpl("81769477","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0); - //BA.debugLineNum = 558;BA.debugLine="Sleep(1000)"; + //BA.debugLineNum = 615;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)"; +parent.__c.LogImpl("01769477","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0); + //BA.debugLineNum = 616;BA.debugLine="Sleep(1000)"; parent.__c.Sleep(ba,this,(int) (1000)); this.state = 1; return; @@ -274,24 +274,24 @@ case 1: //C this.state = -1; ; - //BA.debugLineNum = 559;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh"; + //BA.debugLineNum = 617;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh"; parent.__c.File.Copy(parent.__c.File.getDirInternal(),_filename,parent._provider._sharedfolder /*String*/ ,_filename); - //BA.debugLineNum = 560;BA.debugLine="Dim email As Email"; + //BA.debugLineNum = 618;BA.debugLine="Dim email As Email"; _email = new anywheresoftware.b4a.phone.Phone.Email(); - //BA.debugLineNum = 561;BA.debugLine="email.To.Add(\"soporte@keymonsoft.com\")"; + //BA.debugLineNum = 619;BA.debugLine="email.To.Add(\"soporte@keymonsoft.com\")"; _email.To.Add((Object)("soporte@keymonsoft.com")); - //BA.debugLineNum = 562;BA.debugLine="email.Subject = \"Base de datos para revisión\""; + //BA.debugLineNum = 620;BA.debugLine="email.Subject = \"Base de datos para revisión\""; _email.Subject = "Base de datos para revisión"; - //BA.debugLineNum = 563;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam"; + //BA.debugLineNum = 621;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam"; _email.Attachments.Add(parent._provider._getfileuri /*Object*/ (_filename)); - //BA.debugLineNum = 565;BA.debugLine="Dim in As Intent = email.GetIntent"; + //BA.debugLineNum = 623;BA.debugLine="Dim in As Intent = email.GetIntent"; _in = new anywheresoftware.b4a.objects.IntentWrapper(); _in = (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_email.GetIntent())); - //BA.debugLineNum = 566;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; + //BA.debugLineNum = 624;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; _in.setFlags((int) (1)); - //BA.debugLineNum = 567;BA.debugLine="StartActivity(in)"; + //BA.debugLineNum = 625;BA.debugLine="StartActivity(in)"; parent.__c.StartActivity(ba,(Object)(_in.getObject())); - //BA.debugLineNum = 568;BA.debugLine="End Sub"; + //BA.debugLineNum = 626;BA.debugLine="End Sub"; if (true) break; } @@ -311,138 +311,138 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _k = null; String[] _fechatabulador = null; String[] _fechatabulador2 = null; String _fechatabulador3 = ""; - //BA.debugLineNum = 768;BA.debugLine="Private Sub B_PC_ENV_Click"; - //BA.debugLineNum = 769;BA.debugLine="Dim sDate, sTime As String"; + //BA.debugLineNum = 826;BA.debugLine="Private Sub B_PC_ENV_Click"; + //BA.debugLineNum = 827;BA.debugLine="Dim sDate, sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 770;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; + //BA.debugLineNum = 828;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; __c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 771;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; + //BA.debugLineNum = 829;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; __c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 772;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 830;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; _sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 773;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; + //BA.debugLineNum = 831;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; _stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 776;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; + //BA.debugLineNum = 834;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 = 778;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; + //BA.debugLineNum = 836;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; _itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _itempanel = _clv_pick_ciego._getpanel(_i); - //BA.debugLineNum = 779;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; + //BA.debugLineNum = 837;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; _innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _innerpanel = _itempanel.GetView((int) (0)); - //BA.debugLineNum = 780;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; + //BA.debugLineNum = 838;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; _edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); _edittext = _innerpanel.GetView((int) (1)); - //BA.debugLineNum = 781;BA.debugLine="Dim inputText As String = editText.As(EditText)."; + //BA.debugLineNum = 839;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 = 784;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; + //BA.debugLineNum = 842;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; if (__c.Regex.IsMatch("^[0]+$",_inputtext) || (_inputtext).equals("")) { - //BA.debugLineNum = 785;BA.debugLine="inputText = \"0\""; + //BA.debugLineNum = 843;BA.debugLine="inputText = \"0\""; _inputtext = "0"; }; - //BA.debugLineNum = 789;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; + //BA.debugLineNum = 847;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; _idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _idlabel = _innerpanel.GetView((int) (0)); - //BA.debugLineNum = 790;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; + //BA.debugLineNum = 848;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 = 791;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; + //BA.debugLineNum = 849;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; _idparts = __c.Regex.Split(__c.CRLF,_idtext); - //BA.debugLineNum = 793;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; + //BA.debugLineNum = 851;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 = 794;BA.debugLine="f.Position=0"; + //BA.debugLineNum = 852;BA.debugLine="f.Position=0"; _f.setPosition((int) (0)); - //BA.debugLineNum = 795;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -__c.LogImpl("82687003",_f.GetString("RUTAA"),0); - //BA.debugLineNum = 796;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; + //BA.debugLineNum = 853;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +__c.LogImpl("02687003",_f.GetString("RUTAA"),0); + //BA.debugLineNum = 854;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 = 797;BA.debugLine="If a.RowCount>0 Then"; + //BA.debugLineNum = 855;BA.debugLine="If a.RowCount>0 Then"; if (_a.getRowCount()>0) { - //BA.debugLineNum = 798;BA.debugLine="a.Position=0"; + //BA.debugLineNum = 856;BA.debugLine="a.Position=0"; _a.setPosition((int) (0)); }; - //BA.debugLineNum = 800;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; + //BA.debugLineNum = 858;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 = 801;BA.debugLine="k.Position = 0"; + //BA.debugLineNum = 859;BA.debugLine="k.Position = 0"; _k.setPosition((int) (0)); - //BA.debugLineNum = 802;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; + //BA.debugLineNum = 860;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; _fechatabulador = __c.Regex.Split(" ",_k.GetString("HVD_FECHA")); - //BA.debugLineNum = 803;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\"-"; + //BA.debugLineNum = 861;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\"-"; _fechatabulador2 = __c.Regex.Split("-",_fechatabulador[(int) (0)]); - //BA.debugLineNum = 804;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2("; + //BA.debugLineNum = 862;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2("; _fechatabulador3 = _fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (0)]; - //BA.debugLineNum = 805;BA.debugLine="k.Close"; + //BA.debugLineNum = 863;BA.debugLine="k.Close"; _k.Close(); - //BA.debugLineNum = 806;BA.debugLine="If inputText <> \"\" Then"; + //BA.debugLineNum = 864;BA.debugLine="If inputText <> \"\" Then"; if ((_inputtext).equals("") == false) { - //BA.debugLineNum = 807;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; + //BA.debugLineNum = 865;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 = 808;BA.debugLine="If c.RowCount = 0 Then"; + //BA.debugLineNum = 866;BA.debugLine="If c.RowCount = 0 Then"; if (_c.getRowCount()==0) { - //BA.debugLineNum = 810;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -__c.LogImpl("82687018",_f.GetString("RUTAA"),0); - //BA.debugLineNum = 811;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C"; + //BA.debugLineNum = 868;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +__c.LogImpl("02687018",_f.GetString("RUTAA"),0); + //BA.debugLineNum = 869;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 = 814;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -__c.LogImpl("82687022",_f.GetString("RUTAA"),0); - //BA.debugLineNum = 815;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO"; + //BA.debugLineNum = 872;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +__c.LogImpl("02687022",_f.GetString("RUTAA"),0); + //BA.debugLineNum = 873;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)]})); }; }; - //BA.debugLineNum = 819;BA.debugLine="f.Close"; + //BA.debugLineNum = 877;BA.debugLine="f.Close"; _f.Close(); - //BA.debugLineNum = 820;BA.debugLine="a.Close"; + //BA.debugLineNum = 878;BA.debugLine="a.Close"; _a.Close(); - //BA.debugLineNum = 821;BA.debugLine="Log(\"Processed item \" & i)"; -__c.LogImpl("82687029","Processed item "+BA.NumberToString(_i),0); + //BA.debugLineNum = 879;BA.debugLine="Log(\"Processed item \" & i)"; +__c.LogImpl("02687029","Processed item "+BA.NumberToString(_i),0); } }; - //BA.debugLineNum = 823;BA.debugLine="et_buspc.Text = \"\""; + //BA.debugLineNum = 881;BA.debugLine="et_buspc.Text = \"\""; _et_buspc.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 824;BA.debugLine="CLV_PICK_CIEGO.Clear"; + //BA.debugLineNum = 882;BA.debugLine="CLV_PICK_CIEGO.Clear"; _clv_pick_ciego._clear(); - //BA.debugLineNum = 825;BA.debugLine="End Sub"; + //BA.debugLineNum = 883;BA.debugLine="End Sub"; return ""; } public String _b_regesar_click() throws Exception{ - //BA.debugLineNum = 546;BA.debugLine="Private Sub b_regesar_Click"; - //BA.debugLineNum = 547;BA.debugLine="p_principal.Visible = True"; + //BA.debugLineNum = 604;BA.debugLine="Private Sub b_regesar_Click"; + //BA.debugLineNum = 605;BA.debugLine="p_principal.Visible = True"; _p_principal.setVisible(__c.True); - //BA.debugLineNum = 548;BA.debugLine="p_appUpdate.Visible = False"; + //BA.debugLineNum = 606;BA.debugLine="p_appUpdate.Visible = False"; _p_appupdate.setVisible(__c.False); - //BA.debugLineNum = 549;BA.debugLine="End Sub"; + //BA.debugLineNum = 607;BA.debugLine="End Sub"; return ""; } public String _b_server_click() throws Exception{ - //BA.debugLineNum = 574;BA.debugLine="Private Sub b_server_Click"; - //BA.debugLineNum = 575;BA.debugLine="Log(\"Guardar servidor\")"; -__c.LogImpl("81900545","Guardar servidor",0); - //BA.debugLineNum = 576;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARIA"; + //BA.debugLineNum = 632;BA.debugLine="Private Sub b_server_Click"; + //BA.debugLineNum = 633;BA.debugLine="Log(\"Guardar servidor\")"; +__c.LogImpl("01900545","Guardar servidor",0); + //BA.debugLineNum = 634;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 = 577;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIA"; + //BA.debugLineNum = 635;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIA"; _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)("SERVER"),(Object)(_et_server.getText())})); - //BA.debugLineNum = 578;BA.debugLine="B4XPages.MainPage.server = et_server.text"; + //BA.debugLineNum = 636;BA.debugLine="B4XPages.MainPage.server = et_server.text"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ = _et_server.getText(); - //BA.debugLineNum = 579;BA.debugLine="Starter.server = B4XPages.MainPage.server"; + //BA.debugLineNum = 637;BA.debugLine="Starter.server = B4XPages.MainPage.server"; _starter._server /*String*/ = _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ; - //BA.debugLineNum = 580;BA.debugLine="If logger Then Log(\"Inicializamos reqManager con"; + //BA.debugLineNum = 638;BA.debugLine="If logger Then Log(\"Inicializamos reqManager con"; if (_logger) { -__c.LogImpl("81900550","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; - //BA.debugLineNum = 581;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +__c.LogImpl("01900550","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; + //BA.debugLineNum = 639;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 582;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("81900552",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 583;BA.debugLine="reinicializaReqManager"; + //BA.debugLineNum = 640;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +__c.LogImpl("01900552",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); + //BA.debugLineNum = 641;BA.debugLine="reinicializaReqManager"; _reinicializareqmanager(); - //BA.debugLineNum = 584;BA.debugLine="p_appUpdate.Visible = False"; + //BA.debugLineNum = 642;BA.debugLine="p_appUpdate.Visible = False"; _p_appupdate.setVisible(__c.False); - //BA.debugLineNum = 586;BA.debugLine="End Sub"; + //BA.debugLineNum = 644;BA.debugLine="End Sub"; return ""; } public void _b_terpc_click() throws Exception{ @@ -484,9 +484,9 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 828;BA.debugLine="Msgbox2Async(\"Una vez enviada la información no p"; + //BA.debugLineNum = 886;BA.debugLine="Msgbox2Async(\"Una vez enviada la información no p"; parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Una vez enviada la información no podras hacer modificaciones"),BA.ObjectToCharSequence("Atención"),"SI","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 829;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; + //BA.debugLineNum = 887;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; parent.__c.WaitFor("msgbox_result", ba, this, null); this.state = 41; return; @@ -495,7 +495,7 @@ case 41: this.state = 1; _resultado = (Integer) result[0]; ; - //BA.debugLineNum = 830;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; + //BA.debugLineNum = 888;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; if (true) break; case 1: @@ -508,9 +508,9 @@ this.state = 3; case 3: //C this.state = 4; - //BA.debugLineNum = 831;BA.debugLine="Msgbox2Async(\"Estas seguro de enviar la informac"; + //BA.debugLineNum = 889;BA.debugLine="Msgbox2Async(\"Estas seguro de enviar la informac"; parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Estas seguro de enviar la información?"),BA.ObjectToCharSequence("Atención"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 832;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; + //BA.debugLineNum = 890;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; parent.__c.WaitFor("msgbox_result", ba, this, null); this.state = 42; return; @@ -519,7 +519,7 @@ case 42: this.state = 4; _resultado = (Integer) result[0]; ; - //BA.debugLineNum = 833;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; + //BA.debugLineNum = 891;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; if (true) break; case 4: @@ -534,18 +534,18 @@ this.state = 38; case 6: //C this.state = 7; - //BA.debugLineNum = 835;BA.debugLine="Dim sDate, sTime As String"; + //BA.debugLineNum = 893;BA.debugLine="Dim sDate, sTime As String"; parent._sdate = ""; parent._stime = ""; - //BA.debugLineNum = 836;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; + //BA.debugLineNum = 894;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 837;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; + //BA.debugLineNum = 895;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; parent.__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 838;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 896;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 839;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; + //BA.debugLineNum = 897;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 841;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; + //BA.debugLineNum = 899;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; if (true) break; case 7: @@ -572,18 +572,18 @@ if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 843;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetP"; + //BA.debugLineNum = 901;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetP"; _itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _itempanel = parent._clv_pick_ciego._getpanel(_i); - //BA.debugLineNum = 844;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView("; + //BA.debugLineNum = 902;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView("; _innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _innerpanel = _itempanel.GetView((int) (0)); - //BA.debugLineNum = 845;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1"; + //BA.debugLineNum = 903;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1"; _edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); _edittext = _innerpanel.GetView((int) (1)); - //BA.debugLineNum = 846;BA.debugLine="Dim inputText As String = editText.As(EditText"; + //BA.debugLineNum = 904;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 = 849;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or input"; + //BA.debugLineNum = 907;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or input"; if (true) break; case 10: @@ -596,7 +596,7 @@ this.state = 12; case 12: //C this.state = 13; - //BA.debugLineNum = 850;BA.debugLine="inputText = \"0\""; + //BA.debugLineNum = 908;BA.debugLine="inputText = \"0\""; _inputtext = "0"; if (true) break; @@ -604,22 +604,22 @@ case 13: //C this.state = 14; ; - //BA.debugLineNum = 854;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; + //BA.debugLineNum = 912;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; _idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); _idlabel = _innerpanel.GetView((int) (0)); - //BA.debugLineNum = 855;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; + //BA.debugLineNum = 913;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 = 856;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, id"; + //BA.debugLineNum = 914;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, id"; _idparts = parent.__c.Regex.Split(parent.__c.CRLF,_idtext); - //BA.debugLineNum = 858;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RU"; + //BA.debugLineNum = 916;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RU"; parent._f = (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 RUTAA from RUTAA"))); - //BA.debugLineNum = 859;BA.debugLine="f.Position=0"; + //BA.debugLineNum = 917;BA.debugLine="f.Position=0"; parent._f.setPosition((int) (0)); - //BA.debugLineNum = 860;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -parent.__c.LogImpl("82752545",parent._f.GetString("RUTAA"),0); - //BA.debugLineNum = 862;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN fr"; + //BA.debugLineNum = 918;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +parent.__c.LogImpl("02752545",parent._f.GetString("RUTAA"),0); + //BA.debugLineNum = 920;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 = 863;BA.debugLine="If a.RowCount>0 Then"; + //BA.debugLineNum = 921;BA.debugLine="If a.RowCount>0 Then"; if (true) break; case 14: @@ -632,7 +632,7 @@ this.state = 16; case 16: //C this.state = 17; - //BA.debugLineNum = 864;BA.debugLine="a.Position=0"; + //BA.debugLineNum = 922;BA.debugLine="a.Position=0"; parent._a.setPosition((int) (0)); if (true) break; @@ -640,22 +640,22 @@ case 17: //C this.state = 18; ; - //BA.debugLineNum = 866;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; -parent.__c.LogImpl("82752551",parent._a.GetString("ID_ALMACEN"),0); - //BA.debugLineNum = 868;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELE"; + //BA.debugLineNum = 924;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; +parent.__c.LogImpl("02752551",parent._a.GetString("ID_ALMACEN"),0); + //BA.debugLineNum = 926;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"))); - //BA.debugLineNum = 869;BA.debugLine="k.Position = 0"; + //BA.debugLineNum = 927;BA.debugLine="k.Position = 0"; _k.setPosition((int) (0)); - //BA.debugLineNum = 870;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; + //BA.debugLineNum = 928;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; _fechatabulador = parent.__c.Regex.Split(" ",_k.GetString("HVD_FECHA")); - //BA.debugLineNum = 871;BA.debugLine="Dim fechatabulador2() As String = Regex.Split("; + //BA.debugLineNum = 929;BA.debugLine="Dim fechatabulador2() As String = Regex.Split("; _fechatabulador2 = parent.__c.Regex.Split("-",_fechatabulador[(int) (0)]); - //BA.debugLineNum = 872;BA.debugLine="Dim fechatabulador3 As String = fechatabulador"; + //BA.debugLineNum = 930;BA.debugLine="Dim fechatabulador3 As String = fechatabulador"; _fechatabulador3 = _fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (0)]; - //BA.debugLineNum = 873;BA.debugLine="k.Close"; + //BA.debugLineNum = 931;BA.debugLine="k.Close"; _k.Close(); - //BA.debugLineNum = 874;BA.debugLine="If inputText <> \"\" Then"; + //BA.debugLineNum = 932;BA.debugLine="If inputText <> \"\" Then"; if (true) break; case 18: @@ -668,9 +668,9 @@ this.state = 20; case 20: //C this.state = 21; - //BA.debugLineNum = 875;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PI"; + //BA.debugLineNum = 933;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PI"; 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*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); - //BA.debugLineNum = 876;BA.debugLine="If c.RowCount = 0 Then"; + //BA.debugLineNum = 934;BA.debugLine="If c.RowCount = 0 Then"; if (true) break; case 21: @@ -685,14 +685,14 @@ this.state = 25; case 23: //C this.state = 26; - //BA.debugLineNum = 878;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK"; + //BA.debugLineNum = 936;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK"; parent._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,parent._a.GetString("ID_ALMACEN"),parent._f.GetString("RUTAA"),_fechatabulador3+" "+parent._stime})); if (true) break; case 25: //C this.state = 26; - //BA.debugLineNum = 880;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; + //BA.debugLineNum = 938;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; parent._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)]})); if (true) break; @@ -706,12 +706,12 @@ case 27: //C this.state = 44; ; - //BA.debugLineNum = 883;BA.debugLine="f.Close"; + //BA.debugLineNum = 941;BA.debugLine="f.Close"; parent._f.Close(); - //BA.debugLineNum = 884;BA.debugLine="a.Close"; + //BA.debugLineNum = 942;BA.debugLine="a.Close"; parent._a.Close(); - //BA.debugLineNum = 885;BA.debugLine="Log(\"Processed item \" & i)"; -parent.__c.LogImpl("82752570","Processed item "+BA.NumberToString(_i),0); + //BA.debugLineNum = 943;BA.debugLine="Log(\"Processed item \" & i)"; +parent.__c.LogImpl("02752570","Processed item "+BA.NumberToString(_i),0); if (true) break; if (true) break; @@ -719,17 +719,17 @@ case 28: //C this.state = 29; ; - //BA.debugLineNum = 887;BA.debugLine="Log(\"Finished processing all items\")"; -parent.__c.LogImpl("82752572","Finished processing all items",0); - //BA.debugLineNum = 888;BA.debugLine="P_CIEGO.Visible = False"; + //BA.debugLineNum = 945;BA.debugLine="Log(\"Finished processing all items\")"; +parent.__c.LogImpl("02752572","Finished processing all items",0); + //BA.debugLineNum = 946;BA.debugLine="P_CIEGO.Visible = False"; parent._p_ciego.setVisible(parent.__c.False); - //BA.debugLineNum = 889;BA.debugLine="et_buspc.Text = \"\""; + //BA.debugLineNum = 947;BA.debugLine="et_buspc.Text = \"\""; parent._et_buspc.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 890;BA.debugLine="CLV_PICK_CIEGO.Clear"; + //BA.debugLineNum = 948;BA.debugLine="CLV_PICK_CIEGO.Clear"; parent._clv_pick_ciego._clear(); - //BA.debugLineNum = 891;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD,"; + //BA.debugLineNum = 949;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD,"; 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 PC_ID_PROD, PC_ALMACEN, PC_RUTA, PC_FECHA FROM PICK_CIEGO"))); - //BA.debugLineNum = 892;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 950;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 29: @@ -742,7 +742,7 @@ this.state = 31; case 31: //C this.state = 32; - //BA.debugLineNum = 893;BA.debugLine="For i = 0 To c.RowCount - 1"; + //BA.debugLineNum = 951;BA.debugLine="For i = 0 To c.RowCount - 1"; if (true) break; case 32: @@ -769,17 +769,17 @@ if (true) break; case 34: //C this.state = 46; - //BA.debugLineNum = 894;BA.debugLine="c.Position = i"; + //BA.debugLineNum = 952;BA.debugLine="c.Position = i"; parent._c.setPosition(_i); - //BA.debugLineNum = 895;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 953;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 896;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 954;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 897;BA.debugLine="cmd.Name = \"select_HIST_PICKCIEGO_MAZAPA\" '"; + //BA.debugLineNum = 955;BA.debugLine="cmd.Name = \"select_HIST_PICKCIEGO_MAZAPA\" '"; _cmd.Name /*String*/ = "select_HIST_PICKCIEGO_MAZAPA"; - //BA.debugLineNum = 898;BA.debugLine="cmd.Parameters = Array As Object(c.GetString("; + //BA.debugLineNum = 956;BA.debugLine="cmd.Parameters = Array As Object(c.GetString("; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._c.GetString("PC_ID_PROD")),(Object)(parent._c.GetString("PC_ALMACEN")),(Object)(parent._c.GetString("PC_RUTA")),(Object)(parent._c.GetString("PC_FECHA")),(Object)("REPARTO")}; - //BA.debugLineNum = 899;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, $\"PICK_C_${c"; + //BA.debugLineNum = 957;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, $\"PICK_C_${c"; parent._reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)(("PICK_C_"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("PC_ID_PROD")))+""))); if (true) break; if (true) break; @@ -794,7 +794,7 @@ case 36: //C this.state = 39; ; - //BA.debugLineNum = 902;BA.debugLine="c.close"; + //BA.debugLineNum = 960;BA.debugLine="c.close"; parent._c.Close(); if (true) break; @@ -813,7 +813,7 @@ case 40: //C this.state = -1; ; - //BA.debugLineNum = 907;BA.debugLine="End Sub"; + //BA.debugLineNum = 965;BA.debugLine="End Sub"; if (true) break; } @@ -845,7 +845,7 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 219;BA.debugLine="If Starter.muestraProgreso = 1 Then"; + //BA.debugLineNum = 220;BA.debugLine="If Starter.muestraProgreso = 1 Then"; if (true) break; case 1: @@ -858,9 +858,9 @@ this.state = 3; case 3: //C this.state = 4; - //BA.debugLineNum = 220;BA.debugLine="muestraProgreso(\"Descargando actualización\")"; + //BA.debugLineNum = 221;BA.debugLine="muestraProgreso(\"Descargando actualización\")"; parent._muestraprogreso("Descargando actualización"); - //BA.debugLineNum = 221;BA.debugLine="Starter.muestraProgreso = 0"; + //BA.debugLineNum = 222;BA.debugLine="Starter.muestraProgreso = 0"; parent._starter._muestraprogreso /*String*/ = BA.NumberToString(0); if (true) break; @@ -868,11 +868,11 @@ case 4: //C this.state = 5; ; - //BA.debugLineNum = 223;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; + //BA.debugLineNum = 224;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; parent._subs._centrapanel /*String*/ (ba,parent._p_principal,parent._root.getWidth()); - //BA.debugLineNum = 224;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; + //BA.debugLineNum = 225;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION); - //BA.debugLineNum = 226;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; + //BA.debugLineNum = 227;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); this.state = 21; return; @@ -882,7 +882,7 @@ this.state = 5; _permission = (String) result[0]; _result = (Boolean) result[1]; ; - //BA.debugLineNum = 227;BA.debugLine="If Result Then"; + //BA.debugLineNum = 228;BA.debugLine="If Result Then"; if (true) break; case 5: @@ -897,7 +897,7 @@ this.state = 15; case 7: //C this.state = 8; - //BA.debugLineNum = 228;BA.debugLine="If Not(Tracker.Tracking) Then StartService(Track"; + //BA.debugLineNum = 229;BA.debugLine="If Not(Tracker.Tracking) Then StartService(Track"; if (true) break; case 8: @@ -922,19 +922,19 @@ this.state = 16; case 15: //C this.state = 16; - //BA.debugLineNum = 231;BA.debugLine="ToastMessageShow(\"No permission\", True)"; + //BA.debugLineNum = 232;BA.debugLine="ToastMessageShow(\"No permission\", True)"; parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission"),parent.__c.True); - //BA.debugLineNum = 232;BA.debugLine="Log(\"Sin permisos\")"; -parent.__c.LogImpl("81376270","Sin permisos",0); + //BA.debugLineNum = 233;BA.debugLine="Log(\"Sin permisos\")"; +parent.__c.LogImpl("01376270","Sin permisos",0); if (true) break; case 16: //C this.state = 17; ; - //BA.debugLineNum = 235;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; + //BA.debugLineNum = 236;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 = 236;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 237;BA.debugLine="If c.RowCount > 0 Then"; if (true) break; case 17: @@ -947,9 +947,9 @@ this.state = 19; case 19: //C this.state = 20; - //BA.debugLineNum = 239;BA.debugLine="c.Position=0"; + //BA.debugLineNum = 240;BA.debugLine="c.Position=0"; parent._c.setPosition((int) (0)); - //BA.debugLineNum = 240;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; + //BA.debugLineNum = 241;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; parent._usuario = parent._c.GetString("USUARIO"); if (true) break; @@ -957,9 +957,9 @@ case 20: //C this.state = -1; ; - //BA.debugLineNum = 242;BA.debugLine="c.Close"; + //BA.debugLineNum = 243;BA.debugLine="c.Close"; parent._c.Close(); - //BA.debugLineNum = 248;BA.debugLine="End Sub"; + //BA.debugLineNum = 306;BA.debugLine="End Sub"; if (true) break; } @@ -990,7 +990,7 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 537;BA.debugLine="If p_appUpdate.Visible Then"; + //BA.debugLineNum = 595;BA.debugLine="If p_appUpdate.Visible Then"; if (true) break; case 1: @@ -1005,14 +1005,14 @@ this.state = 5; case 3: //C this.state = 6; - //BA.debugLineNum = 538;BA.debugLine="p_appUpdate.Visible = False"; + //BA.debugLineNum = 596;BA.debugLine="p_appUpdate.Visible = False"; parent._p_appupdate.setVisible(parent.__c.False); if (true) break; case 5: //C this.state = 6; - //BA.debugLineNum = 540;BA.debugLine="Sleep(0)"; + //BA.debugLineNum = 598;BA.debugLine="Sleep(0)"; parent.__c.Sleep(ba,this,(int) (0)); this.state = 7; return; @@ -1020,7 +1020,7 @@ case 7: //C this.state = 6; ; - //BA.debugLineNum = 541;BA.debugLine="ExitApplication"; + //BA.debugLineNum = 599;BA.debugLine="ExitApplication"; parent.__c.ExitApplication(); if (true) break; @@ -1028,10 +1028,10 @@ case 6: //C this.state = -1; ; - //BA.debugLineNum = 543;BA.debugLine="Return False"; + //BA.debugLineNum = 601;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 544;BA.debugLine="End Sub"; + //BA.debugLineNum = 602;BA.debugLine="End Sub"; if (true) break; } @@ -1196,27 +1196,29 @@ _subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","CANTC","TEXT"); _subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","BCAJAS_OR","TEXT"); //BA.debugLineNum = 192;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC_OR\",\"TEXT"; _subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","CANTC_OR","TEXT"); - //BA.debugLineNum = 193;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"CONVERSION\",\"T"; + //BA.debugLineNum = 193;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RUTA\",\"TEXT"; +_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RUTA","TEXT"); + //BA.debugLineNum = 194;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"CONVERSION\",\"T"; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CONVERSION","TEXT"); - //BA.debugLineNum = 194;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"PRECIOCONVER\","; + //BA.debugLineNum = 195;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"PRECIOCONVER\","; _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","PRECIOCONVER","TEXT"); - //BA.debugLineNum = 195;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)"); //BA.debugLineNum = 196;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)"); + //BA.debugLineNum = 197;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS wayPoints (codigo TEXT, indice INT)"); - //BA.debugLineNum = 197;BA.debugLine="Dim server As String = \"http://187.189.244.154:17"; + //BA.debugLineNum = 198;BA.debugLine="Dim server As String = \"http://187.189.244.154:17"; _server = "http://187.189.244.154:1781"; - //BA.debugLineNum = 203;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; + //BA.debugLineNum = 204;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 204;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("81310816",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 205;BA.debugLine="Label1.Text = Application.VersionName"; + //BA.debugLineNum = 205;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +__c.LogImpl("01310817",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); + //BA.debugLineNum = 206;BA.debugLine="Label1.Text = Application.VersionName"; _label1.setText(BA.ObjectToCharSequence(__c.Application.getVersionName())); - //BA.debugLineNum = 207;BA.debugLine="Log(\"provider\")"; -__c.LogImpl("81310819","provider",0); - //BA.debugLineNum = 208;BA.debugLine="Provider.Initialize"; + //BA.debugLineNum = 208;BA.debugLine="Log(\"provider\")"; +__c.LogImpl("01310820","provider",0); + //BA.debugLineNum = 209;BA.debugLine="Provider.Initialize"; _provider._initialize /*String*/ (ba); - //BA.debugLineNum = 216;BA.debugLine="End Sub"; + //BA.debugLineNum = 217;BA.debugLine="End Sub"; return ""; } public String _class_globals() throws Exception{ @@ -1391,110 +1393,110 @@ return ""; } public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _id_prod,String _prod,String _cant) throws Exception{ anywheresoftware.b4a.objects.B4XViewWrapper _pa = null; - //BA.debugLineNum = 965;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri"; - //BA.debugLineNum = 966;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; + //BA.debugLineNum = 1023;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri"; + //BA.debugLineNum = 1024;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; _pa = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pa = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 967;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; + //BA.debugLineNum = 1025;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; _pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); - //BA.debugLineNum = 968;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; + //BA.debugLineNum = 1026;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; _pa.LoadLayout("PANEL_PICK_CIEGO",ba); - //BA.debugLineNum = 969;BA.debugLine="pa.Height = 55dip"; + //BA.debugLineNum = 1027;BA.debugLine="pa.Height = 55dip"; _pa.setHeight(__c.DipToCurrent((int) (55))); - //BA.debugLineNum = 970;BA.debugLine="pa.Width = 298dip"; + //BA.debugLineNum = 1028;BA.debugLine="pa.Width = 298dip"; _pa.setWidth(__c.DipToCurrent((int) (298))); - //BA.debugLineNum = 972;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; + //BA.debugLineNum = 1030;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; _l_pick_ciego.setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); - //BA.debugLineNum = 973;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; + //BA.debugLineNum = 1031;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; _l_pick_ciego.setTextSize((float) (12)); - //BA.debugLineNum = 974;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; + //BA.debugLineNum = 1032;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 = 975;BA.debugLine="ET_PICK_CIEGO.Text = cant"; + //BA.debugLineNum = 1033;BA.debugLine="ET_PICK_CIEGO.Text = cant"; _et_pick_ciego.setText(BA.ObjectToCharSequence(_cant)); - //BA.debugLineNum = 978;BA.debugLine="Return pa"; + //BA.debugLineNum = 1036;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 = 979;BA.debugLine="End Sub"; + //BA.debugLineNum = 1037;BA.debugLine="End Sub"; return null; } public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(String _id_prod,String _prod) throws Exception{ anywheresoftware.b4a.objects.B4XViewWrapper _pa = null; - //BA.debugLineNum = 981;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str"; - //BA.debugLineNum = 982;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; + //BA.debugLineNum = 1039;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str"; + //BA.debugLineNum = 1040;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; _pa = new anywheresoftware.b4a.objects.B4XViewWrapper(); _pa = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 983;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; + //BA.debugLineNum = 1041;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; _pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); - //BA.debugLineNum = 984;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; + //BA.debugLineNum = 1042;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; _pa.LoadLayout("PANEL_PICK_CIEGO",ba); - //BA.debugLineNum = 985;BA.debugLine="pa.Height = 55dip"; + //BA.debugLineNum = 1043;BA.debugLine="pa.Height = 55dip"; _pa.setHeight(__c.DipToCurrent((int) (55))); - //BA.debugLineNum = 986;BA.debugLine="pa.Width = 298dip"; + //BA.debugLineNum = 1044;BA.debugLine="pa.Width = 298dip"; _pa.setWidth(__c.DipToCurrent((int) (298))); - //BA.debugLineNum = 988;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; + //BA.debugLineNum = 1046;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; _l_pick_ciego.setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); - //BA.debugLineNum = 989;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; + //BA.debugLineNum = 1047;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; _l_pick_ciego.setTextSize((float) (12)); - //BA.debugLineNum = 990;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; + //BA.debugLineNum = 1048;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 = 993;BA.debugLine="Return pa"; + //BA.debugLineNum = 1051;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 = 994;BA.debugLine="End Sub"; + //BA.debugLineNum = 1052;BA.debugLine="End Sub"; return null; } public String _entrar_click() throws Exception{ reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 252;BA.debugLine="Sub Entrar_Click"; - //BA.debugLineNum = 253;BA.debugLine="If pass.Text = \"YA\" Then"; + //BA.debugLineNum = 310;BA.debugLine="Sub Entrar_Click"; + //BA.debugLineNum = 311;BA.debugLine="If pass.Text = \"YA\" Then"; if ((_pass.getText()).equals("YA")) { - //BA.debugLineNum = 254;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa\""; + //BA.debugLineNum = 312;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 255;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSION\")"; + //BA.debugLineNum = 313;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSION\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 256;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIOA"; + //BA.debugLineNum = 314;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIOA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("ROOT"),(Object)("ROOT")})); - //BA.debugLineNum = 257;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_almac"; + //BA.debugLineNum = 315;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_almac"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); - //BA.debugLineNum = 258;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMA"; + //BA.debugLineNum = 316;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText())})); - //BA.debugLineNum = 259;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSION("; + //BA.debugLineNum = 317;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSION("; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")})); - //BA.debugLineNum = 262;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; + //BA.debugLineNum = 320;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); }else { - //BA.debugLineNum = 264;BA.debugLine="c=Starter.skmt.ExecQuery2(\"select count(*) as EX"; + //BA.debugLineNum = 322;BA.debugLine="c=Starter.skmt.ExecQuery2(\"select count(*) as EX"; _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 count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{_user.getText()}))); - //BA.debugLineNum = 265;BA.debugLine="c.Position=0"; + //BA.debugLineNum = 323;BA.debugLine="c.Position=0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 266;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; + //BA.debugLineNum = 324;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; _existe = _c.GetString("EXISTE1"); - //BA.debugLineNum = 267;BA.debugLine="c.Close"; + //BA.debugLineNum = 325;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 269;BA.debugLine="If existe = 0 Then"; + //BA.debugLineNum = 327;BA.debugLine="If existe = 0 Then"; if ((_existe).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 271;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 329;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 272;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 330;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 273;BA.debugLine="cmd.Name = \"select_usuario_MAZAPA_REPG\""; + //BA.debugLineNum = 331;BA.debugLine="cmd.Name = \"select_usuario_MAZAPA_REPG\""; _cmd.Name /*String*/ = "select_usuario_MAZAPA_REPG"; - //BA.debugLineNum = 274;BA.debugLine="cmd.Parameters = Array As Object(user.Text, pas"; + //BA.debugLineNum = 332;BA.debugLine="cmd.Parameters = Array As Object(user.Text, pas"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_user.getText()),(Object)(_pass.getText())}; - //BA.debugLineNum = 275;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario\")"; + //BA.debugLineNum = 333;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("usuario")); - //BA.debugLineNum = 277;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 335;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 278;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 336;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 279;BA.debugLine="cmd.Name = \"select_version_MAZAPA\""; + //BA.debugLineNum = 337;BA.debugLine="cmd.Name = \"select_version_MAZAPA\""; _cmd.Name /*String*/ = "select_version_MAZAPA"; - //BA.debugLineNum = 280;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; + //BA.debugLineNum = 338;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("version")); }else { - //BA.debugLineNum = 283;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; + //BA.debugLineNum = 341;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); }; }; - //BA.debugLineNum = 286;BA.debugLine="End Sub"; + //BA.debugLineNum = 344;BA.debugLine="End Sub"; return ""; } public String _enviarmonto() throws Exception{ @@ -1507,224 +1509,224 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _ci = null; String _u = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _g = null; reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 644;BA.debugLine="Sub enviarmonto"; - //BA.debugLineNum = 646;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; + //BA.debugLineNum = 702;BA.debugLine="Sub enviarmonto"; + //BA.debugLineNum = 704;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 647;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 705;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; _sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 648;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; + //BA.debugLineNum = 706;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; _stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 650;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; + //BA.debugLineNum = 708;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; _f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _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 = 651;BA.debugLine="f.Position=0"; + //BA.debugLineNum = 709;BA.debugLine="f.Position=0"; _f.setPosition((int) (0)); - //BA.debugLineNum = 653;BA.debugLine="Private a As Cursor=Starter.skmt.ExecQuery(\"selec"; + //BA.debugLineNum = 711;BA.debugLine="Private a As Cursor=Starter.skmt.ExecQuery(\"selec"; _a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _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 = 654;BA.debugLine="If a.RowCount>0 Then"; + //BA.debugLineNum = 712;BA.debugLine="If a.RowCount>0 Then"; if (_a.getRowCount()>0) { - //BA.debugLineNum = 655;BA.debugLine="a.Position=0"; + //BA.debugLineNum = 713;BA.debugLine="a.Position=0"; _a.setPosition((int) (0)); }; - //BA.debugLineNum = 658;BA.debugLine="Private a2 As Cursor = Starter.skmt.ExecQuery(\"SE"; + //BA.debugLineNum = 716;BA.debugLine="Private a2 As Cursor = Starter.skmt.ExecQuery(\"SE"; _a2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _a2 = (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 = 659;BA.debugLine="If a2.RowCount>0 Then"; + //BA.debugLineNum = 717;BA.debugLine="If a2.RowCount>0 Then"; if (_a2.getRowCount()>0) { - //BA.debugLineNum = 660;BA.debugLine="a2.Position=0"; + //BA.debugLineNum = 718;BA.debugLine="a2.Position=0"; _a2.setPosition((int) (0)); - //BA.debugLineNum = 661;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", a2.GetS"; + //BA.debugLineNum = 719;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", a2.GetS"; _fecha = __c.Regex.Split(" ",_a2.GetString("HVD_FECHA")); - //BA.debugLineNum = 662;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha("; + //BA.debugLineNum = 720;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha("; _fecha2 = __c.Regex.Split("-",_fecha[(int) (0)]); - //BA.debugLineNum = 663;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\""; + //BA.debugLineNum = 721;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\""; _fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)]; - //BA.debugLineNum = 664;BA.debugLine="Log(fecha3)"; -__c.LogImpl("82424852",_fecha3,0); - //BA.debugLineNum = 665;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; + //BA.debugLineNum = 722;BA.debugLine="Log(fecha3)"; +__c.LogImpl("02424852",_fecha3,0); + //BA.debugLineNum = 723;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; _hora = __c.Regex.Split("\\.",_fecha[(int) (1)]); - //BA.debugLineNum = 666;BA.debugLine="Log(hora(0))"; -__c.LogImpl("82424854",_hora[(int) (0)],0); + //BA.debugLineNum = 724;BA.debugLine="Log(hora(0))"; +__c.LogImpl("02424854",_hora[(int) (0)],0); }; - //BA.debugLineNum = 671;BA.debugLine="Private cI As Cursor"; + //BA.debugLineNum = 729;BA.debugLine="Private cI As Cursor"; _ci = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 672;BA.debugLine="Private u As String = \"SinUsuario\""; + //BA.debugLineNum = 730;BA.debugLine="Private u As String = \"SinUsuario\""; _u = "SinUsuario"; - //BA.debugLineNum = 673;BA.debugLine="cI=Starter.skmt.ExecQuery(\"select USUARIO from us"; + //BA.debugLineNum = 731;BA.debugLine="cI=Starter.skmt.ExecQuery(\"select USUARIO from us"; _ci = (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 = 674;BA.debugLine="cI.Position=0"; + //BA.debugLineNum = 732;BA.debugLine="cI.Position=0"; _ci.setPosition((int) (0)); - //BA.debugLineNum = 675;BA.debugLine="If cI.RowCount > 0 Then u = cI.GetString(\"USUARIO"; + //BA.debugLineNum = 733;BA.debugLine="If cI.RowCount > 0 Then u = cI.GetString(\"USUARIO"; if (_ci.getRowCount()>0) { _u = _ci.GetString("USUARIO");}; - //BA.debugLineNum = 676;BA.debugLine="Private g As Cursor = Starter.skmt.ExecQuery(\"sel"; + //BA.debugLineNum = 734;BA.debugLine="Private g As Cursor = Starter.skmt.ExecQuery(\"sel"; _g = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _g = (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 ENV_MONTO_LIQ"))); - //BA.debugLineNum = 677;BA.debugLine="If g.RowCount = 0 Then"; + //BA.debugLineNum = 735;BA.debugLine="If g.RowCount = 0 Then"; if (_g.getRowCount()==0) { - //BA.debugLineNum = 678;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ENV_MONT"; + //BA.debugLineNum = 736;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ENV_MONT"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ENV_MONTO_LIQ VALUES (?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_et_add_monto.getText()),(Object)(_a.GetString("ID_ALMACEN")),(Object)(_f.GetString("RUTAA")),(Object)(_u),(Object)(_fecha3+" "+_hora[(int) (0)])})); - //BA.debugLineNum = 679;BA.debugLine="f.Close"; + //BA.debugLineNum = 737;BA.debugLine="f.Close"; _f.Close(); - //BA.debugLineNum = 680;BA.debugLine="a.Close"; + //BA.debugLineNum = 738;BA.debugLine="a.Close"; _a.Close(); - //BA.debugLineNum = 683;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MO"; + //BA.debugLineNum = 741;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MO"; _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 ENV_MONTO_LIQ"))); - //BA.debugLineNum = 684;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 742;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 685;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 743;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 686;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 744;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 687;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 745;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 688;BA.debugLine="cmd.Name = \"select_MontoCuenta_MAZAPArep\""; + //BA.debugLineNum = 746;BA.debugLine="cmd.Name = \"select_MontoCuenta_MAZAPArep\""; _cmd.Name /*String*/ = "select_MontoCuenta_MAZAPArep"; - //BA.debugLineNum = 689;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"E"; + //BA.debugLineNum = 747;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"E"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("EML_USUARIO")),(Object)(_c.GetString("EML_ALMACEN")),(Object)(_c.GetString("EML_RUTA")),(Object)(_c.GetString("EML_FECHA_PED"))}; - //BA.debugLineNum = 690;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLi"; + //BA.debugLineNum = 748;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLi"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("SelectMontoLiq")); }; - //BA.debugLineNum = 692;BA.debugLine="c.Close"; + //BA.debugLineNum = 750;BA.debugLine="c.Close"; _c.Close(); }else { - //BA.debugLineNum = 694;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE ENV_MONTO_LIQ"; + //BA.debugLineNum = 752;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE ENV_MONTO_LIQ"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE ENV_MONTO_LIQ SET EML_MONTO = ? WHERE EML_ALMACEN = ? AND EML_RUTA = ? AND EML_USUARIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_et_add_monto.getText(),_a.GetString("ID_ALMACEN"),_f.GetString("RUTAA"),_ci.GetString("USUARIO")})); - //BA.debugLineNum = 695;BA.debugLine="f.Close"; + //BA.debugLineNum = 753;BA.debugLine="f.Close"; _f.Close(); - //BA.debugLineNum = 696;BA.debugLine="a.Close"; + //BA.debugLineNum = 754;BA.debugLine="a.Close"; _a.Close(); - //BA.debugLineNum = 698;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MO"; + //BA.debugLineNum = 756;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MO"; _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 ENV_MONTO_LIQ"))); - //BA.debugLineNum = 699;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 757;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 700;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 758;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 701;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 759;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 702;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 760;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 703;BA.debugLine="cmd.Name = \"select_MontoCuenta_MAZAPArep\""; + //BA.debugLineNum = 761;BA.debugLine="cmd.Name = \"select_MontoCuenta_MAZAPArep\""; _cmd.Name /*String*/ = "select_MontoCuenta_MAZAPArep"; - //BA.debugLineNum = 704;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"E"; + //BA.debugLineNum = 762;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"E"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("EML_USUARIO")),(Object)(_c.GetString("EML_ALMACEN")),(Object)(_c.GetString("EML_RUTA")),(Object)(_c.GetString("EML_FECHA_PED"))}; - //BA.debugLineNum = 705;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLi"; + //BA.debugLineNum = 763;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLi"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("SelectMontoLiq")); }; - //BA.debugLineNum = 707;BA.debugLine="c.Close"; + //BA.debugLineNum = 765;BA.debugLine="c.Close"; _c.Close(); }; - //BA.debugLineNum = 710;BA.debugLine="p_add_monto.Visible = False"; + //BA.debugLineNum = 768;BA.debugLine="p_add_monto.Visible = False"; _p_add_monto.setVisible(__c.False); - //BA.debugLineNum = 712;BA.debugLine="End Sub"; + //BA.debugLineNum = 770;BA.debugLine="End Sub"; return ""; } public String _et_buspc_textchanged(String _old,String _new) throws Exception{ int _i = 0; - //BA.debugLineNum = 727;BA.debugLine="Private Sub et_buspc_TextChanged (Old As String, N"; - //BA.debugLineNum = 728;BA.debugLine="If New = \"\" Then"; + //BA.debugLineNum = 785;BA.debugLine="Private Sub et_buspc_TextChanged (Old As String, N"; + //BA.debugLineNum = 786;BA.debugLine="If New = \"\" Then"; if ((_new).equals("")) { - //BA.debugLineNum = 729;BA.debugLine="CLV_PICK_CIEGO.Clear"; + //BA.debugLineNum = 787;BA.debugLine="CLV_PICK_CIEGO.Clear"; _clv_pick_ciego._clear(); }else if(_new.length()>=3) { - //BA.debugLineNum = 731;BA.debugLine="CLV_PICK_CIEGO.Clear"; + //BA.debugLineNum = 789;BA.debugLine="CLV_PICK_CIEGO.Clear"; _clv_pick_ciego._clear(); - //BA.debugLineNum = 733;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\""; + //BA.debugLineNum = 791;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\""; _q_buscar = "%"+_et_buspc.getText()+"%"; - //BA.debugLineNum = 734;BA.debugLine="Log(q_buscar)"; -__c.LogImpl("82621447",_q_buscar,0); - //BA.debugLineNum = 735;BA.debugLine="c=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBRE"; + //BA.debugLineNum = 792;BA.debugLine="Log(q_buscar)"; +__c.LogImpl("02621447",_q_buscar,0); + //BA.debugLineNum = 793;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 = 736;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 794;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 739;BA.debugLine="For i = 0 To c.RowCount - 1"; + //BA.debugLineNum = 797;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 = 740;BA.debugLine="c.Position = i"; + //BA.debugLineNum = 798;BA.debugLine="c.Position = i"; _c.setPosition(_i); - //BA.debugLineNum = 741;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem(c.GetString("; + //BA.debugLineNum = 799;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("CAT_GP_ID"),_c.GetString("CAT_GP_NOMBRE"),_c.GetString("PC_CANT")).getObject())),(Object)(_i)); } }; - //BA.debugLineNum = 744;BA.debugLine="c.Close"; + //BA.debugLineNum = 802;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 746;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR"; + //BA.debugLineNum = 804;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR"; _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*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'AND CAT_GP_ID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO)"),new String[]{_q_buscar,_q_buscar}))); - //BA.debugLineNum = 748;BA.debugLine="For i = 0 To d.RowCount - 1"; + //BA.debugLineNum = 806;BA.debugLine="For i = 0 To d.RowCount - 1"; { final int step15 = 1; final int limit15 = (int) (_d.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit15 ;_i = _i + step15 ) { - //BA.debugLineNum = 749;BA.debugLine="d.Position = i"; + //BA.debugLineNum = 807;BA.debugLine="d.Position = i"; _d.setPosition(_i); - //BA.debugLineNum = 750;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; + //BA.debugLineNum = 808;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("CAT_GP_ID"),_d.GetString("CAT_GP_NOMBRE")).getObject())),(Object)(_i)); } }; - //BA.debugLineNum = 753;BA.debugLine="d.Close"; + //BA.debugLineNum = 811;BA.debugLine="d.Close"; _d.Close(); }else if(_c.getRowCount()==0) { - //BA.debugLineNum = 756;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR"; + //BA.debugLineNum = 814;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR"; _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*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"),new String[]{_q_buscar,_q_buscar}))); - //BA.debugLineNum = 758;BA.debugLine="For i = 0 To d.RowCount - 1"; + //BA.debugLineNum = 816;BA.debugLine="For i = 0 To d.RowCount - 1"; { final int step22 = 1; final int limit22 = (int) (_d.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit22 ;_i = _i + step22 ) { - //BA.debugLineNum = 759;BA.debugLine="d.Position = i"; + //BA.debugLineNum = 817;BA.debugLine="d.Position = i"; _d.setPosition(_i); - //BA.debugLineNum = 760;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; + //BA.debugLineNum = 818;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("CAT_GP_ID"),_d.GetString("CAT_GP_NOMBRE")).getObject())),(Object)(_i)); } }; - //BA.debugLineNum = 763;BA.debugLine="d.Close"; + //BA.debugLineNum = 821;BA.debugLine="d.Close"; _d.Close(); }; }; - //BA.debugLineNum = 766;BA.debugLine="End Sub"; + //BA.debugLineNum = 824;BA.debugLine="End Sub"; return ""; } public String _i_engrane_click() throws Exception{ - //BA.debugLineNum = 518;BA.debugLine="Private Sub i_engrane_Click"; - //BA.debugLineNum = 519;BA.debugLine="p_appUpdate.Width = Root.Width"; + //BA.debugLineNum = 576;BA.debugLine="Private Sub i_engrane_Click"; + //BA.debugLineNum = 577;BA.debugLine="p_appUpdate.Width = Root.Width"; _p_appupdate.setWidth(_root.getWidth()); - //BA.debugLineNum = 520;BA.debugLine="p_appUpdate.Height = Root.Height"; + //BA.debugLineNum = 578;BA.debugLine="p_appUpdate.Height = Root.Height"; _p_appupdate.setHeight(_root.getHeight()); - //BA.debugLineNum = 521;BA.debugLine="Subs.centraPanel(p_serverList, Root.Width)"; + //BA.debugLineNum = 579;BA.debugLine="Subs.centraPanel(p_serverList, Root.Width)"; _subs._centrapanel /*String*/ (ba,_p_serverlist,_root.getWidth()); - //BA.debugLineNum = 522;BA.debugLine="Subs.centraBoton(b_server, Root.Width)"; + //BA.debugLineNum = 580;BA.debugLine="Subs.centraBoton(b_server, Root.Width)"; _subs._centraboton /*String*/ (ba,_b_server,_root.getWidth()); - //BA.debugLineNum = 523;BA.debugLine="Subs.centraBoton(b_apk, Root.Width)"; + //BA.debugLineNum = 581;BA.debugLine="Subs.centraBoton(b_apk, Root.Width)"; _subs._centraboton /*String*/ (ba,_b_apk,_root.getWidth()); - //BA.debugLineNum = 524;BA.debugLine="Subs.centraBoton(b_envioBD, Root.Width)"; + //BA.debugLineNum = 582;BA.debugLine="Subs.centraBoton(b_envioBD, Root.Width)"; _subs._centraboton /*String*/ (ba,_b_enviobd,_root.getWidth()); - //BA.debugLineNum = 525;BA.debugLine="Subs.centraBoton(b_regesar, Root.Width)"; + //BA.debugLineNum = 583;BA.debugLine="Subs.centraBoton(b_regesar, Root.Width)"; _subs._centraboton /*String*/ (ba,_b_regesar,_root.getWidth()); - //BA.debugLineNum = 526;BA.debugLine="Subs.centraBoton(b_server, p_serverList.Width)"; + //BA.debugLineNum = 584;BA.debugLine="Subs.centraBoton(b_server, p_serverList.Width)"; _subs._centraboton /*String*/ (ba,_b_server,_p_serverlist.getWidth()); - //BA.debugLineNum = 527;BA.debugLine="lv_server.Clear"; + //BA.debugLineNum = 585;BA.debugLine="lv_server.Clear"; _lv_server.Clear(); - //BA.debugLineNum = 528;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.lat:1782\")"; + //BA.debugLineNum = 586;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.lat:1782\")"; _lv_server.AddSingleLine(BA.ObjectToCharSequence("http://keymon.lat:1782")); - //BA.debugLineNum = 529;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi"; + //BA.debugLineNum = 587;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi"; if ((_user.getText()).equals("KMTS1")) { _lv_server.AddSingleLine(BA.ObjectToCharSequence("http://10.0.0.205:1782"));}; - //BA.debugLineNum = 531;BA.debugLine="et_server.Text = server"; + //BA.debugLineNum = 589;BA.debugLine="et_server.Text = server"; _et_server.setText(BA.ObjectToCharSequence(_server)); - //BA.debugLineNum = 532;BA.debugLine="Subs.panelVisible(p_appUpdate, 0, 0)"; + //BA.debugLineNum = 590;BA.debugLine="Subs.panelVisible(p_appUpdate, 0, 0)"; _subs._panelvisible /*String*/ (ba,_p_appupdate,(int) (0),(int) (0)); - //BA.debugLineNum = 533;BA.debugLine="End Sub"; + //BA.debugLineNum = 591;BA.debugLine="End Sub"; return ""; } public String _imageview1_longclick() throws Exception{ - //BA.debugLineNum = 996;BA.debugLine="Private Sub ImageView1_LongClick"; - //BA.debugLineNum = 998;BA.debugLine="End Sub"; + //BA.debugLineNum = 1054;BA.debugLine="Private Sub ImageView1_LongClick"; + //BA.debugLineNum = 1056;BA.debugLine="End Sub"; return ""; } public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ @@ -1748,19 +1750,19 @@ String _cuenta = ""; reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; String _hvd_estatus = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; - //BA.debugLineNum = 288;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 289;BA.debugLine="If Job.Success = False Then"; + //BA.debugLineNum = 346;BA.debugLine="Sub JobDone(Job As HttpJob)"; + //BA.debugLineNum = 347;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 290;BA.debugLine="ToastMessageShow(\"Error: \" & Job.ErrorMessage, T"; + //BA.debugLineNum = 348;BA.debugLine="ToastMessageShow(\"Error: \" & Job.ErrorMessage, T"; __c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_job._errormessage /*String*/ ),__c.True); }else { - //BA.debugLineNum = 292;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 350;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 293;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 351;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 294;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; + //BA.debugLineNum = 352;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { - //BA.debugLineNum = 295;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 353;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group7 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen7 = group7.getSize() @@ -1768,23 +1770,23 @@ final int groupLen7 = group7.getSize() ; for (; index7 < groupLen7;index7++){ _records = (Object[])(group7.Get(index7)); - //BA.debugLineNum = 296;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; + //BA.debugLineNum = 354;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 297;BA.debugLine="Dim CAT_VE_VERSION As String = records(result"; + //BA.debugLineNum = 355;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 = 298;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI"; + //BA.debugLineNum = 356;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 = 303;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 361;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 304;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 362;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 305;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag"; + //BA.debugLineNum = 363;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("agencia"))) { - //BA.debugLineNum = 306;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 364;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group17 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen17 = group17.getSize() @@ -1792,19 +1794,19 @@ final int groupLen17 = group17.getSize() ; for (; index17 < groupLen17;index17++){ _records = (Object[])(group17.Get(index17)); - //BA.debugLineNum = 308;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; + //BA.debugLineNum = 366;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; _id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("ID_ALMACEN"))))]); } }; }; }; - //BA.debugLineNum = 313;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 371;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 314;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 372;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 315;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; + //BA.debugLineNum = 373;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("coords_almacen"))) { - //BA.debugLineNum = 316;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 374;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group25 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen25 = group25.getSize() @@ -1812,41 +1814,41 @@ final int groupLen25 = group25.getSize() ; for (; index25 < groupLen25;index25++){ _records = (Object[])(group25.Get(index25)); - //BA.debugLineNum = 317;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); - //BA.debugLineNum = 318;BA.debugLine="Private lat, lon As Double"; + //BA.debugLineNum = 375;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; +__c.LogImpl("01507357","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 = 376;BA.debugLine="Private lat, lon As Double"; _lat = 0; _lon = 0; - //BA.debugLineNum = 319;BA.debugLine="lat = 0.0"; + //BA.debugLineNum = 377;BA.debugLine="lat = 0.0"; _lat = 0.0; - //BA.debugLineNum = 320;BA.debugLine="lon = 0.0"; + //BA.debugLineNum = 378;BA.debugLine="lon = 0.0"; _lon = 0.0; - //BA.debugLineNum = 321;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A"; + //BA.debugLineNum = 379;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 = 322;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT"; + //BA.debugLineNum = 380;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 = 323;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON"; + //BA.debugLineNum = 381;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 = 325;BA.debugLine="Starter.cedisLocation.Latitude = lat"; + //BA.debugLineNum = 383;BA.debugLine="Starter.cedisLocation.Latitude = lat"; _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLatitude(_lat); - //BA.debugLineNum = 326;BA.debugLine="Starter.cedisLocation.Longitude = lon"; + //BA.debugLineNum = 384;BA.debugLine="Starter.cedisLocation.Longitude = lon"; _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitude(_lon); - //BA.debugLineNum = 327;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V"; + //BA.debugLineNum = 385;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 = 328;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; + //BA.debugLineNum = 386;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 = 334;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 392;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 335;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 393;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 336;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag"; + //BA.debugLineNum = 394;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("usuario"))) { - //BA.debugLineNum = 337;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 395;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group44 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen44 = group44.getSize() @@ -1854,25 +1856,25 @@ final int groupLen44 = group44.getSize() ; for (; index44 < groupLen44;index44++){ _records = (Object[])(group44.Get(index44)); - //BA.debugLineNum = 338;BA.debugLine="Dim name As String = records(result.Columns.G"; + //BA.debugLineNum = 396;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)("USUARIO"))))]); - //BA.debugLineNum = 339;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; + //BA.debugLineNum = 397;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; _id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_AGENCIA"))))]); - //BA.debugLineNum = 340;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; + //BA.debugLineNum = 398;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; _imei_base = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]); } }; - //BA.debugLineNum = 342;BA.debugLine="paso1 = 1"; + //BA.debugLineNum = 400;BA.debugLine="paso1 = 1"; _paso1 = BA.NumberToString(1); }; }; - //BA.debugLineNum = 346;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 404;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 347;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 405;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 348;BA.debugLine="If result.Tag = \"contrasena\" Then 'query tag"; + //BA.debugLineNum = 406;BA.debugLine="If result.Tag = \"contrasena\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("contrasena"))) { - //BA.debugLineNum = 349;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 407;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group55 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen55 = group55.getSize() @@ -1880,123 +1882,23 @@ final int groupLen55 = group55.getSize() ; for (; index55 < groupLen55;index55++){ _records = (Object[])(group55.Get(index55)); - //BA.debugLineNum = 350;BA.debugLine="Dim CAT_PA_PASS As String = records(result.Co"; + //BA.debugLineNum = 408;BA.debugLine="Dim CAT_PA_PASS As String = records(result.Co"; _cat_pa_pass = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_PASS"))))]); - //BA.debugLineNum = 351;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then"; + //BA.debugLineNum = 409;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then"; if ((_cat_pa_pass).equals(_et_codigo.getText())) { - //BA.debugLineNum = 352;BA.debugLine="Log(CAT_PA_PASS)"; -__c.LogImpl("81507392",_cat_pa_pass,0); - //BA.debugLineNum = 353;BA.debugLine="p_validacion.Visible = False"; + //BA.debugLineNum = 410;BA.debugLine="Log(CAT_PA_PASS)"; +__c.LogImpl("01507392",_cat_pa_pass,0); + //BA.debugLineNum = 411;BA.debugLine="p_validacion.Visible = False"; _p_validacion.setVisible(__c.False); - //BA.debugLineNum = 354;BA.debugLine="et_codigo.Text = \"\""; + //BA.debugLineNum = 412;BA.debugLine="et_codigo.Text = \"\""; _et_codigo.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 356;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; + //BA.debugLineNum = 414;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; _subs._panelvisible /*String*/ (ba,_p_ciego,(int) (0),(int) (0)); }else { - //BA.debugLineNum = 359;BA.debugLine="MsgboxAsync(\"Contraseña incorrecta\",\"Atenció"; + //BA.debugLineNum = 417;BA.debugLine="MsgboxAsync(\"Contraseña incorrecta\",\"Atenció"; __c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña incorrecta"),BA.ObjectToCharSequence("Atención"),ba); }; } -}; - }; - }; - //BA.debugLineNum = 365;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 366;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 367;BA.debugLine="If result.Tag.As(String).IndexOf(\"PICK_C_\") > -"; -if ((BA.ObjectToString(_result.Tag /*Object*/ )).indexOf("PICK_C_")>-1) { - //BA.debugLineNum = 369;BA.debugLine="Private id As String= result.Tag"; -_id = BA.ObjectToString(_result.Tag /*Object*/ ); - //BA.debugLineNum = 370;BA.debugLine="id = id.SubString(id.IndexOf(\"_\")+3)"; -_id = _id.substring((int) (_id.indexOf("_")+3)); - //BA.debugLineNum = 371;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group73 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen73 = group73.getSize() -;int index73 = 0; -; -for (; index73 < groupLen73;index73++){ -_records = (Object[])(group73.Get(index73)); - //BA.debugLineNum = 372;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 = 373;BA.debugLine="Log(CUENTA)"; -__c.LogImpl("81507413",_cuenta,0); - //BA.debugLineNum = 374;BA.debugLine="Log(id)"; -__c.LogImpl("81507414",_id,0); - //BA.debugLineNum = 375;BA.debugLine="If CUENTA = 0 Then"; -if ((_cuenta).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 376;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 = 377;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 379;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 380;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 381;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 382;BA.debugLine="cmd.Name = \"insert_PICKCIEGO_MAZAPA\""; -_cmd.Name /*String*/ = "insert_PICKCIEGO_MAZAPA"; - //BA.debugLineNum = 383;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 = 384;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_PC\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_PC")); - }; - //BA.debugLineNum = 387;BA.debugLine="c.Close"; -_c.Close(); - }else if((double)(Double.parseDouble(_cuenta))>0) { - //BA.debugLineNum = 389;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 = 390;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 392;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 393;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 394;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 395;BA.debugLine="cmd.Name = \"update_PICKCIEGO_MAZAPA\""; -_cmd.Name /*String*/ = "update_PICKCIEGO_MAZAPA"; - //BA.debugLineNum = 396;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))"; -__c.LogImpl("81507436","FECHA"+_c.GetString("PC_FECHA"),0); - //BA.debugLineNum = 397;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 = 398;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("update_PC")); - }; - //BA.debugLineNum = 401;BA.debugLine="c.Close"; -_c.Close(); - }; - } -}; - }; - }; - //BA.debugLineNum = 408;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 409;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 410;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("estatus"))) { - //BA.debugLineNum = 411;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group107 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen107 = group107.getSize() -;int index107 = 0; -; -for (; index107 < groupLen107;index107++){ -_records = (Object[])(group107.Get(index107)); - //BA.debugLineNum = 412;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 = 413;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; -if ((_hvd_estatus).equals("Liquidado")) { - //BA.debugLineNum = 415;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 = 417;BA.debugLine="enviarmonto"; -_enviarmonto(); - }; - } }; }; }; @@ -2004,9 +1906,109 @@ _enviarmonto(); if ((_job._jobname /*String*/ ).equals("DBRequest")) { //BA.debugLineNum = 424;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 425;BA.debugLine="If result.Tag = \"estatus2\" Then 'query tag"; + //BA.debugLineNum = 425;BA.debugLine="If result.Tag.As(String).IndexOf(\"PICK_C_\") > -"; +if ((BA.ObjectToString(_result.Tag /*Object*/ )).indexOf("PICK_C_")>-1) { + //BA.debugLineNum = 427;BA.debugLine="Private id As String= result.Tag"; +_id = BA.ObjectToString(_result.Tag /*Object*/ ); + //BA.debugLineNum = 428;BA.debugLine="id = id.SubString(id.IndexOf(\"_\")+3)"; +_id = _id.substring((int) (_id.indexOf("_")+3)); + //BA.debugLineNum = 429;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group73 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen73 = group73.getSize() +;int index73 = 0; +; +for (; index73 < groupLen73;index73++){ +_records = (Object[])(group73.Get(index73)); + //BA.debugLineNum = 430;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 = 431;BA.debugLine="Log(CUENTA)"; +__c.LogImpl("01507413",_cuenta,0); + //BA.debugLineNum = 432;BA.debugLine="Log(id)"; +__c.LogImpl("01507414",_id,0); + //BA.debugLineNum = 433;BA.debugLine="If CUENTA = 0 Then"; +if ((_cuenta).equals(BA.NumberToString(0))) { + //BA.debugLineNum = 434;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 = 435;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { + //BA.debugLineNum = 437;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); + //BA.debugLineNum = 438;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); + //BA.debugLineNum = 439;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); + //BA.debugLineNum = 440;BA.debugLine="cmd.Name = \"insert_PICKCIEGO_MAZAPA\""; +_cmd.Name /*String*/ = "insert_PICKCIEGO_MAZAPA"; + //BA.debugLineNum = 441;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 = 442;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_PC\")"; +_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_PC")); + }; + //BA.debugLineNum = 445;BA.debugLine="c.Close"; +_c.Close(); + }else if((double)(Double.parseDouble(_cuenta))>0) { + //BA.debugLineNum = 447;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 = 448;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { + //BA.debugLineNum = 450;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); + //BA.debugLineNum = 451;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); + //BA.debugLineNum = 452;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); + //BA.debugLineNum = 453;BA.debugLine="cmd.Name = \"update_PICKCIEGO_MAZAPA\""; +_cmd.Name /*String*/ = "update_PICKCIEGO_MAZAPA"; + //BA.debugLineNum = 454;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))"; +__c.LogImpl("01507436","FECHA"+_c.GetString("PC_FECHA"),0); + //BA.debugLineNum = 455;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 = 456;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")"; +_reqmanager._executecommand /*String*/ (_cmd,(Object)("update_PC")); + }; + //BA.debugLineNum = 459;BA.debugLine="c.Close"; +_c.Close(); + }; + } +}; + }; + }; + //BA.debugLineNum = 466;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { + //BA.debugLineNum = 467;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); + //BA.debugLineNum = 468;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("estatus"))) { + //BA.debugLineNum = 469;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group107 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen107 = group107.getSize() +;int index107 = 0; +; +for (; index107 < groupLen107;index107++){ +_records = (Object[])(group107.Get(index107)); + //BA.debugLineNum = 470;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 = 471;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; +if ((_hvd_estatus).equals("Liquidado")) { + //BA.debugLineNum = 473;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 = 475;BA.debugLine="enviarmonto"; +_enviarmonto(); + }; + } +}; + }; + }; + //BA.debugLineNum = 481;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { + //BA.debugLineNum = 482;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); + //BA.debugLineNum = 483;BA.debugLine="If result.Tag = \"estatus2\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("estatus2"))) { - //BA.debugLineNum = 426;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 484;BA.debugLine="For Each records() As Object In result.Rows"; { final anywheresoftware.b4a.BA.IterableList group120 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen120 = group120.getSize() @@ -2014,27 +2016,27 @@ final int groupLen120 = group120.getSize() ; for (; index120 < groupLen120;index120++){ _records = (Object[])(group120.Get(index120)); - //BA.debugLineNum = 427;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; + //BA.debugLineNum = 485;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 = 428;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; + //BA.debugLineNum = 486;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; if ((_hvd_estatus).equals("Liquidado")) { - //BA.debugLineNum = 430;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; + //BA.debugLineNum = 488;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 = 432;BA.debugLine="passaquci"; + //BA.debugLineNum = 490;BA.debugLine="passaquci"; _passaquci(); }; } }; }; }; - //BA.debugLineNum = 438;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 496;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 439;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 497;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 440;BA.debugLine="If result.Tag = \"SelectMontoLiq\" Then"; + //BA.debugLineNum = 498;BA.debugLine="If result.Tag = \"SelectMontoLiq\" Then"; if ((_result.Tag /*Object*/ ).equals((Object)("SelectMontoLiq"))) { - //BA.debugLineNum = 441;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 499;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() @@ -2042,223 +2044,223 @@ final int groupLen133 = group133.getSize() ; for (; index133 < groupLen133;index133++){ _records = (Object[])(group133.Get(index133)); - //BA.debugLineNum = 442;BA.debugLine="Dim CUENTA As String = records(result.Columns"; + //BA.debugLineNum = 500;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 = 444;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; + //BA.debugLineNum = 502;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 445;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 503;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; _sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 446;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; + //BA.debugLineNum = 504;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; _stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 447;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"s"; + //BA.debugLineNum = 505;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"s"; _f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _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 = 448;BA.debugLine="f.Position=0"; + //BA.debugLineNum = 506;BA.debugLine="f.Position=0"; _f.setPosition((int) (0)); - //BA.debugLineNum = 449;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\""; + //BA.debugLineNum = 507;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\""; _a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _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 = 450;BA.debugLine="a.Position = 0"; + //BA.debugLineNum = 508;BA.debugLine="a.Position = 0"; _a.setPosition((int) (0)); - //BA.debugLineNum = 452;BA.debugLine="Private c2 As Cursor"; + //BA.debugLineNum = 510;BA.debugLine="Private c2 As Cursor"; _c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 453;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select USUARIO fro"; + //BA.debugLineNum = 511;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select USUARIO fro"; _c2 = (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 = 454;BA.debugLine="c2.Position=0"; + //BA.debugLineNum = 512;BA.debugLine="c2.Position=0"; _c2.setPosition((int) (0)); - //BA.debugLineNum = 455;BA.debugLine="If c2.RowCount > 0 Then c2.GetString(\"USUARIO"; + //BA.debugLineNum = 513;BA.debugLine="If c2.RowCount > 0 Then c2.GetString(\"USUARIO"; if (_c2.getRowCount()>0) { _c2.GetString("USUARIO");}; - //BA.debugLineNum = 457;BA.debugLine="Log(CUENTA & \"----------------------!!\")"; -__c.LogImpl("81507497",_cuenta+"----------------------!!",0); - //BA.debugLineNum = 458;BA.debugLine="If CUENTA = \"0\" Then"; + //BA.debugLineNum = 515;BA.debugLine="Log(CUENTA & \"----------------------!!\")"; +__c.LogImpl("01507497",_cuenta+"----------------------!!",0); + //BA.debugLineNum = 516;BA.debugLine="If CUENTA = \"0\" Then"; if ((_cuenta).equals("0")) { - //BA.debugLineNum = 460;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E"; + //BA.debugLineNum = 518;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E"; _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 ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?",new String[]{_c2.GetString("USUARIO"),_a.GetString("ID_ALMACEN"),_f.GetString("RUTAA")}))); - //BA.debugLineNum = 461;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 519;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 463;BA.debugLine="c.Position=0"; + //BA.debugLineNum = 521;BA.debugLine="c.Position=0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 464;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 522;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 465;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 523;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 466;BA.debugLine="cmd.Name = \"insert_Monto_Liq_MAZAPArep\""; + //BA.debugLineNum = 524;BA.debugLine="cmd.Name = \"insert_Monto_Liq_MAZAPArep\""; _cmd.Name /*String*/ = "insert_Monto_Liq_MAZAPArep"; - //BA.debugLineNum = 467;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; + //BA.debugLineNum = 525;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("EML_MONTO")),(Object)(_c.GetString("EML_ALMACEN")),(Object)(_f.GetString("RUTAA")),(Object)(_c.GetString("EML_USUARIO")),(Object)("REPARTO"),(Object)(_c.GetString("EML_FECHA_PED"))}; - //BA.debugLineNum = 468;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_Mon_Li"; + //BA.debugLineNum = 526;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_Mon_Li"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_Mon_Liq")); - //BA.debugLineNum = 469;BA.debugLine="MsgboxAsync(\"Monto Enviado\", \"Atención\")"; + //BA.debugLineNum = 527;BA.debugLine="MsgboxAsync(\"Monto Enviado\", \"Atención\")"; __c.MsgboxAsync(BA.ObjectToCharSequence("Monto Enviado"),BA.ObjectToCharSequence("Atención"),ba); }; - //BA.debugLineNum = 472;BA.debugLine="c.Close"; + //BA.debugLineNum = 530;BA.debugLine="c.Close"; _c.Close(); }else if((double)(Double.parseDouble(_cuenta))>(double)(Double.parseDouble("0"))) { - //BA.debugLineNum = 475;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E"; + //BA.debugLineNum = 533;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E"; _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 ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?",new String[]{_c2.GetString("USUARIO"),_a.GetString("ID_ALMACEN"),_f.GetString("RUTAA")}))); - //BA.debugLineNum = 476;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 534;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 478;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 536;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 479;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 537;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 480;BA.debugLine="cmd.Name = \"update_MontoCuenta_MAZAPArep\""; + //BA.debugLineNum = 538;BA.debugLine="cmd.Name = \"update_MontoCuenta_MAZAPArep\""; _cmd.Name /*String*/ = "update_MontoCuenta_MAZAPArep"; - //BA.debugLineNum = 481;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; + //BA.debugLineNum = 539;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("EML_MONTO")),(Object)(_c.GetString("EML_ALMACEN")),(Object)(_c.GetString("EML_RUTA")),(Object)(_c.GetString("EML_USUARIO")),(Object)(_c.GetString("EML_FECHA_PED")),(Object)("REPARTO")}; - //BA.debugLineNum = 483;BA.debugLine="Log(c.GetString(\"EML_MONTO\")& \" \" & c.GetSt"; -__c.LogImpl("81507523",_c.GetString("EML_MONTO")+" "+_c.GetString("EML_ALMACEN")+" "+_c.GetString("EML_RUTA")+" "+_c.GetString("EML_USUARIO"),0); - //BA.debugLineNum = 484;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_MC\")"; + //BA.debugLineNum = 541;BA.debugLine="Log(c.GetString(\"EML_MONTO\")& \" \" & c.GetSt"; +__c.LogImpl("01507523",_c.GetString("EML_MONTO")+" "+_c.GetString("EML_ALMACEN")+" "+_c.GetString("EML_RUTA")+" "+_c.GetString("EML_USUARIO"),0); + //BA.debugLineNum = 542;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_MC\")"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("update_MC")); - //BA.debugLineNum = 485;BA.debugLine="MsgboxAsync(\"Se sobre escribio el Monto\", \""; + //BA.debugLineNum = 543;BA.debugLine="MsgboxAsync(\"Se sobre escribio el Monto\", \""; __c.MsgboxAsync(BA.ObjectToCharSequence("Se sobre escribio el Monto"),BA.ObjectToCharSequence("Atención"),ba); }; - //BA.debugLineNum = 488;BA.debugLine="c2.Close"; + //BA.debugLineNum = 546;BA.debugLine="c2.Close"; _c2.Close(); - //BA.debugLineNum = 489;BA.debugLine="c.Close"; + //BA.debugLineNum = 547;BA.debugLine="c.Close"; _c.Close(); }; - //BA.debugLineNum = 491;BA.debugLine="f.Close"; + //BA.debugLineNum = 549;BA.debugLine="f.Close"; _f.Close(); - //BA.debugLineNum = 492;BA.debugLine="a.Close"; + //BA.debugLineNum = 550;BA.debugLine="a.Close"; _a.Close(); } }; }; }; - //BA.debugLineNum = 497;BA.debugLine="Job.Release"; + //BA.debugLineNum = 555;BA.debugLine="Job.Release"; _job._release /*String*/ (); }; - //BA.debugLineNum = 500;BA.debugLine="If paso1 = 1 Then"; + //BA.debugLineNum = 558;BA.debugLine="If paso1 = 1 Then"; if ((_paso1).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 501;BA.debugLine="If name = \"OKActivo\" Then"; + //BA.debugLineNum = 559;BA.debugLine="If name = \"OKActivo\" Then"; if ((_name).equals("OKActivo")) { - //BA.debugLineNum = 502;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa"; + //BA.debugLineNum = 560;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 503;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIO"; + //BA.debugLineNum = 561;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText()),(Object)(_pass.getText())})); - //BA.debugLineNum = 504;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_alma"; + //BA.debugLineNum = 562;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_alma"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); - //BA.debugLineNum = 505;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALM"; + //BA.debugLineNum = 563;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALM"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_id_almacen)})); - //BA.debugLineNum = 506;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; + //BA.debugLineNum = 564;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); }else if((_name).equals("OKExpirado"+_imei)) { - //BA.debugLineNum = 508;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrado"; + //BA.debugLineNum = 566;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrado"; __c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba); }else if((_name).equals("OKCancelado"+_imei)) { - //BA.debugLineNum = 510;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administrad"; + //BA.debugLineNum = 568;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administrad"; __c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba); }else { - //BA.debugLineNum = 512;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ign"; + //BA.debugLineNum = 570;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ign"; __c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); }; - //BA.debugLineNum = 514;BA.debugLine="paso1 = 0"; + //BA.debugLineNum = 572;BA.debugLine="paso1 = 0"; _paso1 = BA.NumberToString(0); }; - //BA.debugLineNum = 516;BA.debugLine="End Sub"; + //BA.debugLineNum = 574;BA.debugLine="End Sub"; return ""; } public String _lv_server_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 588;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,"; - //BA.debugLineNum = 589;BA.debugLine="server = Value"; + //BA.debugLineNum = 646;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,"; + //BA.debugLineNum = 647;BA.debugLine="server = Value"; _server = BA.ObjectToString(_value); - //BA.debugLineNum = 591;BA.debugLine="et_server.Text = Value"; + //BA.debugLineNum = 649;BA.debugLine="et_server.Text = Value"; _et_server.setText(BA.ObjectToCharSequence(_value)); - //BA.debugLineNum = 592;BA.debugLine="reqManager.Initialize(Me, Value)"; + //BA.debugLineNum = 650;BA.debugLine="reqManager.Initialize(Me, Value)"; _reqmanager._initialize /*String*/ (ba,this,BA.ObjectToString(_value)); - //BA.debugLineNum = 593;BA.debugLine="LogColor($\"ReqServer = ${Value}\"$, Colors.red)"; -__c.LogImpl("81966085",("ReqServer = "+__c.SmartStringFormatter("",_value)+""),__c.Colors.Red); - //BA.debugLineNum = 594;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)"; + //BA.debugLineNum = 651;BA.debugLine="LogColor($\"ReqServer = ${Value}\"$, Colors.red)"; +__c.LogImpl("01966085",("ReqServer = "+__c.SmartStringFormatter("",_value)+""),__c.Colors.Red); + //BA.debugLineNum = 652;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Servidor modificado"),__c.False); - //BA.debugLineNum = 595;BA.debugLine="End Sub"; + //BA.debugLineNum = 653;BA.debugLine="End Sub"; return ""; } public String _muestraprogreso(String _mensaje) throws Exception{ - //BA.debugLineNum = 604;BA.debugLine="Sub muestraProgreso(mensaje As String)"; - //BA.debugLineNum = 605;BA.debugLine="ProgressDialogShow(mensaje)"; + //BA.debugLineNum = 662;BA.debugLine="Sub muestraProgreso(mensaje As String)"; + //BA.debugLineNum = 663;BA.debugLine="ProgressDialogShow(mensaje)"; __c.ProgressDialogShow(ba,BA.ObjectToCharSequence(_mensaje)); - //BA.debugLineNum = 606;BA.debugLine="End Sub"; + //BA.debugLineNum = 664;BA.debugLine="End Sub"; return ""; } public String _ocultaprogreso() throws Exception{ - //BA.debugLineNum = 609;BA.debugLine="Sub ocultaProgreso"; - //BA.debugLineNum = 610;BA.debugLine="ProgressDialogHide"; + //BA.debugLineNum = 667;BA.debugLine="Sub ocultaProgreso"; + //BA.debugLineNum = 668;BA.debugLine="ProgressDialogHide"; __c.ProgressDialogHide(); - //BA.debugLineNum = 611;BA.debugLine="End Sub"; + //BA.debugLineNum = 669;BA.debugLine="End Sub"; return ""; } public String _p_add_monto_click() throws Exception{ - //BA.debugLineNum = 626;BA.debugLine="Private Sub p_add_monto_Click"; - //BA.debugLineNum = 628;BA.debugLine="End Sub"; + //BA.debugLineNum = 684;BA.debugLine="Private Sub p_add_monto_Click"; + //BA.debugLineNum = 686;BA.debugLine="End Sub"; return ""; } public String _p_ciego_click() throws Exception{ - //BA.debugLineNum = 909;BA.debugLine="Private Sub P_CIEGO_Click"; - //BA.debugLineNum = 911;BA.debugLine="End Sub"; + //BA.debugLineNum = 967;BA.debugLine="Private Sub P_CIEGO_Click"; + //BA.debugLineNum = 969;BA.debugLine="End Sub"; return ""; } public String _p_validacion_click() throws Exception{ - //BA.debugLineNum = 961;BA.debugLine="Private Sub p_validacion_Click"; - //BA.debugLineNum = 963;BA.debugLine="End Sub"; + //BA.debugLineNum = 1019;BA.debugLine="Private Sub p_validacion_Click"; + //BA.debugLineNum = 1021;BA.debugLine="End Sub"; return ""; } public String _passaquci() throws Exception{ reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 931;BA.debugLine="Sub passaquci"; - //BA.debugLineNum = 932;BA.debugLine="f=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA from"; + //BA.debugLineNum = 989;BA.debugLine="Sub passaquci"; + //BA.debugLineNum = 990;BA.debugLine="f=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA 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 CAT_CL_RUTA from kmt_info"))); - //BA.debugLineNum = 933;BA.debugLine="f.Position=0"; + //BA.debugLineNum = 991;BA.debugLine="f.Position=0"; _f.setPosition((int) (0)); - //BA.debugLineNum = 935;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; + //BA.debugLineNum = 993;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 = 936;BA.debugLine="If a.RowCount>0 Then"; + //BA.debugLineNum = 994;BA.debugLine="If a.RowCount>0 Then"; if (_a.getRowCount()>0) { - //BA.debugLineNum = 937;BA.debugLine="a.Position=0"; + //BA.debugLineNum = 995;BA.debugLine="a.Position=0"; _a.setPosition((int) (0)); }; - //BA.debugLineNum = 939;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; -__c.LogImpl("82949128",_a.GetString("ID_ALMACEN"),0); - //BA.debugLineNum = 940;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))"; -__c.LogImpl("82949129",_f.GetString("CAT_CL_RUTA"),0); - //BA.debugLineNum = 942;BA.debugLine="If et_codigo.Text = \"KMTS1\" Then"; + //BA.debugLineNum = 997;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; +__c.LogImpl("02949128",_a.GetString("ID_ALMACEN"),0); + //BA.debugLineNum = 998;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))"; +__c.LogImpl("02949129",_f.GetString("CAT_CL_RUTA"),0); + //BA.debugLineNum = 1000;BA.debugLine="If et_codigo.Text = \"KMTS1\" Then"; if ((_et_codigo.getText()).equals("KMTS1")) { - //BA.debugLineNum = 943;BA.debugLine="p_validacion.Visible = False"; + //BA.debugLineNum = 1001;BA.debugLine="p_validacion.Visible = False"; _p_validacion.setVisible(__c.False); - //BA.debugLineNum = 944;BA.debugLine="et_codigo.Text = \"\""; + //BA.debugLineNum = 1002;BA.debugLine="et_codigo.Text = \"\""; _et_codigo.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 945;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; + //BA.debugLineNum = 1003;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; _subs._panelvisible /*String*/ (ba,_p_ciego,(int) (0),(int) (0)); }else { - //BA.debugLineNum = 947;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1005;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 948;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1006;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 949;BA.debugLine="cmd.Name = \"select_CAT_PASS_ARQUEO_MAZAPA\""; + //BA.debugLineNum = 1007;BA.debugLine="cmd.Name = \"select_CAT_PASS_ARQUEO_MAZAPA\""; _cmd.Name /*String*/ = "select_CAT_PASS_ARQUEO_MAZAPA"; - //BA.debugLineNum = 950;BA.debugLine="cmd.Parameters = Array As Object(f.GetString(\"CA"; + //BA.debugLineNum = 1008;BA.debugLine="cmd.Parameters = Array As Object(f.GetString(\"CA"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_f.GetString("CAT_CL_RUTA")),(Object)(_a.GetString("ID_ALMACEN")),(Object)("REPARTO")}; - //BA.debugLineNum = 951;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"contrasena\")"; + //BA.debugLineNum = 1009;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"contrasena\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("contrasena")); - //BA.debugLineNum = 952;BA.debugLine="f.Close"; + //BA.debugLineNum = 1010;BA.debugLine="f.Close"; _f.Close(); - //BA.debugLineNum = 953;BA.debugLine="a.Close"; + //BA.debugLineNum = 1011;BA.debugLine="a.Close"; _a.Close(); }; - //BA.debugLineNum = 955;BA.debugLine="End Sub"; + //BA.debugLineNum = 1013;BA.debugLine="End Sub"; return ""; } public String _reinicializareqmanager() throws Exception{ - //BA.debugLineNum = 597;BA.debugLine="Sub reinicializaReqManager"; - //BA.debugLineNum = 598;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; + //BA.debugLineNum = 655;BA.debugLine="Sub reinicializaReqManager"; + //BA.debugLineNum = 656;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 599;BA.debugLine="If logger Then Log(B4XPages.MainPage.server)"; + //BA.debugLineNum = 657;BA.debugLine="If logger Then Log(B4XPages.MainPage.server)"; if (_logger) { -__c.LogImpl("82031618",_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; - //BA.debugLineNum = 600;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("82031619",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 601;BA.debugLine="End Sub"; +__c.LogImpl("02031618",_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; + //BA.debugLineNum = 658;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +__c.LogImpl("02031619",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); + //BA.debugLineNum = 659;BA.debugLine="End Sub"; return ""; } public Object callSub(String sub, Object sender, Object[] args) throws Exception { diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xorderedmap.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xorderedmap.java index 44d92c6..7e84dab 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xorderedmap.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xorderedmap.java @@ -29,12 +29,12 @@ public anywheresoftware.b4a.objects.collections.List _list = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpages.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpages.java index 6467735..05c4af3 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpages.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpages.java @@ -17,12 +17,12 @@ public static Object _globalcontext = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesdelegator.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesdelegator.java index b17e8a2..d534810 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesdelegator.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesdelegator.java @@ -27,12 +27,12 @@ public class b4xpagesdelegator extends B4AClass.ImplB4AClass implements BA.SubDe public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesmanager.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesmanager.java index afc96a2..22dae47 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesmanager.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesmanager.java @@ -40,12 +40,12 @@ public boolean _logevents = false; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = 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("919595267",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0); +__c.LogImpl("914090243",("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("919464213","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red); +__c.LogImpl("913959189","#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("919857412","Only top page can be closed",0); +__c.LogImpl("914352388","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("919857415","First page cannot be closed",0); +__c.LogImpl("914352391","First page cannot be closed",0); //BA.debugLineNum = 217;BA.debugLine="Return"; if (true) return ""; }; @@ -590,9 +590,9 @@ _pi = (reparto_mazapa.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("920512771","Error: page id not found: "+_id,0); +__c.LogImpl("915007747","Error: page id not found: "+_id,0); //BA.debugLineNum = 402;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore"; -__c.LogImpl("920512772","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0); +__c.LogImpl("915007748","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("919398683","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0); +__c.LogImpl("913893659","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("921626883",_msg,0); +__c.LogImpl("916121859",_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("921102606","Too many parameters",0); +__c.LogImpl("915597582","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("921168142","Too many parameters",0); +__c.LogImpl("915663118","Too many parameters",0); break; } } ; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xplusminus.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xplusminus.java index 8bf066b..a04701a 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xplusminus.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xplusminus.java @@ -53,12 +53,12 @@ public boolean _mhaptic = false; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xradiobutton.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xradiobutton.java index f2104ee..e4ca9f6 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xradiobutton.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xradiobutton.java @@ -47,12 +47,12 @@ public float _scale = 0f; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsearchtemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsearchtemplate.java index c622179..a7fa167 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsearchtemplate.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsearchtemplate.java @@ -45,12 +45,12 @@ public boolean _prefixonly = false; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -390,7 +390,7 @@ _count = (int) (_count+1); } }; //BA.debugLineNum = 227;BA.debugLine="Log(\"Index time: \" & (DateTime.Now - startTime) &"; -__c.LogImpl("939583775","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0); +__c.LogImpl("934078751","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_mazapa/keymon/lat/b4xseekbar.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xseekbar.java index 5bd3ffc..14accd5 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xseekbar.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xseekbar.java @@ -48,12 +48,12 @@ public int _size = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xset.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xset.java index ab4049e..b862f7c 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xset.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xset.java @@ -28,12 +28,12 @@ public reparto_mazapa.keymon.lat.b4xorderedmap _map = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsignaturetemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsignaturetemplate.java index 731c61c..0229132 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsignaturetemplate.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsignaturetemplate.java @@ -39,12 +39,12 @@ public int _numberofpoints = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xswitch.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xswitch.java index f7b9123..feb37fb 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xswitch.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xswitch.java @@ -45,12 +45,12 @@ public boolean _mhaptic = false; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xtimedtemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xtimedtemplate.java index 253dd7e..7ec896e 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xtimedtemplate.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xtimedtemplate.java @@ -33,12 +33,12 @@ public int _index = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/batteryutilities.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/batteryutilities.java index f3ce7f0..b7ea7e0 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/batteryutilities.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/batteryutilities.java @@ -35,12 +35,12 @@ public anywheresoftware.b4j.object.JavaObject _nativeme = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_buscar.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_buscar.java index 466d893..cad4eaf 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_buscar.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_buscar.java @@ -33,12 +33,12 @@ public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cheklist.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cheklist.java index 2861b2c..b101c8e 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cheklist.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cheklist.java @@ -126,12 +126,12 @@ public anywheresoftware.b4a.objects.EditTextWrapper _et_km = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = 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("87471112","creado en promotoria "+_dirp+_dir,0); +__c.LogImpl("054067208","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("87471115","creado en raiz",0); +__c.LogImpl("054067211","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("87471121","creado en promotoria "+_dirp+_dir+_dir2,0); +__c.LogImpl("054067217","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("87471124","creado en raiz",0); +__c.LogImpl("054067220","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("84325379",parent._c.GetString("PLACA"),0); +parent.__c.LogImpl("050921475",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("84325387","inicializamos Camara",0); +parent.__c.LogImpl("050921483","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("84325398","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting WRITE_EXTERNAL_STORAGE permission",0); +parent.__c.LogImpl("050921494","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("84325402",("PERMISSION_WRITE_EXTERNAL_STORAGE = "+parent.__c.SmartStringFormatter("",(Object)(_result))+""),0); +parent.__c.LogImpl("050921498",("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("84325404","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting MANAGE_EXTERNAL_STORAGE permission",0); +parent.__c.LogImpl("050921500","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("84325405","On Entry MANAGE_EXTERNAL_STORAGE = "+BA.ObjectToString(parent._mes1._haspermission /*boolean*/ ()),0); +parent.__c.LogImpl("050921501","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("84325409","Getting permission",0); +parent.__c.LogImpl("050921505","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("84587547","tome foto",0); +__c.LogImpl("051183643","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("84587555","creado en promotoria "+_dirp+_dir,0); +__c.LogImpl("051183651","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("84587558","creado en raiz",0); +__c.LogImpl("051183654","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("84587564","creado en promotoria "+_dirp+_dir+_dir2,0); +__c.LogImpl("051183660","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("84587567","creado en raiz",0); +__c.LogImpl("051183663","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("84587573","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0); +__c.LogImpl("051183669","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("84587576",_nombrefoto,0); +__c.LogImpl("051183672",_nombrefoto,0); //BA.debugLineNum = 295;BA.debugLine="Log(nombrefoto1)"; -__c.LogImpl("84587577",_nombrefoto1,0); +__c.LogImpl("051183673",_nombrefoto1,0); //BA.debugLineNum = 296;BA.debugLine="Log(nombrefoto2)"; -__c.LogImpl("84587578",_nombrefoto2,0); +__c.LogImpl("051183674",_nombrefoto2,0); //BA.debugLineNum = 297;BA.debugLine="Log(nombrefoto3)"; -__c.LogImpl("84587579",_nombrefoto3,0); +__c.LogImpl("051183675",_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("84521985","Camara ready",0); +__c.LogImpl("051118081","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("84521991",BA.ObjectToString(_camex._getpreviewsize /*reparto_mazapa.keymon.lat.cameraexclass._camerasize*/ ()),0); +__c.LogImpl("051118087",BA.ObjectToString(_camex._getpreviewsize /*reparto_mazapa.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("84521994","Cannot open camera",0); +__c.LogImpl("051118090","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("87405570",_itemselect4,0); +__c.LogImpl("054001666",_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("87340034",_itemselect3,0); +__c.LogImpl("053936130",_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("87274498",_itemselect2,0); +__c.LogImpl("053870594",_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("87208962",_itemselect1,0); +__c.LogImpl("053805058",_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("84456454","inicializamos Camara",0); +parent.__c.LogImpl("051052550","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("87602177","JOBDONE CLIENTE . "+BA.ObjectToString(_job._success /*boolean*/ ),0); +__c.LogImpl("054198273","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("87602181","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Blue); +__c.LogImpl("054198277","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("87602183","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +__c.LogImpl("054198279","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.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("87602189",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); +__c.LogImpl("054198285",("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("87602192",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); +__c.LogImpl("054198288",("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("87602212",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("054198308",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_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; //BA.debugLineNum = 724;BA.debugLine="Sub mandaPendientes"; //BA.debugLineNum = 725;BA.debugLine="Log(\"MandaPendientes\")"; -__c.LogImpl("87536641","MandaPendientes",0); +__c.LogImpl("054132737","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("87536644",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); +__c.LogImpl("054132740",("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_mazapa/keymon/lat/c_cliente.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cliente.java index 798ac59..59e8e08 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cliente.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cliente.java @@ -96,78 +96,79 @@ public anywheresoftware.b4a.objects.LabelWrapper _l_pagare = null; public anywheresoftware.b4a.objects.LabelWrapper _l_montopag = null; public anywheresoftware.b4a.objects.LabelWrapper _l_efectivo = null; public anywheresoftware.b4a.objects.LabelWrapper _l_montoefec = null; +public long _distance = 0L; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; public String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 296;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 298;BA.debugLine="End Sub"; + //BA.debugLineNum = 313;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; + //BA.debugLineNum = 315;BA.debugLine="End Sub"; return ""; } public String _b_imp_click() throws Exception{ - //BA.debugLineNum = 412;BA.debugLine="Sub B_IMP_Click"; - //BA.debugLineNum = 826;BA.debugLine="Guardado"; + //BA.debugLineNum = 469;BA.debugLine="Sub B_IMP_Click"; + //BA.debugLineNum = 883;BA.debugLine="Guardado"; _guardado(); - //BA.debugLineNum = 827;BA.debugLine="End Sub"; + //BA.debugLineNum = 884;BA.debugLine="End Sub"; return ""; } public String _b_noentrega_click() throws Exception{ - //BA.debugLineNum = 369;BA.debugLine="Sub b_noEntrega_Click"; - //BA.debugLineNum = 371;BA.debugLine="B4XPages.ShowPage(\"noVenta\")"; + //BA.debugLineNum = 426;BA.debugLine="Sub b_noEntrega_Click"; + //BA.debugLineNum = 428;BA.debugLine="B4XPages.ShowPage(\"noVenta\")"; _b4xpages._showpage /*String*/ (ba,"noVenta"); - //BA.debugLineNum = 372;BA.debugLine="End Sub"; + //BA.debugLineNum = 429;BA.debugLine="End Sub"; return ""; } public String _b_paso2_click() throws Exception{ anywheresoftware.b4a.sql.SQL.CursorWrapper _mandamapa = null; - //BA.debugLineNum = 901;BA.debugLine="Sub B_PASO2_Click"; - //BA.debugLineNum = 902;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; + //BA.debugLineNum = 958;BA.debugLine="Sub B_PASO2_Click"; + //BA.debugLineNum = 959;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 903;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 960;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; _sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 904;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; + //BA.debugLineNum = 961;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; _stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 905;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; + //BA.debugLineNum = 962;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; _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 CUENTA from cuentaa"))); - //BA.debugLineNum = 906;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 963;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 907;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; + //BA.debugLineNum = 964;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; _cuenta = _c.GetString("CUENTA"); - //BA.debugLineNum = 908;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; + //BA.debugLineNum = 965;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 = 909;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 966;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 910;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; + //BA.debugLineNum = 967;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; _usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 911;BA.debugLine="c.Close"; + //BA.debugLineNum = 968;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 912;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; + //BA.debugLineNum = 969;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"); - //BA.debugLineNum = 913;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; + //BA.debugLineNum = 970;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON) VALUES(?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cuenta),(Object)(_sdate+_stime),(Object)(_usuario),(Object)("PASO"),(Object)("PASO ESPERA"),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 915;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQuery("; + //BA.debugLineNum = 972;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQuery("; _mandamapa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _mandamapa = (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 kmt_info WHERE gestion = 0"))); - //BA.debugLineNum = 916;BA.debugLine="If mandamapa.RowCount > 0 Then"; + //BA.debugLineNum = 973;BA.debugLine="If mandamapa.RowCount > 0 Then"; if (_mandamapa.getRowCount()>0) { - //BA.debugLineNum = 917;BA.debugLine="StartActivity(MAPA_RUTAS)"; + //BA.debugLineNum = 974;BA.debugLine="StartActivity(MAPA_RUTAS)"; __c.StartActivity(ba,(Object)(_mapa_rutas.getObject())); }else if(_mandamapa.getRowCount()==0) { - //BA.debugLineNum = 919;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; + //BA.debugLineNum = 976;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); }; - //BA.debugLineNum = 921;BA.debugLine="End Sub"; + //BA.debugLineNum = 978;BA.debugLine="End Sub"; return ""; } public String _b4xpage_appear() throws Exception{ @@ -191,170 +192,178 @@ String _arti3 = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _pag = null; float _pagaremonto = 0f; float _pagaremonto2 = 0f; - //BA.debugLineNum = 120;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 121;BA.debugLine="banderaimp = 0"; + //BA.debugLineNum = 121;BA.debugLine="Sub B4XPage_Appear"; + //BA.debugLineNum = 122;BA.debugLine="banderaimp = 0"; _banderaimp = (int) (0); - //BA.debugLineNum = 122;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; + //BA.debugLineNum = 123;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; _subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 123;BA.debugLine="Starter.skmt.Initialize(Starter.ruta,\"kmt.db\", Tr"; + //BA.debugLineNum = 124;BA.debugLine="Starter.skmt.Initialize(Starter.ruta,\"kmt.db\", Tr"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(_starter._ruta /*String*/ ,"kmt.db",__c.True); - //BA.debugLineNum = 124;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; + //BA.debugLineNum = 125;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 125;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,CA"; + //BA.debugLineNum = 126;BA.debugLine="Tar.Visible = False"; +_tar.setVisible(__c.False); + //BA.debugLineNum = 127;BA.debugLine="gest.Visible = False"; +_gest.setVisible(__c.False); + //BA.debugLineNum = 128;BA.debugLine="b_noEntrega.Visible = False"; +_b_noentrega.setVisible(__c.False); + //BA.debugLineNum = 129;BA.debugLine="HIST.Visible = False"; +_hist.setVisible(__c.False); + //BA.debugLineNum = 130;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,CA"; _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 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 from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 126;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; + //BA.debugLineNum = 131;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; _s = (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(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 127;BA.debugLine="s.Position=0"; + //BA.debugLineNum = 132;BA.debugLine="s.Position=0"; _s.setPosition((int) (0)); - //BA.debugLineNum = 128;BA.debugLine="c.Position=0"; + //BA.debugLineNum = 133;BA.debugLine="c.Position=0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 129;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; + //BA.debugLineNum = 134;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; _la_cuenta.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO"))); - //BA.debugLineNum = 130;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; + //BA.debugLineNum = 135;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; _la_nombre.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))); - //BA.debugLineNum = 131;BA.debugLine="NOMBRE = c.GetString(\"CAT_CL_NOMBRE\")"; + //BA.debugLineNum = 136;BA.debugLine="NOMBRE = c.GetString(\"CAT_CL_NOMBRE\")"; _nombre = _c.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 132;BA.debugLine="LONGITUD = c.GetString(\"CAT_CL_LONG\")"; + //BA.debugLineNum = 137;BA.debugLine="LONGITUD = c.GetString(\"CAT_CL_LONG\")"; _longitud = _c.GetString("CAT_CL_LONG"); - //BA.debugLineNum = 133;BA.debugLine="LATITUD = c.GetString(\"CAT_CL_LAT\")"; + //BA.debugLineNum = 138;BA.debugLine="LATITUD = c.GetString(\"CAT_CL_LAT\")"; _latitud = _c.GetString("CAT_CL_LAT"); - //BA.debugLineNum = 134;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G"; + //BA.debugLineNum = 139;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G"; _la_calle.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE")+_c.GetString("CAT_CL_NOEXT"))); - //BA.debugLineNum = 135;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; + //BA.debugLineNum = 140;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; _la_col.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_COLONIA"))); - //BA.debugLineNum = 136;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; + //BA.debugLineNum = 141;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; _la_edo.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EDO"))); - //BA.debugLineNum = 137;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")"; + //BA.debugLineNum = 142;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")"; _la_cp.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CP"))); - //BA.debugLineNum = 138;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; + //BA.debugLineNum = 143;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; _l_entre1.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE1"))); - //BA.debugLineNum = 139;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; + //BA.debugLineNum = 144;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; _l_entre2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE2"))); - //BA.debugLineNum = 140;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G"; + //BA.debugLineNum = 145;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G"; if (_c.GetString("CAT_CL_ATIENDE1")!= null && (_c.GetString("CAT_CL_ATIENDE1")).equals("null") == false) { - //BA.debugLineNum = 141;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; + //BA.debugLineNum = 146;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; _l_atiende.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENDE1"))); }else { - //BA.debugLineNum = 143;BA.debugLine="l_atiende.Text = \" \""; + //BA.debugLineNum = 148;BA.debugLine="l_atiende.Text = \" \""; _l_atiende.setText(BA.ObjectToCharSequence(" ")); }; - //BA.debugLineNum = 145;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G"; + //BA.debugLineNum = 150;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G"; if (_c.GetString("CAT_CL_ATIENTE2")!= null && (_c.GetString("CAT_CL_ATIENTE2")).equals("NULL") == false) { - //BA.debugLineNum = 146;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; + //BA.debugLineNum = 151;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; _l_atiende2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENTE2"))); }else { - //BA.debugLineNum = 148;BA.debugLine="l_atiende2.Text = \" \""; + //BA.debugLineNum = 153;BA.debugLine="l_atiende2.Text = \" \""; _l_atiende2.setText(BA.ObjectToCharSequence(" ")); }; - //BA.debugLineNum = 150;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")"; + //BA.debugLineNum = 155;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")"; _la_saldotot.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_TELEFONO"))); - //BA.debugLineNum = 151;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; + //BA.debugLineNum = 156;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; _la_saldooper.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EMAIL"))); - //BA.debugLineNum = 153;BA.debugLine="CREDITO = C.GetString(\"CAT_CL_BCREDITO\")"; + //BA.debugLineNum = 158;BA.debugLine="CREDITO = C.GetString(\"CAT_CL_BCREDITO\")"; _credito = _c.GetString("CAT_CL_BCREDITO"); - //BA.debugLineNum = 156;BA.debugLine="Private cym As Map = Subs.traeCantYMonto2(Subs.tr"; + //BA.debugLineNum = 161;BA.debugLine="Private cym As Map = Subs.traeCantYMonto2(Subs.tr"; _cym = new anywheresoftware.b4a.objects.collections.Map(); _cym = _subs._traecantymonto2 /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_subs._traecliente /*String*/ (ba)); - //BA.debugLineNum = 157;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; + //BA.debugLineNum = 162;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; _l_cant.setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); - //BA.debugLineNum = 158;BA.debugLine="l_total.Text = Round2(cym.Get(\"monto\"), 2)"; + //BA.debugLineNum = 163;BA.debugLine="l_total.Text = Round2(cym.Get(\"monto\"), 2)"; _l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); - //BA.debugLineNum = 166;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE HIST_VENTAS set"; + //BA.debugLineNum = 171;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE HIST_VENTAS set"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE HIST_VENTAS set ESPROMO = 1 where HVD_CODPROMO = HVD_PROID AND HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 167;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 172;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 HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE in (select cuenta from cuentaa)")))); - //BA.debugLineNum = 169;BA.debugLine="Private cuenta0 As String = 0"; + //BA.debugLineNum = 174;BA.debugLine="Private cuenta0 As String = 0"; _cuenta0 = BA.NumberToString(0); - //BA.debugLineNum = 170;BA.debugLine="Private arti As String = 0"; + //BA.debugLineNum = 175;BA.debugLine="Private arti As String = 0"; _arti = BA.NumberToString(0); - //BA.debugLineNum = 171;BA.debugLine="If vc.RowCount > 0 Then"; + //BA.debugLineNum = 176;BA.debugLine="If vc.RowCount > 0 Then"; if (_vc.getRowCount()>0) { - //BA.debugLineNum = 172;BA.debugLine="For i = 0 To vc.RowCount - 1"; + //BA.debugLineNum = 177;BA.debugLine="For i = 0 To vc.RowCount - 1"; { -final int step41 = 1; -final int limit41 = (int) (_vc.getRowCount()-1); +final int step45 = 1; +final int limit45 = (int) (_vc.getRowCount()-1); _i = (int) (0) ; -for (;_i <= limit41 ;_i = _i + step41 ) { - //BA.debugLineNum = 173;BA.debugLine="vc.Position = i"; +for (;_i <= limit45 ;_i = _i + step45 ) { + //BA.debugLineNum = 178;BA.debugLine="vc.Position = i"; _vc.setPosition(_i); - //BA.debugLineNum = 176;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CANT\")"; + //BA.debugLineNum = 181;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CANT\")"; _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 = 181;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - vc.Ge"; + //BA.debugLineNum = 186;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - vc.Ge"; _arti = BA.NumberToString((double)(Double.parseDouble(_arti))+((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))); } }; }; - //BA.debugLineNum = 187;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuery(\"s"; + //BA.debugLineNum = 192;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuery(\"s"; _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 in (select cuenta from cuentaa) AND BCAJAS = 1"))); - //BA.debugLineNum = 188;BA.debugLine="Private Cuenta1 As String = 0"; + //BA.debugLineNum = 193;BA.debugLine="Private Cuenta1 As String = 0"; _cuenta1 = BA.NumberToString(0); - //BA.debugLineNum = 189;BA.debugLine="Private arti1 As String = 0"; + //BA.debugLineNum = 194;BA.debugLine="Private arti1 As String = 0"; _arti1 = BA.NumberToString(0); - //BA.debugLineNum = 190;BA.debugLine="If vc2.RowCount > 0 Then"; + //BA.debugLineNum = 195;BA.debugLine="If vc2.RowCount > 0 Then"; if (_vc2.getRowCount()>0) { - //BA.debugLineNum = 191;BA.debugLine="For i = 0 To vc2.RowCount - 1"; + //BA.debugLineNum = 196;BA.debugLine="For i = 0 To vc2.RowCount - 1"; { -final int step51 = 1; -final int limit51 = (int) (_vc2.getRowCount()-1); +final int step55 = 1; +final int limit55 = (int) (_vc2.getRowCount()-1); _i = (int) (0) ; -for (;_i <= limit51 ;_i = _i + step51 ) { - //BA.debugLineNum = 192;BA.debugLine="vc2.Position = i"; +for (;_i <= limit55 ;_i = _i + step55 ) { + //BA.debugLineNum = 197;BA.debugLine="vc2.Position = i"; _vc2.setPosition(_i); - //BA.debugLineNum = 193;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetString"; + //BA.debugLineNum = 198;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetString"; _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 = 194;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQuery("; + //BA.debugLineNum = 199;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQuery("; _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 = 195;BA.debugLine="If vc3.RowCount > 0 Then"; + //BA.debugLineNum = 200;BA.debugLine="If vc3.RowCount > 0 Then"; if (_vc3.getRowCount()>0) { - //BA.debugLineNum = 196;BA.debugLine="vc3.Position = 0"; + //BA.debugLineNum = 201;BA.debugLine="vc3.Position = 0"; _vc3.setPosition((int) (0)); - //BA.debugLineNum = 197;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC\")-("; + //BA.debugLineNum = 202;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 = 198;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\") - v"; + //BA.debugLineNum = 203;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\") - v"; _arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+((double)(Double.parseDouble(_vc2.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT"))))); }; } }; }; - //BA.debugLineNum = 204;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuery($\""; + //BA.debugLineNum = 209;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuery($\""; _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_PRONOMBRE,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); - //BA.debugLineNum = 205;BA.debugLine="Private Cuenta2 As String = 0"; + //BA.debugLineNum = 210;BA.debugLine="Private Cuenta2 As String = 0"; _cuenta2 = BA.NumberToString(0); - //BA.debugLineNum = 206;BA.debugLine="Private arti2 As String = 0"; + //BA.debugLineNum = 211;BA.debugLine="Private arti2 As String = 0"; _arti2 = BA.NumberToString(0); - //BA.debugLineNum = 207;BA.debugLine="If vc4.RowCount > 0 Then"; + //BA.debugLineNum = 212;BA.debugLine="If vc4.RowCount > 0 Then"; if (_vc4.getRowCount()>0) { - //BA.debugLineNum = 209;BA.debugLine="For i = 0 To vc4.RowCount - 1"; + //BA.debugLineNum = 214;BA.debugLine="For i = 0 To vc4.RowCount - 1"; { -final int step66 = 1; -final int limit66 = (int) (_vc4.getRowCount()-1); +final int step70 = 1; +final int limit70 = (int) (_vc4.getRowCount()-1); _i = (int) (0) ; -for (;_i <= limit66 ;_i = _i + step66 ) { - //BA.debugLineNum = 210;BA.debugLine="vc4.Position = i"; +for (;_i <= limit70 ;_i = _i + step70 ) { + //BA.debugLineNum = 215;BA.debugLine="vc4.Position = i"; _vc4.setPosition(_i); - //BA.debugLineNum = 211;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetString("; + //BA.debugLineNum = 216;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetString("; if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { - //BA.debugLineNum = 212;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; + //BA.debugLineNum = 217;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 213;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_COSTO_"; + //BA.debugLineNum = 218;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_COSTO_"; _cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))); - //BA.debugLineNum = 214;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; + //BA.debugLineNum = 219;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 = 216;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQuer"; + //BA.debugLineNum = 221;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQuer"; _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 = 217;BA.debugLine="If vc5.RowCount > 0 Then"; + //BA.debugLineNum = 222;BA.debugLine="If vc5.RowCount > 0 Then"; if (_vc5.getRowCount()>0) { - //BA.debugLineNum = 218;BA.debugLine="vc5.Position= 0"; + //BA.debugLineNum = 223;BA.debugLine="vc5.Position= 0"; _vc5.setPosition((int) (0)); - //BA.debugLineNum = 220;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_CANT"; + //BA.debugLineNum = 225;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_CANT"; _cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))))); - //BA.debugLineNum = 221;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\")- v"; + //BA.debugLineNum = 226;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\")- v"; _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))); }; }; @@ -362,110 +371,130 @@ _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double } }; }; - //BA.debugLineNum = 230;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($\"S"; + //BA.debugLineNum = 235;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($\"S"; _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 IN (SELECT CUENTA FROM CUENTAA)")))); - //BA.debugLineNum = 231;BA.debugLine="Private Cuenta3 As String = 0"; + //BA.debugLineNum = 236;BA.debugLine="Private Cuenta3 As String = 0"; _cuenta3 = BA.NumberToString(0); - //BA.debugLineNum = 232;BA.debugLine="Private arti3 As String = 0"; + //BA.debugLineNum = 237;BA.debugLine="Private arti3 As String = 0"; _arti3 = BA.NumberToString(0); - //BA.debugLineNum = 233;BA.debugLine="If c4.RowCount > 0 Then"; + //BA.debugLineNum = 238;BA.debugLine="If c4.RowCount > 0 Then"; if (_c4.getRowCount()>0) { - //BA.debugLineNum = 234;BA.debugLine="For i = 0 To c4.RowCount -1"; + //BA.debugLineNum = 239;BA.debugLine="For i = 0 To c4.RowCount -1"; { -final int step87 = 1; -final int limit87 = (int) (_c4.getRowCount()-1); +final int step91 = 1; +final int limit91 = (int) (_c4.getRowCount()-1); _i = (int) (0) ; -for (;_i <= limit87 ;_i = _i + step87 ) { - //BA.debugLineNum = 235;BA.debugLine="c4.Position = i"; +for (;_i <= limit91 ;_i = _i + step91 ) { + //BA.debugLineNum = 240;BA.debugLine="c4.Position = i"; _c4.setPosition(_i); - //BA.debugLineNum = 236;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; + //BA.debugLineNum = 241;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; _arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); - //BA.debugLineNum = 237;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_TOT\""; + //BA.debugLineNum = 242;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_TOT\""; _cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Double.parseDouble(_c4.GetString("PE_COSTO_TOT")))); } }; }; - //BA.debugLineNum = 240;BA.debugLine="Log(cuenta0)"; -__c.LogImpl("87864440",_cuenta0,0); - //BA.debugLineNum = 241;BA.debugLine="Log(Cuenta1)"; -__c.LogImpl("87864441",_cuenta1,0); - //BA.debugLineNum = 242;BA.debugLine="Log(Cuenta2)"; -__c.LogImpl("87864442",_cuenta2,0); - //BA.debugLineNum = 243;BA.debugLine="Log(Cuenta3)"; -__c.LogImpl("87864443",_cuenta3,0); - //BA.debugLineNum = 245;BA.debugLine="l_total.Text = NumberFormat2((cuenta0 + Cuenta1 +"; + //BA.debugLineNum = 245;BA.debugLine="Log(cuenta0)"; +__c.LogImpl("03539068",_cuenta0,0); + //BA.debugLineNum = 246;BA.debugLine="Log(Cuenta1)"; +__c.LogImpl("03539069",_cuenta1,0); + //BA.debugLineNum = 247;BA.debugLine="Log(Cuenta2)"; +__c.LogImpl("03539070",_cuenta2,0); + //BA.debugLineNum = 248;BA.debugLine="Log(Cuenta3)"; +__c.LogImpl("03539071",_cuenta3,0); + //BA.debugLineNum = 250;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 = 246;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2"; + //BA.debugLineNum = 251;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2"; _l_cant.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))),(int) (0),(int) (0),(int) (0),__c.True))); - //BA.debugLineNum = 251;BA.debugLine="c = Starter.skmt.ExecQuery2(\"select CAT_VA_VALOR"; + //BA.debugLineNum = 256;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 = 252;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 257;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 253;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 258;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 254;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; + //BA.debugLineNum = 259;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; _starter._mac_impresora /*String*/ = _c.GetString("CAT_VA_VALOR"); }; - //BA.debugLineNum = 256;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; + //BA.debugLineNum = 261;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; if ((_starter._mac_impresora /*String*/ ).equals("")) { _starter._mac_impresora /*String*/ = "0";}; - //BA.debugLineNum = 258;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; + //BA.debugLineNum = 263;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; _printer1._initialize /*String*/ (ba,this,"Printer1"); - //BA.debugLineNum = 260;BA.debugLine="If Printer1.IsConnected = False Then"; + //BA.debugLineNum = 265;BA.debugLine="If Printer1.IsConnected = False Then"; if (_printer1._isconnected /*boolean*/ ()==__c.False) { }else { - //BA.debugLineNum = 264;BA.debugLine="Printer1.DisConnect"; + //BA.debugLineNum = 269;BA.debugLine="Printer1.DisConnect"; _printer1._disconnect /*String*/ (); - //BA.debugLineNum = 265;BA.debugLine="Printer1.Connect"; + //BA.debugLineNum = 270;BA.debugLine="Printer1.Connect"; _printer1._connect /*boolean*/ (); - //BA.debugLineNum = 266;BA.debugLine="Log(\"2\")"; -__c.LogImpl("87864466","2",0); + //BA.debugLineNum = 271;BA.debugLine="Log(\"2\")"; +__c.LogImpl("03539094","2",0); }; - //BA.debugLineNum = 269;BA.debugLine="Dim pag As Cursor = Starter.skmt.ExecQuery(\"selec"; + //BA.debugLineNum = 274;BA.debugLine="Dim pag As Cursor = Starter.skmt.ExecQuery(\"selec"; _pag = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _pag = (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 PAGARES WHERE TMP_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 270;BA.debugLine="If pag.RowCount > 0 Then"; + //BA.debugLineNum = 275;BA.debugLine="If pag.RowCount > 0 Then"; if (_pag.getRowCount()>0) { - //BA.debugLineNum = 271;BA.debugLine="pag.Position = 0"; + //BA.debugLineNum = 276;BA.debugLine="pag.Position = 0"; _pag.setPosition((int) (0)); - //BA.debugLineNum = 272;BA.debugLine="l_credi.Visible = True"; + //BA.debugLineNum = 277;BA.debugLine="l_credi.Visible = True"; _l_credi.setVisible(__c.True); - //BA.debugLineNum = 273;BA.debugLine="l_pagare.Visible = True"; + //BA.debugLineNum = 278;BA.debugLine="l_pagare.Visible = True"; _l_pagare.setVisible(__c.True); - //BA.debugLineNum = 274;BA.debugLine="l_montoefec.Visible = True"; + //BA.debugLineNum = 279;BA.debugLine="l_montoefec.Visible = True"; _l_montoefec.setVisible(__c.True); - //BA.debugLineNum = 275;BA.debugLine="l_efectivo.Visible = True"; + //BA.debugLineNum = 280;BA.debugLine="l_efectivo.Visible = True"; _l_efectivo.setVisible(__c.True); - //BA.debugLineNum = 276;BA.debugLine="l_montopag.Visible = True"; + //BA.debugLineNum = 281;BA.debugLine="l_montopag.Visible = True"; _l_montopag.setVisible(__c.True); - //BA.debugLineNum = 277;BA.debugLine="l_montopag.Text = pag.GetString(\"TMP_MONTO_PAGAR"; + //BA.debugLineNum = 282;BA.debugLine="l_montopag.Text = pag.GetString(\"TMP_MONTO_PAGAR"; _l_montopag.setText(BA.ObjectToCharSequence(_pag.GetString("TMP_MONTO_PAGARE"))); - //BA.debugLineNum = 278;BA.debugLine="Dim PAGAREMONTO As Float = cuenta0 + Cuenta1 + C"; + //BA.debugLineNum = 283;BA.debugLine="Dim PAGAREMONTO As Float = cuenta0 + Cuenta1 + C"; _pagaremonto = (float) ((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))); - //BA.debugLineNum = 279;BA.debugLine="Dim PAGAREMONTO2 As Float = pag.GetString(\"TMP_M"; + //BA.debugLineNum = 284;BA.debugLine="Dim PAGAREMONTO2 As Float = pag.GetString(\"TMP_M"; _pagaremonto2 = (float)(Double.parseDouble(_pag.GetString("TMP_MONTO_PAGARE"))); - //BA.debugLineNum = 281;BA.debugLine="If PAGAREMONTO - PAGAREMONTO2 < 0 Then"; + //BA.debugLineNum = 286;BA.debugLine="If PAGAREMONTO - PAGAREMONTO2 < 0 Then"; if (_pagaremonto-_pagaremonto2<0) { - //BA.debugLineNum = 282;BA.debugLine="l_montoefec.Text = 0"; + //BA.debugLineNum = 287;BA.debugLine="l_montoefec.Text = 0"; _l_montoefec.setText(BA.ObjectToCharSequence(0)); }else { - //BA.debugLineNum = 284;BA.debugLine="l_montoefec.Text = PAGAREMONTO - PAGAREMONTO2"; + //BA.debugLineNum = 289;BA.debugLine="l_montoefec.Text = PAGAREMONTO - PAGAREMONTO2"; _l_montoefec.setText(BA.ObjectToCharSequence(_pagaremonto-_pagaremonto2)); }; }else if(_pag.getRowCount()==0) { - //BA.debugLineNum = 287;BA.debugLine="l_credi.Visible = False"; + //BA.debugLineNum = 292;BA.debugLine="l_credi.Visible = False"; _l_credi.setVisible(__c.False); - //BA.debugLineNum = 288;BA.debugLine="l_pagare.Visible = False"; + //BA.debugLineNum = 293;BA.debugLine="l_pagare.Visible = False"; _l_pagare.setVisible(__c.False); - //BA.debugLineNum = 289;BA.debugLine="l_montoefec.Visible = False"; + //BA.debugLineNum = 294;BA.debugLine="l_montoefec.Visible = False"; _l_montoefec.setVisible(__c.False); - //BA.debugLineNum = 290;BA.debugLine="l_efectivo.Visible = False"; + //BA.debugLineNum = 295;BA.debugLine="l_efectivo.Visible = False"; _l_efectivo.setVisible(__c.False); - //BA.debugLineNum = 291;BA.debugLine="l_montopag.Visible = False"; + //BA.debugLineNum = 296;BA.debugLine="l_montopag.Visible = False"; _l_montopag.setVisible(__c.False); }; - //BA.debugLineNum = 294;BA.debugLine="End Sub"; + //BA.debugLineNum = 299;BA.debugLine="If distance < 50 Then"; +if (_distance<50) { + //BA.debugLineNum = 300;BA.debugLine="Tar.Visible = True"; +_tar.setVisible(__c.True); + //BA.debugLineNum = 301;BA.debugLine="gest.Visible = True"; +_gest.setVisible(__c.True); + //BA.debugLineNum = 302;BA.debugLine="b_noEntrega.Visible = True"; +_b_noentrega.setVisible(__c.True); + //BA.debugLineNum = 303;BA.debugLine="HIST.Visible = True"; +_hist.setVisible(__c.True); + }else { + //BA.debugLineNum = 305;BA.debugLine="Tar.Visible = False"; +_tar.setVisible(__c.False); + //BA.debugLineNum = 306;BA.debugLine="gest.Visible = False"; +_gest.setVisible(__c.False); + //BA.debugLineNum = 307;BA.debugLine="b_noEntrega.Visible = False"; +_b_noentrega.setVisible(__c.False); + //BA.debugLineNum = 308;BA.debugLine="HIST.Visible = False"; +_hist.setVisible(__c.False); + }; + //BA.debugLineNum = 311;BA.debugLine="End Sub"; return ""; } public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ @@ -490,12 +519,12 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = -1; - //BA.debugLineNum = 377;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; + //BA.debugLineNum = 434;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; parent._b4xpages._showpage /*String*/ (ba,"Clientes"); - //BA.debugLineNum = 378;BA.debugLine="Return False"; + //BA.debugLineNum = 435;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 379;BA.debugLine="End Sub"; + //BA.debugLineNum = 436;BA.debugLine="End Sub"; if (true) break; } @@ -503,66 +532,66 @@ if (true) break; } } public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 81;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 82;BA.debugLine="Root = Root1"; + //BA.debugLineNum = 82;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; + //BA.debugLineNum = 83;BA.debugLine="Root = Root1"; _root = _root1; - //BA.debugLineNum = 84;BA.debugLine="g.Initialize(\"GPS\")"; + //BA.debugLineNum = 85;BA.debugLine="g.Initialize(\"GPS\")"; _g.Initialize("GPS"); - //BA.debugLineNum = 86;BA.debugLine="Root.LoadLayout(\"cliente\")"; + //BA.debugLineNum = 87;BA.debugLine="Root.LoadLayout(\"cliente\")"; _root.LoadLayout("cliente",ba); - //BA.debugLineNum = 87;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO, C"; + //BA.debugLineNum = 88;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO, 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 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 from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 88;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; + //BA.debugLineNum = 89;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; _s = (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(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 89;BA.debugLine="s.Position=0"; + //BA.debugLineNum = 90;BA.debugLine="s.Position=0"; _s.setPosition((int) (0)); - //BA.debugLineNum = 90;BA.debugLine="c.Position=0"; + //BA.debugLineNum = 91;BA.debugLine="c.Position=0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 91;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; + //BA.debugLineNum = 92;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; _la_cuenta.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO"))); - //BA.debugLineNum = 92;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; + //BA.debugLineNum = 93;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; _la_nombre.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))); - //BA.debugLineNum = 93;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G"; + //BA.debugLineNum = 94;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G"; _la_calle.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE")+_c.GetString("CAT_CL_NOEXT"))); - //BA.debugLineNum = 94;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; + //BA.debugLineNum = 95;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; _la_col.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_COLONIA"))); - //BA.debugLineNum = 95;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; + //BA.debugLineNum = 96;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; _la_edo.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EDO"))); - //BA.debugLineNum = 96;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")"; + //BA.debugLineNum = 97;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")"; _la_cp.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CP"))); - //BA.debugLineNum = 97;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; + //BA.debugLineNum = 98;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; _l_entre1.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE1"))); - //BA.debugLineNum = 98;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; + //BA.debugLineNum = 99;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; _l_entre2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE2"))); - //BA.debugLineNum = 99;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G"; + //BA.debugLineNum = 100;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G"; if (_c.GetString("CAT_CL_ATIENDE1")!= null && (_c.GetString("CAT_CL_ATIENDE1")).equals("null") == false) { - //BA.debugLineNum = 100;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; + //BA.debugLineNum = 101;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; _l_atiende.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENDE1"))); }else { - //BA.debugLineNum = 102;BA.debugLine="l_atiende.Text = \" \""; + //BA.debugLineNum = 103;BA.debugLine="l_atiende.Text = \" \""; _l_atiende.setText(BA.ObjectToCharSequence(" ")); }; - //BA.debugLineNum = 104;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G"; + //BA.debugLineNum = 105;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G"; if (_c.GetString("CAT_CL_ATIENTE2")!= null && (_c.GetString("CAT_CL_ATIENTE2")).equals("NULL") == false) { - //BA.debugLineNum = 105;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; + //BA.debugLineNum = 106;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; _l_atiende2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENTE2"))); - //BA.debugLineNum = 106;BA.debugLine="Log(\"|\"&c.GetString(\"CAT_CL_ATIENTE2\")&\"|\")"; -__c.LogImpl("87798809","|"+_c.GetString("CAT_CL_ATIENTE2")+"|",0); + //BA.debugLineNum = 107;BA.debugLine="Log(\"|\"&c.GetString(\"CAT_CL_ATIENTE2\")&\"|\")"; +__c.LogImpl("03473433","|"+_c.GetString("CAT_CL_ATIENTE2")+"|",0); }else { - //BA.debugLineNum = 108;BA.debugLine="l_atiende2.Text = \" \""; + //BA.debugLineNum = 109;BA.debugLine="l_atiende2.Text = \" \""; _l_atiende2.setText(BA.ObjectToCharSequence(" ")); }; - //BA.debugLineNum = 110;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")"; + //BA.debugLineNum = 111;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")"; _la_saldotot.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_TELEFONO"))); - //BA.debugLineNum = 111;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; + //BA.debugLineNum = 112;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; _la_saldooper.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EMAIL"))); - //BA.debugLineNum = 113;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; + //BA.debugLineNum = 114;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; _btadmin.Initialize(ba,"BlueTeeth"); - //BA.debugLineNum = 114;BA.debugLine="cmp20.Initialize(\"Printer\")"; + //BA.debugLineNum = 115;BA.debugLine="cmp20.Initialize(\"Printer\")"; _cmp20.Initialize("Printer"); - //BA.debugLineNum = 115;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; + //BA.debugLineNum = 116;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 116;BA.debugLine="End Sub"; + //BA.debugLineNum = 117;BA.debugLine="End Sub"; return ""; } public String _class_globals() throws Exception{ @@ -710,159 +739,305 @@ _l_montopag = new anywheresoftware.b4a.objects.LabelWrapper(); _l_efectivo = new anywheresoftware.b4a.objects.LabelWrapper(); //BA.debugLineNum = 72;BA.debugLine="Private l_montoefec As Label"; _l_montoefec = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 73;BA.debugLine="End Sub"; + //BA.debugLineNum = 73;BA.debugLine="Dim distance As Long"; +_distance = 0L; + //BA.debugLineNum = 74;BA.debugLine="End Sub"; return ""; } public String _datos_click() throws Exception{ - //BA.debugLineNum = 386;BA.debugLine="Sub DATOS_Click"; - //BA.debugLineNum = 388;BA.debugLine="End Sub"; + //BA.debugLineNum = 443;BA.debugLine="Sub DATOS_Click"; + //BA.debugLineNum = 445;BA.debugLine="End Sub"; return ""; } public String _gest_click() throws Exception{ - //BA.debugLineNum = 315;BA.debugLine="Sub gest_Click"; - //BA.debugLineNum = 316;BA.debugLine="B_IMP_Click"; + //BA.debugLineNum = 368;BA.debugLine="Sub gest_Click"; + //BA.debugLineNum = 369;BA.debugLine="B_IMP_Click"; _b_imp_click(); - //BA.debugLineNum = 317;BA.debugLine="banderaimp = 1"; + //BA.debugLineNum = 370;BA.debugLine="banderaimp = 1"; _banderaimp = (int) (1); - //BA.debugLineNum = 318;BA.debugLine="End Sub"; + //BA.debugLineNum = 371;BA.debugLine="End Sub"; return ""; } public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 300;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 303;BA.debugLine="Dim sDate,sTime As String"; +anywheresoftware.b4a.gps.LocationWrapper _l1 = null; +anywheresoftware.b4a.gps.LocationWrapper _l2 = null; + //BA.debugLineNum = 317;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; + //BA.debugLineNum = 319;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized"; +if (_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized() && _tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()!=0) { + //BA.debugLineNum = 320;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()); + //BA.debugLineNum = 321;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()); + //BA.debugLineNum = 322;BA.debugLine="Log(\"Coords set to: \" & B4XPages.MainPage.lat_gp"; +__c.LogImpl("03670021","Coords set to: "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ +" and "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,0); + }; + //BA.debugLineNum = 325;BA.debugLine="If LATITUD.Length < 5 Then"; +if (_latitud.length()<5) { + }else { + //BA.debugLineNum = 330;BA.debugLine="Dim l1, l2 As Location"; +_l1 = new anywheresoftware.b4a.gps.LocationWrapper(); +_l2 = new anywheresoftware.b4a.gps.LocationWrapper(); + //BA.debugLineNum = 331;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPag"; +_l1.Initialize2(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ); + //BA.debugLineNum = 332;BA.debugLine="Log($\"Coordenadas de la tienda - lat:${LATITUD},"; +__c.LogImpl("03670031",("Coordenadas de la tienda - lat:"+__c.SmartStringFormatter("",(Object)(_latitud))+", lon:"+__c.SmartStringFormatter("",(Object)(_longitud))+""),0); + //BA.debugLineNum = 333;BA.debugLine="l2.Initialize2(LATITUD, LONGITUD)"; +_l2.Initialize2(_latitud,_longitud); + //BA.debugLineNum = 338;BA.debugLine="distance = l1.DistanceTo(l2) 'the result is"; +_distance = (long) (_l1.DistanceTo((android.location.Location)(_l2.getObject()))); + //BA.debugLineNum = 340;BA.debugLine="If distance < 50 Then"; +if (_distance<50) { + //BA.debugLineNum = 341;BA.debugLine="Tar.Visible = True"; +_tar.setVisible(__c.True); + //BA.debugLineNum = 342;BA.debugLine="gest.Visible = True"; +_gest.setVisible(__c.True); + //BA.debugLineNum = 343;BA.debugLine="b_noEntrega.Visible = True"; +_b_noentrega.setVisible(__c.True); + //BA.debugLineNum = 344;BA.debugLine="HIST.Visible = True"; +_hist.setVisible(__c.True); + }else { + //BA.debugLineNum = 346;BA.debugLine="Tar.Visible = False"; +_tar.setVisible(__c.False); + //BA.debugLineNum = 347;BA.debugLine="gest.Visible = False"; +_gest.setVisible(__c.False); + //BA.debugLineNum = 348;BA.debugLine="b_noEntrega.Visible = False"; +_b_noentrega.setVisible(__c.False); + //BA.debugLineNum = 349;BA.debugLine="HIST.Visible = False"; +_hist.setVisible(__c.False); + }; + //BA.debugLineNum = 352;BA.debugLine="Log(\"DISTANCIA \"&distance)"; +__c.LogImpl("03670051","DISTANCIA "+BA.NumberToString(_distance),0); + }; + //BA.debugLineNum = 355;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 304;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; + //BA.debugLineNum = 356;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 305;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 357;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; _sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 306;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; + //BA.debugLineNum = 358;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; _stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 307;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\")"; + //BA.debugLineNum = 359;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); - //BA.debugLineNum = 308;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_GPS"; + //BA.debugLineNum = 360;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_GPS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_sdate+_stime),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 309;BA.debugLine="End Sub"; + //BA.debugLineNum = 361;BA.debugLine="CallSubDelayed(Tracker, \"CreateLocationRequest\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"CreateLocationRequest"); + //BA.debugLineNum = 362;BA.debugLine="End Sub"; return ""; } -public String _guardado() throws Exception{ +public void _guardado() throws Exception{ +ResumableSub_Guardado rsub = new ResumableSub_Guardado(this); +rsub.resume(ba, null); +} +public static class ResumableSub_Guardado extends BA.ResumableSub { +public ResumableSub_Guardado(reparto_mazapa.keymon.lat.c_cliente parent) { +this.parent = parent; +} +reparto_mazapa.keymon.lat.c_cliente parent; String _ruta = ""; String _rutapre = ""; String _fechaprev = ""; String _rutaactualizar = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _rut = null; +int _resultado = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _mandamapa = null; - //BA.debugLineNum = 320;BA.debugLine="Sub Guardado"; - //BA.debugLineNum = 321;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 322;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 323;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 324;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 325;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; -_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 CUENTA from cuentaa"))); - //BA.debugLineNum = 326;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 327;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -_cuenta = _c.GetString("CUENTA"); - //BA.debugLineNum = 328;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 = 329;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 330;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 331;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 332;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 = 333;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 334;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; -_ruta = _d.GetString("RUTAA"); - //BA.debugLineNum = 335;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 336;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA FR"; -_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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 337;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 338;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUTA\""; -_rutapre = _d.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 339;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 343;BA.debugLine="Dim fechaprev As String = Subs.traefECHAPREV"; -_fechaprev = _subs._traefechaprev /*String*/ (ba); - //BA.debugLineNum = 346;BA.debugLine="Dim rutaactualizar As String"; + +@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 = 374;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); + //BA.debugLineNum = 375;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +parent.__c.DateTime.setTimeFormat("HHmmss"); + //BA.debugLineNum = 376;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); + //BA.debugLineNum = 377;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); + //BA.debugLineNum = 378;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; +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 CUENTA from cuentaa"))); + //BA.debugLineNum = 379;BA.debugLine="c.Position = 0"; +parent._c.setPosition((int) (0)); + //BA.debugLineNum = 380;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +parent._cuenta = parent._c.GetString("CUENTA"); + //BA.debugLineNum = 381;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 = 382;BA.debugLine="c.Position = 0"; +parent._c.setPosition((int) (0)); + //BA.debugLineNum = 383;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +parent._usuario = parent._c.GetString("USUARIO"); + //BA.debugLineNum = 384;BA.debugLine="c.Close"; +parent._c.Close(); + //BA.debugLineNum = 385;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +parent._d = (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 RUTAA FROM RUTAA"))); + //BA.debugLineNum = 386;BA.debugLine="d.Position = 0"; +parent._d.setPosition((int) (0)); + //BA.debugLineNum = 387;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; +_ruta = parent._d.GetString("RUTAA"); + //BA.debugLineNum = 388;BA.debugLine="d.Close"; +parent._d.Close(); + //BA.debugLineNum = 389;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA FR"; +parent._d = (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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); + //BA.debugLineNum = 390;BA.debugLine="d.Position = 0"; +parent._d.setPosition((int) (0)); + //BA.debugLineNum = 391;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUTA\""; +_rutapre = parent._d.GetString("CAT_CL_RUTA"); + //BA.debugLineNum = 392;BA.debugLine="d.Close"; +parent._d.Close(); + //BA.debugLineNum = 396;BA.debugLine="Dim fechaprev As String = Subs.traefECHAPREV"; +_fechaprev = parent._subs._traefechaprev /*String*/ (ba); + //BA.debugLineNum = 399;BA.debugLine="Dim rutaactualizar As String"; _rutaactualizar = ""; - //BA.debugLineNum = 347;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELEC"; + //BA.debugLineNum = 400;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELEC"; _rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rut = (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 IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 348;BA.debugLine="If rut.RowCount > 0 Then"; +_rut = (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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); + //BA.debugLineNum = 401;BA.debugLine="If rut.RowCount > 0 Then"; +if (true) break; + +case 1: +//if +this.state = 4; if (_rut.getRowCount()>0) { - //BA.debugLineNum = 349;BA.debugLine="rut.Position = 0"; +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + //BA.debugLineNum = 402;BA.debugLine="rut.Position = 0"; _rut.setPosition((int) (0)); - //BA.debugLineNum = 350;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; + //BA.debugLineNum = 403;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; _rutaactualizar = _rut.GetString("CAT_CL_RUTA"); - }; - //BA.debugLineNum = 353;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENTA W"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa) AND NV_RUTA ='"+__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"' ")); - //BA.debugLineNum = 354;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA ("; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_RUTA) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cuenta),(Object)(_sdate+" "+_stime),(Object)(_usuario),(Object)("ENTREGA"),(Object)("ENTREGA COMPLETA"),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_rutaactualizar)})); - //BA.debugLineNum = 355;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO_G"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_la_cuenta.getText(),_usuario,_sdate+" "+_stime,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,_fechaprev,"ENTREGADO"})); - //BA.debugLineNum = 356;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 2, HORAENT = '"+__c.SmartStringFormatter("",(Object)(_sdate+" "+_stime))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"' ")); - //BA.debugLineNum = 357;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_ESTATUS = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 358;BA.debugLine="mandaPendientesreparto"; -_mandapendientesreparto(); - //BA.debugLineNum = 361;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQuery("; + if (true) break; + +case 4: +//C +this.state = 5; +; + //BA.debugLineNum = 406;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENTA W"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa) AND NV_RUTA ='"+parent.__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"' ")); + //BA.debugLineNum = 407;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA ("; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_RUTA) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._cuenta),(Object)(parent._sdate+" "+parent._stime),(Object)(parent._usuario),(Object)("ENTREGA"),(Object)("ENTREGA COMPLETA"),(Object)(parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_rutaactualizar)})); + //BA.debugLineNum = 408;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO_G"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent._la_cuenta.getText(),parent._usuario,parent._sdate+" "+parent._stime,parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,_fechaprev,"ENTREGADO"})); + //BA.debugLineNum = 409;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 2, HORAENT = '"+parent.__c.SmartStringFormatter("",(Object)(parent._sdate+" "+parent._stime))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+parent.__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"' ")); + //BA.debugLineNum = 410;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_ESTATUS = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); + //BA.debugLineNum = 411;BA.debugLine="mandaPendientesreparto"; +parent._mandapendientesreparto(); + //BA.debugLineNum = 413;BA.debugLine="Msgbox2Async(\"Pedido entregado\",\"Atención\",\"Ok\",\""; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Pedido entregado"),BA.ObjectToCharSequence("Atención"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); + //BA.debugLineNum = 414;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, this, null); +this.state = 15; +return; +case 15: +//C +this.state = 5; +_resultado = (Integer) result[0]; +; + //BA.debugLineNum = 415;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 5: +//if +this.state = 14; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 7; +}if (true) break; + +case 7: +//C +this.state = 8; + //BA.debugLineNum = 416;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQuery"; _mandamapa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_mandamapa = (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 kmt_info WHERE gestion = 0 and CAT_CL_CODIGO <> 63403"))); - //BA.debugLineNum = 362;BA.debugLine="If mandamapa.RowCount > 0 Then"; +_mandamapa = (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 kmt_info WHERE gestion = 0 and CAT_CL_CODIGO <> 63403"))); + //BA.debugLineNum = 417;BA.debugLine="If mandamapa.RowCount > 0 Then"; +if (true) break; + +case 8: +//if +this.state = 13; if (_mandamapa.getRowCount()>0) { - //BA.debugLineNum = 363;BA.debugLine="StartActivity(MAPA_RUTAS)"; -__c.StartActivity(ba,(Object)(_mapa_rutas.getObject())); - }else if(_mandamapa.getRowCount()==0) { - //BA.debugLineNum = 365;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - }; - //BA.debugLineNum = 367;BA.debugLine="End Sub"; -return ""; +this.state = 10; +}else if(_mandamapa.getRowCount()==0) { +this.state = 12; +}if (true) break; + +case 10: +//C +this.state = 13; + //BA.debugLineNum = 418;BA.debugLine="StartActivity(MAPA_RUTAS)"; +parent.__c.StartActivity(ba,(Object)(parent._mapa_rutas.getObject())); + if (true) break; + +case 12: +//C +this.state = 13; + //BA.debugLineNum = 420;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +parent._b4xpages._showpage /*String*/ (ba,"Principal"); + if (true) break; + +case 13: +//C +this.state = 14; +; + if (true) break; + +case 14: +//C +this.state = -1; +; + //BA.debugLineNum = 424;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _msgbox_result(int _resultado) throws Exception{ } public String _guardar_click() throws Exception{ anywheresoftware.b4a.sql.SQL.CursorWrapper _mandamapa = null; - //BA.debugLineNum = 390;BA.debugLine="Sub Guardar_Click"; - //BA.debugLineNum = 391;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQuery("; + //BA.debugLineNum = 447;BA.debugLine="Sub Guardar_Click"; + //BA.debugLineNum = 448;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQuery("; _mandamapa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _mandamapa = (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 kmt_info WHERE gestion = 0 AND cat_cl_codigo <> 63403"))); - //BA.debugLineNum = 392;BA.debugLine="If mandamapa.RowCount > 0 Then"; + //BA.debugLineNum = 449;BA.debugLine="If mandamapa.RowCount > 0 Then"; if (_mandamapa.getRowCount()>0) { - //BA.debugLineNum = 393;BA.debugLine="StartActivity(MAPA_RUTAS)"; + //BA.debugLineNum = 450;BA.debugLine="StartActivity(MAPA_RUTAS)"; __c.StartActivity(ba,(Object)(_mapa_rutas.getObject())); }else if(_mandamapa.getRowCount()==0) { - //BA.debugLineNum = 395;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; + //BA.debugLineNum = 452;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; _b4xpages._showpage /*String*/ (ba,"Principal"); }; - //BA.debugLineNum = 397;BA.debugLine="End Sub"; + //BA.debugLineNum = 454;BA.debugLine="End Sub"; return ""; } public String _hist_click() throws Exception{ - //BA.debugLineNum = 403;BA.debugLine="Sub HIST_Click"; - //BA.debugLineNum = 407;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Initializ"; + //BA.debugLineNum = 460;BA.debugLine="Sub HIST_Click"; + //BA.debugLineNum = 464;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Initializ"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._detalleventa /*reparto_mazapa.keymon.lat.c_detalleventa*/ ._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); - //BA.debugLineNum = 409;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")"; + //BA.debugLineNum = 466;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")"; _b4xpages._showpage /*String*/ (ba,"DetalleVenta"); - //BA.debugLineNum = 410;BA.debugLine="End Sub"; + //BA.debugLineNum = 467;BA.debugLine="End Sub"; return ""; } public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ innerInitialize(_ba); - //BA.debugLineNum = 76;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 77;BA.debugLine="Return Me"; + //BA.debugLineNum = 77;BA.debugLine="Public Sub Initialize As Object"; + //BA.debugLineNum = 78;BA.debugLine="Return Me"; if (true) return this; - //BA.debugLineNum = 78;BA.debugLine="End Sub"; + //BA.debugLineNum = 79;BA.debugLine="End Sub"; return null; } public String _jobdone(reparto_mazapa.keymon.lat.httpjob _job) throws Exception{ @@ -870,29 +1045,29 @@ reparto_mazapa.keymon.lat.dbrequestmanager._dbresult _resultado = null; String _cliente = ""; Object[] _records = null; String _k = ""; - //BA.debugLineNum = 944;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 945;BA.debugLine="Log(Job.Success)"; -__c.LogImpl("89109505",BA.ObjectToString(_job._success /*boolean*/ ),0); - //BA.debugLineNum = 946;BA.debugLine="If Job.Success = False Then"; + //BA.debugLineNum = 1001;BA.debugLine="Sub JobDone(Job As HttpJob)"; + //BA.debugLineNum = 1002;BA.debugLine="Log(Job.Success)"; +__c.LogImpl("04784129",BA.ObjectToString(_job._success /*boolean*/ ),0); + //BA.debugLineNum = 1003;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==__c.False) { }else { - //BA.debugLineNum = 949;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("89109509","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 950;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1006;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("04784133","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); + //BA.debugLineNum = 1007;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 951;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; + //BA.debugLineNum = 1008;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; _resultado = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 952;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART"; + //BA.debugLineNum = 1009;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART"; if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_REPARTOPendientes_head_")>-1) { - //BA.debugLineNum = 953;BA.debugLine="Private cliente As String= resultado.Tag"; + //BA.debugLineNum = 1010;BA.debugLine="Private cliente As String= resultado.Tag"; _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); - //BA.debugLineNum = 954;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; + //BA.debugLineNum = 1011;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; _cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); - //BA.debugLineNum = 955;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; -__c.LogImpl("89109515",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); - //BA.debugLineNum = 956;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO"; + //BA.debugLineNum = 1012;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; +__c.LogImpl("04784139",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); + //BA.debugLineNum = 1013;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 = 957;BA.debugLine="For Each records() As Object In resultado.Rows"; + //BA.debugLineNum = 1014;BA.debugLine="For Each records() As Object In resultado.Rows"; { final anywheresoftware.b4a.BA.IterableList group12 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen12 = group12.getSize() @@ -900,7 +1075,7 @@ final int groupLen12 = group12.getSize() ; for (; index12 < groupLen12;index12++){ _records = (Object[])(group12.Get(index12)); - //BA.debugLineNum = 958;BA.debugLine="For Each k As String In resultado.Columns.Key"; + //BA.debugLineNum = 1015;BA.debugLine="For Each k As String In resultado.Columns.Key"; { final anywheresoftware.b4a.BA.IterableList group13 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); final int groupLen13 = group13.getSize() @@ -908,192 +1083,192 @@ final int groupLen13 = group13.getSize() ; for (; index13 < groupLen13;index13++){ _k = BA.ObjectToString(group13.Get(index13)); - //BA.debugLineNum = 959;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); + //BA.debugLineNum = 1016;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +__c.LogImpl("04784143",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); } }; } }; }; }; - //BA.debugLineNum = 964;BA.debugLine="Job.Release"; + //BA.debugLineNum = 1021;BA.debugLine="Job.Release"; _job._release /*String*/ (); }; - //BA.debugLineNum = 967;BA.debugLine="End Sub"; + //BA.debugLineNum = 1024;BA.debugLine="End Sub"; return ""; } public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 311;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 313;BA.debugLine="End Sub"; + //BA.debugLineNum = 364;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; + //BA.debugLineNum = 366;BA.debugLine="End Sub"; return ""; } public String _mandapendientesreparto() throws Exception{ int _i = 0; reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 924;BA.debugLine="Sub mandaPendientesreparto"; - //BA.debugLineNum = 925;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARI"; + //BA.debugLineNum = 981;BA.debugLine="Sub mandaPendientesreparto"; + //BA.debugLineNum = 982;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARI"; _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 CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO where ENVIO <> 1"))); - //BA.debugLineNum = 926;BA.debugLine="Log($\"REPARTO_Cliente PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("89043970",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); - //BA.debugLineNum = 927;BA.debugLine="If c.RowCount>0 Then"; + //BA.debugLineNum = 983;BA.debugLine="Log($\"REPARTO_Cliente PENDIENTE: ${c.RowCount}\"$)"; +__c.LogImpl("04718594",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); + //BA.debugLineNum = 984;BA.debugLine="If c.RowCount>0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 928;BA.debugLine="For i=0 To c.RowCount -1"; + //BA.debugLineNum = 985;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 = 929;BA.debugLine="c.Position=i"; + //BA.debugLineNum = 986;BA.debugLine="c.Position=i"; _c.setPosition(_i); - //BA.debugLineNum = 931;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 988;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 932;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 989;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 934;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; + //BA.debugLineNum = 991;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CLIENTE")),(Object)(_c.GetString("USUARIO")),(Object)(_c.GetString("FECHA_PUNTEO")),(Object)(_c.GetString("LATITUD")),(Object)(_c.GetString("LONGITUD")),(Object)(_c.GetString("ALMACEN")),(Object)(_c.GetString("RUTA_REPARTO")),(Object)(_c.GetString("RUTA_PREV")),(Object)(_c.GetString("FECHA_PREVENTA")),(Object)(_c.GetString("MOTIVO")),(Object)(_c.GetString("COMENTARIO")),(Object)(_c.GetString("TIPO"))}; - //BA.debugLineNum = 935;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe"; + //BA.debugLineNum = 992;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe"; _reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_REPARTOPendientes_head_"+__c.SmartStringFormatter("",(Object)(_c.GetString("CLIENTE")))+""))); } }; }; - //BA.debugLineNum = 939;BA.debugLine="c.Close"; + //BA.debugLineNum = 996;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 940;BA.debugLine="End Sub"; + //BA.debugLineNum = 997;BA.debugLine="End Sub"; return ""; } public String _nuevo_click() throws Exception{ - //BA.debugLineNum = 399;BA.debugLine="Sub NUEVO_Click"; - //BA.debugLineNum = 400;BA.debugLine="StartActivity(MAPA_CLIENTE)"; + //BA.debugLineNum = 456;BA.debugLine="Sub NUEVO_Click"; + //BA.debugLineNum = 457;BA.debugLine="StartActivity(MAPA_CLIENTE)"; __c.StartActivity(ba,(Object)(_mapa_cliente.getObject())); - //BA.debugLineNum = 401;BA.debugLine="End Sub"; + //BA.debugLineNum = 458;BA.debugLine="End Sub"; return ""; } public String _printer_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 850;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; - //BA.debugLineNum = 851;BA.debugLine="If Success Then"; + //BA.debugLineNum = 907;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; + //BA.debugLineNum = 908;BA.debugLine="If Success Then"; if (_success) { - //BA.debugLineNum = 852;BA.debugLine="B_IMP.Enabled = True"; + //BA.debugLineNum = 909;BA.debugLine="B_IMP.Enabled = True"; _b_imp.setEnabled(__c.True); - //BA.debugLineNum = 853;BA.debugLine="PASA_IMP = \"1\""; + //BA.debugLineNum = 910;BA.debugLine="PASA_IMP = \"1\""; _pasa_imp = "1"; }else { - //BA.debugLineNum = 855;BA.debugLine="B_IMP.Enabled = False"; + //BA.debugLineNum = 912;BA.debugLine="B_IMP.Enabled = False"; _b_imp.setEnabled(__c.False); - //BA.debugLineNum = 856;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel"; + //BA.debugLineNum = 913;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 = 857;BA.debugLine="StartPrinter"; + //BA.debugLineNum = 914;BA.debugLine="StartPrinter"; _startprinter(); }; }; - //BA.debugLineNum = 860;BA.debugLine="End Sub"; + //BA.debugLineNum = 917;BA.debugLine="End Sub"; return ""; } public String _printer1_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 829;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; - //BA.debugLineNum = 831;BA.debugLine="If Success Then"; + //BA.debugLineNum = 886;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; + //BA.debugLineNum = 888;BA.debugLine="If Success Then"; if (_success) { - //BA.debugLineNum = 832;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; + //BA.debugLineNum = 889;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Impresora conectada"),__c.False); - //BA.debugLineNum = 833;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI"; + //BA.debugLineNum = 890;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 = 834;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI"; + //BA.debugLineNum = 891;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 = 835;BA.debugLine="LogColor(\"Impresora conectada\", Colors.Green)"; -__c.LogImpl("88781830","Impresora conectada",__c.Colors.Green); - //BA.debugLineNum = 837;BA.debugLine="impresoraConectada = True"; + //BA.debugLineNum = 892;BA.debugLine="LogColor(\"Impresora conectada\", Colors.Green)"; +__c.LogImpl("04456454","Impresora conectada",__c.Colors.Green); + //BA.debugLineNum = 894;BA.debugLine="impresoraConectada = True"; _impresoraconectada = __c.True; }else { - //BA.debugLineNum = 841;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; -__c.LogImpl("88781836","Error conectando la impresora",__c.Colors.Red); - //BA.debugLineNum = 842;BA.debugLine="errorImpresora = errorImpresora + 1"; + //BA.debugLineNum = 898;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; +__c.LogImpl("04456460","Error conectando la impresora",__c.Colors.Red); + //BA.debugLineNum = 899;BA.debugLine="errorImpresora = errorImpresora + 1"; _errorimpresora = (int) (_errorimpresora+1); - //BA.debugLineNum = 843;BA.debugLine="If errorImpresora > 1 Then"; + //BA.debugLineNum = 900;BA.debugLine="If errorImpresora > 1 Then"; if (_errorimpresora>1) { - //BA.debugLineNum = 844;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; + //BA.debugLineNum = 901;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; _starter._mac_impresora /*String*/ = "0"; - //BA.debugLineNum = 845;BA.debugLine="errorImpresora = 0"; + //BA.debugLineNum = 902;BA.debugLine="errorImpresora = 0"; _errorimpresora = (int) (0); }; }; - //BA.debugLineNum = 848;BA.debugLine="End Sub"; + //BA.debugLineNum = 905;BA.debugLine="End Sub"; return ""; } public String _startprinter() throws Exception{ int _resimp = 0; int _i = 0; - //BA.debugLineNum = 862;BA.debugLine="Sub StartPrinter"; - //BA.debugLineNum = 863;BA.debugLine="Dim PairedDevices As Map"; + //BA.debugLineNum = 919;BA.debugLine="Sub StartPrinter"; + //BA.debugLineNum = 920;BA.debugLine="Dim PairedDevices As Map"; _paireddevices = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 864;BA.debugLine="Dim L As List"; + //BA.debugLineNum = 921;BA.debugLine="Dim L As List"; _l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 865;BA.debugLine="Dim resimp As Int"; + //BA.debugLineNum = 922;BA.debugLine="Dim resimp As Int"; _resimp = 0; - //BA.debugLineNum = 866;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; + //BA.debugLineNum = 923;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Printing....."),__c.True); - //BA.debugLineNum = 867;BA.debugLine="PairedDevices.Initialize"; + //BA.debugLineNum = 924;BA.debugLine="PairedDevices.Initialize"; _paireddevices.Initialize(); - //BA.debugLineNum = 868;BA.debugLine="Try"; -try { //BA.debugLineNum = 869;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; + //BA.debugLineNum = 925;BA.debugLine="Try"; +try { //BA.debugLineNum = 926;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; _paireddevices = _cmp20.GetPairedDevices(); } catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 871;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; + ba.setLastException(e9); //BA.debugLineNum = 928;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; __c.Msgbox(BA.ObjectToCharSequence("Getting Paired Devices"),BA.ObjectToCharSequence("Printer Error"),ba); - //BA.debugLineNum = 872;BA.debugLine="printer.Close"; + //BA.debugLineNum = 929;BA.debugLine="printer.Close"; _printer.Close(); - //BA.debugLineNum = 873;BA.debugLine="cmp20.Disconnect"; + //BA.debugLineNum = 930;BA.debugLine="cmp20.Disconnect"; _cmp20.Disconnect(); }; - //BA.debugLineNum = 875;BA.debugLine="If PairedDevices.Size = 0 Then"; + //BA.debugLineNum = 932;BA.debugLine="If PairedDevices.Size = 0 Then"; if (_paireddevices.getSize()==0) { - //BA.debugLineNum = 876;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No"; + //BA.debugLineNum = 933;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 = 877;BA.debugLine="Return"; + //BA.debugLineNum = 934;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 879;BA.debugLine="If PairedDevices.Size = 1 Then"; + //BA.debugLineNum = 936;BA.debugLine="If PairedDevices.Size = 1 Then"; if (_paireddevices.getSize()==1) { - //BA.debugLineNum = 880;BA.debugLine="Try"; -try { //BA.debugLineNum = 882;BA.debugLine="cmp20.ConnectInsecure(btAdmin,PairedDevices.Get"; + //BA.debugLineNum = 937;BA.debugLine="Try"; +try { //BA.debugLineNum = 939;BA.debugLine="cmp20.ConnectInsecure(btAdmin,PairedDevices.Get"; _cmp20.ConnectInsecure(ba,_btadmin,BA.ObjectToString(_paireddevices.Get(_paireddevices.GetKeyAt((int) (0)))),(int) (1)); } catch (Exception e21) { - ba.setLastException(e21); //BA.debugLineNum = 885;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; + ba.setLastException(e21); //BA.debugLineNum = 942;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; __c.Msgbox(BA.ObjectToCharSequence("Connecting"),BA.ObjectToCharSequence("Printer Error"),ba); - //BA.debugLineNum = 886;BA.debugLine="printer.Close"; + //BA.debugLineNum = 943;BA.debugLine="printer.Close"; _printer.Close(); - //BA.debugLineNum = 887;BA.debugLine="cmp20.Disconnect"; + //BA.debugLineNum = 944;BA.debugLine="cmp20.Disconnect"; _cmp20.Disconnect(); }; }else { - //BA.debugLineNum = 890;BA.debugLine="L.Initialize"; + //BA.debugLineNum = 947;BA.debugLine="L.Initialize"; _l.Initialize(); - //BA.debugLineNum = 891;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; + //BA.debugLineNum = 948;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 = 892;BA.debugLine="L.Add(PairedDevices.GetKeyAt(i))"; + //BA.debugLineNum = 949;BA.debugLine="L.Add(PairedDevices.GetKeyAt(i))"; _l.Add(_paireddevices.GetKeyAt(_i)); } }; - //BA.debugLineNum = 894;BA.debugLine="resimp = InputList(L, \"Choose device\", -1) 'igno"; + //BA.debugLineNum = 951;BA.debugLine="resimp = InputList(L, \"Choose device\", -1) 'igno"; _resimp = __c.InputList(_l,BA.ObjectToCharSequence("Choose device"),(int) (-1),ba); - //BA.debugLineNum = 895;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; + //BA.debugLineNum = 952;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; if (_resimp!=__c.DialogResponse.CANCEL) { - //BA.debugLineNum = 896;BA.debugLine="cmp20.Connect(PairedDevices.Get(L.Get(resimp)))"; + //BA.debugLineNum = 953;BA.debugLine="cmp20.Connect(PairedDevices.Get(L.Get(resimp)))"; _cmp20.Connect(ba,BA.ObjectToString(_paireddevices.Get(_l.Get(_resimp)))); }; }; - //BA.debugLineNum = 899;BA.debugLine="End Sub"; + //BA.debugLineNum = 956;BA.debugLine="End Sub"; return ""; } public String _tar_click() throws Exception{ - //BA.debugLineNum = 381;BA.debugLine="Sub Tar_Click"; - //BA.debugLineNum = 383;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; + //BA.debugLineNum = 438;BA.debugLine="Sub Tar_Click"; + //BA.debugLineNum = 440;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; _b4xpages._showpage /*String*/ (ba,"Productos"); - //BA.debugLineNum = 384;BA.debugLine="End Sub"; + //BA.debugLineNum = 441;BA.debugLine="End Sub"; return ""; } public Object callSub(String sub, Object sender, Object[] args) throws Exception { diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_clientes.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_clientes.java index 2d62bdf..8a84ded 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_clientes.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_clientes.java @@ -50,12 +50,12 @@ public String _rutaacambiar = ""; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -250,7 +250,7 @@ case 18: this.state = 19; ; //BA.debugLineNum = 489;BA.debugLine="Log($\"locActual: ${locActual}, thisLoc1: ${this"; -parent.__c.LogImpl("89895959",("locActual: "+parent.__c.SmartStringFormatter("",(Object)(_locactual))+", thisLoc1: "+parent.__c.SmartStringFormatter("",(Object)(_thisloc1))+""),0); +parent.__c.LogImpl("041222167",("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("89895961",("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("041222169",("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("89895964","|"+BA.NumberToString(_tid)+"| - "+BA.ObjectToString(parent._distorderedmap._get /*Object*/ ((Object)(_tid))),parent.__c.Colors.Blue); +parent.__c.LogImpl("041222172","|"+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("89895968",_tempndd,0); +parent.__c.LogImpl("041222176",_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("89371708",BA.ObjectToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ),0); +__c.LogImpl("040697916",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("89437187",parent._entro,0); +parent.__c.LogImpl("040763395",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("89306120","Coordenadas del almacen: "+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude())+","+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()),0); +__c.LogImpl("040632328","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("810223622","=================================",0); +parent.__c.LogImpl("041549830","=================================",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("810223633",_coordsstr,0); +parent.__c.LogImpl("041549841",_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.lat:9002/ruteador?m=OS"; _j._download /*String*/ (("http://keymon.lat: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.lat:9002/ruteador?m=OSRM&r=${"; -parent.__c.LogImpl("810223638",("http://keymon.lat: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("041549846",("http://keymon.lat: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("810223644",BA.ObjectToString(_m),0); +parent.__c.LogImpl("041549852",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("810223646","===== OK",0); +parent.__c.LogImpl("041549854","===== 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("810223675",("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("041549883",("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("810223684","**************** Error! ******************",parent.__c.Colors.Red); +parent.__c.LogImpl("041549892","**************** 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("89764876",("Respuesta: "+parent.__c.SmartStringFormatter("",_m.Get((Object)("code")))+""),0); +parent.__c.LogImpl("041091084",("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("89764886",("Distancia total: "+parent.__c.SmartStringFormatter("",(Object)(_distanciatotal))+", Tiempo: "+parent.__c.SmartStringFormatter("",(Object)(_tiempo))+""),0); +parent.__c.LogImpl("041091094",("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("89764889","Error!",0); +parent.__c.LogImpl("041091097","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("89502722",BA.ObjectToString(_value),0); +parent.__c.LogImpl("040828930",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("89502740",("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("040828948",("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("810289153",_laruta,0); +__c.LogImpl("041615361",_laruta,0); //BA.debugLineNum = 668;BA.debugLine="Log(entro)"; -__c.LogImpl("810289154",_entro,0); +__c.LogImpl("041615362",_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("810289165",BA.ObjectToString(_avisitar),0); +__c.LogImpl("041615373",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("89830402",("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("041156610",("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("89830417",("a visitar: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()))+""),0); +parent.__c.LogImpl("041156625",("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("89830471",("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("041156679",("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("89830475","Error!",0); +parent.__c.LogImpl("041156683","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("89830509","distancia ruta 2:"+BA.NumberToString((_distanciatotal))+"|"+BA.ObjectToString(_rutas2.Get((Object)("distance"))),0); +parent.__c.LogImpl("041156717","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("89830513",("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("041156721",("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("89830522","**************** Error! ******************",parent.__c.Colors.Red); +parent.__c.LogImpl("041156730","**************** 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("89830530","BORRAMOS WAYPOINTS",0); +parent.__c.LogImpl("041156738","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("89830535",BA.ObjectToString(parent._listawaypoints.Get(_r))+"|"+BA.ObjectToString(_r1.Get((Object)("coords")))+"|"+BA.ObjectToString(_r1.Get((Object)("calle"))),0); +parent.__c.LogImpl("041156743",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("89830551","Generamos ListView1 en traeRutaDia",0); +parent.__c.LogImpl("041156759","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("89961473","Iniciamos traeTodosAVisitar",0); +__c.LogImpl("041287681","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("89961478",BA.ObjectToString(_ubicacioninicial),__c.Colors.Gray); +__c.LogImpl("041287686",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("89961486",BA.ObjectToString(_ubicacioninicial),__c.Colors.Red); +__c.LogImpl("041287694",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("89961520",BA.NumberToString(_c.getRowCount())+" rutas, "+BA.NumberToString(_clientesmapao._getsize /*int*/ ())+" clientes",0); +__c.LogImpl("041287728",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_mazapa/keymon/lat/c_detalle_promo.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalle_promo.java index ed6930a..c5f1650 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalle_promo.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalle_promo.java @@ -38,12 +38,12 @@ public String _existe = ""; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalleventa.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalleventa.java index 87ea664..121dab4 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalleventa.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalleventa.java @@ -72,12 +72,12 @@ public anywheresoftware.b4a.objects.LabelWrapper _l_piezas = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = 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("847251459","b_prodMas_Click",__c.Colors.Magenta); +__c.LogImpl("055508995","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("847251468","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("055509004","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("847251473",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +__c.LogImpl("055509009",("++++++++++++++++++++++++++ "+__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(\""; @@ -150,7 +150,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("847251493",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +__c.LogImpl("055509029",("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"; @@ -166,7 +166,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("847251510",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +__c.LogImpl("055509046",("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"; @@ -218,7 +218,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("847579139","b_prodMas_Click",__c.Colors.Magenta); +__c.LogImpl("055836675","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)"; @@ -234,30 +234,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("847579148","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("055836684","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("847579152",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); +__c.LogImpl("055836688",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); //BA.debugLineNum = 945;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)"; -__c.LogImpl("847579153",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); +__c.LogImpl("055836689",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); //BA.debugLineNum = 946;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("847579154",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +__c.LogImpl("055836690",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); //BA.debugLineNum = 948;BA.debugLine="Log(maxProds)"; -__c.LogImpl("847579156",_maxprods,0); +__c.LogImpl("055836692",_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("847579163",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0); +__c.LogImpl("055836699",("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("847579166",_lacantc.getText(),0); +__c.LogImpl("055836702",_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"; @@ -282,9 +282,9 @@ float _preciou = 0f; //BA.debugLineNum = 507;BA.debugLine="etCantHasFocus = False"; _etcanthasfocus = __c.False; //BA.debugLineNum = 508;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("847185922","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); +__c.LogImpl("055443458","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); //BA.debugLineNum = 509;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("847185923","b_prodMenos_Click",__c.Colors.Magenta); +__c.LogImpl("055443459","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)"; @@ -300,7 +300,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("847185930","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("055443466","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(\""; @@ -377,9 +377,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("847185980","ES PROMO",0); +__c.LogImpl("055443516","ES PROMO",0); //BA.debugLineNum = 567;BA.debugLine="Log(esteTag.Get(3))"; -__c.LogImpl("847185981",BA.ObjectToString(_estetag.Get((int) (3))),0); +__c.LogImpl("055443517",BA.ObjectToString(_estetag.Get((int) (3))),0); //BA.debugLineNum = 568;BA.debugLine="result = Msgbox2(\"Si se modifica una promoci"; _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 'Qui"; @@ -387,7 +387,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("847185988",BA.ObjectToString(_estetag.Get((int) (3))),__c.Colors.Blue); +__c.LogImpl("055443524",BA.ObjectToString(_estetag.Get((int) (3))),__c.Colors.Blue); //BA.debugLineNum = 577;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT"; _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_VENT"; @@ -395,7 +395,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("847185996",BA.ObjectToString(_prodsmap),__c.Colors.Red); +__c.LogImpl("055443532",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)"; @@ -413,7 +413,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("847186005","NO ES promo",0); +__c.LogImpl("055443541","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_gunapr"; @@ -431,7 +431,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("847186014","NO ES promo",0); +__c.LogImpl("055443550","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_gunapro"; @@ -450,7 +450,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("847186025","NO ES promo",0); +__c.LogImpl("055443561","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)))}))); @@ -490,7 +490,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("847186051","PU: "+BA.NumberToString(_preciou),0); +__c.LogImpl("055443587","PU: "+BA.NumberToString(_preciou),0); //BA.debugLineNum = 648;BA.debugLine="End Sub"; return ""; } @@ -506,9 +506,9 @@ float _preciou = 0f; //BA.debugLineNum = 973;BA.debugLine="etCantHasFocus = False"; _etcanthasfocus = __c.False; //BA.debugLineNum = 974;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("847644674","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); +__c.LogImpl("055902210","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); //BA.debugLineNum = 975;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("847644675","b_prodMenos_Click",__c.Colors.Magenta); +__c.LogImpl("055902211","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)"; @@ -524,22 +524,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("847644682","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("055902218","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("847644683",BA.ObjectToString(_estetag),0); +__c.LogImpl("055902219",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("847644687",BA.NumberToString(_c3.getRowCount()),0); +__c.LogImpl("055902223",BA.NumberToString(_c3.getRowCount()),0); //BA.debugLineNum = 988;BA.debugLine="Log(esteTag.Get(8))"; -__c.LogImpl("847644688",BA.ObjectToString(_estetag.Get((int) (8))),0); +__c.LogImpl("055902224",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("847644690","AQUI VEMOS SI ACTUALIZAMOS",0); +__c.LogImpl("055902226","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"; @@ -552,7 +552,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("847644698","entre al if o algo asi ",0); +__c.LogImpl("055902234","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));}; @@ -569,7 +569,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("847644710","entre al if o algo asi ",0); +__c.LogImpl("055902246","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));}; @@ -595,7 +595,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("847644728","AQUI VEMOS SI ACTUALIZAMOS",0); +__c.LogImpl("055902264","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"; @@ -608,7 +608,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("847644736","entre al if o algo asi ",0); +__c.LogImpl("055902272","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));}; @@ -626,7 +626,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("847644749","PU: "+BA.NumberToString(_preciou),0); +__c.LogImpl("055902285","PU: "+BA.NumberToString(_preciou),0); //BA.debugLineNum = 1050;BA.debugLine="End Sub"; return ""; } @@ -857,7 +857,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("846661739","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0); +__c.LogImpl("054919275","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0); }else { //BA.debugLineNum = 177;BA.debugLine="Private bgColor, textColor As Int"; _bgcolor = 0; @@ -867,7 +867,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("846661744","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0); +__c.LogImpl("054919280","#####################"+_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)); }; @@ -903,7 +903,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("846661763",_c4.GetString("PE_CANT"),0); +__c.LogImpl("054919299",_c4.GetString("PE_CANT"),0); }else { //BA.debugLineNum = 201;BA.debugLine="cantres = 0"; _cantres = (int) (0); @@ -1057,9 +1057,9 @@ if ((double)(Double.parseDouble(_arti3))<0) { _arti = BA.NumberToString(0); }; //BA.debugLineNum = 296;BA.debugLine="Log(Cuenta&\",\"&Cuenta1&\",\"&Cuenta2&\",\"&Cuenta3)"; -__c.LogImpl("846661860",_cuenta+","+_cuenta1+","+_cuenta2+","+_cuenta3,0); +__c.LogImpl("054919396",_cuenta+","+_cuenta1+","+_cuenta2+","+_cuenta3,0); //BA.debugLineNum = 297;BA.debugLine="Log(arti&\",\"&arti1&\",\"&arti2&\",\"&arti3)"; -__c.LogImpl("846661861",_arti+","+_arti1+","+_arti2+","+_arti3,0); +__c.LogImpl("054919397",_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"; @@ -1367,7 +1367,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("847513601",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("055771137",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_mazapa/keymon/lat/c_foto.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_foto.java index 595d059..f372c32 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_foto.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_foto.java @@ -39,12 +39,12 @@ public String _motivo = ""; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = 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("848693250",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0); +__c.LogImpl("056950786",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("848300037",BA.ObjectToString(_camex._getpreviewsize /*reparto_mazapa.keymon.lat.cameraexclass._camerasize*/ ()),0); +__c.LogImpl("056557573",BA.ObjectToString(_camex._getpreviewsize /*reparto_mazapa.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_mazapa/keymon/lat/c_historico.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_historico.java index 91e2623..47ec1d9 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_historico.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_historico.java @@ -64,12 +64,12 @@ public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = 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("851511299","b_prodMas_Click",__c.Colors.Magenta); +__c.LogImpl("057868291","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("851511308","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("057868300","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("851511313",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +__c.LogImpl("057868305",("++++++++++++++++++++++++++ "+__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("851511316",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +__c.LogImpl("057868308",("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("851445762","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); +__c.LogImpl("057802754","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); //BA.debugLineNum = 343;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("851445763","b_prodMenos_Click",__c.Colors.Magenta); +__c.LogImpl("057802755","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("851445770","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("057802762","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("851445772","ES PROMO",0); +__c.LogImpl("057802764","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("851445778",BA.ObjectToString(_prodsmap),__c.Colors.Red); +__c.LogImpl("057802770",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("851445790","PU: "+BA.NumberToString(_preciou),0); +__c.LogImpl("057802782","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("850987062",("VENTA: "+__c.SmartStringFormatter("",(Object)(_vc.getRowCount()))+""),0); +__c.LogImpl("057344054",("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("851576834","*******************************************************",0); +__c.LogImpl("057933826","*******************************************************",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("851576837","*********** CUENTAPRODS - NO RECONSTRUIR",0); +__c.LogImpl("057933829","*********** 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("851576846","-------------------------------------",0); +__c.LogImpl("057933838","-------------------------------------",0); //BA.debugLineNum = 443;BA.debugLine="Log($\"ET: ${esteTag}\"$)"; -__c.LogImpl("851576847",("ET: "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),0); +__c.LogImpl("057933839",("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("851576862",(""+__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("057933854",(""+__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("851576865",("cantRechazada = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),__c.Colors.Magenta); +__c.LogImpl("057933857",("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("851576877","INSERTAMOS EN REPARTO",0); +__c.LogImpl("057933869","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("851576884",("Actualizamos REP_CANT RECHAZO = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),0); +__c.LogImpl("057933876",("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("851576897","-------------------------------------",0); +__c.LogImpl("057933889","-------------------------------------",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("851576903","*********** CUENTAPRODS - SI RECONSTRUIR",0); +__c.LogImpl("057933895","*********** 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("851576906","Usamos PRODSMAP",0); +__c.LogImpl("057933898","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("851576909","PPP: "+_pr+"|PromoABorrar="+_promoaborrar+"|"+BA.ObjectToString(_pr1),0); +__c.LogImpl("057933901","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("851576914","AAA: "+_newpromo+"|"+_promoaborrar,0); +__c.LogImpl("057933906","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("851576920","CAMBIAMOS PROMO: "+_newpromo,__c.Colors.Magenta); +__c.LogImpl("057933912","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("851576926",("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("057933918",("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("851576932",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0); +__c.LogImpl("057933924",("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("851576933","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Green); +__c.LogImpl("057933925","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Green); //BA.debugLineNum = 532;BA.debugLine="LogColor(prodsMap, Colors.Blue)"; -__c.LogImpl("851576936",BA.ObjectToString(_prodsmap),__c.Colors.Blue); +__c.LogImpl("057933928",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("851773441",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("058130433",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_mazapa/keymon/lat/c_mapas.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_mapas.java index 428d559..5615fd0 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_mapas.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_mapas.java @@ -29,12 +29,12 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_noventa.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_noventa.java index 6472814..fa65041 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_noventa.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_noventa.java @@ -47,12 +47,12 @@ public reparto_mazapa.keymon.lat.dbrequestmanager _reqmanager = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -142,7 +142,15 @@ public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _lo //BA.debugLineNum = 50;BA.debugLine="End Sub"; return ""; } -public String _guarda_click() throws Exception{ +public void _guarda_click() throws Exception{ +ResumableSub_GUARDA_Click rsub = new ResumableSub_GUARDA_Click(this); +rsub.resume(ba, null); +} +public static class ResumableSub_GUARDA_Click extends BA.ResumableSub { +public ResumableSub_GUARDA_Click(reparto_mazapa.keymon.lat.c_noventa parent) { +this.parent = parent; +} +reparto_mazapa.keymon.lat.c_noventa parent; String _rutaactualizar = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _rut = null; String _estecliente = ""; @@ -152,170 +160,417 @@ int _i = 0; String _ruta = ""; String _rutapre = ""; String _fechaprev = ""; +int _resultado = 0; anywheresoftware.b4a.sql.SQL.CursorWrapper _mandamapa = null; - //BA.debugLineNum = 56;BA.debugLine="Sub GUARDA_Click"; +int step37; +int limit37; +int step44; +int limit44; + +@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 = 57;BA.debugLine="If r_1.Checked = False And r_2.Checked = False An"; -if (_r_1.getChecked()==__c.False && _r_2.getChecked()==__c.False && _r_3.getChecked()==__c.False && _r_4.getChecked()==__c.False) { +if (true) break; + +case 1: +//if +this.state = 51; +if (parent._r_1.getChecked()==parent.__c.False && parent._r_2.getChecked()==parent.__c.False && parent._r_3.getChecked()==parent.__c.False && parent._r_4.getChecked()==parent.__c.False) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 51; //BA.debugLineNum = 58;BA.debugLine="MsgboxAsync(\"Selecciona un motivo de rechazo\",\"A"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Selecciona un motivo de rechazo"),BA.ObjectToCharSequence("Atención"),ba); - }else { +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Selecciona un motivo de rechazo"),BA.ObjectToCharSequence("Atención"),ba); + if (true) break; + +case 5: +//C +this.state = 6; //BA.debugLineNum = 61;BA.debugLine="If r_1.Checked Then"; -if (_r_1.getChecked()) { +if (true) break; + +case 6: +//if +this.state = 15; +if (parent._r_1.getChecked()) { +this.state = 8; +}else if(parent._r_2.getChecked()) { +this.state = 10; +}else if(parent._r_3.getChecked()) { +this.state = 12; +}else { +this.state = 14; +}if (true) break; + +case 8: +//C +this.state = 15; //BA.debugLineNum = 62;BA.debugLine="motivo = \"CERRADO\""; -_motivo = "CERRADO"; - }else if(_r_2.getChecked()) { +parent._motivo = "CERRADO"; + if (true) break; + +case 10: +//C +this.state = 15; //BA.debugLineNum = 64;BA.debugLine="motivo = \"NO PIDIO\""; -_motivo = "NO PIDIO"; - }else if(_r_3.getChecked()) { +parent._motivo = "NO PIDIO"; + if (true) break; + +case 12: +//C +this.state = 15; //BA.debugLineNum = 66;BA.debugLine="motivo = \"CANCELA\""; -_motivo = "CANCELA"; - }else { +parent._motivo = "CANCELA"; + if (true) break; + +case 14: +//C +this.state = 15; //BA.debugLineNum = 68;BA.debugLine="motivo = \"NO ESTA EL ENCARGADO\""; -_motivo = "NO ESTA EL ENCARGADO"; - }; +parent._motivo = "NO ESTA EL ENCARGADO"; + if (true) break; +; //BA.debugLineNum = 71;BA.debugLine="If motivo <> \"CERRADO\" Or motivo = \"CERRADO\" Th"; -if ((_motivo).equals("CERRADO") == false || (_motivo).equals("CERRADO")) { + +case 15: +//if +this.state = 50; +if ((parent._motivo).equals("CERRADO") == false || (parent._motivo).equals("CERRADO")) { +this.state = 17; +}else { +this.state = 49; +}if (true) break; + +case 17: +//C +this.state = 18; //BA.debugLineNum = 72;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); +parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); //BA.debugLineNum = 73;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); +parent.__c.DateTime.setTimeFormat("HHmmss"); //BA.debugLineNum = 74;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); +parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); //BA.debugLineNum = 75;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); +parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); //BA.debugLineNum = 76;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cu"; -_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 CUENTA from cuentaa"))); +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 CUENTA from cuentaa"))); //BA.debugLineNum = 77;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); +parent._c.setPosition((int) (0)); //BA.debugLineNum = 78;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -_cuenta = _c.GetString("CUENTA"); +parent._cuenta = parent._c.GetString("CUENTA"); //BA.debugLineNum = 79;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"))); +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 = 80;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); +parent._c.setPosition((int) (0)); //BA.debugLineNum = 81;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); +parent._usuario = parent._c.GetString("USUARIO"); //BA.debugLineNum = 82;BA.debugLine="c.Close"; -_c.Close(); +parent._c.Close(); //BA.debugLineNum = 83;BA.debugLine="Dim rutaactualizar As String"; _rutaactualizar = ""; //BA.debugLineNum = 84;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SEL"; _rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rut = (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 IN (SELECT CUENTA FROM CUENTAA)"))); +_rut = (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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); //BA.debugLineNum = 85;BA.debugLine="If rut.RowCount > 0 Then"; +if (true) break; + +case 18: +//if +this.state = 21; if (_rut.getRowCount()>0) { +this.state = 20; +}if (true) break; + +case 20: +//C +this.state = 21; //BA.debugLineNum = 86;BA.debugLine="rut.Position = 0"; _rut.setPosition((int) (0)); //BA.debugLineNum = 87;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; _rutaactualizar = _rut.GetString("CAT_CL_RUTA"); - }; + if (true) break; + +case 21: +//C +this.state = 22; +; //BA.debugLineNum = 89;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENTA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa) AND NV_RUTA ='"+__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"' ")); +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa) AND NV_RUTA ='"+parent.__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"' ")); //BA.debugLineNum = 91;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_NUM_REGIST"; -_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_NUM_REGISTRO, HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA, HVD_PROID, CAT_GP_PRECIO from HIST_VENTAS2 join CAT_GUNAPROD on CAT_GP_ID = HVD_PROID WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc"))); +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_NUM_REGISTRO, HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA, HVD_PROID, CAT_GP_PRECIO from HIST_VENTAS2 join CAT_GUNAPROD on CAT_GP_ID = HVD_PROID WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc"))); //BA.debugLineNum = 92;BA.debugLine="If c.RowCount > 0 Then 'Si hay pedido en HIST_"; -if (_c.getRowCount()>0) { +if (true) break; + +case 22: +//if +this.state = 37; +if (parent._c.getRowCount()>0) { +this.state = 24; +}if (true) break; + +case 24: +//C +this.state = 25; //BA.debugLineNum = 95;BA.debugLine="Private esteCliente As String = Subs.traeClien"; -_estecliente = _subs._traecliente /*String*/ (ba); +_estecliente = parent._subs._traecliente /*String*/ (ba); //BA.debugLineNum = 96;BA.debugLine="Private rv As Cursor = Starter.skmt.ExecQuery("; _rv = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rv = (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 = '"+__c.SmartStringFormatter("",(Object)(_estecliente))+"' and REP_CLI_ORIG <> '"+__c.SmartStringFormatter("",(Object)(_estecliente))+"' and REP_RECHAZO = 0")))); +_rv = (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 REPARTO where REP_CLIENTE = '"+parent.__c.SmartStringFormatter("",(Object)(_estecliente))+"' and REP_CLI_ORIG <> '"+parent.__c.SmartStringFormatter("",(Object)(_estecliente))+"' and REP_RECHAZO = 0")))); //BA.debugLineNum = 97;BA.debugLine="If rv.RowCount > 0 Then 'Si tenemos venta en e"; +if (true) break; + +case 25: +//if +this.state = 32; if (_rv.getRowCount()>0) { +this.state = 27; +}if (true) break; + +case 27: +//C +this.state = 28; //BA.debugLineNum = 98;BA.debugLine="For i2=0 To rv.RowCount - 1"; -{ -final int step37 = 1; -final int limit37 = (int) (_rv.getRowCount()-1); +if (true) break; + +case 28: +//for +this.state = 31; +step37 = 1; +limit37 = (int) (_rv.getRowCount()-1); _i2 = (int) (0) ; -for (;_i2 <= limit37 ;_i2 = _i2 + step37 ) { +this.state = 52; +if (true) break; + +case 52: +//C +this.state = 31; +if ((step37 > 0 && _i2 <= limit37) || (step37 < 0 && _i2 >= limit37)) this.state = 30; +if (true) break; + +case 53: +//C +this.state = 52; +_i2 = ((int)(0 + _i2 + step37)) ; +if (true) break; + +case 30: +//C +this.state = 53; //BA.debugLineNum = 99;BA.debugLine="rv.Position = i2"; _rv.setPosition(_i2); //BA.debugLineNum = 100;BA.debugLine="Log($\"Actualizamos REPARTO - cliente=${rv.Ge"; -__c.LogImpl("852428844",("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); +parent.__c.LogImpl("058785836",("Actualizamos REPARTO - cliente="+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLIENTE")))+", cliente orignal="+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+", le agregamos "+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+""),0); //BA.debugLineNum = 101;BA.debugLine="Starter.skmt.ExecNonQuery($\"update REPARTO s"; -_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")))+"'")); - } -}; - }; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update REPARTO set REP_CANT = REP_CANT + "+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+" where REP_RECHAZO = '1' and REP_CLIENTE = '"+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+"' and REP_CLI_ORIG = '"+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+"'")); + if (true) break; +if (true) break; + +case 31: +//C +this.state = 32; +; + if (true) break; + +case 32: +//C +this.state = 33; +; //BA.debugLineNum = 105;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from reparto"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from reparto where REP_CLIENTE IN (Select CUENTA from cuentaa)"); +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from reparto where REP_CLIENTE IN (Select CUENTA from cuentaa)"); //BA.debugLineNum = 106;BA.debugLine="For i=0 To c.RowCount - 1 'Insertamos los prod"; -{ -final int step44 = 1; -final int limit44 = (int) (_c.getRowCount()-1); +if (true) break; + +case 33: +//for +this.state = 36; +step44 = 1; +limit44 = (int) (parent._c.getRowCount()-1); _i = (int) (0) ; -for (;_i <= limit44 ;_i = _i + step44 ) { +this.state = 54; +if (true) break; + +case 54: +//C +this.state = 36; +if ((step44 > 0 && _i <= limit44) || (step44 < 0 && _i >= limit44)) this.state = 35; +if (true) break; + +case 55: +//C +this.state = 54; +_i = ((int)(0 + _i + step44)) ; +if (true) break; + +case 35: +//C +this.state = 55; //BA.debugLineNum = 107;BA.debugLine="c.Position=i"; -_c.setPosition(_i); +parent._c.setPosition(_i); //BA.debugLineNum = 108;BA.debugLine="Log($\"REGISTRO= ${c.GetString(\"HVD_NUM_REGIST"; -__c.LogImpl("852428852",("REGISTRO= "+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+""),0); +parent.__c.LogImpl("058785844",("REGISTRO= "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_NUM_REGISTRO")))+""),0); //BA.debugLineNum = 109;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repar"; -_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")})); +parent._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[]{parent._c.GetString("HVD_CLIENTE"),parent._c.GetString("HVD_PRONOMBRE"),parent._c.GetString("HVD_CANT"),parent._c.GetString("HVD_COSTO_TOT"),parent._c.GetString("HVD_FECHA"),parent._c.GetString("HVD_PROID"),parent._c.GetString("CAT_GP_PRECIO"),parent._c.GetString("HVD_NUM_REGISTRO"),parent._c.GetString("HVD_CLIENTE")})); //BA.debugLineNum = 110;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repar"; -_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 (?,?,?,?,?,0,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_c.GetString("HVD_CLIENTE"),_c.GetString("HVD_PRONOMBRE"),BA.NumberToString(0),_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")})); +parent._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 (?,?,?,?,?,0,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent._c.GetString("HVD_CLIENTE"),parent._c.GetString("HVD_PRONOMBRE"),BA.NumberToString(0),parent._c.GetString("HVD_COSTO_TOT"),parent._c.GetString("HVD_FECHA"),parent._c.GetString("HVD_PROID"),parent._c.GetString("CAT_GP_PRECIO"),parent._c.GetString("HVD_NUM_REGISTRO"),parent._c.GetString("HVD_CLIENTE")})); //BA.debugLineNum = 111;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapr"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_c.GetString("HVD_CANT")),(Object)(_c.GetString("HVD_PRONOMBRE"))})); - } -}; - }; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._c.GetString("HVD_CANT")),(Object)(parent._c.GetString("HVD_PRONOMBRE"))})); + if (true) break; +if (true) break; + +case 36: +//C +this.state = 37; +; + if (true) break; + +case 37: +//C +this.state = 38; +; //BA.debugLineNum = 116;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cuenta),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_motivo),(Object)(_e_comm.getText()),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_rutaactualizar)})); +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._cuenta),(Object)(parent._sdate+parent._stime),(Object)(parent._usuario),(Object)(parent._motivo),(Object)(parent._e_comm.getText()),(Object)(parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_rutaactualizar)})); //BA.debugLineNum = 117;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 3, HORAENT = '"+__c.SmartStringFormatter("",(Object)(_sdate+" "+_stime))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"'")); +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 3, HORAENT = '"+parent.__c.SmartStringFormatter("",(Object)(parent._sdate+" "+parent._stime))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+parent.__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"'")); //BA.debugLineNum = 118;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS S"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); //BA.debugLineNum = 119;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)")); +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)")); //BA.debugLineNum = 120;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM PEDIDO W"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); //BA.debugLineNum = 121;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM R"; -_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"))); +parent._d = (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 RUTAA FROM RUTAA"))); //BA.debugLineNum = 122;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); +parent._d.setPosition((int) (0)); //BA.debugLineNum = 123;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; -_ruta = _d.GetString("RUTAA"); +_ruta = parent._d.GetString("RUTAA"); //BA.debugLineNum = 124;BA.debugLine="d.Close"; -_d.Close(); +parent._d.Close(); //BA.debugLineNum = 125;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA"; -_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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +parent._d = (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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); //BA.debugLineNum = 126;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); +parent._d.setPosition((int) (0)); //BA.debugLineNum = 127;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUT"; -_rutapre = _d.GetString("CAT_CL_RUTA"); +_rutapre = parent._d.GetString("CAT_CL_RUTA"); //BA.debugLineNum = 128;BA.debugLine="d.Close"; -_d.Close(); +parent._d.Close(); //BA.debugLineNum = 129;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FR"; -_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_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +parent._d = (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 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); //BA.debugLineNum = 130;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); +parent._d.setPosition((int) (0)); //BA.debugLineNum = 131;BA.debugLine="Dim fechaprev As String = d.GetString(\"HVD_FECH"; -_fechaprev = _d.GetString("HVD_FECHA"); +_fechaprev = parent._d.GetString("HVD_FECHA"); //BA.debugLineNum = 132;BA.debugLine="d.Close"; -_d.Close(); +parent._d.Close(); //BA.debugLineNum = 133;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM"; -_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 CUENTA FROM CUENTAA"))); +parent._d = (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 CUENTA FROM CUENTAA"))); //BA.debugLineNum = 134;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); +parent._d.setPosition((int) (0)); //BA.debugLineNum = 135;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_cuenta,_usuario,_sdate+" "+_stime,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,_fechaprev,_motivo,_e_comm.getText(),"NO ENTREGADO"})); - //BA.debugLineNum = 137;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQuer"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent._cuenta,parent._usuario,parent._sdate+" "+parent._stime,parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,_fechaprev,parent._motivo,parent._e_comm.getText(),"NO ENTREGADO"})); + //BA.debugLineNum = 137;BA.debugLine="Msgbox2Async(\"Pedido rechazado\",\"Atención\",\"Ok\""; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Pedido rechazado"),BA.ObjectToCharSequence("Atención"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); + //BA.debugLineNum = 138;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, this, null); +this.state = 56; +return; +case 56: +//C +this.state = 38; +_resultado = (Integer) result[0]; +; + //BA.debugLineNum = 139;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 38: +//if +this.state = 47; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 40; +}if (true) break; + +case 40: +//C +this.state = 41; + //BA.debugLineNum = 140;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQue"; _mandamapa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_mandamapa = (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 kmt_info WHERE gestion = 0"))); - //BA.debugLineNum = 138;BA.debugLine="If mandamapa.RowCount > 0 Then"; +_mandamapa = (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 kmt_info WHERE gestion = 0 and CAT_CL_CODIGO <> 63403"))); + //BA.debugLineNum = 141;BA.debugLine="If mandamapa.RowCount > 0 Then"; +if (true) break; + +case 41: +//if +this.state = 46; if (_mandamapa.getRowCount()>0) { - //BA.debugLineNum = 139;BA.debugLine="StartActivity(MAPA_RUTAS)"; -__c.StartActivity(ba,(Object)(_mapa_rutas.getObject())); - }else if(_mandamapa.getRowCount()==0) { - //BA.debugLineNum = 141;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - }; - }else { - //BA.debugLineNum = 144;BA.debugLine="COMENTARIO = e_comm.Text"; -_comentario = _e_comm.getText(); - }; - }; - //BA.debugLineNum = 149;BA.debugLine="End Sub"; -return ""; +this.state = 43; +}else if(_mandamapa.getRowCount()==0) { +this.state = 45; +}if (true) break; + +case 43: +//C +this.state = 46; + //BA.debugLineNum = 142;BA.debugLine="StartActivity(MAPA_RUTAS)"; +parent.__c.StartActivity(ba,(Object)(parent._mapa_rutas.getObject())); + if (true) break; + +case 45: +//C +this.state = 46; + //BA.debugLineNum = 144;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +parent._b4xpages._showpage /*String*/ (ba,"Principal"); + if (true) break; + +case 46: +//C +this.state = 47; +; + if (true) break; + +case 47: +//C +this.state = 50; +; + if (true) break; + +case 49: +//C +this.state = 50; + //BA.debugLineNum = 148;BA.debugLine="COMENTARIO = e_comm.Text"; +parent._comentario = parent._e_comm.getText(); + if (true) break; + +case 50: +//C +this.state = 51; +; + if (true) break; + +case 51: +//C +this.state = -1; +; + //BA.debugLineNum = 153;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); @@ -330,29 +585,29 @@ reparto_mazapa.keymon.lat.dbrequestmanager._dbresult _resultado = null; String _cliente = ""; Object[] _records = null; String _k = ""; - //BA.debugLineNum = 172;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 173;BA.debugLine="Log(Job.Success)"; -__c.LogImpl("852559873",BA.ObjectToString(_job._success /*boolean*/ ),0); - //BA.debugLineNum = 174;BA.debugLine="If Job.Success = False Then"; + //BA.debugLineNum = 176;BA.debugLine="Sub JobDone(Job As HttpJob)"; + //BA.debugLineNum = 177;BA.debugLine="Log(Job.Success)"; +__c.LogImpl("058916865",BA.ObjectToString(_job._success /*boolean*/ ),0); + //BA.debugLineNum = 178;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==__c.False) { }else { - //BA.debugLineNum = 177;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("852559877","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 178;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 181;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("058916869","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); + //BA.debugLineNum = 182;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 179;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; + //BA.debugLineNum = 183;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; _resultado = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 180;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART"; + //BA.debugLineNum = 184;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART"; if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_REPARTOPendientes_head_")>-1) { - //BA.debugLineNum = 181;BA.debugLine="Private cliente As String= resultado.Tag"; + //BA.debugLineNum = 185;BA.debugLine="Private cliente As String= resultado.Tag"; _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); - //BA.debugLineNum = 182;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; + //BA.debugLineNum = 186;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; _cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); - //BA.debugLineNum = 183;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; -__c.LogImpl("852559883",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); - //BA.debugLineNum = 184;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO"; + //BA.debugLineNum = 187;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; +__c.LogImpl("058916875",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); + //BA.debugLineNum = 188;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 = 185;BA.debugLine="For Each records() As Object In resultado.Rows"; + //BA.debugLineNum = 189;BA.debugLine="For Each records() As Object In resultado.Rows"; { final anywheresoftware.b4a.BA.IterableList group12 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; final int groupLen12 = group12.getSize() @@ -360,7 +615,7 @@ final int groupLen12 = group12.getSize() ; for (; index12 < groupLen12;index12++){ _records = (Object[])(group12.Get(index12)); - //BA.debugLineNum = 186;BA.debugLine="For Each k As String In resultado.Columns.Key"; + //BA.debugLineNum = 190;BA.debugLine="For Each k As String In resultado.Columns.Key"; { final anywheresoftware.b4a.BA.IterableList group13 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); final int groupLen13 = group13.getSize() @@ -368,54 +623,54 @@ final int groupLen13 = group13.getSize() ; for (; index13 < groupLen13;index13++){ _k = BA.ObjectToString(group13.Get(index13)); - //BA.debugLineNum = 187;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; -__c.LogImpl("852559887",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); + //BA.debugLineNum = 191;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +__c.LogImpl("058916879",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); } }; } }; }; }; - //BA.debugLineNum = 192;BA.debugLine="Job.Release"; + //BA.debugLineNum = 196;BA.debugLine="Job.Release"; _job._release /*String*/ (); }; - //BA.debugLineNum = 195;BA.debugLine="End Sub"; + //BA.debugLineNum = 199;BA.debugLine="End Sub"; return ""; } public String _mandapendientesreparto() throws Exception{ int _i = 0; reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 152;BA.debugLine="Sub mandaPendientesreparto"; - //BA.debugLineNum = 153;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARI"; + //BA.debugLineNum = 156;BA.debugLine="Sub mandaPendientesreparto"; + //BA.debugLineNum = 157;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARI"; _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 CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO where ENVIO <> 1"))); - //BA.debugLineNum = 154;BA.debugLine="Log($\"REPARTO_Cliente PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("852494338",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); - //BA.debugLineNum = 155;BA.debugLine="If c.RowCount>0 Then"; + //BA.debugLineNum = 158;BA.debugLine="Log($\"REPARTO_Cliente PENDIENTE: ${c.RowCount}\"$)"; +__c.LogImpl("058851330",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); + //BA.debugLineNum = 159;BA.debugLine="If c.RowCount>0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 156;BA.debugLine="For i=0 To c.RowCount -1"; + //BA.debugLineNum = 160;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 = 157;BA.debugLine="c.Position=i"; + //BA.debugLineNum = 161;BA.debugLine="c.Position=i"; _c.setPosition(_i); - //BA.debugLineNum = 159;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 163;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 160;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 164;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 161;BA.debugLine="cmd.Name = \"insert_REPARTO_MAZAPA\""; + //BA.debugLineNum = 165;BA.debugLine="cmd.Name = \"insert_REPARTO_MAZAPA\""; _cmd.Name /*String*/ = "insert_REPARTO_MAZAPA"; - //BA.debugLineNum = 162;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; + //BA.debugLineNum = 166;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CLIENTE")),(Object)(_c.GetString("USUARIO")),(Object)(_c.GetString("FECHA_PUNTEO")),(Object)(_c.GetString("LATITUD")),(Object)(_c.GetString("LONGITUD")),(Object)(_c.GetString("ALMACEN")),(Object)(_c.GetString("RUTA_REPARTO")),(Object)(_c.GetString("RUTA_PREV")),(Object)(_c.GetString("FECHA_PREVENTA")),(Object)(_c.GetString("MOTIVO")),(Object)(_c.GetString("COMENTARIO")),(Object)(_c.GetString("TIPO"))}; - //BA.debugLineNum = 163;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe"; + //BA.debugLineNum = 167;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe"; _reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_REPARTOPendientes_head_"+__c.SmartStringFormatter("",(Object)(_c.GetString("CLIENTE")))+""))); } }; }; - //BA.debugLineNum = 167;BA.debugLine="c.Close"; + //BA.debugLineNum = 171;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 168;BA.debugLine="End Sub"; + //BA.debugLineNum = 172;BA.debugLine="End Sub"; return ""; } public Object callSub(String sub, Object sender, Object[] args) throws Exception { diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_nuevocliente.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_nuevocliente.java index 04806c5..8377702 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_nuevocliente.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_nuevocliente.java @@ -29,12 +29,12 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_pedidos.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_pedidos.java index b044997..c82b87a 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_pedidos.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_pedidos.java @@ -29,12 +29,12 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_principal.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_principal.java index 96872b5..a5574a8 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_principal.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_principal.java @@ -109,25 +109,34 @@ public anywheresoftware.b4a.objects.PanelWrapper _p_prod = null; public anywheresoftware.b4a.objects.ButtonWrapper _b_regreso = null; public anywheresoftware.b4a.objects.ListViewWrapper _lv_prod_prin = null; public anywheresoftware.b4a.objects.ButtonWrapper _b_venta_emp = null; +public int _successfulrequests = 0; +public int _totalregistros = 0; +public int _totalregistrostotales = 0; +public int _todosrequest = 0; +public anywheresoftware.b4a.objects.PanelWrapper _penvioinfo = null; +public anywheresoftware.b4a.objects.ButtonWrapper _benvioinfo = null; +public anywheresoftware.b4a.objects.ProgressBarWrapper _pbenvioinfo = null; +public anywheresoftware.b4a.objects.LabelWrapper _lenviainfo = null; +public anywheresoftware.b4a.objects.LabelWrapper _lversionname = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; public String _b_check_click() throws Exception{ - //BA.debugLineNum = 1919;BA.debugLine="Private Sub b_check_Click"; - //BA.debugLineNum = 1921;BA.debugLine="B4XPages.ShowPage(\"checklist\")"; + //BA.debugLineNum = 2043;BA.debugLine="Private Sub b_check_Click"; + //BA.debugLineNum = 2045;BA.debugLine="B4XPages.ShowPage(\"checklist\")"; _b4xpages._showpage /*String*/ (ba,"checklist"); - //BA.debugLineNum = 1923;BA.debugLine="End Sub"; + //BA.debugLineNum = 2047;BA.debugLine="End Sub"; return ""; } public String _b_clieprod_click() throws Exception{ @@ -155,169 +164,169 @@ String _arti3 = ""; int _x = 0; String _totalmonto = ""; String _totalcantidad = ""; - //BA.debugLineNum = 1663;BA.debugLine="Sub B_CLIEPROD_Click"; - //BA.debugLineNum = 1664;BA.debugLine="If b_check.Visible = True Then"; + //BA.debugLineNum = 1787;BA.debugLine="Sub B_CLIEPROD_Click"; + //BA.debugLineNum = 1788;BA.debugLine="If b_check.Visible = True Then"; if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 1665;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; + //BA.debugLineNum = 1789;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 = 1667;BA.debugLine="BUSCA.Visible = False"; + //BA.debugLineNum = 1791;BA.debugLine="BUSCA.Visible = False"; _busca.setVisible(__c.False); - //BA.debugLineNum = 1668;BA.debugLine="connecta.Visible = False"; + //BA.debugLineNum = 1792;BA.debugLine="connecta.Visible = False"; _connecta.setVisible(__c.False); - //BA.debugLineNum = 1669;BA.debugLine="trabajar.Visible = False"; + //BA.debugLineNum = 1793;BA.debugLine="trabajar.Visible = False"; _trabajar.setVisible(__c.False); - //BA.debugLineNum = 1670;BA.debugLine="B_CLIEPROD.Visible = False"; + //BA.debugLineNum = 1794;BA.debugLine="B_CLIEPROD.Visible = False"; _b_clieprod.setVisible(__c.False); - //BA.debugLineNum = 1671;BA.debugLine="Panel1.Visible = True"; + //BA.debugLineNum = 1795;BA.debugLine="Panel1.Visible = True"; _panel1.setVisible(__c.True); - //BA.debugLineNum = 1672;BA.debugLine="Panel1.BringToFront"; + //BA.debugLineNum = 1796;BA.debugLine="Panel1.BringToFront"; _panel1.BringToFront(); - //BA.debugLineNum = 1673;BA.debugLine="Btn_Ubicar_Ru.Visible=False"; + //BA.debugLineNum = 1797;BA.debugLine="Btn_Ubicar_Ru.Visible=False"; _btn_ubicar_ru.setVisible(__c.False); - //BA.debugLineNum = 1674;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from kmt_info"; + //BA.debugLineNum = 1798;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from kmt_info"; _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 kmt_info WHERE gestion <> 0 order by HORAENT"))); - //BA.debugLineNum = 1675;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; + //BA.debugLineNum = 1799;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; _subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 1676;BA.debugLine="ListView1.Clear"; + //BA.debugLineNum = 1800;BA.debugLine="ListView1.Clear"; _listview1.Clear(); - //BA.debugLineNum = 1677;BA.debugLine="Dim label1 As Label"; + //BA.debugLineNum = 1801;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 1678;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; + //BA.debugLineNum = 1802;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; _label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 1679;BA.debugLine="label1.TextSize = 10"; + //BA.debugLineNum = 1803;BA.debugLine="label1.TextSize = 10"; _label1.setTextSize((float) (10)); - //BA.debugLineNum = 1680;BA.debugLine="label1.TextColor = Colors.Black"; + //BA.debugLineNum = 1804;BA.debugLine="label1.TextColor = Colors.Black"; _label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 1681;BA.debugLine="Dim label2 As Label"; + //BA.debugLineNum = 1805;BA.debugLine="Dim label2 As Label"; _label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 1682;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; + //BA.debugLineNum = 1806;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; _label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 1683;BA.debugLine="label2.TextSize = 10"; + //BA.debugLineNum = 1807;BA.debugLine="label2.TextSize = 10"; _label2.setTextSize((float) (10)); - //BA.debugLineNum = 1684;BA.debugLine="label2.TextColor = Colors.Black"; + //BA.debugLineNum = 1808;BA.debugLine="label2.TextColor = Colors.Black"; _label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 1686;BA.debugLine="If c.RowCount>0 Then"; + //BA.debugLineNum = 1810;BA.debugLine="If c.RowCount>0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1687;BA.debugLine="For i=0 To c.RowCount -1"; + //BA.debugLineNum = 1811;BA.debugLine="For i=0 To c.RowCount -1"; { final int step23 = 1; final int limit23 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit23 ;_i = _i + step23 ) { - //BA.debugLineNum = 1688;BA.debugLine="c.Position=i"; + //BA.debugLineNum = 1812;BA.debugLine="c.Position=i"; _c.setPosition(_i); - //BA.debugLineNum = 1689;BA.debugLine="If c.GetString(\"gestion\") = \"2\" Then"; + //BA.debugLineNum = 1813;BA.debugLine="If c.GetString(\"gestion\") = \"2\" Then"; if ((_c.GetString("gestion")).equals("2")) { - //BA.debugLineNum = 1690;BA.debugLine="ESTATUS = \"ENTREGADO\""; + //BA.debugLineNum = 1814;BA.debugLine="ESTATUS = \"ENTREGADO\""; _estatus = "ENTREGADO"; - //BA.debugLineNum = 1691;BA.debugLine="Log(\"entrega\")"; -__c.LogImpl("850135068","entrega",0); + //BA.debugLineNum = 1815;BA.debugLine="Log(\"entrega\")"; +__c.LogImpl("042991644","entrega",0); }else if((_c.GetString("gestion")).equals("3")) { - //BA.debugLineNum = 1693;BA.debugLine="Log(\"no entrega\")"; -__c.LogImpl("850135070","no entrega",0); - //BA.debugLineNum = 1694;BA.debugLine="ESTATUS = \"RECHAZADO\""; + //BA.debugLineNum = 1817;BA.debugLine="Log(\"no entrega\")"; +__c.LogImpl("042991646","no entrega",0); + //BA.debugLineNum = 1818;BA.debugLine="ESTATUS = \"RECHAZADO\""; _estatus = "RECHAZADO"; }else { - //BA.debugLineNum = 1696;BA.debugLine="ESTATUS = \"SIN ESTATUS\""; + //BA.debugLineNum = 1820;BA.debugLine="ESTATUS = \"SIN ESTATUS\""; _estatus = "SIN ESTATUS"; }; - //BA.debugLineNum = 1701;BA.debugLine="If ESTATUS = \"ENTREGADO\" Then"; + //BA.debugLineNum = 1825;BA.debugLine="If ESTATUS = \"ENTREGADO\" Then"; if ((_estatus).equals("ENTREGADO")) { - //BA.debugLineNum = 1702;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; + //BA.debugLineNum = 1826;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 = 1704;BA.debugLine="Private cuenta0 As String = 0"; + //BA.debugLineNum = 1828;BA.debugLine="Private cuenta0 As String = 0"; _cuenta0 = BA.NumberToString(0); - //BA.debugLineNum = 1705;BA.debugLine="Private arti As String = 0"; + //BA.debugLineNum = 1829;BA.debugLine="Private arti As String = 0"; _arti = BA.NumberToString(0); - //BA.debugLineNum = 1706;BA.debugLine="If vc.RowCount > 0 Then"; + //BA.debugLineNum = 1830;BA.debugLine="If vc.RowCount > 0 Then"; if (_vc.getRowCount()>0) { - //BA.debugLineNum = 1707;BA.debugLine="For a = 0 To vc.RowCount - 1"; + //BA.debugLineNum = 1831;BA.debugLine="For a = 0 To vc.RowCount - 1"; { final int step39 = 1; final int limit39 = (int) (_vc.getRowCount()-1); _a = (int) (0) ; for (;_a <= limit39 ;_a = _a + step39 ) { - //BA.debugLineNum = 1708;BA.debugLine="vc.Position = a"; + //BA.debugLineNum = 1832;BA.debugLine="vc.Position = a"; _vc.setPosition(_a); - //BA.debugLineNum = 1710;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - v"; + //BA.debugLineNum = 1834;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 = 1711;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CAN"; + //BA.debugLineNum = 1835;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 = 1716;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer"; + //BA.debugLineNum = 1840;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 = 1717;BA.debugLine="Private Cuenta1 As String = 0"; + //BA.debugLineNum = 1841;BA.debugLine="Private Cuenta1 As String = 0"; _cuenta1 = BA.NumberToString(0); - //BA.debugLineNum = 1718;BA.debugLine="Private arti1 As String = 0"; + //BA.debugLineNum = 1842;BA.debugLine="Private arti1 As String = 0"; _arti1 = BA.NumberToString(0); - //BA.debugLineNum = 1719;BA.debugLine="If vc2.RowCount > 0 Then"; + //BA.debugLineNum = 1843;BA.debugLine="If vc2.RowCount > 0 Then"; if (_vc2.getRowCount()>0) { - //BA.debugLineNum = 1720;BA.debugLine="For h = 0 To vc2.RowCount - 1"; + //BA.debugLineNum = 1844;BA.debugLine="For h = 0 To vc2.RowCount - 1"; { final int step49 = 1; final int limit49 = (int) (_vc2.getRowCount()-1); _h = (int) (0) ; for (;_h <= limit49 ;_h = _h + step49 ) { - //BA.debugLineNum = 1721;BA.debugLine="vc2.Position = h"; + //BA.debugLineNum = 1845;BA.debugLine="vc2.Position = h"; _vc2.setPosition(_h); - //BA.debugLineNum = 1722;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt"; + //BA.debugLineNum = 1846;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 = 1723;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu"; + //BA.debugLineNum = 1847;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 = 1724;BA.debugLine="If vc3.RowCount > 0 Then"; + //BA.debugLineNum = 1848;BA.debugLine="If vc3.RowCount > 0 Then"; if (_vc3.getRowCount()>0) { - //BA.debugLineNum = 1725;BA.debugLine="vc3.Position = 0"; + //BA.debugLineNum = 1849;BA.debugLine="vc3.Position = 0"; _vc3.setPosition((int) (0)); - //BA.debugLineNum = 1726;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC"; + //BA.debugLineNum = 1850;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 = 1727;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\")"; + //BA.debugLineNum = 1851;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 = 1733;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer"; + //BA.debugLineNum = 1857;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 = 1734;BA.debugLine="Private Cuenta2 As String = 0"; + //BA.debugLineNum = 1858;BA.debugLine="Private Cuenta2 As String = 0"; _cuenta2 = BA.NumberToString(0); - //BA.debugLineNum = 1735;BA.debugLine="Private arti2 As String = 0"; + //BA.debugLineNum = 1859;BA.debugLine="Private arti2 As String = 0"; _arti2 = BA.NumberToString(0); - //BA.debugLineNum = 1736;BA.debugLine="If vc4.RowCount > 0 Then"; + //BA.debugLineNum = 1860;BA.debugLine="If vc4.RowCount > 0 Then"; if (_vc4.getRowCount()>0) { - //BA.debugLineNum = 1738;BA.debugLine="For k = 0 To vc4.RowCount - 1"; + //BA.debugLineNum = 1862;BA.debugLine="For k = 0 To vc4.RowCount - 1"; { final int step64 = 1; final int limit64 = (int) (_vc4.getRowCount()-1); _k = (int) (0) ; for (;_k <= limit64 ;_k = _k + step64 ) { - //BA.debugLineNum = 1739;BA.debugLine="vc4.Position = k"; + //BA.debugLineNum = 1863;BA.debugLine="vc4.Position = k"; _vc4.setPosition(_k); - //BA.debugLineNum = 1740;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; + //BA.debugLineNum = 1864;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { - //BA.debugLineNum = 1741;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; + //BA.debugLineNum = 1865;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1742;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO"; + //BA.debugLineNum = 1866;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 = 1743;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; + //BA.debugLineNum = 1867;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 = 1745;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec"; + //BA.debugLineNum = 1869;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 = 1746;BA.debugLine="If vc5.RowCount > 0 Then"; + //BA.debugLineNum = 1870;BA.debugLine="If vc5.RowCount > 0 Then"; if (_vc5.getRowCount()>0) { - //BA.debugLineNum = 1747;BA.debugLine="vc5.Position= 0"; + //BA.debugLineNum = 1871;BA.debugLine="vc5.Position= 0"; _vc5.setPosition((int) (0)); - //BA.debugLineNum = 1749;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_"; + //BA.debugLineNum = 1873;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 = 1750;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\""; + //BA.debugLineNum = 1874;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"))))); }; }; @@ -325,135 +334,135 @@ _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double } }; }; - //BA.debugLineNum = 1759;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery"; + //BA.debugLineNum = 1883;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 = 1760;BA.debugLine="Private Cuenta3 As String = 0"; + //BA.debugLineNum = 1884;BA.debugLine="Private Cuenta3 As String = 0"; _cuenta3 = BA.NumberToString(0); - //BA.debugLineNum = 1761;BA.debugLine="Private arti3 As String = 0"; + //BA.debugLineNum = 1885;BA.debugLine="Private arti3 As String = 0"; _arti3 = BA.NumberToString(0); - //BA.debugLineNum = 1762;BA.debugLine="If c4.RowCount > 0 Then"; + //BA.debugLineNum = 1886;BA.debugLine="If c4.RowCount > 0 Then"; if (_c4.getRowCount()>0) { - //BA.debugLineNum = 1763;BA.debugLine="For x = 0 To c4.RowCount -1"; + //BA.debugLineNum = 1887;BA.debugLine="For x = 0 To c4.RowCount -1"; { final int step85 = 1; final int limit85 = (int) (_c4.getRowCount()-1); _x = (int) (0) ; for (;_x <= limit85 ;_x = _x + step85 ) { - //BA.debugLineNum = 1764;BA.debugLine="c4.Position = x"; + //BA.debugLineNum = 1888;BA.debugLine="c4.Position = x"; _c4.setPosition(_x); - //BA.debugLineNum = 1765;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; + //BA.debugLineNum = 1889;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; _arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); - //BA.debugLineNum = 1766;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_"; + //BA.debugLineNum = 1890;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 = 1771;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen"; + //BA.debugLineNum = 1895;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 = 1772;BA.debugLine="Private TOTALcantidad As String = arti + arti"; + //BA.debugLineNum = 1896;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 = 1774;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD"; + //BA.debugLineNum = 1898;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 = 1775;BA.debugLine="Log(\"si entre2\")"; -__c.LogImpl("850135152","si entre2",0); + //BA.debugLineNum = 1899;BA.debugLine="Log(\"si entre2\")"; +__c.LogImpl("042991728","si entre2",0); }else if((_estatus).equals("RECHAZADO")) { - //BA.debugLineNum = 1779;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; + //BA.debugLineNum = 1903;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_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO, HVD_COSTO_TOT 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 = 1781;BA.debugLine="Private cuenta0 As String = 0"; + //BA.debugLineNum = 1905;BA.debugLine="Private cuenta0 As String = 0"; _cuenta0 = BA.NumberToString(0); - //BA.debugLineNum = 1782;BA.debugLine="Private arti As String = 0"; + //BA.debugLineNum = 1906;BA.debugLine="Private arti As String = 0"; _arti = BA.NumberToString(0); - //BA.debugLineNum = 1783;BA.debugLine="If vc.RowCount > 0 Then"; + //BA.debugLineNum = 1907;BA.debugLine="If vc.RowCount > 0 Then"; if (_vc.getRowCount()>0) { - //BA.debugLineNum = 1784;BA.debugLine="For a = 0 To vc.RowCount - 1"; + //BA.debugLineNum = 1908;BA.debugLine="For a = 0 To vc.RowCount - 1"; { final int step100 = 1; final int limit100 = (int) (_vc.getRowCount()-1); _a = (int) (0) ; for (;_a <= limit100 ;_a = _a + step100 ) { - //BA.debugLineNum = 1785;BA.debugLine="vc.Position = a"; + //BA.debugLineNum = 1909;BA.debugLine="vc.Position = a"; _vc.setPosition(_a); - //BA.debugLineNum = 1786;BA.debugLine="Dim preu As Float = NumberFormat2(vc.GetStr"; + //BA.debugLineNum = 1910;BA.debugLine="Dim preu As Float = NumberFormat2(vc.GetStr"; _preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc.GetString("HVD_CANT"))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 1788;BA.debugLine="arti = arti + (vc.GetString(\"HVD_RECHAZOCAN"; + //BA.debugLineNum = 1912;BA.debugLine="arti = arti + (vc.GetString(\"HVD_RECHAZOCAN"; _arti = BA.NumberToString((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble((_vc.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 1789;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_REC"; + //BA.debugLineNum = 1913;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_REC"; _cuenta0 = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+((double)(Double.parseDouble((_vc.GetString("HVD_RECHAZOCANT"))))*_preu)); } }; }; - //BA.debugLineNum = 1794;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer"; + //BA.debugLineNum = 1918;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 = 1795;BA.debugLine="Private Cuenta1 As String = 0"; + //BA.debugLineNum = 1919;BA.debugLine="Private Cuenta1 As String = 0"; _cuenta1 = BA.NumberToString(0); - //BA.debugLineNum = 1796;BA.debugLine="Private arti1 As String = 0"; + //BA.debugLineNum = 1920;BA.debugLine="Private arti1 As String = 0"; _arti1 = BA.NumberToString(0); - //BA.debugLineNum = 1797;BA.debugLine="If vc2.RowCount > 0 Then"; + //BA.debugLineNum = 1921;BA.debugLine="If vc2.RowCount > 0 Then"; if (_vc2.getRowCount()>0) { - //BA.debugLineNum = 1798;BA.debugLine="For h = 0 To vc2.RowCount - 1"; + //BA.debugLineNum = 1922;BA.debugLine="For h = 0 To vc2.RowCount - 1"; { final int step111 = 1; final int limit111 = (int) (_vc2.getRowCount()-1); _h = (int) (0) ; for (;_h <= limit111 ;_h = _h + step111 ) { - //BA.debugLineNum = 1799;BA.debugLine="vc2.Position = h"; + //BA.debugLineNum = 1923;BA.debugLine="vc2.Position = h"; _vc2.setPosition(_h); - //BA.debugLineNum = 1800;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt"; + //BA.debugLineNum = 1924;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 = 1801;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu"; + //BA.debugLineNum = 1925;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 = 1802;BA.debugLine="If vc3.RowCount > 0 Then"; + //BA.debugLineNum = 1926;BA.debugLine="If vc3.RowCount > 0 Then"; if (_vc3.getRowCount()>0) { - //BA.debugLineNum = 1803;BA.debugLine="vc3.Position = 0"; + //BA.debugLineNum = 1927;BA.debugLine="vc3.Position = 0"; _vc3.setPosition((int) (0)); - //BA.debugLineNum = 1804;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"HVD_R"; + //BA.debugLineNum = 1928;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"HVD_R"; _cuenta1 = BA.NumberToString((double)(Double.parseDouble(_cuenta1))+(((double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT")))/(double)(double)(Double.parseDouble(_vc3.GetString("CONVERSION"))))*_preu)); - //BA.debugLineNum = 1805;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_RECHAZ"; + //BA.debugLineNum = 1929;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_RECHAZ"; _arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble((_vc2.GetString("HVD_RECHAZOCANT"))))); }; } }; }; - //BA.debugLineNum = 1811;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer"; + //BA.debugLineNum = 1935;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 = 1812;BA.debugLine="Private Cuenta2 As String = 0"; + //BA.debugLineNum = 1936;BA.debugLine="Private Cuenta2 As String = 0"; _cuenta2 = BA.NumberToString(0); - //BA.debugLineNum = 1813;BA.debugLine="Private arti2 As String = 0"; + //BA.debugLineNum = 1937;BA.debugLine="Private arti2 As String = 0"; _arti2 = BA.NumberToString(0); - //BA.debugLineNum = 1814;BA.debugLine="If vc4.RowCount > 0 Then"; + //BA.debugLineNum = 1938;BA.debugLine="If vc4.RowCount > 0 Then"; if (_vc4.getRowCount()>0) { - //BA.debugLineNum = 1816;BA.debugLine="For k = 0 To vc4.RowCount - 1"; + //BA.debugLineNum = 1940;BA.debugLine="For k = 0 To vc4.RowCount - 1"; { final int step126 = 1; final int limit126 = (int) (_vc4.getRowCount()-1); _k = (int) (0) ; for (;_k <= limit126 ;_k = _k + step126 ) { - //BA.debugLineNum = 1817;BA.debugLine="vc4.Position = k"; + //BA.debugLineNum = 1941;BA.debugLine="vc4.Position = k"; _vc4.setPosition(_k); - //BA.debugLineNum = 1818;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; + //BA.debugLineNum = 1942;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { - //BA.debugLineNum = 1819;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; + //BA.debugLineNum = 1943;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1820;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO"; + //BA.debugLineNum = 1944;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 = 1821;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_RECHAZ"; + //BA.debugLineNum = 1945;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_RECHAZ"; _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT")))); }else { - //BA.debugLineNum = 1823;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec"; + //BA.debugLineNum = 1947;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 = 1824;BA.debugLine="If vc5.RowCount > 0 Then"; + //BA.debugLineNum = 1948;BA.debugLine="If vc5.RowCount > 0 Then"; if (_vc5.getRowCount()>0) { - //BA.debugLineNum = 1825;BA.debugLine="vc5.Position= 0"; + //BA.debugLineNum = 1949;BA.debugLine="vc5.Position= 0"; _vc5.setPosition((int) (0)); - //BA.debugLineNum = 1827;BA.debugLine="Cuenta2 = Cuenta2 +(( vc4.GetString(\"HVD"; + //BA.debugLineNum = 1951;BA.debugLine="Cuenta2 = Cuenta2 +(( vc4.GetString(\"HVD"; _cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+((double)(Double.parseDouble((_vc4.GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_vc5.GetString("CAT_GP_PRECIO"))))); - //BA.debugLineNum = 1828;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_RECHA"; + //BA.debugLineNum = 1952;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_RECHA"; _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble((_vc4.GetString("HVD_RECHAZOCANT"))))); }; }; @@ -461,51 +470,51 @@ _arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double. } }; }; - //BA.debugLineNum = 1837;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery"; + //BA.debugLineNum = 1961;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 = 1838;BA.debugLine="Private Cuenta3 As String = 0"; + //BA.debugLineNum = 1962;BA.debugLine="Private Cuenta3 As String = 0"; _cuenta3 = BA.NumberToString(0); - //BA.debugLineNum = 1839;BA.debugLine="Private arti3 As String = 0"; + //BA.debugLineNum = 1963;BA.debugLine="Private arti3 As String = 0"; _arti3 = BA.NumberToString(0); - //BA.debugLineNum = 1840;BA.debugLine="If c4.RowCount > 0 Then"; + //BA.debugLineNum = 1964;BA.debugLine="If c4.RowCount > 0 Then"; if (_c4.getRowCount()>0) { - //BA.debugLineNum = 1841;BA.debugLine="For x = 0 To c4.RowCount -1"; + //BA.debugLineNum = 1965;BA.debugLine="For x = 0 To c4.RowCount -1"; { final int step147 = 1; final int limit147 = (int) (_c4.getRowCount()-1); _x = (int) (0) ; for (;_x <= limit147 ;_x = _x + step147 ) { - //BA.debugLineNum = 1842;BA.debugLine="c4.Position = x"; + //BA.debugLineNum = 1966;BA.debugLine="c4.Position = x"; _c4.setPosition(_x); - //BA.debugLineNum = 1843;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; + //BA.debugLineNum = 1967;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; _arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); - //BA.debugLineNum = 1844;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_"; + //BA.debugLineNum = 1968;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 = 1849;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen"; + //BA.debugLineNum = 1973;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 = 1850;BA.debugLine="Private TOTALcantidad As String = arti + arti"; + //BA.debugLineNum = 1974;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 = 1852;BA.debugLine="Log(\"si entre\")"; -__c.LogImpl("850135229","si entre",0); - //BA.debugLineNum = 1853;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD"; + //BA.debugLineNum = 1976;BA.debugLine="Log(\"si entre\")"; +__c.LogImpl("042991805","si entre",0); + //BA.debugLineNum = 1977;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 = 1888;BA.debugLine="End Sub"; + //BA.debugLineNum = 2012;BA.debugLine="End Sub"; return ""; } public String _b_mapa_click() throws Exception{ - //BA.debugLineNum = 1607;BA.debugLine="Sub b_mapa_Click"; - //BA.debugLineNum = 1609;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; + //BA.debugLineNum = 1731;BA.debugLine="Sub b_mapa_Click"; + //BA.debugLineNum = 1733;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; _b4xpages._showpage /*String*/ (ba,"mapas"); - //BA.debugLineNum = 1610;BA.debugLine="End Sub"; + //BA.debugLineNum = 1734;BA.debugLine="End Sub"; return ""; } public String _b_rechazos_click() throws Exception{ @@ -514,126 +523,126 @@ int _i = 0; String _itemtext = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; String _resta = ""; - //BA.debugLineNum = 1936;BA.debugLine="Private Sub b_rechazos_Click"; - //BA.debugLineNum = 1937;BA.debugLine="Dim label1 As Label"; + //BA.debugLineNum = 2060;BA.debugLine="Private Sub b_rechazos_Click"; + //BA.debugLineNum = 2061;BA.debugLine="Dim label1 As Label"; _label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 1938;BA.debugLine="label1 = lv_prod_Prin.SingleLineLayout.Label"; + //BA.debugLineNum = 2062;BA.debugLine="label1 = lv_prod_Prin.SingleLineLayout.Label"; _label1 = _lv_prod_prin.getSingleLineLayout().Label; - //BA.debugLineNum = 1939;BA.debugLine="label1.TextSize = 14"; + //BA.debugLineNum = 2063;BA.debugLine="label1.TextSize = 14"; _label1.setTextSize((float) (14)); - //BA.debugLineNum = 1940;BA.debugLine="p_prod.Width = Root.Width"; + //BA.debugLineNum = 2064;BA.debugLine="p_prod.Width = Root.Width"; _p_prod.setWidth(_root.getWidth()); - //BA.debugLineNum = 1941;BA.debugLine="p_prod.Height = Root.Height"; + //BA.debugLineNum = 2065;BA.debugLine="p_prod.Height = Root.Height"; _p_prod.setHeight(_root.getHeight()); - //BA.debugLineNum = 1942;BA.debugLine="b_regreso.Left = (p_prod.Width - b_regreso.Width)"; + //BA.debugLineNum = 2066;BA.debugLine="b_regreso.Left = (p_prod.Width - b_regreso.Width)"; _b_regreso.setLeft((int) ((_p_prod.getWidth()-_b_regreso.getWidth())/(double)2)); - //BA.debugLineNum = 1943;BA.debugLine="b_regreso.Top = p_prod.Height - b_regreso.Height"; + //BA.debugLineNum = 2067;BA.debugLine="b_regreso.Top = p_prod.Height - b_regreso.Height"; _b_regreso.setTop((int) (_p_prod.getHeight()-_b_regreso.getHeight())); - //BA.debugLineNum = 1945;BA.debugLine="p_prod.Visible = True"; + //BA.debugLineNum = 2069;BA.debugLine="p_prod.Visible = True"; _p_prod.setVisible(__c.True); - //BA.debugLineNum = 1946;BA.debugLine="p_prod.BringToFront"; + //BA.debugLineNum = 2070;BA.debugLine="p_prod.BringToFront"; _p_prod.BringToFront(); - //BA.debugLineNum = 1951;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; + //BA.debugLineNum = 2075;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 = 1953;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C"; + //BA.debugLineNum = 2077;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C"; _lv_prod_prin.getSingleLineLayout().Label.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 1954;BA.debugLine="lv_prod_Prin.Clear"; + //BA.debugLineNum = 2078;BA.debugLine="lv_prod_Prin.Clear"; _lv_prod_prin.Clear(); - //BA.debugLineNum = 1955;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 2079;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 1956;BA.debugLine="For i = 0 To c.RowCount - 1"; + //BA.debugLineNum = 2080;BA.debugLine="For i = 0 To c.RowCount - 1"; { final int step14 = 1; final int limit14 = (int) (_c.getRowCount()-1); _i = (int) (0) ; for (;_i <= limit14 ;_i = _i + step14 ) { - //BA.debugLineNum = 1957;BA.debugLine="c.Position = i"; + //BA.debugLineNum = 2081;BA.debugLine="c.Position = i"; _c.setPosition(_i); - //BA.debugLineNum = 1958;BA.debugLine="Dim itemText As String"; + //BA.debugLineNum = 2082;BA.debugLine="Dim itemText As String"; _itemtext = ""; - //BA.debugLineNum = 1960;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 2084;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 = 1961;BA.debugLine="Private resta As String = 0"; + //BA.debugLineNum = 2085;BA.debugLine="Private resta As String = 0"; _resta = BA.NumberToString(0); - //BA.debugLineNum = 1963;BA.debugLine="If c3.RowCount > 0 Then"; + //BA.debugLineNum = 2087;BA.debugLine="If c3.RowCount > 0 Then"; if (_c3.getRowCount()>0) { - //BA.debugLineNum = 1964;BA.debugLine="c3.Position = 0"; + //BA.debugLineNum = 2088;BA.debugLine="c3.Position = 0"; _c3.setPosition((int) (0)); - //BA.debugLineNum = 1965;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; + //BA.debugLineNum = 2089;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; _resta = _c3.GetString("PE_CANT"); }else { - //BA.debugLineNum = 1967;BA.debugLine="resta = 0"; + //BA.debugLineNum = 2091;BA.debugLine="resta = 0"; _resta = BA.NumberToString(0); }; - //BA.debugLineNum = 1969;BA.debugLine="If ( c.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; + //BA.debugLineNum = 2093;BA.debugLine="If ( c.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; if ((_c.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { }else { - //BA.debugLineNum = 1972;BA.debugLine="itemText = $\"${c.GetString(\"HVD_PRONOMBRE\")} $"; + //BA.debugLineNum = 2096;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 = 1973;BA.debugLine="lv_prod_Prin.AddSingleLine(itemText)"; + //BA.debugLineNum = 2097;BA.debugLine="lv_prod_Prin.AddSingleLine(itemText)"; _lv_prod_prin.AddSingleLine(BA.ObjectToCharSequence(_itemtext)); }; } }; }else { - //BA.debugLineNum = 1979;BA.debugLine="lv_prod_Prin.AddSingleLine(\"No hay datos disponi"; + //BA.debugLineNum = 2103;BA.debugLine="lv_prod_Prin.AddSingleLine(\"No hay datos disponi"; _lv_prod_prin.AddSingleLine(BA.ObjectToCharSequence("No hay datos disponibles.")); }; - //BA.debugLineNum = 1981;BA.debugLine="c.Close"; + //BA.debugLineNum = 2105;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 1982;BA.debugLine="End Sub"; + //BA.debugLineNum = 2106;BA.debugLine="End Sub"; return ""; } public String _b_regresa_click() throws Exception{ - //BA.debugLineNum = 1890;BA.debugLine="Sub B_REGRESA_Click"; - //BA.debugLineNum = 1891;BA.debugLine="Log(\"B_REGRESA_Click\")"; -__c.LogImpl("850200577","B_REGRESA_Click",0); - //BA.debugLineNum = 1892;BA.debugLine="BUSCA.Visible = False"; + //BA.debugLineNum = 2014;BA.debugLine="Sub B_REGRESA_Click"; + //BA.debugLineNum = 2015;BA.debugLine="Log(\"B_REGRESA_Click\")"; +__c.LogImpl("043057153","B_REGRESA_Click",0); + //BA.debugLineNum = 2016;BA.debugLine="BUSCA.Visible = False"; _busca.setVisible(__c.False); - //BA.debugLineNum = 1893;BA.debugLine="connecta.Visible = True"; + //BA.debugLineNum = 2017;BA.debugLine="connecta.Visible = True"; _connecta.setVisible(__c.True); - //BA.debugLineNum = 1894;BA.debugLine="trabajar.Visible = True"; + //BA.debugLineNum = 2018;BA.debugLine="trabajar.Visible = True"; _trabajar.setVisible(__c.True); - //BA.debugLineNum = 1895;BA.debugLine="B_CLIEPROD.Visible = True"; + //BA.debugLineNum = 2019;BA.debugLine="B_CLIEPROD.Visible = True"; _b_clieprod.setVisible(__c.True); - //BA.debugLineNum = 1896;BA.debugLine="Panel1.Visible = False"; + //BA.debugLineNum = 2020;BA.debugLine="Panel1.Visible = False"; _panel1.setVisible(__c.False); - //BA.debugLineNum = 1897;BA.debugLine="Btn_Ubicar_Ru.Visible=True"; + //BA.debugLineNum = 2021;BA.debugLine="Btn_Ubicar_Ru.Visible=True"; _btn_ubicar_ru.setVisible(__c.True); - //BA.debugLineNum = 1898;BA.debugLine="End Sub"; + //BA.debugLineNum = 2022;BA.debugLine="End Sub"; return ""; } public String _b_regreso_click() throws Exception{ - //BA.debugLineNum = 1984;BA.debugLine="Private Sub b_regreso_Click"; - //BA.debugLineNum = 1985;BA.debugLine="p_prod.Visible = False"; + //BA.debugLineNum = 2108;BA.debugLine="Private Sub b_regreso_Click"; + //BA.debugLineNum = 2109;BA.debugLine="p_prod.Visible = False"; _p_prod.setVisible(__c.False); - //BA.debugLineNum = 1986;BA.debugLine="End Sub"; + //BA.debugLineNum = 2110;BA.debugLine="End Sub"; return ""; } public String _b_tabulador_click() throws Exception{ - //BA.debugLineNum = 1911;BA.debugLine="Private Sub b_tabulador_Click"; - //BA.debugLineNum = 1912;BA.debugLine="If b_check.Visible = True Then"; + //BA.debugLineNum = 2035;BA.debugLine="Private Sub b_tabulador_Click"; + //BA.debugLineNum = 2036;BA.debugLine="If b_check.Visible = True Then"; if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 1913;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; + //BA.debugLineNum = 2037;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 = 1915;BA.debugLine="B4XPages.ShowPage(\"tabulador\")"; + //BA.debugLineNum = 2039;BA.debugLine="B4XPages.ShowPage(\"tabulador\")"; _b4xpages._showpage /*String*/ (ba,"tabulador"); }; - //BA.debugLineNum = 1917;BA.debugLine="End Sub"; + //BA.debugLineNum = 2041;BA.debugLine="End Sub"; return ""; } public String _b_venta_emp_click() throws Exception{ - //BA.debugLineNum = 1992;BA.debugLine="Private Sub b_venta_emp_Click"; - //BA.debugLineNum = 1993;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; + //BA.debugLineNum = 2116;BA.debugLine="Private Sub b_venta_emp_Click"; + //BA.debugLineNum = 2117;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 1994;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; + //BA.debugLineNum = 2118;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 = 1995;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; + //BA.debugLineNum = 2119;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 1996;BA.debugLine="End Sub"; + //BA.debugLineNum = 2120;BA.debugLine="End Sub"; return ""; } public String _b4xpage_appear() throws Exception{ @@ -668,676 +677,678 @@ double _rescant4 = 0; double _rescant5 = 0; double _rescant6 = 0; double _rescant7 = 0; - //BA.debugLineNum = 162;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 164;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; + //BA.debugLineNum = 171;BA.debugLine="Sub B4XPage_Appear"; + //BA.debugLineNum = 173;BA.debugLine="lVersionName.Text = \"Version: \" & Application.Ver"; +_lversionname.setText(BA.ObjectToCharSequence("Version: "+__c.Application.getVersionName())); + //BA.debugLineNum = 174;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 = 165;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 175;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 166;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; + //BA.debugLineNum = 176;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 = 168;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; + //BA.debugLineNum = 178;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 = 169;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 179;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 170;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; + //BA.debugLineNum = 180;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 = 173;BA.debugLine="b_check.visible = False"; + //BA.debugLineNum = 183;BA.debugLine="b_check.visible = False"; _b_check.setVisible(__c.False); - //BA.debugLineNum = 174;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; + //BA.debugLineNum = 184;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; _subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 187;BA.debugLine="If EJECUTANDO = 0 Then"; + //BA.debugLineNum = 197;BA.debugLine="If EJECUTANDO = 0 Then"; if ((_ejecutando).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 188;BA.debugLine="Listo1 = 0"; + //BA.debugLineNum = 198;BA.debugLine="Listo1 = 0"; _listo1 = BA.NumberToString(0); - //BA.debugLineNum = 189;BA.debugLine="Listo2 = 0"; + //BA.debugLineNum = 199;BA.debugLine="Listo2 = 0"; _listo2 = BA.NumberToString(0); - //BA.debugLineNum = 190;BA.debugLine="Listo3 = 0"; + //BA.debugLineNum = 200;BA.debugLine="Listo3 = 0"; _listo3 = BA.NumberToString(0); - //BA.debugLineNum = 191;BA.debugLine="Listo4 = 0"; + //BA.debugLineNum = 201;BA.debugLine="Listo4 = 0"; _listo4 = BA.NumberToString(0); - //BA.debugLineNum = 192;BA.debugLine="Listo5 = 0"; + //BA.debugLineNum = 202;BA.debugLine="Listo5 = 0"; _listo5 = BA.NumberToString(0); - //BA.debugLineNum = 193;BA.debugLine="inve = 0"; + //BA.debugLineNum = 203;BA.debugLine="inve = 0"; _inve = BA.NumberToString(0); - //BA.debugLineNum = 194;BA.debugLine="img2.Visible =False"; + //BA.debugLineNum = 204;BA.debugLine="img2.Visible =False"; _img2.setVisible(__c.False); }; - //BA.debugLineNum = 196;BA.debugLine="l_ruta.Text = 0"; + //BA.debugLineNum = 206;BA.debugLine="l_ruta.Text = 0"; _l_ruta.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 197;BA.debugLine="f=Starter.skmt.ExecQuery(\"select rutaa from rutaa"; + //BA.debugLineNum = 207;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 = 198;BA.debugLine="If f.RowCount > 0 Then"; + //BA.debugLineNum = 208;BA.debugLine="If f.RowCount > 0 Then"; if (_f.getRowCount()>0) { - //BA.debugLineNum = 199;BA.debugLine="f.Position = 0"; + //BA.debugLineNum = 209;BA.debugLine="f.Position = 0"; _f.setPosition((int) (0)); - //BA.debugLineNum = 200;BA.debugLine="l_ruta.Text = f.GetString(\"RUTAA\")"; + //BA.debugLineNum = 210;BA.debugLine="l_ruta.Text = f.GetString(\"RUTAA\")"; _l_ruta.setText(BA.ObjectToCharSequence(_f.GetString("RUTAA"))); }; - //BA.debugLineNum = 202;BA.debugLine="f.Close"; + //BA.debugLineNum = 212;BA.debugLine="f.Close"; _f.Close(); - //BA.debugLineNum = 203;BA.debugLine="If l_ruta.Text = 0 Then"; + //BA.debugLineNum = 213;BA.debugLine="If l_ruta.Text = 0 Then"; if ((_l_ruta.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 204;BA.debugLine="l_ruta.Text = 0"; + //BA.debugLineNum = 214;BA.debugLine="l_ruta.Text = 0"; _l_ruta.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 205;BA.debugLine="l_rutasP.Text = 0"; + //BA.debugLineNum = 215;BA.debugLine="l_rutasP.Text = 0"; _l_rutasp.setText(BA.ObjectToCharSequence(0)); }else { - //BA.debugLineNum = 207;BA.debugLine="f=Starter.skmt.ExecQuery(\"select distinct CAT_CL"; + //BA.debugLineNum = 217;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 = 209;BA.debugLine="l_rutasP.Text = \"\""; + //BA.debugLineNum = 219;BA.debugLine="l_rutasP.Text = \"\""; _l_rutasp.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 210;BA.debugLine="For i = 0 To f.RowCount - 1"; + //BA.debugLineNum = 220;BA.debugLine="For i = 0 To f.RowCount - 1"; { -final int step33 = 1; -final int limit33 = (int) (_f.getRowCount()-1); +final int step34 = 1; +final int limit34 = (int) (_f.getRowCount()-1); _i = (int) (0) ; -for (;_i <= limit33 ;_i = _i + step33 ) { - //BA.debugLineNum = 211;BA.debugLine="f.Position = i"; +for (;_i <= limit34 ;_i = _i + step34 ) { + //BA.debugLineNum = 221;BA.debugLine="f.Position = i"; _f.setPosition(_i); - //BA.debugLineNum = 212;BA.debugLine="If i = 0 Then"; + //BA.debugLineNum = 222;BA.debugLine="If i = 0 Then"; if (_i==0) { - //BA.debugLineNum = 213;BA.debugLine="l_rutasP.Text = f.GetString(\"CAT_CL_RUTA\")"; + //BA.debugLineNum = 223;BA.debugLine="l_rutasP.Text = f.GetString(\"CAT_CL_RUTA\")"; _l_rutasp.setText(BA.ObjectToCharSequence(_f.GetString("CAT_CL_RUTA"))); }else { - //BA.debugLineNum = 215;BA.debugLine="l_rutasP.Text = l_rutasP.Text & \", \" & f.GetSt"; + //BA.debugLineNum = 225;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 = 218;BA.debugLine="f.Close"; + //BA.debugLineNum = 228;BA.debugLine="f.Close"; _f.Close(); }; - //BA.debugLineNum = 220;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; + //BA.debugLineNum = 230;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 221;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 231;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; _fecha = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 222;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; + //BA.debugLineNum = 232;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 = 223;BA.debugLine="b.Position=0"; + //BA.debugLineNum = 233;BA.debugLine="b.Position=0"; _b.setPosition((int) (0)); - //BA.debugLineNum = 224;BA.debugLine="If b.RowCount > 0 Then Cuantos = b.GetString(\"CUA"; + //BA.debugLineNum = 234;BA.debugLine="If b.RowCount > 0 Then Cuantos = b.GetString(\"CUA"; if (_b.getRowCount()>0) { _cuantos = _b.GetString("CUANTOS");}; - //BA.debugLineNum = 225;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 = 226;BA.debugLine="D.Position=0"; + //BA.debugLineNum = 235;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 = 236;BA.debugLine="D.Position=0"; _d.setPosition((int) (0)); - //BA.debugLineNum = 227;BA.debugLine="b.Close"; + //BA.debugLineNum = 237;BA.debugLine="b.Close"; _b.Close(); - //BA.debugLineNum = 228;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 = 229;BA.debugLine="e.Position=0"; + //BA.debugLineNum = 238;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 = 239;BA.debugLine="e.Position=0"; _e.setPosition((int) (0)); - //BA.debugLineNum = 240;BA.debugLine="cargar.Visible = False"; + //BA.debugLineNum = 250;BA.debugLine="cargar.Visible = False"; _cargar.setVisible(__c.False); - //BA.debugLineNum = 241;BA.debugLine="Subir.Visible = False"; + //BA.debugLineNum = 251;BA.debugLine="Subir.Visible = False"; _subir.setVisible(__c.False); - //BA.debugLineNum = 242;BA.debugLine="connecta.Visible = True"; + //BA.debugLineNum = 252;BA.debugLine="connecta.Visible = True"; _connecta.setVisible(__c.True); - //BA.debugLineNum = 244;BA.debugLine="If Cuantos = 0 Then"; + //BA.debugLineNum = 254;BA.debugLine="If Cuantos = 0 Then"; if ((_cuantos).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 245;BA.debugLine="l_aLiquidar.Text = 0"; + //BA.debugLineNum = 255;BA.debugLine="l_aLiquidar.Text = 0"; _l_aliquidar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 246;BA.debugLine="l_cuantosc.Text = 0"; + //BA.debugLineNum = 256;BA.debugLine="l_cuantosc.Text = 0"; _l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 247;BA.debugLine="l_cuantosn.Text = 0"; + //BA.debugLineNum = 257;BA.debugLine="l_cuantosn.Text = 0"; _l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 248;BA.debugLine="drop = 0"; + //BA.debugLineNum = 258;BA.debugLine="drop = 0"; _drop = 0; - //BA.debugLineNum = 249;BA.debugLine="l_montoSalida.Text = 0"; + //BA.debugLineNum = 259;BA.debugLine="l_montoSalida.Text = 0"; _l_montosalida.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 250;BA.debugLine="efectiva = 0"; + //BA.debugLineNum = 260;BA.debugLine="efectiva = 0"; _efectiva = 0; - //BA.debugLineNum = 253;BA.debugLine="L_MONTOE.Text = 0"; + //BA.debugLineNum = 263;BA.debugLine="L_MONTOE.Text = 0"; _l_montoe.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 254;BA.debugLine="l_ctast.Text = 0"; + //BA.debugLineNum = 264;BA.debugLine="l_ctast.Text = 0"; _l_ctast.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 255;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; + //BA.debugLineNum = 265;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 = 256;BA.debugLine="l_porvisitar.Text = 0"; + //BA.debugLineNum = 266;BA.debugLine="l_porvisitar.Text = 0"; _l_porvisitar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 257;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; + //BA.debugLineNum = 267;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 = 258;BA.debugLine="d.Close"; + //BA.debugLineNum = 268;BA.debugLine="d.Close"; _d.Close(); - //BA.debugLineNum = 259;BA.debugLine="e.Close"; + //BA.debugLineNum = 269;BA.debugLine="e.Close"; _e.Close(); }else { - //BA.debugLineNum = 261;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(hvd_costo_t"; + //BA.debugLineNum = 271;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 = 262;BA.debugLine="f1=Starter.skmt.ExecQuery(\"select sum(hvd_costo_"; + //BA.debugLineNum = 272;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 = 263;BA.debugLine="f2=Starter.skmt.ExecQuery(\"select sum(REP_COSTO_"; + //BA.debugLineNum = 273;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 = 265;BA.debugLine="b=Starter.skmt.ExecQuery(\"select count(DISTINCT"; + //BA.debugLineNum = 275;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 = 267;BA.debugLine="L=Starter.skmt.ExecQuery(\"select count(DISTINCT"; + //BA.debugLineNum = 277;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 = 268;BA.debugLine="f2.Position=0"; + //BA.debugLineNum = 278;BA.debugLine="f2.Position=0"; _f2.setPosition((int) (0)); - //BA.debugLineNum = 271;BA.debugLine="Private MONTO_REC_DIA = 0"; + //BA.debugLineNum = 281;BA.debugLine="Private MONTO_REC_DIA = 0"; _monto_rec_dia = BA.NumberToString(0); - //BA.debugLineNum = 272;BA.debugLine="If f2.GetString(\"MONTO_REC_DIA\") <> Null Then MO"; + //BA.debugLineNum = 282;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 = 283;BA.debugLine="C.Position = 0"; + //BA.debugLineNum = 293;BA.debugLine="C.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 284;BA.debugLine="b.Position = 0"; + //BA.debugLineNum = 294;BA.debugLine="b.Position = 0"; _b.setPosition((int) (0)); - //BA.debugLineNum = 285;BA.debugLine="L.Position = 0"; + //BA.debugLineNum = 295;BA.debugLine="L.Position = 0"; _l.setPosition((int) (0)); - //BA.debugLineNum = 286;BA.debugLine="f1.Position = 0"; + //BA.debugLineNum = 296;BA.debugLine="f1.Position = 0"; _f1.setPosition((int) (0)); - //BA.debugLineNum = 287;BA.debugLine="l_aLiquidar.Text = 0"; + //BA.debugLineNum = 297;BA.debugLine="l_aLiquidar.Text = 0"; _l_aliquidar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 288;BA.debugLine="If f1.RowCount > 0 Then l_aLiquidar.Text = to_nu"; + //BA.debugLineNum = 298;BA.debugLine="If f1.RowCount > 0 Then l_aLiquidar.Text = to_nu"; if (_f1.getRowCount()>0) { _l_aliquidar.setText(BA.ObjectToCharSequence(_to_number_vb((Object)(_f1.GetString("MONTO_TOTAL_DIA")))));}; - //BA.debugLineNum = 289;BA.debugLine="L_MONTOE.Text = 0"; + //BA.debugLineNum = 299;BA.debugLine="L_MONTOE.Text = 0"; _l_montoe.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 291;BA.debugLine="l_cuantosc.Text = 0"; + //BA.debugLineNum = 301;BA.debugLine="l_cuantosc.Text = 0"; _l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 292;BA.debugLine="If L.RowCount > 0 Then l_cuantosc.Text = L.GetSt"; + //BA.debugLineNum = 302;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 = 293;BA.debugLine="l_cuantosn.Text = 0"; + //BA.debugLineNum = 303;BA.debugLine="l_cuantosn.Text = 0"; _l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 294;BA.debugLine="If b.RowCount > 0 Then l_cuantosn.Text = b.GetSt"; + //BA.debugLineNum = 304;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 = 296;BA.debugLine="If f1.GetString(\"MONTO_TOTAL_DIA\") <> Null Then"; + //BA.debugLineNum = 306;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 = 298;BA.debugLine="l_ctast.Text = 0"; + //BA.debugLineNum = 308;BA.debugLine="l_ctast.Text = 0"; _l_ctast.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 299;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; + //BA.debugLineNum = 309;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 = 300;BA.debugLine="l_porvisitar.Text = 0"; + //BA.debugLineNum = 310;BA.debugLine="l_porvisitar.Text = 0"; _l_porvisitar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 301;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; + //BA.debugLineNum = 311;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 = 302;BA.debugLine="c.Close"; + //BA.debugLineNum = 312;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 303;BA.debugLine="b.Close"; + //BA.debugLineNum = 313;BA.debugLine="b.Close"; _b.Close(); - //BA.debugLineNum = 314;BA.debugLine="c.Close"; + //BA.debugLineNum = 324;BA.debugLine="c.Close"; _c.Close(); }; - //BA.debugLineNum = 316;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; + //BA.debugLineNum = 326;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 = 317;BA.debugLine="C.Position =0"; + //BA.debugLineNum = 327;BA.debugLine="C.Position =0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 318;BA.debugLine="ALMACEN = 0"; + //BA.debugLineNum = 328;BA.debugLine="ALMACEN = 0"; _almacen = BA.NumberToString(0); - //BA.debugLineNum = 319;BA.debugLine="If C.RowCount > 0 Then ALMACEN = C.GetString(\"ID_"; + //BA.debugLineNum = 329;BA.debugLine="If C.RowCount > 0 Then ALMACEN = C.GetString(\"ID_"; if (_c.getRowCount()>0) { _almacen = _c.GetString("ID_ALMACEN");}; - //BA.debugLineNum = 320;BA.debugLine="B4XPages.MainPage.almacen = ALMACEN"; + //BA.debugLineNum = 330;BA.debugLine="B4XPages.MainPage.almacen = ALMACEN"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ = _almacen; - //BA.debugLineNum = 321;BA.debugLine="C.Close"; + //BA.debugLineNum = 331;BA.debugLine="C.Close"; _c.Close(); - //BA.debugLineNum = 322;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HGDATE, HGLAT, H"; + //BA.debugLineNum = 332;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 = 324;BA.debugLine="If c.RowCount>0 Then"; + //BA.debugLineNum = 334;BA.debugLine="If c.RowCount>0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 325;BA.debugLine="For i=0 To c.RowCount -1"; + //BA.debugLineNum = 335;BA.debugLine="For i=0 To c.RowCount -1"; { -final int step107 = 1; -final int limit107 = (int) (_c.getRowCount()-1); +final int step108 = 1; +final int limit108 = (int) (_c.getRowCount()-1); _i = (int) (0) ; -for (;_i <= limit107 ;_i = _i + step107 ) { - //BA.debugLineNum = 326;BA.debugLine="c.Position=i"; +for (;_i <= limit108 ;_i = _i + step108 ) { + //BA.debugLineNum = 336;BA.debugLine="c.Position=i"; _c.setPosition(_i); - //BA.debugLineNum = 327;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 337;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 328;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 338;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 329;BA.debugLine="cmd.Name = \"insert_gps_actual_REP\""; + //BA.debugLineNum = 339;BA.debugLine="cmd.Name = \"insert_gps_actual_REP\""; _cmd.Name /*String*/ = "insert_gps_actual_REP"; - //BA.debugLineNum = 330;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"h"; + //BA.debugLineNum = 340;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 = 334;BA.debugLine="bu.Initialize"; + //BA.debugLineNum = 344;BA.debugLine="bu.Initialize"; _bu._initialize /*String*/ (ba); - //BA.debugLineNum = 335;BA.debugLine="batterystatus = bu.BatteryInformation"; + //BA.debugLineNum = 345;BA.debugLine="batterystatus = bu.BatteryInformation"; _batterystatus = _bu._getbatteryinformation /*int[]*/ (); - //BA.debugLineNum = 337;BA.debugLine="B4XPages.MainPage.batt = batterystatus(0)"; + //BA.debugLineNum = 347;BA.debugLine="B4XPages.MainPage.batt = batterystatus(0)"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._batt /*int*/ = _batterystatus[(int) (0)]; - //BA.debugLineNum = 338;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; + //BA.debugLineNum = 348;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 = 339;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 349;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 340;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; + //BA.debugLineNum = 350;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; _usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 341;BA.debugLine="c.Close"; + //BA.debugLineNum = 351;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 342;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTAA"; + //BA.debugLineNum = 352;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 = 343;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 353;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 344;BA.debugLine="RUTA_T = 0"; + //BA.debugLineNum = 354;BA.debugLine="RUTA_T = 0"; _ruta_t = BA.NumberToString(0); - //BA.debugLineNum = 345;BA.debugLine="If c.RowCount > 0 Then RUTA_T = c.GetString(\"RUTA"; + //BA.debugLineNum = 355;BA.debugLine="If c.RowCount > 0 Then RUTA_T = c.GetString(\"RUTA"; if (_c.getRowCount()>0) { _ruta_t = _c.GetString("RUTAA");}; - //BA.debugLineNum = 346;BA.debugLine="B4XPages.MainPage.rutaPreventa = RUTA_T"; + //BA.debugLineNum = 356;BA.debugLine="B4XPages.MainPage.rutaPreventa = RUTA_T"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _ruta_t; - //BA.debugLineNum = 347;BA.debugLine="c.Close"; + //BA.debugLineNum = 357;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 348;BA.debugLine="reqs.Initialize"; + //BA.debugLineNum = 358;BA.debugLine="reqs.Initialize"; _reqs.Initialize(); - //BA.debugLineNum = 350;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 360;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 = 352;BA.debugLine="If rc.RowCount > 0 Then"; + //BA.debugLineNum = 362;BA.debugLine="If rc.RowCount > 0 Then"; if (_rc.getRowCount()>0) { - //BA.debugLineNum = 353;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from RECHAZOS"; + //BA.debugLineNum = 363;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from RECHAZOS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from RECHAZOS")); - //BA.debugLineNum = 354;BA.debugLine="For i3=0 To rc.RowCount -1 'Copiamos los rechazo"; + //BA.debugLineNum = 364;BA.debugLine="For i3=0 To rc.RowCount -1 'Copiamos los rechazo"; { -final int step132 = 1; -final int limit132 = (int) (_rc.getRowCount()-1); +final int step133 = 1; +final int limit133 = (int) (_rc.getRowCount()-1); _i3 = (int) (0) ; -for (;_i3 <= limit132 ;_i3 = _i3 + step132 ) { - //BA.debugLineNum = 355;BA.debugLine="rc.Position = i3"; +for (;_i3 <= limit133 ;_i3 = _i3 + step133 ) { + //BA.debugLineNum = 365;BA.debugLine="rc.Position = i3"; _rc.setPosition(_i3); - //BA.debugLineNum = 358;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into RECHAZO"; + //BA.debugLineNum = 368;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 = 361;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 371;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 = 363;BA.debugLine="If vc.RowCount > 0 Then"; + //BA.debugLineNum = 373;BA.debugLine="If vc.RowCount > 0 Then"; if (_vc.getRowCount()>0) { - //BA.debugLineNum = 364;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from VENTAS\"$"; + //BA.debugLineNum = 374;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from VENTAS\"$"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from VENTAS")); - //BA.debugLineNum = 365;BA.debugLine="For i4=0 To vc.RowCount -1 'Copiamos las ventas"; + //BA.debugLineNum = 375;BA.debugLine="For i4=0 To vc.RowCount -1 'Copiamos las ventas"; { -final int step140 = 1; -final int limit140 = (int) (_vc.getRowCount()-1); +final int step141 = 1; +final int limit141 = (int) (_vc.getRowCount()-1); _i4 = (int) (0) ; -for (;_i4 <= limit140 ;_i4 = _i4 + step140 ) { - //BA.debugLineNum = 366;BA.debugLine="vc.Position = i4"; +for (;_i4 <= limit141 ;_i4 = _i4 + step141 ) { + //BA.debugLineNum = 376;BA.debugLine="vc.Position = i4"; _vc.setPosition(_i4); - //BA.debugLineNum = 369;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into VENTAS("; + //BA.debugLineNum = 379;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 = 372;BA.debugLine="Starter.ENVIA_ULTIMA_GPS"; + //BA.debugLineNum = 382;BA.debugLine="Starter.ENVIA_ULTIMA_GPS"; _starter._envia_ultima_gps /*String*/ (); - //BA.debugLineNum = 377;BA.debugLine="Dim entMap As Map = Subs.traeEntregados"; + //BA.debugLineNum = 387;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 = 378;BA.debugLine="Dim rechMap As Map = Subs.traeRechazados"; + //BA.debugLineNum = 388;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 = 379;BA.debugLine="Dim vendMap As Map = Subs.traeVendidos"; + //BA.debugLineNum = 389;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 = 380;BA.debugLine="l_aLiquidar.Text = entMap.Get(\"monto\") + vendMap."; + //BA.debugLineNum = 390;BA.debugLine="l_aLiquidar.Text = entMap.Get(\"monto\") + vendMap."; _l_aliquidar.setText(BA.ObjectToCharSequence((double)(BA.ObjectToNumber(_entmap.Get((Object)("monto"))))+(double)(BA.ObjectToNumber(_vendmap.Get((Object)("monto")))))); - //BA.debugLineNum = 382;BA.debugLine="Dim cancelrecha As Cursor = Starter.skmt.ExecQuer"; + //BA.debugLineNum = 392;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 = 383;BA.debugLine="If cancelrecha.RowCount > 0 Then"; + //BA.debugLineNum = 393;BA.debugLine="If cancelrecha.RowCount > 0 Then"; if (_cancelrecha.getRowCount()>0) { - //BA.debugLineNum = 384;BA.debugLine="For h54 = 0 To cancelrecha.RowCount - 1"; + //BA.debugLineNum = 394;BA.debugLine="For h54 = 0 To cancelrecha.RowCount - 1"; { -final int step152 = 1; -final int limit152 = (int) (_cancelrecha.getRowCount()-1); +final int step153 = 1; +final int limit153 = (int) (_cancelrecha.getRowCount()-1); _h54 = (int) (0) ; -for (;_h54 <= limit152 ;_h54 = _h54 + step152 ) { - //BA.debugLineNum = 385;BA.debugLine="cancelrecha.Position = h54"; +for (;_h54 <= limit153 ;_h54 = _h54 + step153 ) { + //BA.debugLineNum = 395;BA.debugLine="cancelrecha.Position = h54"; _cancelrecha.setPosition(_h54); - //BA.debugLineNum = 386;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update HIST_VENTAS"; + //BA.debugLineNum = 396;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 = 389;BA.debugLine="cancelrecha.Close"; + //BA.debugLineNum = 399;BA.debugLine="cancelrecha.Close"; _cancelrecha.Close(); - //BA.debugLineNum = 393;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 403;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 = 395;BA.debugLine="Private rescant As String = 0"; + //BA.debugLineNum = 405;BA.debugLine="Private rescant As String = 0"; _rescant = BA.NumberToString(0); - //BA.debugLineNum = 396;BA.debugLine="If r5.RowCount > 0 Then"; + //BA.debugLineNum = 406;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 397;BA.debugLine="For j4 = 0 To r5.RowCount -1"; + //BA.debugLineNum = 407;BA.debugLine="For j4 = 0 To r5.RowCount -1"; { -final int step161 = 1; -final int limit161 = (int) (_r5.getRowCount()-1); +final int step162 = 1; +final int limit162 = (int) (_r5.getRowCount()-1); _j4 = (int) (0) ; -for (;_j4 <= limit161 ;_j4 = _j4 + step161 ) { - //BA.debugLineNum = 398;BA.debugLine="r5.Position = j4"; +for (;_j4 <= limit162 ;_j4 = _j4 + step162 ) { + //BA.debugLineNum = 408;BA.debugLine="r5.Position = j4"; _r5.setPosition(_j4); - //BA.debugLineNum = 399;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; + //BA.debugLineNum = 409;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 = 400;BA.debugLine="Dim totalcantped As String"; + //BA.debugLineNum = 410;BA.debugLine="Dim totalcantped As String"; _totalcantped = ""; - //BA.debugLineNum = 401;BA.debugLine="If r6.RowCount > 0 Then"; + //BA.debugLineNum = 411;BA.debugLine="If r6.RowCount > 0 Then"; if (_r6.getRowCount()>0) { - //BA.debugLineNum = 402;BA.debugLine="r6.Position = 0"; + //BA.debugLineNum = 412;BA.debugLine="r6.Position = 0"; _r6.setPosition((int) (0)); - //BA.debugLineNum = 403;BA.debugLine="totalcantped = r6.GetString(\"PE_CANT\")"; + //BA.debugLineNum = 413;BA.debugLine="totalcantped = r6.GetString(\"PE_CANT\")"; _totalcantped = _r6.GetString("PE_CANT"); }else { - //BA.debugLineNum = 406;BA.debugLine="totalcantped = 0"; + //BA.debugLineNum = 416;BA.debugLine="totalcantped = 0"; _totalcantped = BA.NumberToString(0); }; - //BA.debugLineNum = 409;BA.debugLine="Log(r5.GetString(\"HVD_RECHAZOCANT\") &\" - \"& tot"; -__c.LogImpl("849086711",_r5.GetString("HVD_RECHAZOCANT")+" - "+_totalcantped,0); - //BA.debugLineNum = 410;BA.debugLine="rescant = rescant + ((r5.GetString(\"HVD_COSTO_T"; + //BA.debugLineNum = 419;BA.debugLine="Log(r5.GetString(\"HVD_RECHAZOCANT\") &\" - \"& tot"; +__c.LogImpl("041877752",_r5.GetString("HVD_RECHAZOCANT")+" - "+_totalcantped,0); + //BA.debugLineNum = 420;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 = 412;BA.debugLine="r6.Close"; + //BA.debugLineNum = 422;BA.debugLine="r6.Close"; _r6.Close(); } }; }; - //BA.debugLineNum = 415;BA.debugLine="If rescant = \"NaN\" Then rescant = 0"; + //BA.debugLineNum = 425;BA.debugLine="If rescant = \"NaN\" Then rescant = 0"; if ((_rescant).equals("NaN")) { _rescant = BA.NumberToString(0);}; - //BA.debugLineNum = 416;BA.debugLine="LogColor(rescant,Colors.Red)"; -__c.LogImpl("849086718",_rescant,__c.Colors.Red); - //BA.debugLineNum = 417;BA.debugLine="r5.Close"; + //BA.debugLineNum = 426;BA.debugLine="LogColor(rescant,Colors.Red)"; +__c.LogImpl("041877759",_rescant,__c.Colors.Red); + //BA.debugLineNum = 427;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 421;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 431;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 = 425;BA.debugLine="Private rescant2 As Double = 0"; + //BA.debugLineNum = 435;BA.debugLine="Private rescant2 As Double = 0"; _rescant2 = 0; - //BA.debugLineNum = 426;BA.debugLine="If r5.RowCount > 0 Then"; + //BA.debugLineNum = 436;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 427;BA.debugLine="For j5 = 0 To r5.RowCount -1"; + //BA.debugLineNum = 437;BA.debugLine="For j5 = 0 To r5.RowCount -1"; { -final int step182 = 1; -final int limit182 = (int) (_r5.getRowCount()-1); +final int step183 = 1; +final int limit183 = (int) (_r5.getRowCount()-1); _j5 = (int) (0) ; -for (;_j5 <= limit182 ;_j5 = _j5 + step182 ) { - //BA.debugLineNum = 428;BA.debugLine="r5.Position = j5"; +for (;_j5 <= limit183 ;_j5 = _j5 + step183 ) { + //BA.debugLineNum = 438;BA.debugLine="r5.Position = j5"; _r5.setPosition(_j5); - //BA.debugLineNum = 429;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; + //BA.debugLineNum = 439;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 = 430;BA.debugLine="r6.Position = 0"; + //BA.debugLineNum = 440;BA.debugLine="r6.Position = 0"; _r6.setPosition((int) (0)); - //BA.debugLineNum = 432;BA.debugLine="rescant2 = rescant2 + ((r5.GetString(\"HVD_COSTO"; + //BA.debugLineNum = 442;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 = 433;BA.debugLine="rescant2 = NumberFormat2(rescant2, 0, 2, 2, Fal"; + //BA.debugLineNum = 443;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 = 434;BA.debugLine="r6.Close"; + //BA.debugLineNum = 444;BA.debugLine="r6.Close"; _r6.Close(); } }; }; - //BA.debugLineNum = 437;BA.debugLine="If rescant2 = \"NaN\" Then rescant2 = 0"; + //BA.debugLineNum = 447;BA.debugLine="If rescant2 = \"NaN\" Then rescant2 = 0"; if (_rescant2==(double)(Double.parseDouble("NaN"))) { _rescant2 = 0;}; - //BA.debugLineNum = 438;BA.debugLine="Log(rescant2)"; -__c.LogImpl("849086740",BA.NumberToString(_rescant2),0); - //BA.debugLineNum = 439;BA.debugLine="r5.Close"; + //BA.debugLineNum = 448;BA.debugLine="Log(rescant2)"; +__c.LogImpl("041877781",BA.NumberToString(_rescant2),0); + //BA.debugLineNum = 449;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 444;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; + //BA.debugLineNum = 454;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 = 446;BA.debugLine="Private rescantr As String = 0"; + //BA.debugLineNum = 456;BA.debugLine="Private rescantr As String = 0"; _rescantr = BA.NumberToString(0); - //BA.debugLineNum = 447;BA.debugLine="If r5r.RowCount > 0 Then"; + //BA.debugLineNum = 457;BA.debugLine="If r5r.RowCount > 0 Then"; if (_r5r.getRowCount()>0) { - //BA.debugLineNum = 448;BA.debugLine="For j4r = 0 To r5r.RowCount -1"; + //BA.debugLineNum = 458;BA.debugLine="For j4r = 0 To r5r.RowCount -1"; { -final int step197 = 1; -final int limit197 = (int) (_r5r.getRowCount()-1); +final int step198 = 1; +final int limit198 = (int) (_r5r.getRowCount()-1); _j4r = (int) (0) ; -for (;_j4r <= limit197 ;_j4r = _j4r + step197 ) { - //BA.debugLineNum = 449;BA.debugLine="r5r.Position = j4r"; +for (;_j4r <= limit198 ;_j4r = _j4r + step198 ) { + //BA.debugLineNum = 459;BA.debugLine="r5r.Position = j4r"; _r5r.setPosition(_j4r); - //BA.debugLineNum = 450;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; + //BA.debugLineNum = 460;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")))+"' ")))); - //BA.debugLineNum = 451;BA.debugLine="r6r.Position = 0"; + //BA.debugLineNum = 461;BA.debugLine="r6r.Position = 0"; _r6r.setPosition((int) (0)); - //BA.debugLineNum = 454;BA.debugLine="rescantr = rescantr + ((r5r.GetString(\"HVD_COST"; + //BA.debugLineNum = 464;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 = 455;BA.debugLine="r6r.Close"; + //BA.debugLineNum = 465;BA.debugLine="r6r.Close"; _r6r.Close(); } }; }; - //BA.debugLineNum = 458;BA.debugLine="If rescantr = \"NaN\" Then rescantr = 0"; + //BA.debugLineNum = 468;BA.debugLine="If rescantr = \"NaN\" Then rescantr = 0"; if ((_rescantr).equals("NaN")) { _rescantr = BA.NumberToString(0);}; - //BA.debugLineNum = 460;BA.debugLine="r5r.Close"; + //BA.debugLineNum = 470;BA.debugLine="r5r.Close"; _r5r.Close(); - //BA.debugLineNum = 462;BA.debugLine="Log(rescantr)"; -__c.LogImpl("849086764",_rescantr,0); - //BA.debugLineNum = 464;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; + //BA.debugLineNum = 472;BA.debugLine="Log(rescantr)"; +__c.LogImpl("041877805",_rescantr,0); + //BA.debugLineNum = 474;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 = 468;BA.debugLine="Private rescant2r As String = 0"; + //BA.debugLineNum = 478;BA.debugLine="Private rescant2r As String = 0"; _rescant2r = BA.NumberToString(0); - //BA.debugLineNum = 469;BA.debugLine="If r5r.RowCount > 0 Then"; + //BA.debugLineNum = 479;BA.debugLine="If r5r.RowCount > 0 Then"; if (_r5r.getRowCount()>0) { - //BA.debugLineNum = 470;BA.debugLine="For j5r = 0 To r5r.RowCount -1"; + //BA.debugLineNum = 480;BA.debugLine="For j5r = 0 To r5r.RowCount -1"; { -final int step211 = 1; -final int limit211 = (int) (_r5r.getRowCount()-1); +final int step212 = 1; +final int limit212 = (int) (_r5r.getRowCount()-1); _j5r = (int) (0) ; -for (;_j5r <= limit211 ;_j5r = _j5r + step211 ) { - //BA.debugLineNum = 471;BA.debugLine="r5r.Position = j5r"; +for (;_j5r <= limit212 ;_j5r = _j5r + step212 ) { + //BA.debugLineNum = 481;BA.debugLine="r5r.Position = j5r"; _r5r.setPosition(_j5r); - //BA.debugLineNum = 472;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; + //BA.debugLineNum = 482;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")))+"'")))); - //BA.debugLineNum = 473;BA.debugLine="r6r.Position = 0"; + //BA.debugLineNum = 483;BA.debugLine="r6r.Position = 0"; _r6r.setPosition((int) (0)); - //BA.debugLineNum = 475;BA.debugLine="rescant2r = rescant2r + ((r5r.GetString(\"HVD_CO"; + //BA.debugLineNum = 485;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 = 476;BA.debugLine="r6r.Close"; + //BA.debugLineNum = 486;BA.debugLine="r6r.Close"; _r6r.Close(); } }; }; - //BA.debugLineNum = 479;BA.debugLine="If rescant2r = \"NaN\" Then rescant2r = 0"; + //BA.debugLineNum = 489;BA.debugLine="If rescant2r = \"NaN\" Then rescant2r = 0"; if ((_rescant2r).equals("NaN")) { _rescant2r = BA.NumberToString(0);}; - //BA.debugLineNum = 481;BA.debugLine="r5r.Close"; + //BA.debugLineNum = 491;BA.debugLine="r5r.Close"; _r5r.Close(); - //BA.debugLineNum = 482;BA.debugLine="Log(rescant2r)"; -__c.LogImpl("849086784",_rescant2r,0); - //BA.debugLineNum = 483;BA.debugLine="Log(rescant2r+rescantr)"; -__c.LogImpl("849086785",BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(double)(Double.parseDouble(_rescantr))),0); - //BA.debugLineNum = 499;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\""; + //BA.debugLineNum = 492;BA.debugLine="Log(rescant2r)"; +__c.LogImpl("041877825",_rescant2r,0); + //BA.debugLineNum = 493;BA.debugLine="Log(rescant2r+rescantr)"; +__c.LogImpl("041877826",BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(double)(Double.parseDouble(_rescantr))),0); + //BA.debugLineNum = 509;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 = 500;BA.debugLine="Private rescant3 As Double"; + //BA.debugLineNum = 510;BA.debugLine="Private rescant3 As Double"; _rescant3 = 0; - //BA.debugLineNum = 501;BA.debugLine="If r55.RowCount > 0 Then"; + //BA.debugLineNum = 511;BA.debugLine="If r55.RowCount > 0 Then"; if (_r55.getRowCount()>0) { - //BA.debugLineNum = 502;BA.debugLine="For r75 = 0 To r55.RowCount -1"; + //BA.debugLineNum = 512;BA.debugLine="For r75 = 0 To r55.RowCount -1"; { -final int step226 = 1; -final int limit226 = (int) (_r55.getRowCount()-1); +final int step227 = 1; +final int limit227 = (int) (_r55.getRowCount()-1); _r75 = (int) (0) ; -for (;_r75 <= limit226 ;_r75 = _r75 + step226 ) { - //BA.debugLineNum = 503;BA.debugLine="r55.Position = r75"; +for (;_r75 <= limit227 ;_r75 = _r75 + step227 ) { + //BA.debugLineNum = 513;BA.debugLine="r55.Position = r75"; _r55.setPosition(_r75); - //BA.debugLineNum = 504;BA.debugLine="rescant3 = rescant3 + r55.GetString(\"HVD_COSTO_"; + //BA.debugLineNum = 514;BA.debugLine="rescant3 = rescant3 + r55.GetString(\"HVD_COSTO_"; _rescant3 = _rescant3+(double)(Double.parseDouble(_r55.GetString("HVD_COSTO_TOT"))); - //BA.debugLineNum = 505;BA.debugLine="rescant3 = NumberFormat2(rescant3, 0, 2, 2, Fal"; + //BA.debugLineNum = 515;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 = 509;BA.debugLine="Log(rescant3)"; -__c.LogImpl("849086811",BA.NumberToString(_rescant3),0); - //BA.debugLineNum = 510;BA.debugLine="r55.Close"; + //BA.debugLineNum = 519;BA.debugLine="Log(rescant3)"; +__c.LogImpl("041877852",BA.NumberToString(_rescant3),0); + //BA.debugLineNum = 520;BA.debugLine="r55.Close"; _r55.Close(); - //BA.debugLineNum = 515;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 525;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 = 516;BA.debugLine="Private rescant4 As Double"; + //BA.debugLineNum = 526;BA.debugLine="Private rescant4 As Double"; _rescant4 = 0; - //BA.debugLineNum = 517;BA.debugLine="If r5.RowCount > 0 Then"; + //BA.debugLineNum = 527;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 518;BA.debugLine="r5.Position = 0"; + //BA.debugLineNum = 528;BA.debugLine="r5.Position = 0"; _r5.setPosition((int) (0)); - //BA.debugLineNum = 519;BA.debugLine="rescant4 = r5.GetString(\"HVD_COSTO_TOT\")"; + //BA.debugLineNum = 529;BA.debugLine="rescant4 = r5.GetString(\"HVD_COSTO_TOT\")"; _rescant4 = (double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT"))); }; - //BA.debugLineNum = 521;BA.debugLine="Log(rescant4)"; -__c.LogImpl("849086823",BA.NumberToString(_rescant4),0); - //BA.debugLineNum = 522;BA.debugLine="r5.Close"; + //BA.debugLineNum = 531;BA.debugLine="Log(rescant4)"; +__c.LogImpl("041877864",BA.NumberToString(_rescant4),0); + //BA.debugLineNum = 532;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 524;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 534;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 ")))); - //BA.debugLineNum = 525;BA.debugLine="Private rescant5 As Double"; + //BA.debugLineNum = 535;BA.debugLine="Private rescant5 As Double"; _rescant5 = 0; - //BA.debugLineNum = 526;BA.debugLine="If r5.RowCount > 0 Then"; + //BA.debugLineNum = 536;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 527;BA.debugLine="r5.Position = 0"; + //BA.debugLineNum = 537;BA.debugLine="r5.Position = 0"; _r5.setPosition((int) (0)); - //BA.debugLineNum = 528;BA.debugLine="rescant5 = r5.GetString(\"PE_COSTO_TOT\")"; + //BA.debugLineNum = 538;BA.debugLine="rescant5 = r5.GetString(\"PE_COSTO_TOT\")"; _rescant5 = (double)(Double.parseDouble(_r5.GetString("PE_COSTO_TOT"))); }; - //BA.debugLineNum = 530;BA.debugLine="Log(rescant5)"; -__c.LogImpl("849086832",BA.NumberToString(_rescant5),0); - //BA.debugLineNum = 531;BA.debugLine="r5.Close"; + //BA.debugLineNum = 540;BA.debugLine="Log(rescant5)"; +__c.LogImpl("041877873",BA.NumberToString(_rescant5),0); + //BA.debugLineNum = 541;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 536;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 546;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 = 537;BA.debugLine="Private rescant6 As Double"; + //BA.debugLineNum = 547;BA.debugLine="Private rescant6 As Double"; _rescant6 = 0; - //BA.debugLineNum = 538;BA.debugLine="If r5.RowCount > 0 Then"; + //BA.debugLineNum = 548;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 539;BA.debugLine="For j4 = 0 To r5.RowCount -1"; + //BA.debugLineNum = 549;BA.debugLine="For j4 = 0 To r5.RowCount -1"; { -final int step253 = 1; -final int limit253 = (int) (_r5.getRowCount()-1); +final int step254 = 1; +final int limit254 = (int) (_r5.getRowCount()-1); _j4 = (int) (0) ; -for (;_j4 <= limit253 ;_j4 = _j4 + step253 ) { - //BA.debugLineNum = 540;BA.debugLine="r5.Position = j4"; +for (;_j4 <= limit254 ;_j4 = _j4 + step254 ) { + //BA.debugLineNum = 550;BA.debugLine="r5.Position = j4"; _r5.setPosition(_j4); - //BA.debugLineNum = 541;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; + //BA.debugLineNum = 551;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 = 542;BA.debugLine="r6.Position = 0"; + //BA.debugLineNum = 552;BA.debugLine="r6.Position = 0"; _r6.setPosition((int) (0)); - //BA.debugLineNum = 545;BA.debugLine="rescant6 = rescant6 + ((r5.GetString(\"HVD_COSTO"; + //BA.debugLineNum = 555;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 = 547;BA.debugLine="r6.Close"; + //BA.debugLineNum = 557;BA.debugLine="r6.Close"; _r6.Close(); } }; }; - //BA.debugLineNum = 550;BA.debugLine="If rescant6 = \"NaN\" Then rescant6 = 0"; + //BA.debugLineNum = 560;BA.debugLine="If rescant6 = \"NaN\" Then rescant6 = 0"; if (_rescant6==(double)(Double.parseDouble("NaN"))) { _rescant6 = 0;}; - //BA.debugLineNum = 551;BA.debugLine="LogColor(rescant6,Colors.Red)"; -__c.LogImpl("849086853",BA.NumberToString(_rescant6),__c.Colors.Red); - //BA.debugLineNum = 552;BA.debugLine="r5.Close"; + //BA.debugLineNum = 561;BA.debugLine="LogColor(rescant6,Colors.Red)"; +__c.LogImpl("041877894",BA.NumberToString(_rescant6),__c.Colors.Red); + //BA.debugLineNum = 562;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 554;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; + //BA.debugLineNum = 564;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 = 555;BA.debugLine="Private rescant7 As Double"; + //BA.debugLineNum = 565;BA.debugLine="Private rescant7 As Double"; _rescant7 = 0; - //BA.debugLineNum = 556;BA.debugLine="If r5.RowCount > 0 Then"; + //BA.debugLineNum = 566;BA.debugLine="If r5.RowCount > 0 Then"; if (_r5.getRowCount()>0) { - //BA.debugLineNum = 557;BA.debugLine="For j5 = 0 To r5.RowCount -1"; + //BA.debugLineNum = 567;BA.debugLine="For j5 = 0 To r5.RowCount -1"; { -final int step267 = 1; -final int limit267 = (int) (_r5.getRowCount()-1); +final int step268 = 1; +final int limit268 = (int) (_r5.getRowCount()-1); _j5 = (int) (0) ; -for (;_j5 <= limit267 ;_j5 = _j5 + step267 ) { - //BA.debugLineNum = 558;BA.debugLine="r5.Position = j5"; +for (;_j5 <= limit268 ;_j5 = _j5 + step268 ) { + //BA.debugLineNum = 568;BA.debugLine="r5.Position = j5"; _r5.setPosition(_j5); - //BA.debugLineNum = 559;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; + //BA.debugLineNum = 569;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 = 560;BA.debugLine="r6.Position = 0"; + //BA.debugLineNum = 570;BA.debugLine="r6.Position = 0"; _r6.setPosition((int) (0)); - //BA.debugLineNum = 562;BA.debugLine="rescant7 = rescant7 + ((r5.GetString(\"HVD_COSTO"; + //BA.debugLineNum = 572;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 = 563;BA.debugLine="r6.Close"; + //BA.debugLineNum = 573;BA.debugLine="r6.Close"; _r6.Close(); } }; }; - //BA.debugLineNum = 566;BA.debugLine="If rescant7 = \"NaN\" Then rescant7 = 0"; + //BA.debugLineNum = 576;BA.debugLine="If rescant7 = \"NaN\" Then rescant7 = 0"; if (_rescant7==(double)(Double.parseDouble("NaN"))) { _rescant7 = 0;}; - //BA.debugLineNum = 567;BA.debugLine="Log(rescant7)"; -__c.LogImpl("849086869",BA.NumberToString(_rescant7),0); - //BA.debugLineNum = 568;BA.debugLine="r5.Close"; + //BA.debugLineNum = 577;BA.debugLine="Log(rescant7)"; +__c.LogImpl("041877910",BA.NumberToString(_rescant7),0); + //BA.debugLineNum = 578;BA.debugLine="r5.Close"; _r5.Close(); - //BA.debugLineNum = 571;BA.debugLine="l_rechazo.text = NumberFormat2((rescant + rescant"; + //BA.debugLineNum = 581;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 = 572;BA.debugLine="L_MONTOE.Text = NumberFormat2((rescant3 + rescant"; + //BA.debugLineNum = 582;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 = 575;BA.debugLine="B4XPages.MainPage.clientesVisitados = L_MONTOE.Te"; + //BA.debugLineNum = 585;BA.debugLine="B4XPages.MainPage.clientesVisitados = L_MONTOE.Te"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesvisitados /*String*/ = _l_montoe.getText(); - //BA.debugLineNum = 576;BA.debugLine="B4XPages.MainPage.clientesVenta = l_cuantosc.Text"; + //BA.debugLineNum = 586;BA.debugLine="B4XPages.MainPage.clientesVenta = l_cuantosc.Text"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesventa /*String*/ = _l_cuantosc.getText(); - //BA.debugLineNum = 577;BA.debugLine="B4XPages.MainPage.clientesRechazo = l_cuantosn.Te"; + //BA.debugLineNum = 587;BA.debugLine="B4XPages.MainPage.clientesRechazo = l_cuantosn.Te"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesrechazo /*String*/ = _l_cuantosn.getText(); - //BA.debugLineNum = 578;BA.debugLine="B4XPages.MainPage.clientestotal = l_porvisitar.Te"; + //BA.debugLineNum = 588;BA.debugLine="B4XPages.MainPage.clientestotal = l_porvisitar.Te"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientestotal /*String*/ = _l_porvisitar.getText(); - //BA.debugLineNum = 579;BA.debugLine="B4XPages.MainPage.montoActual = Round2(l_montoSal"; + //BA.debugLineNum = 589;BA.debugLine="B4XPages.MainPage.montoActual = Round2(l_montoSal"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montoactual /*String*/ = BA.NumberToString(__c.Round2((double)(Double.parseDouble(_l_montosalida.getText()))-(double)(BA.ObjectToNumber(_rechmap.Get((Object)("monto")))),(int) (2))); - //BA.debugLineNum = 580;BA.debugLine="B4XPages.MainPage.porVisitar = l_ctast.text"; + //BA.debugLineNum = 590;BA.debugLine="B4XPages.MainPage.porVisitar = l_ctast.text"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._porvisitar /*String*/ = _l_ctast.getText(); - //BA.debugLineNum = 581;BA.debugLine="B4XPages.MainPage.entregas = l_cuantosc.text"; + //BA.debugLineNum = 591;BA.debugLine="B4XPages.MainPage.entregas = l_cuantosc.text"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._entregas /*String*/ = _l_cuantosc.getText(); - //BA.debugLineNum = 582;BA.debugLine="B4XPages.MainPage.rechazos = l_cuantosn.text"; + //BA.debugLineNum = 592;BA.debugLine="B4XPages.MainPage.rechazos = l_cuantosn.text"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._rechazos /*String*/ = _l_cuantosn.getText(); - //BA.debugLineNum = 583;BA.debugLine="B4XPages.MainPage.montoEntregado = L_MONTOE.text"; + //BA.debugLineNum = 593;BA.debugLine="B4XPages.MainPage.montoEntregado = L_MONTOE.text"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montoentregado /*String*/ = _l_montoe.getText(); - //BA.debugLineNum = 584;BA.debugLine="B4XPages.MainPage.montoRechazado = l_rechazo.text"; + //BA.debugLineNum = 594;BA.debugLine="B4XPages.MainPage.montoRechazado = l_rechazo.text"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montorechazado /*String*/ = _l_rechazo.getText(); - //BA.debugLineNum = 586;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; + //BA.debugLineNum = 596;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 589;BA.debugLine="If l_ctast.Text = 0 And l_porvisitar.Text <> 0 Th"; + //BA.debugLineNum = 599;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 = 590;BA.debugLine="Label9.Visible = True"; + //BA.debugLineNum = 600;BA.debugLine="Label9.Visible = True"; _label9.setVisible(__c.True); - //BA.debugLineNum = 591;BA.debugLine="L_MONTOE.Visible = True"; + //BA.debugLineNum = 601;BA.debugLine="L_MONTOE.Visible = True"; _l_montoe.setVisible(__c.True); - //BA.debugLineNum = 594;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from HIST_VEN"; + //BA.debugLineNum = 604;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from HIST_VEN"; _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 HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 595;BA.debugLine="If c.RowCount > 0 Then"; + //BA.debugLineNum = 605;BA.debugLine="If c.RowCount > 0 Then"; if (_c.getRowCount()>0) { - //BA.debugLineNum = 596;BA.debugLine="b_venta_emp.Visible = True"; + //BA.debugLineNum = 606;BA.debugLine="b_venta_emp.Visible = True"; _b_venta_emp.setVisible(__c.True); }else { - //BA.debugLineNum = 598;BA.debugLine="b_venta_emp.Visible = False"; + //BA.debugLineNum = 608;BA.debugLine="b_venta_emp.Visible = False"; _b_venta_emp.setVisible(__c.False); }; }else { - //BA.debugLineNum = 601;BA.debugLine="Label9.Visible = False"; + //BA.debugLineNum = 611;BA.debugLine="Label9.Visible = False"; _label9.setVisible(__c.False); - //BA.debugLineNum = 602;BA.debugLine="L_MONTOE.Visible = False"; + //BA.debugLineNum = 612;BA.debugLine="L_MONTOE.Visible = False"; _l_montoe.setVisible(__c.False); - //BA.debugLineNum = 603;BA.debugLine="b_venta_emp.Visible = False"; + //BA.debugLineNum = 613;BA.debugLine="b_venta_emp.Visible = False"; _b_venta_emp.setVisible(__c.False); }; - //BA.debugLineNum = 615;BA.debugLine="End Sub"; + //BA.debugLineNum = 625;BA.debugLine="End Sub"; return ""; } public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ @@ -1362,51 +1373,61 @@ parent.__c.ReturnFromResumableSub(this,null);return;} case 0: //C this.state = 1; - //BA.debugLineNum = 1562;BA.debugLine="If Panel1.visible Then"; + //BA.debugLineNum = 1684;BA.debugLine="If Panel1.visible Then"; if (true) break; case 1: //if -this.state = 8; +this.state = 10; if (parent._panel1.getVisible()) { this.state = 3; }else if(parent._p_prod.getVisible()) { this.state = 5; -}else { +}else if(parent._penvioinfo.getVisible()) { this.state = 7; +}else { +this.state = 9; }if (true) break; case 3: //C -this.state = 8; - //BA.debugLineNum = 1563;BA.debugLine="Log(\"PANEL1 VISIBLE\")"; -parent.__c.LogImpl("849676291","PANEL1 VISIBLE",0); - //BA.debugLineNum = 1564;BA.debugLine="B_REGRESA_Click"; +this.state = 10; + //BA.debugLineNum = 1685;BA.debugLine="Log(\"PANEL1 VISIBLE\")"; +parent.__c.LogImpl("042532867","PANEL1 VISIBLE",0); + //BA.debugLineNum = 1686;BA.debugLine="B_REGRESA_Click"; parent._b_regresa_click(); if (true) break; case 5: //C -this.state = 8; - //BA.debugLineNum = 1566;BA.debugLine="p_prod.Visible = False"; +this.state = 10; + //BA.debugLineNum = 1688;BA.debugLine="p_prod.Visible = False"; parent._p_prod.setVisible(parent.__c.False); if (true) break; case 7: //C -this.state = 8; - //BA.debugLineNum = 1568;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +this.state = 10; + //BA.debugLineNum = 1690;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 9: +//C +this.state = 10; + //BA.debugLineNum = 1692;BA.debugLine="B4XPages.ShowPage(\"Login\")"; parent._b4xpages._showpage /*String*/ (ba,"Login"); if (true) break; -case 8: +case 10: //C this.state = -1; ; - //BA.debugLineNum = 1571;BA.debugLine="Return False"; + //BA.debugLineNum = 1695;BA.debugLine="Return False"; if (true) { parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 1572;BA.debugLine="End Sub"; + //BA.debugLineNum = 1696;BA.debugLine="End Sub"; if (true) break; } @@ -1414,103 +1435,112 @@ if (true) break; } } public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 100;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 101;BA.debugLine="Root = Root1"; + //BA.debugLineNum = 109;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; + //BA.debugLineNum = 110;BA.debugLine="Root = Root1"; _root = _root1; - //BA.debugLineNum = 103;BA.debugLine="Root.LoadLayout(\"principal\")"; + //BA.debugLineNum = 112;BA.debugLine="Root.LoadLayout(\"principal\")"; _root.LoadLayout("principal",ba); - //BA.debugLineNum = 104;BA.debugLine="EJECUTANDO=1"; + //BA.debugLineNum = 113;BA.debugLine="EJECUTANDO=1"; _ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 105;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; + //BA.debugLineNum = 114;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 108;BA.debugLine="img2.Visible =False"; + //BA.debugLineNum = 117;BA.debugLine="img2.Visible =False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 109;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; + //BA.debugLineNum = 118;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; __c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 110;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 119;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; _fecha = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 112;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; + //BA.debugLineNum = 121;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 = 113;BA.debugLine="b.Position=0"; + //BA.debugLineNum = 122;BA.debugLine="b.Position=0"; _b.setPosition((int) (0)); - //BA.debugLineNum = 114;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; + //BA.debugLineNum = 123;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; _cuantos = _b.GetString("CUANTOS"); - //BA.debugLineNum = 115;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 = 116;BA.debugLine="D.Position=0"; + //BA.debugLineNum = 124;BA.debugLine="d=Starter.skmt.ExecQuery(\"select DISTINCT count(*"; +_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 DISTINCT count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000"))); + //BA.debugLineNum = 125;BA.debugLine="D.Position=0"; _d.setPosition((int) (0)); - //BA.debugLineNum = 117;BA.debugLine="b.Close"; + //BA.debugLineNum = 126;BA.debugLine="b.Close"; _b.Close(); - //BA.debugLineNum = 118;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 = 119;BA.debugLine="e.Position=0"; + //BA.debugLineNum = 127;BA.debugLine="e=Starter.skmt.ExecQuery(\"select DISTINCT count(*"; +_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 DISTINCT count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000"))); + //BA.debugLineNum = 128;BA.debugLine="e.Position=0"; _e.setPosition((int) (0)); - //BA.debugLineNum = 120;BA.debugLine="If Cuantos = 0 Then"; + //BA.debugLineNum = 129;BA.debugLine="If Cuantos = 0 Then"; if ((_cuantos).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 121;BA.debugLine="l_aLiquidar.Text = 0"; + //BA.debugLineNum = 130;BA.debugLine="l_aLiquidar.Text = 0"; _l_aliquidar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 122;BA.debugLine="l_cuantosc.Text = 0"; + //BA.debugLineNum = 131;BA.debugLine="l_cuantosc.Text = 0"; _l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 123;BA.debugLine="l_cuantosn.Text = 0"; + //BA.debugLineNum = 132;BA.debugLine="l_cuantosn.Text = 0"; _l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 124;BA.debugLine="drop = 0"; + //BA.debugLineNum = 133;BA.debugLine="drop = 0"; _drop = 0; - //BA.debugLineNum = 125;BA.debugLine="l_montoSalida.Text = 0"; + //BA.debugLineNum = 134;BA.debugLine="l_montoSalida.Text = 0"; _l_montosalida.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 126;BA.debugLine="efectiva = 0"; + //BA.debugLineNum = 135;BA.debugLine="efectiva = 0"; _efectiva = 0; - //BA.debugLineNum = 128;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; + //BA.debugLineNum = 137;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; _l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR"))); - //BA.debugLineNum = 129;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; + //BA.debugLineNum = 138;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; _l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR"))); }else { }; - //BA.debugLineNum = 148;BA.debugLine="b=Starter.skmt.ExecQuery(\"select id_almacen from"; + //BA.debugLineNum = 157;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 = 149;BA.debugLine="If b.RowCount > 0 Then"; + //BA.debugLineNum = 158;BA.debugLine="If b.RowCount > 0 Then"; if (_b.getRowCount()>0) { - //BA.debugLineNum = 151;BA.debugLine="b.Position = 0"; + //BA.debugLineNum = 160;BA.debugLine="b.Position = 0"; _b.setPosition((int) (0)); - //BA.debugLineNum = 153;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 162;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 154;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 163;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 155;BA.debugLine="cmd.Name = \"select_coords_almacen_MAZAPA\""; + //BA.debugLineNum = 164;BA.debugLine="cmd.Name = \"select_coords_almacen_MAZAPA\""; _cmd.Name /*String*/ = "select_coords_almacen_MAZAPA"; - //BA.debugLineNum = 156;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"ID"; + //BA.debugLineNum = 165;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"ID"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_b.GetString("ID_ALMACEN"))}; - //BA.debugLineNum = 157;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; + //BA.debugLineNum = 166;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("coords_almacen")); }; - //BA.debugLineNum = 159;BA.debugLine="B4XPages.MainPage.usuario=Subs.dameUsuarioDeDB"; + //BA.debugLineNum = 168;BA.debugLine="B4XPages.MainPage.usuario=Subs.dameUsuarioDeDB"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._usuario /*String*/ = _subs._dameusuariodedb /*String*/ (ba); - //BA.debugLineNum = 160;BA.debugLine="End Sub"; + //BA.debugLineNum = 169;BA.debugLine="End Sub"; +return ""; +} +public String _benvioinfo_click() throws Exception{ + //BA.debugLineNum = 1677;BA.debugLine="Private Sub bEnvioInfo_Click"; + //BA.debugLineNum = 1678;BA.debugLine="bEnvioInfo.Enabled = False"; +_benvioinfo.setEnabled(__c.False); + //BA.debugLineNum = 1679;BA.debugLine="pEnvioInfo.Visible = False"; +_penvioinfo.setVisible(__c.False); + //BA.debugLineNum = 1680;BA.debugLine="End Sub"; return ""; } public String _btn_ubicar_ru_click() throws Exception{ - //BA.debugLineNum = 1901;BA.debugLine="Sub Btn_Ubicar_Ru_Click"; - //BA.debugLineNum = 1902;BA.debugLine="If b_check.Visible = True Then"; + //BA.debugLineNum = 2025;BA.debugLine="Sub Btn_Ubicar_Ru_Click"; + //BA.debugLineNum = 2026;BA.debugLine="If b_check.Visible = True Then"; if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 1903;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; + //BA.debugLineNum = 2027;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 = 1906;BA.debugLine="StartActivity(MAPA_RUTAS)"; + //BA.debugLineNum = 2030;BA.debugLine="StartActivity(MAPA_RUTAS)"; __c.StartActivity(ba,(Object)(_mapa_rutas.getObject())); }; - //BA.debugLineNum = 1908;BA.debugLine="End Sub"; + //BA.debugLineNum = 2032;BA.debugLine="End Sub"; return ""; } public String _busca_click() throws Exception{ - //BA.debugLineNum = 1598;BA.debugLine="Sub BUSCA_Click"; - //BA.debugLineNum = 1599;BA.debugLine="If b_check.Visible = True Then"; + //BA.debugLineNum = 1722;BA.debugLine="Sub BUSCA_Click"; + //BA.debugLineNum = 1723;BA.debugLine="If b_check.Visible = True Then"; if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 1600;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; + //BA.debugLineNum = 1724;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 = 1603;BA.debugLine="B4XPages.ShowPage(\"Buscar\")"; + //BA.debugLineNum = 1727;BA.debugLine="B4XPages.ShowPage(\"Buscar\")"; _b4xpages._showpage /*String*/ (ba,"Buscar"); }; - //BA.debugLineNum = 1605;BA.debugLine="End Sub"; + //BA.debugLineNum = 1729;BA.debugLine="End Sub"; return ""; } public String _cargar_click() throws Exception{ @@ -1519,233 +1549,230 @@ String[] _fecha2 = null; String[] _fecha3 = null; String _dia = ""; String _dia2 = ""; - //BA.debugLineNum = 889;BA.debugLine="Sub cargar_Click"; - //BA.debugLineNum = 890;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; + //BA.debugLineNum = 973;BA.debugLine="Sub cargar_Click"; + //BA.debugLineNum = 974;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; _pedidodiaanterior = __c.False; - //BA.debugLineNum = 891;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select"; + //BA.debugLineNum = 975;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 = 892;BA.debugLine="If cp.RowCount > 0 Then"; + //BA.debugLineNum = 976;BA.debugLine="If cp.RowCount > 0 Then"; if (_cp.getRowCount()>0) { - //BA.debugLineNum = 893;BA.debugLine="cp.Position = 0"; + //BA.debugLineNum = 977;BA.debugLine="cp.Position = 0"; _cp.setPosition((int) (0)); - //BA.debugLineNum = 894;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; + //BA.debugLineNum = 978;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; _fecha = _cp.GetString("NV_FECHA"); - //BA.debugLineNum = 895;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; -__c.LogImpl("849545222",_cp.GetString("NV_FECHA"),0); - //BA.debugLineNum = 896;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; + //BA.debugLineNum = 979;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; +__c.LogImpl("042336262",_cp.GetString("NV_FECHA"),0); + //BA.debugLineNum = 980;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; _fecha2 = __c.Regex.Split(" ",_fecha); - //BA.debugLineNum = 897;BA.debugLine="Log(fecha2(0))"; -__c.LogImpl("849545224",_fecha2[(int) (0)],0); - //BA.debugLineNum = 898;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; + //BA.debugLineNum = 981;BA.debugLine="Log(fecha2(0))"; +__c.LogImpl("042336264",_fecha2[(int) (0)],0); + //BA.debugLineNum = 982;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; _fecha3 = __c.Regex.Split("/",_fecha2[(int) (0)]); - //BA.debugLineNum = 899;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; + //BA.debugLineNum = 983;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; __c.DateTime.setDateFormat("yyyyMMdd"); - //BA.debugLineNum = 900;BA.debugLine="DateTime.TimeFormat = \"\""; + //BA.debugLineNum = 984;BA.debugLine="DateTime.TimeFormat = \"\""; __c.DateTime.setTimeFormat(""); - //BA.debugLineNum = 901;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; + //BA.debugLineNum = 985;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; _dia = _fecha3[(int) (2)]+_fecha3[(int) (0)]+_fecha3[(int) (1)]; - //BA.debugLineNum = 902;BA.debugLine="Log(dia)"; -__c.LogImpl("849545229",_dia,0); - //BA.debugLineNum = 903;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 986;BA.debugLine="Log(dia)"; +__c.LogImpl("042336269",_dia,0); + //BA.debugLineNum = 987;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; _dia2 = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 904;BA.debugLine="Log(dia & \" , \" & dia2)"; -__c.LogImpl("849545231",_dia+" , "+_dia2,0); - //BA.debugLineNum = 905;BA.debugLine="If dia < dia2 Then"; + //BA.debugLineNum = 988;BA.debugLine="Log(dia & \" , \" & dia2)"; +__c.LogImpl("042336271",_dia+" , "+_dia2,0); + //BA.debugLineNum = 989;BA.debugLine="If dia < dia2 Then"; if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) { - //BA.debugLineNum = 906;BA.debugLine="pedidodiaanterior = True"; + //BA.debugLineNum = 990;BA.debugLine="pedidodiaanterior = True"; _pedidodiaanterior = __c.True; }; }; - //BA.debugLineNum = 909;BA.debugLine="If Not (pedidodiaanterior) Then"; + //BA.debugLineNum = 993;BA.debugLine="If Not (pedidodiaanterior) Then"; if (__c.Not(_pedidodiaanterior)) { - //BA.debugLineNum = 910;BA.debugLine="Log(\"CUMPLE\")"; -__c.LogImpl("849545237","CUMPLE",0); - //BA.debugLineNum = 911;BA.debugLine="EJECUTANDO = 1"; + //BA.debugLineNum = 994;BA.debugLine="Log(\"CUMPLE\")"; +__c.LogImpl("042336277","CUMPLE",0); + //BA.debugLineNum = 995;BA.debugLine="EJECUTANDO = 1"; _ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 912;BA.debugLine="reqs.Initialize"; + //BA.debugLineNum = 996;BA.debugLine="reqs.Initialize"; _reqs.Initialize(); - //BA.debugLineNum = 913;BA.debugLine="TOPE = 0"; + //BA.debugLineNum = 997;BA.debugLine="TOPE = 0"; _tope = (int) (0); - //BA.debugLineNum = 914;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; -__c.LogImpl("849545241",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 915;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; + //BA.debugLineNum = 998;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; +__c.LogImpl("042336281",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); + //BA.debugLineNum = 999;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; _reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 917;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1001;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 918;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1002;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 919;BA.debugLine="cmd.Name = \"insert_drop_rep_MAZAPA\""; -_cmd.Name /*String*/ = "insert_drop_rep_MAZAPA"; - //BA.debugLineNum = 920;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")}; - //BA.debugLineNum = 921;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; + //BA.debugLineNum = 1003;BA.debugLine="cmd.Name = \"insert_drop_rep_MAZAPA2\""; +_cmd.Name /*String*/ = "insert_drop_rep_MAZAPA2"; + //BA.debugLineNum = 1004;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 = 1005;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_drop")); - //BA.debugLineNum = 924;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; + //BA.debugLineNum = 1008;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); - //BA.debugLineNum = 925;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; + //BA.debugLineNum = 1009;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result"); - //BA.debugLineNum = 926;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; + //BA.debugLineNum = 1010;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest"); - //BA.debugLineNum = 927;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; + //BA.debugLineNum = 1011;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 928;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; + //BA.debugLineNum = 1012;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos"); - //BA.debugLineNum = 930;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; + //BA.debugLineNum = 1014;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PUNTEO_GPS"); - //BA.debugLineNum = 931;BA.debugLine="If l_ruta.Text = \"0\" Then '"; + //BA.debugLineNum = 1015;BA.debugLine="If l_ruta.Text = \"0\" Then '"; if ((_l_ruta.getText()).equals("0")) { - //BA.debugLineNum = 932;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; -__c.LogImpl("849545259","********************* No hay ruta, BORRAMOS TODO",0); - //BA.debugLineNum = 933;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; + //BA.debugLineNum = 1016;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; +__c.LogImpl("042336299","********************* No hay ruta, BORRAMOS TODO",0); + //BA.debugLineNum = 1017;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 934;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; + //BA.debugLineNum = 1018;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); - //BA.debugLineNum = 935;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; + //BA.debugLineNum = 1019;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); - //BA.debugLineNum = 936;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; + //BA.debugLineNum = 1020;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 937;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; + //BA.debugLineNum = 1021;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS2"); - //BA.debugLineNum = 938;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; + //BA.debugLineNum = 1022;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA"); }else { - //BA.debugLineNum = 940;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; -__c.LogImpl("849545267","********************* Hay ruta, NO BORRAMOS TODO",0); + //BA.debugLineNum = 1024;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; +__c.LogImpl("042336307","********************* Hay ruta, NO BORRAMOS TODO",0); }; - //BA.debugLineNum = 944;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us"; + //BA.debugLineNum = 1028;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 = 945;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 1029;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 946;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; + //BA.debugLineNum = 1030;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; _usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 948;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1032;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 949;BA.debugLine="cmd.Name = \"select_punteo_MAZAPA_re_REPG\""; + //BA.debugLineNum = 1033;BA.debugLine="cmd.Name = \"select_punteo_MAZAPA_re_REPG\""; _cmd.Name /*String*/ = "select_punteo_MAZAPA_re_REPG"; - //BA.debugLineNum = 950;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; + //BA.debugLineNum = 1034;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 = 951;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; + //BA.debugLineNum = 1035;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("punteo")); - //BA.debugLineNum = 952;BA.debugLine="Log($\"Pedimos Punteo\"$)"; -__c.LogImpl("849545279",("Pedimos Punteo"),0); - //BA.debugLineNum = 953;BA.debugLine="reqs.Add(\"punteo\")"; + //BA.debugLineNum = 1036;BA.debugLine="Log($\"Pedimos Punteo\"$)"; +__c.LogImpl("042336319",("Pedimos Punteo"),0); + //BA.debugLineNum = 1037;BA.debugLine="reqs.Add(\"punteo\")"; _reqs.Add((Object)("punteo")); - //BA.debugLineNum = 955;BA.debugLine="If l_ruta.Text = \"0\" Then"; -if ((_l_ruta.getText()).equals("0")) { - //BA.debugLineNum = 956;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1040;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 957;BA.debugLine="cmd.Name = \"select_almacen_MAZAPA_re_REPG2\""; + //BA.debugLineNum = 1041;BA.debugLine="cmd.Name = \"select_almacen_MAZAPA_re_REPG2\""; _cmd.Name /*String*/ = "select_almacen_MAZAPA_re_REPG2"; - //BA.debugLineNum = 958;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; + //BA.debugLineNum = 1042;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 959;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; + //BA.debugLineNum = 1043;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod")); - //BA.debugLineNum = 960;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.t"; -__c.LogImpl("849545287",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0); - //BA.debugLineNum = 961;BA.debugLine="reqs.Add(\"gunaprod\")"; + //BA.debugLineNum = 1044;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.t"; +__c.LogImpl("042336327",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0); + //BA.debugLineNum = 1045;BA.debugLine="reqs.Add(\"gunaprod\")"; _reqs.Add((Object)("gunaprod")); - }; - //BA.debugLineNum = 965;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1049;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 966;BA.debugLine="cmd.Name = \"select_cliente_MAZAPA_re_REPG\""; + //BA.debugLineNum = 1050;BA.debugLine="cmd.Name = \"select_cliente_MAZAPA_re_REPG\""; _cmd.Name /*String*/ = "select_cliente_MAZAPA_re_REPG"; - //BA.debugLineNum = 967;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; + //BA.debugLineNum = 1051;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 = 968;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; + //BA.debugLineNum = 1052;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos")); - //BA.debugLineNum = 969;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; -__c.LogImpl("849545296",("Pedimos kmt_datos"),0); - //BA.debugLineNum = 970;BA.debugLine="reqs.Add(\"kmt_datos\")"; + //BA.debugLineNum = 1053;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; +__c.LogImpl("042336336",("Pedimos kmt_datos"),0); + //BA.debugLineNum = 1054;BA.debugLine="reqs.Add(\"kmt_datos\")"; _reqs.Add((Object)("kmt_datos")); - //BA.debugLineNum = 972;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1056;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 973;BA.debugLine="cmd.Name = \"select_ventad_MAZAPA_re_REPG\""; + //BA.debugLineNum = 1057;BA.debugLine="cmd.Name = \"select_ventad_MAZAPA_re_REPG\""; _cmd.Name /*String*/ = "select_ventad_MAZAPA_re_REPG"; - //BA.debugLineNum = 974;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; + //BA.debugLineNum = 1058;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 975;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; + //BA.debugLineNum = 1059;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos")); - //BA.debugLineNum = 976;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; -__c.LogImpl("849545303",("Pedimos hist_datos"),0); - //BA.debugLineNum = 977;BA.debugLine="reqs.Add(\"hist_datos\")"; + //BA.debugLineNum = 1060;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; +__c.LogImpl("042336343",("Pedimos hist_datos"),0); + //BA.debugLineNum = 1061;BA.debugLine="reqs.Add(\"hist_datos\")"; _reqs.Add((Object)("hist_datos")); - //BA.debugLineNum = 979;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1063;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 980;BA.debugLine="cmd.Name = \"select_coords_almacen_MAZAPA\""; + //BA.debugLineNum = 1064;BA.debugLine="cmd.Name = \"select_coords_almacen_MAZAPA\""; _cmd.Name /*String*/ = "select_coords_almacen_MAZAPA"; - //BA.debugLineNum = 981;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; + //BA.debugLineNum = 1065;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 982;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; + //BA.debugLineNum = 1066;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("coords_almacen")); - //BA.debugLineNum = 984;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1068;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 985;BA.debugLine="cmd.Name = \"select_cat_gunaprod3_MAZAPA\""; + //BA.debugLineNum = 1069;BA.debugLine="cmd.Name = \"select_cat_gunaprod3_MAZAPA\""; _cmd.Name /*String*/ = "select_cat_gunaprod3_MAZAPA"; - //BA.debugLineNum = 986;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; + //BA.debugLineNum = 1070;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 987;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod3\")"; + //BA.debugLineNum = 1071;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod3\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod3")); - //BA.debugLineNum = 989;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1073;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 990;BA.debugLine="cmd.Name = \"select_pagares_MAZAPA\""; + //BA.debugLineNum = 1074;BA.debugLine="cmd.Name = \"select_pagares_MAZAPA\""; _cmd.Name /*String*/ = "select_pagares_MAZAPA"; - //BA.debugLineNum = 991;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text,ALM"; + //BA.debugLineNum = 1075;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text,ALM"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 992;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"PAGARES\")"; + //BA.debugLineNum = 1076;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"PAGARES\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("PAGARES")); - //BA.debugLineNum = 1024;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA"; + //BA.debugLineNum = 1108;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 = 1025;BA.debugLine="d.Position=0"; + //BA.debugLineNum = 1109;BA.debugLine="d.Position=0"; _d.setPosition((int) (0)); - //BA.debugLineNum = 1026;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; + //BA.debugLineNum = 1110;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; _cuantos_noventa = _d.GetString("CUANTOS_NOVENTA"); - //BA.debugLineNum = 1027;BA.debugLine="d.Close"; + //BA.debugLineNum = 1111;BA.debugLine="d.Close"; _d.Close(); - //BA.debugLineNum = 1028;BA.debugLine="cargar.Visible = False"; + //BA.debugLineNum = 1112;BA.debugLine="cargar.Visible = False"; _cargar.setVisible(__c.False); - //BA.debugLineNum = 1029;BA.debugLine="Subir.Visible = False"; + //BA.debugLineNum = 1113;BA.debugLine="Subir.Visible = False"; _subir.setVisible(__c.False); - //BA.debugLineNum = 1030;BA.debugLine="connecta.Visible = True"; + //BA.debugLineNum = 1114;BA.debugLine="connecta.Visible = True"; _connecta.setVisible(__c.True); - //BA.debugLineNum = 1031;BA.debugLine="inv.Visible = False"; + //BA.debugLineNum = 1115;BA.debugLine="inv.Visible = False"; _inv.setVisible(__c.False); - //BA.debugLineNum = 1032;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est"; + //BA.debugLineNum = 1116;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 = 1033;BA.debugLine="ProgressDialogShow2(\"Descargando rutas, espere u"; + //BA.debugLineNum = 1117;BA.debugLine="ProgressDialogShow2(\"Descargando rutas, espere u"; __c.ProgressDialogShow2(ba,BA.ObjectToCharSequence("Descargando rutas, espere un momento."),__c.False); - //BA.debugLineNum = 1034;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\""; + //BA.debugLineNum = 1118;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 = 1038;BA.debugLine="Log(\"XXXX\")"; -__c.LogImpl("849545365","XXXX",0); - //BA.debugLineNum = 1039;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; + //BA.debugLineNum = 1122;BA.debugLine="Log(\"XXXX\")"; +__c.LogImpl("042336405","XXXX",0); + //BA.debugLineNum = 1123;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 = 1042;BA.debugLine="End Sub"; + //BA.debugLineNum = 1126;BA.debugLine="End Sub"; return ""; } public String _checachek() throws Exception{ - //BA.debugLineNum = 617;BA.debugLine="Sub checachek"; - //BA.debugLineNum = 618;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT CHECADO FROM"; + //BA.debugLineNum = 627;BA.debugLine="Sub checachek"; + //BA.debugLineNum = 628;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 = 619;BA.debugLine="If b.RowCount > 0 Then"; + //BA.debugLineNum = 629;BA.debugLine="If b.RowCount > 0 Then"; if (_b.getRowCount()>0) { - //BA.debugLineNum = 620;BA.debugLine="b.Position = 0"; + //BA.debugLineNum = 630;BA.debugLine="b.Position = 0"; _b.setPosition((int) (0)); - //BA.debugLineNum = 621;BA.debugLine="If b.GetString(\"CHECADO\") = 0 Then"; + //BA.debugLineNum = 631;BA.debugLine="If b.GetString(\"CHECADO\") = 0 Then"; if ((_b.GetString("CHECADO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 622;BA.debugLine="b_check.Visible = True"; + //BA.debugLineNum = 632;BA.debugLine="b_check.Visible = True"; _b_check.setVisible(__c.True); }else if((_b.GetString("CHECADO")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 624;BA.debugLine="b_check.Visible =False"; + //BA.debugLineNum = 634;BA.debugLine="b_check.Visible =False"; _b_check.setVisible(__c.False); }; - //BA.debugLineNum = 626;BA.debugLine="b.Close"; + //BA.debugLineNum = 636;BA.debugLine="b.Close"; _b.Close(); }; - //BA.debugLineNum = 628;BA.debugLine="End Sub"; + //BA.debugLineNum = 638;BA.debugLine="End Sub"; return ""; } public String _class_globals() throws Exception{ @@ -1922,106 +1949,132 @@ _b_regreso = new anywheresoftware.b4a.objects.ButtonWrapper(); _lv_prod_prin = new anywheresoftware.b4a.objects.ListViewWrapper(); //BA.debugLineNum = 91;BA.debugLine="Private b_venta_emp As Button"; _b_venta_emp = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 92;BA.debugLine="End Sub"; + //BA.debugLineNum = 92;BA.debugLine="Dim successfulRequests As Int = 0"; +_successfulrequests = (int) (0); + //BA.debugLineNum = 93;BA.debugLine="Dim totalRegistros As Int = 0"; +_totalregistros = (int) (0); + //BA.debugLineNum = 94;BA.debugLine="Dim totalRegistrosTotales As Int = 0"; +_totalregistrostotales = (int) (0); + //BA.debugLineNum = 95;BA.debugLine="Dim todosRequest As Int = 0"; +_todosrequest = (int) (0); + //BA.debugLineNum = 96;BA.debugLine="Private pEnvioInfo As Panel"; +_penvioinfo = new anywheresoftware.b4a.objects.PanelWrapper(); + //BA.debugLineNum = 97;BA.debugLine="Private bEnvioInfo As Button"; +_benvioinfo = new anywheresoftware.b4a.objects.ButtonWrapper(); + //BA.debugLineNum = 98;BA.debugLine="Private pbEnvioInfo As ProgressBar"; +_pbenvioinfo = new anywheresoftware.b4a.objects.ProgressBarWrapper(); + //BA.debugLineNum = 99;BA.debugLine="Private lEnviaInfo As Label"; +_lenviainfo = new anywheresoftware.b4a.objects.LabelWrapper(); + //BA.debugLineNum = 100;BA.debugLine="Private lVersionName As Label"; +_lversionname = new anywheresoftware.b4a.objects.LabelWrapper(); + //BA.debugLineNum = 101;BA.debugLine="End Sub"; return ""; } public String _connecta_click() throws Exception{ - //BA.debugLineNum = 1574;BA.debugLine="Sub connecta_Click"; - //BA.debugLineNum = 1575;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("849741825",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 1576;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; + //BA.debugLineNum = 1698;BA.debugLine="Sub connecta_Click"; + //BA.debugLineNum = 1699;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +__c.LogImpl("042598401",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); + //BA.debugLineNum = 1700;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 = 1577;BA.debugLine="If e_ruta.Text <> \"\" Then"; + //BA.debugLineNum = 1701;BA.debugLine="If e_ruta.Text <> \"\" Then"; if ((_e_ruta.getText()).equals("") == false) { - //BA.debugLineNum = 1578;BA.debugLine="imei = \"\" 'p.GetDeviceId"; + //BA.debugLineNum = 1702;BA.debugLine="imei = \"\" 'p.GetDeviceId"; _imei = ""; - //BA.debugLineNum = 1579;BA.debugLine="conn = \"1\""; + //BA.debugLineNum = 1703;BA.debugLine="conn = \"1\""; _conn = "1"; - //BA.debugLineNum = 1580;BA.debugLine="ime.HideKeyboard"; + //BA.debugLineNum = 1704;BA.debugLine="ime.HideKeyboard"; _ime.HideKeyboard(ba); - //BA.debugLineNum = 1581;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1705;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1582;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1706;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1583;BA.debugLine="cmd.Name = \"select_version_MAZAPA\""; + //BA.debugLineNum = 1707;BA.debugLine="cmd.Name = \"select_version_MAZAPA\""; _cmd.Name /*String*/ = "select_version_MAZAPA"; - //BA.debugLineNum = 1584;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; + //BA.debugLineNum = 1708;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("version")); - //BA.debugLineNum = 1585;BA.debugLine="Dim cmd As DBCommand"; + //BA.debugLineNum = 1709;BA.debugLine="Dim cmd As DBCommand"; _cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1586;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1710;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1587;BA.debugLine="cmd.Name = \"select_ruta_re_REPG_MAZAPA6\""; + //BA.debugLineNum = 1711;BA.debugLine="cmd.Name = \"select_ruta_re_REPG_MAZAPA6\""; _cmd.Name /*String*/ = "select_ruta_re_REPG_MAZAPA6"; - //BA.debugLineNum = 1588;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; + //BA.debugLineNum = 1712;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_imei)}; - //BA.debugLineNum = 1590;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")"; + //BA.debugLineNum = 1714;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("ruta")); - //BA.debugLineNum = 1591;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)"; + //BA.debugLineNum = 1715;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)"; __c.ToastMessageShow(BA.ObjectToCharSequence("Validando Conexión."),__c.True); - //BA.debugLineNum = 1592;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; + //BA.debugLineNum = 1716;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 1593;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTAA(RU"; + //BA.debugLineNum = 1717;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 = 1594;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; + //BA.debugLineNum = 1718;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _e_ruta.getText(); }; - //BA.debugLineNum = 1596;BA.debugLine="End Sub"; + //BA.debugLineNum = 1720;BA.debugLine="End Sub"; return ""; } public String _e_ruta_enterpressed() throws Exception{ - //BA.debugLineNum = 1612;BA.debugLine="Sub e_ruta_EnterPressed"; - //BA.debugLineNum = 1613;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; + //BA.debugLineNum = 1736;BA.debugLine="Sub e_ruta_EnterPressed"; + //BA.debugLineNum = 1737;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; if ((_e_ruta.getText()).equals("FIN DIA")) { - //BA.debugLineNum = 1614;BA.debugLine="RES = Msgbox2(\"Seguro que desea hacer el cierre"; + //BA.debugLineNum = 1738;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 = 1615;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; + //BA.debugLineNum = 1739;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; if ((_res).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 1616;BA.debugLine="e_ruta.Text = \"\""; + //BA.debugLineNum = 1740;BA.debugLine="e_ruta.Text = \"\""; _e_ruta.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1617;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PICK_CIE"; + //BA.debugLineNum = 1741;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PICK_CIE"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PICK_CIEGO"); - //BA.debugLineNum = 1618;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; + //BA.debugLineNum = 1742;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente"); - //BA.debugLineNum = 1619;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECADO_"; + //BA.debugLineNum = 1743;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECADO_"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CHECADO_CHECK"); - //BA.debugLineNum = 1620;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECKLIS"; + //BA.debugLineNum = 1744;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECKLIS"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CHECKLIST2"); - //BA.debugLineNum = 1621;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido\")"; + //BA.debugLineNum = 1745;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido"); - //BA.debugLineNum = 1622;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from noventa\""; + //BA.debugLineNum = 1746;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from noventa\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from noventa"); - //BA.debugLineNum = 1623;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from clie_act"; + //BA.debugLineNum = 1747;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from clie_act"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from clie_act"); - //BA.debugLineNum = 1624;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info"; + //BA.debugLineNum = 1748;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); - //BA.debugLineNum = 1625;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; + //BA.debugLineNum = 1749;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 1626;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; + //BA.debugLineNum = 1750;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); - //BA.debugLineNum = 1627;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETA"; + //BA.debugLineNum = 1751;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 1628;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; + //BA.debugLineNum = 1752;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 1629;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; + //BA.debugLineNum = 1753;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); - //BA.debugLineNum = 1630;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; + //BA.debugLineNum = 1754;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_MONEDAS"); - //BA.debugLineNum = 1631;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; + //BA.debugLineNum = 1755;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_BILLETES"); - //BA.debugLineNum = 1632;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; + //BA.debugLineNum = 1756;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 1633;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 1757;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); }; - //BA.debugLineNum = 1636;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints"; + //BA.debugLineNum = 1760;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); }; - //BA.debugLineNum = 1638;BA.debugLine="End Sub"; + //BA.debugLineNum = 1762;BA.debugLine="End Sub"; return ""; } -public String _envioinfo() throws Exception{ +public void _envioinfo() throws Exception{ +ResumableSub_envioinfo rsub = new ResumableSub_envioinfo(this); +rsub.resume(ba, null); +} +public static class ResumableSub_envioinfo extends BA.ResumableSub { +public ResumableSub_envioinfo(reparto_mazapa.keymon.lat.c_principal parent) { +this.parent = parent; +} +reparto_mazapa.keymon.lat.c_principal parent; int _i = 0; String _folio = ""; String[] _fechatabulador = null; @@ -2036,449 +2089,1032 @@ String _fecha3 = ""; String[] _hora = null; String _sdate = ""; String _stime = ""; - //BA.debugLineNum = 677;BA.debugLine="Sub envioinfo"; - //BA.debugLineNum = 682;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 FROM NOVENTA"))); - //BA.debugLineNum = 683;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 = 684;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 685;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step4 = 1; -final int limit4 = (int) (_c.getRowCount()-1); +int step13; +int limit13; +int step33; +int limit33; +int step49; +int limit49; +int step66; +int limit66; +int step83; +int limit83; +int step100; +int limit100; +int step116; +int limit116; +int step138; +int limit138; +int step160; +int limit160; +int step210; +int limit210; + +@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 = 697;BA.debugLine="successfulRequests = 0"; +parent._successfulrequests = (int) (0); + //BA.debugLineNum = 698;BA.debugLine="totalRegistros = 0"; +parent._totalregistros = (int) (0); + //BA.debugLineNum = 699;BA.debugLine="totalRegistrosTotales = 0"; +parent._totalregistrostotales = (int) (0); + //BA.debugLineNum = 700;BA.debugLine="todosRequest = -1"; +parent._todosrequest = (int) (-1); + //BA.debugLineNum = 701;BA.debugLine="bEnvioInfo.Enabled = False"; +parent._benvioinfo.setEnabled(parent.__c.False); + //BA.debugLineNum = 703;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT NV_CLIENTE,NV_"; +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 NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO FROM NOVENTA"))); + //BA.debugLineNum = 704;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUAN"; +parent._d = (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 COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); + //BA.debugLineNum = 705;BA.debugLine="If c.RowCount>0 Then"; +if (true) break; + +case 1: +//if +this.state = 8; +if (parent._c.getRowCount()>0) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + //BA.debugLineNum = 706;BA.debugLine="Log($\"Procesando NOVENTA: ${c.RowCount} registro"; +parent.__c.LogImpl("042270730",("Procesando NOVENTA: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); + //BA.debugLineNum = 707;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; +parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); + //BA.debugLineNum = 708;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; +parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); + //BA.debugLineNum = 709;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; +parent.__c.LogImpl("042270733",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); + //BA.debugLineNum = 711;BA.debugLine="For i=0 To c.RowCount -1"; +if (true) break; + +case 4: +//for +this.state = 7; +step13 = 1; +limit13 = (int) (parent._c.getRowCount()-1); _i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 686;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 687;BA.debugLine="foto1 = c.GetBlob(\"NV_FOTO\")"; -_foto1 = _c.GetBlob("NV_FOTO"); - //BA.debugLineNum = 688;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 689;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 690;BA.debugLine="cmd.Name = \"insert_reparto_noventa_MAZAPA_REPG\""; -_cmd.Name /*String*/ = "insert_reparto_noventa_MAZAPA_REPG"; - //BA.debugLineNum = 691;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())}; - //BA.debugLineNum = 692;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\""; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_noventa")); - } -}; - //BA.debugLineNum = 694;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 696;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 697;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; -_cuantos_noventa = _d.GetString("CUANTOS_NOVENTA"); - //BA.debugLineNum = 698;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 699;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT HVD_CLIENTE,HVD_"; -_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_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID, HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_PARCIAL FROM hist_ventas WHERE HVD_RECHAZO = 1 OR HVD_PARCIAL = 1"))); - //BA.debugLineNum = 701;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 702;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step20 = 1; -final int limit20 = (int) (_c.getRowCount()-1); +this.state = 87; +if (true) break; + +case 87: +//C +this.state = 7; +if ((step13 > 0 && _i <= limit13) || (step13 < 0 && _i >= limit13)) this.state = 6; +if (true) break; + +case 88: +//C +this.state = 87; +_i = ((int)(0 + _i + step13)) ; +if (true) break; + +case 6: +//C +this.state = 88; + //BA.debugLineNum = 712;BA.debugLine="c.Position=i"; +parent._c.setPosition(_i); + //BA.debugLineNum = 713;BA.debugLine="foto1 = c.GetBlob(\"NV_FOTO\")"; +parent._foto1 = parent._c.GetBlob("NV_FOTO"); + //BA.debugLineNum = 714;BA.debugLine="Dim cmd As DBCommand"; +parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); + //BA.debugLineNum = 715;BA.debugLine="cmd.Initialize"; +parent._cmd.Initialize(); + //BA.debugLineNum = 716;BA.debugLine="cmd.Name = \"insert_reparto_noventa_MAZAPA_REPG\""; +parent._cmd.Name /*String*/ = "insert_reparto_noventa_MAZAPA_REPG"; + //BA.debugLineNum = 717;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"N"; +parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._c.GetString("NV_CLIENTE")),(Object)(parent._c.GetString("NV_FECHA")),(Object)(parent._c.GetString("NV_USER")),(Object)(parent._c.GetString("NV_MOTIVO")),(Object)(parent._c.GetString("NV_COMM")),(Object)(parent._c.GetString("NV_LAT")),(Object)(parent._c.GetString("NV_LON")),(Object)(parent._almacen),(Object)(parent._l_ruta.getText())}; + //BA.debugLineNum = 718;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\""; +parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("inst_noventa")); + if (true) break; +if (true) break; + +case 7: +//C +this.state = 8; +; + //BA.debugLineNum = 720;BA.debugLine="c.Close"; +parent._c.Close(); + if (true) break; + +case 8: +//C +this.state = 9; +; + //BA.debugLineNum = 722;BA.debugLine="d.Position=0"; +parent._d.setPosition((int) (0)); + //BA.debugLineNum = 723;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; +parent._cuantos_noventa = parent._d.GetString("CUANTOS_NOVENTA"); + //BA.debugLineNum = 724;BA.debugLine="d.Close"; +parent._d.Close(); + //BA.debugLineNum = 727;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT HVD_CLIENTE,HVD_"; +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_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID, HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_PARCIAL FROM hist_ventas WHERE HVD_RECHAZO = 1 OR HVD_PARCIAL = 1"))); + //BA.debugLineNum = 728;BA.debugLine="If c.RowCount>0 Then"; +if (true) break; + +case 9: +//if +this.state = 16; +if (parent._c.getRowCount()>0) { +this.state = 11; +}if (true) break; + +case 11: +//C +this.state = 12; + //BA.debugLineNum = 729;BA.debugLine="Log($\"Procesando HIST_VENTAS (rechazos/parciales"; +parent.__c.LogImpl("042270753",("Procesando HIST_VENTAS (rechazos/parciales): "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); + //BA.debugLineNum = 730;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; +parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); + //BA.debugLineNum = 731;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; +parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); + //BA.debugLineNum = 732;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; +parent.__c.LogImpl("042270756",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); + //BA.debugLineNum = 734;BA.debugLine="For i=0 To c.RowCount -1"; +if (true) break; + +case 12: +//for +this.state = 15; +step33 = 1; +limit33 = (int) (parent._c.getRowCount()-1); _i = (int) (0) ; -for (;_i <= limit20 ;_i = _i + step20 ) { - //BA.debugLineNum = 703;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 704;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 705;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 706;BA.debugLine="cmd.Name = \"insert_rep_hist_ventas_MAZAPA_REPG\""; -_cmd.Name /*String*/ = "insert_rep_hist_ventas_MAZAPA_REPG"; - //BA.debugLineNum = 707;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"H"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("HVD_CLIENTE")),(Object)(_c.GetString("HVD_PRONOMBRE")),(Object)(_c.GetString("HVD_CANT")),(Object)(_c.GetString("HVD_COSTO_TOT")),(Object)(_c.GetString("HVD_CODPROMO")),(Object)(_c.GetString("HVD_PROID")),(Object)(_c.GetString("HVD_NUM_TICKET")),(Object)(_c.GetString("HVD_NUM_REGISTRO")),(Object)(_c.GetString("HVD_RECHAZO")),(Object)(_c.GetString("HVD_PARCIAL")),(Object)(_almacen)}; - //BA.debugLineNum = 708;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_noventa")); - } -}; - //BA.debugLineNum = 710;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 713;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 = 714;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 715;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step32 = 1; -final int limit32 = (int) (_c.getRowCount()-1); +this.state = 89; +if (true) break; + +case 89: +//C +this.state = 15; +if ((step33 > 0 && _i <= limit33) || (step33 < 0 && _i >= limit33)) this.state = 14; +if (true) break; + +case 90: +//C +this.state = 89; +_i = ((int)(0 + _i + step33)) ; +if (true) break; + +case 14: +//C +this.state = 90; + //BA.debugLineNum = 735;BA.debugLine="c.Position=i"; +parent._c.setPosition(_i); + //BA.debugLineNum = 736;BA.debugLine="Dim cmd As DBCommand"; +parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); + //BA.debugLineNum = 737;BA.debugLine="cmd.Initialize"; +parent._cmd.Initialize(); + //BA.debugLineNum = 738;BA.debugLine="cmd.Name = \"insert_rep_hist_ventas_MAZAPA_REPG\""; +parent._cmd.Name /*String*/ = "insert_rep_hist_ventas_MAZAPA_REPG"; + //BA.debugLineNum = 739;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"H"; +parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._c.GetString("HVD_CLIENTE")),(Object)(parent._c.GetString("HVD_PRONOMBRE")),(Object)(parent._c.GetString("HVD_CANT")),(Object)(parent._c.GetString("HVD_COSTO_TOT")),(Object)(parent._c.GetString("HVD_CODPROMO")),(Object)(parent._c.GetString("HVD_PROID")),(Object)(parent._c.GetString("HVD_NUM_TICKET")),(Object)(parent._c.GetString("HVD_NUM_REGISTRO")),(Object)(parent._c.GetString("HVD_RECHAZO")),(Object)(parent._c.GetString("HVD_PARCIAL")),(Object)(parent._almacen)}; + //BA.debugLineNum = 740;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\")"; +parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("inst_noventa")); + if (true) break; +if (true) break; + +case 15: +//C +this.state = 16; +; + //BA.debugLineNum = 742;BA.debugLine="c.Close"; +parent._c.Close(); + if (true) break; + +case 16: +//C +this.state = 17; +; + //BA.debugLineNum = 746;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT PE_TIPO, PE_RUTA"; +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 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 = 747;BA.debugLine="If c.RowCount>0 Then"; +if (true) break; + +case 17: +//if +this.state = 24; +if (parent._c.getRowCount()>0) { +this.state = 19; +}if (true) break; + +case 19: +//C +this.state = 20; + //BA.debugLineNum = 748;BA.debugLine="Log($\"Procesando PEDIDO: ${c.RowCount} registros"; +parent.__c.LogImpl("042270772",("Procesando PEDIDO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); + //BA.debugLineNum = 749;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; +parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); + //BA.debugLineNum = 750;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; +parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); + //BA.debugLineNum = 751;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; +parent.__c.LogImpl("042270775",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); + //BA.debugLineNum = 753;BA.debugLine="For i=0 To c.RowCount -1"; +if (true) break; + +case 20: +//for +this.state = 23; +step49 = 1; +limit49 = (int) (parent._c.getRowCount()-1); _i = (int) (0) ; -for (;_i <= limit32 ;_i = _i + step32 ) { - //BA.debugLineNum = 716;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 717;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 718;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 719;BA.debugLine="cmd.Name = \"insert_pedido_REP_MAZAPA\""; -_cmd.Name /*String*/ = "insert_pedido_REP_MAZAPA"; - //BA.debugLineNum = 720;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 = 721;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedido_MAZ"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_pedido_MAZAPA")); - } -}; - //BA.debugLineNum = 723;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 728;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * from reparto"; -_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 reparto"))); - //BA.debugLineNum = 729;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 730;BA.debugLine="Private folio As String = Subs.hmsKMT"; -_folio = _subs._hmskmt /*String*/ (ba); - //BA.debugLineNum = 731;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step45 = 1; -final int limit45 = (int) (_c.getRowCount()-1); +this.state = 91; +if (true) break; + +case 91: +//C +this.state = 23; +if ((step49 > 0 && _i <= limit49) || (step49 < 0 && _i >= limit49)) this.state = 22; +if (true) break; + +case 92: +//C +this.state = 91; +_i = ((int)(0 + _i + step49)) ; +if (true) break; + +case 22: +//C +this.state = 92; + //BA.debugLineNum = 754;BA.debugLine="c.Position=i"; +parent._c.setPosition(_i); + //BA.debugLineNum = 755;BA.debugLine="Dim cmd As DBCommand"; +parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); + //BA.debugLineNum = 756;BA.debugLine="cmd.Initialize"; +parent._cmd.Initialize(); + //BA.debugLineNum = 757;BA.debugLine="cmd.Name = \"insert_pedido_REP_MAZAPA\""; +parent._cmd.Name /*String*/ = "insert_pedido_REP_MAZAPA"; + //BA.debugLineNum = 758;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"P"; +parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._c.GetString("PE_TIPO")),(Object)(parent._c.GetString("PE_RUTA")),(Object)(parent._c.GetString("PE_CEDIS")),(Object)(parent._c.GetString("PE_COSTO_TOT")),(Object)(parent._c.GetString("PE_COSTOU")),(Object)(parent._c.GetString("PE_CANT")),(Object)(parent._c.GetString("PE_PRONOMBRE")),(Object)(parent._c.GetString("PE_PROID")),(Object)(parent._c.GetString("PE_CLIENTE")),(Object)(parent._c.GetString("PE_FECHA")),(Object)(parent._c.GetString("PE_USUARIO")),(Object)(parent._c.GetString("PE_CLIENTEOR")),(Object)(parent._c.GetString("PE_CAJAS")),(Object)(parent._c.GetString("PE_BCAJAS")),(Object)(parent._c.GetString("CONSECUTIVO")),(Object)(parent._c.GetString("FECHA_PREV")),(Object)(parent._c.GetString("RUTA_REP")),(Object)(parent._c.GetString("PE_REGALO"))}; + //BA.debugLineNum = 759;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedido_MAZ"; +parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("ins_pedido_MAZAPA")); + if (true) break; +if (true) break; + +case 23: +//C +this.state = 24; +; + //BA.debugLineNum = 761;BA.debugLine="c.Close"; +parent._c.Close(); + if (true) break; + +case 24: +//C +this.state = 25; +; + //BA.debugLineNum = 765;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * from reparto"; +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 reparto"))); + //BA.debugLineNum = 766;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 25: +//if +this.state = 32; +if (parent._c.getRowCount()>0) { +this.state = 27; +}if (true) break; + +case 27: +//C +this.state = 28; + //BA.debugLineNum = 767;BA.debugLine="Log($\"Procesando REPARTO: ${c.RowCount} registro"; +parent.__c.LogImpl("042270791",("Procesando REPARTO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); + //BA.debugLineNum = 768;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; +parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); + //BA.debugLineNum = 769;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; +parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); + //BA.debugLineNum = 770;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; +parent.__c.LogImpl("042270794",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); + //BA.debugLineNum = 772;BA.debugLine="Private folio As String = Subs.hmsKMT"; +_folio = parent._subs._hmskmt /*String*/ (ba); + //BA.debugLineNum = 773;BA.debugLine="For i=0 To c.RowCount -1"; +if (true) break; + +case 28: +//for +this.state = 31; +step66 = 1; +limit66 = (int) (parent._c.getRowCount()-1); _i = (int) (0) ; -for (;_i <= limit45 ;_i = _i + step45 ) { - //BA.debugLineNum = 732;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 733;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 734;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 735;BA.debugLine="cmd.Name = \"insertReparto_MAZAPA\""; -_cmd.Name /*String*/ = "insertReparto_MAZAPA"; - //BA.debugLineNum = 736;BA.debugLine="cmd.Parameters = Array As Object(folio, C.GetSt"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_folio),(Object)(_c.GetString("REP_FECHA")),(Object)(_c.GetString("REP_CLIENTE")),(Object)(_c.GetString("REP_CLI_ORIG")),(Object)(_c.GetString("REP_PRODID")),(Object)(_c.GetString("REP_PRONOMBRE")),(Object)(_c.GetString("REP_PRODREGISTRO")),(Object)(_c.GetString("REP_CANT")),(Object)(_c.GetString("REP_PRECIO")),(Object)(_c.GetString("REP_COSTO_TOT")),(Object)(_c.GetString("REP_RECHAZO")),(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 737;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_reparto\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_reparto")); - } -}; - //BA.debugLineNum = 739;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 741;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * from rechazo"; -_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 rechazos"))); - //BA.debugLineNum = 742;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 743;BA.debugLine="Private folio As String = Subs.hmsKMT"; -_folio = _subs._hmskmt /*String*/ (ba); - //BA.debugLineNum = 744;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step58 = 1; -final int limit58 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit58 ;_i = _i + step58 ) { - //BA.debugLineNum = 745;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 746;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 747;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 748;BA.debugLine="cmd.Name = \"insertRechazos_MAZAPA\""; -_cmd.Name /*String*/ = "insertRechazos_MAZAPA"; - //BA.debugLineNum = 749;BA.debugLine="cmd.Parameters = Array As Object(folio, C.GetSt"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_folio),(Object)(_c.GetString("R_FECHA")),(Object)(_c.GetString("R_CLIENTE")),(Object)(_c.GetString("R_CLI_ORIG")),(Object)(_c.GetString("R_PRODID")),(Object)(_c.GetString("R_CANT")),(Object)(_c.GetString("R_RECHAZO")),(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 750;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_rechazos\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_rechazos")); - } -}; - //BA.debugLineNum = 752;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 754;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * from ventas\""; -_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 ventas"))); - //BA.debugLineNum = 755;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 756;BA.debugLine="Private folio As String = Subs.hmsKMT"; -_folio = _subs._hmskmt /*String*/ (ba); - //BA.debugLineNum = 757;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step71 = 1; -final int limit71 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit71 ;_i = _i + step71 ) { - //BA.debugLineNum = 758;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 759;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 760;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 761;BA.debugLine="cmd.Name = \"insertVentas_MAZAPA\""; -_cmd.Name /*String*/ = "insertVentas_MAZAPA"; - //BA.debugLineNum = 762;BA.debugLine="cmd.Parameters = Array As Object(folio, C.GetSt"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_folio),(Object)(_c.GetString("V_FECHA")),(Object)(_c.GetString("V_CLIENTE")),(Object)(_c.GetString("V_CLI_ORIG")),(Object)(_c.GetString("V_PRODID")),(Object)(_c.GetString("V_CANT")),(Object)(_c.GetString("V_RECHAZO")),(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 763;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_ventas\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_ventas")); - } -}; - //BA.debugLineNum = 765;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 769;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARI"; -_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 CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO"))); - //BA.debugLineNum = 770;BA.debugLine="Log($\"REPARTO_Cliente PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("849479773",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); - //BA.debugLineNum = 771;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 772;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step84 = 1; -final int limit84 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit84 ;_i = _i + step84 ) { - //BA.debugLineNum = 773;BA.debugLine="c.Position=i"; -_c.setPosition(_i); +this.state = 93; +if (true) break; + +case 93: +//C +this.state = 31; +if ((step66 > 0 && _i <= limit66) || (step66 < 0 && _i >= limit66)) this.state = 30; +if (true) break; + +case 94: +//C +this.state = 93; +_i = ((int)(0 + _i + step66)) ; +if (true) break; + +case 30: +//C +this.state = 94; + //BA.debugLineNum = 774;BA.debugLine="c.Position=i"; +parent._c.setPosition(_i); //BA.debugLineNum = 775;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); +parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); //BA.debugLineNum = 776;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 777;BA.debugLine="cmd.Name = \"insert_REPARTO_MAZAPA\""; -_cmd.Name /*String*/ = "insert_REPARTO_MAZAPA"; - //BA.debugLineNum = 778;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CLIENTE")),(Object)(_c.GetString("USUARIO")),(Object)(_c.GetString("FECHA_PUNTEO")),(Object)(_c.GetString("LATITUD")),(Object)(_c.GetString("LONGITUD")),(Object)(_c.GetString("ALMACEN")),(Object)(_c.GetString("RUTA_REPARTO")),(Object)(_c.GetString("RUTA_PREV")),(Object)(_c.GetString("FECHA_PREVENTA")),(Object)(_c.GetString("MOTIVO")),(Object)(_c.GetString("COMENTARIO")),(Object)(_c.GetString("TIPO"))}; - //BA.debugLineNum = 779;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_REPARTOPendientes_head_"+__c.SmartStringFormatter("",(Object)(_c.GetString("CLIENTE")))+""))); - } -}; - }; - //BA.debugLineNum = 783;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 786;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 = 787;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 = 788;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 = 789;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 = 790;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 791;BA.debugLine="b.Position = 0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 792;BA.debugLine="f.Position = 0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 793;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 794;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step102 = 1; -final int limit102 = (int) (_c.getRowCount()-1); +parent._cmd.Initialize(); + //BA.debugLineNum = 777;BA.debugLine="cmd.Name = \"insertReparto_MAZAPA\""; +parent._cmd.Name /*String*/ = "insertReparto_MAZAPA"; + //BA.debugLineNum = 778;BA.debugLine="cmd.Parameters = Array As Object(folio, C.GetSt"; +parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_folio),(Object)(parent._c.GetString("REP_FECHA")),(Object)(parent._c.GetString("REP_CLIENTE")),(Object)(parent._c.GetString("REP_CLI_ORIG")),(Object)(parent._c.GetString("REP_PRODID")),(Object)(parent._c.GetString("REP_PRONOMBRE")),(Object)(parent._c.GetString("REP_PRODREGISTRO")),(Object)(parent._c.GetString("REP_CANT")),(Object)(parent._c.GetString("REP_PRECIO")),(Object)(parent._c.GetString("REP_COSTO_TOT")),(Object)(parent._c.GetString("REP_RECHAZO")),(Object)(parent._almacen),(Object)(parent._l_ruta.getText())}; + //BA.debugLineNum = 779;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_reparto\")"; +parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("ins_reparto")); + if (true) break; +if (true) break; + +case 31: +//C +this.state = 32; +; + //BA.debugLineNum = 781;BA.debugLine="c.Close"; +parent._c.Close(); + if (true) break; + +case 32: +//C +this.state = 33; +; + //BA.debugLineNum = 785;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * from rechazo"; +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 rechazos"))); + //BA.debugLineNum = 786;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 33: +//if +this.state = 40; +if (parent._c.getRowCount()>0) { +this.state = 35; +}if (true) break; + +case 35: +//C +this.state = 36; + //BA.debugLineNum = 787;BA.debugLine="Log($\"Procesando RECHAZOS: ${c.RowCount} registr"; +parent.__c.LogImpl("042270811",("Procesando RECHAZOS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); + //BA.debugLineNum = 788;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; +parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); + //BA.debugLineNum = 789;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; +parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); + //BA.debugLineNum = 790;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; +parent.__c.LogImpl("042270814",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); + //BA.debugLineNum = 792;BA.debugLine="Private folio As String = Subs.hmsKMT"; +_folio = parent._subs._hmskmt /*String*/ (ba); + //BA.debugLineNum = 793;BA.debugLine="For i=0 To c.RowCount -1"; +if (true) break; + +case 36: +//for +this.state = 39; +step83 = 1; +limit83 = (int) (parent._c.getRowCount()-1); _i = (int) (0) ; -for (;_i <= limit102 ;_i = _i + step102 ) { - //BA.debugLineNum = 795;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 796;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 797;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; -_fechatabulador = __c.Regex.Split(" ",_f.GetString("HVD_FECHA")); - //BA.debugLineNum = 798;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\""; -_fechatabulador2 = __c.Regex.Split("-",_fechatabulador[(int) (0)]); - //BA.debugLineNum = 799;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2"; -_fechatabulador3 = _fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (0)]; - //BA.debugLineNum = 800;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 801;BA.debugLine="cmd.Name = \"insert_tabulador_monedas_MAZAPA\""; -_cmd.Name /*String*/ = "insert_tabulador_monedas_MAZAPA"; - //BA.debugLineNum = 802;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 = 803;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_tabulador_mon")); - } -}; - //BA.debugLineNum = 805;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 806;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 807;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 808;BA.debugLine="f.Close"; -_f.Close(); - }; - //BA.debugLineNum = 811;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 = 812;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { +this.state = 95; +if (true) break; + +case 95: +//C +this.state = 39; +if ((step83 > 0 && _i <= limit83) || (step83 < 0 && _i >= limit83)) this.state = 38; +if (true) break; + +case 96: +//C +this.state = 95; +_i = ((int)(0 + _i + step83)) ; +if (true) break; + +case 38: +//C +this.state = 96; + //BA.debugLineNum = 794;BA.debugLine="c.Position=i"; +parent._c.setPosition(_i); + //BA.debugLineNum = 795;BA.debugLine="Dim cmd As DBCommand"; +parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); + //BA.debugLineNum = 796;BA.debugLine="cmd.Initialize"; +parent._cmd.Initialize(); + //BA.debugLineNum = 797;BA.debugLine="cmd.Name = \"insertRechazos_MAZAPA\""; +parent._cmd.Name /*String*/ = "insertRechazos_MAZAPA"; + //BA.debugLineNum = 798;BA.debugLine="cmd.Parameters = Array As Object(folio, C.GetSt"; +parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_folio),(Object)(parent._c.GetString("R_FECHA")),(Object)(parent._c.GetString("R_CLIENTE")),(Object)(parent._c.GetString("R_CLI_ORIG")),(Object)(parent._c.GetString("R_PRODID")),(Object)(parent._c.GetString("R_CANT")),(Object)(parent._c.GetString("R_RECHAZO")),(Object)(parent._almacen),(Object)(parent._l_ruta.getText())}; + //BA.debugLineNum = 799;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_rechazos\")"; +parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("ins_rechazos")); + if (true) break; +if (true) break; + +case 39: +//C +this.state = 40; +; + //BA.debugLineNum = 801;BA.debugLine="c.Close"; +parent._c.Close(); + if (true) break; + +case 40: +//C +this.state = 41; +; + //BA.debugLineNum = 805;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * from ventas\""; +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 ventas"))); + //BA.debugLineNum = 806;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 41: +//if +this.state = 48; +if (parent._c.getRowCount()>0) { +this.state = 43; +}if (true) break; + +case 43: +//C +this.state = 44; + //BA.debugLineNum = 807;BA.debugLine="Log($\"Procesando VENTAS: ${c.RowCount} registros"; +parent.__c.LogImpl("042270831",("Procesando VENTAS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); + //BA.debugLineNum = 808;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; +parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); + //BA.debugLineNum = 809;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; +parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); + //BA.debugLineNum = 810;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; +parent.__c.LogImpl("042270834",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); + //BA.debugLineNum = 812;BA.debugLine="Private folio As String = Subs.hmsKMT"; +_folio = parent._subs._hmskmt /*String*/ (ba); //BA.debugLineNum = 813;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step120 = 1; -final int limit120 = (int) (_c.getRowCount()-1); +if (true) break; + +case 44: +//for +this.state = 47; +step100 = 1; +limit100 = (int) (parent._c.getRowCount()-1); _i = (int) (0) ; -for (;_i <= limit120 ;_i = _i + step120 ) { - //BA.debugLineNum = 814;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 815;BA.debugLine="Log(c.GetString(\"HVD_CLIENTE\"))"; -__c.LogImpl("849479818",_c.GetString("HVD_CLIENTE"),0); - //BA.debugLineNum = 816;BA.debugLine="Private d4 As Cursor = Starter.skmt.ExecQuery($"; +this.state = 97; +if (true) break; + +case 97: +//C +this.state = 47; +if ((step100 > 0 && _i <= limit100) || (step100 < 0 && _i >= limit100)) this.state = 46; +if (true) break; + +case 98: +//C +this.state = 97; +_i = ((int)(0 + _i + step100)) ; +if (true) break; + +case 46: +//C +this.state = 98; + //BA.debugLineNum = 814;BA.debugLine="c.Position=i"; +parent._c.setPosition(_i); + //BA.debugLineNum = 815;BA.debugLine="Dim cmd As DBCommand"; +parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); + //BA.debugLineNum = 816;BA.debugLine="cmd.Initialize"; +parent._cmd.Initialize(); + //BA.debugLineNum = 817;BA.debugLine="cmd.Name = \"insertVentas_MAZAPA\""; +parent._cmd.Name /*String*/ = "insertVentas_MAZAPA"; + //BA.debugLineNum = 818;BA.debugLine="cmd.Parameters = Array As Object(folio, C.GetSt"; +parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_folio),(Object)(parent._c.GetString("V_FECHA")),(Object)(parent._c.GetString("V_CLIENTE")),(Object)(parent._c.GetString("V_CLI_ORIG")),(Object)(parent._c.GetString("V_PRODID")),(Object)(parent._c.GetString("V_CANT")),(Object)(parent._c.GetString("V_RECHAZO")),(Object)(parent._almacen),(Object)(parent._l_ruta.getText())}; + //BA.debugLineNum = 819;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_ventas\")"; +parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("ins_ventas")); + if (true) break; +if (true) break; + +case 47: +//C +this.state = 48; +; + //BA.debugLineNum = 821;BA.debugLine="c.Close"; +parent._c.Close(); + if (true) break; + +case 48: +//C +this.state = 49; +; + //BA.debugLineNum = 825;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARIO"; +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 CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO"))); + //BA.debugLineNum = 826;BA.debugLine="If c.RowCount>0 Then"; +if (true) break; + +case 49: +//if +this.state = 56; +if (parent._c.getRowCount()>0) { +this.state = 51; +}if (true) break; + +case 51: +//C +this.state = 52; + //BA.debugLineNum = 827;BA.debugLine="Log($\"Procesando REPARTO_GEO: ${c.RowCount} regi"; +parent.__c.LogImpl("042270851",("Procesando REPARTO_GEO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); + //BA.debugLineNum = 828;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; +parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); + //BA.debugLineNum = 829;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; +parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); + //BA.debugLineNum = 830;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; +parent.__c.LogImpl("042270854",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); + //BA.debugLineNum = 832;BA.debugLine="For i=0 To c.RowCount -1"; +if (true) break; + +case 52: +//for +this.state = 55; +step116 = 1; +limit116 = (int) (parent._c.getRowCount()-1); +_i = (int) (0) ; +this.state = 99; +if (true) break; + +case 99: +//C +this.state = 55; +if ((step116 > 0 && _i <= limit116) || (step116 < 0 && _i >= limit116)) this.state = 54; +if (true) break; + +case 100: +//C +this.state = 99; +_i = ((int)(0 + _i + step116)) ; +if (true) break; + +case 54: +//C +this.state = 100; + //BA.debugLineNum = 833;BA.debugLine="c.Position=i"; +parent._c.setPosition(_i); + //BA.debugLineNum = 834;BA.debugLine="Dim cmd As DBCommand"; +parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); + //BA.debugLineNum = 835;BA.debugLine="cmd.Initialize"; +parent._cmd.Initialize(); + //BA.debugLineNum = 836;BA.debugLine="cmd.Name = \"insert_REPARTO_MAZAPA\""; +parent._cmd.Name /*String*/ = "insert_REPARTO_MAZAPA"; + //BA.debugLineNum = 837;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; +parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._c.GetString("CLIENTE")),(Object)(parent._c.GetString("USUARIO")),(Object)(parent._c.GetString("FECHA_PUNTEO")),(Object)(parent._c.GetString("LATITUD")),(Object)(parent._c.GetString("LONGITUD")),(Object)(parent._c.GetString("ALMACEN")),(Object)(parent._c.GetString("RUTA_REPARTO")),(Object)(parent._c.GetString("RUTA_PREV")),(Object)(parent._c.GetString("FECHA_PREVENTA")),(Object)(parent._c.GetString("MOTIVO")),(Object)(parent._c.GetString("COMENTARIO")),(Object)(parent._c.GetString("TIPO"))}; + //BA.debugLineNum = 838;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe"; +parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)(("ins_REPARTOPendientes_head_"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CLIENTE")))+""))); + if (true) break; +if (true) break; + +case 55: +//C +this.state = 56; +; + if (true) break; + +case 56: +//C +this.state = 57; +; + //BA.debugLineNum = 841;BA.debugLine="c.Close"; +parent._c.Close(); + //BA.debugLineNum = 844;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT VEINTE, DIEZ,"; +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 VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS"))); + //BA.debugLineNum = 845;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +parent._d = (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 RUTAA FROM RUTAA"))); + //BA.debugLineNum = 846;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; +parent._b = (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 = 847;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; +parent._f = (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"))); + //BA.debugLineNum = 848;BA.debugLine="d.Position = 0"; +parent._d.setPosition((int) (0)); + //BA.debugLineNum = 849;BA.debugLine="b.Position = 0"; +parent._b.setPosition((int) (0)); + //BA.debugLineNum = 850;BA.debugLine="f.Position = 0"; +parent._f.setPosition((int) (0)); + //BA.debugLineNum = 851;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 57: +//if +this.state = 64; +if (parent._c.getRowCount()>0) { +this.state = 59; +}if (true) break; + +case 59: +//C +this.state = 60; + //BA.debugLineNum = 852;BA.debugLine="Log($\"Procesando TABULADOR_MONEDAS: ${c.RowCount"; +parent.__c.LogImpl("042270876",("Procesando TABULADOR_MONEDAS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); + //BA.debugLineNum = 853;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; +parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); + //BA.debugLineNum = 854;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; +parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); + //BA.debugLineNum = 855;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; +parent.__c.LogImpl("042270879",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); + //BA.debugLineNum = 857;BA.debugLine="For i = 0 To c.RowCount - 1"; +if (true) break; + +case 60: +//for +this.state = 63; +step138 = 1; +limit138 = (int) (parent._c.getRowCount()-1); +_i = (int) (0) ; +this.state = 101; +if (true) break; + +case 101: +//C +this.state = 63; +if ((step138 > 0 && _i <= limit138) || (step138 < 0 && _i >= limit138)) this.state = 62; +if (true) break; + +case 102: +//C +this.state = 101; +_i = ((int)(0 + _i + step138)) ; +if (true) break; + +case 62: +//C +this.state = 102; + //BA.debugLineNum = 858;BA.debugLine="c.Position=i"; +parent._c.setPosition(_i); + //BA.debugLineNum = 859;BA.debugLine="Dim cmd As DBCommand"; +parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); + //BA.debugLineNum = 860;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; +_fechatabulador = parent.__c.Regex.Split(" ",parent._f.GetString("HVD_FECHA")); + //BA.debugLineNum = 861;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\""; +_fechatabulador2 = parent.__c.Regex.Split("-",_fechatabulador[(int) (0)]); + //BA.debugLineNum = 862;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2"; +_fechatabulador3 = _fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (0)]; + //BA.debugLineNum = 863;BA.debugLine="cmd.Initialize"; +parent._cmd.Initialize(); + //BA.debugLineNum = 864;BA.debugLine="cmd.Name = \"insert_tabulador_monedas_MAZAPA\""; +parent._cmd.Name /*String*/ = "insert_tabulador_monedas_MAZAPA"; + //BA.debugLineNum = 865;BA.debugLine="cmd.Parameters = Array As Object(d.GetString(\"R"; +parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._d.GetString("RUTAA")),(Object)(parent._b.GetString("ID_ALMACEN")),(Object)(parent._c.GetString("VEINTE")),(Object)(parent._c.GetString("DIEZ")),(Object)(parent._c.GetString("CINCO")),(Object)(parent._c.GetString("DOS")),(Object)(parent._c.GetString("PESO")),(Object)(parent._c.GetString("CENTAVO")),(Object)(_fechatabulador3)}; + //BA.debugLineNum = 866;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; +parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("ins_tabulador_mon")); + if (true) break; +if (true) break; + +case 63: +//C +this.state = 64; +; + //BA.debugLineNum = 868;BA.debugLine="c.Close"; +parent._c.Close(); + //BA.debugLineNum = 869;BA.debugLine="d.Close"; +parent._d.Close(); + //BA.debugLineNum = 870;BA.debugLine="b.Close"; +parent._b.Close(); + //BA.debugLineNum = 871;BA.debugLine="f.Close"; +parent._f.Close(); + if (true) break; + +case 64: +//C +this.state = 65; +; + //BA.debugLineNum = 875;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT IFNULL(HVD_REC"; +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 IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RUTA, HVD_CLIENTE, HVD_PROID, HVD_FECHA, HVD_CODPROMO, HVD_NUM_TICKET, HVD_CANT, CONSECUTIVO, BCAJAS, CANTC FROM HIST_VENTAS"))); + //BA.debugLineNum = 876;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 65: +//if +this.state = 78; +if (parent._c.getRowCount()>0) { +this.state = 67; +}if (true) break; + +case 67: +//C +this.state = 68; + //BA.debugLineNum = 877;BA.debugLine="Log($\"Procesando HIST_VENTAS (actualización): ${"; +parent.__c.LogImpl("042270901",("Procesando HIST_VENTAS (actualización): "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); + //BA.debugLineNum = 878;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; +parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); + //BA.debugLineNum = 879;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; +parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); + //BA.debugLineNum = 880;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; +parent.__c.LogImpl("042270904",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); + //BA.debugLineNum = 882;BA.debugLine="For i=0 To c.RowCount -1"; +if (true) break; + +case 68: +//for +this.state = 77; +step160 = 1; +limit160 = (int) (parent._c.getRowCount()-1); +_i = (int) (0) ; +this.state = 103; +if (true) break; + +case 103: +//C +this.state = 77; +if ((step160 > 0 && _i <= limit160) || (step160 < 0 && _i >= limit160)) this.state = 70; +if (true) break; + +case 104: +//C +this.state = 103; +_i = ((int)(0 + _i + step160)) ; +if (true) break; + +case 70: +//C +this.state = 71; + //BA.debugLineNum = 883;BA.debugLine="c.Position = i"; +parent._c.setPosition(_i); + //BA.debugLineNum = 884;BA.debugLine="Log(c.GetString(\"HVD_CLIENTE\"))"; +parent.__c.LogImpl("042270908",parent._c.GetString("HVD_CLIENTE"),0); + //BA.debugLineNum = 885;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 = 817;BA.debugLine="d4.Position = 0"; +_d4 = (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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO = '"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_CLIENTE")))+"'")))); + //BA.debugLineNum = 886;BA.debugLine="d4.Position = 0"; _d4.setPosition((int) (0)); - //BA.debugLineNum = 818;BA.debugLine="Log(d4.GetString(\"CAT_CL_RUTA\"))"; -__c.LogImpl("849479821",_d4.GetString("CAT_CL_RUTA"),0); - //BA.debugLineNum = 819;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery("; + //BA.debugLineNum = 887;BA.debugLine="Log(d4.GetString(\"CAT_CL_RUTA\"))"; +parent.__c.LogImpl("042270911",_d4.GetString("CAT_CL_RUTA"),0); + //BA.debugLineNum = 888;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")))+"'")))); - //BA.debugLineNum = 820;BA.debugLine="d5.Position = 0"; +_d5 = (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_CLIENTEOR = '"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CONSECUTIVO")))+"'")))); + //BA.debugLineNum = 889;BA.debugLine="d5.Position = 0"; _d5.setPosition((int) (0)); - //BA.debugLineNum = 821;BA.debugLine="Private restacant As String = d5.GetString(\"PE_"; + //BA.debugLineNum = 890;BA.debugLine="Private restacant As String = d5.GetString(\"PE_"; _restacant = _d5.GetString("PE_CANT"); - //BA.debugLineNum = 822;BA.debugLine="d5.Close"; + //BA.debugLineNum = 891;BA.debugLine="d5.Close"; _d5.Close(); - //BA.debugLineNum = 824;BA.debugLine="Dim fecha1() As String = Regex.Split(\" \", c.Get"; -_fecha1 = __c.Regex.Split(" ",_c.GetString("HVD_FECHA")); - //BA.debugLineNum = 825;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha"; -_fecha2 = __c.Regex.Split("-",_fecha1[(int) (0)]); - //BA.debugLineNum = 826;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&"; + //BA.debugLineNum = 893;BA.debugLine="Dim fecha1() As String = Regex.Split(\" \", c.Get"; +_fecha1 = parent.__c.Regex.Split(" ",parent._c.GetString("HVD_FECHA")); + //BA.debugLineNum = 894;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha"; +_fecha2 = parent.__c.Regex.Split("-",_fecha1[(int) (0)]); + //BA.debugLineNum = 895;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&"; _fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)]; - //BA.debugLineNum = 827;BA.debugLine="Log(fecha3)"; -__c.LogImpl("849479830",_fecha3,0); - //BA.debugLineNum = 828;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha1"; -_hora = __c.Regex.Split("\\.",_fecha1[(int) (1)]); - //BA.debugLineNum = 829;BA.debugLine="Log(hora(0))"; -__c.LogImpl("849479832",_hora[(int) (0)],0); - //BA.debugLineNum = 831;BA.debugLine="Dim sDate, sTime As String"; + //BA.debugLineNum = 896;BA.debugLine="Log(fecha3)"; +parent.__c.LogImpl("042270920",_fecha3,0); + //BA.debugLineNum = 897;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha1"; +_hora = parent.__c.Regex.Split("\\.",_fecha1[(int) (1)]); + //BA.debugLineNum = 898;BA.debugLine="Log(hora(0))"; +parent.__c.LogImpl("042270922",_hora[(int) (0)],0); + //BA.debugLineNum = 900;BA.debugLine="Dim sDate, sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 832;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; -__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 833;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 834;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 835;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 836;BA.debugLine="If c.GetString(\"HVD_RECHAZOCANT\") <> \"0\" Then"; -if ((_c.GetString("HVD_RECHAZOCANT")).equals("0") == false) { - //BA.debugLineNum = 837;BA.debugLine="Log((c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; -__c.LogImpl("849479840",BA.NumberToString(((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))),0); - //BA.debugLineNum = 838;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 839;BA.debugLine="cmd.Name = \"update_HVD_MAZAPArep2\""; -_cmd.Name /*String*/ = "update_HVD_MAZAPArep2"; - //BA.debugLineNum = 840;BA.debugLine="cmd.Parameters = Array As String(c.GetString(\""; -_cmd.Parameters /*Object[]*/ = (Object[])(new String[]{_c.GetString("HVD_RECHAZOCANT"),_c.GetString("BCAJAS"),_c.GetString("CANTC"),_sdate+" "+_stime,BA.NumberToString(1),_c.GetString("HVD_CLIENTE"),_c.GetString("HVD_PROID"),_fecha3+" "+_hora[(int) (0)],_d4.GetString("CAT_CL_RUTA"),_almacen,_l_ruta.getText(),_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_NUM_TICKET"),_c.GetString("HVD_CANT")}); - //BA.debugLineNum = 841;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("update_hvd")); - }else { - //BA.debugLineNum = 843;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 844;BA.debugLine="cmd.Name = \"update_HVD_MAZAPArep2\""; -_cmd.Name /*String*/ = "update_HVD_MAZAPArep2"; - //BA.debugLineNum = 845;BA.debugLine="Log( c.GetString(\"CANTC\")& c.GetString(\"HVD_CL"; -__c.LogImpl("849479848",_c.GetString("CANTC")+_c.GetString("HVD_CLIENTE")+_c.GetString("HVD_PROID")+_fecha3+" "+_hora[(int) (0)]+_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 = 846;BA.debugLine="cmd.Parameters = Array As String(\"\",c.GetStrin"; -_cmd.Parameters /*Object[]*/ = (Object[])(new String[]{"",_c.GetString("BCAJAS"),_c.GetString("CANTC"),"","",_c.GetString("HVD_CLIENTE"),_c.GetString("HVD_PROID"),_fecha3+" "+_hora[(int) (0)],_d4.GetString("CAT_CL_RUTA"),_almacen,_l_ruta.getText(),_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_NUM_TICKET"),_c.GetString("HVD_CANT")}); - //BA.debugLineNum = 847;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("update_hvd")); - }; - //BA.debugLineNum = 849;BA.debugLine="d4.Close"; + //BA.debugLineNum = 901;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); + //BA.debugLineNum = 902;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +parent.__c.DateTime.setTimeFormat("HH:mm:ss"); + //BA.debugLineNum = 903;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +_sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); + //BA.debugLineNum = 904;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +_stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); + //BA.debugLineNum = 905;BA.debugLine="If c.GetString(\"HVD_RECHAZOCANT\") <> \"0\" Then"; +if (true) break; + +case 71: +//if +this.state = 76; +if ((parent._c.GetString("HVD_RECHAZOCANT")).equals("0") == false) { +this.state = 73; +}else { +this.state = 75; +}if (true) break; + +case 73: +//C +this.state = 76; + //BA.debugLineNum = 906;BA.debugLine="Log((c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; +parent.__c.LogImpl("042270930",BA.NumberToString(((double)(Double.parseDouble(parent._c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))),0); + //BA.debugLineNum = 907;BA.debugLine="cmd.Initialize"; +parent._cmd.Initialize(); + //BA.debugLineNum = 908;BA.debugLine="cmd.Name = \"update_HVD_MAZAPArep2\""; +parent._cmd.Name /*String*/ = "update_HVD_MAZAPArep2"; + //BA.debugLineNum = 909;BA.debugLine="cmd.Parameters = Array As String(c.GetString(\""; +parent._cmd.Parameters /*Object[]*/ = (Object[])(new String[]{parent._c.GetString("HVD_RECHAZOCANT"),parent._c.GetString("BCAJAS"),parent._c.GetString("CANTC"),_sdate+" "+_stime,BA.NumberToString(1),parent._c.GetString("HVD_CLIENTE"),parent._c.GetString("HVD_PROID"),_fecha3+" "+_hora[(int) (0)],parent._c.GetString("HVD_RUTA"),parent._almacen,parent._l_ruta.getText(),parent._c.GetString("HVD_CODPROMO"),parent._c.GetString("HVD_NUM_TICKET"),parent._c.GetString("HVD_CANT")}); + //BA.debugLineNum = 910;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")"; +parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("update_hvd")); + if (true) break; + +case 75: +//C +this.state = 76; + //BA.debugLineNum = 912;BA.debugLine="cmd.Initialize"; +parent._cmd.Initialize(); + //BA.debugLineNum = 913;BA.debugLine="cmd.Name = \"update_HVD_MAZAPArep2\""; +parent._cmd.Name /*String*/ = "update_HVD_MAZAPArep2"; + //BA.debugLineNum = 914;BA.debugLine="Log( c.GetString(\"CANTC\")& c.GetString(\"HVD_CL"; +parent.__c.LogImpl("042270938",parent._c.GetString("CANTC")+parent._c.GetString("HVD_CLIENTE")+parent._c.GetString("HVD_PROID")+_fecha3+" "+_hora[(int) (0)]+_d4.GetString("CAT_CL_RUTA")+parent._almacen+parent._l_ruta.getText()+parent._c.GetString("HVD_CODPROMO")+parent._c.GetString("HVD_NUM_TICKET")+parent._c.GetString("HVD_CANT"),0); + //BA.debugLineNum = 915;BA.debugLine="cmd.Parameters = Array As String(\"\",c.GetStrin"; +parent._cmd.Parameters /*Object[]*/ = (Object[])(new String[]{"",parent._c.GetString("BCAJAS"),parent._c.GetString("CANTC"),"","",parent._c.GetString("HVD_CLIENTE"),parent._c.GetString("HVD_PROID"),_fecha3+" "+_hora[(int) (0)],parent._c.GetString("HVD_RUTA"),parent._almacen,parent._l_ruta.getText(),parent._c.GetString("HVD_CODPROMO"),parent._c.GetString("HVD_NUM_TICKET"),parent._c.GetString("HVD_CANT")}); + //BA.debugLineNum = 916;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")"; +parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("update_hvd")); + if (true) break; + +case 76: +//C +this.state = 104; +; + //BA.debugLineNum = 918;BA.debugLine="d4.Close"; _d4.Close(); - } -}; - }; - //BA.debugLineNum = 852;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 855;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 = 856;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 = 857;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 = 858;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 = 859;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 860;BA.debugLine="b.Position = 0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 861;BA.debugLine="f.Position = 0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 862;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 863;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step166 = 1; -final int limit166 = (int) (_c.getRowCount()-1); + if (true) break; +if (true) break; + +case 77: +//C +this.state = 78; +; + if (true) break; + +case 78: +//C +this.state = 79; +; + //BA.debugLineNum = 921;BA.debugLine="c.Close"; +parent._c.Close(); + //BA.debugLineNum = 924;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT MIL, QUINIENTO"; +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 MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES"))); + //BA.debugLineNum = 925;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +parent._d = (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 RUTAA FROM RUTAA"))); + //BA.debugLineNum = 926;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; +parent._b = (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 = 927;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; +parent._f = (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"))); + //BA.debugLineNum = 928;BA.debugLine="d.Position = 0"; +parent._d.setPosition((int) (0)); + //BA.debugLineNum = 929;BA.debugLine="b.Position = 0"; +parent._b.setPosition((int) (0)); + //BA.debugLineNum = 930;BA.debugLine="f.Position = 0"; +parent._f.setPosition((int) (0)); + //BA.debugLineNum = 931;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 79: +//if +this.state = 86; +if (parent._c.getRowCount()>0) { +this.state = 81; +}if (true) break; + +case 81: +//C +this.state = 82; + //BA.debugLineNum = 932;BA.debugLine="Log($\"Procesando TABULADOR_BILLETES: ${c.RowCoun"; +parent.__c.LogImpl("042270956",("Procesando TABULADOR_BILLETES: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); + //BA.debugLineNum = 933;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; +parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); + //BA.debugLineNum = 934;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; +parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); + //BA.debugLineNum = 935;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; +parent.__c.LogImpl("042270959",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); + //BA.debugLineNum = 937;BA.debugLine="For i = 0 To c.RowCount - 1"; +if (true) break; + +case 82: +//for +this.state = 85; +step210 = 1; +limit210 = (int) (parent._c.getRowCount()-1); _i = (int) (0) ; -for (;_i <= limit166 ;_i = _i + step166 ) { - //BA.debugLineNum = 864;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 865;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 866;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; -_fechatabulador = __c.Regex.Split(" ",_f.GetString("HVD_FECHA")); - //BA.debugLineNum = 867;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\""; -_fechatabulador2 = __c.Regex.Split("-",_fechatabulador[(int) (0)]); - //BA.debugLineNum = 868;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2"; +this.state = 105; +if (true) break; + +case 105: +//C +this.state = 85; +if ((step210 > 0 && _i <= limit210) || (step210 < 0 && _i >= limit210)) this.state = 84; +if (true) break; + +case 106: +//C +this.state = 105; +_i = ((int)(0 + _i + step210)) ; +if (true) break; + +case 84: +//C +this.state = 106; + //BA.debugLineNum = 938;BA.debugLine="c.Position=i"; +parent._c.setPosition(_i); + //BA.debugLineNum = 939;BA.debugLine="Dim cmd As DBCommand"; +parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); + //BA.debugLineNum = 940;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; +_fechatabulador = parent.__c.Regex.Split(" ",parent._f.GetString("HVD_FECHA")); + //BA.debugLineNum = 941;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\""; +_fechatabulador2 = parent.__c.Regex.Split("-",_fechatabulador[(int) (0)]); + //BA.debugLineNum = 942;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2"; _fechatabulador3 = _fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (0)]; - //BA.debugLineNum = 869;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 870;BA.debugLine="cmd.Name = \"insert_tabulador_billetes_MAZAPA\""; -_cmd.Name /*String*/ = "insert_tabulador_billetes_MAZAPA"; - //BA.debugLineNum = 871;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 = 872;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_tabulador_bill")); - } -}; - //BA.debugLineNum = 874;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 875;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 876;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 877;BA.debugLine="f.Close"; -_f.Close(); - }; - //BA.debugLineNum = 881;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 882;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 883;BA.debugLine="cmd.Name = \"insert_drop_rep_MAZAPA\""; -_cmd.Name /*String*/ = "insert_drop_rep_MAZAPA"; - //BA.debugLineNum = 884;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")}; - //BA.debugLineNum = 885;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_drop")); - //BA.debugLineNum = 886;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 = 887;BA.debugLine="End Sub"; -return ""; + //BA.debugLineNum = 943;BA.debugLine="cmd.Initialize"; +parent._cmd.Initialize(); + //BA.debugLineNum = 944;BA.debugLine="cmd.Name = \"insert_tabulador_billetes_MAZAPA\""; +parent._cmd.Name /*String*/ = "insert_tabulador_billetes_MAZAPA"; + //BA.debugLineNum = 945;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"I"; +parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._b.GetString("ID_ALMACEN")),(Object)(parent._d.GetString("RUTAA")),(Object)(parent._c.GetString("MIL")),(Object)(parent._c.GetString("QUINIENTOS")),(Object)(parent._c.GetString("DOCIENTOS")),(Object)(parent._c.GetString("CIEN")),(Object)(parent._c.GetString("CINCUENTA")),(Object)(parent._c.GetString("VEINTE")),(Object)(_fechatabulador3)}; + //BA.debugLineNum = 946;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; +parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("ins_tabulador_bill")); + if (true) break; +if (true) break; + +case 85: +//C +this.state = 86; +; + //BA.debugLineNum = 948;BA.debugLine="c.Close"; +parent._c.Close(); + //BA.debugLineNum = 949;BA.debugLine="d.Close"; +parent._d.Close(); + //BA.debugLineNum = 950;BA.debugLine="b.Close"; +parent._b.Close(); + //BA.debugLineNum = 951;BA.debugLine="f.Close"; +parent._f.Close(); + if (true) break; + +case 86: +//C +this.state = -1; +; + //BA.debugLineNum = 955;BA.debugLine="Dim cmd As DBCommand"; +parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); + //BA.debugLineNum = 956;BA.debugLine="cmd.Initialize"; +parent._cmd.Initialize(); + //BA.debugLineNum = 957;BA.debugLine="cmd.Name = \"insert_drop_rep_MAZAPA2\""; +parent._cmd.Name /*String*/ = "insert_drop_rep_MAZAPA2"; + //BA.debugLineNum = 958;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuario"; +parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._subs._dameusuariodedb /*String*/ (ba)),(Object)(parent._l_ruta.getText()),(Object)(parent._almacen),(Object)(parent._l_ctast.getText()),(Object)(parent._subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(parent._subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("ENVIO"),(Object)(parent.__c.Application.getVersionName())}; + //BA.debugLineNum = 959;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; +parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("inst_drop")); + //BA.debugLineNum = 961;BA.debugLine="Log($\"PROCESO COMPLETADO - TOTAL DE REGISTROS PRO"; +parent.__c.LogImpl("042270985",("PROCESO COMPLETADO - TOTAL DE REGISTROS PROCESADOS: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); + //BA.debugLineNum = 962;BA.debugLine="ToastMessageShow(\"Se Actualizaron los datos, Este"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaron los datos, Este proceso podria tardar hasta un minuto, gracias "+parent._l_ruta.getText()),parent.__c.True); + //BA.debugLineNum = 964;BA.debugLine="Wait For AllRequestsComplete ' Espera a que todos"; +parent.__c.WaitFor("allrequestscomplete", ba, this, null); +this.state = 107; +return; +case 107: +//C +this.state = -1; +; + //BA.debugLineNum = 966;BA.debugLine="Log($\"Total registros procesados: ${totalRegistro"; +parent.__c.LogImpl("042270990",("Total registros procesados: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); + //BA.debugLineNum = 967;BA.debugLine="Log($\"Requests exitosos: ${successfulRequests}\"$)"; +parent.__c.LogImpl("042270991",("Requests exitosos: "+parent.__c.SmartStringFormatter("",(Object)(parent._successfulrequests))+""),0); + //BA.debugLineNum = 968;BA.debugLine="LogColor(\"Esto es totalRegistrosTotales: ---->\" &"; +parent.__c.LogImpl("042270992","Esto es totalRegistrosTotales: ---->"+BA.NumberToString(parent._totalregistrostotales),parent.__c.Colors.Red); + //BA.debugLineNum = 971;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _allrequestscomplete() throws Exception{ } public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ innerInitialize(_ba); - //BA.debugLineNum = 95;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 96;BA.debugLine="Return Me"; + //BA.debugLineNum = 104;BA.debugLine="Public Sub Initialize As Object"; + //BA.debugLineNum = 105;BA.debugLine="Return Me"; if (true) return this; - //BA.debugLineNum = 97;BA.debugLine="End Sub"; + //BA.debugLineNum = 106;BA.debugLine="End Sub"; return null; } public String _inv_click() throws Exception{ - //BA.debugLineNum = 1640;BA.debugLine="Sub inv_Click"; - //BA.debugLineNum = 1641;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; + //BA.debugLineNum = 1764;BA.debugLine="Sub inv_Click"; + //BA.debugLineNum = 1765;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 = 1642;BA.debugLine="End Sub"; + //BA.debugLineNum = 1766;BA.debugLine="End Sub"; return ""; } public boolean _isconnectedtointernet() throws Exception{ anywheresoftware.b4a.agraham.reflection.Reflection _r = null; - //BA.debugLineNum = 630;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore"; - //BA.debugLineNum = 631;BA.debugLine="Dim r As Reflector"; + //BA.debugLineNum = 640;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore"; + //BA.debugLineNum = 641;BA.debugLine="Dim r As Reflector"; _r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 632;BA.debugLine="r.Target = r.GetContext"; + //BA.debugLineNum = 642;BA.debugLine="r.Target = r.GetContext"; _r.Target = (Object)(_r.GetContext(ba)); - //BA.debugLineNum = 633;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn"; + //BA.debugLineNum = 643;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn"; _r.Target = _r.RunMethod2("getSystemService","connectivity","java.lang.String"); - //BA.debugLineNum = 634;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")"; + //BA.debugLineNum = 644;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")"; _r.Target = _r.RunMethod("getActiveNetworkInfo"); - //BA.debugLineNum = 635;BA.debugLine="If r.Target <> Null Then"; + //BA.debugLineNum = 645;BA.debugLine="If r.Target <> Null Then"; if (_r.Target!= null) { - //BA.debugLineNum = 636;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")"; + //BA.debugLineNum = 646;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")"; if (true) return BA.ObjectToBoolean(_r.RunMethod("isConnectedOrConnecting")); }; - //BA.debugLineNum = 638;BA.debugLine="Return False"; + //BA.debugLineNum = 648;BA.debugLine="Return False"; if (true) return __c.False; - //BA.debugLineNum = 639;BA.debugLine="End Sub"; + //BA.debugLineNum = 649;BA.debugLine="End Sub"; return false; } public String _jobdone(reparto_mazapa.keymon.lat.httpjob _job) throws Exception{ @@ -2551,6 +3187,7 @@ String _hvd_rechazo = ""; String _hvd_placa = ""; String _bcajas = ""; String _cantc = ""; +String _hvd_ruta = ""; anywheresoftware.b4a.sql.SQL.CursorWrapper _tc = null; String _cat_va_descripcion = ""; String _cat_va_valor = ""; @@ -2564,1050 +3201,1122 @@ String _valido = ""; double _lat = 0; double _lon = 0; String _k = ""; - //BA.debugLineNum = 1044;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 1046;BA.debugLine="If Job.Success = False Then"; + //BA.debugLineNum = 1128;BA.debugLine="Sub JobDone(Job As HttpJob)"; + //BA.debugLineNum = 1130;BA.debugLine="Log(todosRequest)"; +__c.LogImpl("042401794",BA.NumberToString(_todosrequest),0); + //BA.debugLineNum = 1131;BA.debugLine="todosRequest = todosRequest +1"; +_todosrequest = (int) (_todosrequest+1); + //BA.debugLineNum = 1132;BA.debugLine="Log(todosRequest)"; +__c.LogImpl("042401796",BA.NumberToString(_todosrequest),0); + //BA.debugLineNum = 1133;BA.debugLine="If Job.Success = False Then"; if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 1047;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro"; -__c.LogImpl("849610755","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red); + //BA.debugLineNum = 1134;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro"; +__c.LogImpl("042401798","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red); }else { - //BA.debugLineNum = 1050;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("849610758","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 1051;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1137;BA.debugLine="LogColor(\"Esto es totalRegistros: \" & totalRegis"; +__c.LogImpl("042401801","Esto es totalRegistros: "+BA.NumberToString(_totalregistros),__c.Colors.Red); + //BA.debugLineNum = 1138;BA.debugLine="successfulRequests = successfulRequests + 1"; +_successfulrequests = (int) (_successfulrequests+1); + //BA.debugLineNum = 1139;BA.debugLine="totalRegistros = totalRegistros - 1"; +_totalregistros = (int) (_totalregistros-1); + //BA.debugLineNum = 1140;BA.debugLine="Log(\"Esto es successfulRequests: \" & successfulR"; +__c.LogImpl("042401804","Esto es successfulRequests: "+BA.NumberToString(_successfulrequests),0); + //BA.debugLineNum = 1141;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("042401805","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); + //BA.debugLineNum = 1142;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1052;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1143;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1053;BA.debugLine="If result.Tag = \"kmt_datos\" Then 'query tag"; + //BA.debugLineNum = 1144;BA.debugLine="If result.Tag = \"kmt_datos\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos"))) { - //BA.debugLineNum = 1054;BA.debugLine="If reqs.IndexOf(\"kmt_datos\") > -1 Then"; + //BA.debugLineNum = 1145;BA.debugLine="If reqs.IndexOf(\"kmt_datos\") > -1 Then"; if (_reqs.IndexOf((Object)("kmt_datos"))>-1) { - //BA.debugLineNum = 1055;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"kmt_datos\"))"; + //BA.debugLineNum = 1146;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"kmt_datos\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("kmt_datos"))); }; - //BA.debugLineNum = 1058;BA.debugLine="Starter.skmt.BeginTransaction"; + //BA.debugLineNum = 1149;BA.debugLine="Starter.skmt.BeginTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1060;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1151;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() -;int index12 = 0; +final anywheresoftware.b4a.BA.IterableList group19 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen19 = group19.getSize() +;int index19 = 0; ; -for (; index12 < groupLen12;index12++){ -_records = (Object[])(group12.Get(index12)); - //BA.debugLineNum = 1061;BA.debugLine="Dim CAT_CL_CODIGO As String = records(result."; +for (; index19 < groupLen19;index19++){ +_records = (Object[])(group19.Get(index19)); + //BA.debugLineNum = 1152;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 = 1062;BA.debugLine="Dim CAT_CL_RUTA As String = records(result.Co"; + //BA.debugLineNum = 1153;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 = 1063;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(result."; + //BA.debugLineNum = 1154;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 = 1064;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(resul"; + //BA.debugLineNum = 1155;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 = 1065;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(resul"; + //BA.debugLineNum = 1156;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 = 1066;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(resul"; + //BA.debugLineNum = 1157;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 = 1067;BA.debugLine="Dim CAT_CL_EMAIL As String = records(result.C"; + //BA.debugLineNum = 1158;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 = 1068;BA.debugLine="Dim CAT_CL_CALLE As String = records(result.C"; + //BA.debugLineNum = 1159;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 = 1069;BA.debugLine="Dim CAT_CL_NOEXT As String = records(result.C"; + //BA.debugLineNum = 1160;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 = 1070;BA.debugLine="Dim CAT_CL_NOINT As String = records(result.C"; + //BA.debugLineNum = 1161;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 = 1071;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(result."; + //BA.debugLineNum = 1162;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 = 1072;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(result."; + //BA.debugLineNum = 1163;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 = 1073;BA.debugLine="Dim CAT_CL_COLONIA As String = records(result"; + //BA.debugLineNum = 1164;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 = 1074;BA.debugLine="Dim CAT_CL_MUNI As String = records(result.Co"; + //BA.debugLineNum = 1165;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 = 1075;BA.debugLine="Dim CAT_CL_EDO As String = records(result.Col"; + //BA.debugLineNum = 1166;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 = 1076;BA.debugLine="Dim CAT_CL_CP As String = records(result.Colu"; + //BA.debugLineNum = 1167;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 = 1077;BA.debugLine="Dim CAT_CL_LONG As String = records(result.Co"; + //BA.debugLineNum = 1168;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 = 1078;BA.debugLine="Dim CAT_CL_LAT As String = records(result.Col"; + //BA.debugLineNum = 1169;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 = 1079;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(resul"; + //BA.debugLineNum = 1170;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 = 1080;BA.debugLine="Dim CAT_CL_SECUENCIA As String = records(resu"; + //BA.debugLineNum = 1171;BA.debugLine="Dim CAT_CL_SECUENCIA As String = records(resu"; _cat_cl_secuencia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_SECUENCIA"))))]); - //BA.debugLineNum = 1082;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_i"; + //BA.debugLineNum = 1173;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,SECUENCIA) 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),(Object)(_cat_cl_secuencia)})); } }; - //BA.debugLineNum = 1084;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in"; + //BA.debugLineNum = 1175;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)("VENTA RECHAZO"),(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 = 1086;BA.debugLine="Starter.skmt.TransactionSuccessful"; + //BA.debugLineNum = 1177;BA.debugLine="Starter.skmt.TransactionSuccessful"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1087;BA.debugLine="Starter.skmt.EndTransaction"; + //BA.debugLineNum = 1178;BA.debugLine="Starter.skmt.EndTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1088;BA.debugLine="Listo1 = 1"; + //BA.debugLineNum = 1179;BA.debugLine="Listo1 = 1"; _listo1 = BA.NumberToString(1); - //BA.debugLineNum = 1089;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; + //BA.debugLineNum = 1180;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; if ((_listo1).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1090;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 1181;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1091;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 1182;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 1092;BA.debugLine="img2.Visible = False"; + //BA.debugLineNum = 1183;BA.debugLine="img2.Visible = False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1093;BA.debugLine="EJECUTANDO=0"; + //BA.debugLineNum = 1184;BA.debugLine="EJECUTANDO=0"; _ejecutando = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 1098;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1189;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1099;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1190;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1100;BA.debugLine="If result.Tag = \"gunaprod3\" Then 'query tag"; + //BA.debugLineNum = 1191;BA.debugLine="If result.Tag = \"gunaprod3\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod3"))) { - //BA.debugLineNum = 1101;BA.debugLine="If reqs.IndexOf(\"gunaprod3\") > -1 Then"; + //BA.debugLineNum = 1192;BA.debugLine="If reqs.IndexOf(\"gunaprod3\") > -1 Then"; if (_reqs.IndexOf((Object)("gunaprod3"))>-1) { - //BA.debugLineNum = 1102;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod3\"))"; + //BA.debugLineNum = 1193;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod3\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprod3"))); - //BA.debugLineNum = 1103;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("849610811",BA.NumberToString(_reqs.getSize()),0); + //BA.debugLineNum = 1194;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("042401858",BA.NumberToString(_reqs.getSize()),0); }; - //BA.debugLineNum = 1105;BA.debugLine="Starter.skmt.BeginTransaction"; + //BA.debugLineNum = 1196;BA.debugLine="Starter.skmt.BeginTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1106;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1197;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group55 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen55 = group55.getSize() -;int index55 = 0; +final anywheresoftware.b4a.BA.IterableList group62 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen62 = group62.getSize() +;int index62 = 0; ; -for (; index55 < groupLen55;index55++){ -_records = (Object[])(group55.Get(index55)); - //BA.debugLineNum = 1107;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; +for (; index62 < groupLen62;index62++){ +_records = (Object[])(group62.Get(index62)); + //BA.debugLineNum = 1198;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 = 1108;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; + //BA.debugLineNum = 1199;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 = 1109;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; + //BA.debugLineNum = 1200;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 = 1110;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; + //BA.debugLineNum = 1201;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 = 1111;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; + //BA.debugLineNum = 1202;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 = 1112;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; + //BA.debugLineNum = 1203;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 = 1113;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; + //BA.debugLineNum = 1204;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 = 1114;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; + //BA.debugLineNum = 1205;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 = 1115;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; + //BA.debugLineNum = 1206;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 = 1116;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; + //BA.debugLineNum = 1207;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 = 1117;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(result.Co"; + //BA.debugLineNum = 1208;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 = 1119;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(result.C"; + //BA.debugLineNum = 1210;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 = 1120;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(result"; + //BA.debugLineNum = 1211;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 = 1121;BA.debugLine="Dim CAT_DP_PRECIO4 As Float = records(result."; + //BA.debugLineNum = 1212;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 = 1122;BA.debugLine="Dim CAT_DP_CONVERSION1 As Int = records(resul"; + //BA.debugLineNum = 1213;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 = 1123;BA.debugLine="Dim CAT_DP_CANT_MIN_VENTA As Int = records(re"; + //BA.debugLineNum = 1214;BA.debugLine="Dim CAT_DP_CANT_MIN_VENTA As Int = records(re"; _cat_dp_cant_min_venta = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CANT_MIN_VENTA"))))])); - //BA.debugLineNum = 1126;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; + //BA.debugLineNum = 1217;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,CAT_DP_CANT_MIN_VENTA) 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),(Object)(_cat_dp_cant_min_venta)})); } }; - //BA.debugLineNum = 1128;BA.debugLine="Starter.skmt.TransactionSuccessful"; + //BA.debugLineNum = 1219;BA.debugLine="Starter.skmt.TransactionSuccessful"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1129;BA.debugLine="Starter.skmt.EndTransaction"; + //BA.debugLineNum = 1220;BA.debugLine="Starter.skmt.EndTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1130;BA.debugLine="Listo2=1"; + //BA.debugLineNum = 1221;BA.debugLine="Listo2=1"; _listo2 = BA.NumberToString(1); - //BA.debugLineNum = 1131;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; + //BA.debugLineNum = 1222;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 = 1132;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 1223;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1133;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 1224;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 1134;BA.debugLine="img2.Visible = False"; + //BA.debugLineNum = 1225;BA.debugLine="img2.Visible = False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1135;BA.debugLine="EJECUTANDO=0"; + //BA.debugLineNum = 1226;BA.debugLine="EJECUTANDO=0"; _ejecutando = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 1140;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1231;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1141;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1232;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1142;BA.debugLine="If result.Tag = \"gunaprod\" Then 'query tag"; + //BA.debugLineNum = 1233;BA.debugLine="If result.Tag = \"gunaprod\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod"))) { - //BA.debugLineNum = 1143;BA.debugLine="If reqs.IndexOf(\"gunaprod\") > -1 Then"; + //BA.debugLineNum = 1234;BA.debugLine="If reqs.IndexOf(\"gunaprod\") > -1 Then"; if (_reqs.IndexOf((Object)("gunaprod"))>-1) { - //BA.debugLineNum = 1144;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod\"))"; + //BA.debugLineNum = 1235;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprod"))); - //BA.debugLineNum = 1145;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("849610853",BA.NumberToString(_reqs.getSize()),0); + //BA.debugLineNum = 1236;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("042401900",BA.NumberToString(_reqs.getSize()),0); }; - //BA.debugLineNum = 1147;BA.debugLine="Starter.skmt.BeginTransaction"; + //BA.debugLineNum = 1238;BA.debugLine="Starter.skmt.BeginTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1148;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1239;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group93 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen93 = group93.getSize() -;int index93 = 0; +final anywheresoftware.b4a.BA.IterableList group100 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen100 = group100.getSize() +;int index100 = 0; ; -for (; index93 < groupLen93;index93++){ -_records = (Object[])(group93.Get(index93)); - //BA.debugLineNum = 1149;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; +for (; index100 < groupLen100;index100++){ +_records = (Object[])(group100.Get(index100)); + //BA.debugLineNum = 1240;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 = 1150;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; + //BA.debugLineNum = 1241;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 = 1151;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; + //BA.debugLineNum = 1242;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 = 1152;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; + //BA.debugLineNum = 1243;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 = 1153;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; + //BA.debugLineNum = 1244;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 = 1154;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; + //BA.debugLineNum = 1245;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 = 1155;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; + //BA.debugLineNum = 1246;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 = 1156;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; + //BA.debugLineNum = 1247;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 = 1157;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; + //BA.debugLineNum = 1248;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 = 1158;BA.debugLine="Dim CONVERSION As String = records(result.Col"; + //BA.debugLineNum = 1249;BA.debugLine="Dim CONVERSION As String = records(result.Col"; _conversion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CONVERSION1"))))]); - //BA.debugLineNum = 1159;BA.debugLine="Dim PRECIOCONVER As String = records(result.C"; + //BA.debugLineNum = 1250;BA.debugLine="Dim PRECIOCONVER As String = records(result.C"; _precioconver = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO4"))))]); - //BA.debugLineNum = 1160;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; + //BA.debugLineNum = 1251;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 = 1165;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; + //BA.debugLineNum = 1256;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 = 1167;BA.debugLine="Starter.skmt.TransactionSuccessful"; + //BA.debugLineNum = 1258;BA.debugLine="Starter.skmt.TransactionSuccessful"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1168;BA.debugLine="Starter.skmt.EndTransaction"; + //BA.debugLineNum = 1259;BA.debugLine="Starter.skmt.EndTransaction"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1169;BA.debugLine="Listo2=1"; + //BA.debugLineNum = 1260;BA.debugLine="Listo2=1"; _listo2 = BA.NumberToString(1); - //BA.debugLineNum = 1170;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; + //BA.debugLineNum = 1261;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 = 1171;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 1262;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1172;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 1263;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 1173;BA.debugLine="img2.Visible = False"; + //BA.debugLineNum = 1264;BA.debugLine="img2.Visible = False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1174;BA.debugLine="EJECUTANDO=0"; + //BA.debugLineNum = 1265;BA.debugLine="EJECUTANDO=0"; _ejecutando = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 1179;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1270;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1180;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1271;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1181;BA.debugLine="If result.Tag = \"gunaprodp\" Then 'query tag"; + //BA.debugLineNum = 1272;BA.debugLine="If result.Tag = \"gunaprodp\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodp"))) { - //BA.debugLineNum = 1182;BA.debugLine="If reqs.IndexOf(\"gunaprodp\") > -1 Then"; + //BA.debugLineNum = 1273;BA.debugLine="If reqs.IndexOf(\"gunaprodp\") > -1 Then"; if (_reqs.IndexOf((Object)("gunaprodp"))>-1) { - //BA.debugLineNum = 1183;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprodp\"))"; + //BA.debugLineNum = 1274;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprodp\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprodp"))); - //BA.debugLineNum = 1184;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("849610892",BA.NumberToString(_reqs.getSize()),0); + //BA.debugLineNum = 1275;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("042401939",BA.NumberToString(_reqs.getSize()),0); }; - //BA.debugLineNum = 1186;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1277;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group126 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen126 = group126.getSize() -;int index126 = 0; +final anywheresoftware.b4a.BA.IterableList group133 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen133 = group133.getSize() +;int index133 = 0; ; -for (; index126 < groupLen126;index126++){ -_records = (Object[])(group126.Get(index126)); - //BA.debugLineNum = 1187;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; +for (; index133 < groupLen133;index133++){ +_records = (Object[])(group133.Get(index133)); + //BA.debugLineNum = 1278;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 = 1188;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; + //BA.debugLineNum = 1279;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 = 1189;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; + //BA.debugLineNum = 1280;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 = 1190;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; + //BA.debugLineNum = 1281;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 = 1191;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; + //BA.debugLineNum = 1282;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 = 1192;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; + //BA.debugLineNum = 1283;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 = 1193;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; + //BA.debugLineNum = 1284;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 = 1194;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; + //BA.debugLineNum = 1285;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 = 1195;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; + //BA.debugLineNum = 1286;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 = 1196;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; + //BA.debugLineNum = 1287;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 = 1199;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; + //BA.debugLineNum = 1290;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 = 1201;BA.debugLine="Listo4=1"; + //BA.debugLineNum = 1292;BA.debugLine="Listo4=1"; _listo4 = BA.NumberToString(1); - //BA.debugLineNum = 1202;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; + //BA.debugLineNum = 1293;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 = 1203;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 1294;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1204;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 1295;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 1205;BA.debugLine="img2.Visible = False"; + //BA.debugLineNum = 1296;BA.debugLine="img2.Visible = False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1206;BA.debugLine="EJECUTANDO=0"; + //BA.debugLineNum = 1297;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 = 1208;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 1299;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1209;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 1300;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 1210;BA.debugLine="img2.Visible = False"; + //BA.debugLineNum = 1301;BA.debugLine="img2.Visible = False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1211;BA.debugLine="EJECUTANDO=0"; + //BA.debugLineNum = 1302;BA.debugLine="EJECUTANDO=0"; _ejecutando = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 1216;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1307;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1217;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1308;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1218;BA.debugLine="If result.Tag = \"detallepaq\" Then 'query tag"; + //BA.debugLineNum = 1309;BA.debugLine="If result.Tag = \"detallepaq\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("detallepaq"))) { - //BA.debugLineNum = 1219;BA.debugLine="If reqs.IndexOf(\"detallepaq\") > -1 Then"; + //BA.debugLineNum = 1310;BA.debugLine="If reqs.IndexOf(\"detallepaq\") > -1 Then"; if (_reqs.IndexOf((Object)("detallepaq"))>-1) { - //BA.debugLineNum = 1220;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"detallepaq\"))"; + //BA.debugLineNum = 1311;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"detallepaq\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("detallepaq"))); - //BA.debugLineNum = 1221;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("849610929",BA.NumberToString(_reqs.getSize()),0); + //BA.debugLineNum = 1312;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("042401976",BA.NumberToString(_reqs.getSize()),0); }; - //BA.debugLineNum = 1223;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1314;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group160 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen160 = group160.getSize() -;int index160 = 0; +final anywheresoftware.b4a.BA.IterableList group167 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen167 = group167.getSize() +;int index167 = 0; ; -for (; index160 < groupLen160;index160++){ -_records = (Object[])(group160.Get(index160)); - //BA.debugLineNum = 1224;BA.debugLine="Dim CAT_DP_ALMACEN As String = records(resul"; +for (; index167 < groupLen167;index167++){ +_records = (Object[])(group167.Get(index167)); + //BA.debugLineNum = 1315;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 = 1225;BA.debugLine="Dim CAT_DP_ID As String = records(result.Colu"; + //BA.debugLineNum = 1316;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 = 1226;BA.debugLine="Dim CAT_DP_IDPROD As String = records(result."; + //BA.debugLineNum = 1317;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 = 1227;BA.debugLine="Dim CAT_DP_TIPO As String = records(result.Co"; + //BA.debugLineNum = 1318;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 = 1228;BA.debugLine="Dim CAT_DP_PZAS As String = records(result.Co"; + //BA.debugLineNum = 1319;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 = 1229;BA.debugLine="Dim CAT_DP_USUARIO As String = records(resul"; + //BA.debugLineNum = 1320;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 = 1230;BA.debugLine="Dim CAT_DP_FECHA As String = records(result.C"; + //BA.debugLineNum = 1321;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 = 1231;BA.debugLine="Dim CAT_DP_REGALO As String = records(result"; + //BA.debugLineNum = 1322;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 = 1232;BA.debugLine="Dim CAT_DP_CLASIF As String = records(result"; + //BA.debugLineNum = 1323;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 = 1233;BA.debugLine="Dim CAT_DP_PRECIO As String = records(result."; + //BA.debugLineNum = 1324;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 = 1234;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records"; + //BA.debugLineNum = 1325;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 = 1236;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_D"; + //BA.debugLineNum = 1327;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 = 1238;BA.debugLine="Listo3 =1"; + //BA.debugLineNum = 1329;BA.debugLine="Listo3 =1"; _listo3 = BA.NumberToString(1); - //BA.debugLineNum = 1239;BA.debugLine="If Listo1 = 1 And Listo2 = 1 And Listo3 = 1 An"; + //BA.debugLineNum = 1330;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 = 1240;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 1331;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1241;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 1332;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 1242;BA.debugLine="img2.Visible=False"; + //BA.debugLineNum = 1333;BA.debugLine="img2.Visible=False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1243;BA.debugLine="EJECUTANDO = 0"; + //BA.debugLineNum = 1334;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 = 1245;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; + //BA.debugLineNum = 1336;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1246;BA.debugLine="B4XPage_Appear"; + //BA.debugLineNum = 1337;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); - //BA.debugLineNum = 1247;BA.debugLine="img2.Visible = False"; + //BA.debugLineNum = 1338;BA.debugLine="img2.Visible = False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1248;BA.debugLine="EJECUTANDO = 0"; + //BA.debugLineNum = 1339;BA.debugLine="EJECUTANDO = 0"; _ejecutando = BA.NumberToString(0); }; }; }; - //BA.debugLineNum = 1253;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1344;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1254;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1345;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1255;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; + //BA.debugLineNum = 1346;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("estatus"))) { - //BA.debugLineNum = 1256;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1347;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group191 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen191 = group191.getSize() -;int index191 = 0; +final anywheresoftware.b4a.BA.IterableList group198 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen198 = group198.getSize() +;int index198 = 0; ; -for (; index191 < groupLen191;index191++){ -_records = (Object[])(group191.Get(index191)); - //BA.debugLineNum = 1257;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; +for (; index198 < groupLen198;index198++){ +_records = (Object[])(group198.Get(index198)); + //BA.debugLineNum = 1348;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 = 1258;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; + //BA.debugLineNum = 1349;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; if ((_hvd_estatus).equals("Liquidado")) { - //BA.debugLineNum = 1260;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; + //BA.debugLineNum = 1351;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 = 1262;BA.debugLine="envioinfo"; + //BA.debugLineNum = 1353;BA.debugLine="envioinfo"; _envioinfo(); }; } }; - }; - }; - //BA.debugLineNum = 1268;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1269;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1270;BA.debugLine="If result.Tag = \"punteo\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("punteo"))) { - //BA.debugLineNum = 1271;BA.debugLine="If reqs.IndexOf(\"punteo\") > -1 Then"; -if (_reqs.IndexOf((Object)("punteo"))>-1) { - //BA.debugLineNum = 1272;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("punteo"))); - }; - //BA.debugLineNum = 1275;BA.debugLine="If reqs.IndexOf(\"punteo\") > 0 Then"; -if (_reqs.IndexOf((Object)("punteo"))>0) { - //BA.debugLineNum = 1276;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("punteo"))); - //BA.debugLineNum = 1277;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("849610985",BA.NumberToString(_reqs.getSize()),0); - }; - //BA.debugLineNum = 1279;BA.debugLine="Starter.skmt.BeginTransaction"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1280;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group212 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen212 = group212.getSize() -;int index212 = 0; -; -for (; index212 < groupLen212;index212++){ -_records = (Object[])(group212.Get(index212)); - //BA.debugLineNum = 1281;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 = 1282;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 = 1283;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 = 1285;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 = 1287;BA.debugLine="Starter.skmt.TransactionSuccessful"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1288;BA.debugLine="Starter.skmt.EndTransaction"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - }; - }; - //BA.debugLineNum = 1292;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1293;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1294;BA.debugLine="If result.Tag = \"hist_datos\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("hist_datos"))) { - //BA.debugLineNum = 1295;BA.debugLine="If reqs.IndexOf(\"hist_datos\") > -1 Then"; -if (_reqs.IndexOf((Object)("hist_datos"))>-1) { - //BA.debugLineNum = 1296;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"hist_datos\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("hist_datos"))); - }; - //BA.debugLineNum = 1299;BA.debugLine="Log(l_ruta.text)"; -__c.LogImpl("849611007",_l_ruta.getText(),0); - //BA.debugLineNum = 1300;BA.debugLine="Log($\"******** Insertamos HV - ${result.Rows."; -__c.LogImpl("849611008",("******** Insertamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0); - //BA.debugLineNum = 1301;BA.debugLine="Starter.skmt.BeginTransaction"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1302;BA.debugLine="Dim consecutivo As Int= 0"; -_consecutivo = (int) (0); - //BA.debugLineNum = 1303;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group232 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen232 = group232.getSize() -;int index232 = 0; -; -for (; index232 < groupLen232;index232++){ -_records = (Object[])(group232.Get(index232)); - //BA.debugLineNum = 1304;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 = 1305;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 = 1306;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 = 1307;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 = 1308;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 = 1309;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 = 1310;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 = 1311;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 = 1312;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 = 1313;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 = 1314;BA.debugLine="Dim HVD_PLACA As String = records(result.Colu"; -_hvd_placa = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_PLACA"))))]); - //BA.debugLineNum = 1315;BA.debugLine="Dim bcajas As String = records(result.Columns"; -_bcajas = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_BCAJAS"))))]); - //BA.debugLineNum = 1316;BA.debugLine="Dim cantc As String = records(result.Columns."; -_cantc = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CANTC"))))]); - //BA.debugLineNum = 1318;BA.debugLine="consecutivo = consecutivo +1"; -_consecutivo = (int) (_consecutivo+1); - //BA.debugLineNum = 1319;BA.debugLine="If l_ruta.Text = \"0\" Then 'Si no hay ruta car"; -if ((_l_ruta.getText()).equals("0")) { - //BA.debugLineNum = 1320;BA.debugLine="Log(\"No hay ruta, guardamos todos\")"; -__c.LogImpl("849611028","No hay ruta, guardamos todos",0); - //BA.debugLineNum = 1321;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, PLACA,BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR) 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)(_hvd_placa),(Object)(_bcajas),(Object)(_cantc),(Object)(_consecutivo),(Object)(_bcajas),(Object)(_cantc)})); - //BA.debugLineNum = 1322;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 = 1325;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))+"'")))); - //BA.debugLineNum = 1326;BA.debugLine="If tc.RowCount = 0 Then"; -if (_tc.getRowCount()==0) { - //BA.debugLineNum = 1327;BA.debugLine="Log($\"Guardamos ${HVD_CLIENTE}\"$)"; -__c.LogImpl("849611035",("Guardamos "+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+""),0); - //BA.debugLineNum = 1328;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, PLACA,BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR) 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)(_hvd_placa),(Object)(_bcajas),(Object)(_cantc),(Object)(_consecutivo),(Object)(_bcajas),(Object)(_cantc)})); - //BA.debugLineNum = 1329;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 = 1333;BA.debugLine="Starter.skmt.TransactionSuccessful"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1334;BA.debugLine="Starter.skmt.EndTransaction"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1335;BA.debugLine="Log($\"******** Terminamos HV - ${result.Rows."; -__c.LogImpl("849611043",("******** Terminamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0); - //BA.debugLineNum = 1349;BA.debugLine="Listo3 =1"; -_listo3 = BA.NumberToString(1); - //BA.debugLineNum = 1350;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1351;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1352;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1353;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1354;BA.debugLine="EJECUTANDO = 0"; -_ejecutando = BA.NumberToString(0); - }; }; }; //BA.debugLineNum = 1359;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { //BA.debugLineNum = 1360;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1361;BA.debugLine="If result.Tag = \"variables\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("variables"))) { - //BA.debugLineNum = 1362;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1361;BA.debugLine="If result.Tag = \"punteo\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("punteo"))) { + //BA.debugLineNum = 1362;BA.debugLine="If reqs.IndexOf(\"punteo\") > -1 Then"; +if (_reqs.IndexOf((Object)("punteo"))>-1) { + //BA.debugLineNum = 1363;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; +_reqs.RemoveAt(_reqs.IndexOf((Object)("punteo"))); + }; + //BA.debugLineNum = 1366;BA.debugLine="If reqs.IndexOf(\"punteo\") > 0 Then"; +if (_reqs.IndexOf((Object)("punteo"))>0) { + //BA.debugLineNum = 1367;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; +_reqs.RemoveAt(_reqs.IndexOf((Object)("punteo"))); + //BA.debugLineNum = 1368;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("042402032",BA.NumberToString(_reqs.getSize()),0); + }; + //BA.debugLineNum = 1370;BA.debugLine="Starter.skmt.BeginTransaction"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); + //BA.debugLineNum = 1371;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group275 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen275 = group275.getSize() -;int index275 = 0; +final anywheresoftware.b4a.BA.IterableList group219 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen219 = group219.getSize() +;int index219 = 0; ; -for (; index275 < groupLen275;index275++){ -_records = (Object[])(group275.Get(index275)); - //BA.debugLineNum = 1363;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 = 1364;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 = 1366;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)})); +for (; index219 < groupLen219;index219++){ +_records = (Object[])(group219.Get(index219)); + //BA.debugLineNum = 1372;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 = 1373;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 = 1374;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 = 1376;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 = 1378;BA.debugLine="Starter.skmt.TransactionSuccessful"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); + //BA.debugLineNum = 1379;BA.debugLine="Starter.skmt.EndTransaction"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); }; }; - //BA.debugLineNum = 1372;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1383;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1373;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1384;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1374;BA.debugLine="If result.Tag = \"PAGARES\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("PAGARES"))) { - //BA.debugLineNum = 1375;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group285 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen285 = group285.getSize() -;int index285 = 0; -; -for (; index285 < groupLen285;index285++){ -_records = (Object[])(group285.Get(index285)); - //BA.debugLineNum = 1377;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 = 1378;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 = 1380;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 = 1385;BA.debugLine="If result.Tag = \"hist_datos\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("hist_datos"))) { + //BA.debugLineNum = 1386;BA.debugLine="If reqs.IndexOf(\"hist_datos\") > -1 Then"; +if (_reqs.IndexOf((Object)("hist_datos"))>-1) { + //BA.debugLineNum = 1387;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"hist_datos\"))"; +_reqs.RemoveAt(_reqs.IndexOf((Object)("hist_datos"))); }; - }; - //BA.debugLineNum = 1385;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1386;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1387;BA.debugLine="If result.Tag = \"valida_pedido\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedido"))) { - //BA.debugLineNum = 1388;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1390;BA.debugLine="Log(l_ruta.text)"; +__c.LogImpl("042402054",_l_ruta.getText(),0); + //BA.debugLineNum = 1391;BA.debugLine="Log($\"******** Insertamos HV - ${result.Rows."; +__c.LogImpl("042402055",("******** Insertamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0); + //BA.debugLineNum = 1392;BA.debugLine="Starter.skmt.BeginTransaction"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); + //BA.debugLineNum = 1393;BA.debugLine="Dim consecutivo As Int= 0"; +_consecutivo = (int) (0); + //BA.debugLineNum = 1394;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group295 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen295 = group295.getSize() -;int index295 = 0; +final anywheresoftware.b4a.BA.IterableList group239 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen239 = group239.getSize() +;int index239 = 0; ; -for (; index295 < groupLen295;index295++){ -_records = (Object[])(group295.Get(index295)); - //BA.debugLineNum = 1389;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 = 1390;BA.debugLine="If cuantos_pedido = CUANTOSP Then"; -if ((_cuantos_pedido).equals(BA.NumberToString(_cuantosp))) { - //BA.debugLineNum = 1392;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; +for (; index239 < groupLen239;index239++){ +_records = (Object[])(group239.Get(index239)); + //BA.debugLineNum = 1395;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 = 1396;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 = 1397;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 = 1398;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 = 1399;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 = 1400;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 = 1401;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 = 1402;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 = 1403;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 = 1404;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 = 1405;BA.debugLine="Dim HVD_PLACA As String = records(result.Colu"; +_hvd_placa = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_PLACA"))))]); + //BA.debugLineNum = 1406;BA.debugLine="Dim bcajas As String = records(result.Columns"; +_bcajas = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_BCAJAS"))))]); + //BA.debugLineNum = 1407;BA.debugLine="Dim cantc As String = records(result.Columns."; +_cantc = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CANTC"))))]); + //BA.debugLineNum = 1408;BA.debugLine="Dim HVD_RUTA As String = records(result.Colum"; +_hvd_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_RUTA"))))]); + //BA.debugLineNum = 1410;BA.debugLine="consecutivo = consecutivo +1"; +_consecutivo = (int) (_consecutivo+1); + //BA.debugLineNum = 1411;BA.debugLine="If l_ruta.Text = \"0\" Then 'Si no hay ruta car"; +if ((_l_ruta.getText()).equals("0")) { + //BA.debugLineNum = 1412;BA.debugLine="Log(\"No hay ruta, guardamos todos\")"; +__c.LogImpl("042402076","No hay ruta, guardamos todos",0); + //BA.debugLineNum = 1413;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, PLACA,BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR, HVD_RUTA) 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)(_hvd_placa),(Object)(_bcajas),(Object)(_cantc),(Object)(_consecutivo),(Object)(_bcajas),(Object)(_cantc),(Object)(_hvd_ruta)})); + //BA.debugLineNum = 1414;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 = 1394;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 = 1417;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))+"'")))); + //BA.debugLineNum = 1418;BA.debugLine="If tc.RowCount = 0 Then"; +if (_tc.getRowCount()==0) { + //BA.debugLineNum = 1419;BA.debugLine="Log($\"Guardamos ${HVD_CLIENTE}\"$)"; +__c.LogImpl("042402083",("Guardamos "+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+""),0); + //BA.debugLineNum = 1420;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, PLACA,BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR, HVD_RUTA) 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)(_hvd_placa),(Object)(_bcajas),(Object)(_cantc),(Object)(_consecutivo),(Object)(_bcajas),(Object)(_cantc),(Object)(_hvd_ruta)})); + //BA.debugLineNum = 1421;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 = 1402;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1403;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1404;BA.debugLine="If result.Tag = \"valida_pedidoc\" Then 'query ta"; -if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedidoc"))) { - //BA.debugLineNum = 1405;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group308 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen308 = group308.getSize() -;int index308 = 0; -; -for (; index308 < groupLen308;index308++){ -_records = (Object[])(group308.Get(index308)); - //BA.debugLineNum = 1406;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 = 1407;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; -if ((_cuantos_pedidosc).equals(BA.NumberToString(_cuantosc))) { - //BA.debugLineNum = 1409;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; - }else { - //BA.debugLineNum = 1411;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 = 1417;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1418;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1419;BA.debugLine="If result.Tag = \"valida_noventa\" Then 'query ta"; -if ((_result.Tag /*Object*/ ).equals((Object)("valida_noventa"))) { - //BA.debugLineNum = 1420;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group321 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen321 = group321.getSize() -;int index321 = 0; -; -for (; index321 < groupLen321;index321++){ -_records = (Object[])(group321.Get(index321)); - //BA.debugLineNum = 1421;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 = 1422;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; -if ((_cuantos_noventa).equals(BA.NumberToString(_cuantosn))) { - //BA.debugLineNum = 1424;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; - }else { - //BA.debugLineNum = 1426;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 = 1432;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1433;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1434;BA.debugLine="If result.Tag = \"insert_pedido\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("insert_pedido"))) { - //BA.debugLineNum = 1435;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True)"; + //BA.debugLineNum = 1425;BA.debugLine="Starter.skmt.TransactionSuccessful"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); + //BA.debugLineNum = 1426;BA.debugLine="Starter.skmt.EndTransaction"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); + //BA.debugLineNum = 1427;BA.debugLine="Log($\"******** Terminamos HV - ${result.Rows."; +__c.LogImpl("042402091",("******** Terminamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0); + //BA.debugLineNum = 1441;BA.debugLine="Listo3 =1"; +_listo3 = BA.NumberToString(1); + //BA.debugLineNum = 1442;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; +if ((_listo1).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1))) { + //BA.debugLineNum = 1443;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; __c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); + //BA.debugLineNum = 1444;BA.debugLine="B4XPage_Appear"; +_b4xpage_appear(); + //BA.debugLineNum = 1445;BA.debugLine="img2.Visible = False"; +_img2.setVisible(__c.False); + //BA.debugLineNum = 1446;BA.debugLine="EJECUTANDO = 0"; +_ejecutando = BA.NumberToString(0); }; - }; - //BA.debugLineNum = 1439;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1440;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1441;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { - //BA.debugLineNum = 1442;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group340 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen340 = group340.getSize() -;int index340 = 0; -; -for (; index340 < groupLen340;index340++){ -_records = (Object[])(group340.Get(index340)); - //BA.debugLineNum = 1443;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 1444;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 = 1446;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 = 1451;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { //BA.debugLineNum = 1452;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1453;BA.debugLine="If result.Tag = \"count_cli\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("count_cli"))) { + //BA.debugLineNum = 1453;BA.debugLine="If result.Tag = \"variables\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("variables"))) { //BA.debugLineNum = 1454;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group350 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen350 = group350.getSize() -;int index350 = 0; +final anywheresoftware.b4a.BA.IterableList group283 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen283 = group283.getSize() +;int index283 = 0; ; -for (; index350 < groupLen350;index350++){ -_records = (Object[])(group350.Get(index350)); - //BA.debugLineNum = 1455;BA.debugLine="COUNT_CLIE = records(result.Columns.Get(\"COUN"; +for (; index283 < groupLen283;index283++){ +_records = (Object[])(group283.Get(index283)); + //BA.debugLineNum = 1455;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 = 1456;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 = 1458;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 = 1464;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { + //BA.debugLineNum = 1465;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); + //BA.debugLineNum = 1466;BA.debugLine="If result.Tag = \"PAGARES\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("PAGARES"))) { + //BA.debugLineNum = 1467;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group293 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen293 = group293.getSize() +;int index293 = 0; +; +for (; index293 < groupLen293;index293++){ +_records = (Object[])(group293.Get(index293)); + //BA.debugLineNum = 1469;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 = 1470;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 = 1472;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 = 1477;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { + //BA.debugLineNum = 1478;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); + //BA.debugLineNum = 1479;BA.debugLine="If result.Tag = \"valida_pedido\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedido"))) { + //BA.debugLineNum = 1480;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group303 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen303 = group303.getSize() +;int index303 = 0; +; +for (; index303 < groupLen303;index303++){ +_records = (Object[])(group303.Get(index303)); + //BA.debugLineNum = 1481;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 = 1482;BA.debugLine="If cuantos_pedido = CUANTOSP Then"; +if ((_cuantos_pedido).equals(BA.NumberToString(_cuantosp))) { + //BA.debugLineNum = 1484;BA.debugLine="datos_iguales = \"ok\""; +_datos_iguales = "ok"; + }else { + //BA.debugLineNum = 1486;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 = 1494;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { + //BA.debugLineNum = 1495;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); + //BA.debugLineNum = 1496;BA.debugLine="If result.Tag = \"valida_pedidoc\" Then 'query ta"; +if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedidoc"))) { + //BA.debugLineNum = 1497;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group316 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen316 = group316.getSize() +;int index316 = 0; +; +for (; index316 < groupLen316;index316++){ +_records = (Object[])(group316.Get(index316)); + //BA.debugLineNum = 1498;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 = 1499;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; +if ((_cuantos_pedidosc).equals(BA.NumberToString(_cuantosc))) { + //BA.debugLineNum = 1501;BA.debugLine="datos_iguales = \"ok\""; +_datos_iguales = "ok"; + }else { + //BA.debugLineNum = 1503;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 = 1509;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { + //BA.debugLineNum = 1510;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); + //BA.debugLineNum = 1511;BA.debugLine="If result.Tag = \"valida_noventa\" Then 'query ta"; +if ((_result.Tag /*Object*/ ).equals((Object)("valida_noventa"))) { + //BA.debugLineNum = 1512;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group329 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen329 = group329.getSize() +;int index329 = 0; +; +for (; index329 < groupLen329;index329++){ +_records = (Object[])(group329.Get(index329)); + //BA.debugLineNum = 1513;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 = 1514;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; +if ((_cuantos_noventa).equals(BA.NumberToString(_cuantosn))) { + //BA.debugLineNum = 1516;BA.debugLine="datos_iguales = \"ok\""; +_datos_iguales = "ok"; + }else { + //BA.debugLineNum = 1518;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 = 1524;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { + //BA.debugLineNum = 1525;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); + //BA.debugLineNum = 1526;BA.debugLine="If result.Tag = \"insert_pedido\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("insert_pedido"))) { + //BA.debugLineNum = 1527;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); + }; + }; + //BA.debugLineNum = 1531;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { + //BA.debugLineNum = 1532;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); + //BA.debugLineNum = 1533;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { + //BA.debugLineNum = 1534;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group348 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen348 = group348.getSize() +;int index348 = 0; +; +for (; index348 < groupLen348;index348++){ +_records = (Object[])(group348.Get(index348)); + //BA.debugLineNum = 1535;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); + //BA.debugLineNum = 1536;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 = 1538;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 = 1543;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { + //BA.debugLineNum = 1544;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); + //BA.debugLineNum = 1545;BA.debugLine="If result.Tag = \"count_cli\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("count_cli"))) { + //BA.debugLineNum = 1546;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group358 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen358 = group358.getSize() +;int index358 = 0; +; +for (; index358 < groupLen358;index358++){ +_records = (Object[])(group358.Get(index358)); + //BA.debugLineNum = 1547;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 = 1460;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1552;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1461;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1553;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1462;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag"; + //BA.debugLineNum = 1554;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("ruta"))) { - //BA.debugLineNum = 1463;BA.debugLine="If reqs.IndexOf(\"ruta\") > -1 Then"; + //BA.debugLineNum = 1555;BA.debugLine="If reqs.IndexOf(\"ruta\") > -1 Then"; if (_reqs.IndexOf((Object)("ruta"))>-1) { - //BA.debugLineNum = 1464;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"ruta\"))"; + //BA.debugLineNum = 1556;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"ruta\"))"; _reqs.RemoveAt(_reqs.IndexOf((Object)("ruta"))); - //BA.debugLineNum = 1465;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("849611173",BA.NumberToString(_reqs.getSize()),0); + //BA.debugLineNum = 1557;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("042402221",BA.NumberToString(_reqs.getSize()),0); }; - //BA.debugLineNum = 1467;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1559;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group362 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen362 = group362.getSize() -;int index362 = 0; +final anywheresoftware.b4a.BA.IterableList group370 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen370 = group370.getSize() +;int index370 = 0; ; -for (; index362 < groupLen362;index362++){ -_records = (Object[])(group362.Get(index362)); - //BA.debugLineNum = 1468;BA.debugLine="Dim VALIDO As String = records(result.Columns"; +for (; index370 < groupLen370;index370++){ +_records = (Object[])(group370.Get(index370)); + //BA.debugLineNum = 1560;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 = 1470;BA.debugLine="If VALIDO = \"OK\" Then"; + //BA.debugLineNum = 1562;BA.debugLine="If VALIDO = \"OK\" Then"; if ((_valido).equals("OK")) { - //BA.debugLineNum = 1471;BA.debugLine="If l_ctast.Text = \"0\" Then"; + //BA.debugLineNum = 1563;BA.debugLine="If l_ctast.Text = \"0\" Then"; if ((_l_ctast.getText()).equals("0")) { - //BA.debugLineNum = 1472;BA.debugLine="Subir.Visible = True"; + //BA.debugLineNum = 1564;BA.debugLine="Subir.Visible = True"; _subir.setVisible(__c.True); }else if((_l_ctast.getText()).equals("0") == false) { - //BA.debugLineNum = 1474;BA.debugLine="Subir.Visible = False"; + //BA.debugLineNum = 1566;BA.debugLine="Subir.Visible = False"; _subir.setVisible(__c.False); }; - //BA.debugLineNum = 1476;BA.debugLine="cargar.Visible = True"; + //BA.debugLineNum = 1568;BA.debugLine="cargar.Visible = True"; _cargar.setVisible(__c.True); - //BA.debugLineNum = 1477;BA.debugLine="If Subs.dameUsuarioDeDB = \"ROOT\" Then Subir."; + //BA.debugLineNum = 1569;BA.debugLine="If Subs.dameUsuarioDeDB = \"ROOT\" Then Subir."; if ((_subs._dameusuariodedb /*String*/ (ba)).equals("ROOT")) { _subir.setVisible(__c.True);}; - //BA.debugLineNum = 1478;BA.debugLine="connecta.Visible = False"; + //BA.debugLineNum = 1570;BA.debugLine="connecta.Visible = False"; _connecta.setVisible(__c.False); - //BA.debugLineNum = 1479;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA"; + //BA.debugLineNum = 1571;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 1481;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTA"; + //BA.debugLineNum = 1573;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 = 1482;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; + //BA.debugLineNum = 1574;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _e_ruta.getText(); - //BA.debugLineNum = 1483;BA.debugLine="If conn = \"1\" Then"; + //BA.debugLineNum = 1575;BA.debugLine="If conn = \"1\" Then"; if ((_conn).equals("1")) { - //BA.debugLineNum = 1484;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; + //BA.debugLineNum = 1576;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; __c.ToastMessageShow(BA.ObjectToCharSequence("Existe Conexión con el Servidor."),__c.True); }; }else { - //BA.debugLineNum = 1487;BA.debugLine="cargar.Visible = False"; + //BA.debugLineNum = 1579;BA.debugLine="cargar.Visible = False"; _cargar.setVisible(__c.False); - //BA.debugLineNum = 1488;BA.debugLine="Subir.Visible = False"; + //BA.debugLineNum = 1580;BA.debugLine="Subir.Visible = False"; _subir.setVisible(__c.False); - //BA.debugLineNum = 1489;BA.debugLine="inv.Visible = False"; + //BA.debugLineNum = 1581;BA.debugLine="inv.Visible = False"; _inv.setVisible(__c.False); - //BA.debugLineNum = 1490;BA.debugLine="connecta.Visible = False"; + //BA.debugLineNum = 1582;BA.debugLine="connecta.Visible = False"; _connecta.setVisible(__c.False); }; } }; }; }; - //BA.debugLineNum = 1496;BA.debugLine="If Job.JobName = \"DBRequest\" Then 'Traemos las c"; + //BA.debugLineNum = 1588;BA.debugLine="If Job.JobName = \"DBRequest\" Then 'Traemos las c"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1497;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1589;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1498;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; + //BA.debugLineNum = 1590;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; if ((_result.Tag /*Object*/ ).equals((Object)("coords_almacen"))) { - //BA.debugLineNum = 1499;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1591;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group391 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen391 = group391.getSize() -;int index391 = 0; +final anywheresoftware.b4a.BA.IterableList group399 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen399 = group399.getSize() +;int index399 = 0; ; -for (; index391 < groupLen391;index391++){ -_records = (Object[])(group391.Get(index391)); - //BA.debugLineNum = 1500;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; -__c.LogImpl("849611208","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 = 1501;BA.debugLine="Private lat, lon As Double"; +for (; index399 < groupLen399;index399++){ +_records = (Object[])(group399.Get(index399)); + //BA.debugLineNum = 1592;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; +__c.LogImpl("042402256","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 = 1593;BA.debugLine="Private lat, lon As Double"; _lat = 0; _lon = 0; - //BA.debugLineNum = 1502;BA.debugLine="lat = 0.0"; + //BA.debugLineNum = 1594;BA.debugLine="lat = 0.0"; _lat = 0.0; - //BA.debugLineNum = 1503;BA.debugLine="lon = 0.0"; + //BA.debugLineNum = 1595;BA.debugLine="lon = 0.0"; _lon = 0.0; - //BA.debugLineNum = 1504;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A"; + //BA.debugLineNum = 1596;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 = 1505;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT"; + //BA.debugLineNum = 1597;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 = 1506;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON"; + //BA.debugLineNum = 1598;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 = 1508;BA.debugLine="Starter.cedisLocation.Latitude = lat"; + //BA.debugLineNum = 1600;BA.debugLine="Starter.cedisLocation.Latitude = lat"; _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLatitude(_lat); - //BA.debugLineNum = 1509;BA.debugLine="Starter.cedisLocation.Longitude = lon"; + //BA.debugLineNum = 1601;BA.debugLine="Starter.cedisLocation.Longitude = lon"; _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitude(_lon); - //BA.debugLineNum = 1510;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V"; + //BA.debugLineNum = 1602;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 = 1511;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; + //BA.debugLineNum = 1603;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 = 1517;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1609;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1518;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1610;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1519;BA.debugLine="If result.Tag = \"ins_reparto\" Then 'query tag"; + //BA.debugLineNum = 1611;BA.debugLine="If result.Tag = \"ins_reparto\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("ins_reparto"))) { - //BA.debugLineNum = 1520;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1612;BA.debugLine="For Each records() As Object In result.Rows"; { -final anywheresoftware.b4a.BA.IterableList group410 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen410 = group410.getSize() -;int index410 = 0; +final anywheresoftware.b4a.BA.IterableList group418 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen418 = group418.getSize() +;int index418 = 0; ; -for (; index410 < groupLen410;index410++){ -_records = (Object[])(group410.Get(index410)); - //BA.debugLineNum = 1521;BA.debugLine="For Each k As String In result.Columns.Keys"; +for (; index418 < groupLen418;index418++){ +_records = (Object[])(group418.Get(index418)); + //BA.debugLineNum = 1613;BA.debugLine="For Each k As String In result.Columns.Keys"; { -final anywheresoftware.b4a.BA.IterableList group411 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen411 = group411.getSize() -;int index411 = 0; +final anywheresoftware.b4a.BA.IterableList group419 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen419 = group419.getSize() +;int index419 = 0; ; -for (; index411 < groupLen411;index411++){ -_k = BA.ObjectToString(group411.Get(index411)); - //BA.debugLineNum = 1522;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; -__c.LogImpl("849611230",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); +for (; index419 < groupLen419;index419++){ +_k = BA.ObjectToString(group419.Get(index419)); + //BA.debugLineNum = 1614;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; +__c.LogImpl("042402278",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); } }; } }; }; }; - //BA.debugLineNum = 1528;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; + //BA.debugLineNum = 1620;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1529;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; + //BA.debugLineNum = 1621;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; _result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1530;BA.debugLine="If result.Tag = \"ins_rechazos\" Then 'query tag"; + //BA.debugLineNum = 1622;BA.debugLine="If result.Tag = \"ins_rechazos\" Then 'query tag"; if ((_result.Tag /*Object*/ ).equals((Object)("ins_rechazos"))) { - //BA.debugLineNum = 1531;BA.debugLine="For Each records() As Object In result.Rows"; + //BA.debugLineNum = 1623;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 group428 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen428 = group428.getSize() +;int index428 = 0; ; -for (; index420 < groupLen420;index420++){ -_records = (Object[])(group420.Get(index420)); - //BA.debugLineNum = 1532;BA.debugLine="For Each k As String In result.Columns.Keys"; +for (; index428 < groupLen428;index428++){ +_records = (Object[])(group428.Get(index428)); + //BA.debugLineNum = 1624;BA.debugLine="For Each k As String In result.Columns.Keys"; { -final anywheresoftware.b4a.BA.IterableList group421 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen421 = group421.getSize() -;int index421 = 0; +final anywheresoftware.b4a.BA.IterableList group429 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen429 = group429.getSize() +;int index429 = 0; ; -for (; index421 < groupLen421;index421++){ -_k = BA.ObjectToString(group421.Get(index421)); - //BA.debugLineNum = 1533;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; -__c.LogImpl("849611241",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); +for (; index429 < groupLen429;index429++){ +_k = BA.ObjectToString(group429.Get(index429)); + //BA.debugLineNum = 1625;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; +__c.LogImpl("042402289",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); } }; } }; }; }; - //BA.debugLineNum = 1538;BA.debugLine="Job.Release"; + //BA.debugLineNum = 1630;BA.debugLine="Job.Release"; _job._release /*String*/ (); }; - //BA.debugLineNum = 1540;BA.debugLine="If reqs.Size = 0 Then"; + //BA.debugLineNum = 1632;BA.debugLine="Job.Release"; +_job._release /*String*/ (); + //BA.debugLineNum = 1633;BA.debugLine="If reqs.Size = 0 Then"; if (_reqs.getSize()==0) { - //BA.debugLineNum = 1544;BA.debugLine="ProgressDialogHide"; + //BA.debugLineNum = 1637;BA.debugLine="ProgressDialogHide"; __c.ProgressDialogHide(); - //BA.debugLineNum = 1546;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS C"; + //BA.debugLineNum = 1639;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 = 1547;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 1640;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 1548;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; + //BA.debugLineNum = 1641;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; if ((_c.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1549;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into CHECADO"; + //BA.debugLineNum = 1642;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 = 1554;BA.debugLine="c.Close"; + //BA.debugLineNum = 1647;BA.debugLine="c.Close"; _c.Close(); }; - //BA.debugLineNum = 1558;BA.debugLine="End Sub"; + //BA.debugLineNum = 1651;BA.debugLine="Log(\"--------------------------------------------"; +__c.LogImpl("042402315","---------------------------------------------------",0); + //BA.debugLineNum = 1652;BA.debugLine="Log(totalRegistrosTotales)"; +__c.LogImpl("042402316",BA.NumberToString(_totalregistrostotales),0); + //BA.debugLineNum = 1653;BA.debugLine="Log(successfulRequests)"; +__c.LogImpl("042402317",BA.NumberToString(_successfulrequests),0); + //BA.debugLineNum = 1654;BA.debugLine="Log(todosRequest)"; +__c.LogImpl("042402318",BA.NumberToString(_todosrequest),0); + //BA.debugLineNum = 1655;BA.debugLine="Log(NumberFormat2(((todosRequest/ totalRegistrosT"; +__c.LogImpl("042402319",__c.NumberFormat2(((_todosrequest/(double)_totalregistrostotales)*100),(int) (1),(int) (0),(int) (0),__c.False),0); + //BA.debugLineNum = 1657;BA.debugLine="If totalRegistrosTotales > 0 Then"; +if (_totalregistrostotales>0) { + //BA.debugLineNum = 1658;BA.debugLine="pbEnvioInfo.Progress = NumberFormat2(((todosRequ"; +_pbenvioinfo.setProgress((int)(Double.parseDouble(__c.NumberFormat2(((_todosrequest/(double)_totalregistrostotales)*100),(int) (1),(int) (0),(int) (0),__c.False)))); + //BA.debugLineNum = 1660;BA.debugLine="If pbEnvioInfo.Progress >= 100 Then"; +if (_pbenvioinfo.getProgress()>=100) { + //BA.debugLineNum = 1661;BA.debugLine="lEnviaInfo.Text = \"Informacion Enviada \"& CRLF"; +_lenviainfo.setText(BA.ObjectToCharSequence("Informacion Enviada "+__c.CRLF+"%100")); + }else { + //BA.debugLineNum = 1663;BA.debugLine="lEnviaInfo.Text = \"Enviando Informacion: %\" &"; +_lenviainfo.setText(BA.ObjectToCharSequence("Enviando Informacion: %"+BA.NumberToString(_pbenvioinfo.getProgress()))); + }; + }; + //BA.debugLineNum = 1666;BA.debugLine="Log(\"--------------------------------------------"; +__c.LogImpl("042402330","---------------------------------------------------",0); + //BA.debugLineNum = 1667;BA.debugLine="Log(todosRequest >= totalRegistrosTotales)"; +__c.LogImpl("042402331",BA.ObjectToString(_todosrequest>=_totalregistrostotales),0); + //BA.debugLineNum = 1669;BA.debugLine="If todosRequest < totalRegistrosTotales Then"; +if (_todosrequest<_totalregistrostotales) { + }else { + //BA.debugLineNum = 1672;BA.debugLine="bEnvioInfo.Enabled = True"; +_benvioinfo.setEnabled(__c.True); + }; + //BA.debugLineNum = 1675;BA.debugLine="End Sub"; return ""; } public String _listview1_itemclick(int _position,Object _value) throws Exception{ String[] _clieasing = null; - //BA.debugLineNum = 1925;BA.debugLine="Private Sub ListView1_ItemClick (Position As Int,"; - //BA.debugLineNum = 1926;BA.debugLine="Log(Value)"; -__c.LogImpl("850462721",BA.ObjectToString(_value),0); - //BA.debugLineNum = 1928;BA.debugLine="Dim clieasing() As String = Regex.Split(\" \", Valu"; + //BA.debugLineNum = 2049;BA.debugLine="Private Sub ListView1_ItemClick (Position As Int,"; + //BA.debugLineNum = 2050;BA.debugLine="Log(Value)"; +__c.LogImpl("043319297",BA.ObjectToString(_value),0); + //BA.debugLineNum = 2052;BA.debugLine="Dim clieasing() As String = Regex.Split(\" \", Valu"; _clieasing = __c.Regex.Split(" ",BA.ObjectToString(_value)); - //BA.debugLineNum = 1929;BA.debugLine="Log(clieasing(0))"; -__c.LogImpl("850462724",_clieasing[(int) (0)],0); - //BA.debugLineNum = 1931;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; + //BA.debugLineNum = 2053;BA.debugLine="Log(clieasing(0))"; +__c.LogImpl("043319300",_clieasing[(int) (0)],0); + //BA.debugLineNum = 2055;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 1932;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; + //BA.debugLineNum = 2056;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 = 1933;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; + //BA.debugLineNum = 2057;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; _b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 1934;BA.debugLine="End Sub"; + //BA.debugLineNum = 2058;BA.debugLine="End Sub"; return ""; } public String _p_prod_click() throws Exception{ - //BA.debugLineNum = 1988;BA.debugLine="Private Sub p_prod_Click"; - //BA.debugLineNum = 1990;BA.debugLine="End Sub"; + //BA.debugLineNum = 2112;BA.debugLine="Private Sub p_prod_Click"; + //BA.debugLineNum = 2114;BA.debugLine="End Sub"; +return ""; +} +public String _penvioinfo_click() throws Exception{ + //BA.debugLineNum = 2122;BA.debugLine="Private Sub pEnvioInfo_Click"; + //BA.debugLineNum = 2124;BA.debugLine="End Sub"; return ""; } public String _subir_click() throws Exception{ - //BA.debugLineNum = 663;BA.debugLine="Sub Subir_Click"; - //BA.debugLineNum = 664;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; + //BA.debugLineNum = 673;BA.debugLine="Sub Subir_Click"; + //BA.debugLineNum = 674;BA.debugLine="pEnvioInfo.Width = Root.Width"; +_penvioinfo.setWidth(_root.getWidth()); + //BA.debugLineNum = 675;BA.debugLine="pEnvioInfo.Height = Root.Height"; +_penvioinfo.setHeight(_root.getHeight()); + //BA.debugLineNum = 676;BA.debugLine="pEnvioInfo.Left = 0"; +_penvioinfo.setLeft((int) (0)); + //BA.debugLineNum = 677;BA.debugLine="pEnvioInfo.Visible = True"; +_penvioinfo.setVisible(__c.True); + //BA.debugLineNum = 678;BA.debugLine="pbEnvioInfo.Width = Root.Width * 0.7"; +_pbenvioinfo.setWidth((int) (_root.getWidth()*0.7)); + //BA.debugLineNum = 679;BA.debugLine="pbEnvioInfo.Left = Round(Root.Width/2)-(pbEnvioIn"; +_pbenvioinfo.setLeft((int) (__c.Round(_root.getWidth()/(double)2)-(_pbenvioinfo.getWidth()/(double)2))); + //BA.debugLineNum = 680;BA.debugLine="Subs.centraBoton(bEnvioInfo, pEnvioInfo.Width)"; +_subs._centraboton /*String*/ (ba,_benvioinfo,_penvioinfo.getWidth()); + //BA.debugLineNum = 681;BA.debugLine="Subs.centraEtiqueta(lEnviaInfo, pEnvioInfo.Width)"; +_subs._centraetiqueta /*String*/ (ba,_lenviainfo,_penvioinfo.getWidth()); + //BA.debugLineNum = 683;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 = 665;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; + //BA.debugLineNum = 684;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 = 666;BA.debugLine="c.Position = 0"; + //BA.debugLineNum = 685;BA.debugLine="c.Position = 0"; _c.setPosition((int) (0)); - //BA.debugLineNum = 667;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; + //BA.debugLineNum = 686;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; _usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 668;BA.debugLine="c.Close"; + //BA.debugLineNum = 687;BA.debugLine="c.Close"; _c.Close(); - //BA.debugLineNum = 671;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 690;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 672;BA.debugLine="cmd.Name = \"select_estatus_MAZAPA\""; + //BA.debugLineNum = 691;BA.debugLine="cmd.Name = \"select_estatus_MAZAPA\""; _cmd.Name /*String*/ = "select_estatus_MAZAPA"; - //BA.debugLineNum = 673;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,e_ruta.t"; + //BA.debugLineNum = 692;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,e_ruta.t"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 674;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"estatus\")"; + //BA.debugLineNum = 693;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"estatus\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("estatus")); - //BA.debugLineNum = 675;BA.debugLine="End Sub"; + //BA.debugLineNum = 694;BA.debugLine="End Sub"; return ""; } public String _t1_tick() throws Exception{ - //BA.debugLineNum = 1644;BA.debugLine="Sub t1_tick"; - //BA.debugLineNum = 1645;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1768;BA.debugLine="Sub t1_tick"; + //BA.debugLineNum = 1769;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1646;BA.debugLine="cmd.Name = \"select_cuantos_pedido\""; + //BA.debugLineNum = 1770;BA.debugLine="cmd.Name = \"select_cuantos_pedido\""; _cmd.Name /*String*/ = "select_cuantos_pedido"; - //BA.debugLineNum = 1647;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; + //BA.debugLineNum = 1771;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 1648;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedido\")"; + //BA.debugLineNum = 1772;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedido\")"; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_pedido")); - //BA.debugLineNum = 1650;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1774;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1651;BA.debugLine="cmd.Name = \"select_cuantos_noventa_mards\""; + //BA.debugLineNum = 1775;BA.debugLine="cmd.Name = \"select_cuantos_noventa_mards\""; _cmd.Name /*String*/ = "select_cuantos_noventa_mards"; - //BA.debugLineNum = 1652;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; + //BA.debugLineNum = 1776;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 1653;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_noventa\""; + //BA.debugLineNum = 1777;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_noventa\""; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_noventa")); - //BA.debugLineNum = 1655;BA.debugLine="cmd.Initialize"; + //BA.debugLineNum = 1779;BA.debugLine="cmd.Initialize"; _cmd.Initialize(); - //BA.debugLineNum = 1656;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc\""; + //BA.debugLineNum = 1780;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc\""; _cmd.Name /*String*/ = "select_cuantos_pedidoc"; - //BA.debugLineNum = 1657;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; + //BA.debugLineNum = 1781;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 1658;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedidoc\""; + //BA.debugLineNum = 1782;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedidoc\""; _reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_pedidoc")); - //BA.debugLineNum = 1659;BA.debugLine="img2.Visible=False"; + //BA.debugLineNum = 1783;BA.debugLine="img2.Visible=False"; _img2.setVisible(__c.False); - //BA.debugLineNum = 1660;BA.debugLine="t1.Enabled = False"; + //BA.debugLineNum = 1784;BA.debugLine="t1.Enabled = False"; _t1.setEnabled(__c.False); - //BA.debugLineNum = 1661;BA.debugLine="End Sub"; + //BA.debugLineNum = 1785;BA.debugLine="End Sub"; return ""; } public String _to_number_vb(Object _valor) throws Exception{ int _valstring = 0; String _valstring2 = ""; - //BA.debugLineNum = 641;BA.debugLine="Sub to_number_vb (valor As Object) As String"; - //BA.debugLineNum = 642;BA.debugLine="Dim valstring As Int"; + //BA.debugLineNum = 651;BA.debugLine="Sub to_number_vb (valor As Object) As String"; + //BA.debugLineNum = 652;BA.debugLine="Dim valstring As Int"; _valstring = 0; - //BA.debugLineNum = 643;BA.debugLine="Dim valstring2 As String = valor"; + //BA.debugLineNum = 653;BA.debugLine="Dim valstring2 As String = valor"; _valstring2 = BA.ObjectToString(_valor); - //BA.debugLineNum = 644;BA.debugLine="valstring2.Replace(\":\",\"\")"; + //BA.debugLineNum = 654;BA.debugLine="valstring2.Replace(\":\",\"\")"; _valstring2.replace(":",""); - //BA.debugLineNum = 645;BA.debugLine="Try"; -try { //BA.debugLineNum = 646;BA.debugLine="valstring =valstring2.Replace(\":\",\"\")"; + //BA.debugLineNum = 655;BA.debugLine="Try"; +try { //BA.debugLineNum = 656;BA.debugLine="valstring =valstring2.Replace(\":\",\"\")"; _valstring = (int)(Double.parseDouble(_valstring2.replace(":",""))); - //BA.debugLineNum = 647;BA.debugLine="Return valstring"; + //BA.debugLineNum = 657;BA.debugLine="Return valstring"; if (true) return BA.NumberToString(_valstring); } catch (Exception e8) { - ba.setLastException(e8); //BA.debugLineNum = 649;BA.debugLine="Return 0"; + ba.setLastException(e8); //BA.debugLineNum = 659;BA.debugLine="Return 0"; if (true) return BA.NumberToString(0); }; - //BA.debugLineNum = 651;BA.debugLine="End Sub"; + //BA.debugLineNum = 661;BA.debugLine="End Sub"; return ""; } public String _trabajar_click() throws Exception{ - //BA.debugLineNum = 653;BA.debugLine="Sub trabajar_Click"; - //BA.debugLineNum = 654;BA.debugLine="If b_check.Visible = True Then"; + //BA.debugLineNum = 663;BA.debugLine="Sub trabajar_Click"; + //BA.debugLineNum = 664;BA.debugLine="If b_check.Visible = True Then"; if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 655;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Atenc"; + //BA.debugLineNum = 665;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 = 658;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; + //BA.debugLineNum = 668;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; _b4xpages._showpage /*String*/ (ba,"Clientes"); }; - //BA.debugLineNum = 661;BA.debugLine="End Sub"; + //BA.debugLineNum = 671;BA.debugLine="End Sub"; return ""; } public Object callSub(String sub, Object sender, Object[] args) throws Exception { diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_productos.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_productos.java index fa47232..4ad2fe3 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_productos.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_productos.java @@ -75,12 +75,12 @@ public anywheresoftware.b4a.objects.LabelWrapper _l_cajas = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -122,7 +122,7 @@ _sdate = __c.DateTime.Date(__c.DateTime.getNow()); //BA.debugLineNum = 670;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; _stime = __c.DateTime.Time(__c.DateTime.getNow()); //BA.debugLineNum = 672;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("853805064","b_prodMas_Click",__c.Colors.Magenta); +__c.LogImpl("060162056","b_prodMas_Click",__c.Colors.Magenta); //BA.debugLineNum = 673;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 = 674;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 = 681;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; -__c.LogImpl("853805073","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("060162065","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); //BA.debugLineNum = 682;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; if ((_lacant.getText()).equals("")) { _lacant.setText(BA.ObjectToCharSequence(0));}; @@ -162,16 +162,16 @@ _minimoadesc = "1"; //BA.debugLineNum = 694;BA.debugLine="minimos.Close"; _minimos.Close(); //BA.debugLineNum = 697;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("853805089",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +__c.LogImpl("060162081",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); //BA.debugLineNum = 698;BA.debugLine="Log(esteTag.get(4))"; -__c.LogImpl("853805090",BA.ObjectToString(_estetag.Get((int) (4))),0); +__c.LogImpl("060162082",BA.ObjectToString(_estetag.Get((int) (4))),0); //BA.debugLineNum = 699;BA.debugLine="If esteTag.Get(4) = \"0\" Then"; if ((_estetag.Get((int) (4))).equals((Object)("0"))) { }else { - //BA.debugLineNum = 702;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; -if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { + //BA.debugLineNum = 702;BA.debugLine="If laCant.Text + 1 * minimoadesc <= maxProds The"; +if ((double)(Double.parseDouble(_lacant.getText()))+1*(double)(Double.parseDouble(_minimoadesc))<=(double)(Double.parseDouble(_maxprods))) { //BA.debugLineNum = 703;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; -__c.LogImpl("853805095",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +__c.LogImpl("060162087",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); //BA.debugLineNum = 704;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 = 705;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; @@ -255,10 +255,10 @@ if ((_c2.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) //BA.debugLineNum = 753;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 = 756;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[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),BA.NumberToString(((double)(Double.parseDouble(_pup))*(double)(Double.parseDouble(_minimoadesc)))),BA.NumberToString(((double)(Double.parseDouble(_pup))*(double)(Double.parseDouble(_minimoadesc)))),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),_esregalo})); +_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[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),(_pup),BA.NumberToString(((double)(Double.parseDouble(_pup))*(double)(Double.parseDouble(_minimoadesc)))),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),_esregalo})); }else { //BA.debugLineNum = 758;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[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),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),_esregalo})); +_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[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),(_preciofull),BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),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),_esregalo})); }; }; }; @@ -284,7 +284,7 @@ String _puc = ""; //BA.debugLineNum = 791;BA.debugLine="etCantHasFocus = False"; _etcanthasfocus = __c.False; //BA.debugLineNum = 793;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("853870595","b_prodMas_Click",__c.Colors.Magenta); +__c.LogImpl("060227587","b_prodMas_Click",__c.Colors.Magenta); //BA.debugLineNum = 794;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 = 795;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; @@ -297,40 +297,40 @@ _pnl = _pnl0.GetView((int) (0)); _lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); _lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); //BA.debugLineNum = 798;BA.debugLine="LogColor(laCantc.Text&\"--------------------------"; -__c.LogImpl("853870600",_lacantc.getText()+"-----------------------------",__c.Colors.Blue); +__c.LogImpl("060227592",_lacantc.getText()+"-----------------------------",__c.Colors.Blue); //BA.debugLineNum = 802;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 = 803;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta"; -__c.LogImpl("853870605","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("060227597","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); //BA.debugLineNum = 804;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; if ((_lacantc.getText()).equals("")) { _lacantc.setText(BA.ObjectToCharSequence(0));}; //BA.debugLineNum = 806;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 = 807;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)"; -__c.LogImpl("853870609",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); +__c.LogImpl("060227601",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); //BA.debugLineNum = 808;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)"; -__c.LogImpl("853870610",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); +__c.LogImpl("060227602",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); //BA.debugLineNum = 809;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("853870611",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +__c.LogImpl("060227603",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); //BA.debugLineNum = 811;BA.debugLine="Log(maxProds)"; -__c.LogImpl("853870613",_maxprods,0); +__c.LogImpl("060227605",_maxprods,0); //BA.debugLineNum = 814;BA.debugLine="Log(esteTag.Get(4))"; -__c.LogImpl("853870616",BA.ObjectToString(_estetag.Get((int) (4))),0); +__c.LogImpl("060227608",BA.ObjectToString(_estetag.Get((int) (4))),0); //BA.debugLineNum = 815;BA.debugLine="If esteTag.Get(4) = \"0\" Then"; if ((_estetag.Get((int) (4))).equals((Object)("0"))) { }else { //BA.debugLineNum = 818;BA.debugLine="If laCantc.Text + 1 <= maxProds Then"; if ((double)(Double.parseDouble(_lacantc.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { //BA.debugLineNum = 819;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)"; -__c.LogImpl("853870621",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0); +__c.LogImpl("060227613",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0); //BA.debugLineNum = 821;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 = 822;BA.debugLine="LogColor(esteTag,Colors.Magenta)"; -__c.LogImpl("853870624",BA.ObjectToString(_estetag),__c.Colors.Magenta); +__c.LogImpl("060227616",BA.ObjectToString(_estetag),__c.Colors.Magenta); //BA.debugLineNum = 824;BA.debugLine="LogColor(laCantc.Text,Colors.Red)"; -__c.LogImpl("853870626",_lacantc.getText(),__c.Colors.Red); +__c.LogImpl("060227618",_lacantc.getText(),__c.Colors.Red); //BA.debugLineNum = 827;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 = 828;BA.debugLine="If c.RowCount > 0 Then"; @@ -349,7 +349,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO se //BA.debugLineNum = 835;BA.debugLine="B4XPage_Appear"; _b4xpage_appear(); //BA.debugLineNum = 836;BA.debugLine="Log(\"aqui2\")"; -__c.LogImpl("853870638","aqui2",0); +__c.LogImpl("060227630","aqui2",0); }; }else { //BA.debugLineNum = 839;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; @@ -362,7 +362,7 @@ _c2.setPosition((int) (0)); //BA.debugLineNum = 842;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 = 843;BA.debugLine="Log(puc)"; -__c.LogImpl("853870645",_puc,0); +__c.LogImpl("060227637",_puc,0); //BA.debugLineNum = 846;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 = 847;BA.debugLine="B4XPage_Appear"; @@ -389,9 +389,9 @@ float _preciou = 0f; //BA.debugLineNum = 559;BA.debugLine="etCantHasFocus = False"; _etcanthasfocus = __c.False; //BA.debugLineNum = 560;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("853739522","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); +__c.LogImpl("060096514","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); //BA.debugLineNum = 561;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("853739523","b_prodMenos_Click",__c.Colors.Magenta); +__c.LogImpl("060096515","b_prodMenos_Click",__c.Colors.Magenta); //BA.debugLineNum = 562;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 = 563;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; @@ -407,7 +407,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 = 568;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; -__c.LogImpl("853739530","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("060096522","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); //BA.debugLineNum = 570;BA.debugLine="Private minimoadesc As String"; _minimoadesc = ""; //BA.debugLineNum = 571;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; @@ -436,7 +436,7 @@ _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Obje if ((double)(Double.parseDouble(_lacant.getText()))<0) { _lacant.setText(BA.ObjectToCharSequence(0));}; //BA.debugLineNum = 619;BA.debugLine="Log(\"NO ES promo\")"; -__c.LogImpl("853739581","NO ES promo",0); +__c.LogImpl("060096573","NO ES promo",0); //BA.debugLineNum = 624;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)))}))); @@ -475,7 +475,7 @@ _b4xpage_appear(); //BA.debugLineNum = 650;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 = 651;BA.debugLine="Log(\"PU: \" & preciou)"; -__c.LogImpl("853739613","PU: "+BA.NumberToString(_preciou),0); +__c.LogImpl("060096605","PU: "+BA.NumberToString(_preciou),0); //BA.debugLineNum = 662;BA.debugLine="End Sub"; return ""; } @@ -491,9 +491,9 @@ float _preciou = 0f; //BA.debugLineNum = 856;BA.debugLine="etCantHasFocus = False"; _etcanthasfocus = __c.False; //BA.debugLineNum = 857;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("853936130","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); +__c.LogImpl("060293122","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); //BA.debugLineNum = 858;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("853936131","b_prodMenos_Click",__c.Colors.Magenta); +__c.LogImpl("060293123","b_prodMenos_Click",__c.Colors.Magenta); //BA.debugLineNum = 859;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 = 860;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; @@ -509,7 +509,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 = 865;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get"; -__c.LogImpl("853936138","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +__c.LogImpl("060293130","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); //BA.debugLineNum = 869;BA.debugLine="If laCantc.Text > 0 Then"; if ((double)(Double.parseDouble(_lacantc.getText()))>0) { //BA.debugLineNum = 872;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; @@ -529,7 +529,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDI }; }; //BA.debugLineNum = 881;BA.debugLine="Log(\"entre al if o algo asi \")"; -__c.LogImpl("853936154","entre al if o algo asi ",0); +__c.LogImpl("060293146","entre al if o algo asi ",0); //BA.debugLineNum = 882;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; if ((_lacantc.getText()).equals("")) { _lacantc.setText(BA.ObjectToCharSequence(0));}; @@ -545,7 +545,7 @@ _b4xpage_appear(); //BA.debugLineNum = 891;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 = 892;BA.debugLine="Log(\"PU: \" & preciou)"; -__c.LogImpl("853936165","PU: "+BA.NumberToString(_preciou),0); +__c.LogImpl("060293157","PU: "+BA.NumberToString(_preciou),0); //BA.debugLineNum = 893;BA.debugLine="End Sub"; return ""; } @@ -606,7 +606,7 @@ _existe = _c.GetString("EXISTE"); //BA.debugLineNum = 89;BA.debugLine="C.Close"; _c.Close(); //BA.debugLineNum = 93;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from HIST_VENT"; -_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 HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); +_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 HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); //BA.debugLineNum = 96;BA.debugLine="ListView1.Clear"; _listview1.Clear(); //BA.debugLineNum = 97;BA.debugLine="clv_pedido.Clear"; @@ -703,16 +703,16 @@ _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); //BA.debugLineNum = 167;BA.debugLine="preciocat.Close"; _preciocat.Close(); //BA.debugLineNum = 168;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))"; -__c.LogImpl("853215326",_c.GetString("HVD_CODPROMO"),0); +__c.LogImpl("059572318",_c.GetString("HVD_CODPROMO"),0); //BA.debugLineNum = 169;BA.debugLine="Log(Subs.traeAlmacen)"; -__c.LogImpl("853215327",_subs._traealmacen /*String*/ (ba),0); +__c.LogImpl("059572319",_subs._traealmacen /*String*/ (ba),0); //BA.debugLineNum = 172;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { //BA.debugLineNum = 173;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 = 175;BA.debugLine="Log(\"aqui arriba\")"; -__c.LogImpl("853215333","aqui arriba",0); +__c.LogImpl("059572325","aqui arriba",0); //BA.debugLineNum = 176;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)); }; @@ -745,16 +745,16 @@ _preciofull = _preciocat.GetString("CAT_GP_PRECIO"); //BA.debugLineNum = 199;BA.debugLine="preciocat.Close"; _preciocat.Close(); //BA.debugLineNum = 200;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))"; -__c.LogImpl("853215358",_c.GetString("HVD_CODPROMO"),0); +__c.LogImpl("059572350",_c.GetString("HVD_CODPROMO"),0); //BA.debugLineNum = 201;BA.debugLine="Log(Subs.traeAlmacen)"; -__c.LogImpl("853215359",_subs._traealmacen /*String*/ (ba),0); +__c.LogImpl("059572351",_subs._traealmacen /*String*/ (ba),0); //BA.debugLineNum = 203;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { //BA.debugLineNum = 204;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 = 206;BA.debugLine="Log(\"aqui abajo\")"; -__c.LogImpl("853215364","aqui abajo",0); +__c.LogImpl("059572356","aqui abajo",0); //BA.debugLineNum = 207;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)); }; @@ -764,7 +764,7 @@ _clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware. _c2.Close(); }else if((_c.GetString("BCAJAS")).equals("1")) { //BA.debugLineNum = 218;BA.debugLine="Log(\"AQUI1\")"; -__c.LogImpl("853215376","AQUI1",0); +__c.LogImpl("059572368","AQUI1",0); //BA.debugLineNum = 221;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")))+"'")))); @@ -826,9 +826,9 @@ if (_c2.getRowCount()>0) { //BA.debugLineNum = 255;BA.debugLine="c2.Position = 0"; _c2.setPosition((int) (0)); //BA.debugLineNum = 256;BA.debugLine="Log(\"SI ENTRO A PONER CAJAS BIEN \")"; -__c.LogImpl("853215414","SI ENTRO A PONER CAJAS BIEN ",0); +__c.LogImpl("059572406","SI ENTRO A PONER CAJAS BIEN ",0); //BA.debugLineNum = 257;BA.debugLine="Log(c2.GetString(\"PE_CAJAS\"))"; -__c.LogImpl("853215415",_c2.GetString("PE_CAJAS"),0); +__c.LogImpl("059572407",_c2.GetString("PE_CAJAS"),0); //BA.debugLineNum = 258;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")))+"'")))); @@ -847,12 +847,12 @@ _resta = BA.NumberToString(0); //BA.debugLineNum = 269;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 = 270;BA.debugLine="LogColor((restacant/Subs.traeConversion(c.Ge"; -__c.LogImpl("853215428",BA.NumberToString(((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),__c.Colors.Green); +__c.LogImpl("059572420",BA.NumberToString(((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),__c.Colors.Green); //BA.debugLineNum = 271;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 = 273;BA.debugLine="Log(\"NO ENTRO A PONER CAJAS BIEN \")"; -__c.LogImpl("853215431","NO ENTRO A PONER CAJAS BIEN ",0); +__c.LogImpl("059572423","NO ENTRO A PONER CAJAS BIEN ",0); //BA.debugLineNum = 274;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")))+"'")))); @@ -869,7 +869,7 @@ _resta = _c3.GetString("PE_CANT"); _resta = BA.NumberToString(0); }; //BA.debugLineNum = 285;BA.debugLine="LogColor(resta,Colors.Green)"; -__c.LogImpl("853215443",_resta,__c.Colors.Green); +__c.LogImpl("059572435",_resta,__c.Colors.Green); //BA.debugLineNum = 286;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 = 288;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\""; @@ -1120,9 +1120,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 = 538;BA.debugLine="Log(inv&\" inventario 1\")"; -__c.LogImpl("853673998",BA.NumberToString(_inv)+" inventario 1",0); +__c.LogImpl("060030990",BA.NumberToString(_inv)+" inventario 1",0); //BA.debugLineNum = 539;BA.debugLine="Log(inv2&\" inventario 2\")"; -__c.LogImpl("853673999",BA.NumberToString(_inv2)+" inventario 2",0); +__c.LogImpl("060030991",BA.NumberToString(_inv2)+" inventario 2",0); //BA.debugLineNum = 540;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 = 542;BA.debugLine="l_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; @@ -1187,7 +1187,7 @@ return ""; public String _p_prods_click() throws Exception{ //BA.debugLineNum = 1077;BA.debugLine="Sub p_prods_Click"; //BA.debugLineNum = 1078;BA.debugLine="Log(Sender.As(Panel).tag)"; -__c.LogImpl("854329345",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("060686337",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 = 1079;BA.debugLine="End Sub"; return ""; } diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_tabulador.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_tabulador.java index 1190cb9..785b418 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_tabulador.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_tabulador.java @@ -49,12 +49,12 @@ public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = 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("854591494","TABULADR CON RESUKTADO",0); +__c.LogImpl("060948486","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("854591509","TABULADR SIN RESUKTADO",0); +__c.LogImpl("060948501","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_mazapa/keymon/lat/c_ticketsdia.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_ticketsdia.java index 61a3a5f..cf31d24 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_ticketsdia.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_ticketsdia.java @@ -29,12 +29,12 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_updateavailable.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_updateavailable.java index dbbd333..9143564 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_updateavailable.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_updateavailable.java @@ -29,12 +29,12 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = 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("855181322","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0); +parent.__c.LogImpl("061538314","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0); if (true) break; if (true) break; ; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/cameraexclass.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/cameraexclass.java index 9446e4e..6adf206 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/cameraexclass.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/cameraexclass.java @@ -34,12 +34,12 @@ public Object _parameters = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -79,7 +79,7 @@ if (_success) { _takepicture(); }else { //BA.debugLineNum = 279;BA.debugLine="Log(\"AutoFocus error.\")"; -__c.LogImpl("857606148","AutoFocus error.",0); +__c.LogImpl("063963140","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("855705608","success = false, "+BA.ObjectToString(__c.LastException(ba)),0); +__c.LogImpl("062062600","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("856360966",BA.ObjectToString(__c.LastException(ba)),0); +__c.LogImpl("062717958",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("857278471","Continuous focus mode is not available",0); +__c.LogImpl("063635463","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("855640080",BA.NumberToString(_previewresult),0); +__c.LogImpl("061997072",BA.NumberToString(_previewresult),0); }; //BA.debugLineNum = 75;BA.debugLine="r.target = nativeCam"; _r.Target = _nativecam; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/cl_appupdate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/cl_appupdate.java index ccd5702..520fe8b 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/cl_appupdate.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/cl_appupdate.java @@ -63,12 +63,12 @@ public int _logcolor1 = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -220,7 +220,7 @@ case 0: //C this.state = 1; //BA.debugLineNum = 159;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor"; -parent.__c.LogImpl("911403265","---- AppUpdating.DownloadApk",parent._logcolor1); +parent.__c.LogImpl("95898241","---- 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("911403269",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0); +parent.__c.LogImpl("95898245",(""+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_mazapa.keymon.lat.httpjob) result[0]; ; //BA.debugLineNum = 174;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; -parent.__c.LogImpl("911403280",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); +parent.__c.LogImpl("95898256",("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("911403287",("Copy2 (saving) ok? TRUE"),0); +parent.__c.LogImpl("95898263",("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("911403289",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0); +parent.__c.LogImpl("95898265",(""+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("911403291",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +parent.__c.LogImpl("95898267",(""+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("911403293",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +parent.__c.LogImpl("95898269",(""+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("910420245",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(_sharedfolder))+""),0); +__c.LogImpl("94915221",("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("911468801","---- AppUpdating.InstallApk",_logcolor1); +__c.LogImpl("95963777","---- 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("911468805",__c.TAB+"user asked to install new apk",0);}; +__c.LogImpl("95963781",__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("911468808",__c.TAB+"no permissions from user to install new apk",0);}; +__c.LogImpl("95963784",__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("911730948",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);}; +__c.LogImpl("96225924",(""+__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("911730953",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(_curver))+""),0);}; +__c.LogImpl("96225929",(""+__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("911796481","IsValidComplete start",0); +parent.__c.LogImpl("96291457","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("911796485",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0); +parent.__c.LogImpl("96291461",(""+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("911796493","before",0); +parent.__c.LogImpl("96291469","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_mazapa.keymon.lat.httpjob) result[0]; ; //BA.debugLineNum = 327;BA.debugLine="Log(\"after\")"; -parent.__c.LogImpl("911796495","after",0); +parent.__c.LogImpl("96291471","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("911796497",("Webserver's info file content: "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_j._getstring /*String*/ ()))+""),0); +parent.__c.LogImpl("96291473",("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("911796504",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0); +parent.__c.LogImpl("96291480",(""+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("911796507",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(parent._webver))+""),0); +parent.__c.LogImpl("96291483",(""+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("911796511",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0); +parent.__c.LogImpl("96291487",(""+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("911796514",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +parent.__c.LogImpl("96291490",(""+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("911796516",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +parent.__c.LogImpl("96291492",(""+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("911272193","---- AppUpdating.ReadCurVN",_logcolor1); +__c.LogImpl("95767169","---- 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("911337729","---- AppUpdating.ReadWebVN",parent._logcolor1); +parent.__c.LogImpl("95832705","---- 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("911599873",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),parent._logcolor1); +parent.__c.LogImpl("96094849",(""+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_mazapa.keymon.lat.httpjob) result[0]; ; //BA.debugLineNum = 256;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; -parent.__c.LogImpl("911599883",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); +parent.__c.LogImpl("96094859",("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("911599891",("Copy2 (saving) ok? TRUE"),0); +parent.__c.LogImpl("96094867",("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("911599893",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0); +parent.__c.LogImpl("96094869",(""+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("911599895",("Copy2 (saving) ok? FALSE"),0); +parent.__c.LogImpl("96094871",("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("911599897",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0); +parent.__c.LogImpl("96094873",(""+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("911599901",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +parent.__c.LogImpl("96094877",(""+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("911599903",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +parent.__c.LogImpl("96094879",(""+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("911599910",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0); +parent.__c.LogImpl("96094886",(""+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("911534337","---- AppUpdating.UpdateApk",parent._logcolor1); +parent.__c.LogImpl("96029313","---- 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("911534340",parent.__c.TAB+"no permissions from user to install new apk",0); +parent.__c.LogImpl("96029316",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("911534350",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0); +parent.__c.LogImpl("96029326",(""+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("911534355",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0); +parent.__c.LogImpl("96029331",(""+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("911534358",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0); +parent.__c.LogImpl("96029334",(""+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("911534363",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0); +parent.__c.LogImpl("96029339",(""+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_mazapa/keymon/lat/dbrequestmanager.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/dbrequestmanager.java index b06b6fc..7285dd6 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/dbrequestmanager.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/dbrequestmanager.java @@ -42,12 +42,12 @@ public String _jobtaganterior = ""; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = 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("858523660","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.Blue);}; +__c.LogImpl("064880652","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("858785793","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("065142785","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("858785799",_sb.ToString(),0); +__c.LogImpl("065142791",_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_mazapa/keymon/lat/escposprinter.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/escposprinter.java index f8c96ce..ed23228 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/escposprinter.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/escposprinter.java @@ -61,12 +61,12 @@ public String _defaults = ""; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -106,7 +106,7 @@ if (__c.SubExists(ba,_callback,_eventname+"_NewData")) { __c.CallSubNew2(ba,_callback,_eventname+"_NewData",(Object)(_buffer)); }; //BA.debugLineNum = 1138;BA.debugLine="Log(\"Data \" & Buffer(0))"; -__c.LogImpl("862324740","Data "+BA.NumberToString(_buffer[(int) (0)]),0); +__c.LogImpl("068681732","Data "+BA.NumberToString(_buffer[(int) (0)]),0); //BA.debugLineNum = 1139;BA.debugLine="End Sub"; return ""; } @@ -215,7 +215,7 @@ _l = new anywheresoftware.b4a.objects.collections.List(); //BA.debugLineNum = 109;BA.debugLine="l.Initialize"; _l.Initialize(); //BA.debugLineNum = 110;BA.debugLine="Log(\"aqui 1\")"; -__c.LogImpl("859179018","aqui 1",0); +__c.LogImpl("065536010","aqui 1",0); //BA.debugLineNum = 111;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; { final int step8 = 1; @@ -225,7 +225,7 @@ for (;_i <= limit8 ;_i = _i + step8 ) { //BA.debugLineNum = 112;BA.debugLine="l.Add(PairedDevices.GetKeyAt(i))"; _l.Add(_paireddevices.GetKeyAt(_i)); //BA.debugLineNum = 113;BA.debugLine="Log(\"aqui 2\")"; -__c.LogImpl("859179021","aqui 2",0); +__c.LogImpl("065536013","aqui 2",0); //BA.debugLineNum = 114;BA.debugLine="DisConnect"; _disconnect(); } @@ -245,10 +245,10 @@ if (true) return __c.True; //BA.debugLineNum = 123;BA.debugLine="DisConnect"; _disconnect(); //BA.debugLineNum = 124;BA.debugLine="Log(\"aqui 3\")"; -__c.LogImpl("859179032","aqui 3",0); +__c.LogImpl("065536024","aqui 3",0); }; //BA.debugLineNum = 126;BA.debugLine="Log(\"aqui 4\")"; -__c.LogImpl("859179034","aqui 4",0); +__c.LogImpl("065536026","aqui 4",0); //BA.debugLineNum = 127;BA.debugLine="Return False"; if (true) return __c.False; }else { @@ -259,12 +259,12 @@ if (true) return __c.True; //BA.debugLineNum = 132;BA.debugLine="DisConnect"; _disconnect(); //BA.debugLineNum = 133;BA.debugLine="Log(\"aqui 5\")"; -__c.LogImpl("859179041","aqui 5",0); +__c.LogImpl("065536033","aqui 5",0); }; } catch (Exception e31) { ba.setLastException(e31); //BA.debugLineNum = 136;BA.debugLine="Log(LastException)"; -__c.LogImpl("859179044",BA.ObjectToString(__c.LastException(getActivityBA())),0); +__c.LogImpl("065536036",BA.ObjectToString(__c.LastException(getActivityBA())),0); //BA.debugLineNum = 137;BA.debugLine="Return False"; if (true) return __c.False; }; @@ -433,22 +433,22 @@ _logmsg = ": Fill="+BA.NumberToString(_fill)+" : Points "+BA.NumberToString(_x0) //BA.debugLineNum = 445;BA.debugLine="If shape = 3 Then"; if (_shape==3) { //BA.debugLineNum = 446;BA.debugLine="Log(\"Triangle \" & logmsg)"; -__c.LogImpl("860489770","Triangle "+_logmsg,0); +__c.LogImpl("066846762","Triangle "+_logmsg,0); //BA.debugLineNum = 447;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 = 449;BA.debugLine="Log(\"Circle \" & logmsg)"; -__c.LogImpl("860489773","Circle "+_logmsg,0); +__c.LogImpl("066846765","Circle "+_logmsg,0); //BA.debugLineNum = 450;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)"; _plotcircle(_x0,_y0,_x1,_y1,_points,_fill); }else if(_shape==1) { //BA.debugLineNum = 452;BA.debugLine="Log(\"Box \" & logmsg)"; -__c.LogImpl("860489776","Box "+_logmsg,0); +__c.LogImpl("066846768","Box "+_logmsg,0); //BA.debugLineNum = 453;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)"; _plotbox(_x0,_y0,_x1,_y1,_points,_fill); }else { //BA.debugLineNum = 455;BA.debugLine="Log(\"Line \" & logmsg)"; -__c.LogImpl("860489779","Line "+_logmsg,0); +__c.LogImpl("066846771","Line "+_logmsg,0); //BA.debugLineNum = 456;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; _plotline(_x0,_y0,_x1,_y1,_points); }; @@ -1951,7 +1951,7 @@ _databytes = _data.getBytes("ASCII"); //BA.debugLineNum = 1078;BA.debugLine="Dim dlow As Int = databytes.Length"; _dlow = _databytes.length; //BA.debugLineNum = 1079;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \","; -__c.LogImpl("862128131","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0); +__c.LogImpl("068485123","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0); //BA.debugLineNum = 1080;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt"; _writestring(_gs+"k"+BA.ObjectToString(_bartype.toUpperCase().charAt((int) (0)))); //BA.debugLineNum = 1081;BA.debugLine="Dim params(1) As Byte"; @@ -1989,7 +1989,7 @@ _dhigh = (int) (_databytes.length/(double)256); //BA.debugLineNum = 1095;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256"; _dlow = (int) (_databytes.length-_dhigh*256); //BA.debugLineNum = 1096;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \","; -__c.LogImpl("862193668","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0); +__c.LogImpl("068550660","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0); //BA.debugLineNum = 1097;BA.debugLine="Dim params(3) As Byte"; _params = new byte[(int) (3)]; ; @@ -2026,7 +2026,7 @@ _astream.Write(_data.getBytes(_encoding)); } catch (Exception e6) { ba.setLastException(e6); //BA.debugLineNum = 305;BA.debugLine="Log(\"Printer error : \" & LastException.Message)"; -__c.LogImpl("860227590","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0); +__c.LogImpl("066584582","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0); //BA.debugLineNum = 306;BA.debugLine="AStream_Error"; _astream_error(); }; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/fileprovider.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/fileprovider.java index 2e1df09..bdaf3b6 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/fileprovider.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/fileprovider.java @@ -30,12 +30,12 @@ public anywheresoftware.b4a.objects.RuntimePermissions _rp = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -57,30 +57,30 @@ anywheresoftware.b4j.object.JavaObject _uri = null; anywheresoftware.b4j.object.JavaObject _f = null; anywheresoftware.b4j.object.JavaObject _fp = null; anywheresoftware.b4j.object.JavaObject _context = null; - //BA.debugLineNum = 22;BA.debugLine="Public Sub GetFileUri (FileName As String) As Obje"; - //BA.debugLineNum = 24;BA.debugLine="If UseFileProvider = False Then"; + //BA.debugLineNum = 21;BA.debugLine="Public Sub GetFileUri (FileName As String) As Obje"; + //BA.debugLineNum = 23;BA.debugLine="If UseFileProvider = False Then"; if (_usefileprovider==__c.False) { - //BA.debugLineNum = 25;BA.debugLine="Dim uri As JavaObject"; + //BA.debugLineNum = 24;BA.debugLine="Dim uri As JavaObject"; _uri = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 26;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; + //BA.debugLineNum = 25;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+__c.File.Combine(_sharedfolder,_filename))}); }else { - //BA.debugLineNum = 28;BA.debugLine="Dim f As JavaObject"; + //BA.debugLineNum = 27;BA.debugLine="Dim f As JavaObject"; _f = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 29;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; + //BA.debugLineNum = 28;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; _f.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder),(Object)(_filename)}); - //BA.debugLineNum = 30;BA.debugLine="Dim fp As JavaObject"; + //BA.debugLineNum = 29;BA.debugLine="Dim fp As JavaObject"; _fp = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 31;BA.debugLine="Dim context As JavaObject"; + //BA.debugLineNum = 30;BA.debugLine="Dim context As JavaObject"; _context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 32;BA.debugLine="context.InitializeContext"; + //BA.debugLineNum = 31;BA.debugLine="context.InitializeContext"; _context.InitializeContext(ba); - //BA.debugLineNum = 33;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; + //BA.debugLineNum = 32;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; _fp.InitializeStatic("androidx.core.content.FileProvider"); - //BA.debugLineNum = 34;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; + //BA.debugLineNum = 33;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.getObject()),(Object)(__c.Application.getPackageName()+".provider"),(Object)(_f.getObject())}); }; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; + //BA.debugLineNum = 35;BA.debugLine="End Sub"; return null; } public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ @@ -103,22 +103,20 @@ _usefileprovider = __c.False; //BA.debugLineNum = 16;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; _sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); }; - //BA.debugLineNum = 18;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; -__c.LogImpl("921823498",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); - //BA.debugLineNum = 19;BA.debugLine="End Sub"; + //BA.debugLineNum = 18;BA.debugLine="End Sub"; return ""; } public String _setfileuriasintentdata(anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 40;BA.debugLine="Public Sub SetFileUriAsIntentData (Intent As Inten"; - //BA.debugLineNum = 41;BA.debugLine="Dim jo As JavaObject = Intent"; + //BA.debugLineNum = 39;BA.debugLine="Public Sub SetFileUriAsIntentData (Intent As Inten"; + //BA.debugLineNum = 40;BA.debugLine="Dim jo As JavaObject = Intent"; _jo = new anywheresoftware.b4j.object.JavaObject(); _jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_intent.getObject())); - //BA.debugLineNum = 42;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; + //BA.debugLineNum = 41;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; _jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); - //BA.debugLineNum = 43;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; + //BA.debugLineNum = 42;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; _intent.setFlags(__c.Bit.Or(_intent.getFlags(),(int) (1))); - //BA.debugLineNum = 44;BA.debugLine="End Sub"; + //BA.debugLineNum = 43;BA.debugLine="End Sub"; return ""; } public Object callSub(String sub, Object sender, Object[] args) throws Exception { diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/foto.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/foto.java index bfb43ee..954419a 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/foto.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/foto.java @@ -349,11 +349,11 @@ public static String _motivo = ""; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.starter _starter = null; public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = 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("863373314",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0); +anywheresoftware.b4a.keywords.Common.LogImpl("069730306",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("862980101",BA.ObjectToString(mostCurrent._camex._getpreviewsize /*reparto_mazapa.keymon.lat.cameraexclass._camerasize*/ ()),0); +anywheresoftware.b4a.keywords.Common.LogImpl("069337093",BA.ObjectToString(mostCurrent._camex._getpreviewsize /*reparto_mazapa.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_mazapa/keymon/lat/httpjob.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/httpjob.java index 89f3f3e..a493387 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/httpjob.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/httpjob.java @@ -40,12 +40,12 @@ public String _defaultscheme = ""; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = 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("923724037",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("918219013",("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("923789573",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("918284549",("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("923527429",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("918022405",("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("923592965",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("918087941",("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("923265285",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("917760261",("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("923199756",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("917694732",("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("922937605",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("917432581",("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("923461896","Cannot send files from the assets folder.",0); +__c.LogImpl("917956872","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("923068677",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +__c.LogImpl("917563653",("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_mazapa/keymon/lat/httputils2service.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/httputils2service.java index c643e33..7e1ea44 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/httputils2service.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/httputils2service.java @@ -51,12 +51,12 @@ public static int _taskcounter = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -69,7 +69,7 @@ _job = (reparto_mazapa.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("822609926","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0); +anywheresoftware.b4a.keywords.Common.LogImpl("017104902","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_mazapa.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("822544386",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("017039362",("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_mazapa.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("822544391","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0); +anywheresoftware.b4a.keywords.Common.LogImpl("017039367","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_mazapa.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("822413315","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0); +anywheresoftware.b4a.keywords.Common.LogImpl("016908291","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("822085639",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0); +anywheresoftware.b4a.keywords.Common.LogImpl("016580615",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0); //BA.debugLineNum = 35;BA.debugLine="Log(\"Switching to File.DirInternal\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("822085640","Switching to File.DirInternal",0); +anywheresoftware.b4a.keywords.Common.LogImpl("016580616","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_mazapa/keymon/lat/madewithlove.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/madewithlove.java index 3f96eec..fa9e055 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/madewithlove.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/madewithlove.java @@ -32,12 +32,12 @@ public Object _tag = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/main.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/main.java index 6d8a7c5..983f3e8 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/main.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/main.java @@ -339,12 +339,12 @@ public anywheresoftware.b4a.keywords.Common __c = null; public static boolean _actionbarhomeclicked = false; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -428,12 +428,12 @@ public static void initializeProcessGlobals() { b4a.example.dateutils._process_globals(); main._process_globals(); appupdater._process_globals(); +tracker._process_globals(); +starter._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(); b4xcollections._process_globals(); diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/manageexternalstorage.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/manageexternalstorage.java index 17f6cf0..1c9f159 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/manageexternalstorage.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/manageexternalstorage.java @@ -30,12 +30,12 @@ public String _meventname = ""; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = 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("863832065","Calling : "+_meventname+"_StorageAvailable",0); +__c.LogImpl("070189057","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_mazapa/keymon/lat/mapa_cliente.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_cliente.java index 29131a4..83549be 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_cliente.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_cliente.java @@ -361,11 +361,11 @@ public anywheresoftware.b4a.objects.ButtonWrapper _b_regresar = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.starter _starter = null; public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.foto _foto = null; +public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = 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("864618497","Pressed",0); +anywheresoftware.b4a.keywords.Common.LogImpl("070975489","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_mazapa/keymon/lat/mapa_rutas.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_rutas.java index 8cf0705..51cac00 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_rutas.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_rutas.java @@ -383,11 +383,11 @@ public static String _semana = ""; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.starter _starter = null; public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.foto _foto = null; +public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -402,125 +402,125 @@ public static void initializeProcessGlobals() { } } public static String _activity_create(boolean _firsttime) throws Exception{ - //BA.debugLineNum = 57;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; - //BA.debugLineNum = 59;BA.debugLine="Activity.LoadLayout(\"MAPA_RUTAS\")"; + //BA.debugLineNum = 59;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; + //BA.debugLineNum = 61;BA.debugLine="Activity.LoadLayout(\"MAPA_RUTAS\")"; mostCurrent._activity.LoadLayout("MAPA_RUTAS",mostCurrent.activityBA); - //BA.debugLineNum = 70;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; + //BA.debugLineNum = 72;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; if (mostCurrent._mapfragment1.IsGooglePlayServicesAvailable(mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 71;BA.debugLine="ToastMessageShow(\"Please install Google Play Ser"; + //BA.debugLineNum = 73;BA.debugLine="ToastMessageShow(\"Please install Google Play Ser"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Please install Google Play Services."),anywheresoftware.b4a.keywords.Common.True); }; - //BA.debugLineNum = 82;BA.debugLine="MARK_AZUL.IsInitialized"; + //BA.debugLineNum = 84;BA.debugLine="MARK_AZUL.IsInitialized"; mostCurrent._mark_azul.IsInitialized(); - //BA.debugLineNum = 83;BA.debugLine="MARK_ROJO.IsInitialized"; + //BA.debugLineNum = 85;BA.debugLine="MARK_ROJO.IsInitialized"; mostCurrent._mark_rojo.IsInitialized(); - //BA.debugLineNum = 84;BA.debugLine="MARK_VERDE.IsInitialized"; + //BA.debugLineNum = 86;BA.debugLine="MARK_VERDE.IsInitialized"; mostCurrent._mark_verde.IsInitialized(); - //BA.debugLineNum = 86;BA.debugLine="LIST_AZUL.Initialize"; + //BA.debugLineNum = 88;BA.debugLine="LIST_AZUL.Initialize"; mostCurrent._list_azul.Initialize(); - //BA.debugLineNum = 87;BA.debugLine="LIST_ROJO.Initialize"; + //BA.debugLineNum = 89;BA.debugLine="LIST_ROJO.Initialize"; mostCurrent._list_rojo.Initialize(); - //BA.debugLineNum = 88;BA.debugLine="LIST_VERDE.Initialize"; + //BA.debugLineNum = 90;BA.debugLine="LIST_VERDE.Initialize"; mostCurrent._list_verde.Initialize(); - //BA.debugLineNum = 90;BA.debugLine="verde = 0"; + //BA.debugLineNum = 92;BA.debugLine="verde = 0"; mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 91;BA.debugLine="azul = 0"; + //BA.debugLineNum = 93;BA.debugLine="azul = 0"; mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 92;BA.debugLine="rojo = 0"; + //BA.debugLineNum = 94;BA.debugLine="rojo = 0"; mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 93;BA.debugLine="todos = 1"; + //BA.debugLineNum = 95;BA.debugLine="todos = 1"; mostCurrent._todos = BA.NumberToString(1); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; + //BA.debugLineNum = 109;BA.debugLine="End Sub"; return ""; } public static boolean _activity_keypress(int _key) throws Exception{ - //BA.debugLineNum = 344;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean 'ign"; - //BA.debugLineNum = 346;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; + //BA.debugLineNum = 354;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean 'ign"; + //BA.debugLineNum = 356;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; if (_key==anywheresoftware.b4a.keywords.Common.KeyCodes.KEYCODE_BACK) { - //BA.debugLineNum = 348;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; + //BA.debugLineNum = 358;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Principal"); - //BA.debugLineNum = 349;BA.debugLine="Return False"; + //BA.debugLineNum = 359;BA.debugLine="Return False"; if (true) return anywheresoftware.b4a.keywords.Common.False; }; - //BA.debugLineNum = 353;BA.debugLine="End Sub"; + //BA.debugLineNum = 363;BA.debugLine="End Sub"; return false; } public static String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 304;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 305;BA.debugLine="GPS.Stop"; + //BA.debugLineNum = 314;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; + //BA.debugLineNum = 315;BA.debugLine="GPS.Stop"; _gps.Stop(); - //BA.debugLineNum = 306;BA.debugLine="End Sub"; + //BA.debugLineNum = 316;BA.debugLine="End Sub"; return ""; } public static String _activity_resume() throws Exception{ - //BA.debugLineNum = 295;BA.debugLine="Sub Activity_Resume"; - //BA.debugLineNum = 302;BA.debugLine="End Sub"; + //BA.debugLineNum = 305;BA.debugLine="Sub Activity_Resume"; + //BA.debugLineNum = 312;BA.debugLine="End Sub"; return ""; } public static String _b_azul_click() throws Exception{ - //BA.debugLineNum = 334;BA.debugLine="Sub B_AZUL_Click"; - //BA.debugLineNum = 335;BA.debugLine="azul = 1"; + //BA.debugLineNum = 344;BA.debugLine="Sub B_AZUL_Click"; + //BA.debugLineNum = 345;BA.debugLine="azul = 1"; mostCurrent._azul = BA.NumberToString(1); - //BA.debugLineNum = 336;BA.debugLine="verde = 0"; + //BA.debugLineNum = 346;BA.debugLine="verde = 0"; mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 337;BA.debugLine="rojo = 0"; + //BA.debugLineNum = 347;BA.debugLine="rojo = 0"; mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 338;BA.debugLine="todos = 0"; + //BA.debugLineNum = 348;BA.debugLine="todos = 0"; mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 339;BA.debugLine="gmap.Clear"; + //BA.debugLineNum = 349;BA.debugLine="gmap.Clear"; mostCurrent._gmap.Clear(); - //BA.debugLineNum = 340;BA.debugLine="MapFragment1_Ready"; + //BA.debugLineNum = 350;BA.debugLine="MapFragment1_Ready"; _mapfragment1_ready(); - //BA.debugLineNum = 341;BA.debugLine="End Sub"; + //BA.debugLineNum = 351;BA.debugLine="End Sub"; return ""; } public static String _b_rojo_click() throws Exception{ - //BA.debugLineNum = 325;BA.debugLine="Sub B_ROJO_Click"; - //BA.debugLineNum = 326;BA.debugLine="rojo = 1"; + //BA.debugLineNum = 335;BA.debugLine="Sub B_ROJO_Click"; + //BA.debugLineNum = 336;BA.debugLine="rojo = 1"; mostCurrent._rojo = BA.NumberToString(1); - //BA.debugLineNum = 327;BA.debugLine="verde = 0"; + //BA.debugLineNum = 337;BA.debugLine="verde = 0"; mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 328;BA.debugLine="azul = 0"; + //BA.debugLineNum = 338;BA.debugLine="azul = 0"; mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 329;BA.debugLine="todos = 0"; + //BA.debugLineNum = 339;BA.debugLine="todos = 0"; mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 330;BA.debugLine="gmap.Clear"; + //BA.debugLineNum = 340;BA.debugLine="gmap.Clear"; mostCurrent._gmap.Clear(); - //BA.debugLineNum = 331;BA.debugLine="MapFragment1_Ready"; + //BA.debugLineNum = 341;BA.debugLine="MapFragment1_Ready"; _mapfragment1_ready(); - //BA.debugLineNum = 332;BA.debugLine="End Sub"; + //BA.debugLineNum = 342;BA.debugLine="End Sub"; return ""; } public static String _b_todos_click() throws Exception{ - //BA.debugLineNum = 308;BA.debugLine="Sub B_TODOS_Click"; - //BA.debugLineNum = 309;BA.debugLine="todos =1"; + //BA.debugLineNum = 318;BA.debugLine="Sub B_TODOS_Click"; + //BA.debugLineNum = 319;BA.debugLine="todos =1"; mostCurrent._todos = BA.NumberToString(1); - //BA.debugLineNum = 310;BA.debugLine="verde = 0"; + //BA.debugLineNum = 320;BA.debugLine="verde = 0"; mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 311;BA.debugLine="azul = 0"; + //BA.debugLineNum = 321;BA.debugLine="azul = 0"; mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 312;BA.debugLine="rojo = 0"; + //BA.debugLineNum = 322;BA.debugLine="rojo = 0"; mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 313;BA.debugLine="MapFragment1_Ready"; + //BA.debugLineNum = 323;BA.debugLine="MapFragment1_Ready"; _mapfragment1_ready(); - //BA.debugLineNum = 314;BA.debugLine="End Sub"; + //BA.debugLineNum = 324;BA.debugLine="End Sub"; return ""; } public static String _b_verde_click() throws Exception{ - //BA.debugLineNum = 316;BA.debugLine="Sub B_VERDE_Click"; - //BA.debugLineNum = 317;BA.debugLine="verde = 1"; + //BA.debugLineNum = 326;BA.debugLine="Sub B_VERDE_Click"; + //BA.debugLineNum = 327;BA.debugLine="verde = 1"; mostCurrent._verde = BA.NumberToString(1); - //BA.debugLineNum = 318;BA.debugLine="azul = 0"; + //BA.debugLineNum = 328;BA.debugLine="azul = 0"; mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 319;BA.debugLine="rojo = 0"; + //BA.debugLineNum = 329;BA.debugLine="rojo = 0"; mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 320;BA.debugLine="todos = 0"; + //BA.debugLineNum = 330;BA.debugLine="todos = 0"; mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 321;BA.debugLine="gmap.Clear"; + //BA.debugLineNum = 331;BA.debugLine="gmap.Clear"; mostCurrent._gmap.Clear(); - //BA.debugLineNum = 322;BA.debugLine="MapFragment1_Ready"; + //BA.debugLineNum = 332;BA.debugLine="MapFragment1_Ready"; _mapfragment1_ready(); - //BA.debugLineNum = 323;BA.debugLine="End Sub"; + //BA.debugLineNum = 333;BA.debugLine="End Sub"; return ""; } public static String _globals() throws Exception{ @@ -599,12 +599,12 @@ mostCurrent._googlemapextra = new uk.co.martinpearman.b4a.googlemapsextras.Googl mostCurrent._codigo = ""; //BA.debugLineNum = 53;BA.debugLine="Private SEMANA As String"; mostCurrent._semana = ""; - //BA.debugLineNum = 55;BA.debugLine="End Sub"; + //BA.debugLineNum = 57;BA.debugLine="End Sub"; return ""; } public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _parametro) throws Exception{ - //BA.debugLineNum = 274;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; - //BA.debugLineNum = 293;BA.debugLine="End Sub"; + //BA.debugLineNum = 284;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; + //BA.debugLineNum = 303;BA.debugLine="End Sub"; return ""; } public static void _mapfragment1_ready() throws Exception{ @@ -628,14 +628,14 @@ String _esterojo2 = ""; anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper _aa = null; int step15; int limit15; -int step52; -int limit52; -int step77; -int limit77; -int step97; -int limit97; -int step122; -int limit122; +int step59; +int limit59; +int step84; +int limit84; +int step104; +int limit104; +int step129; +int limit129; @Override public void resume(BA ba, Object[] result) throws Exception{ @@ -648,40 +648,40 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 110;BA.debugLine="gmap = MapFragment1.GetMap"; + //BA.debugLineNum = 112;BA.debugLine="gmap = MapFragment1.GetMap"; parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.GetMap(); - //BA.debugLineNum = 111;BA.debugLine="gmap.IsInitialized"; + //BA.debugLineNum = 113;BA.debugLine="gmap.IsInitialized"; parent.mostCurrent._gmap.IsInitialized(); - //BA.debugLineNum = 112;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; + //BA.debugLineNum = 114;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; parent._rp.CheckAndRequest(processBA,parent._rp.PERMISSION_ACCESS_FINE_LOCATION); - //BA.debugLineNum = 113;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; + //BA.debugLineNum = 115;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; anywheresoftware.b4a.keywords.Common.WaitFor("activity_permissionresult", processBA, this, null); -this.state = 144; +this.state = 186; return; -case 144: +case 186: //C this.state = 1; _permission = (String) result[0]; _result = (Boolean) result[1]; ; - //BA.debugLineNum = 114;BA.debugLine="gmap.MyLocationEnabled = Result"; + //BA.debugLineNum = 116;BA.debugLine="gmap.MyLocationEnabled = Result"; parent.mostCurrent._gmap.setMyLocationEnabled(_result); - //BA.debugLineNum = 116;BA.debugLine="Dim JavaMapsObject As JavaObject"; + //BA.debugLineNum = 118;BA.debugLine="Dim JavaMapsObject As JavaObject"; _javamapsobject = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 117;BA.debugLine="JavaMapsObject = gmap.GetUiSettings"; + //BA.debugLineNum = 119;BA.debugLine="JavaMapsObject = gmap.GetUiSettings"; _javamapsobject = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(parent.mostCurrent._gmap.GetUiSettings().getObject())); - //BA.debugLineNum = 118;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; + //BA.debugLineNum = 120;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; _javamapsobject.RunMethod("setMapToolbarEnabled",new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.True)}); - //BA.debugLineNum = 120;BA.debugLine="Private esteAzul As Int = 0"; + //BA.debugLineNum = 122;BA.debugLine="Private esteAzul As Int = 0"; _esteazul = (int) (0); - //BA.debugLineNum = 121;BA.debugLine="Private esteAzul2 As String"; + //BA.debugLineNum = 123;BA.debugLine="Private esteAzul2 As String"; _esteazul2 = ""; - //BA.debugLineNum = 122;BA.debugLine="If azul = 1 Or todos = 1 Then"; + //BA.debugLineNum = 124;BA.debugLine="If azul = 1 Or todos = 1 Then"; if (true) break; case 1: //if -this.state = 77; +this.state = 119; if ((parent.mostCurrent._azul).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { this.state = 3; }if (true) break; @@ -689,52 +689,52 @@ this.state = 3; case 3: //C this.state = 4; - //BA.debugLineNum = 123;BA.debugLine="c.IsInitialized"; + //BA.debugLineNum = 125;BA.debugLine="c.IsInitialized"; parent._c.IsInitialized(); - //BA.debugLineNum = 124;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; + //BA.debugLineNum = 126;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"))); - //BA.debugLineNum = 125;BA.debugLine="rutaAnt = \"\""; + //BA.debugLineNum = 127;BA.debugLine="rutaAnt = \"\""; parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 126;BA.debugLine="For i = 0 To c.RowCount -1"; + //BA.debugLineNum = 128;BA.debugLine="For i = 0 To c.RowCount -1"; if (true) break; case 4: //for -this.state = 70; +this.state = 112; step15 = 1; limit15 = (int) (parent._c.getRowCount()-1); _i = (int) (0) ; -this.state = 145; +this.state = 187; if (true) break; -case 145: +case 187: //C -this.state = 70; +this.state = 112; if ((step15 > 0 && _i <= limit15) || (step15 < 0 && _i >= limit15)) this.state = 6; if (true) break; -case 146: +case 188: //C -this.state = 145; +this.state = 187; _i = ((int)(0 + _i + step15)) ; if (true) break; case 6: //C this.state = 7; - //BA.debugLineNum = 127;BA.debugLine="c.Position = i"; + //BA.debugLineNum = 129;BA.debugLine="c.Position = i"; parent._c.setPosition(_i); - //BA.debugLineNum = 128;BA.debugLine="LatitudRu = c.GetString(\"CAT_CL_LAT\")"; + //BA.debugLineNum = 130;BA.debugLine="LatitudRu = c.GetString(\"CAT_CL_LAT\")"; parent._latitudru = (double)(Double.parseDouble(parent._c.GetString("CAT_CL_LAT"))); - //BA.debugLineNum = 129;BA.debugLine="LongitudRU = c.GetString(\"CAT_CL_LONG\")"; + //BA.debugLineNum = 131;BA.debugLine="LongitudRU = c.GetString(\"CAT_CL_LONG\")"; parent._longitudru = (double)(Double.parseDouble(parent._c.GetString("CAT_CL_LONG"))); - //BA.debugLineNum = 130;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")"; + //BA.debugLineNum = 132;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")"; parent.mostCurrent._codigo = parent._c.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 131;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")"; + //BA.debugLineNum = 133;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")"; parent.mostCurrent._tienda = parent._c.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 132;BA.debugLine="ruta = c.GetString(\"CAT_CL_RUTA\")"; + //BA.debugLineNum = 134;BA.debugLine="ruta = c.GetString(\"CAT_CL_RUTA\")"; parent.mostCurrent._ruta = parent._c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 133;BA.debugLine="If c.GetString(\"SECUENCIA\") = \"null\" Then"; + //BA.debugLineNum = 135;BA.debugLine="If c.GetString(\"SECUENCIA\") = \"null\" Then"; if (true) break; case 7: @@ -749,14 +749,14 @@ this.state = 11; case 9: //C this.state = 12; - //BA.debugLineNum = 134;BA.debugLine="NumSerie = 0"; + //BA.debugLineNum = 136;BA.debugLine="NumSerie = 0"; parent._numserie = (int) (0); if (true) break; case 11: //C this.state = 12; - //BA.debugLineNum = 136;BA.debugLine="NumSerie = c.GetString(\"SECUENCIA\")"; + //BA.debugLineNum = 138;BA.debugLine="NumSerie = c.GetString(\"SECUENCIA\")"; parent._numserie = (int)(Double.parseDouble(parent._c.GetString("SECUENCIA"))); if (true) break; @@ -764,10 +764,10 @@ case 12: //C this.state = 13; ; - //BA.debugLineNum = 138;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; + //BA.debugLineNum = 140;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; _s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); _s = (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 indice from waypoints where codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent.mostCurrent._codigo))+"'")))); - //BA.debugLineNum = 139;BA.debugLine="If s.RowCount > 0 Then"; + //BA.debugLineNum = 141;BA.debugLine="If s.RowCount > 0 Then"; if (true) break; case 13: @@ -780,13 +780,13 @@ this.state = 15; case 15: //C this.state = 16; - //BA.debugLineNum = 140;BA.debugLine="s.Position = 0"; + //BA.debugLineNum = 142;BA.debugLine="s.Position = 0"; _s.setPosition((int) (0)); - //BA.debugLineNum = 141;BA.debugLine="NumSerie = s.GetString(\"indice\")"; + //BA.debugLineNum = 143;BA.debugLine="NumSerie = s.GetString(\"indice\")"; parent._numserie = (int)(Double.parseDouble(_s.GetString("indice"))); if (true) break; ; - //BA.debugLineNum = 143;BA.debugLine="If rutaAnt <> ruta Then esteAzul = esteAzul + 1"; + //BA.debugLineNum = 145;BA.debugLine="If rutaAnt <> ruta Then esteAzul = esteAzul + 1"; case 16: //if @@ -805,7 +805,7 @@ case 21: //C this.state = 22; ; - //BA.debugLineNum = 144;BA.debugLine="If esteAzul = 1 Then esteAzul2= NumSerie&\"maker"; + //BA.debugLineNum = 146;BA.debugLine="If esteAzul = 1 Then esteAzul2= NumSerie&\"maker"; if (true) break; case 22: @@ -825,7 +825,7 @@ case 27: //C this.state = 28; ; - //BA.debugLineNum = 145;BA.debugLine="If esteAzul = 2 Then esteAzul2= NumSerie&\"maker"; + //BA.debugLineNum = 147;BA.debugLine="If esteAzul = 2 Then esteAzul2= NumSerie&\"maker"; if (true) break; case 28: @@ -845,7 +845,7 @@ case 33: //C this.state = 34; ; - //BA.debugLineNum = 146;BA.debugLine="If esteAzul = 3 Then esteAzul2= NumSerie&\"maker"; + //BA.debugLineNum = 148;BA.debugLine="If esteAzul = 3 Then esteAzul2= NumSerie&\"maker"; if (true) break; case 34: @@ -865,7 +865,7 @@ case 39: //C this.state = 40; ; - //BA.debugLineNum = 147;BA.debugLine="If esteAzul = 4 Then esteAzul2= NumSerie&\"maker"; + //BA.debugLineNum = 149;BA.debugLine="If esteAzul = 4 Then esteAzul2= NumSerie&\"maker"; if (true) break; case 40: @@ -885,7 +885,7 @@ case 45: //C this.state = 46; ; - //BA.debugLineNum = 148;BA.debugLine="If esteAzul = 5 Then esteAzul2= NumSerie&\"maker"; + //BA.debugLineNum = 150;BA.debugLine="If esteAzul = 5 Then esteAzul2= NumSerie&\"maker"; if (true) break; case 46: @@ -905,7 +905,7 @@ case 51: //C this.state = 52; ; - //BA.debugLineNum = 149;BA.debugLine="If esteAzul = 6 Then esteAzul2= NumSerie&\"maker"; + //BA.debugLineNum = 151;BA.debugLine="If esteAzul = 6 Then esteAzul2= NumSerie&\"maker"; if (true) break; case 52: @@ -918,14 +918,14 @@ this.state = 54; case 54: //C this.state = 57; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul5.png"; +_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul.png"; if (true) break; case 57: //C this.state = 58; ; - //BA.debugLineNum = 150;BA.debugLine="If esteAzul = 7 Then esteAzul2= NumSerie&\"maker"; + //BA.debugLineNum = 152;BA.debugLine="If esteAzul = 7 Then esteAzul2= NumSerie&\"maker"; if (true) break; case 58: @@ -938,14 +938,14 @@ this.state = 60; case 60: //C this.state = 63; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul7.png"; +_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul1.png"; if (true) break; case 63: //C this.state = 64; ; - //BA.debugLineNum = 151;BA.debugLine="If esteAzul = 8 Then esteAzul2= NumSerie&\"maker"; + //BA.debugLineNum = 153;BA.debugLine="If esteAzul = 8 Then esteAzul2= NumSerie&\"maker"; if (true) break; case 64: @@ -958,531 +958,671 @@ this.state = 66; case 66: //C this.state = 69; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul8.png"; +_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul2.png"; if (true) break; case 69: //C -this.state = 146; +this.state = 70; ; - //BA.debugLineNum = 154;BA.debugLine="MARK_AZUL = gmap.AddMarker3(LatitudRu,LongitudR"; -parent.mostCurrent._mark_azul = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),_esteazul2).getObject())); - //BA.debugLineNum = 155;BA.debugLine="MARK_AZUL.Snippet = \"R: \" & ruta & \" - \" & Tien"; -parent.mostCurrent._mark_azul.setSnippet("R: "+parent.mostCurrent._ruta+" - "+parent.mostCurrent._tienda); - //BA.debugLineNum = 156;BA.debugLine="rutaAnt = ruta"; -parent.mostCurrent._rutaant = parent.mostCurrent._ruta; - if (true) break; + //BA.debugLineNum = 154;BA.debugLine="If esteAzul = 9 Then esteAzul2= NumSerie&\"maker"; if (true) break; case 70: -//C -this.state = 71; -; - //BA.debugLineNum = 158;BA.debugLine="c .Close"; -parent._c.Close(); - //BA.debugLineNum = 159;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA"; -if (true) break; - -case 71: //if -this.state = 76; -if (parent.mostCurrent._mark_azul.IsInitialized()) { -this.state = 73; +this.state = 75; +if (_esteazul==9) { +this.state = 72; ;}if (true) break; -case 73: +case 72: +//C +this.state = 75; +_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul3.png"; +if (true) break; + +case 75: //C this.state = 76; -parent.mostCurrent._list_azul.Add((Object)(parent.mostCurrent._mark_azul.getObject())); +; + //BA.debugLineNum = 155;BA.debugLine="If esteAzul = 10 Then esteAzul2= NumSerie&\"make"; if (true) break; case 76: -//C -this.state = 77; -; - if (true) break; -; - //BA.debugLineNum = 162;BA.debugLine="If verde = 1 Or todos = 1 Then"; - -case 77: //if -this.state = 110; -if ((parent.mostCurrent._verde).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { -this.state = 79; -}else { -this.state = 95; -}if (true) break; +this.state = 81; +if (_esteazul==10) { +this.state = 78; +;}if (true) break; -case 79: +case 78: //C -this.state = 80; - //BA.debugLineNum = 163;BA.debugLine="rutaAnt = \"\""; -parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 164;BA.debugLine="c2.IsInitialized"; -parent._c2.IsInitialized(); - //BA.debugLineNum = 165;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"))); - //BA.debugLineNum = 166;BA.debugLine="For i = 0 To c2.RowCount -1"; +this.state = 81; +_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul4.png"; if (true) break; -case 80: -//for -this.state = 93; -step52 = 1; -limit52 = (int) (parent._c2.getRowCount()-1); -_i = (int) (0) ; -this.state = 147; -if (true) break; - -case 147: +case 81: //C -this.state = 93; -if ((step52 > 0 && _i <= limit52) || (step52 < 0 && _i >= limit52)) this.state = 82; -if (true) break; - -case 148: -//C -this.state = 147; -_i = ((int)(0 + _i + step52)) ; +this.state = 82; +; + //BA.debugLineNum = 156;BA.debugLine="If esteAzul = 11 Then esteAzul2= NumSerie&\"make"; if (true) break; case 82: -//C -this.state = 83; - //BA.debugLineNum = 167;BA.debugLine="c2.Position = i"; -parent._c2.setPosition(_i); - //BA.debugLineNum = 168;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; -parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); - //BA.debugLineNum = 169;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; -parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); - //BA.debugLineNum = 170;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; -parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 171;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; -parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 172;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; -parent.mostCurrent._ruta = parent._c2.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 173;BA.debugLine="If c2.GetString(\"SECUENCIA\") = \"null\" Then"; -if (true) break; - -case 83: //if -this.state = 88; -if ((parent._c2.GetString("SECUENCIA")).equals("null")) { -this.state = 85; -}else { this.state = 87; -}if (true) break; +if (_esteazul==11) { +this.state = 84; +;}if (true) break; -case 85: +case 84: //C -this.state = 88; - //BA.debugLineNum = 174;BA.debugLine="NumSerie = 0"; -parent._numserie = (int) (0); - if (true) break; +this.state = 87; +_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul.png"; +if (true) break; case 87: //C this.state = 88; - //BA.debugLineNum = 176;BA.debugLine="NumSerie = c2.GetString(\"SECUENCIA\")"; -parent._numserie = (int)(Double.parseDouble(parent._c2.GetString("SECUENCIA"))); - if (true) break; - -case 88: -//C -this.state = 89; ; - //BA.debugLineNum = 178;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s = (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 indice from waypoints where codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent.mostCurrent._codigo))+"'")))); - //BA.debugLineNum = 179;BA.debugLine="If s.RowCount > 0 Then"; + //BA.debugLineNum = 157;BA.debugLine="If esteAzul = 12 Then esteAzul2= NumSerie&\"make"; if (true) break; -case 89: +case 88: //if -this.state = 92; -if (_s.getRowCount()>0) { -this.state = 91; -}if (true) break; +this.state = 93; +if (_esteazul==12) { +this.state = 90; +;}if (true) break; -case 91: +case 90: //C -this.state = 92; - //BA.debugLineNum = 180;BA.debugLine="s.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 181;BA.debugLine="NumSerie = s.GetString(\"indice\")"; -parent._numserie = (int)(Double.parseDouble(_s.GetString("indice"))); - if (true) break; - -case 92: -//C -this.state = 148; -; - //BA.debugLineNum = 183;BA.debugLine="MARK_VERDE = gmap.AddMarker3(LatitudRu,Longitud"; -parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),BA.NumberToString(parent._numserie)+"marker-verde.png").getObject())); - //BA.debugLineNum = 184;BA.debugLine="MARK_VERDE.Snippet = \"R:\" & ruta & \", \" & Tiend"; -parent.mostCurrent._mark_verde.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); - if (true) break; +this.state = 93; +_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul1.png"; if (true) break; case 93: //C -this.state = 110; +this.state = 94; ; - if (true) break; - -case 95: -//C -this.state = 96; - //BA.debugLineNum = 187;BA.debugLine="If verde = 1 Or todos = 1 Then"; + //BA.debugLineNum = 158;BA.debugLine="If esteAzul = 13 Then esteAzul2= NumSerie&\"make"; if (true) break; -case 96: +case 94: //if -this.state = 109; -if ((parent.mostCurrent._verde).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { -this.state = 98; -}if (true) break; +this.state = 99; +if (_esteazul==13) { +this.state = 96; +;}if (true) break; -case 98: +case 96: //C this.state = 99; - //BA.debugLineNum = 188;BA.debugLine="rutaAnt = \"\""; -parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 189;BA.debugLine="c2.IsInitialized"; -parent._c2.IsInitialized(); - //BA.debugLineNum = 190;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"))); - //BA.debugLineNum = 191;BA.debugLine="For i = 0 To c2.RowCount -1"; +_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul2.png"; if (true) break; case 99: -//for +//C +this.state = 100; +; + //BA.debugLineNum = 159;BA.debugLine="If esteAzul = 14 Then esteAzul2= NumSerie&\"make"; +if (true) break; + +case 100: +//if +this.state = 105; +if (_esteazul==14) { this.state = 102; -step77 = 1; -limit77 = (int) (parent._c2.getRowCount()-1); -_i = (int) (0) ; -this.state = 149; -if (true) break; - -case 149: -//C -this.state = 102; -if ((step77 > 0 && _i <= limit77) || (step77 < 0 && _i >= limit77)) this.state = 101; -if (true) break; - -case 150: -//C -this.state = 149; -_i = ((int)(0 + _i + step77)) ; -if (true) break; - -case 101: -//C -this.state = 150; - //BA.debugLineNum = 192;BA.debugLine="c2.Position = i"; -parent._c2.setPosition(_i); - //BA.debugLineNum = 193;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; -parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); - //BA.debugLineNum = 194;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; -parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); - //BA.debugLineNum = 195;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; -parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 196;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; -parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 197;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; -parent.mostCurrent._ruta = parent._c2.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 198;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu,Longitu"; -parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_GREEN); - //BA.debugLineNum = 199;BA.debugLine="MARK_VERDE.Snippet = \"R:\" & ruta & \", \" & Tien"; -parent.mostCurrent._mark_verde.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); - if (true) break; -if (true) break; +;}if (true) break; case 102: //C -this.state = 103; -; - //BA.debugLineNum = 201;BA.debugLine="c2 .Close"; -parent._c2.Close(); - //BA.debugLineNum = 202;BA.debugLine="If MARK_VERDE.IsInitialized Then LIST_VERDE.Add"; -if (true) break; - -case 103: -//if -this.state = 108; -if (parent.mostCurrent._mark_verde.IsInitialized()) { this.state = 105; -;}if (true) break; +_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul3.png"; +if (true) break; case 105: //C -this.state = 108; -parent.mostCurrent._list_verde.Add((Object)(parent.mostCurrent._mark_verde.getObject())); +this.state = 106; +; + //BA.debugLineNum = 160;BA.debugLine="If esteAzul = 15 Then esteAzul2= NumSerie&\"make"; if (true) break; +case 106: +//if +this.state = 111; +if (_esteazul==15) { +this.state = 108; +;}if (true) break; + case 108: //C -this.state = 109; -; - if (true) break; - -case 109: -//C -this.state = 110; -; - if (true) break; - -case 110: -//C this.state = 111; -; - //BA.debugLineNum = 206;BA.debugLine="Private esteRojo As Int = 0"; -_esterojo = (int) (0); - //BA.debugLineNum = 207;BA.debugLine="Private esteRojo2 As String"; -_esterojo2 = ""; - //BA.debugLineNum = 208;BA.debugLine="If rojo = 1 Or todos = 1 Then"; +_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul4.png"; if (true) break; case 111: -//if -this.state = 143; -if ((parent.mostCurrent._rojo).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { +//C +this.state = 188; +; + //BA.debugLineNum = 164;BA.debugLine="MARK_AZUL = gmap.AddMarker3(LatitudRu,LongitudR"; +parent.mostCurrent._mark_azul = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),_esteazul2).getObject())); + //BA.debugLineNum = 165;BA.debugLine="MARK_AZUL.Snippet = \"R: \" & ruta & \" - \" & Tien"; +parent.mostCurrent._mark_azul.setSnippet("R: "+parent.mostCurrent._ruta+" - "+parent.mostCurrent._tienda); + //BA.debugLineNum = 166;BA.debugLine="rutaAnt = ruta"; +parent.mostCurrent._rutaant = parent.mostCurrent._ruta; + if (true) break; +if (true) break; + +case 112: +//C this.state = 113; -}else { -this.state = 129; -}if (true) break; +; + //BA.debugLineNum = 168;BA.debugLine="c .Close"; +parent._c.Close(); + //BA.debugLineNum = 169;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA"; +if (true) break; case 113: -//C -this.state = 114; - //BA.debugLineNum = 209;BA.debugLine="rutaAnt = \"\""; -parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 210;BA.debugLine="c3.IsInitialized"; -parent._c3.IsInitialized(); - //BA.debugLineNum = 211;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"))); - //BA.debugLineNum = 212;BA.debugLine="For i = 0 To c3.RowCount -1"; -if (true) break; - -case 114: -//for -this.state = 127; -step97 = 1; -limit97 = (int) (parent._c3.getRowCount()-1); -_i = (int) (0) ; -this.state = 151; -if (true) break; - -case 151: -//C -this.state = 127; -if ((step97 > 0 && _i <= limit97) || (step97 < 0 && _i >= limit97)) this.state = 116; -if (true) break; - -case 152: -//C -this.state = 151; -_i = ((int)(0 + _i + step97)) ; -if (true) break; - -case 116: -//C -this.state = 117; - //BA.debugLineNum = 213;BA.debugLine="c3.Position = i"; -parent._c3.setPosition(_i); - //BA.debugLineNum = 214;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; -parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); - //BA.debugLineNum = 215;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; -parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); - //BA.debugLineNum = 216;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; -parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 217;BA.debugLine="ruta = c3.GetString(\"CAT_CL_RUTA\")"; -parent.mostCurrent._ruta = parent._c3.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 218;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; -parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 219;BA.debugLine="If c3.GetString(\"SECUENCIA\") = \"null\" Then"; -if (true) break; - -case 117: //if -this.state = 122; -if ((parent._c3.GetString("SECUENCIA")).equals("null")) { +this.state = 118; +if (parent.mostCurrent._mark_azul.IsInitialized()) { +this.state = 115; +;}if (true) break; + +case 115: +//C +this.state = 118; +parent.mostCurrent._list_azul.Add((Object)(parent.mostCurrent._mark_azul.getObject())); +if (true) break; + +case 118: +//C this.state = 119; -}else { -this.state = 121; -}if (true) break; +; + if (true) break; +; + //BA.debugLineNum = 172;BA.debugLine="If verde = 1 Or todos = 1 Then"; case 119: -//C -this.state = 122; - //BA.debugLineNum = 220;BA.debugLine="NumSerie = 0"; -parent._numserie = (int) (0); - if (true) break; +//if +this.state = 152; +if ((parent.mostCurrent._verde).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { +this.state = 121; +}else { +this.state = 137; +}if (true) break; case 121: //C this.state = 122; - //BA.debugLineNum = 222;BA.debugLine="NumSerie = c3.GetString(\"SECUENCIA\")"; -parent._numserie = (int)(Double.parseDouble(parent._c3.GetString("SECUENCIA"))); - if (true) break; + //BA.debugLineNum = 173;BA.debugLine="rutaAnt = \"\""; +parent.mostCurrent._rutaant = ""; + //BA.debugLineNum = 174;BA.debugLine="c2.IsInitialized"; +parent._c2.IsInitialized(); + //BA.debugLineNum = 175;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"))); + //BA.debugLineNum = 176;BA.debugLine="For i = 0 To c2.RowCount -1"; +if (true) break; case 122: -//C -this.state = 123; -; - //BA.debugLineNum = 224;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s = (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 indice from waypoints where codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent.mostCurrent._codigo))+"'")))); - //BA.debugLineNum = 225;BA.debugLine="If s.RowCount > 0 Then"; +//for +this.state = 135; +step59 = 1; +limit59 = (int) (parent._c2.getRowCount()-1); +_i = (int) (0) ; +this.state = 189; if (true) break; -case 123: -//if -this.state = 126; -if (_s.getRowCount()>0) { +case 189: +//C +this.state = 135; +if ((step59 > 0 && _i <= limit59) || (step59 < 0 && _i >= limit59)) this.state = 124; +if (true) break; + +case 190: +//C +this.state = 189; +_i = ((int)(0 + _i + step59)) ; +if (true) break; + +case 124: +//C this.state = 125; -}if (true) break; + //BA.debugLineNum = 177;BA.debugLine="c2.Position = i"; +parent._c2.setPosition(_i); + //BA.debugLineNum = 178;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); + //BA.debugLineNum = 179;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); + //BA.debugLineNum = 180;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); + //BA.debugLineNum = 181;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); + //BA.debugLineNum = 182;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; +parent.mostCurrent._ruta = parent._c2.GetString("CAT_CL_RUTA"); + //BA.debugLineNum = 183;BA.debugLine="If c2.GetString(\"SECUENCIA\") = \"null\" Then"; +if (true) break; case 125: -//C -this.state = 126; - //BA.debugLineNum = 226;BA.debugLine="s.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 227;BA.debugLine="NumSerie = s.GetString(\"indice\")"; -parent._numserie = (int)(Double.parseDouble(_s.GetString("indice"))); - if (true) break; - -case 126: -//C -this.state = 152; -; - //BA.debugLineNum = 229;BA.debugLine="MARK_ROJO = gmap.AddMarker3(LatitudRu,LongitudR"; -parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),BA.NumberToString(parent._numserie)+"marker-rojo.png").getObject())); - //BA.debugLineNum = 230;BA.debugLine="MARK_ROJO.Snippet= \"R:\" & ruta & \", \" & Tienda"; -parent.mostCurrent._mark_rojo.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); - if (true) break; -if (true) break; +//if +this.state = 130; +if ((parent._c2.GetString("SECUENCIA")).equals("null")) { +this.state = 127; +}else { +this.state = 129; +}if (true) break; case 127: //C -this.state = 143; -; +this.state = 130; + //BA.debugLineNum = 184;BA.debugLine="NumSerie = 0"; +parent._numserie = (int) (0); if (true) break; case 129: //C this.state = 130; - //BA.debugLineNum = 233;BA.debugLine="If rojo = 1 Or todos = 1 Then"; -if (true) break; + //BA.debugLineNum = 186;BA.debugLine="NumSerie = c2.GetString(\"SECUENCIA\")"; +parent._numserie = (int)(Double.parseDouble(parent._c2.GetString("SECUENCIA"))); + if (true) break; case 130: +//C +this.state = 131; +; + //BA.debugLineNum = 188;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s = (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 indice from waypoints where codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent.mostCurrent._codigo))+"'")))); + //BA.debugLineNum = 189;BA.debugLine="If s.RowCount > 0 Then"; +if (true) break; + +case 131: //if -this.state = 142; -if ((parent.mostCurrent._rojo).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { -this.state = 132; +this.state = 134; +if (_s.getRowCount()>0) { +this.state = 133; }if (true) break; -case 132: -//C -this.state = 133; - //BA.debugLineNum = 234;BA.debugLine="rutaAnt = \"\""; -parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 235;BA.debugLine="c3.IsInitialized"; -parent._c3.IsInitialized(); - //BA.debugLineNum = 236;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"))); - //BA.debugLineNum = 237;BA.debugLine="For i = 0 To c3.RowCount -1"; -if (true) break; - case 133: -//for -this.state = 136; -step122 = 1; -limit122 = (int) (parent._c3.getRowCount()-1); -_i = (int) (0) ; -this.state = 153; -if (true) break; - -case 153: //C -this.state = 136; -if ((step122 > 0 && _i <= limit122) || (step122 < 0 && _i >= limit122)) this.state = 135; -if (true) break; +this.state = 134; + //BA.debugLineNum = 190;BA.debugLine="s.Position = 0"; +_s.setPosition((int) (0)); + //BA.debugLineNum = 191;BA.debugLine="NumSerie = s.GetString(\"indice\")"; +parent._numserie = (int)(Double.parseDouble(_s.GetString("indice"))); + if (true) break; -case 154: +case 134: //C -this.state = 153; -_i = ((int)(0 + _i + step122)) ; +this.state = 190; +; + //BA.debugLineNum = 193;BA.debugLine="MARK_VERDE = gmap.AddMarker3(LatitudRu,Longitud"; +parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),BA.NumberToString(parent._numserie)+"marker-verde.png").getObject())); + //BA.debugLineNum = 194;BA.debugLine="MARK_VERDE.Snippet = \"R:\" & ruta & \", \" & Tiend"; +parent.mostCurrent._mark_verde.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); + if (true) break; if (true) break; case 135: //C -this.state = 154; - //BA.debugLineNum = 238;BA.debugLine="c3.Position = i"; -parent._c3.setPosition(_i); - //BA.debugLineNum = 239;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; -parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); - //BA.debugLineNum = 240;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; -parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); - //BA.debugLineNum = 241;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; -parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 242;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; +this.state = 152; +; + if (true) break; + +case 137: +//C +this.state = 138; + //BA.debugLineNum = 197;BA.debugLine="If verde = 1 Or todos = 1 Then"; +if (true) break; + +case 138: +//if +this.state = 151; +if ((parent.mostCurrent._verde).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { +this.state = 140; +}if (true) break; + +case 140: +//C +this.state = 141; + //BA.debugLineNum = 198;BA.debugLine="rutaAnt = \"\""; +parent.mostCurrent._rutaant = ""; + //BA.debugLineNum = 199;BA.debugLine="c2.IsInitialized"; +parent._c2.IsInitialized(); + //BA.debugLineNum = 200;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"))); + //BA.debugLineNum = 201;BA.debugLine="For i = 0 To c2.RowCount -1"; +if (true) break; + +case 141: +//for +this.state = 144; +step84 = 1; +limit84 = (int) (parent._c2.getRowCount()-1); +_i = (int) (0) ; +this.state = 191; +if (true) break; + +case 191: +//C +this.state = 144; +if ((step84 > 0 && _i <= limit84) || (step84 < 0 && _i >= limit84)) this.state = 143; +if (true) break; + +case 192: +//C +this.state = 191; +_i = ((int)(0 + _i + step84)) ; +if (true) break; + +case 143: +//C +this.state = 192; + //BA.debugLineNum = 202;BA.debugLine="c2.Position = i"; +parent._c2.setPosition(_i); + //BA.debugLineNum = 203;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); + //BA.debugLineNum = 204;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); + //BA.debugLineNum = 205;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); + //BA.debugLineNum = 206;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); + //BA.debugLineNum = 207;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; parent.mostCurrent._ruta = parent._c2.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 243;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; + //BA.debugLineNum = 208;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu,Longitu"; +parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_GREEN); + //BA.debugLineNum = 209;BA.debugLine="MARK_VERDE.Snippet = \"R:\" & ruta & \", \" & Tien"; +parent.mostCurrent._mark_verde.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 144: +//C +this.state = 145; +; + //BA.debugLineNum = 211;BA.debugLine="c2 .Close"; +parent._c2.Close(); + //BA.debugLineNum = 212;BA.debugLine="If MARK_VERDE.IsInitialized Then LIST_VERDE.Add"; +if (true) break; + +case 145: +//if +this.state = 150; +if (parent.mostCurrent._mark_verde.IsInitialized()) { +this.state = 147; +;}if (true) break; + +case 147: +//C +this.state = 150; +parent.mostCurrent._list_verde.Add((Object)(parent.mostCurrent._mark_verde.getObject())); +if (true) break; + +case 150: +//C +this.state = 151; +; + if (true) break; + +case 151: +//C +this.state = 152; +; + if (true) break; + +case 152: +//C +this.state = 153; +; + //BA.debugLineNum = 216;BA.debugLine="Private esteRojo As Int = 0"; +_esterojo = (int) (0); + //BA.debugLineNum = 217;BA.debugLine="Private esteRojo2 As String"; +_esterojo2 = ""; + //BA.debugLineNum = 218;BA.debugLine="If rojo = 1 Or todos = 1 Then"; +if (true) break; + +case 153: +//if +this.state = 185; +if ((parent.mostCurrent._rojo).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { +this.state = 155; +}else { +this.state = 171; +}if (true) break; + +case 155: +//C +this.state = 156; + //BA.debugLineNum = 219;BA.debugLine="rutaAnt = \"\""; +parent.mostCurrent._rutaant = ""; + //BA.debugLineNum = 220;BA.debugLine="c3.IsInitialized"; +parent._c3.IsInitialized(); + //BA.debugLineNum = 221;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"))); + //BA.debugLineNum = 222;BA.debugLine="For i = 0 To c3.RowCount -1"; +if (true) break; + +case 156: +//for +this.state = 169; +step104 = 1; +limit104 = (int) (parent._c3.getRowCount()-1); +_i = (int) (0) ; +this.state = 193; +if (true) break; + +case 193: +//C +this.state = 169; +if ((step104 > 0 && _i <= limit104) || (step104 < 0 && _i >= limit104)) this.state = 158; +if (true) break; + +case 194: +//C +this.state = 193; +_i = ((int)(0 + _i + step104)) ; +if (true) break; + +case 158: +//C +this.state = 159; + //BA.debugLineNum = 223;BA.debugLine="c3.Position = i"; +parent._c3.setPosition(_i); + //BA.debugLineNum = 224;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); + //BA.debugLineNum = 225;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); + //BA.debugLineNum = 226;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); + //BA.debugLineNum = 227;BA.debugLine="ruta = c3.GetString(\"CAT_CL_RUTA\")"; +parent.mostCurrent._ruta = parent._c3.GetString("CAT_CL_RUTA"); + //BA.debugLineNum = 228;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 244;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu,Longitud"; + //BA.debugLineNum = 229;BA.debugLine="If c3.GetString(\"SECUENCIA\") = \"null\" Then"; +if (true) break; + +case 159: +//if +this.state = 164; +if ((parent._c3.GetString("SECUENCIA")).equals("null")) { +this.state = 161; +}else { +this.state = 163; +}if (true) break; + +case 161: +//C +this.state = 164; + //BA.debugLineNum = 230;BA.debugLine="NumSerie = 0"; +parent._numserie = (int) (0); + if (true) break; + +case 163: +//C +this.state = 164; + //BA.debugLineNum = 232;BA.debugLine="NumSerie = c3.GetString(\"SECUENCIA\")"; +parent._numserie = (int)(Double.parseDouble(parent._c3.GetString("SECUENCIA"))); + if (true) break; + +case 164: +//C +this.state = 165; +; + //BA.debugLineNum = 234;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_s = (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 indice from waypoints where codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent.mostCurrent._codigo))+"'")))); + //BA.debugLineNum = 235;BA.debugLine="If s.RowCount > 0 Then"; +if (true) break; + +case 165: +//if +this.state = 168; +if (_s.getRowCount()>0) { +this.state = 167; +}if (true) break; + +case 167: +//C +this.state = 168; + //BA.debugLineNum = 236;BA.debugLine="s.Position = 0"; +_s.setPosition((int) (0)); + //BA.debugLineNum = 237;BA.debugLine="NumSerie = s.GetString(\"indice\")"; +parent._numserie = (int)(Double.parseDouble(_s.GetString("indice"))); + if (true) break; + +case 168: +//C +this.state = 194; +; + //BA.debugLineNum = 239;BA.debugLine="MARK_ROJO = gmap.AddMarker3(LatitudRu,LongitudR"; +parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),BA.NumberToString(parent._numserie)+"marker-rojo.png").getObject())); + //BA.debugLineNum = 240;BA.debugLine="MARK_ROJO.Snippet= \"R:\" & ruta & \", \" & Tienda"; +parent.mostCurrent._mark_rojo.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 169: +//C +this.state = 185; +; + if (true) break; + +case 171: +//C +this.state = 172; + //BA.debugLineNum = 243;BA.debugLine="If rojo = 1 Or todos = 1 Then"; +if (true) break; + +case 172: +//if +this.state = 184; +if ((parent.mostCurrent._rojo).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { +this.state = 174; +}if (true) break; + +case 174: +//C +this.state = 175; + //BA.debugLineNum = 244;BA.debugLine="rutaAnt = \"\""; +parent.mostCurrent._rutaant = ""; + //BA.debugLineNum = 245;BA.debugLine="c3.IsInitialized"; +parent._c3.IsInitialized(); + //BA.debugLineNum = 246;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"))); + //BA.debugLineNum = 247;BA.debugLine="For i = 0 To c3.RowCount -1"; +if (true) break; + +case 175: +//for +this.state = 178; +step129 = 1; +limit129 = (int) (parent._c3.getRowCount()-1); +_i = (int) (0) ; +this.state = 195; +if (true) break; + +case 195: +//C +this.state = 178; +if ((step129 > 0 && _i <= limit129) || (step129 < 0 && _i >= limit129)) this.state = 177; +if (true) break; + +case 196: +//C +this.state = 195; +_i = ((int)(0 + _i + step129)) ; +if (true) break; + +case 177: +//C +this.state = 196; + //BA.debugLineNum = 248;BA.debugLine="c3.Position = i"; +parent._c3.setPosition(_i); + //BA.debugLineNum = 249;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); + //BA.debugLineNum = 250;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); + //BA.debugLineNum = 251;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); + //BA.debugLineNum = 252;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; +parent.mostCurrent._ruta = parent._c2.GetString("CAT_CL_RUTA"); + //BA.debugLineNum = 253;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; +parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); + //BA.debugLineNum = 254;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu,Longitud"; parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_RED); - //BA.debugLineNum = 245;BA.debugLine="MARK_ROJO.Snippet= \"R:\" & ruta & \", \" & Tienda"; + //BA.debugLineNum = 255;BA.debugLine="MARK_ROJO.Snippet= \"R:\" & ruta & \", \" & Tienda"; parent.mostCurrent._mark_rojo.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); if (true) break; if (true) break; ; - //BA.debugLineNum = 247;BA.debugLine="If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(M"; + //BA.debugLineNum = 257;BA.debugLine="If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(M"; -case 136: +case 178: //if -this.state = 141; +this.state = 183; if (parent.mostCurrent._mark_rojo.IsInitialized()) { -this.state = 138; +this.state = 180; ;}if (true) break; -case 138: +case 180: //C -this.state = 141; +this.state = 183; parent.mostCurrent._list_rojo.Add((Object)(parent.mostCurrent._mark_rojo.getObject())); if (true) break; -case 141: +case 183: //C -this.state = 142; +this.state = 184; ; - //BA.debugLineNum = 248;BA.debugLine="c3.Close"; + //BA.debugLineNum = 258;BA.debugLine="c3.Close"; parent._c3.Close(); if (true) break; -case 142: +case 184: //C -this.state = 143; +this.state = 185; ; if (true) break; -case 143: +case 185: //C this.state = -1; ; - //BA.debugLineNum = 256;BA.debugLine="Dim aa As CameraPosition"; + //BA.debugLineNum = 266;BA.debugLine="Dim aa As CameraPosition"; _aa = new anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper(); - //BA.debugLineNum = 257;BA.debugLine="aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMEN"; + //BA.debugLineNum = 267;BA.debugLine="aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMEN"; _aa.Initialize(parent._latitudru,parent._longitudru,(float) (15)); - //BA.debugLineNum = 258;BA.debugLine="gmap.AnimateCamera(aa)"; + //BA.debugLineNum = 268;BA.debugLine="gmap.AnimateCamera(aa)"; parent.mostCurrent._gmap.AnimateCamera((com.google.android.gms.maps.model.CameraPosition)(_aa.getObject())); - //BA.debugLineNum = 261;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; + //BA.debugLineNum = 271;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; parent.mostCurrent._oninfowindowclicklistener1 = new uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener(); - //BA.debugLineNum = 262;BA.debugLine="OnInfoWindowClickListener1.Initialize(\"OnInfoWind"; + //BA.debugLineNum = 272;BA.debugLine="OnInfoWindowClickListener1.Initialize(\"OnInfoWind"; parent.mostCurrent._oninfowindowclicklistener1.Initialize(mostCurrent.activityBA,"OnInfoWindowClickListener1"); - //BA.debugLineNum = 263;BA.debugLine="GoogleMapEXTRA.SetOnInfoWindowClickListener(gmap,"; + //BA.debugLineNum = 273;BA.debugLine="GoogleMapEXTRA.SetOnInfoWindowClickListener(gmap,"; parent.mostCurrent._googlemapextra.SetOnInfoWindowClickListener((com.google.android.gms.maps.GoogleMap)(parent.mostCurrent._gmap.getObject()),(com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener)(parent.mostCurrent._oninfowindowclicklistener1.getObject())); - //BA.debugLineNum = 264;BA.debugLine="End Sub"; + //BA.debugLineNum = 274;BA.debugLine="End Sub"; if (true) break; } @@ -1492,16 +1632,16 @@ if (true) break; public static void _activity_permissionresult(String _permission,boolean _result) throws Exception{ } public static String _oninfowindowclicklistener1_click(anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _marker1) throws Exception{ - //BA.debugLineNum = 267;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma"; - //BA.debugLineNum = 268;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; + //BA.debugLineNum = 277;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma"; + //BA.debugLineNum = 278;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 269;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; + //BA.debugLineNum = 279;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_marker1.getTitle())})); - //BA.debugLineNum = 270;BA.debugLine="Activity.Finish"; + //BA.debugLineNum = 280;BA.debugLine="Activity.Finish"; mostCurrent._activity.Finish(); - //BA.debugLineNum = 271;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; + //BA.debugLineNum = 281;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); - //BA.debugLineNum = 272;BA.debugLine="End Sub"; + //BA.debugLineNum = 282;BA.debugLine="End Sub"; return ""; } public static String _process_globals() throws Exception{ diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/newinst2.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/newinst2.java index 74bd643..35f41ea 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/newinst2.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/newinst2.java @@ -107,7 +107,15 @@ public class newinst2 extends android.app.Service{ } } } - + + public void onTimeout(int startId) { + BA.LogInfo("** Service (newinst2) Timeout **"); + anywheresoftware.b4a.objects.collections.Map params = new anywheresoftware.b4a.objects.collections.Map(); + params.Initialize(); + params.Put("StartId", startId); + processBA.raiseEvent(null, "service_timeout", params); + + } @Override public void onDestroy() { super.onDestroy(); @@ -134,12 +142,12 @@ public static int _logcolor1 = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; @@ -158,7 +166,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("813041665","-- AppUpdating.NewInst2: processing MyAppReload",0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("07536641","-- 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 +189,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("812779521","---- AppUpdating.newinst2: service created",_logcolor1); +anywheresoftware.b4a.keywords.Common.LogImpl("07274497","---- AppUpdating.newinst2: service created",_logcolor1); //BA.debugLineNum = 15;BA.debugLine="pkg = \"\""; _pkg = ""; //BA.debugLineNum = 16;BA.debugLine="svcVerbose = False"; @@ -197,28 +205,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("812845057","---- AppUpdating.newinst2: service_started",_logcolor1); +anywheresoftware.b4a.keywords.Common.LogImpl("07340033","---- 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("812845059",(""+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("07340035",(""+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("812845060",(""+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("07340036",(""+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("812845061",(""+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("07340037",(""+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("812845062",(""+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("07340038",(""+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("812845065",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("07340041",(""+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("812845067",(""+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("07340043",(""+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_mazapa/keymon/lat/roundslider.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/roundslider.java index 335872e..8096081 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/roundslider.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/roundslider.java @@ -48,12 +48,12 @@ public boolean _mrollover = false; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/scrollinglabel.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/scrollinglabel.java index a3b7bc4..eb0c125 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/scrollinglabel.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/scrollinglabel.java @@ -39,12 +39,12 @@ public int _mtextcolor = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/starter.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/starter.java index b817f11..038a92e 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/starter.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/starter.java @@ -107,7 +107,15 @@ public class starter extends android.app.Service{ } } } - + + public void onTimeout(int startId) { + BA.LogInfo("** Service (starter) Timeout **"); + anywheresoftware.b4a.objects.collections.Map params = new anywheresoftware.b4a.objects.collections.Map(); + params.Initialize(); + params.Put("StartId", startId); + processBA.raiseEvent(null, "service_timeout", params); + + } @Override public void onDestroy() { super.onDestroy(); @@ -151,11 +159,11 @@ public static anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -174,7 +182,7 @@ reparto_mazapa.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("865994754","Con internet, enviamos UTR!",0); +anywheresoftware.b4a.keywords.Common.LogImpl("045416450","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 +197,7 @@ _skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); _skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); //BA.debugLineNum = 106;BA.debugLine="If B4XPages.MainPage.logger Then LogColor(\"Inici"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("865994763","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Red);}; +anywheresoftware.b4a.keywords.Common.LogImpl("045416459","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Red);}; //BA.debugLineNum = 107;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); //BA.debugLineNum = 108;BA.debugLine="B4XPages.MainPage.ultimaActualizacionGPS = DateT"; @@ -210,7 +218,7 @@ _cmd.Name /*String*/ = "UPDATE_MAZAPA_ACTUALR3_GPS"; _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ),(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ )}; //BA.debugLineNum = 117;BA.debugLine="If B4XPages.MainPage.logger Then Log($\"montoActu"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("865994774",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+", montoRechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+", montoEntregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+", porVisitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+", entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+", rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+", Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("045416470",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+", montoRechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+", montoEntregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+", porVisitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+", entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+", rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+", Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);}; //BA.debugLineNum = 119;BA.debugLine="reqManager.ExecuteCommand(cmd, \"inst_visitas\")"; _reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_visitas")); //BA.debugLineNum = 120;BA.debugLine="skmt.ExecNonQuery2(\"Update cat_variables set CAT"; @@ -223,7 +231,7 @@ _timer1.setInterval((long) (_interval*1000)); _timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True); }else { //BA.debugLineNum = 127;BA.debugLine="Log(\"Sin conexión a internet, no se envió UTR!\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("865994784","Sin conexión a internet, no se envió UTR!",0); +anywheresoftware.b4a.keywords.Common.LogImpl("045416480","Sin conexión a internet, no se envió UTR!",0); }; //BA.debugLineNum = 129;BA.debugLine="End Sub"; return ""; @@ -316,7 +324,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("865601542",_ruta,0); +anywheresoftware.b4a.keywords.Common.LogImpl("045023238",_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_mazapa/keymon/lat/subs.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/subs.java index cc0a31a..9a32578 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/subs.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/subs.java @@ -23,11 +23,11 @@ public static int _rutahrsatras = 0; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -47,7 +47,7 @@ if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { //BA.debugLineNum = 929;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 = 930;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -anywheresoftware.b4a.keywords.Common.LogImpl("870123526",("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("049545222",("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("870123526",("Columna \""+anywheres try { //BA.debugLineNum = 934;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 = 935;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -anywheresoftware.b4a.keywords.Common.LogImpl("870123531",("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("049545227",("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 = 937;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("870123533",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +anywheresoftware.b4a.keywords.Common.LogImpl("049545229",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); }; }; //BA.debugLineNum = 940;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 = 416;BA.debugLine="LogColor(\"Recortamos la tabla de Errores, limite"; -anywheresoftware.b4a.keywords.Common.LogImpl("868026370","Recortamos la tabla de Errores, limite de 100",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +anywheresoftware.b4a.keywords.Common.LogImpl("047448066","Recortamos la tabla de Errores, limite de 100",anywheresoftware.b4a.keywords.Common.Colors.Magenta); //BA.debugLineNum = 417;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 = 418;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; @@ -85,7 +85,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; //BA.debugLineNum = 424;BA.debugLine="revisaBD"; _revisabd(_ba); //BA.debugLineNum = 425;BA.debugLine="LogColor(\"Recortamos la tabla de la Bitacora, lim"; -anywheresoftware.b4a.keywords.Common.LogImpl("868091906","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +anywheresoftware.b4a.keywords.Common.LogImpl("047513602","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta); //BA.debugLineNum = 426;BA.debugLine="Private c As Cursor"; _c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); //BA.debugLineNum = 427;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 = 302;BA.debugLine="Sub borraLogDB 'ignore"; //BA.debugLineNum = 303;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; -anywheresoftware.b4a.keywords.Common.LogImpl("867698689","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +anywheresoftware.b4a.keywords.Common.LogImpl("047120385","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); //BA.debugLineNum = 304;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; _kmt.ExecNonQuery("delete from bitacora"); //BA.debugLineNum = 305;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("866322438",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("045744134",("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 = 534;BA.debugLine="Log(\"rootExternal=\"&p)"; -anywheresoftware.b4a.keywords.Common.LogImpl("868419607","rootExternal="+_p,0); +anywheresoftware.b4a.keywords.Common.LogImpl("047841303","rootExternal="+_p,0); //BA.debugLineNum = 535;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; -anywheresoftware.b4a.keywords.Common.LogImpl("868419608","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); +anywheresoftware.b4a.keywords.Common.LogImpl("047841304","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); //BA.debugLineNum = 536;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; -anywheresoftware.b4a.keywords.Common.LogImpl("868419609","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); +anywheresoftware.b4a.keywords.Common.LogImpl("047841305","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); }else { //BA.debugLineNum = 538;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),anywheresoftware.b4a.keywords.Common.False); @@ -238,7 +238,7 @@ anywheresoftware.b4a.objects.collections.Map _m = null; anywheresoftware.b4a.objects.collections.Map _m2 = null; //BA.debugLineNum = 448;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,"; //BA.debugLineNum = 449;BA.debugLine="Log(\"dameErroresJSON\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("868222977","dameErroresJSON",0); +anywheresoftware.b4a.keywords.Common.LogImpl("047644673","dameErroresJSON",0); //BA.debugLineNum = 450;BA.debugLine="Private j As JSONGenerator"; _j = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); //BA.debugLineNum = 451;BA.debugLine="Private lim As String"; @@ -282,7 +282,7 @@ _cur.Close(); //BA.debugLineNum = 468;BA.debugLine="j.Initialize(m2)"; _j.Initialize(_m2); //BA.debugLineNum = 469;BA.debugLine="Log(j.ToString)"; -anywheresoftware.b4a.keywords.Common.LogImpl("868222997",_j.ToString(),0); +anywheresoftware.b4a.keywords.Common.LogImpl("047644693",_j.ToString(),0); //BA.debugLineNum = 470;BA.debugLine="If comprimido Then"; if (_comprimido) { //BA.debugLineNum = 471;BA.debugLine="Return compress(j.ToString)"; @@ -314,7 +314,7 @@ _fechainicio = _fechainiciohoy(_ba); }; //BA.debugLineNum = 153;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"fechaInicio"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("866846731","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("046268427","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("; @@ -322,7 +322,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_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("866846734","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("046268430","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"; @@ -390,7 +390,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("866387973",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("045809669",("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"; @@ -432,7 +432,7 @@ _h = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.key //BA.debugLineNum = 265;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); //BA.debugLineNum = 266;BA.debugLine="Log(\"Hoy=\"&h)"; -anywheresoftware.b4a.keywords.Common.LogImpl("867436549","Hoy="+_h,0); +anywheresoftware.b4a.keywords.Common.LogImpl("046858245","Hoy="+_h,0); //BA.debugLineNum = 267;BA.debugLine="Return h"; if (true) return _h; //BA.debugLineNum = 268;BA.debugLine="End Sub"; @@ -482,16 +482,16 @@ anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); if (true) return _ticks; }else { //BA.debugLineNum = 491;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; -anywheresoftware.b4a.keywords.Common.LogImpl("868288525","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0); +anywheresoftware.b4a.keywords.Common.LogImpl("047710221","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0); //BA.debugLineNum = 492;BA.debugLine="Return 0"; if (true) return (long) (0); }; } catch (Exception e16) { (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16); //BA.debugLineNum = 495;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("868288529",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +anywheresoftware.b4a.keywords.Common.LogImpl("047710225",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); //BA.debugLineNum = 496;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; -anywheresoftware.b4a.keywords.Common.LogImpl("868288530",("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("047710226",("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 = 497;BA.debugLine="Return 0"; if (true) return (long) (0); }; @@ -568,7 +568,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_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("866781185","Guardamos ubicacion en BD - "+_coords,0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("046202881","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); @@ -583,7 +583,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("866781193",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +anywheresoftware.b4a.keywords.Common.LogImpl("046202889",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); }; //BA.debugLineNum = 139;BA.debugLine="End Sub"; return ""; @@ -622,7 +622,7 @@ int _x = 0; if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { _revisabd(_ba);}; //BA.debugLineNum = 440;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("868157442","insertamos 50 renglones a errorLog",0); +anywheresoftware.b4a.keywords.Common.LogImpl("047579138","insertamos 50 renglones a errorLog",0); //BA.debugLineNum = 441;BA.debugLine="For x = 1 To 50"; { final int step3 = 1; @@ -632,7 +632,7 @@ for (;_x <= limit3 ;_x = _x + step3 ) { //BA.debugLineNum = 442;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 = 443;BA.debugLine="Log(x)"; -anywheresoftware.b4a.keywords.Common.LogImpl("868157445",BA.NumberToString(_x),0); +anywheresoftware.b4a.keywords.Common.LogImpl("047579141",BA.NumberToString(_x),0); } }; //BA.debugLineNum = 445;BA.debugLine="End Sub"; @@ -669,7 +669,7 @@ if (true) return _json.NextObject(); } catch (Exception e6) { (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 224;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("867239943",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +anywheresoftware.b4a.keywords.Common.LogImpl("046661639",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); //BA.debugLineNum = 225;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)"; _log2db(_ba,"JSON2Map: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))); //BA.debugLineNum = 226;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene"; @@ -684,7 +684,7 @@ return null; public static String _log2db(anywheresoftware.b4a.BA _ba,String _texto) throws Exception{ //BA.debugLineNum = 271;BA.debugLine="Sub log2DB(texto As String) 'ignore"; //BA.debugLineNum = 272;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; -anywheresoftware.b4a.keywords.Common.LogImpl("867502081",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +anywheresoftware.b4a.keywords.Common.LogImpl("046923777",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.Magenta); //BA.debugLineNum = 273;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)}));}; @@ -738,7 +738,7 @@ if (true) return anywheresoftware.b4a.keywords.Common.False; } catch (Exception e8) { (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8); //BA.debugLineNum = 297;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("867633163",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +anywheresoftware.b4a.keywords.Common.LogImpl("047054859",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); }; //BA.debugLineNum = 299;BA.debugLine="End Sub"; return false; @@ -764,7 +764,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("866584583","notiHigh: "+_title,0); +anywheresoftware.b4a.keywords.Common.LogImpl("046006279","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)"; @@ -780,7 +780,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("866650115","notiLowReturn: "+_title,0); +anywheresoftware.b4a.keywords.Common.LogImpl("046071811","notiLowReturn: "+_title,0); //BA.debugLineNum = 102;BA.debugLine="notification.Icon = \"icon\""; _notification.setIcon("icon"); //BA.debugLineNum = 103;BA.debugLine="notification.Sound = False"; @@ -837,7 +837,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _chv = null; String _precio = ""; //BA.debugLineNum = 782;BA.debugLine="Sub prodRechazo(clienteOriginal As String, prodId"; //BA.debugLineNum = 783;BA.debugLine="Log(\"RECHAZO DEVOLUCION\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("869730305","RECHAZO DEVOLUCION",0); +anywheresoftware.b4a.keywords.Common.LogImpl("049152001","RECHAZO DEVOLUCION",0); //BA.debugLineNum = 784;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)")))); @@ -846,7 +846,7 @@ _rr.setPosition((int) (0)); //BA.debugLineNum = 786;BA.debugLine="If rr.GetString(\"hayRechazo\") = 0 Then"; if ((_rr.GetString("hayRechazo")).equals(BA.NumberToString(0))) { //BA.debugLineNum = 787;BA.debugLine="Log(\"INSERTAMOS EN REPARTO\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("869730309","INSERTAMOS EN REPARTO",0); +anywheresoftware.b4a.keywords.Common.LogImpl("049152005","INSERTAMOS EN REPARTO",0); //BA.debugLineNum = 789;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))+"'")))); @@ -865,7 +865,7 @@ mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("upda }; }else { //BA.debugLineNum = 800;BA.debugLine="Log($\"ACTUALIZAMOS REPARTO\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("869730322",("ACTUALIZAMOS REPARTO"),0); +anywheresoftware.b4a.keywords.Common.LogImpl("049152018",("ACTUALIZAMOS REPARTO"),0); //BA.debugLineNum = 801;BA.debugLine="Private precio As String = traePrecio(prodId, tr"; _precio = _traeprecio(_ba,_prodid,_traealmacen(_ba)); //BA.debugLineNum = 802;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update HIST_VENTAS s"; @@ -890,9 +890,9 @@ mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("upda //BA.debugLineNum = 755;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 = 756;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT - 1"; -anywheresoftware.b4a.keywords.Common.LogImpl("869664773",("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("049086469",("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 = 757;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT + 1"; -anywheresoftware.b4a.keywords.Common.LogImpl("869664774",("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("049086470",("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 = 758;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 = 779;BA.debugLine="End Sub"; @@ -924,7 +924,7 @@ public static String _revisaflp(anywheresoftware.b4a.BA _ba) throws Exception{ boolean _todobienflp = false; //BA.debugLineNum = 345;BA.debugLine="Sub revisaFLP 'ignore"; //BA.debugLineNum = 346;BA.debugLine="LogColor($\"**** **** Revisamos FLP - ${fechaKMT(D"; -anywheresoftware.b4a.keywords.Common.LogImpl("867895297",("**** **** 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("047316993",("**** **** 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 = 347;BA.debugLine="Private todoBienFLP As Boolean = True"; _todobienflp = anywheresoftware.b4a.keywords.Common.True; //BA.debugLineNum = 348;BA.debugLine="If Not(Tracker.FLP.IsInitialized) Then"; @@ -959,7 +959,7 @@ _todobienflp = anywheresoftware.b4a.keywords.Common.False; }; //BA.debugLineNum = 368;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin errore"; if (_todobienflp) { -anywheresoftware.b4a.keywords.Common.LogImpl("867895319"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; +anywheresoftware.b4a.keywords.Common.LogImpl("047317015"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; //BA.debugLineNum = 370;BA.debugLine="End Sub"; return ""; } @@ -979,14 +979,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 = 335;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"****"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("867829764",("**** 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("047251460",("**** 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 = 336;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 = 337;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 = 338;BA.debugLine="If B4XPages.MainPage.Logger Then Log(\"++++ Dist"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("867829767","++++ 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("047251463","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);}; }; //BA.debugLineNum = 340;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoca"; mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ = mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation(); @@ -1051,7 +1051,7 @@ _cr.setPosition((int) (0)); _cant = (int)(Double.parseDouble(_cr.GetString("REP_CANT"))); }; //BA.debugLineNum = 722;BA.debugLine="Log($\"${cliente}, ${prodId}, rowcont:${cr.RowCoun"; -anywheresoftware.b4a.keywords.Common.LogImpl("869468167",(""+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("048889863",(""+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 = 723;BA.debugLine="Return cant"; if (true) return _cant; //BA.debugLineNum = 724;BA.debugLine="End Sub"; @@ -1131,7 +1131,7 @@ _monto = (float) (_monto+((double)(Double.parseDouble(_ccym.GetString("REP_CANT" } }; //BA.debugLineNum = 863;BA.debugLine="Log($\"CANT=${cant}, MONTO=${monto}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("869861400",("CANT="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", MONTO="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0); +anywheresoftware.b4a.keywords.Common.LogImpl("049283096",("CANT="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", MONTO="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0); }; //BA.debugLineNum = 866;BA.debugLine="ccym.Close"; _ccym.Close(); @@ -1245,7 +1245,7 @@ _fecha2 = anywheresoftware.b4a.keywords.Common.Regex.Split("-",_fecha[(int) (0)] //BA.debugLineNum = 988;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\""; _fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)]; //BA.debugLineNum = 989;BA.debugLine="Log(fecha3)"; -anywheresoftware.b4a.keywords.Common.LogImpl("870385675",_fecha3,0); +anywheresoftware.b4a.keywords.Common.LogImpl("049807371",_fecha3,0); //BA.debugLineNum = 990;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; _hora = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",_fecha[(int) (1)]); //BA.debugLineNum = 991;BA.debugLine="a = fecha3 & \" \" & hora(0)"; @@ -1264,7 +1264,7 @@ _fecha2 = anywheresoftware.b4a.keywords.Common.Regex.Split("-",_fecha[(int) (0)] //BA.debugLineNum = 998;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\""; _fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)]; //BA.debugLineNum = 999;BA.debugLine="Log(fecha3)"; -anywheresoftware.b4a.keywords.Common.LogImpl("870385685",_fecha3,0); +anywheresoftware.b4a.keywords.Common.LogImpl("049807381",_fecha3,0); //BA.debugLineNum = 1000;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; _hora = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",_fecha[(int) (1)]); //BA.debugLineNum = 1001;BA.debugLine="a = fecha3 & \" \" & hora(0)"; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/swiftbutton.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/swiftbutton.java index 062bec9..2718e16 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/swiftbutton.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/swiftbutton.java @@ -42,12 +42,12 @@ public boolean _mhaptic = false; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/tracker.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/tracker.java index 24756b0..50e0d51 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/tracker.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/tracker.java @@ -107,7 +107,15 @@ public class tracker extends android.app.Service{ } } } - + + public void onTimeout(int startId) { + BA.LogInfo("** Service (tracker) Timeout **"); + anywheresoftware.b4a.objects.collections.Map params = new anywheresoftware.b4a.objects.collections.Map(); + params.Initialize(); + params.Put("StartId", startId); + processBA.raiseEvent(null, "service_timeout", params); + + } @Override public void onDestroy() { super.onDestroy(); @@ -141,11 +149,11 @@ public static String _pushserviceactividad = ""; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; @@ -153,109 +161,133 @@ public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequest() throws Exception{ 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"; + //BA.debugLineNum = 145;BA.debugLine="Private Sub CreateLocationRequest As LocationReque"; + //BA.debugLineNum = 146;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"CreateLocat"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("871106561","CreateLocationRequest",0);}; - //BA.debugLineNum = 121;BA.debugLine="Dim lr As LocationRequest"; +anywheresoftware.b4a.keywords.Common.LogImpl("044433409","CreateLocationRequest",0);}; + //BA.debugLineNum = 147;BA.debugLine="Dim lr As LocationRequest"; _lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 122;BA.debugLine="lr.Initialize"; + //BA.debugLineNum = 148;BA.debugLine="lr.Initialize"; _lr.Initialize(); - //BA.debugLineNum = 123;BA.debugLine="lr.SetInterval(10000) 'Intervalo deseado para act"; + //BA.debugLineNum = 149;BA.debugLine="lr.SetInterval(10000) 'Intervalo deseado para act"; _lr.SetInterval((long) (10000)); - //BA.debugLineNum = 124;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; + //BA.debugLineNum = 150;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"; + //BA.debugLineNum = 151;BA.debugLine="lr.SetSmallestDisplacement(75) 'Solo registra cam"; _lr.SetSmallestDisplacement((float) (75)); - //BA.debugLineNum = 126;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; + //BA.debugLineNum = 152;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; _lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); - //BA.debugLineNum = 127;BA.debugLine="actualLR=lr"; + //BA.debugLineNum = 153;BA.debugLine="actualLR=lr"; _actuallr = _lr; - //BA.debugLineNum = 128;BA.debugLine="Return lr"; + //BA.debugLineNum = 154;BA.debugLine="Return lr"; if (true) return _lr; - //BA.debugLineNum = 129;BA.debugLine="End Sub"; + //BA.debugLineNum = 155;BA.debugLine="End Sub"; return null; } public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequest2times() throws Exception{ 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"; + //BA.debugLineNum = 157;BA.debugLine="Private Sub CreateLocationRequest2times As Locatio"; + //BA.debugLineNum = 158;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Iniciamos C"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("871172097","Iniciamos CreateLocationRequest2times",0);}; - //BA.debugLineNum = 133;BA.debugLine="Dim lr As LocationRequest"; +anywheresoftware.b4a.keywords.Common.LogImpl("044498945","Iniciamos CreateLocationRequest2times",0);}; + //BA.debugLineNum = 159;BA.debugLine="Dim lr As LocationRequest"; _lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 134;BA.debugLine="lr.Initialize"; + //BA.debugLineNum = 160;BA.debugLine="lr.Initialize"; _lr.Initialize(); - //BA.debugLineNum = 135;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; + //BA.debugLineNum = 161;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; _lr.SetInterval((long) (2000)); - //BA.debugLineNum = 136;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; + //BA.debugLineNum = 162;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; _lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); - //BA.debugLineNum = 137;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo 2 actualiza"; + //BA.debugLineNum = 163;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo 2 actualiza"; _lr.SetNumUpdates((int) (2)); - //BA.debugLineNum = 138;BA.debugLine="lr.SetSmallestDisplacement(10) 'Solo registra cam"; + //BA.debugLineNum = 164;BA.debugLine="lr.SetSmallestDisplacement(10) 'Solo registra cam"; _lr.SetSmallestDisplacement((float) (10)); - //BA.debugLineNum = 139;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; + //BA.debugLineNum = 165;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; _lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); - //BA.debugLineNum = 140;BA.debugLine="actualLR=lr"; + //BA.debugLineNum = 166;BA.debugLine="actualLR=lr"; _actuallr = _lr; - //BA.debugLineNum = 141;BA.debugLine="Return lr"; + //BA.debugLineNum = 167;BA.debugLine="Return lr"; if (true) return _lr; - //BA.debugLineNum = 142;BA.debugLine="End Sub"; + //BA.debugLineNum = 168;BA.debugLine="End Sub"; +return null; +} +public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequestsmalld() throws Exception{ +uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; + //BA.debugLineNum = 54;BA.debugLine="Private Sub CreateLocationRequestSmallD As Locatio"; + //BA.debugLineNum = 56;BA.debugLine="Dim lr As LocationRequest"; +_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); + //BA.debugLineNum = 57;BA.debugLine="lr.Initialize"; +_lr.Initialize(); + //BA.debugLineNum = 58;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; +_lr.SetInterval((long) (2000)); + //BA.debugLineNum = 59;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +_lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); + //BA.debugLineNum = 60;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo 2 actualiza"; +_lr.SetNumUpdates((int) (2)); + //BA.debugLineNum = 61;BA.debugLine="lr.SetSmallestDisplacement(1) 'Solo registra camb"; +_lr.SetSmallestDisplacement((float) (1)); + //BA.debugLineNum = 62;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +_lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); + //BA.debugLineNum = 63;BA.debugLine="actualLR=lr"; +_actuallr = _lr; + //BA.debugLineNum = 64;BA.debugLine="Return lr"; +if (true) return _lr; + //BA.debugLineNum = 65;BA.debugLine="End Sub"; return null; } public static anywheresoftware.b4a.objects.NotificationWrapper _createnotification(String _body) throws Exception{ anywheresoftware.b4a.objects.NotificationWrapper _notification = null; - //BA.debugLineNum = 206;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; - //BA.debugLineNum = 207;BA.debugLine="Dim notification As Notification"; + //BA.debugLineNum = 232;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; + //BA.debugLineNum = 233;BA.debugLine="Dim notification As Notification"; _notification = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 208;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; + //BA.debugLineNum = 234;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; _notification.Initialize2(_notification.IMPORTANCE_LOW); - //BA.debugLineNum = 209;BA.debugLine="notification.Icon = \"icon\""; + //BA.debugLineNum = 235;BA.debugLine="notification.Icon = \"icon\""; _notification.setIcon("icon"); - //BA.debugLineNum = 210;BA.debugLine="notification.SetInfo(\"MAZAPA REPARTO\", Body, Main"; -_notification.SetInfoNew(processBA,BA.ObjectToCharSequence("MAZAPA REPARTO"),BA.ObjectToCharSequence(_body),(Object)(mostCurrent._main.getObject())); - //BA.debugLineNum = 211;BA.debugLine="Return notification"; + //BA.debugLineNum = 236;BA.debugLine="notification.SetInfo(\"GUNA REPARTO\", Body, Main)"; +_notification.SetInfoNew(processBA,BA.ObjectToCharSequence("GUNA REPARTO"),BA.ObjectToCharSequence(_body),(Object)(mostCurrent._main.getObject())); + //BA.debugLineNum = 237;BA.debugLine="Return notification"; if (true) return _notification; - //BA.debugLineNum = 212;BA.debugLine="End Sub"; + //BA.debugLineNum = 238;BA.debugLine="End Sub"; return null; } public static String _dameultimaubicacionconocida() throws Exception{ String _coords = ""; - //BA.debugLineNum = 144;BA.debugLine="Sub dameUltimaUbicacionConocida"; - //BA.debugLineNum = 145;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then 'M"; + //BA.debugLineNum = 170;BA.debugLine="Sub dameUltimaUbicacionConocida"; + //BA.debugLineNum = 171;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then 'M"; if (_flp.GetLastKnownLocation().IsInitialized()) { - //BA.debugLineNum = 147;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"Mand"; + //BA.debugLineNum = 173;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"Mand"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("871237635",("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."; +anywheresoftware.b4a.keywords.Common.LogImpl("044564483",("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 = 174;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)"; + //BA.debugLineNum = 176;BA.debugLine="Subs.mandamosLoc(coords)"; mostCurrent._subs._mandamosloc /*String*/ (processBA,_coords); }; - //BA.debugLineNum = 152;BA.debugLine="End Sub"; + //BA.debugLineNum = 178;BA.debugLine="End Sub"; return ""; } public static String _flp_connectionfailed(int _connectionresult1) throws Exception{ - //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"; + //BA.debugLineNum = 85;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)"; + //BA.debugLineNum = 86;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Failed to c"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("870713345","Failed to connect to location provider",0);}; - //BA.debugLineNum = 61;BA.debugLine="End Sub"; +anywheresoftware.b4a.keywords.Common.LogImpl("044040193","Failed to connect to location provider",0);}; + //BA.debugLineNum = 87;BA.debugLine="End Sub"; return ""; } public static String _flp_connectionsuccess() throws Exception{ - //BA.debugLineNum = 54;BA.debugLine="Sub flp_ConnectionSuccess"; - //BA.debugLineNum = 57;BA.debugLine="End Sub"; + //BA.debugLineNum = 80;BA.debugLine="Sub flp_ConnectionSuccess"; + //BA.debugLineNum = 83;BA.debugLine="End Sub"; return ""; } public static String _flp_connectionsuspended(int _connectionresult1) throws Exception{ - //BA.debugLineNum = 63;BA.debugLine="Sub flp_ConnectionSuspended(ConnectionResult1 As I"; - //BA.debugLineNum = 64;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"FLP conecti"; + //BA.debugLineNum = 89;BA.debugLine="Sub flp_ConnectionSuspended(ConnectionResult1 As I"; + //BA.debugLineNum = 90;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"FLP conecti"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("870778881","FLP conection suspended",0);}; - //BA.debugLineNum = 65;BA.debugLine="StartFLP"; +anywheresoftware.b4a.keywords.Common.LogImpl("044105729","FLP conection suspended",0);}; + //BA.debugLineNum = 91;BA.debugLine="StartFLP"; _startflp(); - //BA.debugLineNum = 66;BA.debugLine="End Sub"; + //BA.debugLineNum = 92;BA.debugLine="End Sub"; return ""; } public static String _flp_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ @@ -264,97 +296,97 @@ String _stime = ""; String _coords = ""; String _origformat = ""; int _minsdif = 0; - //BA.debugLineNum = 162;BA.debugLine="Sub flp_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 163;BA.debugLine="Starter.trackerActividad = Subs.fechaKMT(DateTime"; + //BA.debugLineNum = 188;BA.debugLine="Sub flp_LocationChanged (Location1 As Location)"; + //BA.debugLineNum = 189;BA.debugLine="Starter.trackerActividad = Subs.fechaKMT(DateTime"; mostCurrent._starter._trackeractividad /*String*/ = mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow())); - //BA.debugLineNum = 164;BA.debugLine="UUGCoords = Location1"; + //BA.debugLineNum = 190;BA.debugLine="UUGCoords = Location1"; _uugcoords = _location1; - //BA.debugLineNum = 166;BA.debugLine="CallSub2(Starter, \"GPS_LocationChanged\", Location"; + //BA.debugLineNum = 192;BA.debugLine="CallSub2(Starter, \"GPS_LocationChanged\", Location"; anywheresoftware.b4a.keywords.Common.CallSubNew2(processBA,(Object)(mostCurrent._starter.getObject()),"GPS_LocationChanged",(Object)(_location1)); - //BA.debugLineNum = 169;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; + //BA.debugLineNum = 195;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ = BA.NumberToString(_location1.getLatitude()); - //BA.debugLineNum = 170;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; + //BA.debugLineNum = 196;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ = BA.NumberToString(_location1.getLongitude()); - //BA.debugLineNum = 172;BA.debugLine="Dim sDate,sTime As String"; + //BA.debugLineNum = 198;BA.debugLine="Dim sDate,sTime As String"; _sdate = ""; _stime = ""; - //BA.debugLineNum = 173;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; + //BA.debugLineNum = 199;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 174;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; + //BA.debugLineNum = 200;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; _sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 175;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; + //BA.debugLineNum = 201;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; _stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 176;BA.debugLine="Try"; -try { //BA.debugLineNum = 177;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\""; + //BA.debugLineNum = 202;BA.debugLine="Try"; +try { //BA.debugLineNum = 203;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\""; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); - //BA.debugLineNum = 178;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_GPS"; + //BA.debugLineNum = 204;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_GPS"; mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_sdate+_stime),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ )})); } catch (Exception e14) { - processBA.setLastException(e14); //BA.debugLineNum = 180;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Error al b"; + processBA.setLastException(e14); //BA.debugLineNum = 206;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Error al b"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("871368722","Error al borrar o insertar nuevas coordendas en HIST_GPS",0);}; +anywheresoftware.b4a.keywords.Common.LogImpl("044695570","Error al borrar o insertar nuevas coordendas en HIST_GPS",0);}; }; - //BA.debugLineNum = 183;BA.debugLine="Dim coords As String = Location1.Latitude&\",\"&Loc"; + //BA.debugLineNum = 209;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("871368726","Loc changed : "+BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude()),0); - //BA.debugLineNum = 185;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Mandamos Ub"; + //BA.debugLineNum = 210;BA.debugLine="Log(\"Loc changed : \"&Location1.Latitude&\",\"&Locat"; +anywheresoftware.b4a.keywords.Common.LogImpl("044695574","Loc changed : "+BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude()),0); + //BA.debugLineNum = 211;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Mandamos Ub"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("871368727","Mandamos Ubicacion",0);}; - //BA.debugLineNum = 186;BA.debugLine="If B4XPages.MainPage.logger Then Log(locRequest)"; +anywheresoftware.b4a.keywords.Common.LogImpl("044695575","Mandamos Ubicacion",0);}; + //BA.debugLineNum = 212;BA.debugLine="If B4XPages.MainPage.logger Then Log(locRequest)"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("871368728",_locrequest,0);}; - //BA.debugLineNum = 188;BA.debugLine="If Location1.Accuracy < 100 Then"; +anywheresoftware.b4a.keywords.Common.LogImpl("044695576",_locrequest,0);}; + //BA.debugLineNum = 214;BA.debugLine="If Location1.Accuracy < 100 Then"; if (_location1.getAccuracy()<100) { - //BA.debugLineNum = 189;BA.debugLine="Subs.guardaInfoEnBD(coords)'Escribimos coordenad"; + //BA.debugLineNum = 215;BA.debugLine="Subs.guardaInfoEnBD(coords)'Escribimos coordenad"; mostCurrent._subs._guardainfoenbd /*String*/ (processBA,_coords); - //BA.debugLineNum = 191;BA.debugLine="Subs.mandamosLoc(coords)"; + //BA.debugLineNum = 217;BA.debugLine="Subs.mandamosLoc(coords)"; mostCurrent._subs._mandamosloc /*String*/ (processBA,_coords); }; - //BA.debugLineNum = 193;BA.debugLine="Dim origFormat As String = DateTime.TimeFormat 'G"; + //BA.debugLineNum = 219;BA.debugLine="Dim origFormat As String = DateTime.TimeFormat 'G"; _origformat = anywheresoftware.b4a.keywords.Common.DateTime.getTimeFormat(); - //BA.debugLineNum = 194;BA.debugLine="DateTime.TimeFormat = \"HHmmss\" ' Modificamos form"; + //BA.debugLineNum = 220;BA.debugLine="DateTime.TimeFormat = \"HHmmss\" ' Modificamos form"; anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 195;BA.debugLine="Dim minsDif As Int = DateTime.Time(DateTime.Now)"; + //BA.debugLineNum = 221;BA.debugLine="Dim minsDif As Int = DateTime.Time(DateTime.Now)"; _minsdif = (int) ((double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow())))-(double)(Double.parseDouble(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._ultimaactualizaciongps /*String*/ ))); - //BA.debugLineNum = 197;BA.debugLine="If Location1.Accuracy < 100 And minsDif > 240 The"; + //BA.debugLineNum = 223;BA.debugLine="If Location1.Accuracy < 100 And minsDif > 240 The"; if (_location1.getAccuracy()<100 && _minsdif>240) { - //BA.debugLineNum = 198;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"actualizam"; + //BA.debugLineNum = 224;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"actualizam"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("871368740","actualizamos Ubicacion Web",0);}; - //BA.debugLineNum = 199;BA.debugLine="CallSubDelayed(Starter, \"ENVIA_ULTIMA_GPS\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("044695588","actualizamos Ubicacion Web",0);}; + //BA.debugLineNum = 225;BA.debugLine="CallSubDelayed(Starter, \"ENVIA_ULTIMA_GPS\")"; anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._starter.getObject()),"ENVIA_ULTIMA_GPS"); }; - //BA.debugLineNum = 201;BA.debugLine="DateTime.TimeFormat = origFormat 'Regresamos form"; + //BA.debugLineNum = 227;BA.debugLine="DateTime.TimeFormat = origFormat 'Regresamos form"; anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat(_origformat); - //BA.debugLineNum = 203;BA.debugLine="Subs.monitor"; + //BA.debugLineNum = 229;BA.debugLine="Subs.monitor"; mostCurrent._subs._monitor /*String*/ (processBA); - //BA.debugLineNum = 204;BA.debugLine="End Sub"; + //BA.debugLineNum = 230;BA.debugLine="End Sub"; return ""; } public static String _formatofecha(String _fecha) throws Exception{ String _origformat = ""; String _lastupdate = ""; - //BA.debugLineNum = 222;BA.debugLine="Sub formatoFecha(fecha As String) As String 'Convi"; - //BA.debugLineNum = 224;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; + //BA.debugLineNum = 248;BA.debugLine="Sub formatoFecha(fecha As String) As String 'Convi"; + //BA.debugLineNum = 250;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; _origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 225;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; + //BA.debugLineNum = 251;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss"); - //BA.debugLineNum = 226;BA.debugLine="Dim lastUpdate As String=DateTime.Date(fecha)"; + //BA.debugLineNum = 252;BA.debugLine="Dim lastUpdate As String=DateTime.Date(fecha)"; _lastupdate = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); - //BA.debugLineNum = 227;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; + //BA.debugLineNum = 253;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 229;BA.debugLine="Return lastUpdate"; + //BA.debugLineNum = 255;BA.debugLine="Return lastUpdate"; if (true) return _lastupdate; - //BA.debugLineNum = 230;BA.debugLine="End Sub"; + //BA.debugLineNum = 256;BA.debugLine="End Sub"; return ""; } public static String _process_globals() throws Exception{ //BA.debugLineNum = 29;BA.debugLine="Sub Process_Globals"; //BA.debugLineNum = 30;BA.debugLine="Private nid As Int = 1"; _nid = (int) (1); - //BA.debugLineNum = 31;BA.debugLine="dim Tracking As Boolean"; + //BA.debugLineNum = 31;BA.debugLine="Dim Tracking As Boolean"; _tracking = false; //BA.debugLineNum = 32;BA.debugLine="Private lock As PhoneWakeState"; _lock = new anywheresoftware.b4a.phone.Phone.PhoneWakeState(); @@ -375,53 +407,53 @@ _pushserviceactividad = ""; return ""; } public static String _service_create() throws Exception{ - //BA.debugLineNum = 42;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 43;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; + //BA.debugLineNum = 68;BA.debugLine="Sub Service_Create"; + //BA.debugLineNum = 69;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; - //BA.debugLineNum = 44;BA.debugLine="UUGCoords.Initialize"; + //BA.debugLineNum = 70;BA.debugLine="UUGCoords.Initialize"; _uugcoords.Initialize(); - //BA.debugLineNum = 45;BA.debugLine="UUGCoords.Latitude = 0"; + //BA.debugLineNum = 71;BA.debugLine="UUGCoords.Latitude = 0"; _uugcoords.setLatitude(0); - //BA.debugLineNum = 46;BA.debugLine="UUGCoords.Longitude = 0"; + //BA.debugLineNum = 72;BA.debugLine="UUGCoords.Longitude = 0"; _uugcoords.setLongitude(0); - //BA.debugLineNum = 48;BA.debugLine="FLP.Initialize(\"flp\")"; + //BA.debugLineNum = 74;BA.debugLine="FLP.Initialize(\"flp\")"; _flp.Initialize(processBA,"flp"); - //BA.debugLineNum = 49;BA.debugLine="FLP.Connect"; + //BA.debugLineNum = 75;BA.debugLine="FLP.Connect"; _flp.Connect(); - //BA.debugLineNum = 50;BA.debugLine="lock.PartialLock"; + //BA.debugLineNum = 76;BA.debugLine="lock.PartialLock"; _lock.PartialLock(processBA); - //BA.debugLineNum = 51;BA.debugLine="StartFLP"; + //BA.debugLineNum = 77;BA.debugLine="StartFLP"; _startflp(); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; + //BA.debugLineNum = 78;BA.debugLine="End Sub"; return ""; } public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 214;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 215;BA.debugLine="If Tracking Then"; + //BA.debugLineNum = 240;BA.debugLine="Sub Service_Destroy"; + //BA.debugLineNum = 241;BA.debugLine="If Tracking Then"; if (_tracking) { - //BA.debugLineNum = 216;BA.debugLine="StopFLP"; + //BA.debugLineNum = 242;BA.debugLine="StopFLP"; _stopflp(); }; - //BA.debugLineNum = 218;BA.debugLine="Tracking = False"; + //BA.debugLineNum = 244;BA.debugLine="Tracking = False"; _tracking = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 219;BA.debugLine="lock.ReleasePartialLock"; + //BA.debugLineNum = 245;BA.debugLine="lock.ReleasePartialLock"; _lock.ReleasePartialLock(); - //BA.debugLineNum = 220;BA.debugLine="End Sub"; + //BA.debugLineNum = 246;BA.debugLine="End Sub"; 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("870844417","Iniciando Tracker ...",anywheresoftware.b4a.keywords.Common.Colors.Green); - //BA.debugLineNum = 70;BA.debugLine="Service.StopAutomaticForeground"; + //BA.debugLineNum = 94;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; + //BA.debugLineNum = 95;BA.debugLine="LogColor(\"Iniciando Tracker ...\", Colors.Green)"; +anywheresoftware.b4a.keywords.Common.LogImpl("044171265","Iniciando Tracker ...",anywheresoftware.b4a.keywords.Common.Colors.Green); + //BA.debugLineNum = 96;BA.debugLine="Service.StopAutomaticForeground"; mostCurrent._service.StopAutomaticForeground(); - //BA.debugLineNum = 72;BA.debugLine="StartServiceAt(Me, DateTime.Now + 10 * DateTime.T"; + //BA.debugLineNum = 98;BA.debugLine="StartServiceAt(Me, DateTime.Now + 10 * DateTime.T"; anywheresoftware.b4a.keywords.Common.StartServiceAt(processBA,tracker.getObject(),(long) (anywheresoftware.b4a.keywords.Common.DateTime.getNow()+10*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute),anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 73;BA.debugLine="Track"; + //BA.debugLineNum = 99;BA.debugLine="Track"; _track(); - //BA.debugLineNum = 74;BA.debugLine="Starter.trackerActividad = Subs.fechaKMT(DateTime"; + //BA.debugLineNum = 100;BA.debugLine="Starter.trackerActividad = Subs.fechaKMT(DateTime"; mostCurrent._starter._trackeractividad /*String*/ = mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow())); - //BA.debugLineNum = 76;BA.debugLine="End Sub"; + //BA.debugLineNum = 102;BA.debugLine="End Sub"; return ""; } public static void _startflp() throws Exception{ @@ -445,7 +477,7 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 94;BA.debugLine="Do While FLP.IsConnected = False"; + //BA.debugLineNum = 120;BA.debugLine="Do While FLP.IsConnected = False"; if (true) break; case 1: @@ -460,7 +492,7 @@ if (true) break; case 3: //C this.state = 1; - //BA.debugLineNum = 95;BA.debugLine="Sleep(500)"; + //BA.debugLineNum = 121;BA.debugLine="Sleep(500)"; anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (500)); this.state = 5; return; @@ -474,11 +506,11 @@ case 4: //C this.state = -1; ; - //BA.debugLineNum = 100;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest"; + //BA.debugLineNum = 126;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest)"; parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequest().getObject())); - //BA.debugLineNum = 103;BA.debugLine="flpStarted = True"; + //BA.debugLineNum = 129;BA.debugLine="flpStarted = True"; parent._flpstarted = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 105;BA.debugLine="End Sub"; + //BA.debugLineNum = 131;BA.debugLine="End Sub"; if (true) break; } @@ -506,7 +538,7 @@ return; case 0: //C this.state = 1; - //BA.debugLineNum = 108;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"StartFLP -"; + //BA.debugLineNum = 134;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"StartFLP -"; if (true) break; case 1: @@ -519,14 +551,14 @@ this.state = 3; case 3: //C this.state = 6; -anywheresoftware.b4a.keywords.Common.LogImpl("871041025","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0); +anywheresoftware.b4a.keywords.Common.LogImpl("044367873","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0); if (true) break; case 6: //C this.state = 7; ; - //BA.debugLineNum = 109;BA.debugLine="Do While FLP.IsConnected = False"; + //BA.debugLineNum = 135;BA.debugLine="Do While FLP.IsConnected = False"; if (true) break; case 7: @@ -541,7 +573,7 @@ if (true) break; case 9: //C this.state = 10; - //BA.debugLineNum = 110;BA.debugLine="Sleep(500)"; + //BA.debugLineNum = 136;BA.debugLine="Sleep(500)"; anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (500)); this.state = 29; return; @@ -549,7 +581,7 @@ case 29: //C this.state = 10; ; - //BA.debugLineNum = 111;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"sleeping G"; + //BA.debugLineNum = 137;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"sleeping G"; if (true) break; case 10: @@ -562,7 +594,7 @@ this.state = 12; case 12: //C this.state = 15; -anywheresoftware.b4a.keywords.Common.LogImpl("871041028","sleeping GR",0); +anywheresoftware.b4a.keywords.Common.LogImpl("044367876","sleeping GR",0); if (true) break; case 15: @@ -575,11 +607,11 @@ case 16: //C this.state = 17; ; - //BA.debugLineNum = 113;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; + //BA.debugLineNum = 139;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; _dameultimaubicacionconocida(); - //BA.debugLineNum = 114;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest2"; + //BA.debugLineNum = 140;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest2"; parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequest2times().getObject())); - //BA.debugLineNum = 115;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Buscamos ub"; + //BA.debugLineNum = 141;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Buscamos ub"; if (true) break; case 17: @@ -592,14 +624,14 @@ this.state = 19; case 19: //C this.state = 22; -anywheresoftware.b4a.keywords.Common.LogImpl("871041032","Buscamos ubicacion 2 peticiones",0); +anywheresoftware.b4a.keywords.Common.LogImpl("044367880","Buscamos ubicacion 2 peticiones",0); if (true) break; case 22: //C this.state = 23; ; - //BA.debugLineNum = 116;BA.debugLine="If B4XPages.MainPage.logger Then Log(actualLR.Get"; + //BA.debugLineNum = 142;BA.debugLine="If B4XPages.MainPage.logger Then Log(actualLR.Get"; if (true) break; case 23: @@ -612,14 +644,77 @@ this.state = 25; case 25: //C this.state = 28; -anywheresoftware.b4a.keywords.Common.LogImpl("871041033",BA.NumberToString(parent._actuallr.GetSmallestDisplacement()),0); +anywheresoftware.b4a.keywords.Common.LogImpl("044367881",BA.NumberToString(parent._actuallr.GetSmallestDisplacement()),0); if (true) break; case 28: //C this.state = -1; ; - //BA.debugLineNum = 117;BA.debugLine="End Sub"; + //BA.debugLineNum = 143;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public static void _startflpsmall() throws Exception{ +ResumableSub_StartFLPSmall rsub = new ResumableSub_StartFLPSmall(null); +rsub.resume(processBA, null); +} +public static class ResumableSub_StartFLPSmall extends BA.ResumableSub { +public ResumableSub_StartFLPSmall(reparto_mazapa.keymon.lat.tracker parent) { +this.parent = parent; +} +reparto_mazapa.keymon.lat.tracker parent; + +@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 = 44;BA.debugLine="Do While FLP.IsConnected = False"; +if (true) break; + +case 1: +//do while +this.state = 4; +while (parent._flp.IsConnected()==anywheresoftware.b4a.keywords.Common.False) { +this.state = 3; +if (true) break; +} +if (true) break; + +case 3: +//C +this.state = 1; + //BA.debugLineNum = 45;BA.debugLine="Sleep(500)"; +anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (500)); +this.state = 5; +return; +case 5: +//C +this.state = 1; +; + //BA.debugLineNum = 46;BA.debugLine="Log(\"sleeping\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("043778052","sleeping",0); + if (true) break; + +case 4: +//C +this.state = -1; +; + //BA.debugLineNum = 48;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; +_dameultimaubicacionconocida(); + //BA.debugLineNum = 49;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequestS"; +parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequestsmalld().getObject())); + //BA.debugLineNum = 52;BA.debugLine="End Sub"; if (true) break; } @@ -627,40 +722,40 @@ if (true) break; } } public static String _stopflp() throws Exception{ - //BA.debugLineNum = 154;BA.debugLine="Public Sub StopFLP"; - //BA.debugLineNum = 156;BA.debugLine="If flpStarted Then"; + //BA.debugLineNum = 180;BA.debugLine="Public Sub StopFLP"; + //BA.debugLineNum = 182;BA.debugLine="If flpStarted Then"; if (_flpstarted) { - //BA.debugLineNum = 157;BA.debugLine="FLP.RemoveLocationUpdates 'Eliminamos todas las"; + //BA.debugLineNum = 183;BA.debugLine="FLP.RemoveLocationUpdates 'Eliminamos todas las"; _flp.RemoveLocationUpdates(); - //BA.debugLineNum = 158;BA.debugLine="flpStarted = False"; + //BA.debugLineNum = 184;BA.debugLine="flpStarted = False"; _flpstarted = anywheresoftware.b4a.keywords.Common.False; }; - //BA.debugLineNum = 160;BA.debugLine="End Sub"; + //BA.debugLineNum = 186;BA.debugLine="End Sub"; return ""; } 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"; + //BA.debugLineNum = 104;BA.debugLine="Public Sub Track"; + //BA.debugLineNum = 105;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Inicia Trac"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("870909953","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);}; - //BA.debugLineNum = 80;BA.debugLine="If Tracking Then"; +anywheresoftware.b4a.keywords.Common.LogImpl("044236801","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);}; + //BA.debugLineNum = 106;BA.debugLine="If Tracking Then"; if (_tracking) { - //BA.debugLineNum = 82;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na"; + //BA.debugLineNum = 108;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na"; if (true) return ""; }; - //BA.debugLineNum = 84;BA.debugLine="If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_"; + //BA.debugLineNum = 110;BA.debugLine="If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_"; 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"; + //BA.debugLineNum = 111;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"No permiss"; if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("870909959","No permission",0);}; - //BA.debugLineNum = 86;BA.debugLine="Return"; +anywheresoftware.b4a.keywords.Common.LogImpl("044236807","No permission",0);}; + //BA.debugLineNum = 112;BA.debugLine="Return"; if (true) return ""; }; - //BA.debugLineNum = 88;BA.debugLine="StartFLP 'Iniciamos FusedLocationProvider"; + //BA.debugLineNum = 114;BA.debugLine="StartFLP 'Iniciamos FusedLocationProvider"; _startflp(); - //BA.debugLineNum = 89;BA.debugLine="Tracking = True"; + //BA.debugLineNum = 115;BA.debugLine="Tracking = True"; _tracking = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 90;BA.debugLine="End Sub"; + //BA.debugLineNum = 116;BA.debugLine="End Sub"; return ""; } } diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/xuiviewsutils.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/xuiviewsutils.java index ca95a40..1655086 100644 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/xuiviewsutils.java +++ b/B4A/Objects/src/reparto_mazapa/keymon/lat/xuiviewsutils.java @@ -16,12 +16,12 @@ public static anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; public b4a.example.dateutils _dateutils = null; public reparto_mazapa.keymon.lat.main _main = null; public reparto_mazapa.keymon.lat.appupdater _appupdater = null; +public reparto_mazapa.keymon.lat.tracker _tracker = null; +public reparto_mazapa.keymon.lat.starter _starter = null; +public reparto_mazapa.keymon.lat.subs _subs = null; public reparto_mazapa.keymon.lat.foto _foto = null; public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; diff --git a/B4A/Tracker.bas b/B4A/Tracker.bas index 0e6bc69..5ea072e 100644 --- a/B4A/Tracker.bas +++ b/B4A/Tracker.bas @@ -34,7 +34,7 @@ Version=10.2 Sub Process_Globals Private nid As Int = 1 - dim Tracking As Boolean + Dim Tracking As Boolean Private lock As PhoneWakeState 'Para FusedLocationProvider (2 lineas) Public FLP As FusedLocationProvider @@ -45,6 +45,32 @@ Sub Process_Globals Dim trackerActividad, pushServiceActividad As String End Sub +Public Sub StartFLPSmall +' Log("StartFLPSmall - flpStarted="&flpStarted) + Do While FLP.IsConnected = False + Sleep(500) + Log("sleeping") + Loop + dameUltimaUbicacionConocida 'Regresamos ultima ubicacion conocida + FLP.RequestLocationUpdates(CreateLocationRequestSmallD) 'Buscamos ubicacion 2 peticiones +' Log("Buscamos ubicacion Small displacement") +' Log("GPSSmallestDisplacement = " & actualLR.GetSmallestDisplacement) +End Sub + +Private Sub CreateLocationRequestSmallD As LocationRequest +' Log("Iniciamos CreateLocationRequestSmallD") + Dim lr As LocationRequest + lr.Initialize + lr.SetInterval(2000) 'Intervalo deseado para actualizaciones de ubicacion + lr.SetFastestInterval(lr.GetInterval / 2) 'Intervalo minimo para actualizaciones de ubicacion + lr.setNumUpdates(2) 'Solicitamos solo 2 actualizaciones con estos parametros + lr.SetSmallestDisplacement(1) 'Solo registra cambio de ubicacion si es mayor a XX mts + lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY) + actualLR=lr + Return lr +End Sub + + Sub Service_Create Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_NEVER 'we are handling it ourselves UUGCoords.Initialize @@ -103,10 +129,10 @@ Public Sub StartFLP Loop ' If flpStarted = False Then ' If Main.logger Then Log("RequestLocationUpdates") - FLP.RequestLocationUpdates(CreateLocationRequest) 'Buscamos ubicacion + FLP.RequestLocationUpdates(CreateLocationRequest) 'Buscamos ubicacion ' If Main.logger Then Log("Buscamos ubicacion") ' If Main.logger Then Log(actualLR.GetSmallestDisplacement) - flpStarted = True + flpStarted = True ' End If End Sub @@ -174,7 +200,7 @@ Sub flp_LocationChanged (Location1 As Location) ' CallSubDelayed2(gestion, "GPS_LocationChanged", Location1) B4XPages.MainPage.lat_gps = Location1.Latitude B4XPages.MainPage.lon_gps = Location1.Longitude -'/////// para la ultima ubicacion FL + '/////// para la ultima ubicacion FL Dim sDate,sTime As String DateTime.DateFormat = "MM/dd/yyyy" sDate=DateTime.Date(DateTime.Now) @@ -185,7 +211,7 @@ Sub flp_LocationChanged (Location1 As Location) Catch If B4XPages.MainPage.logger Then Log("Error al borrar o insertar nuevas coordendas en HIST_GPS") End Try -'/////// + '/////// Dim coords As String = Location1.Latitude&","&Location1.Longitude&","&formatoFecha(Location1.Time) Log("Loc changed : "&Location1.Latitude&","&Location1.Longitude) If B4XPages.MainPage.logger Then Log("Mandamos Ubicacion") @@ -213,7 +239,7 @@ Sub CreateNotification (Body As String) As Notification 'ignore Dim notification As Notification notification.Initialize2(notification.IMPORTANCE_LOW) notification.Icon = "icon" - notification.SetInfo("MAZAPA REPARTO", Body, Main) + notification.SetInfo("GUNA REPARTO", Body, Main) Return notification End Sub