diff --git a/B4A/B4XMainPage.bas b/B4A/B4XMainPage.bas
index 14007b5..539fe73 100644
--- a/B4A/B4XMainPage.bas
+++ b/B4A/B4XMainPage.bas
@@ -201,7 +201,7 @@ Private Sub B4XPage_Created (Root1 As B4XView)
Subs.agregaColumna("CAT_GUNAPROD","PRECIOCONVER","TEXT")
Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)")
Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS wayPoints (codigo TEXT, indice INT)")
- Dim server As String = "http://187.189.244.154:1781"
+ Dim server As String = "http://keymon.net:1781"
' Dim server As String = "http://192.168.100.10:1781"
' Dim server As String = "http://keymon.lat:9000"
' server = "http://10.0.0.205:1782"
@@ -589,8 +589,8 @@ Private Sub i_engrane_Click
Subs.centraBoton(b_regesar, Root.Width)
Subs.centraBoton(b_server, p_serverList.Width)
lv_server.Clear
- lv_server.AddSingleLine("http://keymon.lat:1782")
- If user.Text = "KMTS1" Then lv_server.AddSingleLine("http://10.0.0.205:1782")
+ lv_server.AddSingleLine("http://keymon.net:1781")
+ If user.Text = "KMTS1" Then lv_server.AddSingleLine("http://10.0.0.205:1781")
' l_server.Text = Starter.server
et_server.Text = server
Subs.panelVisible(p_appUpdate, 0, 0)
diff --git a/B4A/Medicomed_Reparto.b4a.meta b/B4A/Medicomed_Reparto.b4a.meta
index 65835c4..2eee49b 100644
--- a/B4A/Medicomed_Reparto.b4a.meta
+++ b/B4A/Medicomed_Reparto.b4a.meta
@@ -91,6 +91,6 @@ ModuleClosedNodes6=
ModuleClosedNodes7=
ModuleClosedNodes8=
ModuleClosedNodes9=
-NavigationStack=C_Principal,b_mapa_Click,1731,0,C_Principal,connecta_Click,1718,0,C_Cliente,gest_Click,367,0,C_NoVenta,GUARDA_Click,139,0,C_Cliente,B_PASO2_Click,971,0,C_Cliente,Guardar_Click,449,0,C_Cliente,Guardado,420,0,C_Principal,envioinfo,956,0,Main,Activity_Create,28,0,B4XMainPage,Entrar_Click,330,0,B4XMainPage,Class_Globals,23,0
+NavigationStack=C_Principal,envioinfo,956,0,Main,Activity_Create,28,0,B4XMainPage,Entrar_Click,330,0,B4XMainPage,Class_Globals,23,0,B4XMainPage,JobDone,569,0,B4XMainPage,B4XPage_CloseRequest,593,0,Starter,Process_Globals,29,0,B4XMainPage,i_engrane_Click,580,2,C_Principal,JobDone,1133,0,B4XMainPage,B4XPage_Created,197,0
SelectedBuild=0
-VisibleModules=1,2,3,4,5,6,7,8,9,10,16,28,13
+VisibleModules=1,2,3,4,5,6,7,8,9,10,28,16
diff --git a/B4A/Objects/AndroidManifest.xml b/B4A/Objects/AndroidManifest.xml
index e9f4d53..40add27 100644
--- a/B4A/Objects/AndroidManifest.xml
+++ b/B4A/Objects/AndroidManifest.xml
@@ -139,6 +139,14 @@
android:name=".appupdater$appupdater_BR"
android:exported="true">
+
+
+
+
-
-
-
-
0 Then";
@@ -385,12 +385,12 @@ _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
//BA.debugLineNum = 866;BA.debugLine="If c.RowCount = 0 Then";
if (_c.getRowCount()==0) {
//BA.debugLineNum = 868;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
-__c.LogImpl("02949162",_f.GetString("RUTAA"),0);
+__c.LogImpl("62949162",_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 = 872;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
-__c.LogImpl("02949166",_f.GetString("RUTAA"),0);
+__c.LogImpl("62949166",_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)]}));
};
@@ -400,7 +400,7 @@ _f.Close();
//BA.debugLineNum = 878;BA.debugLine="a.Close";
_a.Close();
//BA.debugLineNum = 879;BA.debugLine="Log(\"Processed item \" & i)";
-__c.LogImpl("02949173","Processed item "+BA.NumberToString(_i),0);
+__c.LogImpl("62949173","Processed item "+BA.NumberToString(_i),0);
}
};
//BA.debugLineNum = 881;BA.debugLine="et_buspc.Text = \"\"";
@@ -422,7 +422,7 @@ return "";
public String _b_server_click() throws Exception{
//BA.debugLineNum = 632;BA.debugLine="Private Sub b_server_Click";
//BA.debugLineNum = 633;BA.debugLine="Log(\"Guardar servidor\")";
-__c.LogImpl("02162689","Guardar servidor",0);
+__c.LogImpl("62162689","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 = 635;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIA";
@@ -433,11 +433,11 @@ _b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*
_starter._server /*String*/ = _b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ;
//BA.debugLineNum = 638;BA.debugLine="If logger Then Log(\"Inicializamos reqManager con";
if (_logger) {
-__c.LogImpl("02162694","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);};
+__c.LogImpl("62162694","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_medicomed.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_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
//BA.debugLineNum = 640;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
-__c.LogImpl("02162696",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
+__c.LogImpl("62162696",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
//BA.debugLineNum = 641;BA.debugLine="reinicializaReqManager";
_reinicializareqmanager();
//BA.debugLineNum = 642;BA.debugLine="p_appUpdate.Visible = False";
@@ -616,7 +616,7 @@ parent._f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.Ab
//BA.debugLineNum = 917;BA.debugLine="f.Position=0";
parent._f.setPosition((int) (0));
//BA.debugLineNum = 918;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
-parent.__c.LogImpl("03014689",parent._f.GetString("RUTAA"),0);
+parent.__c.LogImpl("63014689",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 = 921;BA.debugLine="If a.RowCount>0 Then";
@@ -641,7 +641,7 @@ case 17:
this.state = 18;
;
//BA.debugLineNum = 924;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))";
-parent.__c.LogImpl("03014695",parent._a.GetString("ID_ALMACEN"),0);
+parent.__c.LogImpl("63014695",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")));
@@ -711,7 +711,7 @@ parent._f.Close();
//BA.debugLineNum = 942;BA.debugLine="a.Close";
parent._a.Close();
//BA.debugLineNum = 943;BA.debugLine="Log(\"Processed item \" & i)";
-parent.__c.LogImpl("03014714","Processed item "+BA.NumberToString(_i),0);
+parent.__c.LogImpl("63014714","Processed item "+BA.NumberToString(_i),0);
if (true) break;
if (true) break;
@@ -720,7 +720,7 @@ case 28:
this.state = 29;
;
//BA.debugLineNum = 945;BA.debugLine="Log(\"Finished processing all items\")";
-parent.__c.LogImpl("03014716","Finished processing all items",0);
+parent.__c.LogImpl("63014716","Finished processing all items",0);
//BA.debugLineNum = 946;BA.debugLine="P_CIEGO.Visible = False";
parent._p_ciego.setVisible(parent.__c.False);
//BA.debugLineNum = 947;BA.debugLine="et_buspc.Text = \"\"";
@@ -925,7 +925,7 @@ this.state = 16;
//BA.debugLineNum = 232;BA.debugLine="ToastMessageShow(\"No permission\", True)";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission"),parent.__c.True);
//BA.debugLineNum = 233;BA.debugLine="Log(\"Sin permisos\")";
-parent.__c.LogImpl("01638414","Sin permisos",0);
+parent.__c.LogImpl("61638414","Sin permisos",0);
if (true) break;
case 16:
@@ -1206,16 +1206,16 @@ _subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","PRECIOCONVER","TEXT");
_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 = 198;BA.debugLine="Dim server As String = \"http://187.189.244.154:17";
-_server = "http://187.189.244.154:1781";
+ //BA.debugLineNum = 198;BA.debugLine="Dim server As String = \"http://keymon.net:1781\"";
+_server = "http://keymon.net:1781";
//BA.debugLineNum = 204;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve";
_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
//BA.debugLineNum = 205;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
-__c.LogImpl("01572961",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
+__c.LogImpl("61572961",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_medicomed.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 = 208;BA.debugLine="Log(\"provider\")";
-__c.LogImpl("01572964","provider",0);
+__c.LogImpl("61572964","provider",0);
//BA.debugLineNum = 209;BA.debugLine="Provider.Initialize";
_provider._initialize /*String*/ (ba);
//BA.debugLineNum = 217;BA.debugLine="End Sub";
@@ -1535,11 +1535,11 @@ _fecha2 = __c.Regex.Split("-",_fecha[(int) (0)]);
//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 = 722;BA.debugLine="Log(fecha3)";
-__c.LogImpl("02686996",_fecha3,0);
+__c.LogImpl("62686996",_fecha3,0);
//BA.debugLineNum = 723;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1";
_hora = __c.Regex.Split("\\.",_fecha[(int) (1)]);
//BA.debugLineNum = 724;BA.debugLine="Log(hora(0))";
-__c.LogImpl("02686998",_hora[(int) (0)],0);
+__c.LogImpl("62686998",_hora[(int) (0)],0);
};
//BA.debugLineNum = 729;BA.debugLine="Private cI As Cursor";
_ci = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
@@ -1627,7 +1627,7 @@ _clv_pick_ciego._clear();
//BA.debugLineNum = 791;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\"";
_q_buscar = "%"+_et_buspc.getText()+"%";
//BA.debugLineNum = 792;BA.debugLine="Log(q_buscar)";
-__c.LogImpl("02883591",_q_buscar,0);
+__c.LogImpl("62883591",_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 = 794;BA.debugLine="If c.RowCount > 0 Then";
@@ -1704,11 +1704,11 @@ _subs._centraboton /*String*/ (ba,_b_regesar,_root.getWidth());
_subs._centraboton /*String*/ (ba,_b_server,_p_serverlist.getWidth());
//BA.debugLineNum = 585;BA.debugLine="lv_server.Clear";
_lv_server.Clear();
- //BA.debugLineNum = 586;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.lat:1782\")";
-_lv_server.AddSingleLine(BA.ObjectToCharSequence("http://keymon.lat:1782"));
+ //BA.debugLineNum = 586;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.net:1781\")";
+_lv_server.AddSingleLine(BA.ObjectToCharSequence("http://keymon.net:1781"));
//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"));};
+_lv_server.AddSingleLine(BA.ObjectToCharSequence("http://10.0.0.205:1781"));};
//BA.debugLineNum = 589;BA.debugLine="et_server.Text = server";
_et_server.setText(BA.ObjectToCharSequence(_server));
//BA.debugLineNum = 590;BA.debugLine="Subs.panelVisible(p_appUpdate, 0, 0)";
@@ -1807,7 +1807,7 @@ final int groupLen25 = group25.getSize()
for (; index25 < groupLen25;index25++){
_records = (Object[])(group25.Get(index25));
//BA.debugLineNum = 375;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res";
-__c.LogImpl("01769501","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0);
+__c.LogImpl("61769501","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;
@@ -1879,7 +1879,7 @@ _cat_pa_pass = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Column
//BA.debugLineNum = 409;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then";
if ((_cat_pa_pass).equals(_et_codigo.getText())) {
//BA.debugLineNum = 410;BA.debugLine="Log(CAT_PA_PASS)";
-__c.LogImpl("01769536",_cat_pa_pass,0);
+__c.LogImpl("61769536",_cat_pa_pass,0);
//BA.debugLineNum = 411;BA.debugLine="p_validacion.Visible = False";
_p_validacion.setVisible(__c.False);
//BA.debugLineNum = 412;BA.debugLine="et_codigo.Text = \"\"";
@@ -1915,9 +1915,9 @@ _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("01769557",_cuenta,0);
+__c.LogImpl("61769557",_cuenta,0);
//BA.debugLineNum = 432;BA.debugLine="Log(id)";
-__c.LogImpl("01769558",_id,0);
+__c.LogImpl("61769558",_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";
@@ -1953,7 +1953,7 @@ _cmd.Initialize();
//BA.debugLineNum = 453;BA.debugLine="cmd.Name = \"update_PICKCIEGO_MEDICOMEDv2\"";
_cmd.Name /*String*/ = "update_PICKCIEGO_MEDICOMEDv2";
//BA.debugLineNum = 454;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))";
-__c.LogImpl("01769580","FECHA"+_c.GetString("PC_FECHA"),0);
+__c.LogImpl("61769580","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\")";
@@ -2064,7 +2064,7 @@ _c2.setPosition((int) (0));
if (_c2.getRowCount()>0) {
_c2.GetString("USUARIO");};
//BA.debugLineNum = 515;BA.debugLine="Log(CUENTA & \"----------------------!!\")";
-__c.LogImpl("01769641",_cuenta+"----------------------!!",0);
+__c.LogImpl("61769641",_cuenta+"----------------------!!",0);
//BA.debugLineNum = 516;BA.debugLine="If CUENTA = \"0\" Then";
if ((_cuenta).equals("0")) {
//BA.debugLineNum = 518;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E";
@@ -2102,7 +2102,7 @@ _cmd.Name /*String*/ = "update_MontoCuenta_MEDICOMEDv2rep";
//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 = 541;BA.debugLine="Log(c.GetString(\"EML_MONTO\")& \" \" & c.GetSt";
-__c.LogImpl("01769667",_c.GetString("EML_MONTO")+" "+_c.GetString("EML_ALMACEN")+" "+_c.GetString("EML_RUTA")+" "+_c.GetString("EML_USUARIO"),0);
+__c.LogImpl("61769667",_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 = 543;BA.debugLine="MsgboxAsync(\"Se sobre escribio el Monto\", \"";
@@ -2163,7 +2163,7 @@ _et_server.setText(BA.ObjectToCharSequence(_value));
//BA.debugLineNum = 650;BA.debugLine="reqManager.Initialize(Me, Value)";
_reqmanager._initialize /*String*/ (ba,this,BA.ObjectToString(_value));
//BA.debugLineNum = 651;BA.debugLine="LogColor($\"ReqServer = ${Value}\"$, Colors.red)";
-__c.LogImpl("02228229",("ReqServer = "+__c.SmartStringFormatter("",_value)+""),__c.Colors.Red);
+__c.LogImpl("62228229",("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 = 653;BA.debugLine="End Sub";
@@ -2213,9 +2213,9 @@ if (_a.getRowCount()>0) {
_a.setPosition((int) (0));
};
//BA.debugLineNum = 997;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))";
-__c.LogImpl("03211272",_a.GetString("ID_ALMACEN"),0);
+__c.LogImpl("63211272",_a.GetString("ID_ALMACEN"),0);
//BA.debugLineNum = 998;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))";
-__c.LogImpl("03211273",_f.GetString("CAT_CL_RUTA"),0);
+__c.LogImpl("63211273",_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 = 1001;BA.debugLine="p_validacion.Visible = False";
@@ -2249,9 +2249,9 @@ public String _reinicializareqmanager() throws Exception{
_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
//BA.debugLineNum = 657;BA.debugLine="If logger Then Log(B4XPages.MainPage.server)";
if (_logger) {
-__c.LogImpl("02293762",_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);};
+__c.LogImpl("62293762",_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);};
//BA.debugLineNum = 658;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
-__c.LogImpl("02293763",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
+__c.LogImpl("62293763",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
//BA.debugLineNum = 659;BA.debugLine="End Sub";
return "";
}
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xorderedmap.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xorderedmap.java
index a1ea110..e40dc20 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xorderedmap.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xorderedmap.java
@@ -29,10 +29,10 @@ public anywheresoftware.b4a.objects.collections.List _list = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xpages.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xpages.java
index c09ee10..bed03e3 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xpages.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xpages.java
@@ -17,10 +17,10 @@ public static Object _globalcontext = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xpagesdelegator.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xpagesdelegator.java
index 97f2bac..8c08e8e 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xpagesdelegator.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xpagesdelegator.java
@@ -27,10 +27,10 @@ public class b4xpagesdelegator extends B4AClass.ImplB4AClass implements BA.SubDe
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xpagesmanager.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xpagesmanager.java
index a345a66..b5af4f8 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xpagesmanager.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xpagesmanager.java
@@ -40,10 +40,10 @@ public boolean _logevents = false;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xplusminus.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xplusminus.java
index d8eec48..139d930 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xplusminus.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xplusminus.java
@@ -53,10 +53,10 @@ public boolean _mhaptic = false;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xradiobutton.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xradiobutton.java
index e11186e..4ce510e 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xradiobutton.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xradiobutton.java
@@ -47,10 +47,10 @@ public float _scale = 0f;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xsearchtemplate.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xsearchtemplate.java
index 372b833..034644f 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xsearchtemplate.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xsearchtemplate.java
@@ -45,10 +45,10 @@ public boolean _prefixonly = false;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xseekbar.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xseekbar.java
index 8f9a5ab..9eb00c3 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xseekbar.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xseekbar.java
@@ -48,10 +48,10 @@ public int _size = 0;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xset.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xset.java
index e2f3caa..a48f211 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xset.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xset.java
@@ -28,10 +28,10 @@ public reparto_medicomed.keymon.lat.b4xorderedmap _map = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xsignaturetemplate.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xsignaturetemplate.java
index 912ee03..2070638 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xsignaturetemplate.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xsignaturetemplate.java
@@ -39,10 +39,10 @@ public int _numberofpoints = 0;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xswitch.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xswitch.java
index bd050a4..ddcbd6d 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xswitch.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xswitch.java
@@ -45,10 +45,10 @@ public boolean _mhaptic = false;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xtimedtemplate.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xtimedtemplate.java
index 2abc3c5..91ab74c 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xtimedtemplate.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/b4xtimedtemplate.java
@@ -33,10 +33,10 @@ public int _index = 0;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/batteryutilities.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/batteryutilities.java
index 5953d43..31ca85d 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/batteryutilities.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/batteryutilities.java
@@ -35,10 +35,10 @@ public anywheresoftware.b4j.object.JavaObject _nativeme = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_buscar.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_buscar.java
index 4b1ce28..cf33a2f 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_buscar.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_buscar.java
@@ -33,10 +33,10 @@ public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_cheklist.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_cheklist.java
index 8159212..7bf70b1 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_cheklist.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_cheklist.java
@@ -126,10 +126,10 @@ public anywheresoftware.b4a.objects.EditTextWrapper _et_km = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = 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("07733256","creado en promotoria "+_dirp+_dir,0);
+__c.LogImpl("67733256","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("07733259","creado en raiz",0);
+__c.LogImpl("67733259","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("07733265","creado en promotoria "+_dirp+_dir+_dir2,0);
+__c.LogImpl("67733265","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("07733268","creado en raiz",0);
+__c.LogImpl("67733268","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("04587523",parent._c.GetString("PLACA"),0);
+parent.__c.LogImpl("64587523",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("04587531","inicializamos Camara",0);
+parent.__c.LogImpl("64587531","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("04587542","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting WRITE_EXTERNAL_STORAGE permission",0);
+parent.__c.LogImpl("64587542","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("04587546",("PERMISSION_WRITE_EXTERNAL_STORAGE = "+parent.__c.SmartStringFormatter("",(Object)(_result))+""),0);
+parent.__c.LogImpl("64587546",("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("04587548","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting MANAGE_EXTERNAL_STORAGE permission",0);
+parent.__c.LogImpl("64587548","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("04587549","On Entry MANAGE_EXTERNAL_STORAGE = "+BA.ObjectToString(parent._mes1._haspermission /*boolean*/ ()),0);
+parent.__c.LogImpl("64587549","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("04587553","Getting permission",0);
+parent.__c.LogImpl("64587553","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("04849691","tome foto",0);
+__c.LogImpl("64849691","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("04849699","creado en promotoria "+_dirp+_dir,0);
+__c.LogImpl("64849699","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("04849702","creado en raiz",0);
+__c.LogImpl("64849702","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("04849708","creado en promotoria "+_dirp+_dir+_dir2,0);
+__c.LogImpl("64849708","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("04849711","creado en raiz",0);
+__c.LogImpl("64849711","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("04849717","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0);
+__c.LogImpl("64849717","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("04849720",_nombrefoto,0);
+__c.LogImpl("64849720",_nombrefoto,0);
//BA.debugLineNum = 295;BA.debugLine="Log(nombrefoto1)";
-__c.LogImpl("04849721",_nombrefoto1,0);
+__c.LogImpl("64849721",_nombrefoto1,0);
//BA.debugLineNum = 296;BA.debugLine="Log(nombrefoto2)";
-__c.LogImpl("04849722",_nombrefoto2,0);
+__c.LogImpl("64849722",_nombrefoto2,0);
//BA.debugLineNum = 297;BA.debugLine="Log(nombrefoto3)";
-__c.LogImpl("04849723",_nombrefoto3,0);
+__c.LogImpl("64849723",_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("04784129","Camara ready",0);
+__c.LogImpl("64784129","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("04784135",BA.ObjectToString(_camex._getpreviewsize /*reparto_medicomed.keymon.lat.cameraexclass._camerasize*/ ()),0);
+__c.LogImpl("64784135",BA.ObjectToString(_camex._getpreviewsize /*reparto_medicomed.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("04784138","Cannot open camera",0);
+__c.LogImpl("64784138","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("07667714",_itemselect4,0);
+__c.LogImpl("67667714",_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("07602178",_itemselect3,0);
+__c.LogImpl("67602178",_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("07536642",_itemselect2,0);
+__c.LogImpl("67536642",_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("07471106",_itemselect1,0);
+__c.LogImpl("67471106",_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("04718598","inicializamos Camara",0);
+parent.__c.LogImpl("64718598","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("07864321","JOBDONE CLIENTE . "+BA.ObjectToString(_job._success /*boolean*/ ),0);
+__c.LogImpl("67864321","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("07864325","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Blue);
+__c.LogImpl("67864325","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("07864327","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_medicomed.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_medicomed.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
+__c.LogImpl("67864327","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_medicomed.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_medicomed.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("07864333",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
+__c.LogImpl("67864333",("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("07864336",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
+__c.LogImpl("67864336",("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("07864356",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("67864356",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_medicomed.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
//BA.debugLineNum = 724;BA.debugLine="Sub mandaPendientes";
//BA.debugLineNum = 725;BA.debugLine="Log(\"MandaPendientes\")";
-__c.LogImpl("07798785","MandaPendientes",0);
+__c.LogImpl("67798785","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("07798788",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
+__c.LogImpl("67798788",("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_medicomed/keymon/lat/c_cliente.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_cliente.java
index e576ce4..66f910e 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_cliente.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_cliente.java
@@ -100,10 +100,10 @@ public long _distance = 0L;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
@@ -396,13 +396,13 @@ _cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Dou
};
};
//BA.debugLineNum = 245;BA.debugLine="Log(cuenta0)";
-__c.LogImpl("08126588",_cuenta0,0);
+__c.LogImpl("68126588",_cuenta0,0);
//BA.debugLineNum = 246;BA.debugLine="Log(Cuenta1)";
-__c.LogImpl("08126589",_cuenta1,0);
+__c.LogImpl("68126589",_cuenta1,0);
//BA.debugLineNum = 247;BA.debugLine="Log(Cuenta2)";
-__c.LogImpl("08126590",_cuenta2,0);
+__c.LogImpl("68126590",_cuenta2,0);
//BA.debugLineNum = 248;BA.debugLine="Log(Cuenta3)";
-__c.LogImpl("08126591",_cuenta3,0);
+__c.LogImpl("68126591",_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 = 251;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2";
@@ -429,7 +429,7 @@ _printer1._disconnect /*String*/ ();
//BA.debugLineNum = 270;BA.debugLine="Printer1.Connect";
_printer1._connect /*boolean*/ ();
//BA.debugLineNum = 271;BA.debugLine="Log(\"2\")";
-__c.LogImpl("08126614","2",0);
+__c.LogImpl("68126614","2",0);
};
//BA.debugLineNum = 274;BA.debugLine="Dim pag As Cursor = Starter.skmt.ExecQuery(\"selec";
_pag = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
@@ -576,7 +576,7 @@ if (_c.GetString("CAT_CL_ATIENTE2")!= null && (_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 = 107;BA.debugLine="Log(\"|\"&c.GetString(\"CAT_CL_ATIENTE2\")&\"|\")";
-__c.LogImpl("08060953","|"+_c.GetString("CAT_CL_ATIENTE2")+"|",0);
+__c.LogImpl("68060953","|"+_c.GetString("CAT_CL_ATIENTE2")+"|",0);
}else {
//BA.debugLineNum = 109;BA.debugLine="l_atiende2.Text = \" \"";
_l_atiende2.setText(BA.ObjectToCharSequence(" "));
@@ -769,7 +769,7 @@ _b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._lat_gps /
//BA.debugLineNum = 321;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK";
_b4xpages._mainpage /*reparto_medicomed.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("08257541","Coords set to: "+_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ +" and "+_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,0);
+__c.LogImpl("68257541","Coords set to: "+_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ +" and "+_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,0);
};
//BA.debugLineNum = 325;BA.debugLine="If LATITUD.Length < 5 Then";
if (_latitud.length()<5) {
@@ -780,7 +780,7 @@ _l2 = new anywheresoftware.b4a.gps.LocationWrapper();
//BA.debugLineNum = 331;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPag";
_l1.Initialize2(_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ );
//BA.debugLineNum = 332;BA.debugLine="Log($\"Coordenadas de la tienda - lat:${LATITUD},";
-__c.LogImpl("08257551",("Coordenadas de la tienda - lat:"+__c.SmartStringFormatter("",(Object)(_latitud))+", lon:"+__c.SmartStringFormatter("",(Object)(_longitud))+""),0);
+__c.LogImpl("68257551",("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";
@@ -806,7 +806,7 @@ _b_noentrega.setVisible(__c.False);
_hist.setVisible(__c.False);
};
//BA.debugLineNum = 352;BA.debugLine="Log(\"DISTANCIA \"&distance)";
-__c.LogImpl("08257571","DISTANCIA "+BA.NumberToString(_distance),0);
+__c.LogImpl("68257571","DISTANCIA "+BA.NumberToString(_distance),0);
};
//BA.debugLineNum = 355;BA.debugLine="Dim sDate,sTime As String";
_sdate = "";
@@ -1047,12 +1047,12 @@ Object[] _records = null;
String _k = "";
//BA.debugLineNum = 1001;BA.debugLine="Sub JobDone(Job As HttpJob)";
//BA.debugLineNum = 1002;BA.debugLine="Log(Job.Success)";
-__c.LogImpl("09371649",BA.ObjectToString(_job._success /*boolean*/ ),0);
+__c.LogImpl("69371649",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 = 1006;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
-__c.LogImpl("09371653","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_medicomed.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_medicomed.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
+__c.LogImpl("69371653","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_medicomed.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_medicomed.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 = 1008;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo";
@@ -1064,7 +1064,7 @@ _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ );
//BA.debugLineNum = 1011;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_";
_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24));
//BA.debugLineNum = 1012;BA.debugLine="Log($\"Cliente1:${cliente}\"$)";
-__c.LogImpl("09371659",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
+__c.LogImpl("69371659",("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 = 1014;BA.debugLine="For Each records() As Object In resultado.Rows";
@@ -1084,7 +1084,7 @@ final int groupLen13 = group13.getSize()
for (; index13 < groupLen13;index13++){
_k = BA.ObjectToString(group13.Get(index13));
//BA.debugLineNum = 1016;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record";
-__c.LogImpl("09371663",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("69371663",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
@@ -1109,7 +1109,7 @@ reparto_medicomed.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
//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 = 983;BA.debugLine="Log($\"REPARTO_Cliente PENDIENTE: ${c.RowCount}\"$)";
-__c.LogImpl("09306114",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
+__c.LogImpl("69306114",("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 = 985;BA.debugLine="For i=0 To c.RowCount -1";
@@ -1174,12 +1174,12 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_
//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 = 892;BA.debugLine="LogColor(\"Impresora conectada\", Colors.Green)";
-__c.LogImpl("09043974","Impresora conectada",__c.Colors.Green);
+__c.LogImpl("69043974","Impresora conectada",__c.Colors.Green);
//BA.debugLineNum = 894;BA.debugLine="impresoraConectada = True";
_impresoraconectada = __c.True;
}else {
//BA.debugLineNum = 898;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors";
-__c.LogImpl("09043980","Error conectando la impresora",__c.Colors.Red);
+__c.LogImpl("69043980","Error conectando la impresora",__c.Colors.Red);
//BA.debugLineNum = 899;BA.debugLine="errorImpresora = errorImpresora + 1";
_errorimpresora = (int) (_errorimpresora+1);
//BA.debugLineNum = 900;BA.debugLine="If errorImpresora > 1 Then";
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_clientes.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_clientes.java
index 9a0df1c..0c4b82e 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_clientes.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_clientes.java
@@ -50,10 +50,10 @@ public String _rutaacambiar = "";
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
@@ -250,7 +250,7 @@ case 18:
this.state = 19;
;
//BA.debugLineNum = 489;BA.debugLine="Log($\"locActual: ${locActual}, thisLoc1: ${this";
-parent.__c.LogImpl("010158103",("locActual: "+parent.__c.SmartStringFormatter("",(Object)(_locactual))+", thisLoc1: "+parent.__c.SmartStringFormatter("",(Object)(_thisloc1))+""),0);
+parent.__c.LogImpl("610158103",("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("010158105",("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("610158105",("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("010158108","|"+BA.NumberToString(_tid)+"| - "+BA.ObjectToString(parent._distorderedmap._get /*Object*/ ((Object)(_tid))),parent.__c.Colors.Blue);
+parent.__c.LogImpl("610158108","|"+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("010158112",_tempndd,0);
+parent.__c.LogImpl("610158112",_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("09633852",BA.ObjectToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ),0);
+__c.LogImpl("69633852",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("09699331",parent._entro,0);
+parent.__c.LogImpl("69699331",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("09568264","Coordenadas del almacen: "+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude())+","+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()),0);
+__c.LogImpl("69568264","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("010485766","=================================",0);
+parent.__c.LogImpl("610485766","=================================",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("010485777",_coordsstr,0);
+parent.__c.LogImpl("610485777",_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("010485782",("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("610485782",("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("010485788",BA.ObjectToString(_m),0);
+parent.__c.LogImpl("610485788",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("010485790","===== OK",0);
+parent.__c.LogImpl("610485790","===== 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("010485819",("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("610485819",("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("010485828","**************** Error! ******************",parent.__c.Colors.Red);
+parent.__c.LogImpl("610485828","**************** 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("010027020",("Respuesta: "+parent.__c.SmartStringFormatter("",_m.Get((Object)("code")))+""),0);
+parent.__c.LogImpl("610027020",("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("010027030",("Distancia total: "+parent.__c.SmartStringFormatter("",(Object)(_distanciatotal))+", Tiempo: "+parent.__c.SmartStringFormatter("",(Object)(_tiempo))+""),0);
+parent.__c.LogImpl("610027030",("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("010027033","Error!",0);
+parent.__c.LogImpl("610027033","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("09764866",BA.ObjectToString(_value),0);
+parent.__c.LogImpl("69764866",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("09764884",("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("69764884",("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("010551297",_laruta,0);
+__c.LogImpl("610551297",_laruta,0);
//BA.debugLineNum = 668;BA.debugLine="Log(entro)";
-__c.LogImpl("010551298",_entro,0);
+__c.LogImpl("610551298",_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("010551309",BA.ObjectToString(_avisitar),0);
+__c.LogImpl("610551309",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("010092546",("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("610092546",("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("010092561",("a visitar: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()))+""),0);
+parent.__c.LogImpl("610092561",("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("010092615",("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("610092615",("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("010092619","Error!",0);
+parent.__c.LogImpl("610092619","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("010092653","distancia ruta 2:"+BA.NumberToString((_distanciatotal))+"|"+BA.ObjectToString(_rutas2.Get((Object)("distance"))),0);
+parent.__c.LogImpl("610092653","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("010092657",("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("610092657",("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("010092666","**************** Error! ******************",parent.__c.Colors.Red);
+parent.__c.LogImpl("610092666","**************** 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("010092674","BORRAMOS WAYPOINTS",0);
+parent.__c.LogImpl("610092674","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("010092679",BA.ObjectToString(parent._listawaypoints.Get(_r))+"|"+BA.ObjectToString(_r1.Get((Object)("coords")))+"|"+BA.ObjectToString(_r1.Get((Object)("calle"))),0);
+parent.__c.LogImpl("610092679",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("010092695","Generamos ListView1 en traeRutaDia",0);
+parent.__c.LogImpl("610092695","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("010223617","Iniciamos traeTodosAVisitar",0);
+__c.LogImpl("610223617","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("010223622",BA.ObjectToString(_ubicacioninicial),__c.Colors.Gray);
+__c.LogImpl("610223622",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("010223630",BA.ObjectToString(_ubicacioninicial),__c.Colors.Red);
+__c.LogImpl("610223630",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("010223664",BA.NumberToString(_c.getRowCount())+" rutas, "+BA.NumberToString(_clientesmapao._getsize /*int*/ ())+" clientes",0);
+__c.LogImpl("610223664",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_medicomed/keymon/lat/c_detalle_promo.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_detalle_promo.java
index 83f2541..318f97a 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_detalle_promo.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_detalle_promo.java
@@ -38,10 +38,10 @@ public String _existe = "";
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_detalleventa.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_detalleventa.java
index f5c403e..2e170f8 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_detalleventa.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_detalleventa.java
@@ -72,10 +72,10 @@ public anywheresoftware.b4a.objects.LabelWrapper _l_piezas = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = 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("011862019","b_prodMas_Click",__c.Colors.Magenta);
+__c.LogImpl("611862019","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("011862028","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("611862028","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("011862033",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
+__c.LogImpl("611862033",("++++++++++++++++++++++++++ "+__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("011862053",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
+__c.LogImpl("611862053",("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("011862070",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
+__c.LogImpl("611862070",("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("012189699","b_prodMas_Click",__c.Colors.Magenta);
+__c.LogImpl("612189699","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("012189708","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("612189708","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("012189712",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red);
+__c.LogImpl("612189712",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red);
//BA.debugLineNum = 945;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)";
-__c.LogImpl("012189713",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red);
+__c.LogImpl("612189713",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red);
//BA.debugLineNum = 946;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag";
-__c.LogImpl("012189714",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
+__c.LogImpl("612189714",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
//BA.debugLineNum = 948;BA.debugLine="Log(maxProds)";
-__c.LogImpl("012189716",_maxprods,0);
+__c.LogImpl("612189716",_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("012189723",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0);
+__c.LogImpl("612189723",("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("012189726",_lacantc.getText(),0);
+__c.LogImpl("612189726",_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("011796482","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
+__c.LogImpl("611796482","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
//BA.debugLineNum = 509;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
-__c.LogImpl("011796483","b_prodMenos_Click",__c.Colors.Magenta);
+__c.LogImpl("611796483","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("011796490","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("611796490","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("011796540","ES PROMO",0);
+__c.LogImpl("611796540","ES PROMO",0);
//BA.debugLineNum = 567;BA.debugLine="Log(esteTag.Get(3))";
-__c.LogImpl("011796541",BA.ObjectToString(_estetag.Get((int) (3))),0);
+__c.LogImpl("611796541",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("011796548",BA.ObjectToString(_estetag.Get((int) (3))),__c.Colors.Blue);
+__c.LogImpl("611796548",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("011796556",BA.ObjectToString(_prodsmap),__c.Colors.Red);
+__c.LogImpl("611796556",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("011796565","NO ES promo",0);
+__c.LogImpl("611796565","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("011796574","NO ES promo",0);
+__c.LogImpl("611796574","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("011796585","NO ES promo",0);
+__c.LogImpl("611796585","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("011796611","PU: "+BA.NumberToString(_preciou),0);
+__c.LogImpl("611796611","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("012255234","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
+__c.LogImpl("612255234","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
//BA.debugLineNum = 975;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
-__c.LogImpl("012255235","b_prodMenos_Click",__c.Colors.Magenta);
+__c.LogImpl("612255235","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("012255242","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("612255242","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("012255243",BA.ObjectToString(_estetag),0);
+__c.LogImpl("612255243",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("012255247",BA.NumberToString(_c3.getRowCount()),0);
+__c.LogImpl("612255247",BA.NumberToString(_c3.getRowCount()),0);
//BA.debugLineNum = 988;BA.debugLine="Log(esteTag.Get(8))";
-__c.LogImpl("012255248",BA.ObjectToString(_estetag.Get((int) (8))),0);
+__c.LogImpl("612255248",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("012255250","AQUI VEMOS SI ACTUALIZAMOS",0);
+__c.LogImpl("612255250","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("012255258","entre al if o algo asi ",0);
+__c.LogImpl("612255258","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("012255270","entre al if o algo asi ",0);
+__c.LogImpl("612255270","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("012255288","AQUI VEMOS SI ACTUALIZAMOS",0);
+__c.LogImpl("612255288","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("012255296","entre al if o algo asi ",0);
+__c.LogImpl("612255296","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("012255309","PU: "+BA.NumberToString(_preciou),0);
+__c.LogImpl("612255309","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("011272299","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0);
+__c.LogImpl("611272299","#####################"+_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("011272304","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0);
+__c.LogImpl("611272304","#####################"+_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("011272323",_c4.GetString("PE_CANT"),0);
+__c.LogImpl("611272323",_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("011272420",_cuenta+","+_cuenta1+","+_cuenta2+","+_cuenta3,0);
+__c.LogImpl("611272420",_cuenta+","+_cuenta1+","+_cuenta2+","+_cuenta3,0);
//BA.debugLineNum = 297;BA.debugLine="Log(arti&\",\"&arti1&\",\"&arti2&\",\"&arti3)";
-__c.LogImpl("011272421",_arti+","+_arti1+","+_arti2+","+_arti3,0);
+__c.LogImpl("611272421",_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("012124161",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("612124161",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_medicomed/keymon/lat/c_foto.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_foto.java
index 956b6f4..eada024 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_foto.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_foto.java
@@ -39,10 +39,10 @@ public String _motivo = "";
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = 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("013303810",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0);
+__c.LogImpl("613303810",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("012910597",BA.ObjectToString(_camex._getpreviewsize /*reparto_medicomed.keymon.lat.cameraexclass._camerasize*/ ()),0);
+__c.LogImpl("612910597",BA.ObjectToString(_camex._getpreviewsize /*reparto_medicomed.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_medicomed/keymon/lat/c_historico.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_historico.java
index 1270237..20b6a1a 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_historico.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_historico.java
@@ -64,10 +64,10 @@ public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = 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("016252931","b_prodMas_Click",__c.Colors.Magenta);
+__c.LogImpl("617498115","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("016252940","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("617498124","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("016252945",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
+__c.LogImpl("617498129",("++++++++++++++++++++++++++ "+__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("016252948",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
+__c.LogImpl("617498132",("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("016187394","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
+__c.LogImpl("617432578","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
//BA.debugLineNum = 343;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
-__c.LogImpl("016187395","b_prodMenos_Click",__c.Colors.Magenta);
+__c.LogImpl("617432579","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("016187402","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("617432586","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("016187404","ES PROMO",0);
+__c.LogImpl("617432588","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("016187410",BA.ObjectToString(_prodsmap),__c.Colors.Red);
+__c.LogImpl("617432594",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("016187422","PU: "+BA.NumberToString(_preciou),0);
+__c.LogImpl("617432606","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("015728694",("VENTA: "+__c.SmartStringFormatter("",(Object)(_vc.getRowCount()))+""),0);
+__c.LogImpl("616973878",("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("016318466","*******************************************************",0);
+__c.LogImpl("617563650","*******************************************************",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("016318469","*********** CUENTAPRODS - NO RECONSTRUIR",0);
+__c.LogImpl("617563653","*********** 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("016318478","-------------------------------------",0);
+__c.LogImpl("617563662","-------------------------------------",0);
//BA.debugLineNum = 443;BA.debugLine="Log($\"ET: ${esteTag}\"$)";
-__c.LogImpl("016318479",("ET: "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),0);
+__c.LogImpl("617563663",("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("016318494",(""+__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("617563678",(""+__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("016318497",("cantRechazada = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),__c.Colors.Magenta);
+__c.LogImpl("617563681",("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("016318509","INSERTAMOS EN REPARTO",0);
+__c.LogImpl("617563693","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("016318516",("Actualizamos REP_CANT RECHAZO = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),0);
+__c.LogImpl("617563700",("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("016318529","-------------------------------------",0);
+__c.LogImpl("617563713","-------------------------------------",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("016318535","*********** CUENTAPRODS - SI RECONSTRUIR",0);
+__c.LogImpl("617563719","*********** 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("016318538","Usamos PRODSMAP",0);
+__c.LogImpl("617563722","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("016318541","PPP: "+_pr+"|PromoABorrar="+_promoaborrar+"|"+BA.ObjectToString(_pr1),0);
+__c.LogImpl("617563725","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("016318546","AAA: "+_newpromo+"|"+_promoaborrar,0);
+__c.LogImpl("617563730","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("016318552","CAMBIAMOS PROMO: "+_newpromo,__c.Colors.Magenta);
+__c.LogImpl("617563736","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("016318558",("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("617563742",("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("016318564",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0);
+__c.LogImpl("617563748",("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("016318565","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Green);
+__c.LogImpl("617563749","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Green);
//BA.debugLineNum = 532;BA.debugLine="LogColor(prodsMap, Colors.Blue)";
-__c.LogImpl("016318568",BA.ObjectToString(_prodsmap),__c.Colors.Blue);
+__c.LogImpl("617563752",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("016515073",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("617760257",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_medicomed/keymon/lat/c_mapas.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_mapas.java
index a783e79..e4e00fc 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_mapas.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_mapas.java
@@ -29,10 +29,10 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_noventa.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_noventa.java
index dd33367..dfaf3f3 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_noventa.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_noventa.java
@@ -47,10 +47,10 @@ public reparto_medicomed.keymon.lat.dbrequestmanager _reqmanager = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
@@ -373,7 +373,7 @@ 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";
-parent.__c.LogImpl("017170476",("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);
+parent.__c.LogImpl("616580652",("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";
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;
@@ -421,7 +421,7 @@ this.state = 55;
//BA.debugLineNum = 107;BA.debugLine="c.Position=i";
parent._c.setPosition(_i);
//BA.debugLineNum = 108;BA.debugLine="Log($\"REGISTRO= ${c.GetString(\"HVD_NUM_REGIST";
-parent.__c.LogImpl("017170484",("REGISTRO= "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_NUM_REGISTRO")))+""),0);
+parent.__c.LogImpl("616580660",("REGISTRO= "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_NUM_REGISTRO")))+""),0);
//BA.debugLineNum = 109;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repar";
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";
@@ -587,12 +587,12 @@ Object[] _records = null;
String _k = "";
//BA.debugLineNum = 176;BA.debugLine="Sub JobDone(Job As HttpJob)";
//BA.debugLineNum = 177;BA.debugLine="Log(Job.Success)";
-__c.LogImpl("017301505",BA.ObjectToString(_job._success /*boolean*/ ),0);
+__c.LogImpl("616711681",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 = 181;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
-__c.LogImpl("017301509","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_medicomed.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_medicomed.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
+__c.LogImpl("616711685","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_medicomed.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_medicomed.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 = 183;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo";
@@ -604,7 +604,7 @@ _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ );
//BA.debugLineNum = 186;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_";
_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24));
//BA.debugLineNum = 187;BA.debugLine="Log($\"Cliente1:${cliente}\"$)";
-__c.LogImpl("017301515",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
+__c.LogImpl("616711691",("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 = 189;BA.debugLine="For Each records() As Object In resultado.Rows";
@@ -624,7 +624,7 @@ final int groupLen13 = group13.getSize()
for (; index13 < groupLen13;index13++){
_k = BA.ObjectToString(group13.Get(index13));
//BA.debugLineNum = 191;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record";
-__c.LogImpl("017301519",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("616711695",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
@@ -644,7 +644,7 @@ reparto_medicomed.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
//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 = 158;BA.debugLine="Log($\"REPARTO_Cliente PENDIENTE: ${c.RowCount}\"$)";
-__c.LogImpl("017235970",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
+__c.LogImpl("616646146",("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 = 160;BA.debugLine="For i=0 To c.RowCount -1";
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_nuevocliente.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_nuevocliente.java
index 59a9e8d..25fe5ce 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_nuevocliente.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_nuevocliente.java
@@ -29,10 +29,10 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_pedidos.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_pedidos.java
index 81138fb..bc70cfb 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_pedidos.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_pedidos.java
@@ -29,10 +29,10 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_principal.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_principal.java
index fab5bc3..11606b0 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_principal.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_principal.java
@@ -121,10 +121,10 @@ public anywheresoftware.b4a.objects.LabelWrapper _lversionname = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
@@ -221,10 +221,10 @@ if ((_c.GetString("gestion")).equals("2")) {
//BA.debugLineNum = 1815;BA.debugLine="ESTATUS = \"ENTREGADO\"";
_estatus = "ENTREGADO";
//BA.debugLineNum = 1816;BA.debugLine="Log(\"entrega\")";
-__c.LogImpl("014811164","entrega",0);
+__c.LogImpl("614811164","entrega",0);
}else if((_c.GetString("gestion")).equals("3")) {
//BA.debugLineNum = 1818;BA.debugLine="Log(\"no entrega\")";
-__c.LogImpl("014811166","no entrega",0);
+__c.LogImpl("614811166","no entrega",0);
//BA.debugLineNum = 1819;BA.debugLine="ESTATUS = \"RECHAZADO\"";
_estatus = "RECHAZADO";
}else {
@@ -365,7 +365,7 @@ _totalcantidad = BA.NumberToString((double)(Double.parseDouble(_arti))+(double)(
//BA.debugLineNum = 1899;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 = 1900;BA.debugLine="Log(\"si entre2\")";
-__c.LogImpl("014811248","si entre2",0);
+__c.LogImpl("614811248","si entre2",0);
}else if((_estatus).equals("RECHAZADO")) {
//BA.debugLineNum = 1904;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery";
_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
@@ -499,7 +499,7 @@ _totalmonto = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(double)(
//BA.debugLineNum = 1975;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 = 1977;BA.debugLine="Log(\"si entre\")";
-__c.LogImpl("014811325","si entre",0);
+__c.LogImpl("614811325","si entre",0);
//BA.debugLineNum = 1978;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));
};
@@ -598,7 +598,7 @@ return "";
public String _b_regresa_click() throws Exception{
//BA.debugLineNum = 2015;BA.debugLine="Sub B_REGRESA_Click";
//BA.debugLineNum = 2016;BA.debugLine="Log(\"B_REGRESA_Click\")";
-__c.LogImpl("014876673","B_REGRESA_Click",0);
+__c.LogImpl("614876673","B_REGRESA_Click",0);
//BA.debugLineNum = 2017;BA.debugLine="BUSCA.Visible = False";
_busca.setVisible(__c.False);
//BA.debugLineNum = 2018;BA.debugLine="connecta.Visible = True";
@@ -1051,7 +1051,7 @@ _totalcantped = _r6.GetString("PE_CANT");
_totalcantped = BA.NumberToString(0);
};
//BA.debugLineNum = 419;BA.debugLine="Log(r5.GetString(\"HVD_RECHAZOCANT\") &\" - \"& tot";
-__c.LogImpl("013697272",_r5.GetString("HVD_RECHAZOCANT")+" - "+_totalcantped,0);
+__c.LogImpl("613697272",_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 = 422;BA.debugLine="r6.Close";
@@ -1063,7 +1063,7 @@ _r6.Close();
if ((_rescant).equals("NaN")) {
_rescant = BA.NumberToString(0);};
//BA.debugLineNum = 426;BA.debugLine="LogColor(rescant,Colors.Red)";
-__c.LogImpl("013697279",_rescant,__c.Colors.Red);
+__c.LogImpl("613697279",_rescant,__c.Colors.Red);
//BA.debugLineNum = 427;BA.debugLine="r5.Close";
_r5.Close();
//BA.debugLineNum = 431;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
@@ -1099,7 +1099,7 @@ _r6.Close();
if (_rescant2==(double)(Double.parseDouble("NaN"))) {
_rescant2 = 0;};
//BA.debugLineNum = 448;BA.debugLine="Log(rescant2)";
-__c.LogImpl("013697301",BA.NumberToString(_rescant2),0);
+__c.LogImpl("613697301",BA.NumberToString(_rescant2),0);
//BA.debugLineNum = 449;BA.debugLine="r5.Close";
_r5.Close();
//BA.debugLineNum = 454;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\"";
@@ -1135,7 +1135,7 @@ _rescantr = BA.NumberToString(0);};
//BA.debugLineNum = 470;BA.debugLine="r5r.Close";
_r5r.Close();
//BA.debugLineNum = 472;BA.debugLine="Log(rescantr)";
-__c.LogImpl("013697325",_rescantr,0);
+__c.LogImpl("613697325",_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' "))));
@@ -1169,9 +1169,9 @@ _rescant2r = BA.NumberToString(0);};
//BA.debugLineNum = 491;BA.debugLine="r5r.Close";
_r5r.Close();
//BA.debugLineNum = 492;BA.debugLine="Log(rescant2r)";
-__c.LogImpl("013697345",_rescant2r,0);
+__c.LogImpl("613697345",_rescant2r,0);
//BA.debugLineNum = 493;BA.debugLine="Log(rescant2r+rescantr)";
-__c.LogImpl("013697346",BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(double)(Double.parseDouble(_rescantr))),0);
+__c.LogImpl("613697346",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' "))));
@@ -1195,7 +1195,7 @@ _rescant3 = (double)(Double.parseDouble(__c.NumberFormat2(_rescant3,(int) (0),(i
};
};
//BA.debugLineNum = 519;BA.debugLine="Log(rescant3)";
-__c.LogImpl("013697372",BA.NumberToString(_rescant3),0);
+__c.LogImpl("613697372",BA.NumberToString(_rescant3),0);
//BA.debugLineNum = 520;BA.debugLine="r55.Close";
_r55.Close();
//BA.debugLineNum = 525;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
@@ -1211,7 +1211,7 @@ _r5.setPosition((int) (0));
_rescant4 = (double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")));
};
//BA.debugLineNum = 531;BA.debugLine="Log(rescant4)";
-__c.LogImpl("013697384",BA.NumberToString(_rescant4),0);
+__c.LogImpl("613697384",BA.NumberToString(_rescant4),0);
//BA.debugLineNum = 532;BA.debugLine="r5.Close";
_r5.Close();
//BA.debugLineNum = 534;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
@@ -1227,7 +1227,7 @@ _r5.setPosition((int) (0));
_rescant5 = (double)(Double.parseDouble(_r5.GetString("PE_COSTO_TOT")));
};
//BA.debugLineNum = 540;BA.debugLine="Log(rescant5)";
-__c.LogImpl("013697393",BA.NumberToString(_rescant5),0);
+__c.LogImpl("613697393",BA.NumberToString(_rescant5),0);
//BA.debugLineNum = 541;BA.debugLine="r5.Close";
_r5.Close();
//BA.debugLineNum = 546;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
@@ -1261,7 +1261,7 @@ _r6.Close();
if (_rescant6==(double)(Double.parseDouble("NaN"))) {
_rescant6 = 0;};
//BA.debugLineNum = 561;BA.debugLine="LogColor(rescant6,Colors.Red)";
-__c.LogImpl("013697414",BA.NumberToString(_rescant6),__c.Colors.Red);
+__c.LogImpl("613697414",BA.NumberToString(_rescant6),__c.Colors.Red);
//BA.debugLineNum = 562;BA.debugLine="r5.Close";
_r5.Close();
//BA.debugLineNum = 564;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
@@ -1295,7 +1295,7 @@ _r6.Close();
if (_rescant7==(double)(Double.parseDouble("NaN"))) {
_rescant7 = 0;};
//BA.debugLineNum = 577;BA.debugLine="Log(rescant7)";
-__c.LogImpl("013697430",BA.NumberToString(_rescant7),0);
+__c.LogImpl("613697430",BA.NumberToString(_rescant7),0);
//BA.debugLineNum = 578;BA.debugLine="r5.Close";
_r5.Close();
//BA.debugLineNum = 581;BA.debugLine="l_rechazo.text = NumberFormat2((rescant + rescant";
@@ -1393,7 +1393,7 @@ case 3:
//C
this.state = 10;
//BA.debugLineNum = 1686;BA.debugLine="Log(\"PANEL1 VISIBLE\")";
-parent.__c.LogImpl("014352387","PANEL1 VISIBLE",0);
+parent.__c.LogImpl("614352387","PANEL1 VISIBLE",0);
//BA.debugLineNum = 1687;BA.debugLine="B_REGRESA_Click";
parent._b_regresa_click();
if (true) break;
@@ -1562,11 +1562,11 @@ _cp.setPosition((int) (0));
//BA.debugLineNum = 978;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA";
_fecha = _cp.GetString("NV_FECHA");
//BA.debugLineNum = 979;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))";
-__c.LogImpl("014155782",_cp.GetString("NV_FECHA"),0);
+__c.LogImpl("614155782",_cp.GetString("NV_FECHA"),0);
//BA.debugLineNum = 980;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)";
_fecha2 = __c.Regex.Split(" ",_fecha);
//BA.debugLineNum = 981;BA.debugLine="Log(fecha2(0))";
-__c.LogImpl("014155784",_fecha2[(int) (0)],0);
+__c.LogImpl("614155784",_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 = 983;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\"";
@@ -1576,11 +1576,11 @@ __c.DateTime.setTimeFormat("");
//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 = 986;BA.debugLine="Log(dia)";
-__c.LogImpl("014155789",_dia,0);
+__c.LogImpl("614155789",_dia,0);
//BA.debugLineNum = 987;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)";
_dia2 = __c.DateTime.Date(__c.DateTime.getNow());
//BA.debugLineNum = 988;BA.debugLine="Log(dia & \" , \" & dia2)";
-__c.LogImpl("014155791",_dia+" , "+_dia2,0);
+__c.LogImpl("614155791",_dia+" , "+_dia2,0);
//BA.debugLineNum = 989;BA.debugLine="If dia < dia2 Then";
if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) {
//BA.debugLineNum = 990;BA.debugLine="pedidodiaanterior = True";
@@ -1590,7 +1590,7 @@ _pedidodiaanterior = __c.True;
//BA.debugLineNum = 993;BA.debugLine="If Not (pedidodiaanterior) Then";
if (__c.Not(_pedidodiaanterior)) {
//BA.debugLineNum = 994;BA.debugLine="Log(\"CUMPLE\")";
-__c.LogImpl("014155797","CUMPLE",0);
+__c.LogImpl("614155797","CUMPLE",0);
//BA.debugLineNum = 995;BA.debugLine="EJECUTANDO = 1";
_ejecutando = BA.NumberToString(1);
//BA.debugLineNum = 996;BA.debugLine="reqs.Initialize";
@@ -1598,7 +1598,7 @@ _reqs.Initialize();
//BA.debugLineNum = 997;BA.debugLine="TOPE = 0";
_tope = (int) (0);
//BA.debugLineNum = 998;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve";
-__c.LogImpl("014155801",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
+__c.LogImpl("614155801",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_medicomed.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_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
//BA.debugLineNum = 1001;BA.debugLine="Dim cmd As DBCommand";
@@ -1626,7 +1626,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PUNTE
//BA.debugLineNum = 1015;BA.debugLine="If l_ruta.Text = \"0\" Then '";
if ((_l_ruta.getText()).equals("0")) {
//BA.debugLineNum = 1016;BA.debugLine="Log(\"********************* No hay ruta, BORRAM";
-__c.LogImpl("014155819","********************* No hay ruta, BORRAMOS TODO",0);
+__c.LogImpl("614155819","********************* 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 = 1018;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna";
@@ -1641,7 +1641,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA");
}else {
//BA.debugLineNum = 1024;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM";
-__c.LogImpl("014155827","********************* Hay ruta, NO BORRAMOS TODO",0);
+__c.LogImpl("614155827","********************* Hay ruta, NO BORRAMOS TODO",0);
};
//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")));
@@ -1658,7 +1658,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object
//BA.debugLineNum = 1035;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("punteo"));
//BA.debugLineNum = 1036;BA.debugLine="Log($\"Pedimos Punteo\"$)";
-__c.LogImpl("014155839",("Pedimos Punteo"),0);
+__c.LogImpl("614155839",("Pedimos Punteo"),0);
//BA.debugLineNum = 1037;BA.debugLine="reqs.Add(\"punteo\")";
_reqs.Add((Object)("punteo"));
//BA.debugLineNum = 1040;BA.debugLine="cmd.Initialize";
@@ -1670,7 +1670,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
//BA.debugLineNum = 1043;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod"));
//BA.debugLineNum = 1044;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.t";
-__c.LogImpl("014155847",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0);
+__c.LogImpl("614155847",("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 = 1049;BA.debugLine="cmd.Initialize";
@@ -1682,7 +1682,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object
//BA.debugLineNum = 1052;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos"));
//BA.debugLineNum = 1053;BA.debugLine="Log($\"Pedimos kmt_datos\"$)";
-__c.LogImpl("014155856",("Pedimos kmt_datos"),0);
+__c.LogImpl("614155856",("Pedimos kmt_datos"),0);
//BA.debugLineNum = 1054;BA.debugLine="reqs.Add(\"kmt_datos\")";
_reqs.Add((Object)("kmt_datos"));
//BA.debugLineNum = 1056;BA.debugLine="cmd.Initialize";
@@ -1694,7 +1694,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object
//BA.debugLineNum = 1059;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos"));
//BA.debugLineNum = 1060;BA.debugLine="Log($\"Pedimos hist_datos\"$)";
-__c.LogImpl("014155863",("Pedimos hist_datos"),0);
+__c.LogImpl("614155863",("Pedimos hist_datos"),0);
//BA.debugLineNum = 1061;BA.debugLine="reqs.Add(\"hist_datos\")";
_reqs.Add((Object)("hist_datos"));
//BA.debugLineNum = 1063;BA.debugLine="cmd.Initialize";
@@ -1746,7 +1746,7 @@ if (__c.Not(_isconnectedtointernet())) {
__c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);};
}else {
//BA.debugLineNum = 1122;BA.debugLine="Log(\"XXXX\")";
-__c.LogImpl("014155925","XXXX",0);
+__c.LogImpl("614155925","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);
};
@@ -1973,7 +1973,7 @@ return "";
public String _connecta_click() throws Exception{
//BA.debugLineNum = 1699;BA.debugLine="Sub connecta_Click";
//BA.debugLineNum = 1700;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
-__c.LogImpl("014417921",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
+__c.LogImpl("614417921",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
//BA.debugLineNum = 1701;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);};
@@ -2139,13 +2139,13 @@ case 3:
//C
this.state = 4;
//BA.debugLineNum = 729;BA.debugLine="Log($\"Procesando HIST_VENTAS (rechazos/parciales";
-parent.__c.LogImpl("014090273",("Procesando HIST_VENTAS (rechazos/parciales): "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("614090273",("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("014090276",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("614090276",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 734;BA.debugLine="For i=0 To c.RowCount -1";
if (true) break;
@@ -2216,13 +2216,13 @@ case 11:
//C
this.state = 12;
//BA.debugLineNum = 748;BA.debugLine="Log($\"Procesando PEDIDO: ${c.RowCount} registros";
-parent.__c.LogImpl("014090292",("Procesando PEDIDO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("614090292",("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("014090295",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("614090295",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 753;BA.debugLine="For i=0 To c.RowCount -1";
if (true) break;
@@ -2293,13 +2293,13 @@ case 19:
//C
this.state = 20;
//BA.debugLineNum = 767;BA.debugLine="Log($\"Procesando REPARTO: ${c.RowCount} registro";
-parent.__c.LogImpl("014090311",("Procesando REPARTO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("614090311",("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("014090314",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("614090314",("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";
@@ -2372,13 +2372,13 @@ case 27:
//C
this.state = 28;
//BA.debugLineNum = 787;BA.debugLine="Log($\"Procesando RECHAZOS: ${c.RowCount} registr";
-parent.__c.LogImpl("014090331",("Procesando RECHAZOS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("614090331",("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("014090334",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("614090334",("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";
@@ -2451,13 +2451,13 @@ case 35:
//C
this.state = 36;
//BA.debugLineNum = 807;BA.debugLine="Log($\"Procesando VENTAS: ${c.RowCount} registros";
-parent.__c.LogImpl("014090351",("Procesando VENTAS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("614090351",("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("014090354",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("614090354",("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";
@@ -2530,13 +2530,13 @@ case 43:
//C
this.state = 44;
//BA.debugLineNum = 827;BA.debugLine="Log($\"Procesando REPARTO_GEO: ${c.RowCount} regi";
-parent.__c.LogImpl("014090371",("Procesando REPARTO_GEO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("614090371",("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("014090374",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("614090374",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 832;BA.debugLine="For i=0 To c.RowCount -1";
if (true) break;
@@ -2619,13 +2619,13 @@ case 51:
//C
this.state = 52;
//BA.debugLineNum = 852;BA.debugLine="Log($\"Procesando TABULADOR_MONEDAS: ${c.RowCount";
-parent.__c.LogImpl("014090396",("Procesando TABULADOR_MONEDAS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("614090396",("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("014090399",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("614090399",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 857;BA.debugLine="For i = 0 To c.RowCount - 1";
if (true) break;
@@ -2708,13 +2708,13 @@ case 59:
//C
this.state = 60;
//BA.debugLineNum = 877;BA.debugLine="Log($\"Procesando HIST_VENTAS (actualización): ${";
-parent.__c.LogImpl("014090421",("Procesando HIST_VENTAS (actualización): "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("614090421",("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("014090424",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("614090424",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 882;BA.debugLine="For i=0 To c.RowCount -1";
if (true) break;
@@ -2745,14 +2745,14 @@ this.state = 63;
//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("014090428",parent._c.GetString("HVD_CLIENTE"),0);
+parent.__c.LogImpl("614090428",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)(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 = 887;BA.debugLine="Log(d4.GetString(\"CAT_CL_RUTA\"))";
-parent.__c.LogImpl("014090431",_d4.GetString("CAT_CL_RUTA"),0);
+parent.__c.LogImpl("614090431",_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)(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")))+"'"))));
@@ -2769,11 +2769,11 @@ _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 = 896;BA.debugLine="Log(fecha3)";
-parent.__c.LogImpl("014090440",_fecha3,0);
+parent.__c.LogImpl("614090440",_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("014090442",_hora[(int) (0)],0);
+parent.__c.LogImpl("614090442",_hora[(int) (0)],0);
//BA.debugLineNum = 900;BA.debugLine="Dim sDate, sTime As String";
_sdate = "";
_stime = "";
@@ -2801,7 +2801,7 @@ case 65:
//C
this.state = 68;
//BA.debugLineNum = 906;BA.debugLine="Log((c.GetString(\"HVD_RECHAZOCANT\")-restacant)";
-parent.__c.LogImpl("014090450",BA.NumberToString(((double)(Double.parseDouble(parent._c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))),0);
+parent.__c.LogImpl("614090450",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_MEDICOMEDv2rep2\"";
@@ -2820,7 +2820,7 @@ parent._cmd.Initialize();
//BA.debugLineNum = 913;BA.debugLine="cmd.Name = \"update_HVD_MEDICOMEDv2rep2\"";
parent._cmd.Name /*String*/ = "update_HVD_MEDICOMEDv2rep2";
//BA.debugLineNum = 914;BA.debugLine="Log( c.GetString(\"CANTC\")& c.GetString(\"HVD_CL";
-parent.__c.LogImpl("014090458",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);
+parent.__c.LogImpl("614090458",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\")";
@@ -2876,13 +2876,13 @@ case 73:
//C
this.state = 74;
//BA.debugLineNum = 932;BA.debugLine="Log($\"Procesando TABULADOR_BILLETES: ${c.RowCoun";
-parent.__c.LogImpl("014090476",("Procesando TABULADOR_BILLETES: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0);
+parent.__c.LogImpl("614090476",("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("014090479",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("614090479",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 937;BA.debugLine="For i = 0 To c.RowCount - 1";
if (true) break;
@@ -2960,7 +2960,7 @@ parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._subs._dameu
//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("014090505",("PROCESO COMPLETADO - TOTAL DE REGISTROS PROCESADOS: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("614090505",("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";
@@ -2972,11 +2972,11 @@ case 97:
this.state = -1;
;
//BA.debugLineNum = 966;BA.debugLine="Log($\"Total registros procesados: ${totalRegistro";
-parent.__c.LogImpl("014090510",("Total registros procesados: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
+parent.__c.LogImpl("614090510",("Total registros procesados: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0);
//BA.debugLineNum = 967;BA.debugLine="Log($\"Requests exitosos: ${successfulRequests}\"$)";
-parent.__c.LogImpl("014090511",("Requests exitosos: "+parent.__c.SmartStringFormatter("",(Object)(parent._successfulrequests))+""),0);
+parent.__c.LogImpl("614090511",("Requests exitosos: "+parent.__c.SmartStringFormatter("",(Object)(parent._successfulrequests))+""),0);
//BA.debugLineNum = 968;BA.debugLine="LogColor(\"Esto es totalRegistrosTotales: ---->\" &";
-parent.__c.LogImpl("014090512","Esto es totalRegistrosTotales: ---->"+BA.NumberToString(parent._totalregistrostotales),parent.__c.Colors.Red);
+parent.__c.LogImpl("614090512","Esto es totalRegistrosTotales: ---->"+BA.NumberToString(parent._totalregistrostotales),parent.__c.Colors.Red);
//BA.debugLineNum = 971;BA.debugLine="End Sub";
if (true) break;
@@ -3108,26 +3108,26 @@ double _lon = 0;
String _k = "";
//BA.debugLineNum = 1128;BA.debugLine="Sub JobDone(Job As HttpJob)";
//BA.debugLineNum = 1130;BA.debugLine="Log(todosRequest)";
-__c.LogImpl("014221314",BA.NumberToString(_todosrequest),0);
+__c.LogImpl("614221314",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("014221316",BA.NumberToString(_todosrequest),0);
+__c.LogImpl("614221316",BA.NumberToString(_todosrequest),0);
//BA.debugLineNum = 1133;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) {
//BA.debugLineNum = 1134;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro";
-__c.LogImpl("014221318","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red);
+__c.LogImpl("614221318","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red);
}else {
//BA.debugLineNum = 1137;BA.debugLine="LogColor(\"Esto es totalRegistros: \" & totalRegis";
-__c.LogImpl("014221321","Esto es totalRegistros: "+BA.NumberToString(_totalregistros),__c.Colors.Red);
+__c.LogImpl("614221321","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("014221324","Esto es successfulRequests: "+BA.NumberToString(_successfulrequests),0);
+__c.LogImpl("614221324","Esto es successfulRequests: "+BA.NumberToString(_successfulrequests),0);
//BA.debugLineNum = 1141;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
-__c.LogImpl("014221325","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_medicomed.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_medicomed.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
+__c.LogImpl("614221325","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_medicomed.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_medicomed.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 = 1143;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
@@ -3225,7 +3225,7 @@ if (_reqs.IndexOf((Object)("gunaprod3"))>-1) {
//BA.debugLineNum = 1193;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod3\"))";
_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprod3")));
//BA.debugLineNum = 1194;BA.debugLine="Log(reqs.Size)";
-__c.LogImpl("014221378",BA.NumberToString(_reqs.getSize()),0);
+__c.LogImpl("614221378",BA.NumberToString(_reqs.getSize()),0);
};
//BA.debugLineNum = 1196;BA.debugLine="Starter.skmt.BeginTransaction";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction();
@@ -3305,7 +3305,7 @@ if (_reqs.IndexOf((Object)("gunaprod"))>-1) {
//BA.debugLineNum = 1236;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod\"))";
_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprod")));
//BA.debugLineNum = 1237;BA.debugLine="Log(reqs.Size)";
-__c.LogImpl("014221421",BA.NumberToString(_reqs.getSize()),0);
+__c.LogImpl("614221421",BA.NumberToString(_reqs.getSize()),0);
};
//BA.debugLineNum = 1239;BA.debugLine="Starter.skmt.BeginTransaction";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction();
@@ -3377,7 +3377,7 @@ if (_reqs.IndexOf((Object)("gunaprodp"))>-1) {
//BA.debugLineNum = 1275;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprodp\"))";
_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprodp")));
//BA.debugLineNum = 1276;BA.debugLine="Log(reqs.Size)";
-__c.LogImpl("014221460",BA.NumberToString(_reqs.getSize()),0);
+__c.LogImpl("614221460",BA.NumberToString(_reqs.getSize()),0);
};
//BA.debugLineNum = 1278;BA.debugLine="For Each records() As Object In result.Rows";
{
@@ -3446,7 +3446,7 @@ if (_reqs.IndexOf((Object)("detallepaq"))>-1) {
//BA.debugLineNum = 1312;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"detallepaq\"))";
_reqs.RemoveAt(_reqs.IndexOf((Object)("detallepaq")));
//BA.debugLineNum = 1313;BA.debugLine="Log(reqs.Size)";
-__c.LogImpl("014221497",BA.NumberToString(_reqs.getSize()),0);
+__c.LogImpl("614221497",BA.NumberToString(_reqs.getSize()),0);
};
//BA.debugLineNum = 1315;BA.debugLine="For Each records() As Object In result.Rows";
{
@@ -3550,7 +3550,7 @@ if (_reqs.IndexOf((Object)("punteo"))>0) {
//BA.debugLineNum = 1368;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))";
_reqs.RemoveAt(_reqs.IndexOf((Object)("punteo")));
//BA.debugLineNum = 1369;BA.debugLine="Log(reqs.Size)";
-__c.LogImpl("014221553",BA.NumberToString(_reqs.getSize()),0);
+__c.LogImpl("614221553",BA.NumberToString(_reqs.getSize()),0);
};
//BA.debugLineNum = 1371;BA.debugLine="Starter.skmt.BeginTransaction";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction();
@@ -3590,9 +3590,9 @@ if (_reqs.IndexOf((Object)("hist_datos"))>-1) {
_reqs.RemoveAt(_reqs.IndexOf((Object)("hist_datos")));
};
//BA.debugLineNum = 1391;BA.debugLine="Log(l_ruta.text)";
-__c.LogImpl("014221575",_l_ruta.getText(),0);
+__c.LogImpl("614221575",_l_ruta.getText(),0);
//BA.debugLineNum = 1392;BA.debugLine="Log($\"******** Insertamos HV - ${result.Rows.";
-__c.LogImpl("014221576",("******** Insertamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0);
+__c.LogImpl("614221576",("******** Insertamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0);
//BA.debugLineNum = 1393;BA.debugLine="Starter.skmt.BeginTransaction";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction();
//BA.debugLineNum = 1394;BA.debugLine="Dim consecutivo As Int= 0";
@@ -3638,7 +3638,7 @@ _consecutivo = (int) (_consecutivo+1);
//BA.debugLineNum = 1412;BA.debugLine="If l_ruta.Text = \"0\" Then 'Si no hay ruta car";
if ((_l_ruta.getText()).equals("0")) {
//BA.debugLineNum = 1413;BA.debugLine="Log(\"No hay ruta, guardamos todos\")";
-__c.LogImpl("014221597","No hay ruta, guardamos todos",0);
+__c.LogImpl("614221597","No hay ruta, guardamos todos",0);
//BA.debugLineNum = 1414;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 = 1415;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST";
@@ -3650,7 +3650,7 @@ _tc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjec
//BA.debugLineNum = 1419;BA.debugLine="If tc.RowCount = 0 Then";
if (_tc.getRowCount()==0) {
//BA.debugLineNum = 1420;BA.debugLine="Log($\"Guardamos ${HVD_CLIENTE}\"$)";
-__c.LogImpl("014221604",("Guardamos "+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+""),0);
+__c.LogImpl("614221604",("Guardamos "+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+""),0);
//BA.debugLineNum = 1421;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 = 1422;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS";
@@ -3664,7 +3664,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful();
//BA.debugLineNum = 1427;BA.debugLine="Starter.skmt.EndTransaction";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction();
//BA.debugLineNum = 1428;BA.debugLine="Log($\"******** Terminamos HV - ${result.Rows.";
-__c.LogImpl("014221612",("******** Terminamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0);
+__c.LogImpl("614221612",("******** Terminamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0);
//BA.debugLineNum = 1442;BA.debugLine="Listo3 =1";
_listo3 = BA.NumberToString(1);
//BA.debugLineNum = 1443;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then";
@@ -3877,7 +3877,7 @@ if (_reqs.IndexOf((Object)("ruta"))>-1) {
//BA.debugLineNum = 1557;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"ruta\"))";
_reqs.RemoveAt(_reqs.IndexOf((Object)("ruta")));
//BA.debugLineNum = 1558;BA.debugLine="Log(reqs.Size)";
-__c.LogImpl("014221742",BA.NumberToString(_reqs.getSize()),0);
+__c.LogImpl("614221742",BA.NumberToString(_reqs.getSize()),0);
};
//BA.debugLineNum = 1560;BA.debugLine="For Each records() As Object In result.Rows";
{
@@ -3946,7 +3946,7 @@ final int groupLen401 = group401.getSize()
for (; index401 < groupLen401;index401++){
_records = (Object[])(group401.Get(index401));
//BA.debugLineNum = 1593;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res";
-__c.LogImpl("014221777","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0);
+__c.LogImpl("614221777","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 = 1594;BA.debugLine="Private lat, lon As Double";
_lat = 0;
_lon = 0;
@@ -3996,7 +3996,7 @@ final int groupLen421 = group421.getSize()
for (; index421 < groupLen421;index421++){
_k = BA.ObjectToString(group421.Get(index421));
//BA.debugLineNum = 1615;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)";
-__c.LogImpl("014221799",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
+__c.LogImpl("614221799",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
@@ -4026,7 +4026,7 @@ final int groupLen431 = group431.getSize()
for (; index431 < groupLen431;index431++){
_k = BA.ObjectToString(group431.Get(index431));
//BA.debugLineNum = 1626;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)";
-__c.LogImpl("014221810",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
+__c.LogImpl("614221810",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
@@ -4056,15 +4056,15 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into CHEC
_c.Close();
};
//BA.debugLineNum = 1652;BA.debugLine="Log(\"--------------------------------------------";
-__c.LogImpl("014221836","---------------------------------------------------",0);
+__c.LogImpl("614221836","---------------------------------------------------",0);
//BA.debugLineNum = 1653;BA.debugLine="Log(totalRegistrosTotales)";
-__c.LogImpl("014221837",BA.NumberToString(_totalregistrostotales),0);
+__c.LogImpl("614221837",BA.NumberToString(_totalregistrostotales),0);
//BA.debugLineNum = 1654;BA.debugLine="Log(successfulRequests)";
-__c.LogImpl("014221838",BA.NumberToString(_successfulrequests),0);
+__c.LogImpl("614221838",BA.NumberToString(_successfulrequests),0);
//BA.debugLineNum = 1655;BA.debugLine="Log(todosRequest)";
-__c.LogImpl("014221839",BA.NumberToString(_todosrequest),0);
+__c.LogImpl("614221839",BA.NumberToString(_todosrequest),0);
//BA.debugLineNum = 1656;BA.debugLine="Log(NumberFormat2(((todosRequest/ totalRegistrosT";
-__c.LogImpl("014221840",__c.NumberFormat2(((_todosrequest/(double)_totalregistrostotales)*100),(int) (1),(int) (0),(int) (0),__c.False),0);
+__c.LogImpl("614221840",__c.NumberFormat2(((_todosrequest/(double)_totalregistrostotales)*100),(int) (1),(int) (0),(int) (0),__c.False),0);
//BA.debugLineNum = 1658;BA.debugLine="If totalRegistrosTotales > 0 Then";
if (_totalregistrostotales>0) {
//BA.debugLineNum = 1659;BA.debugLine="pbEnvioInfo.Progress = NumberFormat2(((todosRequ";
@@ -4079,9 +4079,9 @@ _lenviainfo.setText(BA.ObjectToCharSequence("Enviando Informacion: %"+BA.Numbe
};
};
//BA.debugLineNum = 1667;BA.debugLine="Log(\"--------------------------------------------";
-__c.LogImpl("014221851","---------------------------------------------------",0);
+__c.LogImpl("614221851","---------------------------------------------------",0);
//BA.debugLineNum = 1668;BA.debugLine="Log(todosRequest >= totalRegistrosTotales)";
-__c.LogImpl("014221852",BA.ObjectToString(_todosrequest>=_totalregistrostotales),0);
+__c.LogImpl("614221852",BA.ObjectToString(_todosrequest>=_totalregistrostotales),0);
//BA.debugLineNum = 1670;BA.debugLine="If todosRequest < totalRegistrosTotales Then";
if (_todosrequest<_totalregistrostotales) {
}else {
@@ -4095,11 +4095,11 @@ public String _listview1_itemclick(int _position,Object _value) throws Exceptio
String[] _clieasing = null;
//BA.debugLineNum = 2050;BA.debugLine="Private Sub ListView1_ItemClick (Position As Int,";
//BA.debugLineNum = 2051;BA.debugLine="Log(Value)";
-__c.LogImpl("015138817",BA.ObjectToString(_value),0);
+__c.LogImpl("615138817",BA.ObjectToString(_value),0);
//BA.debugLineNum = 2053;BA.debugLine="Dim clieasing() As String = Regex.Split(\" \", Valu";
_clieasing = __c.Regex.Split(" ",BA.ObjectToString(_value));
//BA.debugLineNum = 2054;BA.debugLine="Log(clieasing(0))";
-__c.LogImpl("015138820",_clieasing[(int) (0)],0);
+__c.LogImpl("615138820",_clieasing[(int) (0)],0);
//BA.debugLineNum = 2056;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA");
//BA.debugLineNum = 2057;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V";
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_productos.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_productos.java
index 418ad8c..c5e7e07 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_productos.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_productos.java
@@ -75,10 +75,10 @@ public anywheresoftware.b4a.objects.LabelWrapper _l_cajas = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = 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("018546696","b_prodMas_Click",__c.Colors.Magenta);
+__c.LogImpl("619202056","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("018546705","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("619202065","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("018546721",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
+__c.LogImpl("619202081",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
//BA.debugLineNum = 698;BA.debugLine="Log(esteTag.get(4))";
-__c.LogImpl("018546722",BA.ObjectToString(_estetag.Get((int) (4))),0);
+__c.LogImpl("619202082",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 * 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("018546727",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
+__c.LogImpl("619202087",("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";
@@ -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("018612227","b_prodMas_Click",__c.Colors.Magenta);
+__c.LogImpl("619267587","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("018612232",_lacantc.getText()+"-----------------------------",__c.Colors.Blue);
+__c.LogImpl("619267592",_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("018612237","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("619267597","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("018612241",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red);
+__c.LogImpl("619267601",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red);
//BA.debugLineNum = 808;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)";
-__c.LogImpl("018612242",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red);
+__c.LogImpl("619267602",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red);
//BA.debugLineNum = 809;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag";
-__c.LogImpl("018612243",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
+__c.LogImpl("619267603",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
//BA.debugLineNum = 811;BA.debugLine="Log(maxProds)";
-__c.LogImpl("018612245",_maxprods,0);
+__c.LogImpl("619267605",_maxprods,0);
//BA.debugLineNum = 814;BA.debugLine="Log(esteTag.Get(4))";
-__c.LogImpl("018612248",BA.ObjectToString(_estetag.Get((int) (4))),0);
+__c.LogImpl("619267608",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("018612253",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0);
+__c.LogImpl("619267613",("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("018612256",BA.ObjectToString(_estetag),__c.Colors.Magenta);
+__c.LogImpl("619267616",BA.ObjectToString(_estetag),__c.Colors.Magenta);
//BA.debugLineNum = 824;BA.debugLine="LogColor(laCantc.Text,Colors.Red)";
-__c.LogImpl("018612258",_lacantc.getText(),__c.Colors.Red);
+__c.LogImpl("619267618",_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("018612270","aqui2",0);
+__c.LogImpl("619267630","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("018612277",_puc,0);
+__c.LogImpl("619267637",_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("018481154","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
+__c.LogImpl("619136514","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
//BA.debugLineNum = 561;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
-__c.LogImpl("018481155","b_prodMenos_Click",__c.Colors.Magenta);
+__c.LogImpl("619136515","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("018481162","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("619136522","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("018481213","NO ES promo",0);
+__c.LogImpl("619136573","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("018481245","PU: "+BA.NumberToString(_preciou),0);
+__c.LogImpl("619136605","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("018677762","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
+__c.LogImpl("619333122","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
//BA.debugLineNum = 858;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
-__c.LogImpl("018677763","b_prodMenos_Click",__c.Colors.Magenta);
+__c.LogImpl("619333123","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("018677770","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
+__c.LogImpl("619333130","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("018677786","entre al if o algo asi ",0);
+__c.LogImpl("619333146","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("018677797","PU: "+BA.NumberToString(_preciou),0);
+__c.LogImpl("619333157","PU: "+BA.NumberToString(_preciou),0);
//BA.debugLineNum = 893;BA.debugLine="End Sub";
return "";
}
@@ -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("017956958",_c.GetString("HVD_CODPROMO"),0);
+__c.LogImpl("618612318",_c.GetString("HVD_CODPROMO"),0);
//BA.debugLineNum = 169;BA.debugLine="Log(Subs.traeAlmacen)";
-__c.LogImpl("017956959",_subs._traealmacen /*String*/ (ba),0);
+__c.LogImpl("618612319",_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("017956965","aqui arriba",0);
+__c.LogImpl("618612325","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("017956990",_c.GetString("HVD_CODPROMO"),0);
+__c.LogImpl("618612350",_c.GetString("HVD_CODPROMO"),0);
//BA.debugLineNum = 201;BA.debugLine="Log(Subs.traeAlmacen)";
-__c.LogImpl("017956991",_subs._traealmacen /*String*/ (ba),0);
+__c.LogImpl("618612351",_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("017956996","aqui abajo",0);
+__c.LogImpl("618612356","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("017957008","AQUI1",0);
+__c.LogImpl("618612368","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("017957046","SI ENTRO A PONER CAJAS BIEN ",0);
+__c.LogImpl("618612406","SI ENTRO A PONER CAJAS BIEN ",0);
//BA.debugLineNum = 257;BA.debugLine="Log(c2.GetString(\"PE_CAJAS\"))";
-__c.LogImpl("017957047",_c2.GetString("PE_CAJAS"),0);
+__c.LogImpl("618612407",_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("017957060",BA.NumberToString(((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),__c.Colors.Green);
+__c.LogImpl("618612420",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("017957063","NO ENTRO A PONER CAJAS BIEN ",0);
+__c.LogImpl("618612423","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("017957075",_resta,__c.Colors.Green);
+__c.LogImpl("618612435",_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("018415630",BA.NumberToString(_inv)+" inventario 1",0);
+__c.LogImpl("619070990",BA.NumberToString(_inv)+" inventario 1",0);
//BA.debugLineNum = 539;BA.debugLine="Log(inv2&\" inventario 2\")";
-__c.LogImpl("018415631",BA.NumberToString(_inv2)+" inventario 2",0);
+__c.LogImpl("619070991",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("019070977",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("619726337",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_medicomed/keymon/lat/c_tabulador.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_tabulador.java
index cbd9597..e559608 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_tabulador.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_tabulador.java
@@ -49,10 +49,10 @@ public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = 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("019333126","TABULADR CON RESUKTADO",0);
+__c.LogImpl("619988486","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("019333141","TABULADR SIN RESUKTADO",0);
+__c.LogImpl("619988501","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_medicomed/keymon/lat/c_ticketsdia.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_ticketsdia.java
index ef126f4..a77afdf 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_ticketsdia.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_ticketsdia.java
@@ -29,10 +29,10 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_updateavailable.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_updateavailable.java
index 5c91500..0a639d0 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/c_updateavailable.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/c_updateavailable.java
@@ -29,10 +29,10 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = 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("019922954","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0);
+parent.__c.LogImpl("620578314","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0);
if (true) break;
if (true) break;
;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/cameraexclass.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/cameraexclass.java
index 9316841..51e0445 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/cameraexclass.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/cameraexclass.java
@@ -34,10 +34,10 @@ public Object _parameters = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
@@ -79,7 +79,7 @@ if (_success) {
_takepicture();
}else {
//BA.debugLineNum = 279;BA.debugLine="Log(\"AutoFocus error.\")";
-__c.LogImpl("022347780","AutoFocus error.",0);
+__c.LogImpl("623003140","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("020447240","success = false, "+BA.ObjectToString(__c.LastException(ba)),0);
+__c.LogImpl("621102600","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("021102598",BA.ObjectToString(__c.LastException(ba)),0);
+__c.LogImpl("621757958",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("022020103","Continuous focus mode is not available",0);
+__c.LogImpl("622675463","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("020381712",BA.NumberToString(_previewresult),0);
+__c.LogImpl("621037072",BA.NumberToString(_previewresult),0);
};
//BA.debugLineNum = 75;BA.debugLine="r.target = nativeCam";
_r.Target = _nativecam;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/cl_appupdate.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/cl_appupdate.java
index 75d7ba3..db5c3d8 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/cl_appupdate.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/cl_appupdate.java
@@ -63,10 +63,10 @@ public int _logcolor1 = 0;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/dbrequestmanager.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/dbrequestmanager.java
index 80dae37..b840745 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/dbrequestmanager.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/dbrequestmanager.java
@@ -42,10 +42,10 @@ public String _jobtaganterior = "";
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = 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("023265292","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.Blue);};
+__c.LogImpl("623920652","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("023527425","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("624182785","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("023527431",_sb.ToString(),0);
+__c.LogImpl("624182791",_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_medicomed/keymon/lat/escposprinter.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/escposprinter.java
index d074b86..490c7b0 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/escposprinter.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/escposprinter.java
@@ -61,10 +61,10 @@ public String _defaults = "";
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = 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("027066372","Data "+BA.NumberToString(_buffer[(int) (0)]),0);
+__c.LogImpl("627721732","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("023920650","aqui 1",0);
+__c.LogImpl("624576010","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("023920653","aqui 2",0);
+__c.LogImpl("624576013","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("023920664","aqui 3",0);
+__c.LogImpl("624576024","aqui 3",0);
};
//BA.debugLineNum = 126;BA.debugLine="Log(\"aqui 4\")";
-__c.LogImpl("023920666","aqui 4",0);
+__c.LogImpl("624576026","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("023920673","aqui 5",0);
+__c.LogImpl("624576033","aqui 5",0);
};
}
catch (Exception e31) {
ba.setLastException(e31); //BA.debugLineNum = 136;BA.debugLine="Log(LastException)";
-__c.LogImpl("023920676",BA.ObjectToString(__c.LastException(getActivityBA())),0);
+__c.LogImpl("624576036",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("025231402","Triangle "+_logmsg,0);
+__c.LogImpl("625886762","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("025231405","Circle "+_logmsg,0);
+__c.LogImpl("625886765","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("025231408","Box "+_logmsg,0);
+__c.LogImpl("625886768","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("025231411","Line "+_logmsg,0);
+__c.LogImpl("625886771","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("026869763","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0);
+__c.LogImpl("627525123","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("026935300","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0);
+__c.LogImpl("627590660","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("024969222","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0);
+__c.LogImpl("625624582","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0);
//BA.debugLineNum = 306;BA.debugLine="AStream_Error";
_astream_error();
};
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/fileprovider.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/fileprovider.java
index f92793a..072b2b2 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/fileprovider.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/fileprovider.java
@@ -30,10 +30,10 @@ public anywheresoftware.b4a.objects.RuntimePermissions _rp = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/foto.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/foto.java
index b78c21c..124788f 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/foto.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/foto.java
@@ -349,9 +349,9 @@ public static String _motivo = "";
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = 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("028114946",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("628770306",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("027721733",BA.ObjectToString(mostCurrent._camex._getpreviewsize /*reparto_medicomed.keymon.lat.cameraexclass._camerasize*/ ()),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("628377093",BA.ObjectToString(mostCurrent._camex._getpreviewsize /*reparto_medicomed.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_medicomed/keymon/lat/httpjob.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/httpjob.java
index 4c1c342..29f65e5 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/httpjob.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/httpjob.java
@@ -40,10 +40,10 @@ public String _defaultscheme = "";
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/httputils2service.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/httputils2service.java
index 457da18..92c33c2 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/httputils2service.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/httputils2service.java
@@ -51,10 +51,10 @@ public static int _taskcounter = 0;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
@@ -69,7 +69,7 @@ _job = (reparto_medicomed.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("048758790","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("648758790","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_medicomed.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("048693250",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("648693250",("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_medicomed.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("048693255","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("648693255","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_medicomed.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("048562179","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("648562179","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("048234503",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("648234503",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0);
//BA.debugLineNum = 35;BA.debugLine="Log(\"Switching to File.DirInternal\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("048234504","Switching to File.DirInternal",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("648234504","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_medicomed/keymon/lat/madewithlove.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/madewithlove.java
index 876d124..aadf2bc 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/madewithlove.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/madewithlove.java
@@ -32,10 +32,10 @@ public Object _tag = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/main.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/main.java
index d29f83c..369462c 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/main.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/main.java
@@ -339,10 +339,10 @@ public anywheresoftware.b4a.keywords.Common __c = null;
public static boolean _actionbarhomeclicked = false;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
@@ -428,10 +428,10 @@ public static void initializeProcessGlobals() {
b4a.example.dateutils._process_globals();
main._process_globals();
appupdater._process_globals();
+starter._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();
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/manageexternalstorage.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/manageexternalstorage.java
index f6aca78..a2b232b 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/manageexternalstorage.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/manageexternalstorage.java
@@ -30,10 +30,10 @@ public String _meventname = "";
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = 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("028573697","Calling : "+_meventname+"_StorageAvailable",0);
+__c.LogImpl("629229057","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_medicomed/keymon/lat/mapa_cliente.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/mapa_cliente.java
index 498d379..ec83a66 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/mapa_cliente.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/mapa_cliente.java
@@ -361,9 +361,9 @@ public anywheresoftware.b4a.objects.ButtonWrapper _b_regresar = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = 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("029360129","Pressed",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("630015489","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_medicomed/keymon/lat/mapa_rutas.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/mapa_rutas.java
index cb5ce17..ca3d08a 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/mapa_rutas.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/mapa_rutas.java
@@ -383,9 +383,9 @@ public static String _semana = "";
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/newinst2.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/newinst2.java
index 07cfd33..6cd23cd 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/newinst2.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/newinst2.java
@@ -142,10 +142,10 @@ public static int _logcolor1 = 0;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.b4xpages _b4xpages = null;
@@ -166,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("039190529","-- AppUpdating.NewInst2: processing MyAppReload",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("639190529","-- 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\")";
@@ -189,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("038928385","---- AppUpdating.newinst2: service created",_logcolor1);
+anywheresoftware.b4a.keywords.Common.LogImpl("638928385","---- AppUpdating.newinst2: service created",_logcolor1);
//BA.debugLineNum = 15;BA.debugLine="pkg = \"\"";
_pkg = "";
//BA.debugLineNum = 16;BA.debugLine="svcVerbose = False";
@@ -205,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("038993921","---- AppUpdating.newinst2: service_started",_logcolor1);
+anywheresoftware.b4a.keywords.Common.LogImpl("638993921","---- 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("038993923",(""+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("638993923",(""+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("038993924",(""+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("638993924",(""+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("038993925",(""+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("638993925",(""+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("038993926",(""+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("638993926",(""+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("038993929",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("638993929",(""+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("038993931",(""+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("638993931",(""+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_medicomed/keymon/lat/roundslider.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/roundslider.java
index 2097107..82f3365 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/roundslider.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/roundslider.java
@@ -48,10 +48,10 @@ public boolean _mrollover = false;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/scrollinglabel.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/scrollinglabel.java
index d156381..86db533 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/scrollinglabel.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/scrollinglabel.java
@@ -39,10 +39,10 @@ public int _mtextcolor = 0;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/starter.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/starter.java
index e74a81e..ae0b8e7 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/starter.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/starter.java
@@ -182,7 +182,7 @@ reparto_medicomed.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("030736386","Con internet, enviamos UTR!",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("615990786","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";
@@ -197,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_medicomed.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("030736395","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Red);};
+anywheresoftware.b4a.keywords.Common.LogImpl("615990795","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";
@@ -218,7 +218,7 @@ _cmd.Name /*String*/ = "UPDATE_MEDICOMEDv2_ACTUALR3_GPS";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ),(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()),(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ )};
//BA.debugLineNum = 117;BA.debugLine="If B4XPages.MainPage.logger Then Log($\"montoActu";
if (mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("030736406",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+", montoRechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+", montoEntregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+", porVisitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+", entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+", rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+", Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("615990806",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+", montoRechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+", montoEntregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+", porVisitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+", entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+", rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+", Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_medicomed.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";
@@ -231,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("030736416","Sin conexión a internet, no se envió UTR!",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("615990816","Sin conexión a internet, no se envió UTR!",0);
};
//BA.debugLineNum = 129;BA.debugLine="End Sub";
return "";
@@ -307,8 +307,8 @@ _sharedfolder = "";
_cedislocation = new anywheresoftware.b4a.gps.LocationWrapper();
//BA.debugLineNum = 29;BA.debugLine="Dim reqManager As DBRequestManager";
_reqmanager = new reparto_medicomed.keymon.lat.dbrequestmanager();
- //BA.debugLineNum = 30;BA.debugLine="Dim server As String = \"http://187.189.244.154:17";
-_server = "http://187.189.244.154:1781";
+ //BA.debugLineNum = 30;BA.debugLine="Dim server As String = \"http://keymon.net:1781\"";
+_server = "http://keymon.net:1781";
//BA.debugLineNum = 34;BA.debugLine="Dim muestraProgreso = 0";
_muestraprogreso = BA.NumberToString(0);
//BA.debugLineNum = 35;BA.debugLine="Dim c As Cursor";
@@ -324,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("030343174",_ruta,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("615597574",_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_medicomed/keymon/lat/subs.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/subs.java
index 5f92ceb..d6f0a62 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/subs.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/subs.java
@@ -23,10 +23,10 @@ public static int _rutahrsatras = 0;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
public reparto_medicomed.keymon.lat.b4xpages _b4xpages = 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("034865158",("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("634865158",("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("034865158",("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("034865163",("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("634865163",("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("034865165",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("634865165",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("032768002","Recortamos la tabla de Errores, limite de 100",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+anywheresoftware.b4a.keywords.Common.LogImpl("632768002","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("032833538","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+anywheresoftware.b4a.keywords.Common.LogImpl("632833538","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("032440321","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+anywheresoftware.b4a.keywords.Common.LogImpl("632440321","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("031064070",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("631064070",("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("033161239","rootExternal="+_p,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("633161239","rootExternal="+_p,0);
//BA.debugLineNum = 535;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
-anywheresoftware.b4a.keywords.Common.LogImpl("033161240","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("633161240","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
//BA.debugLineNum = 536;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
-anywheresoftware.b4a.keywords.Common.LogImpl("033161241","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("633161241","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("032964609","dameErroresJSON",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("632964609","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("032964629",_j.ToString(),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("632964629",_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_medicomed.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("031588363","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("631588363","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_medicomed.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("031588366","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("631588366","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("031129605",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("631129605",("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("032178181","Hoy="+_h,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("632178181","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("033030157","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("633030157","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("033030161",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("633030161",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("033030162",("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("633030162",("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_medicomed.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("031522817","Guardamos ubicacion en BD - "+_coords,0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("631522817","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("031522825",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("631522825",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("032899074","insertamos 50 renglones a errorLog",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("632899074","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("032899077",BA.NumberToString(_x),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("632899077",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("031981575",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("631981575",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("032243713",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+anywheresoftware.b4a.keywords.Common.LogImpl("632243713",_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("032374795",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("632374795",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("031326215","notiHigh: "+_title,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("631326215","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("031391747","notiLowReturn: "+_title,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("631391747","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("034471937","RECHAZO DEVOLUCION",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("634471937","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("034471941","INSERTAMOS EN REPARTO",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("634471941","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("034471954",("ACTUALIZAMOS REPARTO"),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("634471954",("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("034406405",("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("634406405",("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("034406406",("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("634406406",("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("032636929",("**** **** 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("632636929",("**** **** 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("032636951"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
+anywheresoftware.b4a.keywords.Common.LogImpl("632636951"," +++ +++ 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_medicomed.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("032571396",("**** 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("632571396",("**** 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_medicomed.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("032571399","++++ 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("632571399","++++ 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("034209799",(""+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("634209799",(""+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("034603032",("CANT="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", MONTO="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("634603032",("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("035127307",_fecha3,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("635127307",_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("035127317",_fecha3,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("635127317",_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_medicomed/keymon/lat/swiftbutton.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/swiftbutton.java
index 45d3614..5d8cd68 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/swiftbutton.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/swiftbutton.java
@@ -42,10 +42,10 @@ public boolean _mhaptic = false;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/tracker.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/tracker.java
index e74399a..0219cc8 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/tracker.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/tracker.java
@@ -149,10 +149,10 @@ public static String _pushserviceactividad = "";
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
public reparto_medicomed.keymon.lat.b4xpages _b4xpages = null;
@@ -164,7 +164,7 @@ uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null;
//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_medicomed.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("035979265","CreateLocationRequest",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("635979265","CreateLocationRequest",0);};
//BA.debugLineNum = 147;BA.debugLine="Dim lr As LocationRequest";
_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest();
//BA.debugLineNum = 148;BA.debugLine="lr.Initialize";
@@ -189,7 +189,7 @@ uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null;
//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_medicomed.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("036044801","Iniciamos CreateLocationRequest2times",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("636044801","Iniciamos CreateLocationRequest2times",0);};
//BA.debugLineNum = 159;BA.debugLine="Dim lr As LocationRequest";
_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest();
//BA.debugLineNum = 160;BA.debugLine="lr.Initialize";
@@ -258,7 +258,7 @@ String _coords = "";
if (_flp.GetLastKnownLocation().IsInitialized()) {
//BA.debugLineNum = 173;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"Mand";
if (mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("036110339",("Mandamos UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|Acc:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|Spd:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));};
+anywheresoftware.b4a.keywords.Common.LogImpl("636110339",("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 = 176;BA.debugLine="Subs.mandamosLoc(coords)";
@@ -271,7 +271,7 @@ public static String _flp_connectionfailed(int _connectionresult1) throws Excep
//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_medicomed.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("035586049","Failed to connect to location provider",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("635586049","Failed to connect to location provider",0);};
//BA.debugLineNum = 87;BA.debugLine="End Sub";
return "";
}
@@ -284,7 +284,7 @@ public static String _flp_connectionsuspended(int _connectionresult1) throws Ex
//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_medicomed.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("035651585","FLP conection suspended",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("635651585","FLP conection suspended",0);};
//BA.debugLineNum = 91;BA.debugLine="StartFLP";
_startflp();
//BA.debugLineNum = 92;BA.debugLine="End Sub";
@@ -325,18 +325,18 @@ mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSE
catch (Exception e14) {
processBA.setLastException(e14); //BA.debugLineNum = 206;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Error al b";
if (mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("036241426","Error al borrar o insertar nuevas coordendas en HIST_GPS",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("636241426","Error al borrar o insertar nuevas coordendas en HIST_GPS",0);};
};
//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 = 210;BA.debugLine="Log(\"Loc changed : \"&Location1.Latitude&\",\"&Locat";
-anywheresoftware.b4a.keywords.Common.LogImpl("036241430","Loc changed : "+BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude()),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("636241430","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_medicomed.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("036241431","Mandamos Ubicacion",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("636241431","Mandamos Ubicacion",0);};
//BA.debugLineNum = 212;BA.debugLine="If B4XPages.MainPage.logger Then Log(locRequest)";
if (mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("036241432",_locrequest,0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("636241432",_locrequest,0);};
//BA.debugLineNum = 214;BA.debugLine="If Location1.Accuracy < 100 Then";
if (_location1.getAccuracy()<100) {
//BA.debugLineNum = 215;BA.debugLine="Subs.guardaInfoEnBD(coords)'Escribimos coordenad";
@@ -354,7 +354,7 @@ _minsdif = (int) ((double)(Double.parseDouble(anywheresoftware.b4a.keywords.Comm
if (_location1.getAccuracy()<100 && _minsdif>240) {
//BA.debugLineNum = 224;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"actualizam";
if (mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("036241444","actualizamos Ubicacion Web",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("636241444","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");
};
@@ -444,7 +444,7 @@ return "";
public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{
//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("035717121","Iniciando Tracker ...",anywheresoftware.b4a.keywords.Common.Colors.Green);
+anywheresoftware.b4a.keywords.Common.LogImpl("635717121","Iniciando Tracker ...",anywheresoftware.b4a.keywords.Common.Colors.Green);
//BA.debugLineNum = 96;BA.debugLine="Service.StopAutomaticForeground";
mostCurrent._service.StopAutomaticForeground();
//BA.debugLineNum = 98;BA.debugLine="StartServiceAt(Me, DateTime.Now + 10 * DateTime.T";
@@ -551,7 +551,7 @@ this.state = 3;
case 3:
//C
this.state = 6;
-anywheresoftware.b4a.keywords.Common.LogImpl("035913729","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("635913729","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0);
if (true) break;
case 6:
@@ -594,7 +594,7 @@ this.state = 12;
case 12:
//C
this.state = 15;
-anywheresoftware.b4a.keywords.Common.LogImpl("035913732","sleeping GR",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("635913732","sleeping GR",0);
if (true) break;
case 15:
@@ -624,7 +624,7 @@ this.state = 19;
case 19:
//C
this.state = 22;
-anywheresoftware.b4a.keywords.Common.LogImpl("035913736","Buscamos ubicacion 2 peticiones",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("635913736","Buscamos ubicacion 2 peticiones",0);
if (true) break;
case 22:
@@ -644,7 +644,7 @@ this.state = 25;
case 25:
//C
this.state = 28;
-anywheresoftware.b4a.keywords.Common.LogImpl("035913737",BA.NumberToString(parent._actuallr.GetSmallestDisplacement()),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("635913737",BA.NumberToString(parent._actuallr.GetSmallestDisplacement()),0);
if (true) break;
case 28:
@@ -703,7 +703,7 @@ case 5:
this.state = 1;
;
//BA.debugLineNum = 46;BA.debugLine="Log(\"sleeping\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("035323908","sleeping",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("635323908","sleeping",0);
if (true) break;
case 4:
@@ -737,7 +737,7 @@ public static String _track() throws Exception{
//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_medicomed.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("035782657","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("635782657","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);};
//BA.debugLineNum = 106;BA.debugLine="If Tracking Then";
if (_tracking) {
//BA.debugLineNum = 108;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na";
@@ -747,7 +747,7 @@ if (true) return "";
if (mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .Check(mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION)==anywheresoftware.b4a.keywords.Common.False) {
//BA.debugLineNum = 111;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"No permiss";
if (mostCurrent._b4xpages._mainpage /*reparto_medicomed.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("035782663","No permission",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("635782663","No permission",0);};
//BA.debugLineNum = 112;BA.debugLine="Return";
if (true) return "";
};
diff --git a/B4A/Objects/src/reparto_medicomed/keymon/lat/xuiviewsutils.java b/B4A/Objects/src/reparto_medicomed/keymon/lat/xuiviewsutils.java
index 47483cf..ae1c03a 100644
--- a/B4A/Objects/src/reparto_medicomed/keymon/lat/xuiviewsutils.java
+++ b/B4A/Objects/src/reparto_medicomed/keymon/lat/xuiviewsutils.java
@@ -16,10 +16,10 @@ public static anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
public b4a.example.dateutils _dateutils = null;
public reparto_medicomed.keymon.lat.main _main = null;
public reparto_medicomed.keymon.lat.appupdater _appupdater = null;
+public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.foto _foto = null;
public reparto_medicomed.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_medicomed.keymon.lat.mapa_rutas _mapa_rutas = null;
-public reparto_medicomed.keymon.lat.starter _starter = null;
public reparto_medicomed.keymon.lat.subs _subs = null;
public reparto_medicomed.keymon.lat.tracker _tracker = null;
public reparto_medicomed.keymon.lat.newinst2 _newinst2 = null;
diff --git a/B4A/Starter.bas b/B4A/Starter.bas
index b23c835..21aa784 100644
--- a/B4A/Starter.bas
+++ b/B4A/Starter.bas
@@ -33,7 +33,7 @@ Sub Process_Globals
Public SharedFolder As String 'Para actualizar apk
Dim cedisLocation As Location
Dim reqManager As DBRequestManager
- Dim server As String = "http://187.189.244.154:1781"
+ Dim server As String = "http://keymon.net:1781"
' Dim server As String = "http://192.168.100.10:1781"
' Dim server As String = "http://keymon.lat:9000"
' Dim server = "http://192.168.100.10:1781"