mirror of
https://github.com/KeymonSoft/Izca_Reparto_Creditos.git
synced 2026-04-25 08:30:14 +00:00
...
This commit is contained in:
@@ -41,11 +41,11 @@ public Object _tag = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -46,11 +46,11 @@ public int _brushoffsetdelta = 0;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -140,11 +140,11 @@ public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null;
|
||||
public static reparto_izca.keymon.lat.appupdater._mnewversion _newapp = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -264,7 +264,7 @@ case 0:
|
||||
//C
|
||||
this.state = 1;
|
||||
//BA.debugLineNum = 159;BA.debugLine="Log(\"Descargando actualización\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("4589827","Descargando actualización",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("135979267","Descargando actualización",0);
|
||||
//BA.debugLineNum = 160;BA.debugLine="B4XPages.ShowPage(\"login\")";
|
||||
parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"login");
|
||||
//BA.debugLineNum = 161;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Descargando ac";
|
||||
@@ -330,7 +330,7 @@ _outnewapk.Close();
|
||||
//BA.debugLineNum = 177;BA.debugLine="B4XPages.MainPage.ocultaProgreso";
|
||||
parent.mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._ocultaprogreso /*String*/ ();
|
||||
//BA.debugLineNum = 178;BA.debugLine="Log(\"ocultamos prigreso DOWNLOAD APK\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("4589846","ocultamos prigreso DOWNLOAD APK",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("135979286","ocultamos prigreso DOWNLOAD APK",0);
|
||||
if (true) break;
|
||||
|
||||
case 8:
|
||||
@@ -392,7 +392,7 @@ _usefileprovider = anywheresoftware.b4a.keywords.Common.False;
|
||||
_sharedfolder = _rp.GetSafeDirDefaultExternal("shared");
|
||||
};
|
||||
//BA.debugLineNum = 249;BA.debugLine="Log($\"Using FileProvider? - ${UseFileProvider}\"$)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("4983052",("Using FileProvider? - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("136372492",("Using FileProvider? - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0);
|
||||
//BA.debugLineNum = 250;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
@@ -427,7 +427,7 @@ if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.ge
|
||||
}
|
||||
catch (Exception e14) {
|
||||
processBA.setLastException(e14); //BA.debugLineNum = 267;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("41048590","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("136438030","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0);
|
||||
//BA.debugLineNum = 268;BA.debugLine="Return \"\"";
|
||||
if (true) return (Object)("");
|
||||
};
|
||||
@@ -464,7 +464,7 @@ return "";
|
||||
public static String _service_create() throws Exception{
|
||||
//BA.debugLineNum = 101;BA.debugLine="Sub Service_Create";
|
||||
//BA.debugLineNum = 102;BA.debugLine="Log(\"appUpdater(), Service_Create\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("4393217","appUpdater(), Service_Create",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("135782657","appUpdater(), Service_Create",0);
|
||||
//BA.debugLineNum = 103;BA.debugLine="newApp.Initialize";
|
||||
_newapp.Initialize();
|
||||
//BA.debugLineNum = 104;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT";
|
||||
@@ -479,7 +479,7 @@ return "";
|
||||
public static String _service_destroy() throws Exception{
|
||||
//BA.debugLineNum = 233;BA.debugLine="Sub Service_Destroy";
|
||||
//BA.debugLineNum = 234;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("4917505","appUpdater(), Service_Destroy",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("136306945","appUpdater(), Service_Destroy",0);
|
||||
//BA.debugLineNum = 235;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
@@ -511,11 +511,11 @@ case 0:
|
||||
//C
|
||||
this.state = 1;
|
||||
//BA.debugLineNum = 110;BA.debugLine="Log(\"appUpdater(), Service_Start\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("4458753","appUpdater(), Service_Start",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("135848193","appUpdater(), Service_Start",0);
|
||||
//BA.debugLineNum = 112;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua";
|
||||
parent.mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ ("Buscando actualización");
|
||||
//BA.debugLineNum = 113;BA.debugLine="Log(\"Buscando actualización\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("4458756","Buscando actualización",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("135848196","Buscando actualización",0);
|
||||
//BA.debugLineNum = 114;BA.debugLine="fileProvider_init";
|
||||
_fileprovider_init();
|
||||
//BA.debugLineNum = 115;BA.debugLine="Wait For (Download(Me, lnk)) JobDone (j As HttpJo";
|
||||
@@ -567,7 +567,7 @@ parent._newapp.okMsg /*String*/ = _app[(int) (2)];
|
||||
//BA.debugLineNum = 123;BA.debugLine="newApp.version = app(0) 'Version actual";
|
||||
parent._newapp.version /*String*/ = _app[(int) (0)];
|
||||
//BA.debugLineNum = 125;BA.debugLine="Log($\"Application.VersionName=${Application.Ver";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("4458768",("Application.VersionName="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+", newApp="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._newapp))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("135848208",("Application.VersionName="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+", newApp="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._newapp))+""),0);
|
||||
//BA.debugLineNum = 128;BA.debugLine="If newApp.version = Application.VersionName Th";
|
||||
if (true) break;
|
||||
|
||||
@@ -584,7 +584,7 @@ this.state = 10;
|
||||
//BA.debugLineNum = 129;BA.debugLine="newApp.update = False";
|
||||
parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.False;
|
||||
//BA.debugLineNum = 130;BA.debugLine="Log(\"No new app\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("4458773","No new app",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("135848213","No new app",0);
|
||||
//BA.debugLineNum = 131;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")";
|
||||
parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable");
|
||||
//BA.debugLineNum = 133;BA.debugLine="CreateNotification2(\"Aplicacion al corriente\",";
|
||||
@@ -606,7 +606,7 @@ this.state = 13;
|
||||
//BA.debugLineNum = 136;BA.debugLine="newApp.update = True";
|
||||
parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.True;
|
||||
//BA.debugLineNum = 137;BA.debugLine="Log(\"New app true\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("4458780","New app true",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("135848220","New app true",0);
|
||||
//BA.debugLineNum = 138;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")";
|
||||
parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable");
|
||||
if (true) break;
|
||||
@@ -622,7 +622,7 @@ case 15:
|
||||
this.state = 16;
|
||||
this.catchState = 0;
|
||||
//BA.debugLineNum = 143;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("4458786","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("135848226","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0);
|
||||
if (true) break;
|
||||
if (true) break;
|
||||
|
||||
@@ -637,7 +637,7 @@ case 18:
|
||||
//C
|
||||
this.state = 19;
|
||||
//BA.debugLineNum = 146;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("4458789","appUpdater(), Job Failed "+parent._lnk,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("135848229","appUpdater(), Job Failed "+parent._lnk,0);
|
||||
if (true) break;
|
||||
|
||||
case 19:
|
||||
|
||||
@@ -29,11 +29,11 @@ public int _msize = 0;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -43,11 +43,11 @@ public boolean _mhaptic = false;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -29,11 +29,11 @@ public int _mlength = 0;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -178,7 +178,7 @@ byte[] _afterindex = null;
|
||||
if (_index>=_mlength) {
|
||||
//BA.debugLineNum = 45;BA.debugLine="If Index > mLength Then Log(\"Index too large\")";
|
||||
if (_index>_mlength) {
|
||||
__c.LogImpl("915728642","Index too large",0);};
|
||||
__c.LogImpl("94849666","Index too large",0);};
|
||||
//BA.debugLineNum = 46;BA.debugLine="Append(Data)";
|
||||
_append(_data);
|
||||
}else {
|
||||
@@ -220,7 +220,7 @@ public String _set(int _index,byte[] _data) throws Exception{
|
||||
if (_index>=_mlength) {
|
||||
//BA.debugLineNum = 58;BA.debugLine="If Index > mLength Then Log(\"Index too large\")";
|
||||
if (_index>_mlength) {
|
||||
__c.LogImpl("915794178","Index too large",0);};
|
||||
__c.LogImpl("94915202","Index too large",0);};
|
||||
//BA.debugLineNum = 59;BA.debugLine="Append(Data)";
|
||||
_append(_data);
|
||||
}else {
|
||||
|
||||
@@ -31,11 +31,11 @@ public int _eternalcounts = 0;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -14,11 +14,11 @@ public static Object getObject() {
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -44,11 +44,11 @@ public Object[] _initialcolor = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -37,11 +37,11 @@ public String _b4icancelbutton = "";
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -27,11 +27,11 @@ public class b4xcomparatorsort extends B4AClass.ImplB4AClass implements BA.SubDe
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -65,11 +65,11 @@ public anywheresoftware.b4a.objects.collections.List _daysofweeknames = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -56,11 +56,11 @@ public anywheresoftware.b4a.objects.collections.Map _buttonsstate = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -59,11 +59,11 @@ public long _lastswitchtextfieldtime = 0L;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -354,7 +354,7 @@ if (_passwordmode && _multiline) {
|
||||
//BA.debugLineNum = 90;BA.debugLine="Multiline = False";
|
||||
_multiline = __c.False;
|
||||
//BA.debugLineNum = 91;BA.debugLine="Log(\"Multiline not supported with password mode.";
|
||||
__c.LogImpl("932309272","Multiline not supported with password mode.",0);
|
||||
__c.LogImpl("921430296","Multiline not supported with password mode.",0);
|
||||
};
|
||||
//BA.debugLineNum = 93;BA.debugLine="CreateTextFieldAll(PasswordMode, PassedLabel.Font";
|
||||
_createtextfieldall(_passwordmode,_passedlabel.getFont(),_xui.PaintOrColorToColor((Object)(_lbl.getTextColor())));
|
||||
|
||||
@@ -31,11 +31,11 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -38,11 +38,11 @@ public int _mcornersradius = 0;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -271,7 +271,7 @@ _imageviewheight = (float) (_mbitmap.getHeight());
|
||||
break; }
|
||||
default: {
|
||||
//BA.debugLineNum = 104;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)";
|
||||
__c.LogImpl("934668571","Invalid resize mode: "+_mresizemode,0);
|
||||
__c.LogImpl("923789595","Invalid resize mode: "+_mresizemode,0);
|
||||
break; }
|
||||
}
|
||||
;
|
||||
|
||||
@@ -38,11 +38,11 @@ public int _bordercolorinvalid = 0;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -37,11 +37,11 @@ public int _multiselectionminimum = 0;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -37,11 +37,11 @@ public Object _tag = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -31,11 +31,11 @@ public Object _text = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -115,11 +115,11 @@ public String _monto_entregadoactual = "";
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -227,7 +227,7 @@ this.state = -1;
|
||||
//BA.debugLineNum = 580;BA.debugLine="Dim FileName As String = \"kmt.db\"";
|
||||
_filename = "kmt.db";
|
||||
//BA.debugLineNum = 582;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)";
|
||||
parent.__c.LogImpl("41769477","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0);
|
||||
parent.__c.LogImpl("137158917","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0);
|
||||
//BA.debugLineNum = 583;BA.debugLine="Sleep(1000)";
|
||||
parent.__c.Sleep(ba,this,(int) (1000));
|
||||
this.state = 1;
|
||||
@@ -319,7 +319,7 @@ _f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
|
||||
//BA.debugLineNum = 818;BA.debugLine="f.Position=0";
|
||||
_f.setPosition((int) (0));
|
||||
//BA.debugLineNum = 819;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
|
||||
__c.LogImpl("42621467",_f.GetString("RUTAA"),0);
|
||||
__c.LogImpl("138010907",_f.GetString("RUTAA"),0);
|
||||
//BA.debugLineNum = 820;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from";
|
||||
_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
|
||||
//BA.debugLineNum = 821;BA.debugLine="If a.RowCount>0 Then";
|
||||
@@ -347,12 +347,12 @@ _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
|
||||
//BA.debugLineNum = 832;BA.debugLine="If c.RowCount = 0 Then";
|
||||
if (_c.getRowCount()==0) {
|
||||
//BA.debugLineNum = 834;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
|
||||
__c.LogImpl("42621482",_f.GetString("RUTAA"),0);
|
||||
__c.LogImpl("138010922",_f.GetString("RUTAA"),0);
|
||||
//BA.debugLineNum = 835;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,_a.GetString("ID_ALMACEN"),_f.GetString("RUTAA"),_fechatabulador3+" "+_stime}));
|
||||
}else {
|
||||
//BA.debugLineNum = 838;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
|
||||
__c.LogImpl("42621486",_f.GetString("RUTAA"),0);
|
||||
__c.LogImpl("138010926",_f.GetString("RUTAA"),0);
|
||||
//BA.debugLineNum = 839;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,_idparts[(int) (0)]}));
|
||||
};
|
||||
@@ -362,7 +362,7 @@ _f.Close();
|
||||
//BA.debugLineNum = 844;BA.debugLine="a.Close";
|
||||
_a.Close();
|
||||
//BA.debugLineNum = 845;BA.debugLine="Log(\"Processed item \" & i)";
|
||||
__c.LogImpl("42621493","Processed item "+BA.NumberToString(_i),0);
|
||||
__c.LogImpl("138010933","Processed item "+BA.NumberToString(_i),0);
|
||||
}
|
||||
};
|
||||
//BA.debugLineNum = 847;BA.debugLine="et_buspc.Text = \"\"";
|
||||
@@ -384,7 +384,7 @@ return "";
|
||||
public String _b_server_click() throws Exception{
|
||||
//BA.debugLineNum = 599;BA.debugLine="Private Sub b_server_Click";
|
||||
//BA.debugLineNum = 600;BA.debugLine="Log(\"Guardar servidor\")";
|
||||
__c.LogImpl("41900545","Guardar servidor",0);
|
||||
__c.LogImpl("137289985","Guardar servidor",0);
|
||||
//BA.debugLineNum = 601;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARIA";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("SERVER")}));
|
||||
//BA.debugLineNum = 602;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIA";
|
||||
@@ -395,11 +395,11 @@ _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*Strin
|
||||
_starter._server /*String*/ = _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ;
|
||||
//BA.debugLineNum = 605;BA.debugLine="If logger Then Log(\"Inicializamos reqManager con";
|
||||
if (_logger) {
|
||||
__c.LogImpl("41900550","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);};
|
||||
__c.LogImpl("137289990","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);};
|
||||
//BA.debugLineNum = 606;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve";
|
||||
_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
|
||||
//BA.debugLineNum = 607;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
|
||||
__c.LogImpl("41900552",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
|
||||
__c.LogImpl("137289992",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
|
||||
//BA.debugLineNum = 608;BA.debugLine="reinicializaReqManager";
|
||||
_reinicializareqmanager();
|
||||
//BA.debugLineNum = 609;BA.debugLine="p_appUpdate.Visible = False";
|
||||
@@ -575,7 +575,7 @@ parent._f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.Ab
|
||||
//BA.debugLineNum = 883;BA.debugLine="f.Position=0";
|
||||
parent._f.setPosition((int) (0));
|
||||
//BA.debugLineNum = 884;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
|
||||
parent.__c.LogImpl("42687009",parent._f.GetString("RUTAA"),0);
|
||||
parent.__c.LogImpl("138076449",parent._f.GetString("RUTAA"),0);
|
||||
//BA.debugLineNum = 886;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN fr";
|
||||
parent._a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
|
||||
//BA.debugLineNum = 887;BA.debugLine="If a.RowCount>0 Then";
|
||||
@@ -600,7 +600,7 @@ case 17:
|
||||
this.state = 18;
|
||||
;
|
||||
//BA.debugLineNum = 890;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))";
|
||||
parent.__c.LogImpl("42687015",parent._a.GetString("ID_ALMACEN"),0);
|
||||
parent.__c.LogImpl("138076455",parent._a.GetString("ID_ALMACEN"),0);
|
||||
//BA.debugLineNum = 892;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELE";
|
||||
_k = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_k = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS")));
|
||||
@@ -670,7 +670,7 @@ parent._f.Close();
|
||||
//BA.debugLineNum = 908;BA.debugLine="a.Close";
|
||||
parent._a.Close();
|
||||
//BA.debugLineNum = 909;BA.debugLine="Log(\"Processed item \" & i)";
|
||||
parent.__c.LogImpl("42687034","Processed item "+BA.NumberToString(_i),0);
|
||||
parent.__c.LogImpl("138076474","Processed item "+BA.NumberToString(_i),0);
|
||||
if (true) break;
|
||||
if (true) break;
|
||||
|
||||
@@ -679,7 +679,7 @@ case 28:
|
||||
this.state = 31;
|
||||
;
|
||||
//BA.debugLineNum = 911;BA.debugLine="Log(\"Finished processing all items\")";
|
||||
parent.__c.LogImpl("42687036","Finished processing all items",0);
|
||||
parent.__c.LogImpl("138076476","Finished processing all items",0);
|
||||
//BA.debugLineNum = 912;BA.debugLine="P_CIEGO.Visible = False";
|
||||
parent._p_ciego.setVisible(parent.__c.False);
|
||||
//BA.debugLineNum = 913;BA.debugLine="et_buspc.Text = \"\"";
|
||||
@@ -819,7 +819,7 @@ this.state = 16;
|
||||
//BA.debugLineNum = 250;BA.debugLine="ToastMessageShow(\"No permission\", True)";
|
||||
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission"),parent.__c.True);
|
||||
//BA.debugLineNum = 251;BA.debugLine="Log(\"Sin permisos\")";
|
||||
parent.__c.LogImpl("41376270","Sin permisos",0);
|
||||
parent.__c.LogImpl("136765710","Sin permisos",0);
|
||||
if (true) break;
|
||||
|
||||
case 16:
|
||||
@@ -1129,11 +1129,11 @@ _server = "http://keymon.net:1781";
|
||||
//BA.debugLineNum = 222;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve";
|
||||
_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
|
||||
//BA.debugLineNum = 223;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
|
||||
__c.LogImpl("41310833",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
|
||||
__c.LogImpl("136700273",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
|
||||
//BA.debugLineNum = 224;BA.debugLine="Label1.Text = Application.VersionName";
|
||||
_label1.setText(BA.ObjectToCharSequence(__c.Application.getVersionName()));
|
||||
//BA.debugLineNum = 226;BA.debugLine="Log(\"provider\")";
|
||||
__c.LogImpl("41310836","provider",0);
|
||||
__c.LogImpl("136700276","provider",0);
|
||||
//BA.debugLineNum = 227;BA.debugLine="Provider.Initialize";
|
||||
_provider._initialize /*String*/ (ba);
|
||||
//BA.debugLineNum = 235;BA.debugLine="End Sub";
|
||||
@@ -1465,11 +1465,11 @@ _fecha2 = __c.Regex.Split("-",_fecha[(int) (0)]);
|
||||
//BA.debugLineNum = 688;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\"";
|
||||
_fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)];
|
||||
//BA.debugLineNum = 689;BA.debugLine="Log(fecha3)";
|
||||
__c.LogImpl("42359316",_fecha3,0);
|
||||
__c.LogImpl("137748756",_fecha3,0);
|
||||
//BA.debugLineNum = 690;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1";
|
||||
_hora = __c.Regex.Split("\\.",_fecha[(int) (1)]);
|
||||
//BA.debugLineNum = 691;BA.debugLine="Log(hora(0))";
|
||||
__c.LogImpl("42359318",_hora[(int) (0)],0);
|
||||
__c.LogImpl("137748758",_hora[(int) (0)],0);
|
||||
};
|
||||
//BA.debugLineNum = 696;BA.debugLine="Private cI As Cursor";
|
||||
_ci = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
@@ -1503,7 +1503,7 @@ _clv_pick_ciego._clear();
|
||||
//BA.debugLineNum = 757;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\"";
|
||||
_q_buscar = "%"+_et_buspc.getText()+"%";
|
||||
//BA.debugLineNum = 758;BA.debugLine="Log(q_buscar)";
|
||||
__c.LogImpl("42555911",_q_buscar,0);
|
||||
__c.LogImpl("137945351",_q_buscar,0);
|
||||
//BA.debugLineNum = 759;BA.debugLine="c=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBRE";
|
||||
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID , ifnull(PC_CANT,0) AS PC_CANT FROM CAT_GUNAPROD3 INNER JOIN PICK_CIEGO ON PC_ID_PROD = CAT_GP_ID AND PC_NOM_PROD = CAT_GP_NOMBRE WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"),new String[]{_q_buscar,_q_buscar})));
|
||||
//BA.debugLineNum = 760;BA.debugLine="If c.RowCount > 0 Then";
|
||||
@@ -1681,7 +1681,7 @@ final int groupLen25 = group25.getSize()
|
||||
for (; index25 < groupLen25;index25++){
|
||||
_records = (Object[])(group25.Get(index25));
|
||||
//BA.debugLineNum = 342;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res";
|
||||
__c.LogImpl("41507357","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0);
|
||||
__c.LogImpl("136896797","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0);
|
||||
//BA.debugLineNum = 343;BA.debugLine="Private lat, lon As Double";
|
||||
_lat = 0;
|
||||
_lon = 0;
|
||||
@@ -1753,7 +1753,7 @@ _cat_pa_pass = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Column
|
||||
//BA.debugLineNum = 376;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then";
|
||||
if ((_cat_pa_pass).equals(_et_codigo.getText())) {
|
||||
//BA.debugLineNum = 377;BA.debugLine="Log(CAT_PA_PASS)";
|
||||
__c.LogImpl("41507392",_cat_pa_pass,0);
|
||||
__c.LogImpl("136896832",_cat_pa_pass,0);
|
||||
//BA.debugLineNum = 378;BA.debugLine="p_validacion.Visible = False";
|
||||
_p_validacion.setVisible(__c.False);
|
||||
//BA.debugLineNum = 379;BA.debugLine="et_codigo.Text = \"\"";
|
||||
@@ -1866,7 +1866,7 @@ _c2.setPosition((int) (0));
|
||||
if (_c2.getRowCount()>0) {
|
||||
_c2.GetString("USUARIO");};
|
||||
//BA.debugLineNum = 482;BA.debugLine="Log(CUENTA & \"----------------------!!\")";
|
||||
__c.LogImpl("41507497",_cuenta+"----------------------!!",0);
|
||||
__c.LogImpl("136896937",_cuenta+"----------------------!!",0);
|
||||
//BA.debugLineNum = 483;BA.debugLine="If CUENTA = \"0\" Then";
|
||||
if ((_cuenta).equals("0")) {
|
||||
}else if((double)(Double.parseDouble(_cuenta))>(double)(Double.parseDouble("0"))) {
|
||||
@@ -1921,7 +1921,7 @@ _et_server.setText(BA.ObjectToCharSequence(_value));
|
||||
//BA.debugLineNum = 617;BA.debugLine="reqManager.Initialize(Me, Value)";
|
||||
_reqmanager._initialize /*String*/ (ba,this,BA.ObjectToString(_value));
|
||||
//BA.debugLineNum = 618;BA.debugLine="LogColor($\"ReqServer = ${Value}\"$, Colors.red)";
|
||||
__c.LogImpl("41966085",("ReqServer = "+__c.SmartStringFormatter("",_value)+""),__c.Colors.Red);
|
||||
__c.LogImpl("137355525",("ReqServer = "+__c.SmartStringFormatter("",_value)+""),__c.Colors.Red);
|
||||
//BA.debugLineNum = 619;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)";
|
||||
__c.ToastMessageShow(BA.ObjectToCharSequence("Servidor modificado"),__c.False);
|
||||
//BA.debugLineNum = 620;BA.debugLine="End Sub";
|
||||
@@ -1970,9 +1970,9 @@ if (_a.getRowCount()>0) {
|
||||
_a.setPosition((int) (0));
|
||||
};
|
||||
//BA.debugLineNum = 963;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))";
|
||||
__c.LogImpl("42883592",_a.GetString("ID_ALMACEN"),0);
|
||||
__c.LogImpl("138273032",_a.GetString("ID_ALMACEN"),0);
|
||||
//BA.debugLineNum = 964;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))";
|
||||
__c.LogImpl("42883593",_f.GetString("CAT_CL_RUTA"),0);
|
||||
__c.LogImpl("138273033",_f.GetString("CAT_CL_RUTA"),0);
|
||||
//BA.debugLineNum = 979;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
@@ -1982,9 +1982,9 @@ public String _reinicializareqmanager() throws Exception{
|
||||
_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
|
||||
//BA.debugLineNum = 624;BA.debugLine="If logger Then Log(B4XPages.MainPage.server)";
|
||||
if (_logger) {
|
||||
__c.LogImpl("42031618",_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);};
|
||||
__c.LogImpl("137421058",_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);};
|
||||
//BA.debugLineNum = 625;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
|
||||
__c.LogImpl("42031619",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
|
||||
__c.LogImpl("137421059",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
|
||||
//BA.debugLineNum = 626;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -29,11 +29,11 @@ public anywheresoftware.b4a.objects.collections.List _list = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -17,11 +17,11 @@ public static Object _globalcontext = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null;
|
||||
|
||||
@@ -27,11 +27,11 @@ public class b4xpagesdelegator extends B4AClass.ImplB4AClass implements BA.SubDe
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -40,11 +40,11 @@ public boolean _logevents = false;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -198,7 +198,7 @@ _idtolower = _id.toLowerCase();
|
||||
//BA.debugLineNum = 143;BA.debugLine="If IdToB4XPage.ContainsKey(IdToLower) Then";
|
||||
if (_idtob4xpage._containskey /*boolean*/ ((Object)(_idtolower))) {
|
||||
//BA.debugLineNum = 144;BA.debugLine="Log($\"Page with this id already exists: ${IdToLo";
|
||||
__c.LogImpl("920447235",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0);
|
||||
__c.LogImpl("99568259",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0);
|
||||
//BA.debugLineNum = 145;BA.debugLine="Return";
|
||||
if (true) return "";
|
||||
};
|
||||
@@ -313,7 +313,7 @@ _screenorientation = (int)(BA.ObjectToNumber(_act.GetField("screenOrientation"))
|
||||
//BA.debugLineNum = 116;BA.debugLine="If screenOrientation = -1 Then";
|
||||
if (_screenorientation==-1) {
|
||||
//BA.debugLineNum = 117;BA.debugLine="LogColor(\"#SupportedOrientations attribute mus";
|
||||
__c.LogImpl("920316181","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red);
|
||||
__c.LogImpl("99437205","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red);
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -370,12 +370,12 @@ if (true) return "";};
|
||||
//BA.debugLineNum = 212;BA.debugLine="If xui.IsB4i And GetTopPage <> pi Then";
|
||||
if (_xui.getIsB4i() && (_gettoppage()).equals(_pi) == false) {
|
||||
//BA.debugLineNum = 213;BA.debugLine="Log(\"Only top page can be closed\")";
|
||||
__c.LogImpl("920709380","Only top page can be closed",0);
|
||||
__c.LogImpl("99830404","Only top page can be closed",0);
|
||||
//BA.debugLineNum = 214;BA.debugLine="Return";
|
||||
if (true) return "";
|
||||
}else if(_xui.getIsB4i() && _mstackofpageids._getsize /*int*/ ()==1) {
|
||||
//BA.debugLineNum = 216;BA.debugLine="Log(\"First page cannot be closed\")";
|
||||
__c.LogImpl("920709383","First page cannot be closed",0);
|
||||
__c.LogImpl("99830407","First page cannot be closed",0);
|
||||
//BA.debugLineNum = 217;BA.debugLine="Return";
|
||||
if (true) return "";
|
||||
};
|
||||
@@ -590,9 +590,9 @@ _pi = (reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo)(_idtob4xpage._get /
|
||||
//BA.debugLineNum = 400;BA.debugLine="If pi = Null Then";
|
||||
if (_pi== null) {
|
||||
//BA.debugLineNum = 401;BA.debugLine="Log(\"Error: page id not found: \" & id)";
|
||||
__c.LogImpl("921364739","Error: page id not found: "+_id,0);
|
||||
__c.LogImpl("910485763","Error: page id not found: "+_id,0);
|
||||
//BA.debugLineNum = 402;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore";
|
||||
__c.LogImpl("921364740","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0);
|
||||
__c.LogImpl("910485764","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0);
|
||||
};
|
||||
//BA.debugLineNum = 404;BA.debugLine="Return pi";
|
||||
if (true) return _pi;
|
||||
@@ -727,7 +727,7 @@ _addpageandcreate("MainPage",(Object)(_mainpage));
|
||||
//BA.debugLineNum = 85;BA.debugLine="If LogEvents = False Then";
|
||||
if (_logevents==__c.False) {
|
||||
//BA.debugLineNum = 86;BA.debugLine="Log(\"Call B4XPages.GetManager.LogEvents = True t";
|
||||
__c.LogImpl("920250651","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0);
|
||||
__c.LogImpl("99371675","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0);
|
||||
};
|
||||
//BA.debugLineNum = 88;BA.debugLine="If NonMainPageWasAdded Then";
|
||||
if (_nonmainpagewasadded) {
|
||||
@@ -748,7 +748,7 @@ if (_logevents) {
|
||||
//BA.debugLineNum = 642;BA.debugLine="Dim msg As String = $\"*** ${pi.Id}: ${ev} ${Stac";
|
||||
_msg = ("*** "+__c.SmartStringFormatter("",(Object)(_pi.Id /*String*/ ))+": "+__c.SmartStringFormatter("",(Object)(_ev))+" "+__c.SmartStringFormatter("",(Object)(_stackstring))+"");
|
||||
//BA.debugLineNum = 643;BA.debugLine="Log(msg)";
|
||||
__c.LogImpl("922478851",_msg,0);
|
||||
__c.LogImpl("911599875",_msg,0);
|
||||
};
|
||||
//BA.debugLineNum = 645;BA.debugLine="End Sub";
|
||||
return "";
|
||||
@@ -800,7 +800,7 @@ __c.CallSubDelayed3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0
|
||||
break; }
|
||||
default: {
|
||||
//BA.debugLineNum = 562;BA.debugLine="Log(\"Too many parameters\")";
|
||||
__c.LogImpl("921954574","Too many parameters",0);
|
||||
__c.LogImpl("911075598","Too many parameters",0);
|
||||
break; }
|
||||
}
|
||||
;
|
||||
@@ -841,7 +841,7 @@ if (true) return __c.CallSubNew3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_pa
|
||||
break; }
|
||||
default: {
|
||||
//BA.debugLineNum = 580;BA.debugLine="Log(\"Too many parameters\")";
|
||||
__c.LogImpl("922020110","Too many parameters",0);
|
||||
__c.LogImpl("911141134","Too many parameters",0);
|
||||
break; }
|
||||
}
|
||||
;
|
||||
|
||||
@@ -53,11 +53,11 @@ public boolean _mhaptic = false;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -47,11 +47,11 @@ public float _scale = 0f;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -45,11 +45,11 @@ public boolean _prefixonly = false;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -390,7 +390,7 @@ _count = (int) (_count+1);
|
||||
}
|
||||
};
|
||||
//BA.debugLineNum = 227;BA.debugLine="Log(\"Index time: \" & (DateTime.Now - startTime) &";
|
||||
__c.LogImpl("940435743","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0);
|
||||
__c.LogImpl("929556767","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0);
|
||||
//BA.debugLineNum = 228;BA.debugLine="AllItems = Items";
|
||||
_allitems = _items;
|
||||
//BA.debugLineNum = 229;BA.debugLine="Return Array(prefixList, substringList, AllItems)";
|
||||
|
||||
@@ -48,11 +48,11 @@ public int _size = 0;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -28,11 +28,11 @@ public reparto_izca.keymon.lat.b4xorderedmap _map = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -39,11 +39,11 @@ public int _numberofpoints = 0;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -45,11 +45,11 @@ public boolean _mhaptic = false;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -33,11 +33,11 @@ public int _index = 0;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -35,11 +35,11 @@ public anywheresoftware.b4j.object.JavaObject _nativeme = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -33,11 +33,11 @@ public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -126,11 +126,11 @@ public anywheresoftware.b4a.objects.EditTextWrapper _et_km = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -166,13 +166,13 @@ __c.File.MakeDir(_dirp,"/md");
|
||||
//BA.debugLineNum = 548;BA.debugLine="Dir = \"/md\"";
|
||||
_dir = "/md";
|
||||
//BA.debugLineNum = 549;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)";
|
||||
__c.LogImpl("47405576","creado en promotoria "+_dirp+_dir,0);
|
||||
__c.LogImpl("142795016","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("47405579","creado en raiz",0);
|
||||
__c.LogImpl("142795019","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("47405585","creado en promotoria "+_dirp+_dir+_dir2,0);
|
||||
__c.LogImpl("142795025","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("47405588","creado en raiz",0);
|
||||
__c.LogImpl("142795028","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("44259843",parent._c.GetString("PLACA"),0);
|
||||
parent.__c.LogImpl("139649283",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("44259851","inicializamos Camara",0);
|
||||
parent.__c.LogImpl("139649291","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("44259862","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting WRITE_EXTERNAL_STORAGE permission",0);
|
||||
parent.__c.LogImpl("139649302","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("44259866",("PERMISSION_WRITE_EXTERNAL_STORAGE = "+parent.__c.SmartStringFormatter("",(Object)(_result))+""),0);
|
||||
parent.__c.LogImpl("139649306",("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("44259868","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting MANAGE_EXTERNAL_STORAGE permission",0);
|
||||
parent.__c.LogImpl("139649308","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("44259869","On Entry MANAGE_EXTERNAL_STORAGE = "+BA.ObjectToString(parent._mes1._haspermission /*boolean*/ ()),0);
|
||||
parent.__c.LogImpl("139649309","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("44259873","Getting permission",0);
|
||||
parent.__c.LogImpl("139649313","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("44522011","tome foto",0);
|
||||
__c.LogImpl("139911451","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("44522019","creado en promotoria "+_dirp+_dir,0);
|
||||
__c.LogImpl("139911459","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("44522022","creado en raiz",0);
|
||||
__c.LogImpl("139911462","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("44522028","creado en promotoria "+_dirp+_dir+_dir2,0);
|
||||
__c.LogImpl("139911468","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("44522031","creado en raiz",0);
|
||||
__c.LogImpl("139911471","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("44522037","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0);
|
||||
__c.LogImpl("139911477","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("44522040",_nombrefoto,0);
|
||||
__c.LogImpl("139911480",_nombrefoto,0);
|
||||
//BA.debugLineNum = 295;BA.debugLine="Log(nombrefoto1)";
|
||||
__c.LogImpl("44522041",_nombrefoto1,0);
|
||||
__c.LogImpl("139911481",_nombrefoto1,0);
|
||||
//BA.debugLineNum = 296;BA.debugLine="Log(nombrefoto2)";
|
||||
__c.LogImpl("44522042",_nombrefoto2,0);
|
||||
__c.LogImpl("139911482",_nombrefoto2,0);
|
||||
//BA.debugLineNum = 297;BA.debugLine="Log(nombrefoto3)";
|
||||
__c.LogImpl("44522043",_nombrefoto3,0);
|
||||
__c.LogImpl("139911483",_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("44456449","Camara ready",0);
|
||||
__c.LogImpl("139845889","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("44456455",BA.ObjectToString(_camex._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ ()),0);
|
||||
__c.LogImpl("139845895",BA.ObjectToString(_camex._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ ()),0);
|
||||
}else {
|
||||
//BA.debugLineNum = 233;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)";
|
||||
__c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True);
|
||||
//BA.debugLineNum = 234;BA.debugLine="Log(\"Cannot open camera\")";
|
||||
__c.LogImpl("44456458","Cannot open camera",0);
|
||||
__c.LogImpl("139845898","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("47340034",_itemselect4,0);
|
||||
__c.LogImpl("142729474",_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("47274498",_itemselect3,0);
|
||||
__c.LogImpl("142663938",_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("47208962",_itemselect2,0);
|
||||
__c.LogImpl("142598402",_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("47143426",_itemselect1,0);
|
||||
__c.LogImpl("142532866",_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("44390918","inicializamos Camara",0);
|
||||
parent.__c.LogImpl("139780358","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("47536641","JOBDONE CLIENTE . "+BA.ObjectToString(_job._success /*boolean*/ ),0);
|
||||
__c.LogImpl("142926081","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("47536645","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Blue);
|
||||
__c.LogImpl("142926085","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("47536647","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
|
||||
__c.LogImpl("142926087","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
|
||||
//BA.debugLineNum = 755;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
|
||||
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
|
||||
//BA.debugLineNum = 756;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo";
|
||||
@@ -1339,11 +1339,11 @@ _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ );
|
||||
//BA.debugLineNum = 759;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_";
|
||||
_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24));
|
||||
//BA.debugLineNum = 760;BA.debugLine="Log($\"Cliente1:${cliente}\"$)";
|
||||
__c.LogImpl("47536653",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
|
||||
__c.LogImpl("142926093",("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("47536656",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
|
||||
__c.LogImpl("142926096",("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("47536676",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("142926116",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -1414,11 +1414,11 @@ int _i = 0;
|
||||
reparto_izca.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
|
||||
//BA.debugLineNum = 724;BA.debugLine="Sub mandaPendientes";
|
||||
//BA.debugLineNum = 725;BA.debugLine="Log(\"MandaPendientes\")";
|
||||
__c.LogImpl("47471105","MandaPendientes",0);
|
||||
__c.LogImpl("142860545","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("47471108",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
|
||||
__c.LogImpl("142860548",("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";
|
||||
|
||||
@@ -130,11 +130,11 @@ public anywheresoftware.b4a.objects.ButtonWrapper _b_imp2 = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -419,13 +419,13 @@ _h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
|
||||
//BA.debugLineNum = 1965;BA.debugLine="h.Position = 0";
|
||||
_h.setPosition((int) (0));
|
||||
//BA.debugLineNum = 1966;BA.debugLine="Log(h.GetString(\"CUENTA\"))";
|
||||
__c.LogImpl("49502737",_h.GetString("CUENTA"),0);
|
||||
__c.LogImpl("144892177",_h.GetString("CUENTA"),0);
|
||||
//BA.debugLineNum = 1967;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FROM";
|
||||
_j = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is null",new String[]{_h.GetString("CUENTA")})));
|
||||
//BA.debugLineNum = 1968;BA.debugLine="j.position = 0";
|
||||
_j.setPosition((int) (0));
|
||||
//BA.debugLineNum = 1969;BA.debugLine="Log(j.RowCount)";
|
||||
__c.LogImpl("49502740",BA.NumberToString(_j.getRowCount()),0);
|
||||
__c.LogImpl("144892180",BA.NumberToString(_j.getRowCount()),0);
|
||||
//BA.debugLineNum = 1970;BA.debugLine="If j.RowCount = 0 Then";
|
||||
if (_j.getRowCount()==0) {
|
||||
//BA.debugLineNum = 1971;BA.debugLine="p_abono.Visible = True";
|
||||
@@ -459,7 +459,7 @@ _clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.
|
||||
//BA.debugLineNum = 1984;BA.debugLine="total = total + d.GetString(\"PA_MONTO\")";
|
||||
_total = _total+(double)(Double.parseDouble(_d.GetString("PA_MONTO")));
|
||||
//BA.debugLineNum = 1985;BA.debugLine="Log(total)";
|
||||
__c.LogImpl("49502756",BA.NumberToString(_total),0);
|
||||
__c.LogImpl("144892196",BA.NumberToString(_total),0);
|
||||
}
|
||||
};
|
||||
//BA.debugLineNum = 1987;BA.debugLine="d.Close";
|
||||
@@ -481,7 +481,7 @@ _clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.
|
||||
//BA.debugLineNum = 1993;BA.debugLine="total = total - d.GetString(\"a_abono\")";
|
||||
_total = _total-(double)(Double.parseDouble(_d.GetString("a_abono")));
|
||||
//BA.debugLineNum = 1994;BA.debugLine="Log(total)";
|
||||
__c.LogImpl("49502765",BA.NumberToString(_total),0);
|
||||
__c.LogImpl("144892205",BA.NumberToString(_total),0);
|
||||
}
|
||||
};
|
||||
};
|
||||
@@ -523,7 +523,7 @@ _clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.
|
||||
//BA.debugLineNum = 2014;BA.debugLine="total = total + d.GetString(\"PA_MONTO\").Replace";
|
||||
_total = _total+(double)(Double.parseDouble(_d.GetString("PA_MONTO").replace(",","")));
|
||||
//BA.debugLineNum = 2015;BA.debugLine="Log(total)";
|
||||
__c.LogImpl("49502786",BA.NumberToString(_total),0);
|
||||
__c.LogImpl("144892226",BA.NumberToString(_total),0);
|
||||
}
|
||||
};
|
||||
//BA.debugLineNum = 2017;BA.debugLine="d.Close";
|
||||
@@ -545,7 +545,7 @@ _clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.
|
||||
//BA.debugLineNum = 2023;BA.debugLine="total = total - d.GetString(\"a_abono\")";
|
||||
_total = _total-(double)(Double.parseDouble(_d.GetString("a_abono")));
|
||||
//BA.debugLineNum = 2024;BA.debugLine="Log(total)";
|
||||
__c.LogImpl("49502795",BA.NumberToString(_total),0);
|
||||
__c.LogImpl("144892235",BA.NumberToString(_total),0);
|
||||
}
|
||||
};
|
||||
};
|
||||
@@ -595,7 +595,7 @@ _h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
|
||||
//BA.debugLineNum = 1511;BA.debugLine="h.Position = 0";
|
||||
_h.setPosition((int) (0));
|
||||
//BA.debugLineNum = 1512;BA.debugLine="Log(h.GetString(\"CUENTA\"))";
|
||||
__c.LogImpl("49371652",_h.GetString("CUENTA"),0);
|
||||
__c.LogImpl("144761092",_h.GetString("CUENTA"),0);
|
||||
//BA.debugLineNum = 1514;BA.debugLine="Dim Items As List";
|
||||
_items = new anywheresoftware.b4a.objects.collections.List();
|
||||
//BA.debugLineNum = 1515;BA.debugLine="Items.Initialize";
|
||||
@@ -617,7 +617,7 @@ _j = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
|
||||
//BA.debugLineNum = 1527;BA.debugLine="j.position = 0";
|
||||
_j.setPosition((int) (0));
|
||||
//BA.debugLineNum = 1528;BA.debugLine="Log(j.RowCount)";
|
||||
__c.LogImpl("49371668",BA.NumberToString(_j.getRowCount()),0);
|
||||
__c.LogImpl("144761108",BA.NumberToString(_j.getRowCount()),0);
|
||||
//BA.debugLineNum = 1529;BA.debugLine="If j.RowCount = 0 Then";
|
||||
if (_j.getRowCount()==0) {
|
||||
//BA.debugLineNum = 1530;BA.debugLine="p_abono.Visible = True";
|
||||
@@ -649,13 +649,13 @@ _d.setPosition(_i);
|
||||
//BA.debugLineNum = 1541;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA";
|
||||
_clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_d.GetString("NOTA"),"$ "+_d.GetString("SALDO_PENDIENTE")).getObject())),(Object)(_i));
|
||||
//BA.debugLineNum = 1542;BA.debugLine="Log(d.GetString(\"NOTA\"))";
|
||||
__c.LogImpl("49371682",_d.GetString("NOTA"),0);
|
||||
__c.LogImpl("144761122",_d.GetString("NOTA"),0);
|
||||
//BA.debugLineNum = 1543;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))";
|
||||
__c.LogImpl("49371683",_d.GetString("SALDO_PENDIENTE"),0);
|
||||
__c.LogImpl("144761123",_d.GetString("SALDO_PENDIENTE"),0);
|
||||
//BA.debugLineNum = 1544;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")";
|
||||
_total = _total+(double)(Double.parseDouble(_d.GetString("SALDO_PENDIENTE")));
|
||||
//BA.debugLineNum = 1545;BA.debugLine="Log(total)";
|
||||
__c.LogImpl("49371685",BA.NumberToString(_total),0);
|
||||
__c.LogImpl("144761125",BA.NumberToString(_total),0);
|
||||
}
|
||||
};
|
||||
//BA.debugLineNum = 1547;BA.debugLine="d.Close";
|
||||
@@ -677,7 +677,7 @@ _clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.
|
||||
//BA.debugLineNum = 1553;BA.debugLine="total = total - d.GetString(\"a_abono\")";
|
||||
_total = _total-(double)(Double.parseDouble(_d.GetString("a_abono")));
|
||||
//BA.debugLineNum = 1554;BA.debugLine="Log(total)";
|
||||
__c.LogImpl("49371694",BA.NumberToString(_total),0);
|
||||
__c.LogImpl("144761134",BA.NumberToString(_total),0);
|
||||
}
|
||||
};
|
||||
};
|
||||
@@ -717,13 +717,13 @@ _d.setPosition(_i);
|
||||
//BA.debugLineNum = 1572;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA";
|
||||
_clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_d.GetString("NOTA"),"$ "+_d.GetString("SALDO_PENDIENTE")).getObject())),(Object)(_i));
|
||||
//BA.debugLineNum = 1573;BA.debugLine="Log(d.GetString(\"NOTA\"))";
|
||||
__c.LogImpl("49371713",_d.GetString("NOTA"),0);
|
||||
__c.LogImpl("144761153",_d.GetString("NOTA"),0);
|
||||
//BA.debugLineNum = 1574;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))";
|
||||
__c.LogImpl("49371714",_d.GetString("SALDO_PENDIENTE"),0);
|
||||
__c.LogImpl("144761154",_d.GetString("SALDO_PENDIENTE"),0);
|
||||
//BA.debugLineNum = 1575;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")";
|
||||
_total = _total+(double)(Double.parseDouble(_d.GetString("SALDO_PENDIENTE")));
|
||||
//BA.debugLineNum = 1576;BA.debugLine="Log(total)";
|
||||
__c.LogImpl("49371716",BA.NumberToString(_total),0);
|
||||
__c.LogImpl("144761156",BA.NumberToString(_total),0);
|
||||
}
|
||||
};
|
||||
//BA.debugLineNum = 1578;BA.debugLine="d.Close";
|
||||
@@ -745,7 +745,7 @@ _clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.
|
||||
//BA.debugLineNum = 1584;BA.debugLine="total = total - d.GetString(\"a_abono\")";
|
||||
_total = _total-(double)(Double.parseDouble(_d.GetString("a_abono")));
|
||||
//BA.debugLineNum = 1585;BA.debugLine="Log(total)";
|
||||
__c.LogImpl("49371725",BA.NumberToString(_total),0);
|
||||
__c.LogImpl("144761165",BA.NumberToString(_total),0);
|
||||
}
|
||||
};
|
||||
};
|
||||
@@ -1147,7 +1147,7 @@ this.state = 52;
|
||||
//BA.debugLineNum = 777;BA.debugLine="S.Position=i";
|
||||
parent._s.setPosition(_i);
|
||||
//BA.debugLineNum = 778;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))";
|
||||
parent.__c.LogImpl("48650849",parent._s.GetString("HVD_RECHAZO"),0);
|
||||
parent.__c.LogImpl("144040289",parent._s.GetString("HVD_RECHAZO"),0);
|
||||
//BA.debugLineNum = 779;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_";
|
||||
if (true) break;
|
||||
|
||||
@@ -1478,7 +1478,7 @@ parent._tamano = (int) (_ptot.length()+parent._tamano);
|
||||
//BA.debugLineNum = 876;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
|
||||
parent._espacio = (int) ((parent._espacio-parent._tamano)/(double)2);
|
||||
//BA.debugLineNum = 877;BA.debugLine="Log(ESPACIO)";
|
||||
parent.__c.LogImpl("48650948",BA.NumberToString(parent._espacio),0);
|
||||
parent.__c.LogImpl("144040388",BA.NumberToString(parent._espacio),0);
|
||||
//BA.debugLineNum = 878;BA.debugLine="For E=0 To ESPACIO -1";
|
||||
if (true) break;
|
||||
|
||||
@@ -1574,7 +1574,7 @@ this.state = 101;
|
||||
//BA.debugLineNum = 902;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM HIST_VE";
|
||||
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO <> '1' ")));
|
||||
//BA.debugLineNum = 903;BA.debugLine="Log(c.RowCount&\"------------------\")";
|
||||
parent.__c.LogImpl("48650974",BA.NumberToString(parent._c.getRowCount())+"------------------",0);
|
||||
parent.__c.LogImpl("144040414",BA.NumberToString(parent._c.getRowCount())+"------------------",0);
|
||||
//BA.debugLineNum = 904;BA.debugLine="If c.RowCount > 0 Then";
|
||||
if (true) break;
|
||||
|
||||
@@ -1663,7 +1663,7 @@ this.state = 114;
|
||||
//BA.debugLineNum = 921;BA.debugLine="S.Position=i";
|
||||
parent._s.setPosition(_i);
|
||||
//BA.debugLineNum = 922;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))";
|
||||
parent.__c.LogImpl("48650993",parent._s.GetString("HVD_RECHAZO"),0);
|
||||
parent.__c.LogImpl("144040433",parent._s.GetString("HVD_RECHAZO"),0);
|
||||
//BA.debugLineNum = 923;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_";
|
||||
if (true) break;
|
||||
|
||||
@@ -1994,7 +1994,7 @@ parent._tamano = (int) (_ptot.length()+parent._tamano);
|
||||
//BA.debugLineNum = 1020;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
|
||||
parent._espacio = (int) ((parent._espacio-parent._tamano)/(double)2);
|
||||
//BA.debugLineNum = 1021;BA.debugLine="Log(ESPACIO)";
|
||||
parent.__c.LogImpl("48651092",BA.NumberToString(parent._espacio),0);
|
||||
parent.__c.LogImpl("144040532",BA.NumberToString(parent._espacio),0);
|
||||
//BA.debugLineNum = 1022;BA.debugLine="For E=0 To ESPACIO -1";
|
||||
if (true) break;
|
||||
|
||||
@@ -2154,7 +2154,7 @@ parent._tamano = (int) (_ptot.length()+parent._tamano);
|
||||
//BA.debugLineNum = 1068;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
|
||||
parent._espacio = (int) ((parent._espacio-parent._tamano)/(double)2);
|
||||
//BA.debugLineNum = 1069;BA.debugLine="Log(ESPACIO)";
|
||||
parent.__c.LogImpl("48651140",BA.NumberToString(parent._espacio),0);
|
||||
parent.__c.LogImpl("144040580",BA.NumberToString(parent._espacio),0);
|
||||
//BA.debugLineNum = 1070;BA.debugLine="For E=0 To ESPACIO -1";
|
||||
if (true) break;
|
||||
|
||||
@@ -2750,7 +2750,7 @@ this.state = 48;
|
||||
//BA.debugLineNum = 2685;BA.debugLine="S.Position=i";
|
||||
parent._s.setPosition(_i);
|
||||
//BA.debugLineNum = 2686;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))";
|
||||
parent.__c.LogImpl("49961684",parent._s.GetString("HVD_RECHAZO"),0);
|
||||
parent.__c.LogImpl("145351124",parent._s.GetString("HVD_RECHAZO"),0);
|
||||
//BA.debugLineNum = 2687;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_";
|
||||
if (true) break;
|
||||
|
||||
@@ -3085,7 +3085,7 @@ parent._tamano = (int) (_ptot.length()+parent._tamano);
|
||||
//BA.debugLineNum = 2785;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
|
||||
parent._espacio = (int) ((parent._espacio-parent._tamano)/(double)2);
|
||||
//BA.debugLineNum = 2786;BA.debugLine="Log(ESPACIO)";
|
||||
parent.__c.LogImpl("49961784",BA.NumberToString(parent._espacio),0);
|
||||
parent.__c.LogImpl("145351224",BA.NumberToString(parent._espacio),0);
|
||||
//BA.debugLineNum = 2787;BA.debugLine="For E=0 To ESPACIO -1";
|
||||
if (true) break;
|
||||
|
||||
@@ -3245,7 +3245,7 @@ parent._tamano = (int) (_ptot.length()+parent._tamano);
|
||||
//BA.debugLineNum = 2833;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
|
||||
parent._espacio = (int) ((parent._espacio-parent._tamano)/(double)2);
|
||||
//BA.debugLineNum = 2834;BA.debugLine="Log(ESPACIO)";
|
||||
parent.__c.LogImpl("49961832",BA.NumberToString(parent._espacio),0);
|
||||
parent.__c.LogImpl("145351272",BA.NumberToString(parent._espacio),0);
|
||||
//BA.debugLineNum = 2835;BA.debugLine="For E=0 To ESPACIO -1";
|
||||
if (true) break;
|
||||
|
||||
@@ -3729,13 +3729,13 @@ _cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Dou
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 270;BA.debugLine="Log(cuenta0)";
|
||||
__c.LogImpl("47798906",_cuenta0,0);
|
||||
__c.LogImpl("143188346",_cuenta0,0);
|
||||
//BA.debugLineNum = 271;BA.debugLine="Log(Cuenta1)";
|
||||
__c.LogImpl("47798907",_cuenta1,0);
|
||||
__c.LogImpl("143188347",_cuenta1,0);
|
||||
//BA.debugLineNum = 272;BA.debugLine="Log(Cuenta2)";
|
||||
__c.LogImpl("47798908",_cuenta2,0);
|
||||
__c.LogImpl("143188348",_cuenta2,0);
|
||||
//BA.debugLineNum = 273;BA.debugLine="Log(Cuenta3)";
|
||||
__c.LogImpl("47798909",_cuenta3,0);
|
||||
__c.LogImpl("143188349",_cuenta3,0);
|
||||
//BA.debugLineNum = 275;BA.debugLine="l_total.Text = NumberFormat2((cuenta0 + Cuenta1 +";
|
||||
_l_total.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))),(int) (0),(int) (2),(int) (2),__c.True)));
|
||||
//BA.debugLineNum = 276;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2";
|
||||
@@ -3762,7 +3762,7 @@ _printer1._disconnect /*String*/ ();
|
||||
//BA.debugLineNum = 295;BA.debugLine="Printer1.Connect";
|
||||
_printer1._connect /*boolean*/ ();
|
||||
//BA.debugLineNum = 296;BA.debugLine="Log(\"2\")";
|
||||
__c.LogImpl("47798932","2",0);
|
||||
__c.LogImpl("143188372","2",0);
|
||||
};
|
||||
//BA.debugLineNum = 327;BA.debugLine="Private vcred4 As Cursor = Starter.skmt.ExecQuery";
|
||||
_vcred4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
@@ -3822,9 +3822,9 @@ _cuentacred0 = (float) (_cuentacred0+((_vcred.GetInt("HVD_CANT")-_vcred.GetInt("
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 370;BA.debugLine="Log(cuentacred0)";
|
||||
__c.LogImpl("47799006",BA.NumberToString(_cuentacred0),0);
|
||||
__c.LogImpl("143188446",BA.NumberToString(_cuentacred0),0);
|
||||
//BA.debugLineNum = 371;BA.debugLine="Log(Cuentacred2)";
|
||||
__c.LogImpl("47799007",BA.NumberToString(_cuentacred2),0);
|
||||
__c.LogImpl("143188447",BA.NumberToString(_cuentacred2),0);
|
||||
//BA.debugLineNum = 373;BA.debugLine="l_montopag.Text = NumberFormat2((cuentacred0 + Cu";
|
||||
_l_montopag.setText(BA.ObjectToCharSequence(__c.NumberFormat2((_cuentacred0+_cuentacred2),(int) (0),(int) (2),(int) (2),__c.False)));
|
||||
//BA.debugLineNum = 374;BA.debugLine="l_montoefec.Text = NumberFormat2((NumberFormat2((";
|
||||
@@ -3860,7 +3860,7 @@ _b_cancel_pagare.setVisible(__c.False);
|
||||
_b_cancel_pagare.setVisible(__c.False);
|
||||
};
|
||||
//BA.debugLineNum = 400;BA.debugLine="Log(\"SI AQUI\")";
|
||||
__c.LogImpl("47799036","SI AQUI",0);
|
||||
__c.LogImpl("143188476","SI AQUI",0);
|
||||
//BA.debugLineNum = 401;BA.debugLine="b = Starter.skmt.ExecQuery(\"select COUNT(*) AS C";
|
||||
_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CLIENTE FROM ABONOSP WHERE CLIENTE IN (Select CUENTA from cuentaa)")));
|
||||
//BA.debugLineNum = 402;BA.debugLine="b.Position = 0";
|
||||
@@ -4038,7 +4038,7 @@ if (_c.GetString("CAT_CL_ATIENTE2")!= null && (_c.GetString("CAT_CL_ATIENTE2")).
|
||||
//BA.debugLineNum = 133;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")";
|
||||
_l_atiende2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENTE2")));
|
||||
//BA.debugLineNum = 134;BA.debugLine="Log(\"|\"&c.GetString(\"CAT_CL_ATIENTE2\")&\"|\")";
|
||||
__c.LogImpl("47733273","|"+_c.GetString("CAT_CL_ATIENTE2")+"|",0);
|
||||
__c.LogImpl("143122713","|"+_c.GetString("CAT_CL_ATIENTE2")+"|",0);
|
||||
}else {
|
||||
//BA.debugLineNum = 136;BA.debugLine="l_atiende2.Text = \" \"";
|
||||
_l_atiende2.setText(BA.ObjectToCharSequence(" "));
|
||||
@@ -4388,7 +4388,7 @@ _k = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
|
||||
//BA.debugLineNum = 468;BA.debugLine="k.Position = 0";
|
||||
_k.setPosition((int) (0));
|
||||
//BA.debugLineNum = 469;BA.debugLine="Log(k.GetString(\"CUENTA\"))";
|
||||
parent.__c.LogImpl("48060951",_k.GetString("CUENTA"),0);
|
||||
parent.__c.LogImpl("143450391",_k.GetString("CUENTA"),0);
|
||||
//BA.debugLineNum = 470;BA.debugLine="Dim y As Cursor = Starter.skmt.ExecQuery2(\"SELEC";
|
||||
_y = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_y = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT IFNULL(SUM(a_abono),0) AS a_abono FROM ABONOS WHERE a_cliente = ?",new String[]{_k.GetString("CUENTA")})));
|
||||
@@ -4792,7 +4792,7 @@ case 15:
|
||||
//C
|
||||
this.state = 16;
|
||||
//BA.debugLineNum = 645;BA.debugLine="Log(\"Aqui\")";
|
||||
parent.__c.LogImpl("48585251","Aqui",0);
|
||||
parent.__c.LogImpl("143974691","Aqui",0);
|
||||
if (true) break;
|
||||
|
||||
case 16:
|
||||
@@ -4810,7 +4810,7 @@ _k = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
|
||||
//BA.debugLineNum = 651;BA.debugLine="k.Position = 0";
|
||||
_k.setPosition((int) (0));
|
||||
//BA.debugLineNum = 652;BA.debugLine="Log(k.GetString(\"CUENTA\"))";
|
||||
parent.__c.LogImpl("48585258",_k.GetString("CUENTA"),0);
|
||||
parent.__c.LogImpl("143974698",_k.GetString("CUENTA"),0);
|
||||
//BA.debugLineNum = 653;BA.debugLine="Dim y As Cursor = Starter.skmt.ExecQuery2(\"SELE";
|
||||
_y = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_y = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT IFNULL(SUM(a_abono),0) AS a_abono FROM ABONOS WHERE a_cliente = ?",new String[]{_k.GetString("CUENTA")})));
|
||||
@@ -5337,7 +5337,7 @@ parent._c.setPosition((int) (0));
|
||||
//BA.debugLineNum = 1712;BA.debugLine="saldopendiente = c.GetDouble(\"SALDO_PENDIENTE\")";
|
||||
_saldopendiente = parent._c.GetDouble("SALDO_PENDIENTE");
|
||||
//BA.debugLineNum = 1713;BA.debugLine="Log(c.GetString(\"SALDO_PENDIENTE\"))";
|
||||
parent.__c.LogImpl("49437300",parent._c.GetString("SALDO_PENDIENTE"),0);
|
||||
parent.__c.LogImpl("144826740",parent._c.GetString("SALDO_PENDIENTE"),0);
|
||||
if (true) break;
|
||||
|
||||
case 53:
|
||||
@@ -5455,9 +5455,9 @@ this.state = 69;
|
||||
//BA.debugLineNum = 1758;BA.debugLine="Dim numpago As Int = c5.RowCount + 1";
|
||||
_numpago = (int) (_c5.getRowCount()+1);
|
||||
//BA.debugLineNum = 1759;BA.debugLine="Log(notaabono)";
|
||||
parent.__c.LogImpl("49437346",_notaabono,0);
|
||||
parent.__c.LogImpl("144826786",_notaabono,0);
|
||||
//BA.debugLineNum = 1760;BA.debugLine="Log(et_abono.Text)";
|
||||
parent.__c.LogImpl("49437347",parent._et_abono.getText(),0);
|
||||
parent.__c.LogImpl("144826787",parent._et_abono.getText(),0);
|
||||
//BA.debugLineNum = 1761;BA.debugLine="Printer1.WriteString(\"Comprobante de pago del pag";
|
||||
parent._printer1._writestring /*String*/ ("Comprobante de pago del pagare"+parent.__c.CRLF);
|
||||
//BA.debugLineNum = 1762;BA.debugLine="Printer1.WriteString(\"Folio: \" & notaabono &\"-\"&";
|
||||
@@ -5662,7 +5662,7 @@ parent._h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.Ab
|
||||
//BA.debugLineNum = 1828;BA.debugLine="h.Position = 0";
|
||||
parent._h.setPosition((int) (0));
|
||||
//BA.debugLineNum = 1829;BA.debugLine="Log(h.GetString(\"CUENTA\"))";
|
||||
parent.__c.LogImpl("49437416",parent._h.GetString("CUENTA"),0);
|
||||
parent.__c.LogImpl("144826856",parent._h.GetString("CUENTA"),0);
|
||||
//BA.debugLineNum = 1830;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO";
|
||||
parent._j = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ?",new String[]{parent._h.GetString("CUENTA")})));
|
||||
//BA.debugLineNum = 1831;BA.debugLine="j.position = 0";
|
||||
@@ -5760,7 +5760,7 @@ _textedit = (double)(Double.parseDouble(parent._et_abono.getText()));
|
||||
//BA.debugLineNum = 1852;BA.debugLine="Dim sumaresta As Double = saldopendiente-texte";
|
||||
_sumaresta = _saldopendiente-_textedit-_saldopendiente1;
|
||||
//BA.debugLineNum = 1853;BA.debugLine="Log(NumberFormat2(sumaresta,0,2,2,False))";
|
||||
parent.__c.LogImpl("49437440",parent.__c.NumberFormat2(_sumaresta,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
|
||||
parent.__c.LogImpl("144826880",parent.__c.NumberFormat2(_sumaresta,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
|
||||
//BA.debugLineNum = 1854;BA.debugLine="If NumberFormat2(sumaresta,0,2,2,False) <> \"-.";
|
||||
if (true) break;
|
||||
|
||||
@@ -6537,7 +6537,7 @@ this.state = 60;
|
||||
//BA.debugLineNum = 2286;BA.debugLine="S.Position=i";
|
||||
parent._s.setPosition(_i);
|
||||
//BA.debugLineNum = 2287;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))";
|
||||
parent.__c.LogImpl("49830535",parent._s.GetString("HVD_RECHAZO"),0);
|
||||
parent.__c.LogImpl("145219975",parent._s.GetString("HVD_RECHAZO"),0);
|
||||
//BA.debugLineNum = 2288;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_";
|
||||
if (true) break;
|
||||
|
||||
@@ -6968,12 +6968,12 @@ Object[] _records = null;
|
||||
String _k = "";
|
||||
//BA.debugLineNum = 1260;BA.debugLine="Sub JobDone(Job As HttpJob)";
|
||||
//BA.debugLineNum = 1261;BA.debugLine="Log(Job.Success)";
|
||||
__c.LogImpl("49109505",BA.ObjectToString(_job._success /*boolean*/ ),0);
|
||||
__c.LogImpl("144498945",BA.ObjectToString(_job._success /*boolean*/ ),0);
|
||||
//BA.debugLineNum = 1262;BA.debugLine="If Job.Success = False Then";
|
||||
if (_job._success /*boolean*/ ==__c.False) {
|
||||
}else {
|
||||
//BA.debugLineNum = 1265;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
|
||||
__c.LogImpl("49109509","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
|
||||
__c.LogImpl("144498949","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
|
||||
//BA.debugLineNum = 1266;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
|
||||
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
|
||||
//BA.debugLineNum = 1267;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo";
|
||||
@@ -6985,7 +6985,7 @@ _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ );
|
||||
//BA.debugLineNum = 1270;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_";
|
||||
_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24));
|
||||
//BA.debugLineNum = 1271;BA.debugLine="Log($\"Cliente1:${cliente}\"$)";
|
||||
__c.LogImpl("49109515",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
|
||||
__c.LogImpl("144498955",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
|
||||
//BA.debugLineNum = 1272;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"1",_cliente,"1"}));
|
||||
//BA.debugLineNum = 1273;BA.debugLine="For Each records() As Object In resultado.Rows";
|
||||
@@ -7005,7 +7005,7 @@ final int groupLen13 = group13.getSize()
|
||||
for (; index13 < groupLen13;index13++){
|
||||
_k = BA.ObjectToString(group13.Get(index13));
|
||||
//BA.debugLineNum = 1275;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record";
|
||||
__c.LogImpl("49109519",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("144498959",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -7075,7 +7075,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_
|
||||
_impresoraconectada = __c.True;
|
||||
}else {
|
||||
//BA.debugLineNum = 1153;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors";
|
||||
__c.LogImpl("48716300","Error conectando la impresora",__c.Colors.Red);
|
||||
__c.LogImpl("144105740","Error conectando la impresora",__c.Colors.Red);
|
||||
//BA.debugLineNum = 1154;BA.debugLine="errorImpresora = errorImpresora + 1";
|
||||
_errorimpresora = (int) (_errorimpresora+1);
|
||||
//BA.debugLineNum = 1155;BA.debugLine="If errorImpresora > 1 Then";
|
||||
@@ -7092,7 +7092,7 @@ return "";
|
||||
public String _printer1_error() throws Exception{
|
||||
//BA.debugLineNum = 1162;BA.debugLine="Sub Printer1_Error";
|
||||
//BA.debugLineNum = 1163;BA.debugLine="Log(\"error printer\")";
|
||||
__c.LogImpl("48781825","error printer",0);
|
||||
__c.LogImpl("144171265","error printer",0);
|
||||
//BA.debugLineNum = 1164;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -50,11 +50,11 @@ public String _rutaacambiar = "";
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -250,7 +250,7 @@ case 18:
|
||||
this.state = 19;
|
||||
;
|
||||
//BA.debugLineNum = 489;BA.debugLine="Log($\"locActual: ${locActual}, thisLoc1: ${this";
|
||||
parent.__c.LogImpl("410747927",("locActual: "+parent.__c.SmartStringFormatter("",(Object)(_locactual))+", thisLoc1: "+parent.__c.SmartStringFormatter("",(Object)(_thisloc1))+""),0);
|
||||
parent.__c.LogImpl("146137367",("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("410747929",("R: "+parent.__c.SmartStringFormatter("",_r.Get((int) (0)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (1)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (2)))+""),parent.__c.Colors.Green);
|
||||
parent.__c.LogImpl("146137369",("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("410747932","|"+BA.NumberToString(_tid)+"| - "+BA.ObjectToString(parent._distorderedmap._get /*Object*/ ((Object)(_tid))),parent.__c.Colors.Blue);
|
||||
parent.__c.LogImpl("146137372","|"+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("410747936",_tempndd,0);
|
||||
parent.__c.LogImpl("146137376",_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("410223676",BA.ObjectToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ),0);
|
||||
__c.LogImpl("145613116",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("410289155",parent._entro,0);
|
||||
parent.__c.LogImpl("145678595",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("410158088","Coordenadas del almacen: "+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude())+","+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()),0);
|
||||
__c.LogImpl("145547528","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("411075590","=================================",0);
|
||||
parent.__c.LogImpl("146465030","=================================",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("411075601",_coordsstr,0);
|
||||
parent.__c.LogImpl("146465041",_coordsstr,0);
|
||||
//BA.debugLineNum = 609;BA.debugLine="ProgressDialogShow2(\"Calculando distancia y tiemp";
|
||||
parent.__c.ProgressDialogShow2(ba,BA.ObjectToCharSequence("Calculando distancia y tiempo, un momento por favor."),parent.__c.False);
|
||||
//BA.debugLineNum = 610;BA.debugLine="Dim j As HttpJob";
|
||||
@@ -791,7 +791,7 @@ _j._initialize /*String*/ (ba,"trip",parent);
|
||||
//BA.debugLineNum = 612;BA.debugLine="j.Download($\"http://keymon.net:9002/ruteador?m=OS";
|
||||
_j._download /*String*/ (("http://keymon.net:9002/ruteador?m=OSRM&r="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traerutareparto /*String*/ (ba)))+"&a="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"&f=CEDIS,"+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+"&c="+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+""));
|
||||
//BA.debugLineNum = 613;BA.debugLine="Log($\"http://keymon.net:9002/ruteador?m=OSRM&r=${";
|
||||
parent.__c.LogImpl("411075606",("http://keymon.net:9002/ruteador?m=OSRM&r="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traerutareparto /*String*/ (ba)))+"&a="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"&f=CEDIS,"+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+"&c="+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+""),0);
|
||||
parent.__c.LogImpl("146465046",("http://keymon.net:9002/ruteador?m=OSRM&r="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traerutareparto /*String*/ (ba)))+"&a="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"&f=CEDIS,"+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+"&c="+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+""),0);
|
||||
//BA.debugLineNum = 614;BA.debugLine="Wait For (j) JobDone(j As HttpJob)";
|
||||
parent.__c.WaitFor("jobdone", ba, this, (Object)(_j));
|
||||
this.state = 35;
|
||||
@@ -824,7 +824,7 @@ _jp.Initialize(_j._getstring /*String*/ ());
|
||||
_m = new anywheresoftware.b4a.objects.collections.Map();
|
||||
_m = _jp.NextObject();
|
||||
//BA.debugLineNum = 619;BA.debugLine="Log(m)";
|
||||
parent.__c.LogImpl("411075612",BA.ObjectToString(_m),0);
|
||||
parent.__c.LogImpl("146465052",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("411075614","===== OK",0);
|
||||
parent.__c.LogImpl("146465054","===== 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("411075643",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_distance))/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60/(double)60))+" hrs)"),0);
|
||||
parent.__c.LogImpl("146465083",("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("411075652","**************** Error! ******************",parent.__c.Colors.Red);
|
||||
parent.__c.LogImpl("146465092","**************** 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("410616844",("Respuesta: "+parent.__c.SmartStringFormatter("",_m.Get((Object)("code")))+""),0);
|
||||
parent.__c.LogImpl("146006284",("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("410616854",("Distancia total: "+parent.__c.SmartStringFormatter("",(Object)(_distanciatotal))+", Tiempo: "+parent.__c.SmartStringFormatter("",(Object)(_tiempo))+""),0);
|
||||
parent.__c.LogImpl("146006294",("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("410616857","Error!",0);
|
||||
parent.__c.LogImpl("146006297","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("410354690",BA.ObjectToString(_value),0);
|
||||
parent.__c.LogImpl("145744130",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("410354708",("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("145744148",("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("411141121",_laruta,0);
|
||||
__c.LogImpl("146530561",_laruta,0);
|
||||
//BA.debugLineNum = 668;BA.debugLine="Log(entro)";
|
||||
__c.LogImpl("411141122",_entro,0);
|
||||
__c.LogImpl("146530562",_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("411141133",BA.ObjectToString(_avisitar),0);
|
||||
__c.LogImpl("146530573",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("410682370",("Coordenadas de inicio: "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+""),0);
|
||||
parent.__c.LogImpl("146071810",("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("410682385",("a visitar: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()))+""),0);
|
||||
parent.__c.LogImpl("146071825",("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("410682439",("Distancia total ruta inicial: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal0/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo0/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo0/(double)60/(double)60))+" hrs)"),0);
|
||||
parent.__c.LogImpl("146071879",("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("410682443","Error!",0);
|
||||
parent.__c.LogImpl("146071883","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("410682477","distancia ruta 2:"+BA.NumberToString((_distanciatotal))+"|"+BA.ObjectToString(_rutas2.Get((Object)("distance"))),0);
|
||||
parent.__c.LogImpl("146071917","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("410682481",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60/(double)60))+" hrs)"),0);
|
||||
parent.__c.LogImpl("146071921",("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("410682490","**************** Error! ******************",parent.__c.Colors.Red);
|
||||
parent.__c.LogImpl("146071930","**************** 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("410682498","BORRAMOS WAYPOINTS",0);
|
||||
parent.__c.LogImpl("146071938","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("410682503",BA.ObjectToString(parent._listawaypoints.Get(_r))+"|"+BA.ObjectToString(_r1.Get((Object)("coords")))+"|"+BA.ObjectToString(_r1.Get((Object)("calle"))),0);
|
||||
parent.__c.LogImpl("146071943",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("410682519","Generamos ListView1 en traeRutaDia",0);
|
||||
parent.__c.LogImpl("146071959","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("410813441","Iniciamos traeTodosAVisitar",0);
|
||||
__c.LogImpl("146202881","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("410813446",BA.ObjectToString(_ubicacioninicial),__c.Colors.Gray);
|
||||
__c.LogImpl("146202886",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("410813454",BA.ObjectToString(_ubicacioninicial),__c.Colors.Red);
|
||||
__c.LogImpl("146202894",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("410813488",BA.NumberToString(_c.getRowCount())+" rutas, "+BA.NumberToString(_clientesmapao._getsize /*int*/ ())+" clientes",0);
|
||||
__c.LogImpl("146202928",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";
|
||||
|
||||
@@ -38,11 +38,11 @@ public String _existe = "";
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -72,11 +72,11 @@ public anywheresoftware.b4a.objects.LabelWrapper _l_piezas = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -102,7 +102,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null;
|
||||
//BA.debugLineNum = 651;BA.debugLine="etCantHasFocus = False";
|
||||
_etcanthasfocus = __c.False;
|
||||
//BA.debugLineNum = 653;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)";
|
||||
__c.LogImpl("448103427","b_prodMas_Click",__c.Colors.Magenta);
|
||||
__c.LogImpl("147841283","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("448103436","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
__c.LogImpl("147841292","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("448103441",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
|
||||
__c.LogImpl("147841297",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
|
||||
//BA.debugLineNum = 670;BA.debugLine="Private minimoadesc As String";
|
||||
_minimoadesc = "";
|
||||
//BA.debugLineNum = 671;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\"";
|
||||
@@ -152,7 +152,7 @@ if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) {
|
||||
//BA.debugLineNum = 686;BA.debugLine="If laCant.Text + 1 <= maxProds Then";
|
||||
if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) {
|
||||
//BA.debugLineNum = 687;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)";
|
||||
__c.LogImpl("448103461",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
|
||||
__c.LogImpl("147841317",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
|
||||
//BA.debugLineNum = 688;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$";
|
||||
_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+"")));
|
||||
//BA.debugLineNum = 689;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro";
|
||||
@@ -168,7 +168,7 @@ _b4xpage_appear();
|
||||
//BA.debugLineNum = 703;BA.debugLine="If laCant.Text + 1 <= maxProds Then";
|
||||
if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) {
|
||||
//BA.debugLineNum = 704;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)";
|
||||
__c.LogImpl("448103478",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
|
||||
__c.LogImpl("147841334",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
|
||||
//BA.debugLineNum = 705;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$";
|
||||
_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+"")));
|
||||
//BA.debugLineNum = 706;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro";
|
||||
@@ -220,7 +220,7 @@ String _maxprods = "";
|
||||
//BA.debugLineNum = 929;BA.debugLine="etCantHasFocus = False";
|
||||
_etcanthasfocus = __c.False;
|
||||
//BA.debugLineNum = 931;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)";
|
||||
__c.LogImpl("448431107","b_prodMas_Click",__c.Colors.Magenta);
|
||||
__c.LogImpl("148168963","b_prodMas_Click",__c.Colors.Magenta);
|
||||
//BA.debugLineNum = 932;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
|
||||
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
|
||||
//BA.debugLineNum = 933;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
|
||||
@@ -236,30 +236,30 @@ _lacantc = _pnl.GetView((int) (3)).GetView((int) (3));
|
||||
_estetag = new anywheresoftware.b4a.objects.collections.List();
|
||||
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag())));
|
||||
//BA.debugLineNum = 940;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta";
|
||||
__c.LogImpl("448431116","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
__c.LogImpl("148168972","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("448431120",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red);
|
||||
__c.LogImpl("148168976",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red);
|
||||
//BA.debugLineNum = 945;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)";
|
||||
__c.LogImpl("448431121",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red);
|
||||
__c.LogImpl("148168977",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red);
|
||||
//BA.debugLineNum = 946;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag";
|
||||
__c.LogImpl("448431122",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
|
||||
__c.LogImpl("148168978",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
|
||||
//BA.debugLineNum = 948;BA.debugLine="Log(maxProds)";
|
||||
__c.LogImpl("448431124",_maxprods,0);
|
||||
__c.LogImpl("148168980",_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("448431131",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0);
|
||||
__c.LogImpl("148168987",("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("448431134",_lacantc.getText(),0);
|
||||
__c.LogImpl("148168990",_lacantc.getText(),0);
|
||||
//BA.debugLineNum = 959;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) -(1 * "+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+") WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'"));
|
||||
//BA.debugLineNum = 967;BA.debugLine="B4XPage_Appear";
|
||||
@@ -284,9 +284,9 @@ float _preciou = 0f;
|
||||
//BA.debugLineNum = 507;BA.debugLine="etCantHasFocus = False";
|
||||
_etcanthasfocus = __c.False;
|
||||
//BA.debugLineNum = 508;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)";
|
||||
__c.LogImpl("448037890","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
|
||||
__c.LogImpl("147775746","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
|
||||
//BA.debugLineNum = 509;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
|
||||
__c.LogImpl("448037891","b_prodMenos_Click",__c.Colors.Magenta);
|
||||
__c.LogImpl("147775747","b_prodMenos_Click",__c.Colors.Magenta);
|
||||
//BA.debugLineNum = 510;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
|
||||
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
|
||||
//BA.debugLineNum = 511;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
|
||||
@@ -302,7 +302,7 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3));
|
||||
_estetag = new anywheresoftware.b4a.objects.collections.List();
|
||||
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag())));
|
||||
//BA.debugLineNum = 516;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get(";
|
||||
__c.LogImpl("448037898","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
__c.LogImpl("147775754","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
//BA.debugLineNum = 517;BA.debugLine="Private minimoadesc As String";
|
||||
_minimoadesc = "";
|
||||
//BA.debugLineNum = 518;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\"";
|
||||
@@ -381,9 +381,9 @@ _c2.setPosition((int) (0));
|
||||
//BA.debugLineNum = 563;BA.debugLine="If c2.GetString(\"HVD_RECHAZO\") = \"0\" Then";
|
||||
if ((_c2.GetString("HVD_RECHAZO")).equals("0")) {
|
||||
//BA.debugLineNum = 566;BA.debugLine="Log(\"ES PROMO\")";
|
||||
__c.LogImpl("448037948","ES PROMO",0);
|
||||
__c.LogImpl("147775804","ES PROMO",0);
|
||||
//BA.debugLineNum = 567;BA.debugLine="Log(esteTag.Get(3))";
|
||||
__c.LogImpl("448037949",BA.ObjectToString(_estetag.Get((int) (3))),0);
|
||||
__c.LogImpl("147775805",BA.ObjectToString(_estetag.Get((int) (3))),0);
|
||||
//BA.debugLineNum = 568;BA.debugLine="result = Msgbox2(\"Si se modifica una promoc";
|
||||
_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?"),BA.ObjectToCharSequence("Modificar Promoción"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba));
|
||||
//BA.debugLineNum = 569;BA.debugLine="If result = DialogResponse.POSITIVE Then 'Qu";
|
||||
@@ -391,7 +391,7 @@ if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
|
||||
//BA.debugLineNum = 570;BA.debugLine="prodsMap.Remove(esteTag.Get(3))";
|
||||
_prodsmap.Remove(_estetag.Get((int) (3)));
|
||||
//BA.debugLineNum = 574;BA.debugLine="LogColor(esteTag.Get(3),Colors.Blue)";
|
||||
__c.LogImpl("448037956",BA.ObjectToString(_estetag.Get((int) (3))),__c.Colors.Blue);
|
||||
__c.LogImpl("147775812",BA.ObjectToString(_estetag.Get((int) (3))),__c.Colors.Blue);
|
||||
//BA.debugLineNum = 577;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VEN";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)"));
|
||||
//BA.debugLineNum = 578;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VEN";
|
||||
@@ -399,7 +399,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENT
|
||||
//BA.debugLineNum = 581;BA.debugLine="c.Close";
|
||||
_c.Close();
|
||||
//BA.debugLineNum = 582;BA.debugLine="LogColor(prodsMap, Colors.red)";
|
||||
__c.LogImpl("448037964",BA.ObjectToString(_prodsmap),__c.Colors.Red);
|
||||
__c.LogImpl("147775820",BA.ObjectToString(_prodsmap),__c.Colors.Red);
|
||||
//BA.debugLineNum = 583;BA.debugLine="reconstruirPedido = True";
|
||||
_reconstruirpedido = __c.True;
|
||||
//BA.debugLineNum = 584;BA.debugLine="promoABorrar = esteTag.Get(3)";
|
||||
@@ -417,7 +417,7 @@ _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Obje
|
||||
if ((double)(Double.parseDouble(_lacant.getText()))<0) {
|
||||
_lacant.setText(BA.ObjectToCharSequence(0));};
|
||||
//BA.debugLineNum = 591;BA.debugLine="Log(\"NO ES promo\")";
|
||||
__c.LogImpl("448037973","NO ES promo",0);
|
||||
__c.LogImpl("147775829","NO ES promo",0);
|
||||
//BA.debugLineNum = 592;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"') WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'"));
|
||||
//BA.debugLineNum = 593;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunap";
|
||||
@@ -435,7 +435,7 @@ _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Obje
|
||||
if ((double)(Double.parseDouble(_lacant.getText()))<0) {
|
||||
_lacant.setText(BA.ObjectToCharSequence(0));};
|
||||
//BA.debugLineNum = 600;BA.debugLine="Log(\"NO ES promo\")";
|
||||
__c.LogImpl("448037982","NO ES promo",0);
|
||||
__c.LogImpl("147775838","NO ES promo",0);
|
||||
//BA.debugLineNum = 601;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTA";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), BCAJAS = 0, CANTC = 0 WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'"));
|
||||
//BA.debugLineNum = 602;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapr";
|
||||
@@ -454,7 +454,7 @@ _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Obje
|
||||
if ((double)(Double.parseDouble(_lacant.getText()))<0) {
|
||||
_lacant.setText(BA.ObjectToCharSequence(0));};
|
||||
//BA.debugLineNum = 611;BA.debugLine="Log(\"NO ES promo\")";
|
||||
__c.LogImpl("448037993","NO ES promo",0);
|
||||
__c.LogImpl("147775849","NO ES promo",0);
|
||||
//BA.debugLineNum = 616;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(";
|
||||
_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))})));
|
||||
@@ -494,7 +494,7 @@ _b4xpage_appear();
|
||||
//BA.debugLineNum = 636;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get";
|
||||
_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1)))));
|
||||
//BA.debugLineNum = 637;BA.debugLine="Log(\"PU: \" & preciou)";
|
||||
__c.LogImpl("448038019","PU: "+BA.NumberToString(_preciou),0);
|
||||
__c.LogImpl("147775875","PU: "+BA.NumberToString(_preciou),0);
|
||||
//BA.debugLineNum = 648;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
@@ -510,9 +510,9 @@ float _preciou = 0f;
|
||||
//BA.debugLineNum = 973;BA.debugLine="etCantHasFocus = False";
|
||||
_etcanthasfocus = __c.False;
|
||||
//BA.debugLineNum = 974;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)";
|
||||
__c.LogImpl("448496642","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
|
||||
__c.LogImpl("148234498","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
|
||||
//BA.debugLineNum = 975;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
|
||||
__c.LogImpl("448496643","b_prodMenos_Click",__c.Colors.Magenta);
|
||||
__c.LogImpl("148234499","b_prodMenos_Click",__c.Colors.Magenta);
|
||||
//BA.debugLineNum = 976;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
|
||||
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
|
||||
//BA.debugLineNum = 977;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
|
||||
@@ -528,22 +528,22 @@ _lacantc = _pnl.GetView((int) (3)).GetView((int) (3));
|
||||
_estetag = new anywheresoftware.b4a.objects.collections.List();
|
||||
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag())));
|
||||
//BA.debugLineNum = 982;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get";
|
||||
__c.LogImpl("448496650","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
__c.LogImpl("148234506","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("448496651",BA.ObjectToString(_estetag),0);
|
||||
__c.LogImpl("148234507",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("448496655",BA.NumberToString(_c3.getRowCount()),0);
|
||||
__c.LogImpl("148234511",BA.NumberToString(_c3.getRowCount()),0);
|
||||
//BA.debugLineNum = 988;BA.debugLine="Log(esteTag.Get(8))";
|
||||
__c.LogImpl("448496656",BA.ObjectToString(_estetag.Get((int) (8))),0);
|
||||
__c.LogImpl("148234512",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("448496658","AQUI VEMOS SI ACTUALIZAMOS",0);
|
||||
__c.LogImpl("148234514","AQUI VEMOS SI ACTUALIZAMOS",0);
|
||||
//BA.debugLineNum = 991;BA.debugLine="c3.Position = 0";
|
||||
_c3.setPosition((int) (0));
|
||||
//BA.debugLineNum = 992;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then";
|
||||
@@ -556,7 +556,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDI
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 998;BA.debugLine="Log(\"entre al if o algo asi \")";
|
||||
__c.LogImpl("448496666","entre al if o algo asi ",0);
|
||||
__c.LogImpl("148234522","entre al if o algo asi ",0);
|
||||
//BA.debugLineNum = 999;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0";
|
||||
if ((_lacantc.getText()).equals("")) {
|
||||
_lacantc.setText(BA.ObjectToCharSequence(0));};
|
||||
@@ -573,7 +573,7 @@ if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) {
|
||||
//BA.debugLineNum = 1009;BA.debugLine="If laCantc.Text > 0 Then";
|
||||
if ((double)(Double.parseDouble(_lacantc.getText()))>0) {
|
||||
//BA.debugLineNum = 1010;BA.debugLine="Log(\"entre al if o algo asi \")";
|
||||
__c.LogImpl("448496678","entre al if o algo asi ",0);
|
||||
__c.LogImpl("148234534","entre al if o algo asi ",0);
|
||||
//BA.debugLineNum = 1011;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0";
|
||||
if ((_lacantc.getText()).equals("")) {
|
||||
_lacantc.setText(BA.ObjectToCharSequence(0));};
|
||||
@@ -599,7 +599,7 @@ _c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjec
|
||||
//BA.debugLineNum = 1027;BA.debugLine="If c3.RowCount > 0 Then";
|
||||
if (_c3.getRowCount()>0) {
|
||||
//BA.debugLineNum = 1028;BA.debugLine="Log(\"AQUI VEMOS SI ACTUALIZAMOS\")";
|
||||
__c.LogImpl("448496696","AQUI VEMOS SI ACTUALIZAMOS",0);
|
||||
__c.LogImpl("148234552","AQUI VEMOS SI ACTUALIZAMOS",0);
|
||||
//BA.debugLineNum = 1029;BA.debugLine="c3.Position = 0";
|
||||
_c3.setPosition((int) (0));
|
||||
//BA.debugLineNum = 1030;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then";
|
||||
@@ -612,7 +612,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDI
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 1036;BA.debugLine="Log(\"entre al if o algo asi \")";
|
||||
__c.LogImpl("448496704","entre al if o algo asi ",0);
|
||||
__c.LogImpl("148234560","entre al if o algo asi ",0);
|
||||
//BA.debugLineNum = 1037;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0";
|
||||
if ((_lacantc.getText()).equals("")) {
|
||||
_lacantc.setText(BA.ObjectToCharSequence(0));};
|
||||
@@ -630,7 +630,7 @@ _b4xpage_appear();
|
||||
//BA.debugLineNum = 1048;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get";
|
||||
_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1)))));
|
||||
//BA.debugLineNum = 1049;BA.debugLine="Log(\"PU: \" & preciou)";
|
||||
__c.LogImpl("448496717","PU: "+BA.NumberToString(_preciou),0);
|
||||
__c.LogImpl("148234573","PU: "+BA.NumberToString(_preciou),0);
|
||||
//BA.debugLineNum = 1050;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
@@ -861,7 +861,7 @@ _textcolor = __c.Colors.Black;
|
||||
//BA.debugLineNum = 174;BA.debugLine="clv_pedido.Add(CreateListItem2(c3.GetString(\"P";
|
||||
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_c3.GetString("PE_PRONOMBRE"),_c3.GetString("PE_COSTOU"),(int)(Double.parseDouble(_c3.GetString("PE_CANT"))),(int) (0),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c3.GetString("PE_PROID"),_bgcolor,_textcolor,_subs._traealmacen /*String*/ (ba),_subs._traecliente /*String*/ (ba),_c3.GetString("PE_CLIENTEOR"),BA.NumberToString(1),(int)(Double.parseDouble(_c3.GetString("CONSECUTIVO")))).getObject())),(Object)(_i));
|
||||
//BA.debugLineNum = 175;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P";
|
||||
__c.LogImpl("447513707","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0);
|
||||
__c.LogImpl("147251563","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0);
|
||||
}else {
|
||||
//BA.debugLineNum = 177;BA.debugLine="Private bgColor, textColor As Int";
|
||||
_bgcolor = 0;
|
||||
@@ -871,7 +871,7 @@ _bgcolor = __c.Colors.RGB((int) (221),(int) (132),(int) (132));
|
||||
//BA.debugLineNum = 179;BA.debugLine="textColor = Colors.black";
|
||||
_textcolor = __c.Colors.Black;
|
||||
//BA.debugLineNum = 180;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P";
|
||||
__c.LogImpl("447513712","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0);
|
||||
__c.LogImpl("147251568","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0);
|
||||
//BA.debugLineNum = 181;BA.debugLine="clv_pedido.Add(CreateListItem(c3.GetString(\"PE";
|
||||
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c3.GetString("PE_PRONOMBRE"),_c3.GetString("PE_COSTOU"),(int)(Double.parseDouble(_c3.GetString("PE_CANT"))),(int) (0),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c3.GetString("PE_PROID"),_bgcolor,_textcolor,_subs._traealmacen /*String*/ (ba),_subs._traecliente /*String*/ (ba),_c3.GetString("PE_CLIENTEOR"),BA.NumberToString(1),(int)(Double.parseDouble(_c3.GetString("CONSECUTIVO")))).getObject())),(Object)(_i));
|
||||
};
|
||||
@@ -907,7 +907,7 @@ _c4.setPosition((int) (0));
|
||||
//BA.debugLineNum = 198;BA.debugLine="cantres = c4.GetString(\"PE_CANT\")";
|
||||
_cantres = (int)(Double.parseDouble(_c4.GetString("PE_CANT")));
|
||||
//BA.debugLineNum = 199;BA.debugLine="Log(c4.GetString(\"PE_CANT\"))";
|
||||
__c.LogImpl("447513731",_c4.GetString("PE_CANT"),0);
|
||||
__c.LogImpl("147251587",_c4.GetString("PE_CANT"),0);
|
||||
}else {
|
||||
//BA.debugLineNum = 201;BA.debugLine="cantres = 0";
|
||||
_cantres = (int) (0);
|
||||
@@ -1061,9 +1061,9 @@ if ((double)(Double.parseDouble(_arti3))<0) {
|
||||
_arti = BA.NumberToString(0);
|
||||
};
|
||||
//BA.debugLineNum = 296;BA.debugLine="Log(Cuenta&\",\"&Cuenta1&\",\"&Cuenta2&\",\"&Cuenta3)";
|
||||
__c.LogImpl("447513828",_cuenta+","+_cuenta1+","+_cuenta2+","+_cuenta3,0);
|
||||
__c.LogImpl("147251684",_cuenta+","+_cuenta1+","+_cuenta2+","+_cuenta3,0);
|
||||
//BA.debugLineNum = 297;BA.debugLine="Log(arti&\",\"&arti1&\",\"&arti2&\",\"&arti3)";
|
||||
__c.LogImpl("447513829",_arti+","+_arti1+","+_arti2+","+_arti3,0);
|
||||
__c.LogImpl("147251685",_arti+","+_arti1+","+_arti2+","+_arti3,0);
|
||||
//BA.debugLineNum = 298;BA.debugLine="If Cuenta + Cuenta1 + Cuenta2 + Cuenta3 < 0 Then";
|
||||
if ((double)(Double.parseDouble(_cuenta))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))<0) {
|
||||
//BA.debugLineNum = 299;BA.debugLine="L_TOTAL.Text = 0";
|
||||
@@ -1371,7 +1371,7 @@ return "";
|
||||
public String _p_prods_click() throws Exception{
|
||||
//BA.debugLineNum = 924;BA.debugLine="Sub p_prods_Click";
|
||||
//BA.debugLineNum = 925;BA.debugLine="Log(Sender.As(Panel).tag)";
|
||||
__c.LogImpl("448365569",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("148103425",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 "";
|
||||
}
|
||||
|
||||
@@ -39,11 +39,11 @@ public String _motivo = "";
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -146,7 +146,7 @@ String _flash = "";
|
||||
//BA.debugLineNum = 129;BA.debugLine="Dim f() As Float = camEx.GetFocusDistances";
|
||||
_f = _camex._getfocusdistances /*float[]*/ ();
|
||||
//BA.debugLineNum = 130;BA.debugLine="Log(f(0) & \", \" & f(1) & \", \" & f(2))";
|
||||
__c.LogImpl("449545218",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0);
|
||||
__c.LogImpl("149283074",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("449152005",BA.ObjectToString(_camex._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ ()),0);
|
||||
__c.LogImpl("148889861",BA.ObjectToString(_camex._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ ()),0);
|
||||
}else {
|
||||
//BA.debugLineNum = 58;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)";
|
||||
__c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True);
|
||||
|
||||
@@ -64,11 +64,11 @@ public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -92,7 +92,7 @@ anywheresoftware.b4a.objects.collections.Map _cym = null;
|
||||
//BA.debugLineNum = 384;BA.debugLine="etCantHasFocus = False";
|
||||
_etcanthasfocus = __c.False;
|
||||
//BA.debugLineNum = 386;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)";
|
||||
__c.LogImpl("458261507","b_prodMas_Click",__c.Colors.Magenta);
|
||||
__c.LogImpl("150200579","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("458261516","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
__c.LogImpl("150200588","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("458261521",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
|
||||
__c.LogImpl("150200593",("++++++++++++++++++++++++++ "+__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("458261524",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
|
||||
__c.LogImpl("150200596",("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("458195970","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
|
||||
__c.LogImpl("150135042","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
|
||||
//BA.debugLineNum = 343;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
|
||||
__c.LogImpl("458195971","b_prodMenos_Click",__c.Colors.Magenta);
|
||||
__c.LogImpl("150135043","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("458195978","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
__c.LogImpl("150135050","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("458195980","ES PROMO",0);
|
||||
__c.LogImpl("150135052","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("458195986",BA.ObjectToString(_prodsmap),__c.Colors.Red);
|
||||
__c.LogImpl("150135058",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("458195998","PU: "+BA.NumberToString(_preciou),0);
|
||||
__c.LogImpl("150135070","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("457737270",("VENTA: "+__c.SmartStringFormatter("",(Object)(_vc.getRowCount()))+""),0);
|
||||
__c.LogImpl("149676342",("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("458327042","*******************************************************",0);
|
||||
__c.LogImpl("150266114","*******************************************************",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("458327045","*********** CUENTAPRODS - NO RECONSTRUIR",0);
|
||||
__c.LogImpl("150266117","*********** 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("458327054","-------------------------------------",0);
|
||||
__c.LogImpl("150266126","-------------------------------------",0);
|
||||
//BA.debugLineNum = 443;BA.debugLine="Log($\"ET: ${esteTag}\"$)";
|
||||
__c.LogImpl("458327055",("ET: "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),0);
|
||||
__c.LogImpl("150266127",("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("458327070",(""+__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("150266142",(""+__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("458327073",("cantRechazada = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),__c.Colors.Magenta);
|
||||
__c.LogImpl("150266145",("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("458327085","INSERTAMOS EN REPARTO",0);
|
||||
__c.LogImpl("150266157","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("458327092",("Actualizamos REP_CANT RECHAZO = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),0);
|
||||
__c.LogImpl("150266164",("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("458327105","-------------------------------------",0);
|
||||
__c.LogImpl("150266177","-------------------------------------",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("458327111","*********** CUENTAPRODS - SI RECONSTRUIR",0);
|
||||
__c.LogImpl("150266183","*********** 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("458327114","Usamos PRODSMAP",0);
|
||||
__c.LogImpl("150266186","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("458327117","PPP: "+_pr+"|PromoABorrar="+_promoaborrar+"|"+BA.ObjectToString(_pr1),0);
|
||||
__c.LogImpl("150266189","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("458327122","AAA: "+_newpromo+"|"+_promoaborrar,0);
|
||||
__c.LogImpl("150266194","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("458327128","CAMBIAMOS PROMO: "+_newpromo,__c.Colors.Magenta);
|
||||
__c.LogImpl("150266200","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("458327134",("CLI: "+__c.SmartStringFormatter("",_pr1.Get((Object)("nombre")))+", "+__c.SmartStringFormatter("",(Object)(_newprecio))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant")))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant2")))+""),0);
|
||||
__c.LogImpl("150266206",("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("458327140",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0);
|
||||
__c.LogImpl("150266212",("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("458327141","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Green);
|
||||
__c.LogImpl("150266213","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Green);
|
||||
//BA.debugLineNum = 532;BA.debugLine="LogColor(prodsMap, Colors.Blue)";
|
||||
__c.LogImpl("458327144",BA.ObjectToString(_prodsmap),__c.Colors.Blue);
|
||||
__c.LogImpl("150266216",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("458523649",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("150462721",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 "";
|
||||
}
|
||||
|
||||
@@ -29,11 +29,11 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -56,11 +56,11 @@ public anywheresoftware.b4a.objects.streams.File.TextWriterWrapper _printer = nu
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -458,7 +458,7 @@ _printer1._disconnect /*String*/ ();
|
||||
//BA.debugLineNum = 55;BA.debugLine="Printer1.Connect";
|
||||
_printer1._connect /*boolean*/ ();
|
||||
//BA.debugLineNum = 56;BA.debugLine="Log(\"2\")";
|
||||
__c.LogImpl("458982409","2",0);
|
||||
__c.LogImpl("150921481","2",0);
|
||||
};
|
||||
//BA.debugLineNum = 58;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")";
|
||||
_btadmin.Initialize(ba,"BlueTeeth");
|
||||
@@ -675,7 +675,7 @@ for (;_i2 <= limit34 ;_i2 = _i2 + step34 ) {
|
||||
//BA.debugLineNum = 275;BA.debugLine="rv.Position = i2";
|
||||
_rv.setPosition(_i2);
|
||||
//BA.debugLineNum = 276;BA.debugLine="Log($\"Actualizamos REPARTO - cliente=${rv.Get";
|
||||
__c.LogImpl("459506729",("Actualizamos REPARTO - cliente="+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLIENTE")))+", cliente orignal="+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+", le agregamos "+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+""),0);
|
||||
__c.LogImpl("151445801",("Actualizamos REPARTO - cliente="+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLIENTE")))+", cliente orignal="+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+", le agregamos "+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+""),0);
|
||||
//BA.debugLineNum = 277;BA.debugLine="Starter.skmt.ExecNonQuery($\"update REPARTO se";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update REPARTO set REP_CANT = REP_CANT + "+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+" where REP_RECHAZO = '1' and REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+"'"));
|
||||
}
|
||||
@@ -692,7 +692,7 @@ for (;_i <= limit41 ;_i = _i + step41 ) {
|
||||
//BA.debugLineNum = 283;BA.debugLine="c.Position=i";
|
||||
_c.setPosition(_i);
|
||||
//BA.debugLineNum = 284;BA.debugLine="Log($\"REGISTRO= ${c.GetString(\"HVD_NUM_REGISTR";
|
||||
__c.LogImpl("459506737",("REGISTRO= "+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+""),0);
|
||||
__c.LogImpl("151445809",("REGISTRO= "+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+""),0);
|
||||
//BA.debugLineNum = 285;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_PRODREGISTRO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_c.GetString("HVD_CLIENTE"),_c.GetString("HVD_PRONOMBRE"),_c.GetString("HVD_CANT"),_c.GetString("HVD_COSTO_TOT"),_c.GetString("HVD_FECHA"),_c.GetString("HVD_PROID"),_c.GetString("CAT_GP_PRECIO"),_c.GetString("HVD_NUM_REGISTRO"),_c.GetString("HVD_CLIENTE")}));
|
||||
//BA.debugLineNum = 286;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart";
|
||||
@@ -766,12 +766,12 @@ Object[] _records = null;
|
||||
String _k = "";
|
||||
//BA.debugLineNum = 109;BA.debugLine="Sub JobDone(Job As HttpJob)";
|
||||
//BA.debugLineNum = 110;BA.debugLine="Log(Job.Success)";
|
||||
__c.LogImpl("459310081",BA.ObjectToString(_job._success /*boolean*/ ),0);
|
||||
__c.LogImpl("151249153",BA.ObjectToString(_job._success /*boolean*/ ),0);
|
||||
//BA.debugLineNum = 111;BA.debugLine="If Job.Success = False Then";
|
||||
if (_job._success /*boolean*/ ==__c.False) {
|
||||
}else {
|
||||
//BA.debugLineNum = 114;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
|
||||
__c.LogImpl("459310085","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
|
||||
__c.LogImpl("151249157","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
|
||||
//BA.debugLineNum = 115;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
|
||||
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
|
||||
//BA.debugLineNum = 116;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo";
|
||||
@@ -783,7 +783,7 @@ _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ );
|
||||
//BA.debugLineNum = 119;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_";
|
||||
_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24));
|
||||
//BA.debugLineNum = 120;BA.debugLine="Log($\"Cliente1:${cliente}\"$)";
|
||||
__c.LogImpl("459310091",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
|
||||
__c.LogImpl("151249163",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
|
||||
//BA.debugLineNum = 121;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"1",_cliente,"1"}));
|
||||
//BA.debugLineNum = 122;BA.debugLine="For Each records() As Object In resultado.Rows";
|
||||
@@ -803,7 +803,7 @@ final int groupLen13 = group13.getSize()
|
||||
for (; index13 < groupLen13;index13++){
|
||||
_k = BA.ObjectToString(group13.Get(index13));
|
||||
//BA.debugLineNum = 124;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record";
|
||||
__c.LogImpl("459310095",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("151249167",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -851,7 +851,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_
|
||||
_impresoraconectada = __c.True;
|
||||
}else {
|
||||
//BA.debugLineNum = 339;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors";
|
||||
__c.LogImpl("459572236","Error conectando la impresora",__c.Colors.Red);
|
||||
__c.LogImpl("151511308","Error conectando la impresora",__c.Colors.Red);
|
||||
//BA.debugLineNum = 340;BA.debugLine="errorImpresora = errorImpresora + 1";
|
||||
_errorimpresora = (int) (_errorimpresora+1);
|
||||
//BA.debugLineNum = 341;BA.debugLine="If errorImpresora > 1 Then";
|
||||
@@ -868,7 +868,7 @@ return "";
|
||||
public String _printer1_error() throws Exception{
|
||||
//BA.debugLineNum = 348;BA.debugLine="Sub Printer1_Error";
|
||||
//BA.debugLineNum = 349;BA.debugLine="Log(\"error printer\")";
|
||||
__c.LogImpl("459637761","error printer",0);
|
||||
__c.LogImpl("151576833","error printer",0);
|
||||
//BA.debugLineNum = 350;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -29,11 +29,11 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -29,11 +29,11 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -158,11 +158,11 @@ public anywheresoftware.b4a.objects.EditTextWrapper _et_codigo = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -380,10 +380,10 @@ if ((_c.GetString("gestion")).equals("2")) {
|
||||
//BA.debugLineNum = 2723;BA.debugLine="ESTATUS = \"ENTREGADO\"";
|
||||
_estatus = "ENTREGADO";
|
||||
//BA.debugLineNum = 2724;BA.debugLine="Log(\"entrega\")";
|
||||
__c.LogImpl("451118121","entrega",0);
|
||||
__c.LogImpl("153542953","entrega",0);
|
||||
}else if((_c.GetString("gestion")).equals("3")) {
|
||||
//BA.debugLineNum = 2726;BA.debugLine="Log(\"no entrega\")";
|
||||
__c.LogImpl("451118123","no entrega",0);
|
||||
__c.LogImpl("153542955","no entrega",0);
|
||||
//BA.debugLineNum = 2727;BA.debugLine="ESTATUS = \"RECHAZADO\"";
|
||||
_estatus = "RECHAZADO";
|
||||
}else {
|
||||
@@ -524,7 +524,7 @@ _totalcantidad = BA.NumberToString((double)(Double.parseDouble(_arti))+(double)(
|
||||
//BA.debugLineNum = 2807;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD";
|
||||
_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO")+" - "+_c.GetString("CAT_CL_NOMBRE")),BA.ObjectToCharSequence("Articulos :"+_totalcantidad+" Monto :"+__c.NumberFormat2((double)(Double.parseDouble(_totalmonto)),(int) (0),(int) (2),(int) (2),__c.True)+" "+_estatus));
|
||||
//BA.debugLineNum = 2808;BA.debugLine="Log(\"si entre2\")";
|
||||
__c.LogImpl("451118205","si entre2",0);
|
||||
__c.LogImpl("153543037","si entre2",0);
|
||||
}else if((_estatus).equals("RECHAZADO")) {
|
||||
//BA.debugLineNum = 2812;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery";
|
||||
_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
@@ -551,13 +551,13 @@ _cuenta0 = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(double)(Dou
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 2825;BA.debugLine="Log(cuenta0)";
|
||||
__c.LogImpl("451118222",_cuenta0,0);
|
||||
__c.LogImpl("153543054",_cuenta0,0);
|
||||
//BA.debugLineNum = 2882;BA.debugLine="Private TOTALMONTO As String = cuenta0";
|
||||
_totalmonto = _cuenta0;
|
||||
//BA.debugLineNum = 2883;BA.debugLine="Private TOTALcantidad As String = arti";
|
||||
_totalcantidad = _arti;
|
||||
//BA.debugLineNum = 2885;BA.debugLine="Log(\"si entre\")";
|
||||
__c.LogImpl("451118282","si entre",0);
|
||||
__c.LogImpl("153543114","si entre",0);
|
||||
//BA.debugLineNum = 2886;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD";
|
||||
_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO")+" - "+_c.GetString("CAT_CL_NOMBRE")),BA.ObjectToCharSequence("Articulos :"+_totalcantidad+" Monto :"+__c.NumberFormat2((double)(Double.parseDouble(_totalmonto)),(int) (0),(int) (2),(int) (2),__c.True)+" "+_estatus));
|
||||
};
|
||||
@@ -1588,15 +1588,15 @@ _k.Close();
|
||||
//BA.debugLineNum = 3810;BA.debugLine="If inputText <> \"\" Then";
|
||||
if ((_inputtext).equals("") == false) {
|
||||
//BA.debugLineNum = 3811;BA.debugLine="Log(idParts(0))";
|
||||
__c.LogImpl("452428841",_idparts[(int) (0)],0);
|
||||
__c.LogImpl("154853673",_idparts[(int) (0)],0);
|
||||
//BA.debugLineNum = 3812;BA.debugLine="Log(cantidadrestar)";
|
||||
__c.LogImpl("452428842",_cantidadrestar,0);
|
||||
__c.LogImpl("154853674",_cantidadrestar,0);
|
||||
//BA.debugLineNum = 3813;BA.debugLine="Log(inputText)";
|
||||
__c.LogImpl("452428843",_inputtext,0);
|
||||
__c.LogImpl("154853675",_inputtext,0);
|
||||
//BA.debugLineNum = 3814;BA.debugLine="Dim restado As Int = cantidadrestar - inputText";
|
||||
_restado = (int) ((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext)));
|
||||
//BA.debugLineNum = 3815;BA.debugLine="Log(cantidadrestar - inputText)";
|
||||
__c.LogImpl("452428845",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0);
|
||||
__c.LogImpl("154853677",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0);
|
||||
//BA.debugLineNum = 3816;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK";
|
||||
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]})));
|
||||
//BA.debugLineNum = 3817;BA.debugLine="If c.RowCount = 0 Then";
|
||||
@@ -1613,7 +1613,7 @@ _f.Close();
|
||||
//BA.debugLineNum = 3831;BA.debugLine="a.Close";
|
||||
_a.Close();
|
||||
//BA.debugLineNum = 3832;BA.debugLine="Log(\"Processed item \" & i)";
|
||||
__c.LogImpl("452428862","Processed item "+BA.NumberToString(_i),0);
|
||||
__c.LogImpl("154853694","Processed item "+BA.NumberToString(_i),0);
|
||||
}
|
||||
};
|
||||
//BA.debugLineNum = 3835;BA.debugLine="End Sub";
|
||||
@@ -1708,7 +1708,7 @@ return "";
|
||||
public String _b_regresa_click() throws Exception{
|
||||
//BA.debugLineNum = 2925;BA.debugLine="Sub B_REGRESA_Click";
|
||||
//BA.debugLineNum = 2926;BA.debugLine="Log(\"B_REGRESA_Click\")";
|
||||
__c.LogImpl("451183617","B_REGRESA_Click",0);
|
||||
__c.LogImpl("153608449","B_REGRESA_Click",0);
|
||||
//BA.debugLineNum = 2927;BA.debugLine="BUSCA.Visible = False";
|
||||
_busca.setVisible(__c.False);
|
||||
//BA.debugLineNum = 2928;BA.debugLine="connecta.Visible = True";
|
||||
@@ -1840,17 +1840,17 @@ _k.Close();
|
||||
//BA.debugLineNum = 3575;BA.debugLine="If inputText <> \"\" And inputText <> 0 Then";
|
||||
if ((_inputtext).equals("") == false && (_inputtext).equals(BA.NumberToString(0)) == false) {
|
||||
//BA.debugLineNum = 3576;BA.debugLine="Log(\"IMPUT DIFERENTE DE CERO\")";
|
||||
__c.LogImpl("452363306","IMPUT DIFERENTE DE CERO",0);
|
||||
__c.LogImpl("154788138","IMPUT DIFERENTE DE CERO",0);
|
||||
//BA.debugLineNum = 3577;BA.debugLine="Log(idParts(0))";
|
||||
__c.LogImpl("452363307",_idparts[(int) (0)],0);
|
||||
__c.LogImpl("154788139",_idparts[(int) (0)],0);
|
||||
//BA.debugLineNum = 3578;BA.debugLine="Log(cantidadrestar)";
|
||||
__c.LogImpl("452363308",_cantidadrestar,0);
|
||||
__c.LogImpl("154788140",_cantidadrestar,0);
|
||||
//BA.debugLineNum = 3579;BA.debugLine="Log(inputText)";
|
||||
__c.LogImpl("452363309",_inputtext,0);
|
||||
__c.LogImpl("154788141",_inputtext,0);
|
||||
//BA.debugLineNum = 3580;BA.debugLine="Dim restado As Int = cantidadrestar - inputText";
|
||||
_restado = (int) ((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext)));
|
||||
//BA.debugLineNum = 3581;BA.debugLine="Log(cantidadrestar - inputText)";
|
||||
__c.LogImpl("452363311",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0);
|
||||
__c.LogImpl("154788143",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0);
|
||||
//BA.debugLineNum = 3582;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK";
|
||||
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]})));
|
||||
//BA.debugLineNum = 3584;BA.debugLine="If c.RowCount = 0 Then";
|
||||
@@ -1872,7 +1872,7 @@ _preciofull = _preciocat.GetString("CAT_GP_PRECIO");
|
||||
//BA.debugLineNum = 3597;BA.debugLine="preciocat.Close";
|
||||
_preciocat.Close();
|
||||
//BA.debugLineNum = 3598;BA.debugLine="Log(\"MAYOR A CERO\")";
|
||||
__c.LogImpl("452363328","MAYOR A CERO",0);
|
||||
__c.LogImpl("154788160","MAYOR A CERO",0);
|
||||
//BA.debugLineNum = 3599;BA.debugLine="consecutivo = consecutivo + 1";
|
||||
_consecutivo = (int) (_consecutivo+1);
|
||||
//BA.debugLineNum = 3600;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQu";
|
||||
@@ -1902,7 +1902,7 @@ _preciofull = _preciocat.GetString("CAT_GP_PRECIO");
|
||||
//BA.debugLineNum = 3614;BA.debugLine="preciocat.Close";
|
||||
_preciocat.Close();
|
||||
//BA.debugLineNum = 3615;BA.debugLine="Log(\"MENOR A CERO\")";
|
||||
__c.LogImpl("452363345","MENOR A CERO",0);
|
||||
__c.LogImpl("154788177","MENOR A CERO",0);
|
||||
//BA.debugLineNum = 3616;BA.debugLine="consecutivo = consecutivo + 1";
|
||||
_consecutivo = (int) (_consecutivo+1);
|
||||
//BA.debugLineNum = 3617;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQu";
|
||||
@@ -1947,30 +1947,30 @@ _preciofull = _preciocat.GetString("CAT_GP_PRECIO");
|
||||
//BA.debugLineNum = 3644;BA.debugLine="preciocat.Close";
|
||||
_preciocat.Close();
|
||||
//BA.debugLineNum = 3646;BA.debugLine="Log(\"MAYOR A CERO UPDATE\")";
|
||||
__c.LogImpl("452363376","MAYOR A CERO UPDATE",0);
|
||||
__c.LogImpl("154788208","MAYOR A CERO UPDATE",0);
|
||||
//BA.debugLineNum = 3647;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,BA.NumberToString(_restado),_idparts[(int) (0)]}));
|
||||
//BA.debugLineNum = 3648;BA.debugLine="If restado > 0 Then";
|
||||
if (_restado>0) {
|
||||
//BA.debugLineNum = 3649;BA.debugLine="Log(\"AQUI ES FALTANTE\")";
|
||||
__c.LogImpl("452363379","AQUI ES FALTANTE",0);
|
||||
__c.LogImpl("154788211","AQUI ES FALTANTE",0);
|
||||
//BA.debugLineNum = 3651;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)(_restado))+"', PE_COSTO_TOT= '"+__c.SmartStringFormatter("",(Object)(_restado))+"'*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'"));
|
||||
}else if(_restado<0) {
|
||||
//BA.debugLineNum = 3653;BA.debugLine="Log(\"AQUI ES SOBRANTE\")";
|
||||
__c.LogImpl("452363383","AQUI ES SOBRANTE",0);
|
||||
__c.LogImpl("154788215","AQUI ES SOBRANTE",0);
|
||||
//BA.debugLineNum = 3655;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)((-1*_restado)))+"', PE_COSTO_TOT= "+__c.SmartStringFormatter("",(Object)((-1*_restado)))+"*"+__c.SmartStringFormatter("",(Object)(_preciofull))+", PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'"));
|
||||
}else if(_restado==0) {
|
||||
//BA.debugLineNum = 3657;BA.debugLine="Log(\"AQUI ES SOBRANTE\")";
|
||||
__c.LogImpl("452363387","AQUI ES SOBRANTE",0);
|
||||
__c.LogImpl("154788219","AQUI ES SOBRANTE",0);
|
||||
//BA.debugLineNum = 3658;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PED";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'"));
|
||||
};
|
||||
};
|
||||
}else if(_restadoanterior.GetInt("RESTA")<0 && _restadoanterior.GetInt("RESTA")!=_restado) {
|
||||
//BA.debugLineNum = 3664;BA.debugLine="Log(\"es sobrante\")";
|
||||
__c.LogImpl("452363394","es sobrante",0);
|
||||
__c.LogImpl("154788226","es sobrante",0);
|
||||
//BA.debugLineNum = 3665;BA.debugLine="Dim sobrantes As Cursor = Starter.skmt.ExecQu";
|
||||
_sobrantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_sobrantes = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' AND PE_TIPO = 'SOBRANTE'"))));
|
||||
@@ -1991,7 +1991,7 @@ _preciofull = _preciocat.GetString("CAT_GP_PRECIO");
|
||||
//BA.debugLineNum = 3674;BA.debugLine="preciocat.Close";
|
||||
_preciocat.Close();
|
||||
//BA.debugLineNum = 3676;BA.debugLine="Log(\"MENOR A CERO UPDATE\")";
|
||||
__c.LogImpl("452363406","MENOR A CERO UPDATE",0);
|
||||
__c.LogImpl("154788238","MENOR A CERO UPDATE",0);
|
||||
//BA.debugLineNum = 3677;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,BA.NumberToString(_restado),_idparts[(int) (0)]}));
|
||||
//BA.debugLineNum = 3678;BA.debugLine="If restado > 0 Then";
|
||||
@@ -2003,7 +2003,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO se
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)(-1*_restado))+"', PE_COSTO_TOT= '"+__c.SmartStringFormatter("",(Object)(-1*_restado))+"'*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"', PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_sobrantes.GetString("CONSECUTIVO")))+"'"));
|
||||
}else if(_restado==0) {
|
||||
//BA.debugLineNum = 3687;BA.debugLine="Log(\"a eliminar\")";
|
||||
__c.LogImpl("452363417","a eliminar",0);
|
||||
__c.LogImpl("154788249","a eliminar",0);
|
||||
//BA.debugLineNum = 3688;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PED";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_sobrantes.GetString("CONSECUTIVO")))+"'"));
|
||||
};
|
||||
@@ -2026,7 +2026,7 @@ _preciofull = _preciocat.GetString("CAT_GP_PRECIO");
|
||||
//BA.debugLineNum = 3701;BA.debugLine="preciocat.Close";
|
||||
_preciocat.Close();
|
||||
//BA.debugLineNum = 3702;BA.debugLine="Log(\"MAYOR A CERO\")";
|
||||
__c.LogImpl("452363432","MAYOR A CERO",0);
|
||||
__c.LogImpl("154788264","MAYOR A CERO",0);
|
||||
//BA.debugLineNum = 3703;BA.debugLine="consecutivo = consecutivo + 1";
|
||||
_consecutivo = (int) (_consecutivo+1);
|
||||
//BA.debugLineNum = 3704;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQ";
|
||||
@@ -2056,7 +2056,7 @@ _preciofull = _preciocat.GetString("CAT_GP_PRECIO");
|
||||
//BA.debugLineNum = 3718;BA.debugLine="preciocat.Close";
|
||||
_preciocat.Close();
|
||||
//BA.debugLineNum = 3719;BA.debugLine="Log(\"MENOR A CERO\")";
|
||||
__c.LogImpl("452363449","MENOR A CERO",0);
|
||||
__c.LogImpl("154788281","MENOR A CERO",0);
|
||||
//BA.debugLineNum = 3720;BA.debugLine="consecutivo = consecutivo + 1";
|
||||
_consecutivo = (int) (_consecutivo+1);
|
||||
//BA.debugLineNum = 3721;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQ";
|
||||
@@ -2080,17 +2080,17 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDI
|
||||
};
|
||||
}else if((_inputtext).equals("") || (_inputtext).equals(BA.NumberToString(0))) {
|
||||
//BA.debugLineNum = 3734;BA.debugLine="Log(\"IMPUT IGUAL DE CERO\")";
|
||||
__c.LogImpl("452363464","IMPUT IGUAL DE CERO",0);
|
||||
__c.LogImpl("154788296","IMPUT IGUAL DE CERO",0);
|
||||
//BA.debugLineNum = 3735;BA.debugLine="Log(idParts(0))";
|
||||
__c.LogImpl("452363465",_idparts[(int) (0)],0);
|
||||
__c.LogImpl("154788297",_idparts[(int) (0)],0);
|
||||
//BA.debugLineNum = 3736;BA.debugLine="Log(cantidadrestar)";
|
||||
__c.LogImpl("452363466",_cantidadrestar,0);
|
||||
__c.LogImpl("154788298",_cantidadrestar,0);
|
||||
//BA.debugLineNum = 3737;BA.debugLine="Log(inputText)";
|
||||
__c.LogImpl("452363467",_inputtext,0);
|
||||
__c.LogImpl("154788299",_inputtext,0);
|
||||
//BA.debugLineNum = 3738;BA.debugLine="Dim restado As Int = cantidadrestar - inputText";
|
||||
_restado = (int) ((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext)));
|
||||
//BA.debugLineNum = 3739;BA.debugLine="Log(cantidadrestar - inputText)";
|
||||
__c.LogImpl("452363469",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0);
|
||||
__c.LogImpl("154788301",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0);
|
||||
//BA.debugLineNum = 3740;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQuer";
|
||||
_faltantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_faltantes = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]})));
|
||||
@@ -2131,7 +2131,7 @@ _f.Close();
|
||||
//BA.debugLineNum = 3762;BA.debugLine="a.Close";
|
||||
_a.Close();
|
||||
//BA.debugLineNum = 3763;BA.debugLine="Log(\"Processed item \" & i)";
|
||||
__c.LogImpl("452363493","Processed item "+BA.NumberToString(_i),0);
|
||||
__c.LogImpl("154788325","Processed item "+BA.NumberToString(_i),0);
|
||||
}
|
||||
};
|
||||
//BA.debugLineNum = 3766;BA.debugLine="P_CIEGO.Visible = False";
|
||||
@@ -2579,7 +2579,7 @@ _totalcantped = _r6.GetString("PE_CANT");
|
||||
_totalcantped = BA.NumberToString(0);
|
||||
};
|
||||
//BA.debugLineNum = 470;BA.debugLine="Log(r5.GetString(\"HVD_RECHAZOCANT\") &\" - \"& tot";
|
||||
__c.LogImpl("449938689",_r5.GetString("HVD_RECHAZOCANT")+" - "+_totalcantped,0);
|
||||
__c.LogImpl("152363521",_r5.GetString("HVD_RECHAZOCANT")+" - "+_totalcantped,0);
|
||||
//BA.debugLineNum = 471;BA.debugLine="rescant = rescant + ((r5.GetString(\"HVD_COSTO_T";
|
||||
_rescant = BA.NumberToString((double)(Double.parseDouble(_rescant))+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_totalcantped))))));
|
||||
//BA.debugLineNum = 473;BA.debugLine="r6.Close";
|
||||
@@ -2591,7 +2591,7 @@ _r6.Close();
|
||||
if ((_rescant).equals("NaN")) {
|
||||
_rescant = BA.NumberToString(0);};
|
||||
//BA.debugLineNum = 477;BA.debugLine="LogColor(rescant,Colors.Red)";
|
||||
__c.LogImpl("449938696",_rescant,__c.Colors.Red);
|
||||
__c.LogImpl("152363528",_rescant,__c.Colors.Red);
|
||||
//BA.debugLineNum = 478;BA.debugLine="r5.Close";
|
||||
_r5.Close();
|
||||
//BA.debugLineNum = 482;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
|
||||
@@ -2627,7 +2627,7 @@ _r6.Close();
|
||||
if (_rescant2==(double)(Double.parseDouble("NaN"))) {
|
||||
_rescant2 = 0;};
|
||||
//BA.debugLineNum = 499;BA.debugLine="Log(rescant2)";
|
||||
__c.LogImpl("449938718",BA.NumberToString(_rescant2),0);
|
||||
__c.LogImpl("152363550",BA.NumberToString(_rescant2),0);
|
||||
//BA.debugLineNum = 500;BA.debugLine="r5.Close";
|
||||
_r5.Close();
|
||||
//BA.debugLineNum = 505;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\"";
|
||||
@@ -2663,7 +2663,7 @@ _rescantr = BA.NumberToString(0);};
|
||||
//BA.debugLineNum = 521;BA.debugLine="r5r.Close";
|
||||
_r5r.Close();
|
||||
//BA.debugLineNum = 523;BA.debugLine="Log(rescantr)";
|
||||
__c.LogImpl("449938742",_rescantr,0);
|
||||
__c.LogImpl("152363574",_rescantr,0);
|
||||
//BA.debugLineNum = 525;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\"";
|
||||
_r5r = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_r5r = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' "))));
|
||||
@@ -2697,9 +2697,9 @@ _rescant2r = BA.NumberToString(0);};
|
||||
//BA.debugLineNum = 542;BA.debugLine="r5r.Close";
|
||||
_r5r.Close();
|
||||
//BA.debugLineNum = 543;BA.debugLine="Log(rescant2r)";
|
||||
__c.LogImpl("449938762",_rescant2r,0);
|
||||
__c.LogImpl("152363594",_rescant2r,0);
|
||||
//BA.debugLineNum = 544;BA.debugLine="Log(rescant2r+rescantr)";
|
||||
__c.LogImpl("449938763",BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(double)(Double.parseDouble(_rescantr))),0);
|
||||
__c.LogImpl("152363595",BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(double)(Double.parseDouble(_rescantr))),0);
|
||||
//BA.debugLineNum = 560;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\"";
|
||||
_r55 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_r55 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '0' "))));
|
||||
@@ -2723,7 +2723,7 @@ _rescant3 = (double)(Double.parseDouble(__c.NumberFormat2(_rescant3,(int) (0),(i
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 570;BA.debugLine="Log(rescant3)";
|
||||
__c.LogImpl("449938789",BA.NumberToString(_rescant3),0);
|
||||
__c.LogImpl("152363621",BA.NumberToString(_rescant3),0);
|
||||
//BA.debugLineNum = 571;BA.debugLine="r55.Close";
|
||||
_r55.Close();
|
||||
//BA.debugLineNum = 576;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
|
||||
@@ -2739,7 +2739,7 @@ _r5.setPosition((int) (0));
|
||||
_rescant4 = (double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")));
|
||||
};
|
||||
//BA.debugLineNum = 582;BA.debugLine="Log(rescant4)";
|
||||
__c.LogImpl("449938801",BA.NumberToString(_rescant4),0);
|
||||
__c.LogImpl("152363633",BA.NumberToString(_rescant4),0);
|
||||
//BA.debugLineNum = 583;BA.debugLine="r5.Close";
|
||||
_r5.Close();
|
||||
//BA.debugLineNum = 585;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
|
||||
@@ -2755,7 +2755,7 @@ _r5.setPosition((int) (0));
|
||||
_rescant5 = (double)(Double.parseDouble(_r5.GetString("PE_COSTO_TOT")));
|
||||
};
|
||||
//BA.debugLineNum = 591;BA.debugLine="Log(rescant5)";
|
||||
__c.LogImpl("449938810",BA.NumberToString(_rescant5),0);
|
||||
__c.LogImpl("152363642",BA.NumberToString(_rescant5),0);
|
||||
//BA.debugLineNum = 592;BA.debugLine="r5.Close";
|
||||
_r5.Close();
|
||||
//BA.debugLineNum = 597;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
|
||||
@@ -2789,7 +2789,7 @@ _r6.Close();
|
||||
if (_rescant6==(double)(Double.parseDouble("NaN"))) {
|
||||
_rescant6 = 0;};
|
||||
//BA.debugLineNum = 612;BA.debugLine="LogColor(rescant6,Colors.Red)";
|
||||
__c.LogImpl("449938831",BA.NumberToString(_rescant6),__c.Colors.Red);
|
||||
__c.LogImpl("152363663",BA.NumberToString(_rescant6),__c.Colors.Red);
|
||||
//BA.debugLineNum = 613;BA.debugLine="r5.Close";
|
||||
_r5.Close();
|
||||
//BA.debugLineNum = 615;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
|
||||
@@ -2823,7 +2823,7 @@ _r6.Close();
|
||||
if (_rescant7==(double)(Double.parseDouble("NaN"))) {
|
||||
_rescant7 = 0;};
|
||||
//BA.debugLineNum = 628;BA.debugLine="Log(rescant7)";
|
||||
__c.LogImpl("449938847",BA.NumberToString(_rescant7),0);
|
||||
__c.LogImpl("152363679",BA.NumberToString(_rescant7),0);
|
||||
//BA.debugLineNum = 629;BA.debugLine="r5.Close";
|
||||
_r5.Close();
|
||||
//BA.debugLineNum = 632;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\"";
|
||||
@@ -2853,7 +2853,7 @@ _pztotal = (int) (_pztotal+(double)(Double.parseDouble(_r55.GetString("HVD_CANT"
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 643;BA.debugLine="Log(rescant10)";
|
||||
__c.LogImpl("449938862",BA.NumberToString(_rescant10),0);
|
||||
__c.LogImpl("152363694",BA.NumberToString(_rescant10),0);
|
||||
//BA.debugLineNum = 644;BA.debugLine="r55.Close";
|
||||
_r55.Close();
|
||||
//BA.debugLineNum = 657;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
|
||||
@@ -2873,7 +2873,7 @@ _rescant11 = (double)(Double.parseDouble(_r5.GetString("PE_COSTO_TOT")));
|
||||
_pztotal2 = (int) (_pztotal2+(double)(Double.parseDouble(_r5.GetString("PE_CANT"))));
|
||||
};
|
||||
//BA.debugLineNum = 665;BA.debugLine="Log(rescant11)";
|
||||
__c.LogImpl("449938884",BA.NumberToString(_rescant11),0);
|
||||
__c.LogImpl("152363716",BA.NumberToString(_rescant11),0);
|
||||
//BA.debugLineNum = 666;BA.debugLine="r5.Close";
|
||||
_r5.Close();
|
||||
//BA.debugLineNum = 668;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
|
||||
@@ -2899,15 +2899,15 @@ _r6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjec
|
||||
//BA.debugLineNum = 675;BA.debugLine="r6.Position = 0";
|
||||
_r6.setPosition((int) (0));
|
||||
//BA.debugLineNum = 676;BA.debugLine="LogColor(r5.GetString(\"HVD_COSTO_TOT\")&\" / \"& r";
|
||||
__c.LogImpl("449938895",_r5.GetString("HVD_COSTO_TOT")+" / "+_r5.GetString("HVD_CANT")+" * "+_r5.GetString("HVD_RECHAZOCANT")+" - "+_r6.GetString("PE_CANT"),__c.Colors.Blue);
|
||||
__c.LogImpl("152363727",_r5.GetString("HVD_COSTO_TOT")+" / "+_r5.GetString("HVD_CANT")+" * "+_r5.GetString("HVD_RECHAZOCANT")+" - "+_r6.GetString("PE_CANT"),__c.Colors.Blue);
|
||||
//BA.debugLineNum = 677;BA.debugLine="LogColor(r6.GetString(\"PE_CANT\"),Colors.Blue)";
|
||||
__c.LogImpl("449938896",_r6.GetString("PE_CANT"),__c.Colors.Blue);
|
||||
__c.LogImpl("152363728",_r6.GetString("PE_CANT"),__c.Colors.Blue);
|
||||
//BA.debugLineNum = 678;BA.debugLine="rescant12 = rescant12 + ((r5.GetString(\"HVD_COS";
|
||||
_rescant12 = _rescant12+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))));
|
||||
//BA.debugLineNum = 679;BA.debugLine="pztotal3 = pztotal3 + (r5.GetString(\"HVD_CANT\"";
|
||||
_pztotal3 = (int) (_pztotal3+((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))));
|
||||
//BA.debugLineNum = 680;BA.debugLine="Log(rescant12)";
|
||||
__c.LogImpl("449938899",BA.NumberToString(_rescant12),0);
|
||||
__c.LogImpl("152363731",BA.NumberToString(_rescant12),0);
|
||||
//BA.debugLineNum = 681;BA.debugLine="r6.Close";
|
||||
_r6.Close();
|
||||
}
|
||||
@@ -2917,7 +2917,7 @@ _r6.Close();
|
||||
if (_rescant12==(double)(Double.parseDouble("NaN"))) {
|
||||
_rescant12 = 0;};
|
||||
//BA.debugLineNum = 685;BA.debugLine="LogColor(rescant12,Colors.Red)";
|
||||
__c.LogImpl("449938904",BA.NumberToString(_rescant12),__c.Colors.Red);
|
||||
__c.LogImpl("152363736",BA.NumberToString(_rescant12),__c.Colors.Red);
|
||||
//BA.debugLineNum = 686;BA.debugLine="r5.Close";
|
||||
_r5.Close();
|
||||
//BA.debugLineNum = 689;BA.debugLine="Private restafaltante As Cursor = Starter.skmt.Ex";
|
||||
@@ -2936,7 +2936,7 @@ _rescant8 = (double)(Double.parseDouble(__c.NumberFormat2(_restafaltante.GetDoub
|
||||
if (_rescant8==(double)(Double.parseDouble("NaN"))) {
|
||||
_rescant8 = 0;};
|
||||
//BA.debugLineNum = 698;BA.debugLine="Log(rescant8)";
|
||||
__c.LogImpl("449938917",BA.NumberToString(_rescant8),0);
|
||||
__c.LogImpl("152363749",BA.NumberToString(_rescant8),0);
|
||||
//BA.debugLineNum = 699;BA.debugLine="r5.Close";
|
||||
_r5.Close();
|
||||
//BA.debugLineNum = 701;BA.debugLine="l_rechazo.text = NumberFormat2((rescant + rescant";
|
||||
@@ -2944,7 +2944,7 @@ _l_rechazo.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.pa
|
||||
//BA.debugLineNum = 702;BA.debugLine="L_MONTOE.Text = NumberFormat2((rescant3 + rescant";
|
||||
_l_montoe.setText(BA.ObjectToCharSequence(__c.NumberFormat2((_rescant3+_rescant4+_rescant5+_rescant6+_rescant7),(int) (0),(int) (2),(int) (2),__c.False)));
|
||||
//BA.debugLineNum = 703;BA.debugLine="Log((rescant3 &\" + \"& rescant4 &\" + \"& re";
|
||||
__c.LogImpl("449938922",(BA.NumberToString(_rescant3)+" + "+BA.NumberToString(_rescant4)+" + "+BA.NumberToString(_rescant5)+" + "+BA.NumberToString(_rescant6)+" + "+BA.NumberToString(_rescant7)),0);
|
||||
__c.LogImpl("152363754",(BA.NumberToString(_rescant3)+" + "+BA.NumberToString(_rescant4)+" + "+BA.NumberToString(_rescant5)+" + "+BA.NumberToString(_rescant6)+" + "+BA.NumberToString(_rescant7)),0);
|
||||
//BA.debugLineNum = 706;BA.debugLine="Dim g8 As Cursor = Starter.skmt.ExecQuery(\"SELECT";
|
||||
_g8 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_g8 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT IFNULL(SUM(HVD_COSTO_TOT),0) AS HVD_COSTO_TOT FROM HIST_VENTAS")));
|
||||
@@ -3049,7 +3049,7 @@ _printer1._disconnect /*String*/ ();
|
||||
//BA.debugLineNum = 780;BA.debugLine="Printer1.Connect";
|
||||
_printer1._connect /*boolean*/ ();
|
||||
//BA.debugLineNum = 781;BA.debugLine="Log(\"2\")";
|
||||
__c.LogImpl("449939000","2",0);
|
||||
__c.LogImpl("152363832","2",0);
|
||||
};
|
||||
//BA.debugLineNum = 784;BA.debugLine="Dim pagarescobrados As Cursor = Starter.skmt.Exec";
|
||||
_pagarescobrados = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
@@ -3116,7 +3116,7 @@ case 3:
|
||||
//C
|
||||
this.state = 10;
|
||||
//BA.debugLineNum = 2572;BA.debugLine="Log(\"PANEL1 VISIBLE\")";
|
||||
parent.__c.LogImpl("450659331","PANEL1 VISIBLE",0);
|
||||
parent.__c.LogImpl("153084163","PANEL1 VISIBLE",0);
|
||||
//BA.debugLineNum = 2573;BA.debugLine="B_REGRESA_Click";
|
||||
parent._b_regresa_click();
|
||||
if (true) break;
|
||||
@@ -3277,11 +3277,11 @@ _cp.setPosition((int) (0));
|
||||
//BA.debugLineNum = 1645;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA";
|
||||
_fecha = _cp.GetString("NV_FECHA");
|
||||
//BA.debugLineNum = 1646;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))";
|
||||
__c.LogImpl("450528262",_cp.GetString("NV_FECHA"),0);
|
||||
__c.LogImpl("152953094",_cp.GetString("NV_FECHA"),0);
|
||||
//BA.debugLineNum = 1647;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)";
|
||||
_fecha2 = __c.Regex.Split(" ",_fecha);
|
||||
//BA.debugLineNum = 1648;BA.debugLine="Log(fecha2(0))";
|
||||
__c.LogImpl("450528264",_fecha2[(int) (0)],0);
|
||||
__c.LogImpl("152953096",_fecha2[(int) (0)],0);
|
||||
//BA.debugLineNum = 1649;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2(";
|
||||
_fecha3 = __c.Regex.Split("/",_fecha2[(int) (0)]);
|
||||
//BA.debugLineNum = 1650;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\"";
|
||||
@@ -3291,11 +3291,11 @@ __c.DateTime.setTimeFormat("");
|
||||
//BA.debugLineNum = 1652;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1";
|
||||
_dia = _fecha3[(int) (2)]+_fecha3[(int) (0)]+_fecha3[(int) (1)];
|
||||
//BA.debugLineNum = 1653;BA.debugLine="Log(dia)";
|
||||
__c.LogImpl("450528269",_dia,0);
|
||||
__c.LogImpl("152953101",_dia,0);
|
||||
//BA.debugLineNum = 1654;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)";
|
||||
_dia2 = __c.DateTime.Date(__c.DateTime.getNow());
|
||||
//BA.debugLineNum = 1655;BA.debugLine="Log(dia & \" , \" & dia2)";
|
||||
__c.LogImpl("450528271",_dia+" , "+_dia2,0);
|
||||
__c.LogImpl("152953103",_dia+" , "+_dia2,0);
|
||||
//BA.debugLineNum = 1656;BA.debugLine="If dia < dia2 Then";
|
||||
if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) {
|
||||
//BA.debugLineNum = 1657;BA.debugLine="pedidodiaanterior = True";
|
||||
@@ -3305,7 +3305,7 @@ _pedidodiaanterior = __c.True;
|
||||
//BA.debugLineNum = 1660;BA.debugLine="If Not (pedidodiaanterior) Then";
|
||||
if (__c.Not(_pedidodiaanterior)) {
|
||||
//BA.debugLineNum = 1661;BA.debugLine="Log(\"CUMPLE\")";
|
||||
__c.LogImpl("450528277","CUMPLE",0);
|
||||
__c.LogImpl("152953109","CUMPLE",0);
|
||||
//BA.debugLineNum = 1662;BA.debugLine="EJECUTANDO = 1";
|
||||
_ejecutando = BA.NumberToString(1);
|
||||
//BA.debugLineNum = 1663;BA.debugLine="reqs.Initialize";
|
||||
@@ -3313,7 +3313,7 @@ _reqs.Initialize();
|
||||
//BA.debugLineNum = 1664;BA.debugLine="TOPE = 0";
|
||||
_tope = (int) (0);
|
||||
//BA.debugLineNum = 1665;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve";
|
||||
__c.LogImpl("450528281",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
|
||||
__c.LogImpl("152953113",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
|
||||
//BA.debugLineNum = 1666;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv";
|
||||
_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
|
||||
//BA.debugLineNum = 1668;BA.debugLine="Dim cmd As DBCommand";
|
||||
@@ -3341,7 +3341,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PUNTE
|
||||
//BA.debugLineNum = 1682;BA.debugLine="If l_ruta.Text = \"0\" Then '";
|
||||
if ((_l_ruta.getText()).equals("0")) {
|
||||
//BA.debugLineNum = 1683;BA.debugLine="Log(\"********************* No hay ruta, BORRAM";
|
||||
__c.LogImpl("450528299","********************* No hay ruta, BORRAMOS TODO",0);
|
||||
__c.LogImpl("152953131","********************* No hay ruta, BORRAMOS TODO",0);
|
||||
//BA.debugLineNum = 1684;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod");
|
||||
//BA.debugLineNum = 1685;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna";
|
||||
@@ -3356,7 +3356,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA");
|
||||
}else {
|
||||
//BA.debugLineNum = 1691;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM";
|
||||
__c.LogImpl("450528307","********************* Hay ruta, NO BORRAMOS TODO",0);
|
||||
__c.LogImpl("152953139","********************* Hay ruta, NO BORRAMOS TODO",0);
|
||||
};
|
||||
//BA.debugLineNum = 1695;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us";
|
||||
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa")));
|
||||
@@ -3373,7 +3373,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object
|
||||
//BA.debugLineNum = 1702;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")";
|
||||
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("punteo"));
|
||||
//BA.debugLineNum = 1703;BA.debugLine="Log($\"Pedimos Punteo\"$)";
|
||||
__c.LogImpl("450528319",("Pedimos Punteo"),0);
|
||||
__c.LogImpl("152953151",("Pedimos Punteo"),0);
|
||||
//BA.debugLineNum = 1704;BA.debugLine="reqs.Add(\"punteo\")";
|
||||
_reqs.Add((Object)("punteo"));
|
||||
//BA.debugLineNum = 1707;BA.debugLine="cmd.Initialize";
|
||||
@@ -3385,7 +3385,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
|
||||
//BA.debugLineNum = 1710;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")";
|
||||
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod"));
|
||||
//BA.debugLineNum = 1711;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te";
|
||||
__c.LogImpl("450528327",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0);
|
||||
__c.LogImpl("152953159",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0);
|
||||
//BA.debugLineNum = 1712;BA.debugLine="reqs.Add(\"gunaprod\")";
|
||||
_reqs.Add((Object)("gunaprod"));
|
||||
//BA.debugLineNum = 1716;BA.debugLine="cmd.Initialize";
|
||||
@@ -3397,7 +3397,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object
|
||||
//BA.debugLineNum = 1719;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")";
|
||||
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos"));
|
||||
//BA.debugLineNum = 1720;BA.debugLine="Log($\"Pedimos kmt_datos\"$)";
|
||||
__c.LogImpl("450528336",("Pedimos kmt_datos"),0);
|
||||
__c.LogImpl("152953168",("Pedimos kmt_datos"),0);
|
||||
//BA.debugLineNum = 1721;BA.debugLine="reqs.Add(\"kmt_datos\")";
|
||||
_reqs.Add((Object)("kmt_datos"));
|
||||
//BA.debugLineNum = 1723;BA.debugLine="cmd.Initialize";
|
||||
@@ -3409,7 +3409,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object
|
||||
//BA.debugLineNum = 1726;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")";
|
||||
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos"));
|
||||
//BA.debugLineNum = 1727;BA.debugLine="Log($\"Pedimos hist_datos\"$)";
|
||||
__c.LogImpl("450528343",("Pedimos hist_datos"),0);
|
||||
__c.LogImpl("152953175",("Pedimos hist_datos"),0);
|
||||
//BA.debugLineNum = 1728;BA.debugLine="reqs.Add(\"hist_datos\")";
|
||||
_reqs.Add((Object)("hist_datos"));
|
||||
//BA.debugLineNum = 1745;BA.debugLine="If ALMACEN = \"32\" Then";
|
||||
@@ -3484,7 +3484,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 = 1818;BA.debugLine="Log(\"XXXX\")";
|
||||
__c.LogImpl("450528434","XXXX",0);
|
||||
__c.LogImpl("152953266","XXXX",0);
|
||||
//BA.debugLineNum = 1819;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten";
|
||||
__c.MsgboxAsync(BA.ObjectToCharSequence("Para poder cargar día no puedes tener venta del día anterior. Por favor haz FIN DIA e intenta nuevamente."),BA.ObjectToCharSequence("Atención"),ba);
|
||||
};
|
||||
@@ -3510,11 +3510,11 @@ _cp.setPosition((int) (0));
|
||||
//BA.debugLineNum = 1472;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA";
|
||||
_fecha = _cp.GetString("NV_FECHA");
|
||||
//BA.debugLineNum = 1473;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))";
|
||||
__c.LogImpl("450462726",_cp.GetString("NV_FECHA"),0);
|
||||
__c.LogImpl("152887558",_cp.GetString("NV_FECHA"),0);
|
||||
//BA.debugLineNum = 1474;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)";
|
||||
_fecha2 = __c.Regex.Split(" ",_fecha);
|
||||
//BA.debugLineNum = 1475;BA.debugLine="Log(fecha2(0))";
|
||||
__c.LogImpl("450462728",_fecha2[(int) (0)],0);
|
||||
__c.LogImpl("152887560",_fecha2[(int) (0)],0);
|
||||
//BA.debugLineNum = 1476;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2(";
|
||||
_fecha3 = __c.Regex.Split("/",_fecha2[(int) (0)]);
|
||||
//BA.debugLineNum = 1477;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\"";
|
||||
@@ -3524,11 +3524,11 @@ __c.DateTime.setTimeFormat("");
|
||||
//BA.debugLineNum = 1479;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1";
|
||||
_dia = _fecha3[(int) (2)]+_fecha3[(int) (0)]+_fecha3[(int) (1)];
|
||||
//BA.debugLineNum = 1480;BA.debugLine="Log(dia)";
|
||||
__c.LogImpl("450462733",_dia,0);
|
||||
__c.LogImpl("152887565",_dia,0);
|
||||
//BA.debugLineNum = 1481;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)";
|
||||
_dia2 = __c.DateTime.Date(__c.DateTime.getNow());
|
||||
//BA.debugLineNum = 1482;BA.debugLine="Log(dia & \" , \" & dia2)";
|
||||
__c.LogImpl("450462735",_dia+" , "+_dia2,0);
|
||||
__c.LogImpl("152887567",_dia+" , "+_dia2,0);
|
||||
//BA.debugLineNum = 1483;BA.debugLine="If dia < dia2 Then";
|
||||
if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) {
|
||||
//BA.debugLineNum = 1484;BA.debugLine="pedidodiaanterior = True";
|
||||
@@ -3552,7 +3552,7 @@ _pb_carga.setProgress((int) (0));
|
||||
//BA.debugLineNum = 1494;BA.debugLine="PB_carga2.Progress = 0";
|
||||
_pb_carga2.setProgress((int) (0));
|
||||
//BA.debugLineNum = 1495;BA.debugLine="Log(\"CUMPLE\")";
|
||||
__c.LogImpl("450462748","CUMPLE",0);
|
||||
__c.LogImpl("152887580","CUMPLE",0);
|
||||
//BA.debugLineNum = 1496;BA.debugLine="EJECUTANDO = 1";
|
||||
_ejecutando = BA.NumberToString(1);
|
||||
//BA.debugLineNum = 1497;BA.debugLine="reqs.Initialize";
|
||||
@@ -3560,7 +3560,7 @@ _reqs.Initialize();
|
||||
//BA.debugLineNum = 1498;BA.debugLine="TOPE = 0";
|
||||
_tope = (int) (0);
|
||||
//BA.debugLineNum = 1499;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve";
|
||||
__c.LogImpl("450462752",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
|
||||
__c.LogImpl("152887584",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
|
||||
//BA.debugLineNum = 1500;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv";
|
||||
_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
|
||||
//BA.debugLineNum = 1502;BA.debugLine="Dim cmd As DBCommand";
|
||||
@@ -3592,7 +3592,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PUNTE
|
||||
//BA.debugLineNum = 1518;BA.debugLine="If l_ruta.Text = \"0\" Then '";
|
||||
if ((_l_ruta.getText()).equals("0")) {
|
||||
//BA.debugLineNum = 1519;BA.debugLine="Log(\"********************* No hay ruta, BORRAM";
|
||||
__c.LogImpl("450462772","********************* No hay ruta, BORRAMOS TODO",0);
|
||||
__c.LogImpl("152887604","********************* No hay ruta, BORRAMOS TODO",0);
|
||||
//BA.debugLineNum = 1520;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\"";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO");
|
||||
//BA.debugLineNum = 1521;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN";
|
||||
@@ -3605,7 +3605,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVEN
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOSP");
|
||||
}else {
|
||||
//BA.debugLineNum = 1526;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM";
|
||||
__c.LogImpl("450462779","********************* Hay ruta, NO BORRAMOS TODO",0);
|
||||
__c.LogImpl("152887611","********************* Hay ruta, NO BORRAMOS TODO",0);
|
||||
};
|
||||
//BA.debugLineNum = 1530;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us";
|
||||
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa")));
|
||||
@@ -3622,7 +3622,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object
|
||||
//BA.debugLineNum = 1537;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")";
|
||||
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("punteo"));
|
||||
//BA.debugLineNum = 1538;BA.debugLine="Log($\"Pedimos Punteo\"$)";
|
||||
__c.LogImpl("450462791",("Pedimos Punteo"),0);
|
||||
__c.LogImpl("152887623",("Pedimos Punteo"),0);
|
||||
//BA.debugLineNum = 1539;BA.debugLine="reqs.Add(\"punteo\")";
|
||||
_reqs.Add((Object)("punteo"));
|
||||
//BA.debugLineNum = 1541;BA.debugLine="cmd.Initialize";
|
||||
@@ -3634,7 +3634,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
|
||||
//BA.debugLineNum = 1544;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")";
|
||||
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod"));
|
||||
//BA.debugLineNum = 1545;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te";
|
||||
__c.LogImpl("450462798",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0);
|
||||
__c.LogImpl("152887630",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0);
|
||||
//BA.debugLineNum = 1546;BA.debugLine="reqs.Add(\"gunaprod\")";
|
||||
_reqs.Add((Object)("gunaprod"));
|
||||
//BA.debugLineNum = 1548;BA.debugLine="cmd.Initialize";
|
||||
@@ -3654,7 +3654,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object
|
||||
//BA.debugLineNum = 1564;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")";
|
||||
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos"));
|
||||
//BA.debugLineNum = 1565;BA.debugLine="Log($\"Pedimos kmt_datos\"$)";
|
||||
__c.LogImpl("450462818",("Pedimos kmt_datos"),0);
|
||||
__c.LogImpl("152887650",("Pedimos kmt_datos"),0);
|
||||
//BA.debugLineNum = 1566;BA.debugLine="reqs.Add(\"kmt_datos\")";
|
||||
_reqs.Add((Object)("kmt_datos"));
|
||||
//BA.debugLineNum = 1568;BA.debugLine="cmd.Initialize";
|
||||
@@ -3666,7 +3666,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object
|
||||
//BA.debugLineNum = 1571;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")";
|
||||
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos"));
|
||||
//BA.debugLineNum = 1572;BA.debugLine="Log($\"Pedimos hist_datos\"$)";
|
||||
__c.LogImpl("450462825",("Pedimos hist_datos"),0);
|
||||
__c.LogImpl("152887657",("Pedimos hist_datos"),0);
|
||||
//BA.debugLineNum = 1573;BA.debugLine="reqs.Add(\"hist_datos\")";
|
||||
_reqs.Add((Object)("hist_datos"));
|
||||
//BA.debugLineNum = 1575;BA.debugLine="cmd.Initialize";
|
||||
@@ -3708,7 +3708,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 = 1634;BA.debugLine="Log(\"XXXX\")";
|
||||
__c.LogImpl("450462887","XXXX",0);
|
||||
__c.LogImpl("152887719","XXXX",0);
|
||||
//BA.debugLineNum = 1635;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten";
|
||||
__c.MsgboxAsync(BA.ObjectToCharSequence("Para poder cargar día no puedes tener venta del día anterior. Por favor haz FIN DIA e intenta nuevamente."),BA.ObjectToCharSequence("Atención"),ba);
|
||||
};
|
||||
@@ -4008,7 +4008,7 @@ return "";
|
||||
public String _connecta_click() throws Exception{
|
||||
//BA.debugLineNum = 2585;BA.debugLine="Sub connecta_Click";
|
||||
//BA.debugLineNum = 2586;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
|
||||
__c.LogImpl("450724865",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
|
||||
__c.LogImpl("153149697",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
|
||||
//BA.debugLineNum = 2587;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N";
|
||||
if (__c.Not(_isconnectedtointernet())) {
|
||||
__c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);};
|
||||
@@ -4037,7 +4037,7 @@ _cmd.Name /*String*/ = "select_ruta_re_REPG_IZCA4";
|
||||
//BA.debugLineNum = 2601;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
|
||||
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_usuario)};
|
||||
//BA.debugLineNum = 2602;BA.debugLine="Log($\"${ALMACEN}, ${e_ruta.text}, ${usuario}\"$)";
|
||||
__c.LogImpl("450724881",(""+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+", "+__c.SmartStringFormatter("",(Object)(_usuario))+""),0);
|
||||
__c.LogImpl("153149713",(""+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+", "+__c.SmartStringFormatter("",(Object)(_usuario))+""),0);
|
||||
//BA.debugLineNum = 2603;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")";
|
||||
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("ruta"));
|
||||
//BA.debugLineNum = 2605;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)";
|
||||
@@ -4256,7 +4256,7 @@ if (_o.getRowCount()>0) {
|
||||
//BA.debugLineNum = 1101;BA.debugLine="o.Position = 0";
|
||||
_o.setPosition((int) (0));
|
||||
//BA.debugLineNum = 1102;BA.debugLine="Log(\"Enviamos reprogramados: \" & r.RowCount)";
|
||||
__c.LogImpl("450397215","Enviamos reprogramados: "+BA.NumberToString(_r.getRowCount()),0);
|
||||
__c.LogImpl("152822047","Enviamos reprogramados: "+BA.NumberToString(_r.getRowCount()),0);
|
||||
//BA.debugLineNum = 1104;BA.debugLine="Dim cmd As DBCommand";
|
||||
_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand();
|
||||
//BA.debugLineNum = 1105;BA.debugLine="cmd.Initialize";
|
||||
@@ -4319,7 +4319,7 @@ _d.setPosition((int) (0));
|
||||
_ab = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_ab = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * from ABONOS where a_enviado is null and a_tipoabono IS NULL"))));
|
||||
//BA.debugLineNum = 1202;BA.debugLine="Log(ab.RowCount)";
|
||||
__c.LogImpl("450397315",BA.NumberToString(_ab.getRowCount()),0);
|
||||
__c.LogImpl("152822147",BA.NumberToString(_ab.getRowCount()),0);
|
||||
//BA.debugLineNum = 1203;BA.debugLine="If ab.RowCount > 0 Then";
|
||||
if (_ab.getRowCount()>0) {
|
||||
//BA.debugLineNum = 1204;BA.debugLine="For i=0 To ab.RowCount -1";
|
||||
@@ -4348,7 +4348,7 @@ _reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_abonosPendientes_"+_
|
||||
//BA.debugLineNum = 1215;BA.debugLine="ab1.Close";
|
||||
_ab1.Close();
|
||||
//BA.debugLineNum = 1216;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_cl";
|
||||
__c.LogImpl("450397329",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0);
|
||||
__c.LogImpl("152822161",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0);
|
||||
}
|
||||
};
|
||||
};
|
||||
@@ -4364,7 +4364,7 @@ _d.setPosition((int) (0));
|
||||
_ab = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_ab = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * from ABONOS where a_enviado is null and a_tipoabono IS NOT NULL"))));
|
||||
//BA.debugLineNum = 1227;BA.debugLine="Log(ab.RowCount)";
|
||||
__c.LogImpl("450397340",BA.NumberToString(_ab.getRowCount()),0);
|
||||
__c.LogImpl("152822172",BA.NumberToString(_ab.getRowCount()),0);
|
||||
//BA.debugLineNum = 1228;BA.debugLine="If ab.RowCount > 0 Then";
|
||||
if (_ab.getRowCount()>0) {
|
||||
//BA.debugLineNum = 1229;BA.debugLine="For i=0 To ab.RowCount -1";
|
||||
@@ -4393,7 +4393,7 @@ _reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_abonosPendientes_"+_
|
||||
//BA.debugLineNum = 1240;BA.debugLine="ab1.Close";
|
||||
_ab1.Close();
|
||||
//BA.debugLineNum = 1241;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_cl";
|
||||
__c.LogImpl("450397354",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0);
|
||||
__c.LogImpl("152822186",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0);
|
||||
}
|
||||
};
|
||||
};
|
||||
@@ -4517,14 +4517,14 @@ for (;_i <= limit140 ;_i = _i + step140 ) {
|
||||
//BA.debugLineNum = 1385;BA.debugLine="c.Position = i";
|
||||
_c.setPosition(_i);
|
||||
//BA.debugLineNum = 1386;BA.debugLine="Log(c.GetString(\"HVD_CLIENTE\"))";
|
||||
__c.LogImpl("450397499",_c.GetString("HVD_CLIENTE"),0);
|
||||
__c.LogImpl("152822331",_c.GetString("HVD_CLIENTE"),0);
|
||||
//BA.debugLineNum = 1387;BA.debugLine="Private d4 As Cursor = Starter.skmt.ExecQuery($";
|
||||
_d4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_d4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"'"))));
|
||||
//BA.debugLineNum = 1388;BA.debugLine="d4.Position = 0";
|
||||
_d4.setPosition((int) (0));
|
||||
//BA.debugLineNum = 1389;BA.debugLine="Log(d4.GetString(\"CAT_CL_RUTA\"))";
|
||||
__c.LogImpl("450397502",_d4.GetString("CAT_CL_RUTA"),0);
|
||||
__c.LogImpl("152822334",_d4.GetString("CAT_CL_RUTA"),0);
|
||||
//BA.debugLineNum = 1390;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery(";
|
||||
_d5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_d5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE') "))));
|
||||
@@ -4539,7 +4539,7 @@ _fecha1 = __c.Regex.Split(" ",_c.GetString("HVD_FECHA"));
|
||||
//BA.debugLineNum = 1397;BA.debugLine="Dim fecha3 As String = fecha1(0)";
|
||||
_fecha3 = _fecha1[(int) (0)];
|
||||
//BA.debugLineNum = 1398;BA.debugLine="Log(fecha3)";
|
||||
__c.LogImpl("450397511",_fecha3,0);
|
||||
__c.LogImpl("152822343",_fecha3,0);
|
||||
//BA.debugLineNum = 1399;BA.debugLine="Dim hora As String = fecha1(1)";
|
||||
_hora = _fecha1[(int) (1)];
|
||||
//BA.debugLineNum = 1402;BA.debugLine="Dim sDate, sTime As String";
|
||||
@@ -4556,7 +4556,7 @@ _stime = __c.DateTime.Time(__c.DateTime.getNow());
|
||||
//BA.debugLineNum = 1407;BA.debugLine="If c.GetString(\"HVD_RECHAZOCANT\") <> \"0\" Then";
|
||||
if ((_c.GetString("HVD_RECHAZOCANT")).equals("0") == false) {
|
||||
//BA.debugLineNum = 1408;BA.debugLine="Log((c.GetString(\"HVD_RECHAZOCANT\")-restacant)";
|
||||
__c.LogImpl("450397521",BA.NumberToString(((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))),0);
|
||||
__c.LogImpl("152822353",BA.NumberToString(((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))),0);
|
||||
//BA.debugLineNum = 1409;BA.debugLine="cmd.Initialize";
|
||||
_cmd.Initialize();
|
||||
//BA.debugLineNum = 1410;BA.debugLine="cmd.Name = \"update_HVD_izcarep2\"";
|
||||
@@ -4571,7 +4571,7 @@ _cmd.Initialize();
|
||||
//BA.debugLineNum = 1415;BA.debugLine="cmd.Name = \"update_HVD_izcarep2\"";
|
||||
_cmd.Name /*String*/ = "update_HVD_izcarep2";
|
||||
//BA.debugLineNum = 1416;BA.debugLine="Log( c.GetString(\"CANTC\")& c.GetString(\"HVD_CL";
|
||||
__c.LogImpl("450397529",_c.GetString("CANTC")+_c.GetString("HVD_CLIENTE")+_c.GetString("HVD_PROID")+_fecha3+" "+_hora+_d4.GetString("CAT_CL_RUTA")+_almacen+_l_ruta.getText()+_c.GetString("HVD_CODPROMO")+_c.GetString("HVD_NUM_TICKET")+_c.GetString("HVD_CANT"),0);
|
||||
__c.LogImpl("152822361",_c.GetString("CANTC")+_c.GetString("HVD_CLIENTE")+_c.GetString("HVD_PROID")+_fecha3+" "+_hora+_d4.GetString("CAT_CL_RUTA")+_almacen+_l_ruta.getText()+_c.GetString("HVD_CODPROMO")+_c.GetString("HVD_NUM_TICKET")+_c.GetString("HVD_CANT"),0);
|
||||
//BA.debugLineNum = 1417;BA.debugLine="cmd.Parameters = Array As String(\"\",\"\",\"\", c.G";
|
||||
_cmd.Parameters /*Object[]*/ = (Object[])(new String[]{"","","",_c.GetString("HVD_CLIENTE"),_c.GetString("HVD_PROID"),_fecha3+" "+_hora,_d4.GetString("CAT_CL_RUTA"),_almacen,_l_ruta.getText(),_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_NUM_TICKET"),_c.GetString("HVD_CANT")});
|
||||
//BA.debugLineNum = 1418;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")";
|
||||
@@ -5385,10 +5385,10 @@ String _resta = "";
|
||||
//BA.debugLineNum = 1826;BA.debugLine="If Job.Success = False Then";
|
||||
if (_job._success /*boolean*/ ==__c.False) {
|
||||
//BA.debugLineNum = 1827;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro";
|
||||
__c.LogImpl("450593795","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red);
|
||||
__c.LogImpl("153018627","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red);
|
||||
}else {
|
||||
//BA.debugLineNum = 1830;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
|
||||
__c.LogImpl("450593798","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
|
||||
__c.LogImpl("153018630","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
|
||||
//BA.debugLineNum = 1831;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
|
||||
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
|
||||
//BA.debugLineNum = 1832;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
|
||||
@@ -5538,9 +5538,9 @@ _detalleventa = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4
|
||||
//BA.debugLineNum = 1912;BA.debugLine="detalleventa.Position = 0";
|
||||
_detalleventa.setPosition((int) (0));
|
||||
//BA.debugLineNum = 1914;BA.debugLine="Log(CONTEO_CAT)";
|
||||
__c.LogImpl("450593882",_conteo_cat,0);
|
||||
__c.LogImpl("153018714",_conteo_cat,0);
|
||||
//BA.debugLineNum = 1915;BA.debugLine="Log(clientes.GetString(\"clientes\"))";
|
||||
__c.LogImpl("450593883",_clientes.GetString("clientes"),0);
|
||||
__c.LogImpl("153018715",_clientes.GetString("clientes"),0);
|
||||
//BA.debugLineNum = 1916;BA.debugLine="If clientes.GetString(\"clientes\") = CONTEO_CAT";
|
||||
if ((_clientes.GetString("clientes")).equals(_conteo_cat)) {
|
||||
//BA.debugLineNum = 1917;BA.debugLine="PB_carga2.Progress = 100";
|
||||
@@ -5550,9 +5550,9 @@ _l_carga2.setText(BA.ObjectToCharSequence("LISTO"));
|
||||
}else {
|
||||
};
|
||||
//BA.debugLineNum = 1923;BA.debugLine="Log(DETALLE)";
|
||||
__c.LogImpl("450593891",_detalle,0);
|
||||
__c.LogImpl("153018723",_detalle,0);
|
||||
//BA.debugLineNum = 1924;BA.debugLine="Log(detalleventa.GetString(\"detalle\"))";
|
||||
__c.LogImpl("450593892",_detalleventa.GetString("detalle"),0);
|
||||
__c.LogImpl("153018724",_detalleventa.GetString("detalle"),0);
|
||||
//BA.debugLineNum = 1925;BA.debugLine="If detalleventa.GetString(\"detalle\") = DETALLE";
|
||||
if ((_detalleventa.GetString("detalle")).equals(_detalle)) {
|
||||
//BA.debugLineNum = 1926;BA.debugLine="PB_carga.Progress = 100";
|
||||
@@ -5588,9 +5588,9 @@ _records = (Object[])(group95.Get(index95));
|
||||
//BA.debugLineNum = 1945;BA.debugLine="Dim CUENTA As String = records(result.Columns";
|
||||
_cuenta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUENTA"))))]);
|
||||
//BA.debugLineNum = 1946;BA.debugLine="Log(CUENTA)";
|
||||
__c.LogImpl("450593914",_cuenta,0);
|
||||
__c.LogImpl("153018746",_cuenta,0);
|
||||
//BA.debugLineNum = 1947;BA.debugLine="Log(id)";
|
||||
__c.LogImpl("450593915",_id,0);
|
||||
__c.LogImpl("153018747",_id,0);
|
||||
//BA.debugLineNum = 1948;BA.debugLine="If CUENTA = 0 Then";
|
||||
if ((_cuenta).equals(BA.NumberToString(0))) {
|
||||
//BA.debugLineNum = 1949;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P";
|
||||
@@ -5626,7 +5626,7 @@ _cmd.Initialize();
|
||||
//BA.debugLineNum = 1968;BA.debugLine="cmd.Name = \"update_PICKCIEGO_IZCA\"";
|
||||
_cmd.Name /*String*/ = "update_PICKCIEGO_IZCA";
|
||||
//BA.debugLineNum = 1969;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))";
|
||||
__c.LogImpl("450593937","FECHA"+_c.GetString("PC_FECHA"),0);
|
||||
__c.LogImpl("153018769","FECHA"+_c.GetString("PC_FECHA"),0);
|
||||
//BA.debugLineNum = 1970;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
|
||||
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PC_CANT")),(Object)(_c.GetString("PC_ID_PROD")),(Object)(_c.GetString("PC_ALMACEN")),(Object)(_c.GetString("PC_RUTA")),(Object)(_c.GetString("PC_FECHA")),(Object)("REPARTO")};
|
||||
//BA.debugLineNum = 1971;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")";
|
||||
@@ -5650,7 +5650,7 @@ if (_reqs.IndexOf((Object)("gunaprod3"))>-1) {
|
||||
//BA.debugLineNum = 1986;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod3\"))";
|
||||
_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprod3")));
|
||||
//BA.debugLineNum = 1987;BA.debugLine="Log(reqs.Size)";
|
||||
__c.LogImpl("450593955",BA.NumberToString(_reqs.getSize()),0);
|
||||
__c.LogImpl("153018787",BA.NumberToString(_reqs.getSize()),0);
|
||||
};
|
||||
//BA.debugLineNum = 1989;BA.debugLine="Starter.skmt.BeginTransaction";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction();
|
||||
@@ -5722,13 +5722,13 @@ _result = _reqmanager._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbr
|
||||
//BA.debugLineNum = 2026;BA.debugLine="If result.Tag = \"gunaprod\" Then 'query tag";
|
||||
if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod"))) {
|
||||
//BA.debugLineNum = 2027;BA.debugLine="Log(\"Entramos a GUNA_PROD<--------------------";
|
||||
__c.LogImpl("450593995","Entramos a GUNA_PROD<---------------------------------",0);
|
||||
__c.LogImpl("153018827","Entramos a GUNA_PROD<---------------------------------",0);
|
||||
//BA.debugLineNum = 2028;BA.debugLine="If reqs.IndexOf(\"gunaprod\") > -1 Then";
|
||||
if (_reqs.IndexOf((Object)("gunaprod"))>-1) {
|
||||
//BA.debugLineNum = 2029;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod\"))";
|
||||
_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprod")));
|
||||
//BA.debugLineNum = 2030;BA.debugLine="Log(reqs.Size)";
|
||||
__c.LogImpl("450593998",BA.NumberToString(_reqs.getSize()),0);
|
||||
__c.LogImpl("153018830",BA.NumberToString(_reqs.getSize()),0);
|
||||
};
|
||||
//BA.debugLineNum = 2032;BA.debugLine="Starter.skmt.BeginTransaction";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction();
|
||||
@@ -5765,7 +5765,7 @@ _precioconver = BA.NumberToString(0);
|
||||
//BA.debugLineNum = 2045;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col";
|
||||
_cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_IMG"))))]);
|
||||
//BA.debugLineNum = 2050;BA.debugLine="Log(CAT_GP_NOMBRE & \"<-----------------------";
|
||||
__c.LogImpl("450594018",_cat_gp_nombre+"<-------------------------------------",0);
|
||||
__c.LogImpl("153018850",_cat_gp_nombre+"<-------------------------------------",0);
|
||||
//BA.debugLineNum = 2051;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CONVERSION,PRECIOCONVER) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(0),(Object)(_conversion),(Object)(_precioconver)}));
|
||||
}
|
||||
@@ -5800,7 +5800,7 @@ if (_reqs.IndexOf((Object)("gunaprodp"))>-1) {
|
||||
//BA.debugLineNum = 2069;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprodp\"))";
|
||||
_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprodp")));
|
||||
//BA.debugLineNum = 2070;BA.debugLine="Log(reqs.Size)";
|
||||
__c.LogImpl("450594038",BA.NumberToString(_reqs.getSize()),0);
|
||||
__c.LogImpl("153018870",BA.NumberToString(_reqs.getSize()),0);
|
||||
};
|
||||
//BA.debugLineNum = 2072;BA.debugLine="For Each records() As Object In result.Rows";
|
||||
{
|
||||
@@ -5869,7 +5869,7 @@ if (_reqs.IndexOf((Object)("detallepaq"))>-1) {
|
||||
//BA.debugLineNum = 2106;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"detallepaq\"))";
|
||||
_reqs.RemoveAt(_reqs.IndexOf((Object)("detallepaq")));
|
||||
//BA.debugLineNum = 2107;BA.debugLine="Log(reqs.Size)";
|
||||
__c.LogImpl("450594075",BA.NumberToString(_reqs.getSize()),0);
|
||||
__c.LogImpl("153018907",BA.NumberToString(_reqs.getSize()),0);
|
||||
};
|
||||
//BA.debugLineNum = 2109;BA.debugLine="For Each records() As Object In result.Rows";
|
||||
{
|
||||
@@ -5973,7 +5973,7 @@ if (_reqs.IndexOf((Object)("punteo"))>0) {
|
||||
//BA.debugLineNum = 2162;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))";
|
||||
_reqs.RemoveAt(_reqs.IndexOf((Object)("punteo")));
|
||||
//BA.debugLineNum = 2163;BA.debugLine="Log(reqs.Size)";
|
||||
__c.LogImpl("450594131",BA.NumberToString(_reqs.getSize()),0);
|
||||
__c.LogImpl("153018963",BA.NumberToString(_reqs.getSize()),0);
|
||||
};
|
||||
//BA.debugLineNum = 2165;BA.debugLine="Starter.skmt.BeginTransaction";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction();
|
||||
@@ -6013,9 +6013,9 @@ if (_reqs.IndexOf((Object)("hist_datos"))>-1) {
|
||||
_reqs.RemoveAt(_reqs.IndexOf((Object)("hist_datos")));
|
||||
};
|
||||
//BA.debugLineNum = 2185;BA.debugLine="Log(l_ruta.text)";
|
||||
__c.LogImpl("450594153",_l_ruta.getText(),0);
|
||||
__c.LogImpl("153018985",_l_ruta.getText(),0);
|
||||
//BA.debugLineNum = 2186;BA.debugLine="Log($\"******** Insertamos HV - ${result.Rows.";
|
||||
__c.LogImpl("450594154",("******** Insertamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0);
|
||||
__c.LogImpl("153018986",("******** Insertamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0);
|
||||
//BA.debugLineNum = 2187;BA.debugLine="Starter.skmt.BeginTransaction";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction();
|
||||
//BA.debugLineNum = 2188;BA.debugLine="Dim consecutivo As Int= 0";
|
||||
@@ -6057,11 +6057,11 @@ _cantc = BA.NumberToString(0);
|
||||
//BA.debugLineNum = 2205;BA.debugLine="consecutivo = consecutivo +1";
|
||||
_consecutivo = (int) (_consecutivo+1);
|
||||
//BA.debugLineNum = 2206;BA.debugLine="Log(HVD_PRONOMBRE & \", \" & HVD_CANT & \", \" &H";
|
||||
__c.LogImpl("450594174",_hvd_pronombre+", "+_hvd_cant+", "+_hvd_cliente,0);
|
||||
__c.LogImpl("153019006",_hvd_pronombre+", "+_hvd_cant+", "+_hvd_cliente,0);
|
||||
//BA.debugLineNum = 2207;BA.debugLine="If l_ruta.Text = \"0\" Then 'Si no hay ruta car";
|
||||
if ((_l_ruta.getText()).equals("0")) {
|
||||
//BA.debugLineNum = 2208;BA.debugLine="Log(\"No hay ruta, guardamos todos\")";
|
||||
__c.LogImpl("450594176","No hay ruta, guardamos todos",0);
|
||||
__c.LogImpl("153019008","No hay ruta, guardamos todos",0);
|
||||
//BA.debugLineNum = 2209;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR,HVD_BCREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo),(Object)(_bcajas),(Object)(_cantc),(Object)(_consecutivo),(Object)(_bcajas),(Object)(_cantc),(Object)(_hvd_bcredito)}));
|
||||
//BA.debugLineNum = 2210;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST";
|
||||
@@ -6073,7 +6073,7 @@ _tc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjec
|
||||
//BA.debugLineNum = 2214;BA.debugLine="If tc.RowCount = 0 Then";
|
||||
if (_tc.getRowCount()==0) {
|
||||
//BA.debugLineNum = 2215;BA.debugLine="Log($\"Guardamos ${HVD_CLIENTE}\"$)";
|
||||
__c.LogImpl("450594183",("Guardamos "+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+""),0);
|
||||
__c.LogImpl("153019015",("Guardamos "+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+""),0);
|
||||
//BA.debugLineNum = 2216;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR,HVD_BCREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo),(Object)(_bcajas),(Object)(_cantc),(Object)(_consecutivo),(Object)(_bcajas),(Object)(_cantc),(Object)(_hvd_bcredito)}));
|
||||
//BA.debugLineNum = 2217;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS";
|
||||
@@ -6087,7 +6087,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful();
|
||||
//BA.debugLineNum = 2222;BA.debugLine="Starter.skmt.EndTransaction";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction();
|
||||
//BA.debugLineNum = 2223;BA.debugLine="Log($\"******** Terminamos HV - ${result.Rows.";
|
||||
__c.LogImpl("450594191",("******** Terminamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0);
|
||||
__c.LogImpl("153019023",("******** Terminamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0);
|
||||
//BA.debugLineNum = 2237;BA.debugLine="Listo3 =1";
|
||||
_listo3 = BA.NumberToString(1);
|
||||
//BA.debugLineNum = 2238;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then";
|
||||
@@ -6300,7 +6300,7 @@ if (_reqs.IndexOf((Object)("ruta"))>-1) {
|
||||
//BA.debugLineNum = 2353;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"ruta\"))";
|
||||
_reqs.RemoveAt(_reqs.IndexOf((Object)("ruta")));
|
||||
//BA.debugLineNum = 2354;BA.debugLine="Log(reqs.Size)";
|
||||
__c.LogImpl("450594322",BA.NumberToString(_reqs.getSize()),0);
|
||||
__c.LogImpl("153019154",BA.NumberToString(_reqs.getSize()),0);
|
||||
};
|
||||
//BA.debugLineNum = 2356;BA.debugLine="For Each records() As Object In result.Rows";
|
||||
{
|
||||
@@ -6373,7 +6373,7 @@ final int groupLen475 = group475.getSize()
|
||||
for (; index475 < groupLen475;index475++){
|
||||
_records = (Object[])(group475.Get(index475));
|
||||
//BA.debugLineNum = 2395;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res";
|
||||
__c.LogImpl("450594363","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0);
|
||||
__c.LogImpl("153019195","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0);
|
||||
//BA.debugLineNum = 2396;BA.debugLine="Private lat, lon As Double";
|
||||
_lat = 0;
|
||||
_lon = 0;
|
||||
@@ -6445,7 +6445,7 @@ final int groupLen504 = group504.getSize()
|
||||
for (; index504 < groupLen504;index504++){
|
||||
_k = BA.ObjectToString(group504.Get(index504));
|
||||
//BA.debugLineNum = 2428;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)";
|
||||
__c.LogImpl("450594396",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
|
||||
__c.LogImpl("153019228",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -6475,7 +6475,7 @@ final int groupLen514 = group514.getSize()
|
||||
for (; index514 < groupLen514;index514++){
|
||||
_k = BA.ObjectToString(group514.Get(index514));
|
||||
//BA.debugLineNum = 2439;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)";
|
||||
__c.LogImpl("450594407",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
|
||||
__c.LogImpl("153019239",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -6640,11 +6640,11 @@ public String _listview1_itemclick(int _position,Object _value) throws Exceptio
|
||||
String[] _clieasing = null;
|
||||
//BA.debugLineNum = 2960;BA.debugLine="Private Sub ListView1_ItemClick (Position As Int,";
|
||||
//BA.debugLineNum = 2961;BA.debugLine="Log(Value)";
|
||||
__c.LogImpl("451445761",BA.ObjectToString(_value),0);
|
||||
__c.LogImpl("153870593",BA.ObjectToString(_value),0);
|
||||
//BA.debugLineNum = 2963;BA.debugLine="Dim clieasing() As String = Regex.Split(\" \", Valu";
|
||||
_clieasing = __c.Regex.Split(" ",BA.ObjectToString(_value));
|
||||
//BA.debugLineNum = 2964;BA.debugLine="Log(clieasing(0))";
|
||||
__c.LogImpl("451445764",_clieasing[(int) (0)],0);
|
||||
__c.LogImpl("153870596",_clieasing[(int) (0)],0);
|
||||
//BA.debugLineNum = 2966;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA");
|
||||
//BA.debugLineNum = 2967;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V";
|
||||
@@ -6706,7 +6706,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_
|
||||
_impresoraconectada = __c.True;
|
||||
}else {
|
||||
//BA.debugLineNum = 3212;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors";
|
||||
__c.LogImpl("451970060","Error conectando la impresora",__c.Colors.Red);
|
||||
__c.LogImpl("154394892","Error conectando la impresora",__c.Colors.Red);
|
||||
//BA.debugLineNum = 3213;BA.debugLine="errorImpresora = errorImpresora + 1";
|
||||
_errorimpresora = (int) (_errorimpresora+1);
|
||||
//BA.debugLineNum = 3214;BA.debugLine="If errorImpresora > 1 Then";
|
||||
@@ -6723,7 +6723,7 @@ return "";
|
||||
public String _printer1_error() throws Exception{
|
||||
//BA.debugLineNum = 3221;BA.debugLine="Sub Printer1_Error";
|
||||
//BA.debugLineNum = 3222;BA.debugLine="Log(\"error printer\")";
|
||||
__c.LogImpl("452035585","error printer",0);
|
||||
__c.LogImpl("154460417","error printer",0);
|
||||
//BA.debugLineNum = 3223;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
@@ -6810,7 +6810,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _pickciego = null;
|
||||
//BA.debugLineNum = 845;BA.debugLine="Sub Subir_Click";
|
||||
//BA.debugLineNum = 847;BA.debugLine="Private cg As Cursor = Starter.skmt.ExecQuery(\"se";
|
||||
_cg = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_cg = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc")));
|
||||
_cg = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PRONOMBRE <> 'Cobranza Pendiente' GROUP BY HVD_PROID order by HVD_PRONOMBRE asc")));
|
||||
//BA.debugLineNum = 850;BA.debugLine="If cg.RowCount > 0 Then";
|
||||
if (_cg.getRowCount()>0) {
|
||||
//BA.debugLineNum = 851;BA.debugLine="Dim banderarechazo As Int = 0";
|
||||
|
||||
@@ -75,11 +75,11 @@ public anywheresoftware.b4a.objects.LabelWrapper _l_cajas = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -122,7 +122,7 @@ _sdate = __c.DateTime.Date(__c.DateTime.getNow());
|
||||
//BA.debugLineNum = 678;BA.debugLine="sTime = DateTime.Time(DateTime.Now)";
|
||||
_stime = __c.DateTime.Time(__c.DateTime.getNow());
|
||||
//BA.debugLineNum = 680;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)";
|
||||
__c.LogImpl("461014024","b_prodMas_Click",__c.Colors.Magenta);
|
||||
__c.LogImpl("156229896","b_prodMas_Click",__c.Colors.Magenta);
|
||||
//BA.debugLineNum = 681;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
|
||||
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
|
||||
//BA.debugLineNum = 682;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
|
||||
@@ -138,7 +138,7 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3));
|
||||
_estetag = new anywheresoftware.b4a.objects.collections.List();
|
||||
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag())));
|
||||
//BA.debugLineNum = 689;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&";
|
||||
__c.LogImpl("461014033","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
__c.LogImpl("156229905","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
//BA.debugLineNum = 690;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0";
|
||||
if ((_lacant.getText()).equals("")) {
|
||||
_lacant.setText(BA.ObjectToCharSequence(0));};
|
||||
@@ -164,16 +164,16 @@ _minimos.Close();
|
||||
//BA.debugLineNum = 703;BA.debugLine="minimoadesc = \"1\"";
|
||||
_minimoadesc = "1";
|
||||
//BA.debugLineNum = 706;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag";
|
||||
__c.LogImpl("461014050",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
|
||||
__c.LogImpl("156229922",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
|
||||
//BA.debugLineNum = 707;BA.debugLine="Log(esteTag.get(4))";
|
||||
__c.LogImpl("461014051",BA.ObjectToString(_estetag.Get((int) (4))),0);
|
||||
__c.LogImpl("156229923",BA.ObjectToString(_estetag.Get((int) (4))),0);
|
||||
//BA.debugLineNum = 708;BA.debugLine="If esteTag.Get(4) = \"0\" Then";
|
||||
if ((_estetag.Get((int) (4))).equals((Object)("0"))) {
|
||||
}else {
|
||||
//BA.debugLineNum = 711;BA.debugLine="If laCant.Text + 1 <= maxProds Then";
|
||||
if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) {
|
||||
//BA.debugLineNum = 712;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)";
|
||||
__c.LogImpl("461014056",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
|
||||
__c.LogImpl("156229928",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0);
|
||||
//BA.debugLineNum = 713;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$";
|
||||
_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+"")));
|
||||
//BA.debugLineNum = 714;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod";
|
||||
@@ -257,7 +257,7 @@ if ((_c2.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)))
|
||||
//BA.debugLineNum = 762;BA.debugLine="Private pup As String = c2.GetString(\"HVD_CO";
|
||||
_pup = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("HVD_CANT"))));
|
||||
//BA.debugLineNum = 765;BA.debugLine="Log(\"algo1\")";
|
||||
__c.LogImpl("461014109","algo1",0);
|
||||
__c.LogImpl("156229981","algo1",0);
|
||||
//BA.debugLineNum = 766;BA.debugLine="If Subs.traeCliente = \"63403\" Then";
|
||||
if ((_subs._traecliente /*String*/ (ba)).equals("63403")) {
|
||||
//BA.debugLineNum = 767;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED";
|
||||
@@ -268,37 +268,37 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDI
|
||||
};
|
||||
}else {
|
||||
//BA.debugLineNum = 772;BA.debugLine="Log(\"|\" & preciofull& \"|\")";
|
||||
__c.LogImpl("461014116","|"+_preciofull+"|",0);
|
||||
__c.LogImpl("156229988","|"+_preciofull+"|",0);
|
||||
//BA.debugLineNum = 773;BA.debugLine="Log(\"|\" & minimoadesc& \"|\")";
|
||||
__c.LogImpl("461014117","|"+_minimoadesc+"|",0);
|
||||
__c.LogImpl("156229989","|"+_minimoadesc+"|",0);
|
||||
//BA.debugLineNum = 777;BA.debugLine="Log(esteTag.Get(2))";
|
||||
__c.LogImpl("461014121",BA.ObjectToString(_estetag.Get((int) (2))),0);
|
||||
__c.LogImpl("156229993",BA.ObjectToString(_estetag.Get((int) (2))),0);
|
||||
//BA.debugLineNum = 778;BA.debugLine="Log(c2.GetString(\"HVD_PRONOMBRE\"))";
|
||||
__c.LogImpl("461014122",_c2.GetString("HVD_PRONOMBRE"),0);
|
||||
__c.LogImpl("156229994",_c2.GetString("HVD_PRONOMBRE"),0);
|
||||
//BA.debugLineNum = 779;BA.debugLine="Log((1*minimoadesc))";
|
||||
__c.LogImpl("461014123",BA.NumberToString((1*(double)(Double.parseDouble(_minimoadesc)))),0);
|
||||
__c.LogImpl("156229995",BA.NumberToString((1*(double)(Double.parseDouble(_minimoadesc)))),0);
|
||||
//BA.debugLineNum = 780;BA.debugLine="Log(esteTag.Get(5))";
|
||||
__c.LogImpl("461014124",BA.ObjectToString(_estetag.Get((int) (5))),0);
|
||||
__c.LogImpl("156229996",BA.ObjectToString(_estetag.Get((int) (5))),0);
|
||||
//BA.debugLineNum = 781;BA.debugLine="Log(Subs.traeCliente)";
|
||||
__c.LogImpl("461014125",_subs._traecliente /*String*/ (ba),0);
|
||||
__c.LogImpl("156229997",_subs._traecliente /*String*/ (ba),0);
|
||||
//BA.debugLineNum = 782;BA.debugLine="Log((preciofull*minimoadesc))";
|
||||
__c.LogImpl("461014126",BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),0);
|
||||
__c.LogImpl("156229998",BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),0);
|
||||
//BA.debugLineNum = 783;BA.debugLine="Log(esteTag.Get(6))";
|
||||
__c.LogImpl("461014127",BA.ObjectToString(_estetag.Get((int) (6))),0);
|
||||
__c.LogImpl("156229999",BA.ObjectToString(_estetag.Get((int) (6))),0);
|
||||
//BA.debugLineNum = 784;BA.debugLine="Log(Subs.traerUTAPREV)";
|
||||
__c.LogImpl("461014128",_subs._traerutaprev /*String*/ (ba),0);
|
||||
__c.LogImpl("156230000",_subs._traerutaprev /*String*/ (ba),0);
|
||||
//BA.debugLineNum = 785;BA.debugLine="Log(Subs.traeAlmacen)";
|
||||
__c.LogImpl("461014129",_subs._traealmacen /*String*/ (ba),0);
|
||||
__c.LogImpl("156230001",_subs._traealmacen /*String*/ (ba),0);
|
||||
//BA.debugLineNum = 786;BA.debugLine="Log(sDate & \" \" & sTime)";
|
||||
__c.LogImpl("461014130",_sdate+" "+_stime,0);
|
||||
__c.LogImpl("156230002",_sdate+" "+_stime,0);
|
||||
//BA.debugLineNum = 787;BA.debugLine="Log(Subs.traeUsuario)";
|
||||
__c.LogImpl("461014131",_subs._traeusuario /*String*/ (ba),0);
|
||||
__c.LogImpl("156230003",_subs._traeusuario /*String*/ (ba),0);
|
||||
//BA.debugLineNum = 788;BA.debugLine="Log(Subs.traefECHAPREV)";
|
||||
__c.LogImpl("461014132",_subs._traefechaprev /*String*/ (ba),0);
|
||||
__c.LogImpl("156230004",_subs._traefechaprev /*String*/ (ba),0);
|
||||
//BA.debugLineNum = 789;BA.debugLine="Log(Subs.traeRutaReparto)";
|
||||
__c.LogImpl("461014133",_subs._traerutareparto /*String*/ (ba),0);
|
||||
__c.LogImpl("156230005",_subs._traerutareparto /*String*/ (ba),0);
|
||||
//BA.debugLineNum = 790;BA.debugLine="Log(esregalo)";
|
||||
__c.LogImpl("461014134",_esregalo,0);
|
||||
__c.LogImpl("156230006",_esregalo,0);
|
||||
//BA.debugLineNum = 793;BA.debugLine="If Subs.traeCliente = \"63403\" Then";
|
||||
if ((_subs._traecliente /*String*/ (ba)).equals("63403")) {
|
||||
//BA.debugLineNum = 794;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED";
|
||||
@@ -332,7 +332,7 @@ String _puc = "";
|
||||
//BA.debugLineNum = 830;BA.debugLine="etCantHasFocus = False";
|
||||
_etcanthasfocus = __c.False;
|
||||
//BA.debugLineNum = 832;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)";
|
||||
__c.LogImpl("461079555","b_prodMas_Click",__c.Colors.Magenta);
|
||||
__c.LogImpl("156295427","b_prodMas_Click",__c.Colors.Magenta);
|
||||
//BA.debugLineNum = 833;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
|
||||
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
|
||||
//BA.debugLineNum = 834;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
|
||||
@@ -345,40 +345,40 @@ _pnl = _pnl0.GetView((int) (0));
|
||||
_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper();
|
||||
_lacantc = _pnl.GetView((int) (3)).GetView((int) (3));
|
||||
//BA.debugLineNum = 837;BA.debugLine="LogColor(laCantc.Text&\"--------------------------";
|
||||
__c.LogImpl("461079560",_lacantc.getText()+"-----------------------------",__c.Colors.Blue);
|
||||
__c.LogImpl("156295432",_lacantc.getText()+"-----------------------------",__c.Colors.Blue);
|
||||
//BA.debugLineNum = 841;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T";
|
||||
_estetag = new anywheresoftware.b4a.objects.collections.List();
|
||||
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag())));
|
||||
//BA.debugLineNum = 842;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta";
|
||||
__c.LogImpl("461079565","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
__c.LogImpl("156295437","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
//BA.debugLineNum = 843;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0";
|
||||
if ((_lacantc.getText()).equals("")) {
|
||||
_lacantc.setText(BA.ObjectToCharSequence(0));};
|
||||
//BA.debugLineNum = 845;BA.debugLine="Private maxProds As String = (esteTag.Get(1) + es";
|
||||
_maxprods = BA.NumberToString(((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4))))));
|
||||
//BA.debugLineNum = 846;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)";
|
||||
__c.LogImpl("461079569",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red);
|
||||
__c.LogImpl("156295441",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red);
|
||||
//BA.debugLineNum = 847;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)";
|
||||
__c.LogImpl("461079570",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red);
|
||||
__c.LogImpl("156295442",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red);
|
||||
//BA.debugLineNum = 848;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag";
|
||||
__c.LogImpl("461079571",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
|
||||
__c.LogImpl("156295443",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green);
|
||||
//BA.debugLineNum = 850;BA.debugLine="Log(maxProds)";
|
||||
__c.LogImpl("461079573",_maxprods,0);
|
||||
__c.LogImpl("156295445",_maxprods,0);
|
||||
//BA.debugLineNum = 853;BA.debugLine="Log(esteTag.Get(4))";
|
||||
__c.LogImpl("461079576",BA.ObjectToString(_estetag.Get((int) (4))),0);
|
||||
__c.LogImpl("156295448",BA.ObjectToString(_estetag.Get((int) (4))),0);
|
||||
//BA.debugLineNum = 854;BA.debugLine="If esteTag.Get(4) = \"0\" Then";
|
||||
if ((_estetag.Get((int) (4))).equals((Object)("0"))) {
|
||||
}else {
|
||||
//BA.debugLineNum = 857;BA.debugLine="If laCantc.Text + 1 <= maxProds Then";
|
||||
if ((double)(Double.parseDouble(_lacantc.getText()))+1<=(double)(Double.parseDouble(_maxprods))) {
|
||||
//BA.debugLineNum = 858;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)";
|
||||
__c.LogImpl("461079581",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0);
|
||||
__c.LogImpl("156295453",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0);
|
||||
//BA.debugLineNum = 860;BA.debugLine="laCantc.Text = $\"$1.0{laCantc.Text + 1}\"$";
|
||||
_lacantc.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+"")));
|
||||
//BA.debugLineNum = 861;BA.debugLine="LogColor(esteTag,Colors.Magenta)";
|
||||
__c.LogImpl("461079584",BA.ObjectToString(_estetag),__c.Colors.Magenta);
|
||||
__c.LogImpl("156295456",BA.ObjectToString(_estetag),__c.Colors.Magenta);
|
||||
//BA.debugLineNum = 863;BA.debugLine="LogColor(laCantc.Text,Colors.Red)";
|
||||
__c.LogImpl("461079586",_lacantc.getText(),__c.Colors.Red);
|
||||
__c.LogImpl("156295458",_lacantc.getText(),__c.Colors.Red);
|
||||
//BA.debugLineNum = 866;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PEDI";
|
||||
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))})));
|
||||
//BA.debugLineNum = 867;BA.debugLine="If c.RowCount > 0 Then";
|
||||
@@ -397,7 +397,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO se
|
||||
//BA.debugLineNum = 874;BA.debugLine="B4XPage_Appear";
|
||||
_b4xpage_appear();
|
||||
//BA.debugLineNum = 875;BA.debugLine="Log(\"aqui2\")";
|
||||
__c.LogImpl("461079598","aqui2",0);
|
||||
__c.LogImpl("156295470","aqui2",0);
|
||||
};
|
||||
}else {
|
||||
//BA.debugLineNum = 878;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2";
|
||||
@@ -410,7 +410,7 @@ _c2.setPosition((int) (0));
|
||||
//BA.debugLineNum = 881;BA.debugLine="Private puc As String = c2.GetString(\"HVD_COS";
|
||||
_puc = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("CANTC"))));
|
||||
//BA.debugLineNum = 882;BA.debugLine="Log(puc)";
|
||||
__c.LogImpl("461079605",_puc,0);
|
||||
__c.LogImpl("156295477",_puc,0);
|
||||
//BA.debugLineNum = 885;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDID";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,1,1,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2)))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),_puc,_puc,BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)}));
|
||||
//BA.debugLineNum = 886;BA.debugLine="B4XPage_Appear";
|
||||
@@ -437,9 +437,9 @@ float _preciou = 0f;
|
||||
//BA.debugLineNum = 567;BA.debugLine="etCantHasFocus = False";
|
||||
_etcanthasfocus = __c.False;
|
||||
//BA.debugLineNum = 568;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)";
|
||||
__c.LogImpl("460948482","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
|
||||
__c.LogImpl("156164354","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
|
||||
//BA.debugLineNum = 569;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
|
||||
__c.LogImpl("460948483","b_prodMenos_Click",__c.Colors.Magenta);
|
||||
__c.LogImpl("156164355","b_prodMenos_Click",__c.Colors.Magenta);
|
||||
//BA.debugLineNum = 570;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
|
||||
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
|
||||
//BA.debugLineNum = 571;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
|
||||
@@ -455,7 +455,7 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (3));
|
||||
_estetag = new anywheresoftware.b4a.objects.collections.List();
|
||||
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag())));
|
||||
//BA.debugLineNum = 576;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get(";
|
||||
__c.LogImpl("460948490","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
__c.LogImpl("156164362","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
//BA.debugLineNum = 578;BA.debugLine="Private minimoadesc As String";
|
||||
_minimoadesc = "";
|
||||
//BA.debugLineNum = 579;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\"";
|
||||
@@ -486,7 +486,7 @@ _lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Obje
|
||||
if ((double)(Double.parseDouble(_lacant.getText()))<0) {
|
||||
_lacant.setText(BA.ObjectToCharSequence(0));};
|
||||
//BA.debugLineNum = 627;BA.debugLine="Log(\"NO ES promo\")";
|
||||
__c.LogImpl("460948541","NO ES promo",0);
|
||||
__c.LogImpl("156164413","NO ES promo",0);
|
||||
//BA.debugLineNum = 632;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\"";
|
||||
_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))})));
|
||||
@@ -525,7 +525,7 @@ _b4xpage_appear();
|
||||
//BA.debugLineNum = 658;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get";
|
||||
_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1)))));
|
||||
//BA.debugLineNum = 659;BA.debugLine="Log(\"PU: \" & preciou)";
|
||||
__c.LogImpl("460948573","PU: "+BA.NumberToString(_preciou),0);
|
||||
__c.LogImpl("156164445","PU: "+BA.NumberToString(_preciou),0);
|
||||
//BA.debugLineNum = 670;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
@@ -541,9 +541,9 @@ float _preciou = 0f;
|
||||
//BA.debugLineNum = 895;BA.debugLine="etCantHasFocus = False";
|
||||
_etcanthasfocus = __c.False;
|
||||
//BA.debugLineNum = 896;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)";
|
||||
__c.LogImpl("461145090","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
|
||||
__c.LogImpl("156360962","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0);
|
||||
//BA.debugLineNum = 897;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)";
|
||||
__c.LogImpl("461145091","b_prodMenos_Click",__c.Colors.Magenta);
|
||||
__c.LogImpl("156360963","b_prodMenos_Click",__c.Colors.Magenta);
|
||||
//BA.debugLineNum = 898;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen";
|
||||
_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
|
||||
//BA.debugLineNum = 899;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)";
|
||||
@@ -559,7 +559,7 @@ _lacantc = _pnl.GetView((int) (3)).GetView((int) (3));
|
||||
_estetag = new anywheresoftware.b4a.objects.collections.List();
|
||||
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag())));
|
||||
//BA.debugLineNum = 904;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get";
|
||||
__c.LogImpl("461145098","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
__c.LogImpl("156360970","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0);
|
||||
//BA.debugLineNum = 908;BA.debugLine="If laCantc.Text > 0 Then";
|
||||
if ((double)(Double.parseDouble(_lacantc.getText()))>0) {
|
||||
//BA.debugLineNum = 911;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\"";
|
||||
@@ -579,7 +579,7 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDI
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 920;BA.debugLine="Log(\"entre al if o algo asi \")";
|
||||
__c.LogImpl("461145114","entre al if o algo asi ",0);
|
||||
__c.LogImpl("156360986","entre al if o algo asi ",0);
|
||||
//BA.debugLineNum = 921;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0";
|
||||
if ((_lacantc.getText()).equals("")) {
|
||||
_lacantc.setText(BA.ObjectToCharSequence(0));};
|
||||
@@ -595,7 +595,7 @@ _b4xpage_appear();
|
||||
//BA.debugLineNum = 930;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get";
|
||||
_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1)))));
|
||||
//BA.debugLineNum = 931;BA.debugLine="Log(\"PU: \" & preciou)";
|
||||
__c.LogImpl("461145125","PU: "+BA.NumberToString(_preciou),0);
|
||||
__c.LogImpl("156360997","PU: "+BA.NumberToString(_preciou),0);
|
||||
//BA.debugLineNum = 932;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
@@ -656,7 +656,7 @@ _existe = _c.GetString("EXISTE");
|
||||
//BA.debugLineNum = 89;BA.debugLine="C.Close";
|
||||
_c.Close();
|
||||
//BA.debugLineNum = 93;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from HIST_VENT";
|
||||
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PRONOMBRE <> 'Cobranza Pendiente' order by HVD_CODPROMO desc, HVD_PRONOMBRE asc")));
|
||||
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PRONOMBRE <> 'Cobranza Pendiente' AND HVD_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) order by HVD_CODPROMO desc, HVD_PRONOMBRE asc")));
|
||||
//BA.debugLineNum = 96;BA.debugLine="ListView1.Clear";
|
||||
_listview1.Clear();
|
||||
//BA.debugLineNum = 97;BA.debugLine="clv_pedido.Clear";
|
||||
@@ -733,14 +733,14 @@ _resta = BA.NumberToString(0);
|
||||
//BA.debugLineNum = 153;BA.debugLine="If c3.RowCount > 0 Then";
|
||||
if (_c3.getRowCount()>0) {
|
||||
//BA.debugLineNum = 155;BA.debugLine="Log(1)";
|
||||
__c.LogImpl("460424273",BA.NumberToString(1),0);
|
||||
__c.LogImpl("155640145",BA.NumberToString(1),0);
|
||||
//BA.debugLineNum = 156;BA.debugLine="c3.Position = 0";
|
||||
_c3.setPosition((int) (0));
|
||||
//BA.debugLineNum = 157;BA.debugLine="resta = c3.GetString(\"PE_CANT\")";
|
||||
_resta = _c3.GetString("PE_CANT");
|
||||
}else {
|
||||
//BA.debugLineNum = 160;BA.debugLine="Log(2)";
|
||||
__c.LogImpl("460424278",BA.NumberToString(2),0);
|
||||
__c.LogImpl("155640150",BA.NumberToString(2),0);
|
||||
//BA.debugLineNum = 161;BA.debugLine="resta = 0";
|
||||
_resta = BA.NumberToString(0);
|
||||
};
|
||||
@@ -757,16 +757,16 @@ _preciofull = _preciocat.GetString("CAT_GP_PRECIO");
|
||||
//BA.debugLineNum = 169;BA.debugLine="preciocat.Close";
|
||||
_preciocat.Close();
|
||||
//BA.debugLineNum = 170;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))";
|
||||
__c.LogImpl("460424288",_c.GetString("HVD_CODPROMO"),0);
|
||||
__c.LogImpl("155640160",_c.GetString("HVD_CODPROMO"),0);
|
||||
//BA.debugLineNum = 171;BA.debugLine="Log(Subs.traeAlmacen)";
|
||||
__c.LogImpl("460424289",_subs._traealmacen /*String*/ (ba),0);
|
||||
__c.LogImpl("155640161",_subs._traealmacen /*String*/ (ba),0);
|
||||
//BA.debugLineNum = 174;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl";
|
||||
if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) {
|
||||
//BA.debugLineNum = 175;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"";
|
||||
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,_c.GetString("HVD_PROID"),_c.GetString("HVD_CODPROMO"),_c.GetString("CONSECUTIVO")),(int)(Double.parseDouble(_c2.GetString("PE_CANT"))),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_c2.GetString("PE_CANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i));
|
||||
}else {
|
||||
//BA.debugLineNum = 177;BA.debugLine="Log(\"aqui arriba\")";
|
||||
__c.LogImpl("460424295","aqui arriba",0);
|
||||
__c.LogImpl("155640167","aqui arriba",0);
|
||||
//BA.debugLineNum = 178;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"";
|
||||
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_preciofull,(int)(Double.parseDouble(_c2.GetString("PE_CANT"))),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_c2.GetString("PE_CANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i));
|
||||
};
|
||||
@@ -779,14 +779,14 @@ _resta = BA.NumberToString(0);
|
||||
//BA.debugLineNum = 186;BA.debugLine="If c3.RowCount > 0 Then";
|
||||
if (_c3.getRowCount()>0) {
|
||||
//BA.debugLineNum = 188;BA.debugLine="Log(3)";
|
||||
__c.LogImpl("460424306",BA.NumberToString(3),0);
|
||||
__c.LogImpl("155640178",BA.NumberToString(3),0);
|
||||
//BA.debugLineNum = 189;BA.debugLine="c3.Position = 0";
|
||||
_c3.setPosition((int) (0));
|
||||
//BA.debugLineNum = 190;BA.debugLine="resta = c3.GetString(\"PE_CANT\")";
|
||||
_resta = _c3.GetString("PE_CANT");
|
||||
}else {
|
||||
//BA.debugLineNum = 193;BA.debugLine="Log(4)";
|
||||
__c.LogImpl("460424311",BA.NumberToString(4),0);
|
||||
__c.LogImpl("155640183",BA.NumberToString(4),0);
|
||||
//BA.debugLineNum = 194;BA.debugLine="resta = 0";
|
||||
_resta = BA.NumberToString(0);
|
||||
};
|
||||
@@ -803,16 +803,16 @@ _preciofull = _preciocat.GetString("CAT_GP_PRECIO");
|
||||
//BA.debugLineNum = 203;BA.debugLine="preciocat.Close";
|
||||
_preciocat.Close();
|
||||
//BA.debugLineNum = 204;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))";
|
||||
__c.LogImpl("460424322",_c.GetString("HVD_CODPROMO"),0);
|
||||
__c.LogImpl("155640194",_c.GetString("HVD_CODPROMO"),0);
|
||||
//BA.debugLineNum = 205;BA.debugLine="Log(Subs.traeAlmacen)";
|
||||
__c.LogImpl("460424323",_subs._traealmacen /*String*/ (ba),0);
|
||||
__c.LogImpl("155640195",_subs._traealmacen /*String*/ (ba),0);
|
||||
//BA.debugLineNum = 207;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl";
|
||||
if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) {
|
||||
//BA.debugLineNum = 208;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"";
|
||||
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,_c.GetString("HVD_PROID"),_c.GetString("HVD_CODPROMO"),_c.GetString("CONSECUTIVO")),(int) (0),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i));
|
||||
}else {
|
||||
//BA.debugLineNum = 210;BA.debugLine="Log(\"aqui abajo\")";
|
||||
__c.LogImpl("460424328","aqui abajo",0);
|
||||
__c.LogImpl("155640200","aqui abajo",0);
|
||||
//BA.debugLineNum = 211;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"";
|
||||
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_preciofull,(int) (0),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i));
|
||||
};
|
||||
@@ -822,7 +822,7 @@ _clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.
|
||||
_c2.Close();
|
||||
}else if((_c.GetString("BCAJAS")).equals("1")) {
|
||||
//BA.debugLineNum = 222;BA.debugLine="Log(\"AQUI1\")";
|
||||
__c.LogImpl("460424340","AQUI1",0);
|
||||
__c.LogImpl("155640212","AQUI1",0);
|
||||
//BA.debugLineNum = 225;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery(";
|
||||
_oc = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_oc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_CANT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+"'"))));
|
||||
@@ -884,9 +884,9 @@ if (_c2.getRowCount()>0) {
|
||||
//BA.debugLineNum = 259;BA.debugLine="c2.Position = 0";
|
||||
_c2.setPosition((int) (0));
|
||||
//BA.debugLineNum = 260;BA.debugLine="Log(\"SI ENTRO A PONER CAJAS BIEN \")";
|
||||
__c.LogImpl("460424378","SI ENTRO A PONER CAJAS BIEN ",0);
|
||||
__c.LogImpl("155640250","SI ENTRO A PONER CAJAS BIEN ",0);
|
||||
//BA.debugLineNum = 261;BA.debugLine="Log(c2.GetString(\"PE_CAJAS\"))";
|
||||
__c.LogImpl("460424379",_c2.GetString("PE_CAJAS"),0);
|
||||
__c.LogImpl("155640251",_c2.GetString("PE_CAJAS"),0);
|
||||
//BA.debugLineNum = 262;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery(";
|
||||
_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'"))));
|
||||
@@ -895,26 +895,26 @@ _resta = BA.NumberToString(0);
|
||||
//BA.debugLineNum = 265;BA.debugLine="If c3.RowCount > 0 Then";
|
||||
if (_c3.getRowCount()>0) {
|
||||
//BA.debugLineNum = 267;BA.debugLine="Log(5)";
|
||||
__c.LogImpl("460424385",BA.NumberToString(5),0);
|
||||
__c.LogImpl("155640257",BA.NumberToString(5),0);
|
||||
//BA.debugLineNum = 268;BA.debugLine="c3.Position = 0";
|
||||
_c3.setPosition((int) (0));
|
||||
//BA.debugLineNum = 269;BA.debugLine="resta = c3.GetString(\"PE_CANT\")";
|
||||
_resta = _c3.GetString("PE_CANT");
|
||||
}else {
|
||||
//BA.debugLineNum = 272;BA.debugLine="Log(6)";
|
||||
__c.LogImpl("460424390",BA.NumberToString(6),0);
|
||||
__c.LogImpl("155640262",BA.NumberToString(6),0);
|
||||
//BA.debugLineNum = 273;BA.debugLine="resta = 0";
|
||||
_resta = BA.NumberToString(0);
|
||||
};
|
||||
//BA.debugLineNum = 275;BA.debugLine="Private puc As String = c.GetString(\"HVD_COS";
|
||||
_puc = BA.NumberToString((double)(Double.parseDouble(_c.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c.GetString("CANTC"))));
|
||||
//BA.debugLineNum = 276;BA.debugLine="LogColor((restacant/Subs.traeConversion(c.Ge";
|
||||
__c.LogImpl("460424394",BA.NumberToString(((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),__c.Colors.Green);
|
||||
__c.LogImpl("155640266",BA.NumberToString(((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),__c.Colors.Green);
|
||||
//BA.debugLineNum = 277;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\"";
|
||||
_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_c.GetString("HVD_PRONOMBRE"),_puc,(int) (((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),(int) ((((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant))-(double)(Double.parseDouble(_resta)))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i));
|
||||
}else {
|
||||
//BA.debugLineNum = 279;BA.debugLine="Log(\"NO ENTRO A PONER CAJAS BIEN \")";
|
||||
__c.LogImpl("460424397","NO ENTRO A PONER CAJAS BIEN ",0);
|
||||
__c.LogImpl("155640269","NO ENTRO A PONER CAJAS BIEN ",0);
|
||||
//BA.debugLineNum = 280;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery(";
|
||||
_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'"))));
|
||||
@@ -923,19 +923,19 @@ _resta = BA.NumberToString(0);
|
||||
//BA.debugLineNum = 283;BA.debugLine="If c3.RowCount > 0 Then";
|
||||
if (_c3.getRowCount()>0) {
|
||||
//BA.debugLineNum = 285;BA.debugLine="Log(7)";
|
||||
__c.LogImpl("460424403",BA.NumberToString(7),0);
|
||||
__c.LogImpl("155640275",BA.NumberToString(7),0);
|
||||
//BA.debugLineNum = 286;BA.debugLine="c3.Position = 0";
|
||||
_c3.setPosition((int) (0));
|
||||
//BA.debugLineNum = 287;BA.debugLine="resta = c3.GetString(\"PE_CANT\")";
|
||||
_resta = _c3.GetString("PE_CANT");
|
||||
}else {
|
||||
//BA.debugLineNum = 290;BA.debugLine="Log(1)";
|
||||
__c.LogImpl("460424408",BA.NumberToString(1),0);
|
||||
__c.LogImpl("155640280",BA.NumberToString(1),0);
|
||||
//BA.debugLineNum = 291;BA.debugLine="resta = 0";
|
||||
_resta = BA.NumberToString(0);
|
||||
};
|
||||
//BA.debugLineNum = 293;BA.debugLine="LogColor(resta,Colors.Green)";
|
||||
__c.LogImpl("460424411",_resta,__c.Colors.Green);
|
||||
__c.LogImpl("155640283",_resta,__c.Colors.Green);
|
||||
//BA.debugLineNum = 294;BA.debugLine="Private puc As String = c.GetString(\"HVD_COS";
|
||||
_puc = BA.NumberToString((double)(Double.parseDouble(_c.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c.GetString("CANTC"))));
|
||||
//BA.debugLineNum = 296;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\"";
|
||||
@@ -1186,9 +1186,9 @@ if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) {
|
||||
_l_prodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject()));
|
||||
};
|
||||
//BA.debugLineNum = 546;BA.debugLine="Log(inv&\" inventario 1\")";
|
||||
__c.LogImpl("460882958",BA.NumberToString(_inv)+" inventario 1",0);
|
||||
__c.LogImpl("156098830",BA.NumberToString(_inv)+" inventario 1",0);
|
||||
//BA.debugLineNum = 547;BA.debugLine="Log(inv2&\" inventario 2\")";
|
||||
__c.LogImpl("460882959",BA.NumberToString(_inv2)+" inventario 2",0);
|
||||
__c.LogImpl("156098831",BA.NumberToString(_inv2)+" inventario 2",0);
|
||||
//BA.debugLineNum = 548;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF";
|
||||
_l_prodx.setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs")));
|
||||
//BA.debugLineNum = 550;BA.debugLine="l_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)&";
|
||||
@@ -1253,7 +1253,7 @@ return "";
|
||||
public String _p_prods_click() throws Exception{
|
||||
//BA.debugLineNum = 1116;BA.debugLine="Sub p_prods_Click";
|
||||
//BA.debugLineNum = 1117;BA.debugLine="Log(Sender.As(Panel).tag)";
|
||||
__c.LogImpl("461538305",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("156754177",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0);
|
||||
//BA.debugLineNum = 1118;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -49,11 +49,11 @@ public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -163,7 +163,7 @@ _d.setPosition((int) (0));
|
||||
//BA.debugLineNum = 43;BA.debugLine="If c.RowCount > 0 And d.RowCount > 0 Then";
|
||||
if (_c.getRowCount()>0 && _d.getRowCount()>0) {
|
||||
//BA.debugLineNum = 44;BA.debugLine="Log(\"TABULADR CON RESUKTADO\")";
|
||||
__c.LogImpl("461800454","TABULADR CON RESUKTADO",0);
|
||||
__c.LogImpl("157016326","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("461800469","TABULADR SIN RESUKTADO",0);
|
||||
__c.LogImpl("157016341","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 = \"\"";
|
||||
|
||||
@@ -29,11 +29,11 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -29,11 +29,11 @@ public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -124,7 +124,7 @@ case 9:
|
||||
this.state = 10;
|
||||
this.catchState = 0;
|
||||
//BA.debugLineNum = 28;BA.debugLine="Log(\"updateAvailable() Error - \" & LastException";
|
||||
parent.__c.LogImpl("462390282","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0);
|
||||
parent.__c.LogImpl("157606154","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0);
|
||||
if (true) break;
|
||||
if (true) break;
|
||||
;
|
||||
|
||||
@@ -34,11 +34,11 @@ public Object _parameters = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -79,7 +79,7 @@ if (_success) {
|
||||
_takepicture();
|
||||
}else {
|
||||
//BA.debugLineNum = 279;BA.debugLine="Log(\"AutoFocus error.\")";
|
||||
__c.LogImpl("464815108","AutoFocus error.",0);
|
||||
__c.LogImpl("160030980","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("462914568","success = false, "+BA.ObjectToString(__c.LastException(ba)),0);
|
||||
__c.LogImpl("158130440","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("463569926",BA.ObjectToString(__c.LastException(ba)),0);
|
||||
__c.LogImpl("158785798",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("464487431","Continuous focus mode is not available",0);
|
||||
__c.LogImpl("159703303","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("462849040",BA.NumberToString(_previewresult),0);
|
||||
__c.LogImpl("158064912",BA.NumberToString(_previewresult),0);
|
||||
};
|
||||
//BA.debugLineNum = 75;BA.debugLine="r.target = nativeCam";
|
||||
_r.Target = _nativecam;
|
||||
|
||||
@@ -63,11 +63,11 @@ public int _logcolor1 = 0;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -220,7 +220,7 @@ case 0:
|
||||
//C
|
||||
this.state = 1;
|
||||
//BA.debugLineNum = 159;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor";
|
||||
parent.__c.LogImpl("912255233","---- AppUpdating.DownloadApk",parent._logcolor1);
|
||||
parent.__c.LogImpl("91376257","---- AppUpdating.DownloadApk",parent._logcolor1);
|
||||
//BA.debugLineNum = 161;BA.debugLine="If sNewVerApk = \"\" Then";
|
||||
if (true) break;
|
||||
|
||||
@@ -249,7 +249,7 @@ this.state = 6;
|
||||
case 6:
|
||||
//C
|
||||
this.state = 9;
|
||||
parent.__c.LogImpl("912255237",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
|
||||
parent.__c.LogImpl("91376261",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
|
||||
if (true) break;
|
||||
|
||||
case 9:
|
||||
@@ -286,7 +286,7 @@ this.state = 11;
|
||||
_j = (reparto_izca.keymon.lat.httpjob) result[0];
|
||||
;
|
||||
//BA.debugLineNum = 174;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)";
|
||||
parent.__c.LogImpl("912255248",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
|
||||
parent.__c.LogImpl("91376272",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
|
||||
//BA.debugLineNum = 175;BA.debugLine="If j.Success Then";
|
||||
if (true) break;
|
||||
|
||||
@@ -311,7 +311,7 @@ parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftwar
|
||||
//BA.debugLineNum = 180;BA.debugLine="out.Close";
|
||||
_out.Close();
|
||||
//BA.debugLineNum = 181;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)";
|
||||
parent.__c.LogImpl("912255255",("Copy2 (saving) ok? TRUE"),0);
|
||||
parent.__c.LogImpl("91376279",("Copy2 (saving) ok? TRUE"),0);
|
||||
//BA.debugLineNum = 182;BA.debugLine="sStatusCode = OK_DOWNLOAD";
|
||||
parent._sstatuscode = parent._ok_download;
|
||||
//BA.debugLineNum = 183;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version dow";
|
||||
@@ -327,7 +327,7 @@ this.state = 16;
|
||||
case 16:
|
||||
//C
|
||||
this.state = 19;
|
||||
parent.__c.LogImpl("912255257",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
|
||||
parent.__c.LogImpl("91376281",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
|
||||
if (true) break;
|
||||
|
||||
case 19:
|
||||
@@ -340,7 +340,7 @@ case 21:
|
||||
//C
|
||||
this.state = 22;
|
||||
//BA.debugLineNum = 185;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)";
|
||||
parent.__c.LogImpl("912255259",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
|
||||
parent.__c.LogImpl("91376283",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
|
||||
//BA.debugLineNum = 186;BA.debugLine="sStatusCode = ERR_HTTP";
|
||||
parent._sstatuscode = parent._err_http;
|
||||
//BA.debugLineNum = 187;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils2";
|
||||
@@ -356,7 +356,7 @@ this.state = 24;
|
||||
case 24:
|
||||
//C
|
||||
this.state = 27;
|
||||
parent.__c.LogImpl("912255261",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
|
||||
parent.__c.LogImpl("91376285",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
|
||||
if (true) break;
|
||||
|
||||
case 27:
|
||||
@@ -683,14 +683,14 @@ _usefileprovider = __c.False;
|
||||
_sharedfolder = _rp.GetSafeDirDefaultExternal("shared");
|
||||
};
|
||||
//BA.debugLineNum = 69;BA.debugLine="Log($\"SDK#: ${p.SdkVersion} - UseFP: ${UseFilePro";
|
||||
__c.LogImpl("911272213",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(_sharedfolder))+""),0);
|
||||
__c.LogImpl("9393237",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(_sharedfolder))+""),0);
|
||||
//BA.debugLineNum = 70;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public String _installapk(boolean _pstatus) throws Exception{
|
||||
//BA.debugLineNum = 195;BA.debugLine="Public Sub InstallApk(pstatus As Boolean)";
|
||||
//BA.debugLineNum = 196;BA.debugLine="LogColor(\"---- AppUpdating.InstallApk\", LogColor1";
|
||||
__c.LogImpl("912320769","---- AppUpdating.InstallApk",_logcolor1);
|
||||
__c.LogImpl("91441793","---- AppUpdating.InstallApk",_logcolor1);
|
||||
//BA.debugLineNum = 197;BA.debugLine="If pstatus Then";
|
||||
if (_pstatus) {
|
||||
//BA.debugLineNum = 198;BA.debugLine="SendInstallIntent";
|
||||
@@ -699,13 +699,13 @@ _sendinstallintent();
|
||||
_sstatuscode = _ok_install;
|
||||
//BA.debugLineNum = 200;BA.debugLine="If sVerbose Then Log(TAB & \"user asked to instal";
|
||||
if (_sverbose) {
|
||||
__c.LogImpl("912320773",__c.TAB+"user asked to install new apk",0);};
|
||||
__c.LogImpl("91441797",__c.TAB+"user asked to install new apk",0);};
|
||||
}else {
|
||||
//BA.debugLineNum = 202;BA.debugLine="sStatusCode = ERR_NOPERM";
|
||||
_sstatuscode = _err_noperm;
|
||||
//BA.debugLineNum = 203;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from";
|
||||
if (_sverbose) {
|
||||
__c.LogImpl("912320776",__c.TAB+"no permissions from user to install new apk",0);};
|
||||
__c.LogImpl("91441800",__c.TAB+"no permissions from user to install new apk",0);};
|
||||
};
|
||||
//BA.debugLineNum = 205;BA.debugLine="Finito";
|
||||
_finito();
|
||||
@@ -723,7 +723,7 @@ _curver = "";
|
||||
_sstatuscode = _err_nopkg;
|
||||
//BA.debugLineNum = 301;BA.debugLine="If sVerbose Then Log($\"${TAB}missing package nam";
|
||||
if (_sverbose) {
|
||||
__c.LogImpl("912582916",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);};
|
||||
__c.LogImpl("91703940",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);};
|
||||
}else {
|
||||
//BA.debugLineNum = 303;BA.debugLine="Dim pm As PackageManager";
|
||||
_pm = new anywheresoftware.b4a.phone.PackageManagerWrapper();
|
||||
@@ -733,7 +733,7 @@ _curver = _pm.GetVersionName(_spackagename);
|
||||
_sstatuscode = _ok_curver;
|
||||
//BA.debugLineNum = 306;BA.debugLine="If sVerbose Then Log($\"${TAB}Current Version: ${";
|
||||
if (_sverbose) {
|
||||
__c.LogImpl("912582921",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(_curver))+""),0);};
|
||||
__c.LogImpl("91703945",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(_curver))+""),0);};
|
||||
};
|
||||
//BA.debugLineNum = 308;BA.debugLine="Return (sStatusCode == OK_CURVER)";
|
||||
if (true) return (_sstatuscode==_ok_curver);
|
||||
@@ -764,7 +764,7 @@ case 0:
|
||||
//C
|
||||
this.state = 1;
|
||||
//BA.debugLineNum = 313;BA.debugLine="Log(\"IsValidComplete start\")";
|
||||
parent.__c.LogImpl("912648449","IsValidComplete start",0);
|
||||
parent.__c.LogImpl("91769473","IsValidComplete start",0);
|
||||
//BA.debugLineNum = 314;BA.debugLine="If sNewVerTxt = \"\" Then";
|
||||
if (true) break;
|
||||
|
||||
@@ -797,7 +797,7 @@ this.state = 6;
|
||||
case 6:
|
||||
//C
|
||||
this.state = 9;
|
||||
parent.__c.LogImpl("912648453",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0);
|
||||
parent.__c.LogImpl("91769477",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0);
|
||||
if (true) break;
|
||||
|
||||
case 9:
|
||||
@@ -820,7 +820,7 @@ _j._password /*String*/ = parent._supassword;
|
||||
//BA.debugLineNum = 324;BA.debugLine="j.Download(sNewVerTxt) 'ex: jobapk.Downlo";
|
||||
_j._download /*String*/ (parent._snewvertxt);
|
||||
//BA.debugLineNum = 325;BA.debugLine="Log(\"before\")";
|
||||
parent.__c.LogImpl("912648461","before",0);
|
||||
parent.__c.LogImpl("91769485","before",0);
|
||||
//BA.debugLineNum = 326;BA.debugLine="Wait For (j) JobDone(j As HttpJob)";
|
||||
parent.__c.WaitFor("jobdone", ba, this, (Object)(_j));
|
||||
this.state = 61;
|
||||
@@ -831,7 +831,7 @@ this.state = 12;
|
||||
_j = (reparto_izca.keymon.lat.httpjob) result[0];
|
||||
;
|
||||
//BA.debugLineNum = 327;BA.debugLine="Log(\"after\")";
|
||||
parent.__c.LogImpl("912648463","after",0);
|
||||
parent.__c.LogImpl("91769487","after",0);
|
||||
//BA.debugLineNum = 328;BA.debugLine="If j.Success Then";
|
||||
if (true) break;
|
||||
|
||||
@@ -860,7 +860,7 @@ this.state = 17;
|
||||
case 17:
|
||||
//C
|
||||
this.state = 20;
|
||||
parent.__c.LogImpl("912648465",("Webserver's info file content: "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_j._getstring /*String*/ ()))+""),0);
|
||||
parent.__c.LogImpl("91769489",("Webserver's info file content: "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_j._getstring /*String*/ ()))+""),0);
|
||||
if (true) break;
|
||||
|
||||
case 20:
|
||||
@@ -918,7 +918,7 @@ this.state = 29;
|
||||
case 29:
|
||||
//C
|
||||
this.state = 32;
|
||||
parent.__c.LogImpl("912648472",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0);
|
||||
parent.__c.LogImpl("91769496",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0);
|
||||
if (true) break;
|
||||
|
||||
case 32:
|
||||
@@ -945,7 +945,7 @@ this.state = 37;
|
||||
case 37:
|
||||
//C
|
||||
this.state = 40;
|
||||
parent.__c.LogImpl("912648475",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(parent._webver))+""),0);
|
||||
parent.__c.LogImpl("91769499",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(parent._webver))+""),0);
|
||||
if (true) break;
|
||||
|
||||
case 40:
|
||||
@@ -978,7 +978,7 @@ this.state = 46;
|
||||
case 46:
|
||||
//C
|
||||
this.state = 49;
|
||||
parent.__c.LogImpl("912648479",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0);
|
||||
parent.__c.LogImpl("91769503",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0);
|
||||
if (true) break;
|
||||
|
||||
case 49:
|
||||
@@ -997,7 +997,7 @@ case 52:
|
||||
//C
|
||||
this.state = 53;
|
||||
//BA.debugLineNum = 346;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)";
|
||||
parent.__c.LogImpl("912648482",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
|
||||
parent.__c.LogImpl("91769506",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
|
||||
//BA.debugLineNum = 347;BA.debugLine="sStatusCode = ERR_HTTP";
|
||||
parent._sstatuscode = parent._err_http;
|
||||
//BA.debugLineNum = 348;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils";
|
||||
@@ -1013,7 +1013,7 @@ this.state = 55;
|
||||
case 55:
|
||||
//C
|
||||
this.state = 58;
|
||||
parent.__c.LogImpl("912648484",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
|
||||
parent.__c.LogImpl("91769508",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
|
||||
if (true) break;
|
||||
|
||||
case 58:
|
||||
@@ -1049,7 +1049,7 @@ if (true) break;
|
||||
public String _readcurvn() throws Exception{
|
||||
//BA.debugLineNum = 143;BA.debugLine="Public Sub ReadCurVN";
|
||||
//BA.debugLineNum = 144;BA.debugLine="LogColor(\"---- AppUpdating.ReadCurVN\", LogColor1)";
|
||||
__c.LogImpl("912124161","---- AppUpdating.ReadCurVN",_logcolor1);
|
||||
__c.LogImpl("91245185","---- AppUpdating.ReadCurVN",_logcolor1);
|
||||
//BA.debugLineNum = 145;BA.debugLine="IsValidCV 'we don't care about its resu";
|
||||
_isvalidcv();
|
||||
//BA.debugLineNum = 146;BA.debugLine="Finito";
|
||||
@@ -1080,7 +1080,7 @@ case 0:
|
||||
//C
|
||||
this.state = -1;
|
||||
//BA.debugLineNum = 152;BA.debugLine="LogColor(\"---- AppUpdating.ReadWebVN\", LogColor1)";
|
||||
parent.__c.LogImpl("912189697","---- AppUpdating.ReadWebVN",parent._logcolor1);
|
||||
parent.__c.LogImpl("91310721","---- AppUpdating.ReadWebVN",parent._logcolor1);
|
||||
//BA.debugLineNum = 153;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolean";
|
||||
parent.__c.WaitFor("complete", ba, this, parent._isvalidwv());
|
||||
this.state = 1;
|
||||
@@ -1243,7 +1243,7 @@ case 0:
|
||||
//C
|
||||
this.state = 1;
|
||||
//BA.debugLineNum = 246;BA.debugLine="LogColor($\"${TAB}-- TryApkUpdate\"$, LogColor1)";
|
||||
parent.__c.LogImpl("912451841",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),parent._logcolor1);
|
||||
parent.__c.LogImpl("91572865",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),parent._logcolor1);
|
||||
//BA.debugLineNum = 248;BA.debugLine="If ((sStatusCode >= 0) And (sStatusCode <> NO_NEW";
|
||||
if (true) break;
|
||||
|
||||
@@ -1277,7 +1277,7 @@ this.state = 4;
|
||||
_j = (reparto_izca.keymon.lat.httpjob) result[0];
|
||||
;
|
||||
//BA.debugLineNum = 256;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)";
|
||||
parent.__c.LogImpl("912451851",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
|
||||
parent.__c.LogImpl("91572875",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
|
||||
//BA.debugLineNum = 257;BA.debugLine="If j.Success Then";
|
||||
if (true) break;
|
||||
|
||||
@@ -1316,7 +1316,7 @@ parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftwar
|
||||
//BA.debugLineNum = 263;BA.debugLine="out.Close";
|
||||
_out.Close();
|
||||
//BA.debugLineNum = 264;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)";
|
||||
parent.__c.LogImpl("912451859",("Copy2 (saving) ok? TRUE"),0);
|
||||
parent.__c.LogImpl("91572883",("Copy2 (saving) ok? TRUE"),0);
|
||||
//BA.debugLineNum = 265;BA.debugLine="sStatusCode = OK_DOWNLOAD";
|
||||
parent._sstatuscode = parent._ok_download;
|
||||
//BA.debugLineNum = 266;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version d";
|
||||
@@ -1332,7 +1332,7 @@ this.state = 12;
|
||||
case 12:
|
||||
//C
|
||||
this.state = 15;
|
||||
parent.__c.LogImpl("912451861",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
|
||||
parent.__c.LogImpl("91572885",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
|
||||
if (true) break;
|
||||
|
||||
case 15:
|
||||
@@ -1346,7 +1346,7 @@ case 17:
|
||||
this.state = 18;
|
||||
this.catchState = 0;
|
||||
//BA.debugLineNum = 268;BA.debugLine="Log($\"Copy2 (saving) ok? FALSE\"$)";
|
||||
parent.__c.LogImpl("912451863",("Copy2 (saving) ok? FALSE"),0);
|
||||
parent.__c.LogImpl("91572887",("Copy2 (saving) ok? FALSE"),0);
|
||||
//BA.debugLineNum = 269;BA.debugLine="sStatusCode = ERR_DOWNLOAD";
|
||||
parent._sstatuscode = parent._err_download;
|
||||
//BA.debugLineNum = 270;BA.debugLine="If sVerbose Then Log($\"${TAB}failed download o";
|
||||
@@ -1362,7 +1362,7 @@ this.state = 20;
|
||||
case 20:
|
||||
//C
|
||||
this.state = 23;
|
||||
parent.__c.LogImpl("912451865",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0);
|
||||
parent.__c.LogImpl("91572889",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0);
|
||||
if (true) break;
|
||||
|
||||
case 23:
|
||||
@@ -1385,7 +1385,7 @@ case 26:
|
||||
//C
|
||||
this.state = 27;
|
||||
//BA.debugLineNum = 274;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)";
|
||||
parent.__c.LogImpl("912451869",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
|
||||
parent.__c.LogImpl("91572893",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
|
||||
//BA.debugLineNum = 275;BA.debugLine="sStatusCode = ERR_HTTP";
|
||||
parent._sstatuscode = parent._err_http;
|
||||
//BA.debugLineNum = 276;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils";
|
||||
@@ -1401,7 +1401,7 @@ this.state = 29;
|
||||
case 29:
|
||||
//C
|
||||
this.state = 32;
|
||||
parent.__c.LogImpl("912451871",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
|
||||
parent.__c.LogImpl("91572895",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
|
||||
if (true) break;
|
||||
|
||||
case 32:
|
||||
@@ -1448,7 +1448,7 @@ this.state = 39;
|
||||
case 39:
|
||||
//C
|
||||
this.state = 42;
|
||||
parent.__c.LogImpl("912451878",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0);
|
||||
parent.__c.LogImpl("91572902",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0);
|
||||
if (true) break;
|
||||
|
||||
case 42:
|
||||
@@ -1509,7 +1509,7 @@ case 0:
|
||||
//C
|
||||
this.state = 1;
|
||||
//BA.debugLineNum = 211;BA.debugLine="LogColor(\"---- AppUpdating.UpdateApk\", LogColor1)";
|
||||
parent.__c.LogImpl("912386305","---- AppUpdating.UpdateApk",parent._logcolor1);
|
||||
parent.__c.LogImpl("91507329","---- AppUpdating.UpdateApk",parent._logcolor1);
|
||||
//BA.debugLineNum = 212;BA.debugLine="If Not(pstatus) Then";
|
||||
if (true) break;
|
||||
|
||||
@@ -1540,7 +1540,7 @@ this.state = 6;
|
||||
case 6:
|
||||
//C
|
||||
this.state = 9;
|
||||
parent.__c.LogImpl("912386308",parent.__c.TAB+"no permissions from user to install new apk",0);
|
||||
parent.__c.LogImpl("91507332",parent.__c.TAB+"no permissions from user to install new apk",0);
|
||||
if (true) break;
|
||||
|
||||
case 9:
|
||||
@@ -1632,7 +1632,7 @@ this.state = 26;
|
||||
case 26:
|
||||
//C
|
||||
this.state = 29;
|
||||
parent.__c.LogImpl("912386318",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0);
|
||||
parent.__c.LogImpl("91507342",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0);
|
||||
if (true) break;
|
||||
|
||||
case 29:
|
||||
@@ -1674,7 +1674,7 @@ this.state = 36;
|
||||
case 36:
|
||||
//C
|
||||
this.state = 39;
|
||||
parent.__c.LogImpl("912386323",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0);
|
||||
parent.__c.LogImpl("91507347",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0);
|
||||
if (true) break;
|
||||
|
||||
case 39:
|
||||
@@ -1709,7 +1709,7 @@ this.state = 45;
|
||||
case 45:
|
||||
//C
|
||||
this.state = 48;
|
||||
parent.__c.LogImpl("912386326",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
|
||||
parent.__c.LogImpl("91507350",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
|
||||
if (true) break;
|
||||
|
||||
case 48:
|
||||
@@ -1748,7 +1748,7 @@ this.state = 55;
|
||||
case 55:
|
||||
//C
|
||||
this.state = 58;
|
||||
parent.__c.LogImpl("912386331",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0);
|
||||
parent.__c.LogImpl("91507355",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0);
|
||||
if (true) break;
|
||||
|
||||
case 58:
|
||||
|
||||
@@ -42,11 +42,11 @@ public String _jobtaganterior = "";
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -267,7 +267,7 @@ _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Initialize();
|
||||
_table.Tag /*Object*/ = _job._tag /*Object*/ ;
|
||||
//BA.debugLineNum = 194;BA.debugLine="If jobTagAnterior <> Job.Tag Then LogColor(\"Handl";
|
||||
if ((_jobtaganterior).equals(BA.ObjectToString(_job._tag /*Object*/ )) == false) {
|
||||
__c.LogImpl("465732620","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.Blue);};
|
||||
__c.LogImpl("160948492","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("465994753","Tag: "+BA.ObjectToString(_table.Tag /*Object*/ )+", Columns: "+BA.NumberToString(_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .getSize())+", Rows: "+BA.NumberToString(_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0);
|
||||
__c.LogImpl("161210625","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("465994759",_sb.ToString(),0);
|
||||
__c.LogImpl("161210631",_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*/ ;
|
||||
|
||||
@@ -61,11 +61,11 @@ public String _defaults = "";
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -106,7 +106,7 @@ if (__c.SubExists(ba,_callback,_eventname+"_NewData")) {
|
||||
__c.CallSubNew2(ba,_callback,_eventname+"_NewData",(Object)(_buffer));
|
||||
};
|
||||
//BA.debugLineNum = 2282;BA.debugLine="Log(\"Data \" & Buffer(0))";
|
||||
__c.LogImpl("469533700","Data "+BA.NumberToString(_buffer[(int) (0)]),0);
|
||||
__c.LogImpl("164749572","Data "+BA.NumberToString(_buffer[(int) (0)]),0);
|
||||
//BA.debugLineNum = 2283;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
@@ -248,7 +248,7 @@ if (true) return __c.True;
|
||||
}
|
||||
catch (Exception e23) {
|
||||
ba.setLastException(e23); //BA.debugLineNum = 1282;BA.debugLine="Log(LastException)";
|
||||
__c.LogImpl("466387996",BA.ObjectToString(__c.LastException(getActivityBA())),0);
|
||||
__c.LogImpl("161603868",BA.ObjectToString(__c.LastException(getActivityBA())),0);
|
||||
};
|
||||
//BA.debugLineNum = 1284;BA.debugLine="End Sub";
|
||||
return false;
|
||||
@@ -415,22 +415,22 @@ _logmsg = ": Fill="+BA.NumberToString(_fill)+" : Points "+BA.NumberToString(_x0)
|
||||
//BA.debugLineNum = 1589;BA.debugLine="If shape = 3 Then";
|
||||
if (_shape==3) {
|
||||
//BA.debugLineNum = 1590;BA.debugLine="Log(\"Triangle \" & logmsg)";
|
||||
__c.LogImpl("467698730","Triangle "+_logmsg,0);
|
||||
__c.LogImpl("162914602","Triangle "+_logmsg,0);
|
||||
//BA.debugLineNum = 1591;BA.debugLine="PlotTriangle(x0, y0, x1, y1, x2, y2, points, fi";
|
||||
_plottriangle(_x0,_y0,_x1,_y1,_x2,_y2,_points,_fill);
|
||||
}else if(_shape==2) {
|
||||
//BA.debugLineNum = 1593;BA.debugLine="Log(\"Circle \" & logmsg)";
|
||||
__c.LogImpl("467698733","Circle "+_logmsg,0);
|
||||
__c.LogImpl("162914605","Circle "+_logmsg,0);
|
||||
//BA.debugLineNum = 1594;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)";
|
||||
_plotcircle(_x0,_y0,_x1,_y1,_points,_fill);
|
||||
}else if(_shape==1) {
|
||||
//BA.debugLineNum = 1596;BA.debugLine="Log(\"Box \" & logmsg)";
|
||||
__c.LogImpl("467698736","Box "+_logmsg,0);
|
||||
__c.LogImpl("162914608","Box "+_logmsg,0);
|
||||
//BA.debugLineNum = 1597;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)";
|
||||
_plotbox(_x0,_y0,_x1,_y1,_points,_fill);
|
||||
}else {
|
||||
//BA.debugLineNum = 1599;BA.debugLine="Log(\"Line \" & logmsg)";
|
||||
__c.LogImpl("467698739","Line "+_logmsg,0);
|
||||
__c.LogImpl("162914611","Line "+_logmsg,0);
|
||||
//BA.debugLineNum = 1600;BA.debugLine="PlotLine(x0, y0, x1, y1, points)";
|
||||
_plotline(_x0,_y0,_x1,_y1,_points);
|
||||
};
|
||||
@@ -1933,7 +1933,7 @@ _databytes = _data.getBytes("ASCII");
|
||||
//BA.debugLineNum = 2222;BA.debugLine="Dim dlow As Int = databytes.Length";
|
||||
_dlow = _databytes.length;
|
||||
//BA.debugLineNum = 2223;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \",";
|
||||
__c.LogImpl("469337091","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0);
|
||||
__c.LogImpl("164552963","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0);
|
||||
//BA.debugLineNum = 2224;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt";
|
||||
_writestring(_gs+"k"+BA.ObjectToString(_bartype.toUpperCase().charAt((int) (0))));
|
||||
//BA.debugLineNum = 2225;BA.debugLine="Dim params(1) As Byte";
|
||||
@@ -1971,7 +1971,7 @@ _dhigh = (int) (_databytes.length/(double)256);
|
||||
//BA.debugLineNum = 2239;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256";
|
||||
_dlow = (int) (_databytes.length-_dhigh*256);
|
||||
//BA.debugLineNum = 2240;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \",";
|
||||
__c.LogImpl("469402628","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0);
|
||||
__c.LogImpl("164618500","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0);
|
||||
//BA.debugLineNum = 2241;BA.debugLine="Dim params(3) As Byte";
|
||||
_params = new byte[(int) (3)];
|
||||
;
|
||||
@@ -2008,7 +2008,7 @@ _astream.Write(_data.getBytes(_encoding));
|
||||
}
|
||||
catch (Exception e6) {
|
||||
ba.setLastException(e6); //BA.debugLineNum = 1449;BA.debugLine="Log(\"Printer error : \" & LastException.Message)";
|
||||
__c.LogImpl("467436550","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0);
|
||||
__c.LogImpl("162652422","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0);
|
||||
//BA.debugLineNum = 1450;BA.debugLine="AStream_Error";
|
||||
_astream_error();
|
||||
};
|
||||
|
||||
@@ -30,11 +30,11 @@ public anywheresoftware.b4a.objects.RuntimePermissions _rp = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -104,7 +104,7 @@ _usefileprovider = __c.False;
|
||||
_sharedfolder = _rp.GetSafeDirDefaultExternal("shared");
|
||||
};
|
||||
//BA.debugLineNum = 18;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)";
|
||||
__c.LogImpl("922675466",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+""),0);
|
||||
__c.LogImpl("911796490",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+""),0);
|
||||
//BA.debugLineNum = 19;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -349,10 +349,10 @@ public static String _motivo = "";
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -444,7 +444,7 @@ String _flash = "";
|
||||
//BA.debugLineNum = 151;BA.debugLine="Dim f() As Float = camEx.GetFocusDistances";
|
||||
_f = mostCurrent._camex._getfocusdistances /*float[]*/ ();
|
||||
//BA.debugLineNum = 152;BA.debugLine="Log(f(0) & \", \" & f(1) & \", \" & f(2))";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("470582274",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("165798146",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("470189061",BA.ObjectToString(mostCurrent._camex._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ ()),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("165404933",BA.ObjectToString(mostCurrent._camex._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ ()),0);
|
||||
}else {
|
||||
//BA.debugLineNum = 64;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)";
|
||||
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),anywheresoftware.b4a.keywords.Common.True);
|
||||
|
||||
@@ -40,11 +40,11 @@ public String _defaultscheme = "";
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -129,7 +129,7 @@ _req.InitializeDelete(_link);
|
||||
}
|
||||
catch (Exception e5) {
|
||||
ba.setLastException(e5); //BA.debugLineNum = 266;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
|
||||
__c.LogImpl("924576005",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("913697029",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
//BA.debugLineNum = 267;BA.debugLine="req.InitializeDelete(InvalidURL)";
|
||||
_req.InitializeDelete(_invalidurl);
|
||||
};
|
||||
@@ -148,7 +148,7 @@ _req.InitializeDelete(_escapelink(_link,_parameters));
|
||||
}
|
||||
catch (Exception e5) {
|
||||
ba.setLastException(e5); //BA.debugLineNum = 277;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
|
||||
__c.LogImpl("924641541",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("913762565",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
//BA.debugLineNum = 278;BA.debugLine="req.InitializeDelete(escapeLink(InvalidURL, Para";
|
||||
_req.InitializeDelete(_escapelink(_invalidurl,_parameters));
|
||||
};
|
||||
@@ -167,7 +167,7 @@ _req.InitializeGet(_link);
|
||||
}
|
||||
catch (Exception e5) {
|
||||
ba.setLastException(e5); //BA.debugLineNum = 224;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
|
||||
__c.LogImpl("924379397",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("913500421",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
//BA.debugLineNum = 225;BA.debugLine="req.InitializeGet(InvalidURL)";
|
||||
_req.InitializeGet(_invalidurl);
|
||||
};
|
||||
@@ -186,7 +186,7 @@ _req.InitializeGet(_escapelink(_link,_parameters));
|
||||
}
|
||||
catch (Exception e5) {
|
||||
ba.setLastException(e5); //BA.debugLineNum = 240;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
|
||||
__c.LogImpl("924444933",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("913565957",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
//BA.debugLineNum = 241;BA.debugLine="req.InitializeGet(escapeLink(InvalidURL, Paramet";
|
||||
_req.InitializeGet(_escapelink(_invalidurl,_parameters));
|
||||
};
|
||||
@@ -310,7 +310,7 @@ _req.InitializeHead(_link);
|
||||
}
|
||||
catch (Exception e5) {
|
||||
ba.setLastException(e5); //BA.debugLineNum = 124;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
|
||||
__c.LogImpl("924117253",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("913238277",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
//BA.debugLineNum = 125;BA.debugLine="req.InitializeHead(InvalidURL)";
|
||||
_req.InitializeHead(_invalidurl);
|
||||
};
|
||||
@@ -364,7 +364,7 @@ _req.InitializePatch2(_link,_data);
|
||||
}
|
||||
catch (Exception e5) {
|
||||
ba.setLastException(e5); //BA.debugLineNum = 109;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
|
||||
__c.LogImpl("924051724",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("913172748",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
//BA.debugLineNum = 110;BA.debugLine="req.InitializePatch2(InvalidURL, Data)";
|
||||
_req.InitializePatch2(_invalidurl,_data);
|
||||
};
|
||||
@@ -390,7 +390,7 @@ _req.InitializePost2(_link,_data);
|
||||
}
|
||||
catch (Exception e5) {
|
||||
ba.setLastException(e5); //BA.debugLineNum = 68;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
|
||||
__c.LogImpl("923789573",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("912910597",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
//BA.debugLineNum = 69;BA.debugLine="req.InitializePost2(InvalidURL, Data)";
|
||||
_req.InitializePost2(_invalidurl,_data);
|
||||
};
|
||||
@@ -410,7 +410,7 @@ _length = 0;
|
||||
//BA.debugLineNum = 197;BA.debugLine="If Dir = File.DirAssets Then";
|
||||
if ((_dir).equals(__c.File.getDirAssets())) {
|
||||
//BA.debugLineNum = 198;BA.debugLine="Log(\"Cannot send files from the assets folder.\")";
|
||||
__c.LogImpl("924313864","Cannot send files from the assets folder.",0);
|
||||
__c.LogImpl("913434888","Cannot send files from the assets folder.",0);
|
||||
//BA.debugLineNum = 199;BA.debugLine="Return";
|
||||
if (true) return "";
|
||||
};
|
||||
@@ -547,7 +547,7 @@ _req.InitializePut2(_link,_data);
|
||||
}
|
||||
catch (Exception e5) {
|
||||
ba.setLastException(e5); //BA.debugLineNum = 85;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
|
||||
__c.LogImpl("923920645",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("913041669",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
//BA.debugLineNum = 86;BA.debugLine="req.InitializePut2(InvalidURL, Data)";
|
||||
_req.InitializePut2(_invalidurl,_data);
|
||||
};
|
||||
|
||||
@@ -51,11 +51,11 @@ public static int _taskcounter = 0;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -69,7 +69,7 @@ _job = (reparto_izca.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid)));
|
||||
//BA.debugLineNum = 157;BA.debugLine="If job = Null Then";
|
||||
if (_job== null) {
|
||||
//BA.debugLineNum = 158;BA.debugLine="Log(\"HttpUtils2Service: job completed multiple t";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("423461894","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("112582918","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0);
|
||||
//BA.debugLineNum = 159;BA.debugLine="Return";
|
||||
if (true) return "";
|
||||
};
|
||||
@@ -88,7 +88,7 @@ public static String _hc_responseerror(anywheresoftware.b4h.okhttp.OkHttpClient
|
||||
reparto_izca.keymon.lat.httpjob _job = null;
|
||||
//BA.debugLineNum = 115;BA.debugLine="Sub hc_ResponseError (Response As OkHttpResponse,";
|
||||
//BA.debugLineNum = 117;BA.debugLine="Log($\"ResponseError. Reason: ${Reason}, Response:";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("423396354",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("112517378",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0);
|
||||
//BA.debugLineNum = 119;BA.debugLine="Response.Release";
|
||||
_response.Release();
|
||||
//BA.debugLineNum = 120;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)";
|
||||
@@ -96,7 +96,7 @@ _job = (reparto_izca.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid)));
|
||||
//BA.debugLineNum = 121;BA.debugLine="If job = Null Then";
|
||||
if (_job== null) {
|
||||
//BA.debugLineNum = 122;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseError): job c";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("423396359","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("112517383","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0);
|
||||
//BA.debugLineNum = 123;BA.debugLine="Return";
|
||||
if (true) return "";
|
||||
};
|
||||
@@ -122,7 +122,7 @@ _job = (reparto_izca.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid)));
|
||||
//BA.debugLineNum = 94;BA.debugLine="If job = Null Then";
|
||||
if (_job== null) {
|
||||
//BA.debugLineNum = 95;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseSuccess): job";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("423265283","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("112386307","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("422937607",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("112058631",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0);
|
||||
//BA.debugLineNum = 35;BA.debugLine="Log(\"Switching to File.DirInternal\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("422937608","Switching to File.DirInternal",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("112058632","Switching to File.DirInternal",0);
|
||||
//BA.debugLineNum = 36;BA.debugLine="TempFolder = File.DirInternal";
|
||||
_tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternal();
|
||||
};
|
||||
|
||||
@@ -32,11 +32,11 @@ public Object _tag = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -339,11 +339,11 @@ public anywheresoftware.b4a.keywords.Common __c = null;
|
||||
public static boolean _actionbarhomeclicked = false;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -428,11 +428,11 @@ public static void initializeProcessGlobals() {
|
||||
b4a.example.dateutils._process_globals();
|
||||
main._process_globals();
|
||||
appupdater._process_globals();
|
||||
subs._process_globals();
|
||||
foto._process_globals();
|
||||
mapa_cliente._process_globals();
|
||||
mapa_rutas._process_globals();
|
||||
starter._process_globals();
|
||||
subs._process_globals();
|
||||
tracker._process_globals();
|
||||
newinst2._process_globals();
|
||||
b4xpages._process_globals();
|
||||
|
||||
@@ -30,11 +30,11 @@ public String _meventname = "";
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -121,7 +121,7 @@ return null;
|
||||
public String _raiseevent() throws Exception{
|
||||
//BA.debugLineNum = 53;BA.debugLine="Private Sub RaiseEvent";
|
||||
//BA.debugLineNum = 54;BA.debugLine="Log(\"Calling : \" & mEventName & \"_StorageAvailab";
|
||||
__c.LogImpl("471041025","Calling : "+_meventname+"_StorageAvailable",0);
|
||||
__c.LogImpl("166519041","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";
|
||||
|
||||
@@ -361,10 +361,10 @@ public anywheresoftware.b4a.objects.ButtonWrapper _b_regresar = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -430,7 +430,7 @@ return "";
|
||||
public static String _b_regresar_click() throws Exception{
|
||||
//BA.debugLineNum = 105;BA.debugLine="Private Sub b_regresar_Click";
|
||||
//BA.debugLineNum = 106;BA.debugLine="Log(\"Pressed\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("471827457","Pressed",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("167305473","Pressed",0);
|
||||
//BA.debugLineNum = 107;BA.debugLine="Activity.Finish";
|
||||
mostCurrent._activity.Finish();
|
||||
//BA.debugLineNum = 108;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
|
||||
|
||||
@@ -383,10 +383,10 @@ public static String _semana = "";
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -134,11 +134,11 @@ public static int _logcolor1 = 0;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null;
|
||||
@@ -158,7 +158,7 @@ public static String _myappreload() throws Exception{
|
||||
//BA.debugLineNum = 43;BA.debugLine="Sub MyAppReload";
|
||||
//BA.debugLineNum = 44;BA.debugLine="If svcVerbose Then Log(\"-- AppUpdating.NewInst2:";
|
||||
if (_svcverbose) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("413893633","-- AppUpdating.NewInst2: processing MyAppReload",0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("13014657","-- AppUpdating.NewInst2: processing MyAppReload",0);};
|
||||
//BA.debugLineNum = 45;BA.debugLine="If IsPaused(\"main\") Then";
|
||||
if (anywheresoftware.b4a.keywords.Common.IsPaused(processBA,(Object)("main"))) {
|
||||
//BA.debugLineNum = 46;BA.debugLine="StartActivity(\"main\")";
|
||||
@@ -181,7 +181,7 @@ return "";
|
||||
public static String _service_create() throws Exception{
|
||||
//BA.debugLineNum = 13;BA.debugLine="Sub Service_Create";
|
||||
//BA.debugLineNum = 14;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service crea";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("413631489","---- AppUpdating.newinst2: service created",_logcolor1);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("12752513","---- AppUpdating.newinst2: service created",_logcolor1);
|
||||
//BA.debugLineNum = 15;BA.debugLine="pkg = \"\"";
|
||||
_pkg = "";
|
||||
//BA.debugLineNum = 16;BA.debugLine="svcVerbose = False";
|
||||
@@ -197,28 +197,28 @@ return "";
|
||||
public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{
|
||||
//BA.debugLineNum = 19;BA.debugLine="Sub Service_Start (StartingIntent As Intent)";
|
||||
//BA.debugLineNum = 20;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service_star";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("413697025","---- AppUpdating.newinst2: service_started",_logcolor1);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("12818049","---- 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("413697027",(""+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("12818051",(""+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("413697028",(""+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("12818052",(""+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("413697029",(""+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("12818053",(""+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("413697030",(""+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("12818054",(""+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("413697033",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("12818057",(""+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("413697035",(""+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("12818059",(""+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();
|
||||
};
|
||||
|
||||
@@ -48,11 +48,11 @@ public boolean _mrollover = false;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -39,11 +39,11 @@ public int _mtextcolor = 0;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -151,10 +151,10 @@ public static anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
@@ -174,7 +174,7 @@ reparto_izca.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
|
||||
//BA.debugLineNum = 96;BA.debugLine="If IsConnectedToInternet Then";
|
||||
if (_isconnectedtointernet()) {
|
||||
//BA.debugLineNum = 97;BA.debugLine="Log(\"Con internet, enviamos UTR!\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473203714","Con internet, enviamos UTR!",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("168681730","Con internet, enviamos UTR!",0);
|
||||
//BA.debugLineNum = 98;BA.debugLine="Dim skmt As SQL";
|
||||
_skmt = new anywheresoftware.b4a.sql.SQL();
|
||||
//BA.debugLineNum = 99;BA.debugLine="Dim cmd As DBCommand";
|
||||
@@ -189,7 +189,7 @@ _skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True);
|
||||
_skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True);
|
||||
//BA.debugLineNum = 113;BA.debugLine="If B4XPages.MainPage.logger Then LogColor(\"Inici";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473203730","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Red);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("168681746","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Red);};
|
||||
//BA.debugLineNum = 114;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
|
||||
anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss");
|
||||
//BA.debugLineNum = 115;BA.debugLine="B4XPages.MainPage.ultimaActualizacionGPS = DateT";
|
||||
@@ -201,7 +201,7 @@ _cmd.Name /*String*/ = "select_fechat";
|
||||
//BA.debugLineNum = 118;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fechat\")";
|
||||
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("fechat"));
|
||||
//BA.debugLineNum = 120;BA.debugLine="Log(B4XPages.MainPage.montoActual&\" , \" &B4XPa";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473203737",mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._visitadostotales /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._monto_entregadoactual /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ +" , "+BA.NumberToString(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ )+" , "+anywheresoftware.b4a.keywords.Common.Application.getVersionName()+" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("168681753",mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._visitadostotales /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._monto_entregadoactual /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ +" , "+BA.NumberToString(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ )+" , "+anywheresoftware.b4a.keywords.Common.Application.getVersionName()+" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ,0);
|
||||
//BA.debugLineNum = 121;BA.debugLine="Dim cmd As DBCommand";
|
||||
_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand();
|
||||
//BA.debugLineNum = 122;BA.debugLine="cmd.Initialize";
|
||||
@@ -212,7 +212,7 @@ _cmd.Name /*String*/ = "UPDATE_IZCA_ACTUALR2_GPS";
|
||||
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._visitadostotales /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._monto_entregadoactual /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ),(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ )};
|
||||
//BA.debugLineNum = 126;BA.debugLine="If B4XPages.MainPage.logger Then Log($\"montoActu";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473203743",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+", montoRechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+", montoEntregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+", porVisitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+", entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+", rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+", Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("168681759",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+", montoRechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+", montoEntregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+", porVisitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+", entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+", rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+", Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);};
|
||||
//BA.debugLineNum = 128;BA.debugLine="reqManager.ExecuteCommand(cmd, \"inst_visitas\")";
|
||||
_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_visitas"));
|
||||
//BA.debugLineNum = 129;BA.debugLine="skmt.ExecNonQuery2(\"Update cat_variables set CAT";
|
||||
@@ -225,7 +225,7 @@ _timer1.setInterval((long) (_interval*1000));
|
||||
_timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True);
|
||||
}else {
|
||||
//BA.debugLineNum = 136;BA.debugLine="Log(\"Sin conexión a internet, no se envió UTR!\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473203753","Sin conexión a internet, no se envió UTR!",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("168681769","Sin conexión a internet, no se envió UTR!",0);
|
||||
};
|
||||
//BA.debugLineNum = 138;BA.debugLine="End Sub";
|
||||
return "";
|
||||
@@ -318,7 +318,7 @@ _ruta = anywheresoftware.b4a.keywords.Common.File.getDirInternal();
|
||||
if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.Exists(_ruta,"kmt.db"))) {
|
||||
anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",_ruta,"kmt.db");};
|
||||
//BA.debugLineNum = 44;BA.debugLine="Log(ruta)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("472810502",_ruta,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("168288518",_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)";
|
||||
|
||||
@@ -47,7 +47,7 @@ if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) {
|
||||
//BA.debugLineNum = 971;BA.debugLine="Starter.skmt.ExecNonQuery($\"ALTER TABLE ${tabla";
|
||||
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+""));
|
||||
//BA.debugLineNum = 972;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("457081862",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("172941574",("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("457081862",("Columna \""+anywheres
|
||||
try { //BA.debugLineNum = 976;BA.debugLine="Starter.skmt.ExecNonQuery($\"ALTER TABLE ${tabla";
|
||||
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+""));
|
||||
//BA.debugLineNum = 977;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("457081867",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("172941579",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
|
||||
}
|
||||
catch (Exception e13) {
|
||||
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e13); //BA.debugLineNum = 979;BA.debugLine="Log(LastException)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("457081869",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("172941581",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 982;BA.debugLine="End Sub";
|
||||
@@ -71,7 +71,7 @@ public static String _borraarribade100errores(anywheresoftware.b4a.BA _ba) thro
|
||||
if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) {
|
||||
_revisabd(_ba);};
|
||||
//BA.debugLineNum = 443;BA.debugLine="LogColor(\"Recortamos la tabla de Errores, limite";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("454919170","Recortamos la tabla de Errores, limite de 100",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("170778882","Recortamos la tabla de Errores, limite de 100",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
|
||||
//BA.debugLineNum = 444;BA.debugLine="errorLog.ExecNonQuery(\"DELETE FROM errores WHERE";
|
||||
_errorlog.ExecNonQuery("DELETE FROM errores WHERE fecha NOT in (SELECT fecha FROM errores ORDER BY fecha desc LIMIT 99 )");
|
||||
//BA.debugLineNum = 445;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")";
|
||||
@@ -85,7 +85,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
|
||||
//BA.debugLineNum = 451;BA.debugLine="revisaBD";
|
||||
_revisabd(_ba);
|
||||
//BA.debugLineNum = 452;BA.debugLine="LogColor(\"Recortamos la tabla de la Bitacora, lim";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("454984706","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("170844418","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
|
||||
//BA.debugLineNum = 453;BA.debugLine="Private c As Cursor";
|
||||
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
//BA.debugLineNum = 454;BA.debugLine="c = kmt.ExecQuery(\"select fecha from bitacora\")";
|
||||
@@ -107,7 +107,7 @@ return "";
|
||||
public static String _borralogdb(anywheresoftware.b4a.BA _ba) throws Exception{
|
||||
//BA.debugLineNum = 329;BA.debugLine="Sub borraLogDB 'ignore";
|
||||
//BA.debugLineNum = 330;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("454591489","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("170451201","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
|
||||
//BA.debugLineNum = 331;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")";
|
||||
_kmt.ExecNonQuery("delete from bitacora");
|
||||
//BA.debugLineNum = 332;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")";
|
||||
@@ -171,7 +171,7 @@ _compressed = _gzip.compress(_str);
|
||||
//BA.debugLineNum = 44;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed";
|
||||
_base64 = _su.EncodeBase64(_compressed);
|
||||
//BA.debugLineNum = 45;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("453149702",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("169009414",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0);
|
||||
//BA.debugLineNum = 47;BA.debugLine="Return base64";
|
||||
if (true) return _base64;
|
||||
//BA.debugLineNum = 48;BA.debugLine="End Sub";
|
||||
@@ -216,11 +216,11 @@ anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("B
|
||||
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))),anywheresoftware.b4a.keywords.Common.True);
|
||||
};
|
||||
//BA.debugLineNum = 561;BA.debugLine="Log(\"rootExternal=\"&p)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("455312407","rootExternal="+_p,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("171172119","rootExternal="+_p,0);
|
||||
//BA.debugLineNum = 562;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("455312408","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("171172120","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
|
||||
//BA.debugLineNum = 563;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("455312409","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("171172121","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
|
||||
}else {
|
||||
//BA.debugLineNum = 565;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)";
|
||||
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),anywheresoftware.b4a.keywords.Common.False);
|
||||
@@ -264,7 +264,7 @@ anywheresoftware.b4a.objects.collections.Map _m = null;
|
||||
anywheresoftware.b4a.objects.collections.Map _m2 = null;
|
||||
//BA.debugLineNum = 475;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,";
|
||||
//BA.debugLineNum = 476;BA.debugLine="Log(\"dameErroresJSON\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("455115777","dameErroresJSON",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("170975489","dameErroresJSON",0);
|
||||
//BA.debugLineNum = 477;BA.debugLine="Private j As JSONGenerator";
|
||||
_j = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator();
|
||||
//BA.debugLineNum = 478;BA.debugLine="Private lim As String";
|
||||
@@ -308,7 +308,7 @@ _cur.Close();
|
||||
//BA.debugLineNum = 495;BA.debugLine="j.Initialize(m2)";
|
||||
_j.Initialize(_m2);
|
||||
//BA.debugLineNum = 496;BA.debugLine="Log(j.ToString)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("455115797",_j.ToString(),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("170975509",_j.ToString(),0);
|
||||
//BA.debugLineNum = 497;BA.debugLine="If comprimido Then";
|
||||
if (_comprimido) {
|
||||
//BA.debugLineNum = 498;BA.debugLine="Return compress(j.ToString)";
|
||||
@@ -340,7 +340,7 @@ _fechainicio = _fechainiciohoy(_ba);
|
||||
};
|
||||
//BA.debugLineNum = 153;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"fechaInicio";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("453673995","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("169533707","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);};
|
||||
//BA.debugLineNum = 154;BA.debugLine="Dim c As Cursor";
|
||||
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
//BA.debugLineNum = 155;BA.debugLine="If kmt.IsInitialized = False Then kmt.Initialize(";
|
||||
@@ -348,7 +348,7 @@ if (_kmt.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) {
|
||||
_kmt.Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);};
|
||||
//BA.debugLineNum = 156;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"select FECH";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("453673998","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("169533710","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);};
|
||||
//BA.debugLineNum = 157;BA.debugLine="c = kmt.ExecQuery(\"select FECHA, LAT, LON from \"&";
|
||||
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints))));
|
||||
//BA.debugLineNum = 158;BA.debugLine="c.Position = 0";
|
||||
@@ -416,7 +416,7 @@ _bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter();
|
||||
//BA.debugLineNum = 55;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d";
|
||||
_uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8");
|
||||
//BA.debugLineNum = 56;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("453215237",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("169074949",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0);
|
||||
//BA.debugLineNum = 58;BA.debugLine="Return uncompressed";
|
||||
if (true) return _uncompressed;
|
||||
//BA.debugLineNum = 59;BA.debugLine="End Sub";
|
||||
@@ -458,7 +458,7 @@ _h = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.key
|
||||
//BA.debugLineNum = 292;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig";
|
||||
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat);
|
||||
//BA.debugLineNum = 293;BA.debugLine="Log(\"Hoy=\"&h)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("454329349","Hoy="+_h,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("170189061","Hoy="+_h,0);
|
||||
//BA.debugLineNum = 294;BA.debugLine="Return h";
|
||||
if (true) return _h;
|
||||
//BA.debugLineNum = 295;BA.debugLine="End Sub";
|
||||
@@ -508,16 +508,16 @@ anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat);
|
||||
if (true) return _ticks;
|
||||
}else {
|
||||
//BA.debugLineNum = 518;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("455181325","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("171041037","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0);
|
||||
//BA.debugLineNum = 519;BA.debugLine="Return 0";
|
||||
if (true) return (long) (0);
|
||||
};
|
||||
}
|
||||
catch (Exception e16) {
|
||||
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16); //BA.debugLineNum = 522;BA.debugLine="Log(LastException)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("455181329",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("171041041",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
//BA.debugLineNum = 523;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("455181330",("Fecha dada: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partehora))+""),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("171041042",("Fecha dada: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partehora))+""),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
//BA.debugLineNum = 524;BA.debugLine="Return 0";
|
||||
if (true) return (long) (0);
|
||||
};
|
||||
@@ -594,7 +594,7 @@ String[] _latlon = null;
|
||||
//BA.debugLineNum = 128;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore";
|
||||
//BA.debugLineNum = 129;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Guardamos u";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("453608449","Guardamos ubicacion en BD - "+_coords,0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("169468161","Guardamos ubicacion en BD - "+_coords,0);};
|
||||
//BA.debugLineNum = 130;BA.debugLine="Try";
|
||||
try { //BA.debugLineNum = 131;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord";
|
||||
_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",_coords);
|
||||
@@ -609,7 +609,7 @@ _kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywhe
|
||||
}
|
||||
catch (Exception e8) {
|
||||
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8); //BA.debugLineNum = 137;BA.debugLine="Log(LastException)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("453608457",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("169468169",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
};
|
||||
//BA.debugLineNum = 139;BA.debugLine="End Sub";
|
||||
return "";
|
||||
@@ -648,7 +648,7 @@ int _x = 0;
|
||||
if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) {
|
||||
_revisabd(_ba);};
|
||||
//BA.debugLineNum = 467;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("455050242","insertamos 50 renglones a errorLog",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("170909954","insertamos 50 renglones a errorLog",0);
|
||||
//BA.debugLineNum = 468;BA.debugLine="For x = 1 To 50";
|
||||
{
|
||||
final int step3 = 1;
|
||||
@@ -658,7 +658,7 @@ for (;_x <= limit3 ;_x = _x + step3 ) {
|
||||
//BA.debugLineNum = 469;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fech";
|
||||
_errorlog.ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)("abc")}));
|
||||
//BA.debugLineNum = 470;BA.debugLine="Log(x)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("455050245",BA.NumberToString(_x),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("170909957",BA.NumberToString(_x),0);
|
||||
}
|
||||
};
|
||||
//BA.debugLineNum = 472;BA.debugLine="End Sub";
|
||||
@@ -695,7 +695,7 @@ if (true) return _json.NextObject();
|
||||
}
|
||||
catch (Exception e6) {
|
||||
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 239;BA.debugLine="Log(LastException)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("454067207",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("169926919",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
//BA.debugLineNum = 240;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)";
|
||||
_log2db(_ba,"JSON2Map: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)));
|
||||
//BA.debugLineNum = 241;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene";
|
||||
@@ -710,7 +710,7 @@ return null;
|
||||
public static String _log2db(anywheresoftware.b4a.BA _ba,String _texto) throws Exception{
|
||||
//BA.debugLineNum = 298;BA.debugLine="Sub log2DB(texto As String) 'ignore";
|
||||
//BA.debugLineNum = 299;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("454394881",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("170254593",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
|
||||
//BA.debugLineNum = 300;BA.debugLine="If kmt.IsInitialized Then kmt.ExecNonQuery2(\"INSE";
|
||||
if (_kmt.IsInitialized()) {
|
||||
_kmt.ExecNonQuery2("INSERT INTO bitacora(fecha, texto) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)(_texto)}));};
|
||||
@@ -764,7 +764,7 @@ if (true) return anywheresoftware.b4a.keywords.Common.False;
|
||||
}
|
||||
catch (Exception e8) {
|
||||
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8); //BA.debugLineNum = 324;BA.debugLine="Log(LastException)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("454525963",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("170385675",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
};
|
||||
//BA.debugLineNum = 326;BA.debugLine="End Sub";
|
||||
return false;
|
||||
@@ -790,7 +790,7 @@ _notif.setSound(anywheresoftware.b4a.keywords.Common.False);
|
||||
//BA.debugLineNum = 90;BA.debugLine="notif.AutoCancel = True";
|
||||
_notif.setAutoCancel(anywheresoftware.b4a.keywords.Common.True);
|
||||
//BA.debugLineNum = 91;BA.debugLine="Log(\"notiHigh: \"&title)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("453411847","notiHigh: "+_title,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("169271559","notiHigh: "+_title,0);
|
||||
//BA.debugLineNum = 92;BA.debugLine="notif.SetInfo(title, body, activity)";
|
||||
_notif.SetInfoNew((_ba.processBA == null ? _ba : _ba.processBA),BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_body),_activity);
|
||||
//BA.debugLineNum = 94;BA.debugLine="notif.Notify(777)";
|
||||
@@ -806,7 +806,7 @@ _notification = new anywheresoftware.b4a.objects.NotificationWrapper();
|
||||
//BA.debugLineNum = 100;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_";
|
||||
_notification.Initialize2(_notification.IMPORTANCE_LOW);
|
||||
//BA.debugLineNum = 101;BA.debugLine="Log(\"notiLowReturn: \"&title)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("453477379","notiLowReturn: "+_title,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("169337091","notiLowReturn: "+_title,0);
|
||||
//BA.debugLineNum = 102;BA.debugLine="notification.Icon = \"icon\"";
|
||||
_notification.setIcon("icon");
|
||||
//BA.debugLineNum = 103;BA.debugLine="notification.Sound = False";
|
||||
@@ -863,7 +863,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _chv = null;
|
||||
String _precio = "";
|
||||
//BA.debugLineNum = 824;BA.debugLine="Sub prodRechazo(clienteOriginal As String, prodId";
|
||||
//BA.debugLineNum = 825;BA.debugLine="Log(\"RECHAZO DEVOLUCION\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("456688641","RECHAZO DEVOLUCION",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("172548353","RECHAZO DEVOLUCION",0);
|
||||
//BA.debugLineNum = 826;BA.debugLine="Private rr As Cursor = Starter.skmt.ExecQuery($\"s";
|
||||
_rr = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_rr = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(REP_CLIENTE) as hayRechazo from REPARTO where rep_prodid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and REP_CLIENTE in (Select CUENTA from cuentaa)"))));
|
||||
@@ -872,7 +872,7 @@ _rr.setPosition((int) (0));
|
||||
//BA.debugLineNum = 828;BA.debugLine="If rr.GetString(\"hayRechazo\") = 0 Then";
|
||||
if ((_rr.GetString("hayRechazo")).equals(BA.NumberToString(0))) {
|
||||
//BA.debugLineNum = 829;BA.debugLine="Log(\"INSERTAMOS EN REPARTO\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("456688645","INSERTAMOS EN REPARTO",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("172548357","INSERTAMOS EN REPARTO",0);
|
||||
//BA.debugLineNum = 831;BA.debugLine="Private chv As Cursor = Starter.skmt.ExecQuery($";
|
||||
_chv = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_chv = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from hist_ventas where hvd_cliente in (select cuenta from cuentaa) and hvd_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"))));
|
||||
@@ -891,7 +891,7 @@ mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("upda
|
||||
};
|
||||
}else {
|
||||
//BA.debugLineNum = 842;BA.debugLine="Log($\"ACTUALIZAMOS REPARTO\"$)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("456688658",("ACTUALIZAMOS REPARTO"),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("172548370",("ACTUALIZAMOS REPARTO"),0);
|
||||
//BA.debugLineNum = 843;BA.debugLine="Private precio As String = traePrecio(prodId, tr";
|
||||
_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba));
|
||||
//BA.debugLineNum = 844;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update HIST_VENTAS s";
|
||||
@@ -916,9 +916,9 @@ mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("upda
|
||||
//BA.debugLineNum = 797;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE";
|
||||
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"));
|
||||
//BA.debugLineNum = 798;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT - 1";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("456623109",("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("172482821",("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0);
|
||||
//BA.debugLineNum = 799;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT + 1";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("456623110",("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("172482822",("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0);
|
||||
//BA.debugLineNum = 800;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE";
|
||||
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_COSTO_TOT = REP_CANT * "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+", REP_PRECIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+"' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"));
|
||||
//BA.debugLineNum = 821;BA.debugLine="End Sub";
|
||||
@@ -965,7 +965,7 @@ _kmt.ExecNonQuery("ALTER TABLE noventa ADD COLUMN NV_REPROGRAMAR TEXT");
|
||||
}
|
||||
catch (Exception e19) {
|
||||
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e19); //BA.debugLineNum = 218;BA.debugLine="Log(LastException)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("453936151",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("169795863",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 221;BA.debugLine="End Sub";
|
||||
@@ -975,7 +975,7 @@ public static String _revisaflp(anywheresoftware.b4a.BA _ba) throws Exception{
|
||||
boolean _todobienflp = false;
|
||||
//BA.debugLineNum = 372;BA.debugLine="Sub revisaFLP 'ignore";
|
||||
//BA.debugLineNum = 373;BA.debugLine="LogColor($\"**** **** Revisamos FLP - ${fechaKMT(D";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("454788097",("**** **** Revisamos FLP - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))))+"**** ****"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227)));
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("170647809",("**** **** Revisamos FLP - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))))+"**** ****"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227)));
|
||||
//BA.debugLineNum = 374;BA.debugLine="Private todoBienFLP As Boolean = True";
|
||||
_todobienflp = anywheresoftware.b4a.keywords.Common.True;
|
||||
//BA.debugLineNum = 375;BA.debugLine="If Not(Tracker.FLP.IsInitialized) Then";
|
||||
@@ -1010,7 +1010,7 @@ _todobienflp = anywheresoftware.b4a.keywords.Common.False;
|
||||
};
|
||||
//BA.debugLineNum = 395;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin errore";
|
||||
if (_todobienflp) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("454788119"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("170647831"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
|
||||
//BA.debugLineNum = 397;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
@@ -1030,14 +1030,14 @@ if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.Fu
|
||||
_daa = (int) (mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .DistanceTo((android.location.Location)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getObject())));
|
||||
//BA.debugLineNum = 362;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"****";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("454722564",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("170582276",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));};
|
||||
//BA.debugLineNum = 363;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocation";
|
||||
if (_daa>40 && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()<35) {
|
||||
//BA.debugLineNum = 364;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha,";
|
||||
_kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))),(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()),(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude())}));
|
||||
//BA.debugLineNum = 365;BA.debugLine="If B4XPages.MainPage.Logger Then Log(\"++++ Dist";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("454722567","++++ 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("170582279","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);};
|
||||
};
|
||||
//BA.debugLineNum = 367;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoca";
|
||||
mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ = mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation();
|
||||
@@ -1102,7 +1102,7 @@ _cr.setPosition((int) (0));
|
||||
_cant = (int)(Double.parseDouble(_cr.GetString("REP_CANT")));
|
||||
};
|
||||
//BA.debugLineNum = 764;BA.debugLine="Log($\"${cliente}, ${prodId}, rowcont:${cr.RowCoun";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("456426503",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", rowcont:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cr.getRowCount()))+", cant: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("172286215",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", rowcont:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cr.getRowCount()))+", cant: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+""),0);
|
||||
//BA.debugLineNum = 765;BA.debugLine="Return cant";
|
||||
if (true) return _cant;
|
||||
//BA.debugLineNum = 766;BA.debugLine="End Sub";
|
||||
@@ -1182,7 +1182,7 @@ _monto = (float) (_monto+((double)(Double.parseDouble(_ccym.GetString("REP_CANT"
|
||||
}
|
||||
};
|
||||
//BA.debugLineNum = 905;BA.debugLine="Log($\"CANT=${cant}, MONTO=${monto}\"$)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("456819736",("CANT="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", MONTO="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("172679448",("CANT="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", MONTO="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0);
|
||||
};
|
||||
//BA.debugLineNum = 908;BA.debugLine="ccym.Close";
|
||||
_ccym.Close();
|
||||
@@ -1205,7 +1205,7 @@ _cl = _cli.GetString("CUENTA");
|
||||
//BA.debugLineNum = 726;BA.debugLine="cli.Close";
|
||||
_cli.Close();
|
||||
//BA.debugLineNum = 727;BA.debugLine="Log(\"Algo paso...\"& cl)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("456229893","Algo paso..."+_cl,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("172089605","Algo paso..."+_cl,0);
|
||||
//BA.debugLineNum = 728;BA.debugLine="Return cl";
|
||||
if (true) return _cl;
|
||||
//BA.debugLineNum = 729;BA.debugLine="End Sub";
|
||||
@@ -1287,7 +1287,7 @@ _fecha = anywheresoftware.b4a.keywords.Common.Regex.Split(" ",_c.GetString("HVD_
|
||||
//BA.debugLineNum = 1038;BA.debugLine="Dim fecha3 As String = fecha(0)";
|
||||
_fecha3 = _fecha[(int) (0)];
|
||||
//BA.debugLineNum = 1039;BA.debugLine="Log(fecha3)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("457344019",_fecha3,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("173203731",_fecha3,0);
|
||||
//BA.debugLineNum = 1040;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1";
|
||||
_hora = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",_fecha[(int) (1)]);
|
||||
//BA.debugLineNum = 1041;BA.debugLine="a = fecha3 & \" \" & hora(0)";
|
||||
|
||||
@@ -42,11 +42,11 @@ public boolean _mhaptic = false;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
@@ -141,11 +141,11 @@ public static String _pushserviceactividad = "";
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null;
|
||||
@@ -156,7 +156,7 @@ uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null;
|
||||
//BA.debugLineNum = 119;BA.debugLine="Private Sub CreateLocationRequest As LocationReque";
|
||||
//BA.debugLineNum = 120;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"CreateLocat";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473990145","CreateLocationRequest",0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("173990145","CreateLocationRequest",0);};
|
||||
//BA.debugLineNum = 121;BA.debugLine="Dim lr As LocationRequest";
|
||||
_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest();
|
||||
//BA.debugLineNum = 122;BA.debugLine="lr.Initialize";
|
||||
@@ -181,7 +181,7 @@ uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null;
|
||||
//BA.debugLineNum = 131;BA.debugLine="Private Sub CreateLocationRequest2times As Locatio";
|
||||
//BA.debugLineNum = 132;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Iniciamos C";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("474055681","Iniciamos CreateLocationRequest2times",0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("174055681","Iniciamos CreateLocationRequest2times",0);};
|
||||
//BA.debugLineNum = 133;BA.debugLine="Dim lr As LocationRequest";
|
||||
_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest();
|
||||
//BA.debugLineNum = 134;BA.debugLine="lr.Initialize";
|
||||
@@ -226,7 +226,7 @@ String _coords = "";
|
||||
if (_flp.GetLastKnownLocation().IsInitialized()) {
|
||||
//BA.debugLineNum = 147;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"Mand";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("474121219",("Mandamos UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|Acc:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|Spd:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("174121219",("Mandamos UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|Acc:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|Spd:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));};
|
||||
//BA.debugLineNum = 148;BA.debugLine="Dim coords As String = FLP.GetLastKnownLocation.";
|
||||
_coords = BA.NumberToString(_flp.GetLastKnownLocation().getLatitude())+","+BA.NumberToString(_flp.GetLastKnownLocation().getLongitude())+","+_formatofecha(BA.NumberToString(_flp.GetLastKnownLocation().getTime()));
|
||||
//BA.debugLineNum = 150;BA.debugLine="Subs.mandamosLoc(coords)";
|
||||
@@ -239,7 +239,7 @@ public static String _flp_connectionfailed(int _connectionresult1) throws Excep
|
||||
//BA.debugLineNum = 59;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)";
|
||||
//BA.debugLineNum = 60;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Failed to c";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473596929","Failed to connect to location provider",0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("173596929","Failed to connect to location provider",0);};
|
||||
//BA.debugLineNum = 61;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
@@ -252,7 +252,7 @@ public static String _flp_connectionsuspended(int _connectionresult1) throws Ex
|
||||
//BA.debugLineNum = 63;BA.debugLine="Sub flp_ConnectionSuspended(ConnectionResult1 As I";
|
||||
//BA.debugLineNum = 64;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"FLP conecti";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473662465","FLP conection suspended",0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("173662465","FLP conection suspended",0);};
|
||||
//BA.debugLineNum = 65;BA.debugLine="StartFLP";
|
||||
_startflp();
|
||||
//BA.debugLineNum = 66;BA.debugLine="End Sub";
|
||||
@@ -293,18 +293,18 @@ mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSE
|
||||
catch (Exception e14) {
|
||||
processBA.setLastException(e14); //BA.debugLineNum = 180;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Error al b";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("474252306","Error al borrar o insertar nuevas coordendas en HIST_GPS",0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("174252306","Error al borrar o insertar nuevas coordendas en HIST_GPS",0);};
|
||||
};
|
||||
//BA.debugLineNum = 183;BA.debugLine="Dim coords As String = Location1.Latitude&\",\"&Loc";
|
||||
_coords = BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude())+","+_formatofecha(BA.NumberToString(_location1.getTime()));
|
||||
//BA.debugLineNum = 184;BA.debugLine="Log(\"Loc changed : \"&Location1.Latitude&\",\"&Locat";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("474252310","Loc changed : "+BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude()),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("174252310","Loc changed : "+BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude()),0);
|
||||
//BA.debugLineNum = 185;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Mandamos Ub";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("474252311","Mandamos Ubicacion",0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("174252311","Mandamos Ubicacion",0);};
|
||||
//BA.debugLineNum = 186;BA.debugLine="If B4XPages.MainPage.logger Then Log(locRequest)";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("474252312",_locrequest,0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("174252312",_locrequest,0);};
|
||||
//BA.debugLineNum = 188;BA.debugLine="If Location1.Accuracy < 100 Then";
|
||||
if (_location1.getAccuracy()<100) {
|
||||
//BA.debugLineNum = 189;BA.debugLine="Subs.guardaInfoEnBD(coords)'Escribimos coordenad";
|
||||
@@ -322,7 +322,7 @@ _minsdif = (int) ((double)(Double.parseDouble(anywheresoftware.b4a.keywords.Comm
|
||||
if (_location1.getAccuracy()<100 && _minsdif>240) {
|
||||
//BA.debugLineNum = 198;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"actualizam";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("474252324","actualizamos Ubicacion Web",0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("174252324","actualizamos Ubicacion Web",0);};
|
||||
//BA.debugLineNum = 199;BA.debugLine="CallSubDelayed(Starter, \"ENVIA_ULTIMA_GPS\")";
|
||||
anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._starter.getObject()),"ENVIA_ULTIMA_GPS");
|
||||
};
|
||||
@@ -412,7 +412,7 @@ return "";
|
||||
public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{
|
||||
//BA.debugLineNum = 68;BA.debugLine="Sub Service_Start (StartingIntent As Intent)";
|
||||
//BA.debugLineNum = 69;BA.debugLine="LogColor(\"Iniciando Tracker ...\", Colors.Green)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473728001","Iniciando Tracker ...",anywheresoftware.b4a.keywords.Common.Colors.Green);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("173728001","Iniciando Tracker ...",anywheresoftware.b4a.keywords.Common.Colors.Green);
|
||||
//BA.debugLineNum = 70;BA.debugLine="Service.StopAutomaticForeground";
|
||||
mostCurrent._service.StopAutomaticForeground();
|
||||
//BA.debugLineNum = 72;BA.debugLine="StartServiceAt(Me, DateTime.Now + 10 * DateTime.T";
|
||||
@@ -519,7 +519,7 @@ this.state = 3;
|
||||
case 3:
|
||||
//C
|
||||
this.state = 6;
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473924609","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("173924609","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0);
|
||||
if (true) break;
|
||||
|
||||
case 6:
|
||||
@@ -562,7 +562,7 @@ this.state = 12;
|
||||
case 12:
|
||||
//C
|
||||
this.state = 15;
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473924612","sleeping GR",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("173924612","sleeping GR",0);
|
||||
if (true) break;
|
||||
|
||||
case 15:
|
||||
@@ -592,7 +592,7 @@ this.state = 19;
|
||||
case 19:
|
||||
//C
|
||||
this.state = 22;
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473924616","Buscamos ubicacion 2 peticiones",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("173924616","Buscamos ubicacion 2 peticiones",0);
|
||||
if (true) break;
|
||||
|
||||
case 22:
|
||||
@@ -612,7 +612,7 @@ this.state = 25;
|
||||
case 25:
|
||||
//C
|
||||
this.state = 28;
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473924617",BA.NumberToString(parent._actuallr.GetSmallestDisplacement()),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("173924617",BA.NumberToString(parent._actuallr.GetSmallestDisplacement()),0);
|
||||
if (true) break;
|
||||
|
||||
case 28:
|
||||
@@ -642,7 +642,7 @@ public static String _track() throws Exception{
|
||||
//BA.debugLineNum = 78;BA.debugLine="Public Sub Track";
|
||||
//BA.debugLineNum = 79;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Inicia Trac";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473793537","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("173793537","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);};
|
||||
//BA.debugLineNum = 80;BA.debugLine="If Tracking Then";
|
||||
if (_tracking) {
|
||||
//BA.debugLineNum = 82;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na";
|
||||
@@ -652,7 +652,7 @@ if (true) return "";
|
||||
if (mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .Check(mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION)==anywheresoftware.b4a.keywords.Common.False) {
|
||||
//BA.debugLineNum = 85;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"No permiss";
|
||||
if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("473793543","No permission",0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("173793543","No permission",0);};
|
||||
//BA.debugLineNum = 86;BA.debugLine="Return";
|
||||
if (true) return "";
|
||||
};
|
||||
|
||||
@@ -16,11 +16,11 @@ public static anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
public reparto_izca.keymon.lat.main _main = null;
|
||||
public reparto_izca.keymon.lat.appupdater _appupdater = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.foto _foto = null;
|
||||
public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null;
|
||||
public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null;
|
||||
public reparto_izca.keymon.lat.starter _starter = null;
|
||||
public reparto_izca.keymon.lat.subs _subs = null;
|
||||
public reparto_izca.keymon.lat.tracker _tracker = null;
|
||||
public reparto_izca.keymon.lat.newinst2 _newinst2 = null;
|
||||
public reparto_izca.keymon.lat.b4xpages _b4xpages = null;
|
||||
|
||||
Reference in New Issue
Block a user