Version: 5.04.18_V2

Se corigue Query del JobDone del tag "marcas_rutas"
This commit is contained in:
IsR0d
2025-04-22 13:10:58 -06:00
parent d94b5462ce
commit f0b4a1d395
495 changed files with 1878 additions and 1869 deletions

View File

@@ -44,9 +44,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -49,9 +49,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -151,9 +151,9 @@ public medicomed.keymon.com.mx.main _main = null;
public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -273,7 +273,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 163;BA.debugLine="Log(\"Descargando actualización\")";
anywheresoftware.b4a.keywords.Common.LogImpl("71376259","Descargando actualización",0);
anywheresoftware.b4a.keywords.Common.LogImpl("51638403","Descargando actualización",0);
//BA.debugLineNum = 164;BA.debugLine="B4XPages.ShowPage(\"login\")";
parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"login");
//BA.debugLineNum = 165;BA.debugLine="Starter.muestraProgreso = 1";
@@ -347,7 +347,7 @@ this.state = 10;
case 10:
//C
this.state = 13;
anywheresoftware.b4a.keywords.Common.LogImpl("71376275","APK dir: "+parent._sharedfolder,0);
anywheresoftware.b4a.keywords.Common.LogImpl("51638419","APK dir: "+parent._sharedfolder,0);
if (true) break;
case 13:
@@ -417,7 +417,7 @@ _usefileprovider = anywheresoftware.b4a.keywords.Common.False;
_sharedfolder = _rp.GetSafeDirDefaultExternal("shared");
};
//BA.debugLineNum = 251;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)";
anywheresoftware.b4a.keywords.Common.LogImpl("71769484",("Using FileProvider? "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0);
anywheresoftware.b4a.keywords.Common.LogImpl("52031628",("Using FileProvider? "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0);
//BA.debugLineNum = 252;BA.debugLine="End Sub";
return "";
}
@@ -452,7 +452,7 @@ if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.ge
}
catch (Exception e14) {
processBA.setLastException(e14); //BA.debugLineNum = 269;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last";
anywheresoftware.b4a.keywords.Common.LogImpl("71835022","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0);
anywheresoftware.b4a.keywords.Common.LogImpl("52097166","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0);
//BA.debugLineNum = 270;BA.debugLine="Return \"\"";
if (true) return (Object)("");
};
@@ -489,7 +489,7 @@ return "";
public static String _service_create() throws Exception{
//BA.debugLineNum = 105;BA.debugLine="Sub Service_Create";
//BA.debugLineNum = 106;BA.debugLine="Log(\"appUpdater(), Service_Create\")";
anywheresoftware.b4a.keywords.Common.LogImpl("71179649","appUpdater(), Service_Create",0);
anywheresoftware.b4a.keywords.Common.LogImpl("51441793","appUpdater(), Service_Create",0);
//BA.debugLineNum = 107;BA.debugLine="newApp.Initialize";
_newapp.Initialize();
//BA.debugLineNum = 108;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT";
@@ -504,7 +504,7 @@ return "";
public static String _service_destroy() throws Exception{
//BA.debugLineNum = 235;BA.debugLine="Sub Service_Destroy";
//BA.debugLineNum = 236;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")";
anywheresoftware.b4a.keywords.Common.LogImpl("71703937","appUpdater(), Service_Destroy",0);
anywheresoftware.b4a.keywords.Common.LogImpl("51966081","appUpdater(), Service_Destroy",0);
//BA.debugLineNum = 237;BA.debugLine="End Sub";
return "";
}
@@ -536,11 +536,11 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 114;BA.debugLine="Log(\"appUpdater(), Service_Start\")";
anywheresoftware.b4a.keywords.Common.LogImpl("71245185","appUpdater(), Service_Start",0);
anywheresoftware.b4a.keywords.Common.LogImpl("51507329","appUpdater(), Service_Start",0);
//BA.debugLineNum = 116;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua";
parent.mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ ("Buscando actualización");
//BA.debugLineNum = 117;BA.debugLine="Log(\"Buscando actualización\")";
anywheresoftware.b4a.keywords.Common.LogImpl("71245188","Buscando actualización",0);
anywheresoftware.b4a.keywords.Common.LogImpl("51507332","Buscando actualización",0);
//BA.debugLineNum = 118;BA.debugLine="fileProvider_init";
_fileprovider_init();
//BA.debugLineNum = 119;BA.debugLine="Wait For (Download(Me, lnk)) JobDone (j As HttpJo";
@@ -592,7 +592,7 @@ parent._newapp.okMsg /*String*/ = _app[(int) (2)];
//BA.debugLineNum = 127;BA.debugLine="newApp.version = app(0) 'Version actual";
parent._newapp.version /*String*/ = _app[(int) (0)];
//BA.debugLineNum = 129;BA.debugLine="Log($\"Application.VersionName=${Application.Ver";
anywheresoftware.b4a.keywords.Common.LogImpl("71245200",("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("51507344",("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 = 132;BA.debugLine="If newApp.version = Application.VersionName Th";
if (true) break;
@@ -609,7 +609,7 @@ this.state = 10;
//BA.debugLineNum = 133;BA.debugLine="newApp.update = False";
parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.False;
//BA.debugLineNum = 134;BA.debugLine="Log(\"No new app\")";
anywheresoftware.b4a.keywords.Common.LogImpl("71245205","No new app",0);
anywheresoftware.b4a.keywords.Common.LogImpl("51507349","No new app",0);
//BA.debugLineNum = 135;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")";
parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable");
//BA.debugLineNum = 137;BA.debugLine="CreateNotification2(\"Aplicacion al corriente\",";
@@ -631,7 +631,7 @@ this.state = 13;
//BA.debugLineNum = 140;BA.debugLine="newApp.update = True";
parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.True;
//BA.debugLineNum = 141;BA.debugLine="Log(\"New app true\")";
anywheresoftware.b4a.keywords.Common.LogImpl("71245212","New app true",0);
anywheresoftware.b4a.keywords.Common.LogImpl("51507356","New app true",0);
//BA.debugLineNum = 142;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")";
parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable");
if (true) break;
@@ -647,7 +647,7 @@ case 15:
this.state = 16;
this.catchState = 0;
//BA.debugLineNum = 147;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE";
anywheresoftware.b4a.keywords.Common.LogImpl("71245218","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0);
anywheresoftware.b4a.keywords.Common.LogImpl("51507362","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0);
if (true) break;
if (true) break;
@@ -662,7 +662,7 @@ case 18:
//C
this.state = 19;
//BA.debugLineNum = 150;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)";
anywheresoftware.b4a.keywords.Common.LogImpl("71245221","appUpdater(), Job Failed "+parent._lnk,0);
anywheresoftware.b4a.keywords.Common.LogImpl("51507365","appUpdater(), Job Failed "+parent._lnk,0);
if (true) break;
case 19:

View File

@@ -32,9 +32,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -46,9 +46,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -32,9 +32,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -179,7 +179,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("913238274","Index too large",0);};
__c.LogImpl("946465026","Index too large",0);};
//BA.debugLineNum = 46;BA.debugLine="Append(Data)";
_append(_data);
}else {
@@ -221,7 +221,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("913303810","Index too large",0);};
__c.LogImpl("946530562","Index too large",0);};
//BA.debugLineNum = 59;BA.debugLine="Append(Data)";
_append(_data);
}else {

View File

@@ -34,9 +34,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -17,9 +17,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -47,9 +47,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -40,9 +40,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -30,9 +30,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -68,9 +68,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -59,9 +59,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -62,9 +62,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -355,7 +355,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("929818904","Multiline not supported with password mode.",0);
__c.LogImpl("963045656","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())));

View File

@@ -34,9 +34,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -41,9 +41,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -272,7 +272,7 @@ _imageviewheight = (float) (_mbitmap.getHeight());
break; }
default: {
//BA.debugLineNum = 104;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)";
__c.LogImpl("932178203","Invalid resize mode: "+_mresizemode,0);
__c.LogImpl("965404955","Invalid resize mode: "+_mresizemode,0);
break; }
}
;

View File

@@ -41,9 +41,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -40,9 +40,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -40,9 +40,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -34,9 +34,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -129,9 +129,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -152,9 +152,9 @@ if (_a.getRowCount()>0) {
_a.setPosition((int) (0));
};
//BA.debugLineNum = 1162;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))";
__c.LogImpl("77077896",_a.GetString("ID_ALMACEN"),0);
__c.LogImpl("57340040",_a.GetString("ID_ALMACEN"),0);
//BA.debugLineNum = 1163;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))";
__c.LogImpl("77077897",_f.GetString("CAT_CL_RUTA"),0);
__c.LogImpl("57340041",_f.GetString("CAT_CL_RUTA"),0);
//BA.debugLineNum = 1170;BA.debugLine="f.Close";
_f.Close();
//BA.debugLineNum = 1171;BA.debugLine="a.Close";
@@ -256,7 +256,7 @@ this.state = -1;
//BA.debugLineNum = 1251;BA.debugLine="Dim FileName As String = \"kmt.db\"";
_filename = "kmt.db";
//BA.debugLineNum = 1253;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)";
parent.__c.LogImpl("77340037","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0);
parent.__c.LogImpl("57602181","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0);
//BA.debugLineNum = 1254;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
this.state = 1;
@@ -656,9 +656,9 @@ case 17:
this.state = 18;
;
//BA.debugLineNum = 1117;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))";
parent.__c.LogImpl("77012390",parent._a.GetString("ID_ALMACEN"),0);
parent.__c.LogImpl("57274534",parent._a.GetString("ID_ALMACEN"),0);
//BA.debugLineNum = 1118;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))";
parent.__c.LogImpl("77012391",parent._f.GetString("CAT_CL_RUTA"),0);
parent.__c.LogImpl("57274535",parent._f.GetString("CAT_CL_RUTA"),0);
//BA.debugLineNum = 1119;BA.debugLine="If inputText <> 0 Then";
if (true) break;
@@ -715,7 +715,7 @@ parent._f.Close();
//BA.debugLineNum = 1129;BA.debugLine="a.Close";
parent._a.Close();
//BA.debugLineNum = 1130;BA.debugLine="Log(\"Processed item \" & i)";
parent.__c.LogImpl("77012403","Processed item "+BA.NumberToString(_i),0);
parent.__c.LogImpl("57274547","Processed item "+BA.NumberToString(_i),0);
if (true) break;
if (true) break;
@@ -724,7 +724,7 @@ case 28:
this.state = 31;
;
//BA.debugLineNum = 1132;BA.debugLine="Log(\"Finished processing all items\")";
parent.__c.LogImpl("77012405","Finished processing all items",0);
parent.__c.LogImpl("57274549","Finished processing all items",0);
//BA.debugLineNum = 1133;BA.debugLine="P_CIEGO.Visible = False";
parent._p_ciego.setVisible(parent.__c.False);
//BA.debugLineNum = 1134;BA.debugLine="et_buspc.Text = \"\"";
@@ -781,7 +781,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 314;BA.debugLine="Log(recarga)";
parent.__c.LogImpl("75177345",parent._recarga,0);
parent.__c.LogImpl("55439489",parent._recarga,0);
//BA.debugLineNum = 315;BA.debugLine="If Starter.muestraProgreso = 1 Then";
if (true) break;
@@ -810,13 +810,13 @@ _ph = new anywheresoftware.b4a.phone.Phone();
//BA.debugLineNum = 320;BA.debugLine="Dim DeviceID As String = ph.GetSettings(\"android_";
_deviceid = _ph.GetSettings("android_id").toUpperCase();
//BA.debugLineNum = 321;BA.debugLine="LogColor($\"////////////////// DeviceID: ${Devic";
parent.__c.LogImpl("75177352",("////////////////// DeviceID: "+parent.__c.SmartStringFormatter("",(Object)(_deviceid))+" ////////////////// "),parent.__c.Colors.Blue);
parent.__c.LogImpl("55439496",("////////////////// DeviceID: "+parent.__c.SmartStringFormatter("",(Object)(_deviceid))+" ////////////////// "),parent.__c.Colors.Blue);
//BA.debugLineNum = 322;BA.debugLine="DBReqServer = Starter.DBReqServer";
parent._dbreqserver = parent._starter._dbreqserver /*String*/ ;
//BA.debugLineNum = 323;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)";
parent._reqmanager._initialize /*String*/ (ba,parent,parent._starter._dbreqserver /*String*/ );
//BA.debugLineNum = 324;BA.debugLine="Log(\"|\"&Starter.DBReqServer&\"|\")";
parent.__c.LogImpl("75177355","|"+parent._starter._dbreqserver /*String*/ +"|",0);
parent.__c.LogImpl("55439499","|"+parent._starter._dbreqserver /*String*/ +"|",0);
//BA.debugLineNum = 325;BA.debugLine="tgl.Initialize()";
parent._tgl.Initialize(ba);
//BA.debugLineNum = 326;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then";
@@ -870,7 +870,7 @@ case 11:
//C
this.state = 18;
//BA.debugLineNum = 334;BA.debugLine="LogColor($\"No hay fecha: ${c.GetString(\"CUANTOS\"";
parent.__c.LogImpl("75177365",("No hay fecha: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CUANTOS")))+""),parent.__c.Colors.Red);
parent.__c.LogImpl("55439509",("No hay fecha: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CUANTOS")))+""),parent.__c.Colors.Red);
//BA.debugLineNum = 335;BA.debugLine="cmd.Initialize";
parent._cmd.Initialize();
//BA.debugLineNum = 336;BA.debugLine="cmd.Name = \"select_fecha\"";
@@ -962,7 +962,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 756;BA.debugLine="Log(\"closreq\")";
parent.__c.LogImpl("75373953","closreq",0);
parent.__c.LogImpl("55636097","closreq",0);
//BA.debugLineNum = 757;BA.debugLine="Sleep(0)";
parent.__c.Sleep(ba,this,(int) (0));
this.state = 14;
@@ -1040,7 +1040,7 @@ case 12:
//C
this.state = 13;
//BA.debugLineNum = 773;BA.debugLine="Log(\"ExitApplication\")";
parent.__c.LogImpl("75373970","ExitApplication",0);
parent.__c.LogImpl("55636114","ExitApplication",0);
//BA.debugLineNum = 774;BA.debugLine="ExitApplication";
parent.__c.ExitApplication();
if (true) break;
@@ -1173,7 +1173,7 @@ this.state = 4;
//BA.debugLineNum = 171;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d";
parent.__c.File.Copy(parent.__c.File.getDirAssets(),"kmt.db",parent._ruta,"kmt.db");
//BA.debugLineNum = 172;BA.debugLine="LogColor(\"copiamos kmt.db de \"&File.DirAssets &";
parent.__c.LogImpl("75111850","copiamos kmt.db de "+parent.__c.File.getDirAssets()+" a "+parent._ruta,parent.__c.Colors.Green);
parent.__c.LogImpl("55373994","copiamos kmt.db de "+parent.__c.File.getDirAssets()+" a "+parent._ruta,parent.__c.Colors.Green);
if (true) break;
case 4:
@@ -1324,7 +1324,7 @@ parent._rutapreventa = BA.NumberToString(0);
//BA.debugLineNum = 251;BA.debugLine="p_appUpdate.Visible = False";
parent._p_appupdate.setVisible(parent.__c.False);
//BA.debugLineNum = 253;BA.debugLine="LogColor(\"Revisa permisos Phone_State\", Colors.Gr";
parent.__c.LogImpl("75111931","Revisa permisos Phone_State",parent.__c.Colors.Green);
parent.__c.LogImpl("55374075","Revisa permisos Phone_State",parent.__c.Colors.Green);
//BA.debugLineNum = 254;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION);
//BA.debugLineNum = 255;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
@@ -1353,14 +1353,14 @@ case 11:
//C
this.state = 14;
//BA.debugLineNum = 257;BA.debugLine="Log(\"Con permisos de ubicacion\")";
parent.__c.LogImpl("75111935","Con permisos de ubicacion",0);
parent.__c.LogImpl("55374079","Con permisos de ubicacion",0);
if (true) break;
case 13:
//C
this.state = 14;
//BA.debugLineNum = 259;BA.debugLine="Log(\"SIN permisos de ubicacion\")";
parent.__c.LogImpl("75111937","SIN permisos de ubicacion",0);
parent.__c.LogImpl("55374081","SIN permisos de ubicacion",0);
if (true) break;
case 14:
@@ -1395,14 +1395,14 @@ case 17:
//C
this.state = 20;
//BA.debugLineNum = 264;BA.debugLine="Log(\"Con permisos de ubicacion\")";
parent.__c.LogImpl("75111942","Con permisos de ubicacion",0);
parent.__c.LogImpl("55374086","Con permisos de ubicacion",0);
if (true) break;
case 19:
//C
this.state = 20;
//BA.debugLineNum = 266;BA.debugLine="Log(\"SIN permisos de ubicacion\")";
parent.__c.LogImpl("75111944","SIN permisos de ubicacion",0);
parent.__c.LogImpl("55374088","SIN permisos de ubicacion",0);
if (true) break;
case 20:
@@ -1976,7 +1976,7 @@ anywheresoftware.b4a.phone.Phone _pp = null;
int _id = 0;
//BA.debugLineNum = 384;BA.debugLine="Sub Entrar_Click";
//BA.debugLineNum = 385;BA.debugLine="Log(\"|\" & Starter.DBReqServer)";
__c.LogImpl("75242881","|"+_starter._dbreqserver /*String*/ ,0);
__c.LogImpl("55505025","|"+_starter._dbreqserver /*String*/ ,0);
//BA.debugLineNum = 386;BA.debugLine="Dim r As Reflector";
_r = new anywheresoftware.b4a.agraham.reflection.Reflection();
//BA.debugLineNum = 387;BA.debugLine="Dim Api As Int";
@@ -1992,7 +1992,7 @@ if (__c.File.Exists(__c.File.getDirInternal(),"__id")) {
//BA.debugLineNum = 393;BA.debugLine="IMEI = File.ReadString(File.DirInternal, \"__id";
_imei = __c.File.ReadString(__c.File.getDirInternal(),"__id");
//BA.debugLineNum = 394;BA.debugLine="Log(1&\"-\"&IMEI)";
__c.LogImpl("75242890",BA.NumberToString(1)+"-"+_imei,0);
__c.LogImpl("55505034",BA.NumberToString(1)+"-"+_imei,0);
}else {
//BA.debugLineNum = 396;BA.debugLine="Dim id As Int";
_id = 0;
@@ -2003,7 +2003,7 @@ __c.File.WriteString(__c.File.getDirInternal(),"__id",BA.NumberToString(_id));
//BA.debugLineNum = 399;BA.debugLine="IMEI = id";
_imei = BA.NumberToString(_id);
//BA.debugLineNum = 400;BA.debugLine="Log(2&\"-\"&IMEI)";
__c.LogImpl("75242896",BA.NumberToString(2)+"-"+_imei,0);
__c.LogImpl("55505040",BA.NumberToString(2)+"-"+_imei,0);
};
}else {
//BA.debugLineNum = 404;BA.debugLine="IMEI = r.GetStaticField(\"android.os.Build\", \"SE";
@@ -2125,7 +2125,7 @@ _cmd.Name /*String*/ = "select_usuario_MEDI_10_V2";
//BA.debugLineNum = 472;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Tri";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_user.getText().trim()),(Object)(_pass.getText().trim())};
//BA.debugLineNum = 473;BA.debugLine="Log(\"Mandamos: \"&user.Text&\"|\"& pass.Text)";
__c.LogImpl("75242969","Mandamos: "+_user.getText()+"|"+_pass.getText(),0);
__c.LogImpl("55505113","Mandamos: "+_user.getText()+"|"+_pass.getText(),0);
//BA.debugLineNum = 474;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("usuario_10"));
};
@@ -2163,7 +2163,7 @@ _clv_pick_ciego._clear();
//BA.debugLineNum = 952;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\"";
_q_buscar = "%"+_et_buspc.getText()+"%";
//BA.debugLineNum = 953;BA.debugLine="Log(q_buscar)";
__c.LogImpl("76684679",_q_buscar,0);
__c.LogImpl("56946823",_q_buscar,0);
//BA.debugLineNum = 954;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"select CAT";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID , ifnull(PC_CANT,0) AS PC_CANT FROM CAT_GUNAPROD 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 = 955;BA.debugLine="If c.RowCount > 0 Then";
@@ -2258,7 +2258,7 @@ _lv_server.AddSingleLine(BA.ObjectToCharSequence("http://keymon.lat:1781"));
if ((_user.getText()).equals("KMTS1")) {
_lv_server.AddSingleLine(BA.ObjectToCharSequence("http://10.0.0.205:1781"));};
//BA.debugLineNum = 890;BA.debugLine="Log($\"|${Starter.DBReqServer}|\"$)";
__c.LogImpl("76094855",("|"+__c.SmartStringFormatter("",(Object)(_starter._dbreqserver /*String*/ ))+"|"),0);
__c.LogImpl("56356999",("|"+__c.SmartStringFormatter("",(Object)(_starter._dbreqserver /*String*/ ))+"|"),0);
//BA.debugLineNum = 892;BA.debugLine="et_server.Text = Starter.DBReqServer";
_et_server.setText(BA.ObjectToCharSequence(_starter._dbreqserver /*String*/ ));
//BA.debugLineNum = 893;BA.debugLine="Subs.panelVisible(p_appUpdate,0,0)";
@@ -2298,7 +2298,7 @@ String _imei_base = "";
String _valido = "";
//BA.debugLineNum = 487;BA.debugLine="Sub JobDone(Job As HttpJob)";
//BA.debugLineNum = 488;BA.debugLine="Log(\"JOBDONE MAINPAGE\")";
__c.LogImpl("75308417","JOBDONE MAINPAGE",0);
__c.LogImpl("55570561","JOBDONE MAINPAGE",0);
//BA.debugLineNum = 489;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IsInitia";
if (_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*medicomed.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IsInitialized()) {
//BA.debugLineNum = 490;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IndexOf";
@@ -2306,18 +2306,18 @@ if (_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager
//BA.debugLineNum = 491;BA.debugLine="B4XPages.MainPage.reqManager.reqsList.RemoveAt(";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*medicomed.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*medicomed.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_job._tag /*Object*/ ));
//BA.debugLineNum = 492;BA.debugLine="LogColor($\">>>>>> Quitamos ${Job.tag}\"$, Colors";
__c.LogImpl("75308421",(">>>>>> Quitamos "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),__c.Colors.Blue);
__c.LogImpl("55570565",(">>>>>> Quitamos "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),__c.Colors.Blue);
};
//BA.debugLineNum = 494;BA.debugLine="LogColor(\">>>>>> \" & B4XPages.MainPage.reqManage";
__c.LogImpl("75308423",">>>>>> "+BA.NumberToString(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*medicomed.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize())+" - "+BA.ObjectToString(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*medicomed.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ ),__c.Colors.Blue);
__c.LogImpl("55570567",">>>>>> "+BA.NumberToString(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*medicomed.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize())+" - "+BA.ObjectToString(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*medicomed.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ ),__c.Colors.Blue);
};
//BA.debugLineNum = 496;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) {
//BA.debugLineNum = 497;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Job.Error";
__c.LogImpl("75308426","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Red);
__c.LogImpl("55570570","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Red);
}else {
//BA.debugLineNum = 499;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
__c.LogImpl("75308428","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*medicomed.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*medicomed.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
__c.LogImpl("55570572","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*medicomed.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*medicomed.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
//BA.debugLineNum = 500;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
//BA.debugLineNum = 501;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
@@ -2360,7 +2360,7 @@ final int groupLen24 = group24.getSize()
for (; index24 < groupLen24;index24++){
_k = BA.ObjectToString(group24.Get(index24));
//BA.debugLineNum = 513;BA.debugLine="Log(\"select_fechat: \" & k & \": \" & records(r";
__c.LogImpl("75308442","select_fechat: "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
__c.LogImpl("55570586","select_fechat: "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
@@ -2408,9 +2408,9 @@ _records = (Object[])(group43.Get(index43));
//BA.debugLineNum = 596;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 = 597;BA.debugLine="Log(CUENTA)";
__c.LogImpl("75308526",_cuenta,0);
__c.LogImpl("55570670",_cuenta,0);
//BA.debugLineNum = 598;BA.debugLine="Log(id)";
__c.LogImpl("75308527",_id,0);
__c.LogImpl("55570671",_id,0);
//BA.debugLineNum = 599;BA.debugLine="If CUENTA = 0 Then";
if ((_cuenta).equals(BA.NumberToString(0))) {
}else if((double)(Double.parseDouble(_cuenta))>0) {
@@ -2464,7 +2464,7 @@ _id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns
//BA.debugLineNum = 649;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu";
_imei_base = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]);
//BA.debugLineNum = 650;BA.debugLine="Log(records(result.Columns.Get(\"CAT_LO_IDTELE";
__c.LogImpl("75308579",BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]),0);
__c.LogImpl("55570723",BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]),0);
}
};
//BA.debugLineNum = 652;BA.debugLine="paso1 = 1";
@@ -2472,7 +2472,7 @@ _paso1 = BA.NumberToString(1);
//BA.debugLineNum = 653;BA.debugLine="ToastMessageShow(name, False)";
__c.ToastMessageShow(BA.ObjectToCharSequence(_name),__c.False);
//BA.debugLineNum = 654;BA.debugLine="Log(\"////////////////////////// \"&name)";
__c.LogImpl("75308583","////////////////////////// "+_name,0);
__c.LogImpl("55570727","////////////////////////// "+_name,0);
};
};
//BA.debugLineNum = 658;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
@@ -2498,7 +2498,7 @@ _imei_base = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns
}
};
//BA.debugLineNum = 666;BA.debugLine="Log(\"|\"&name&\"|\")";
__c.LogImpl("75308595","|"+_name+"|",0);
__c.LogImpl("55570739","|"+_name+"|",0);
//BA.debugLineNum = 667;BA.debugLine="paso1 = 1";
_paso1 = BA.NumberToString(1);
//BA.debugLineNum = 668;BA.debugLine="IMEI_BASE = \"\"";
@@ -2510,7 +2510,7 @@ _imei = "";
//BA.debugLineNum = 698;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("ruta"))) {
//BA.debugLineNum = 699;BA.debugLine="Log(\"JOBDONE PRINCIPAL MAINPAGE\")";
__c.LogImpl("75308628","JOBDONE PRINCIPAL MAINPAGE",0);
__c.LogImpl("55570772","JOBDONE PRINCIPAL MAINPAGE",0);
//BA.debugLineNum = 700;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group93 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
@@ -2524,7 +2524,7 @@ _valido = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*a
//BA.debugLineNum = 702;BA.debugLine="If VALIDO = \"OK\" Then";
if ((_valido).equals("OK")) {
//BA.debugLineNum = 703;BA.debugLine="Log(VALIDO)";
__c.LogImpl("75308632",_valido,0);
__c.LogImpl("55570776",_valido,0);
};
}
};
@@ -2533,7 +2533,7 @@ __c.LogImpl("75308632",_valido,0);
_job._release /*String*/ ();
};
//BA.debugLineNum = 710;BA.debugLine="Log($\"Paso1 = ${paso1} - Name: ${name} - IMEI: ${";
__c.LogImpl("75308639",("Paso1 = "+__c.SmartStringFormatter("",(Object)(_paso1))+" - Name: "+__c.SmartStringFormatter("",(Object)(_name))+" - IMEI: "+__c.SmartStringFormatter("",(Object)(_imei))+" - IMEI_BASE: "+__c.SmartStringFormatter("",(Object)(_imei_base))+""),0);
__c.LogImpl("55570783",("Paso1 = "+__c.SmartStringFormatter("",(Object)(_paso1))+" - Name: "+__c.SmartStringFormatter("",(Object)(_name))+" - IMEI: "+__c.SmartStringFormatter("",(Object)(_imei))+" - IMEI_BASE: "+__c.SmartStringFormatter("",(Object)(_imei_base))+""),0);
//BA.debugLineNum = 711;BA.debugLine="If paso1 = 1 Then";
if ((_paso1).equals(BA.NumberToString(1))) {
//BA.debugLineNum = 712;BA.debugLine="If IMEI = \"\" Then";

View File

@@ -32,9 +32,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -20,9 +20,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xcollections _b4xcollections = null;

View File

@@ -30,9 +30,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -43,9 +43,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -199,7 +199,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("917956867",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0);
__c.LogImpl("951183619",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0);
//BA.debugLineNum = 145;BA.debugLine="Return";
if (true) return "";
};
@@ -314,7 +314,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("917825813","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red);
__c.LogImpl("951052565","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red);
};
};
}
@@ -371,12 +371,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("918219012","Only top page can be closed",0);
__c.LogImpl("951445764","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("918219015","First page cannot be closed",0);
__c.LogImpl("951445767","First page cannot be closed",0);
//BA.debugLineNum = 217;BA.debugLine="Return";
if (true) return "";
};
@@ -591,9 +591,9 @@ _pi = (medicomed.keymon.com.mx.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("918874371","Error: page id not found: "+_id,0);
__c.LogImpl("952101123","Error: page id not found: "+_id,0);
//BA.debugLineNum = 402;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore";
__c.LogImpl("918874372","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0);
__c.LogImpl("952101124","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0);
};
//BA.debugLineNum = 404;BA.debugLine="Return pi";
if (true) return _pi;
@@ -728,7 +728,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("917760283","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0);
__c.LogImpl("950987035","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0);
};
//BA.debugLineNum = 88;BA.debugLine="If NonMainPageWasAdded Then";
if (_nonmainpagewasadded) {
@@ -749,7 +749,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("919988483",_msg,0);
__c.LogImpl("953215235",_msg,0);
};
//BA.debugLineNum = 645;BA.debugLine="End Sub";
return "";
@@ -801,7 +801,7 @@ __c.CallSubDelayed3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0
break; }
default: {
//BA.debugLineNum = 562;BA.debugLine="Log(\"Too many parameters\")";
__c.LogImpl("919464206","Too many parameters",0);
__c.LogImpl("952690958","Too many parameters",0);
break; }
}
;
@@ -842,7 +842,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("919529742","Too many parameters",0);
__c.LogImpl("952756494","Too many parameters",0);
break; }
}
;

View File

@@ -56,9 +56,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -50,9 +50,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -48,9 +48,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -391,7 +391,7 @@ _count = (int) (_count+1);
}
};
//BA.debugLineNum = 227;BA.debugLine="Log(\"Index time: \" & (DateTime.Now - startTime) &";
__c.LogImpl("937945375","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0);
__c.LogImpl("971172127","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)";

View File

@@ -51,9 +51,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -31,9 +31,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -42,9 +42,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -48,9 +48,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -36,9 +36,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -38,9 +38,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -44,9 +44,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -67,7 +67,7 @@ if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 204;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 205;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
__c.LogImpl("761538310",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
__c.LogImpl("512845062",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
};
}
catch (Exception e9) {
@@ -75,14 +75,14 @@ __c.LogImpl("761538310",("Columna \""+__c.SmartStringFormatter("",(Object)(_colu
try { //BA.debugLineNum = 210;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 211;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
__c.LogImpl("761538316",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
__c.LogImpl("512845068",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
}
catch (Exception e13) {
ba.setLastException(e13); //BA.debugLineNum = 213;BA.debugLine="Log(LastException)";
__c.LogImpl("761538318",BA.ObjectToString(__c.LastException(ba)),0);
__c.LogImpl("512845070",BA.ObjectToString(__c.LastException(ba)),0);
};
//BA.debugLineNum = 215;BA.debugLine="Log(2)";
__c.LogImpl("761538320",BA.NumberToString(2),0);
__c.LogImpl("512845072",BA.NumberToString(2),0);
};
//BA.debugLineNum = 217;BA.debugLine="End Sub";
return "";
@@ -97,7 +97,7 @@ _inivenno = __c.False;
if (_dentrodegeocerca) {
_precision = (int) (1);};
//BA.debugLineNum = 135;BA.debugLine="LogColor($\">>>>>>>>>>>> EN VENTA : ${enVenta}";
__c.LogImpl("761276167",(">>>>>>>>>>>> EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
__c.LogImpl("512582919",(">>>>>>>>>>>> EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
//BA.debugLineNum = 136;BA.debugLine="motivoNoVenta = \"\"";
_motivonoventa = "";
//BA.debugLineNum = 137;BA.debugLine="motivoNoVisita = \"\"";
@@ -111,7 +111,7 @@ _mandabitacora(_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.
//BA.debugLineNum = 141;BA.debugLine="enVenta = False";
_enventa = __c.False;
//BA.debugLineNum = 142;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Colors";
__c.LogImpl("761276174",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
__c.LogImpl("512582926",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
//BA.debugLineNum = 143;BA.debugLine="iniciamosVenta";
_iniciamosventa();
//BA.debugLineNum = 144;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE PEDIDO SET PE";
@@ -138,7 +138,7 @@ _mandabitacora(_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.
//BA.debugLineNum = 156;BA.debugLine="enVenta = True";
_enventa = __c.True;
//BA.debugLineNum = 157;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Color";
__c.LogImpl("761276189",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
__c.LogImpl("512582941",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
}else if(_contadoriniciarventa==1 && _inivenno==__c.False && (_motivonoventa).equals("NO VENTA")) {
//BA.debugLineNum = 160;BA.debugLine="IniVenNO = True";
_inivenno = __c.True;
@@ -147,7 +147,7 @@ _mandabitacora(_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.
//BA.debugLineNum = 162;BA.debugLine="enVenta = True";
_enventa = __c.True;
//BA.debugLineNum = 163;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Color";
__c.LogImpl("761276195",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
__c.LogImpl("512582947",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
}else if(_contadoriniciarventa>1) {
//BA.debugLineNum = 165;BA.debugLine="p_transparenteInicioFin2.Visible = False";
_p_transparenteiniciofin2.setVisible(__c.False);
@@ -156,7 +156,7 @@ _p_transparenteiniciofin2.setVisible(__c.False);
//BA.debugLineNum = 168;BA.debugLine="p_transparenteInicioFin2.Visible = False";
_p_transparenteiniciofin2.setVisible(__c.False);
//BA.debugLineNum = 169;BA.debugLine="LogColor($\">>>>>>>>>>>> EN VENTA : ${enVenta}";
__c.LogImpl("761276201",(">>>>>>>>>>>> EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
__c.LogImpl("512582953",(">>>>>>>>>>>> EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
//BA.debugLineNum = 170;BA.debugLine="End Sub";
return "";
}
@@ -177,7 +177,7 @@ return "";
public String _cargamospanel() throws Exception{
//BA.debugLineNum = 173;BA.debugLine="private Sub cargamosPanel";
//BA.debugLineNum = 174;BA.debugLine="Log(p_transparenteInicioFin2.IsInitialized)";
__c.LogImpl("761341697",BA.ObjectToString(_p_transparenteiniciofin2.IsInitialized()),0);
__c.LogImpl("512648449",BA.ObjectToString(_p_transparenteiniciofin2.IsInitialized()),0);
//BA.debugLineNum = 176;BA.debugLine="If Not(p_transparenteInicioFin2.IsInitialized) Th";
if (__c.Not(_p_transparenteiniciofin2.IsInitialized())) {
//BA.debugLineNum = 178;BA.debugLine="Root2.LoadLayout(\"inicioFinVenta\")";
@@ -242,7 +242,7 @@ return "";
public String _iniciofin() throws Exception{
//BA.debugLineNum = 112;BA.debugLine="Sub inicioFin";
//BA.debugLineNum = 113;BA.debugLine="LogColor($\">>>>>>>>>>>> XX EN VENTA : ${enVenta";
__c.LogImpl("761210625",(">>>>>>>>>>>> XX EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
__c.LogImpl("512517377",(">>>>>>>>>>>> XX EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
//BA.debugLineNum = 115;BA.debugLine="If enVenta = False Then";
if (_enventa==__c.False) {
//BA.debugLineNum = 116;BA.debugLine="p_transparenteInicioFin2.BringToFront";
@@ -283,18 +283,18 @@ public String _jobdone(medicomed.keymon.com.mx.httpjob _job) throws Exception{
medicomed.keymon.com.mx.dbrequestmanager._dbresult _result = null;
//BA.debugLineNum = 224;BA.debugLine="Sub JobDone(Job As HttpJob)";
//BA.debugLineNum = 225;BA.debugLine="Log(\"JOBDONE BITACORA\")";
__c.LogImpl("761669377","JOBDONE BITACORA",0);
__c.LogImpl("512976129","JOBDONE BITACORA",0);
//BA.debugLineNum = 226;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
//BA.debugLineNum = 227;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo";
_result = _reqmanager._handlejob /*medicomed.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
//BA.debugLineNum = 228;BA.debugLine="Log($\"Tag: ${RESULT.tag}, success=${Job.Success}";
__c.LogImpl("761669380",("Tag: "+__c.SmartStringFormatter("",_result.Tag /*Object*/ )+", success="+__c.SmartStringFormatter("",(Object)(_job._success /*boolean*/ ))+""),0);
__c.LogImpl("512976132",("Tag: "+__c.SmartStringFormatter("",_result.Tag /*Object*/ )+", success="+__c.SmartStringFormatter("",(Object)(_job._success /*boolean*/ ))+""),0);
};
//BA.debugLineNum = 231;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) {
//BA.debugLineNum = 233;BA.debugLine="LogColor(\"Error: \" & Job.ErrorMessage, Colors.re";
__c.LogImpl("761669385","Error: "+_job._errormessage /*String*/ ,__c.Colors.Red);
__c.LogImpl("512976137","Error: "+_job._errormessage /*String*/ ,__c.Colors.Red);
}else {
};
//BA.debugLineNum = 237;BA.debugLine="End Sub";
@@ -307,7 +307,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _e = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
//BA.debugLineNum = 37;BA.debugLine="Sub mandaBitacora(fechab As String, usuariob As St";
//BA.debugLineNum = 38;BA.debugLine="Log(motivoNoVisitab)";
__c.LogImpl("761014017",_motivonovisitab,0);
__c.LogImpl("512320769",_motivonovisitab,0);
//BA.debugLineNum = 40;BA.debugLine="Private cmd As DBCommand";
_cmd = new medicomed.keymon.com.mx.dbrequestmanager._dbcommand();
//BA.debugLineNum = 41;BA.debugLine="cmd.Initialize";
@@ -350,7 +350,7 @@ if (_e.getRowCount()>0) {
//BA.debugLineNum = 59;BA.debugLine="e.Position = 0";
_e.setPosition((int) (0));
//BA.debugLineNum = 60;BA.debugLine="Log(\"ACTUALIZA BITACORA\")";
__c.LogImpl("761014039","ACTUALIZA BITACORA",0);
__c.LogImpl("512320791","ACTUALIZA BITACORA",0);
//BA.debugLineNum = 61;BA.debugLine="If eventob = \"Termina Venta\" Then";
if ((_eventob).equals("Termina Venta")) {
//BA.debugLineNum = 62;BA.debugLine="db.ExecNonQuery($\"update BITACORAGPS set finb";

View File

@@ -179,9 +179,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -426,13 +426,13 @@ _h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
//BA.debugLineNum = 2462;BA.debugLine="h.Position = 0";
_h.setPosition((int) (0));
//BA.debugLineNum = 2463;BA.debugLine="Log(h.GetString(\"CUENTA\"))";
__c.LogImpl("754657028",_h.GetString("CUENTA"),0);
__c.LogImpl("516318468",_h.GetString("CUENTA"),0);
//BA.debugLineNum = 2464;BA.debugLine="j = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT a_a";
_j = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono AS CUANTOS FROM ABONOS WHERE a_cliente = ?",new String[]{_h.GetString("CUENTA")})));
//BA.debugLineNum = 2465;BA.debugLine="j.position = 0";
_j.setPosition((int) (0));
//BA.debugLineNum = 2466;BA.debugLine="Log(j.RowCount)";
__c.LogImpl("754657031",BA.NumberToString(_j.getRowCount()),0);
__c.LogImpl("516318471",BA.NumberToString(_j.getRowCount()),0);
//BA.debugLineNum = 2467;BA.debugLine="If j.RowCount = 0 Then";
if (_j.getRowCount()==0) {
//BA.debugLineNum = 2469;BA.debugLine="p_abono.Visible = True";
@@ -458,13 +458,13 @@ _d.setPosition(_i);
//BA.debugLineNum = 2478;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 = 2479;BA.debugLine="Log(d.GetString(\"NOTA\"))";
__c.LogImpl("754657044",_d.GetString("NOTA"),0);
__c.LogImpl("516318484",_d.GetString("NOTA"),0);
//BA.debugLineNum = 2480;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))";
__c.LogImpl("754657045",_d.GetString("SALDO_PENDIENTE"),0);
__c.LogImpl("516318485",_d.GetString("SALDO_PENDIENTE"),0);
//BA.debugLineNum = 2481;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")";
_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_d.GetString("SALDO_PENDIENTE"))));
//BA.debugLineNum = 2482;BA.debugLine="Log(total)";
__c.LogImpl("754657047",_total,0);
__c.LogImpl("516318487",_total,0);
}
};
//BA.debugLineNum = 2484;BA.debugLine="l_montoabonostotal.Text = total";
@@ -555,7 +555,7 @@ if ((_imprimirsolo).equals(BA.NumberToString(1)) == false) {
_imprimirsolo = BA.NumberToString(0);
};
//BA.debugLineNum = 1190;BA.debugLine="Log(imprimirsolo)";
__c.LogImpl("753018628",_imprimirsolo,0);
__c.LogImpl("514680068",_imprimirsolo,0);
//BA.debugLineNum = 1191;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)",new String[]{"PREVENTA_48"})));
//BA.debugLineNum = 1192;BA.debugLine="If c.RowCount > 0 Then";
@@ -662,7 +662,7 @@ _b_ventaabordo.setVisible(__c.False);
//BA.debugLineNum = 273;BA.debugLine="If Subs.hayPedido Then 'Si hay pedido, deshabilit";
if (_subs._haypedido /*boolean*/ (ba)) {
//BA.debugLineNum = 274;BA.debugLine="Log(\">>>>> HAY PEDIDO\")";
__c.LogImpl("751642389",">>>>> HAY PEDIDO",0);
__c.LogImpl("513303829",">>>>> HAY PEDIDO",0);
//BA.debugLineNum = 275;BA.debugLine="Tels.Enabled = False";
_tels.setEnabled(__c.False);
}else {
@@ -909,14 +909,14 @@ _printer1._disconnect /*String*/ ();
//BA.debugLineNum = 442;BA.debugLine="Printer1.Connect";
_printer1._connect /*boolean*/ ();
//BA.debugLineNum = 443;BA.debugLine="Log(\"2\")";
__c.LogImpl("751642558","2",0);
__c.LogImpl("513303998","2",0);
};
//BA.debugLineNum = 446;BA.debugLine="pre_act = Subs.traeTotalClientepreventaparacredit";
_pre_act = (float) (_subs._traetotalclientepreventaparacredito /*double*/ (ba,_la_cuenta.getText()));
//BA.debugLineNum = 447;BA.debugLine="Log(la_cuenta.Text)";
__c.LogImpl("751642562",_la_cuenta.getText(),0);
__c.LogImpl("513304002",_la_cuenta.getText(),0);
//BA.debugLineNum = 448;BA.debugLine="LogColor(Subs.traeTotalClientepreventaparacredito";
__c.LogImpl("751642563",BA.NumberToString(_subs._traetotalclientepreventaparacredito /*double*/ (ba,_la_cuenta.getText())),__c.Colors.Blue);
__c.LogImpl("513304003",BA.NumberToString(_subs._traetotalclientepreventaparacredito /*double*/ (ba,_la_cuenta.getText())),__c.Colors.Blue);
//BA.debugLineNum = 485;BA.debugLine="If la_cuenta.Text = \"0\" Then";
if ((_la_cuenta.getText()).equals("0")) {
//BA.debugLineNum = 486;BA.debugLine="gest.Text = \"Abordo\"";
@@ -954,7 +954,7 @@ _b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*Stri
_gps_locationchanged(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation());
};
//BA.debugLineNum = 514;BA.debugLine="Log(imprimirsolo)";
__c.LogImpl("751642629",_imprimirsolo,0);
__c.LogImpl("513304069",_imprimirsolo,0);
//BA.debugLineNum = 515;BA.debugLine="End Sub";
return "";
}
@@ -1099,7 +1099,7 @@ case 23:
//C
this.state = 24;
//BA.debugLineNum = 640;BA.debugLine="LogColor(\"Hay Venta\", Colors.Red)";
parent.__c.LogImpl("751970070","Hay Venta",parent.__c.Colors.Red);
parent.__c.LogImpl("513631510","Hay Venta",parent.__c.Colors.Red);
//BA.debugLineNum = 641;BA.debugLine="Private resultado1 As Int = Msgbox2($\"Va sali";
_resultado1 = parent.__c.Msgbox2(BA.ObjectToCharSequence(("Va salir sin haber guardado la venta, si continua, la venta se BORRARA."+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"¿Esta seguro que desea continuar?")),BA.ObjectToCharSequence("SE VA A BORRAR LA VENTA"),"Borrar Venta","Guardar Venta","",(android.graphics.Bitmap)(parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png").getObject()),ba);
//BA.debugLineNum = 642;BA.debugLine="If resultado1 = DialogResponse.POSITIVE Then";
@@ -1118,7 +1118,7 @@ case 26:
//C
this.state = 29;
//BA.debugLineNum = 643;BA.debugLine="Log(\"Borrra venta\")";
parent.__c.LogImpl("751970073","Borrra venta",0);
parent.__c.LogImpl("513631513","Borrra venta",0);
//BA.debugLineNum = 644;BA.debugLine="Subs.borraPedidoClienteActual";
parent._subs._borrapedidoclienteactual /*String*/ (ba);
//BA.debugLineNum = 645;BA.debugLine="ToastMessageShow(\"Venta Borrada\", False)";
@@ -1131,7 +1131,7 @@ case 28:
//C
this.state = 29;
//BA.debugLineNum = 649;BA.debugLine="Log(\"Pedido guardado\")";
parent.__c.LogImpl("751970079","Pedido guardado",0);
parent.__c.LogImpl("513631519","Pedido guardado",0);
//BA.debugLineNum = 650;BA.debugLine="Guardar_Click";
parent._guardar_click();
//BA.debugLineNum = 651;BA.debugLine="ToastMessageShow(\"Venta Guardada\", False)";
@@ -1366,7 +1366,7 @@ parent._s.Close();
//BA.debugLineNum = 222;BA.debugLine="bitacora.Initialize(\"bitacora\", \"bitacora\", Root,";
parent._bitacora._initialize /*Object*/ (ba,(Object)("bitacora"),"bitacora",parent._root,parent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ ,parent._reqmanager);
//BA.debugLineNum = 223;BA.debugLine="LogColor(\"---------->Iniciamos Permisos\",Colors.B";
parent.__c.LogImpl("751576877","---------->Iniciamos Permisos",parent.__c.Colors.Blue);
parent.__c.LogImpl("513238317","---------->Iniciamos Permisos",parent.__c.Colors.Blue);
//BA.debugLineNum = 224;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")";
parent._btadmin.Initialize(ba,"BlueTeeth");
//BA.debugLineNum = 226;BA.debugLine="cmp20.Initialize(\"Printer\")";
@@ -1789,7 +1789,7 @@ return null;
public String _cuest_preguntacontestada(anywheresoftware.b4a.objects.collections.Map _m) throws Exception{
//BA.debugLineNum = 2511;BA.debugLine="Sub cuest_preguntaContestada(m As Map)";
//BA.debugLineNum = 2513;BA.debugLine="Log(m)";
__c.LogImpl("754788098",BA.ObjectToString(_m),0);
__c.LogImpl("516449538",BA.ObjectToString(_m),0);
//BA.debugLineNum = 2516;BA.debugLine="m.Get(\"panel\").As(Panel).RemoveView 'Quitamos le";
((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_m.Get((Object)("panel"))))).RemoveView();
//BA.debugLineNum = 2517;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
@@ -1806,7 +1806,7 @@ case 0: {
//BA.debugLineNum = 2523;BA.debugLine="If m.Get(\"respuesta\") = \"No, está enrejado o no";
if ((_m.Get((Object)("respuesta"))).equals((Object)("No, está enrejado o no se tiene acceso"))) {
//BA.debugLineNum = 2524;BA.debugLine="Log(\"Tiendajon / Ventana / Kiosko\")";
__c.LogImpl("754788109","Tiendajon / Ventana / Kiosko",0);
__c.LogImpl("516449549","Tiendajon / Ventana / Kiosko",0);
//BA.debugLineNum = 2525;BA.debugLine="ToastMessageShow(\"Tiendajon / Ventana / Kiosko";
__c.ToastMessageShow(BA.ObjectToCharSequence("Tiendajon / Ventana / Kiosko"),__c.False);
//BA.debugLineNum = 2526;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de";
@@ -1820,7 +1820,7 @@ case 1: {
//BA.debugLineNum = 2531;BA.debugLine="If m.Get(\"respuesta\") = \"Si tiene al menos 2 pa";
if ((_m.Get((Object)("respuesta"))).equals((Object)("Si tiene al menos 2 pasillos con acceso directo a la mercancía"))) {
//BA.debugLineNum = 2532;BA.debugLine="Log(\"Mini-Super\")";
__c.LogImpl("754788117","Mini-Super",0);
__c.LogImpl("516449557","Mini-Super",0);
//BA.debugLineNum = 2533;BA.debugLine="ToastMessageShow(\"Mini-Super\", False)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Mini-Super"),__c.False);
//BA.debugLineNum = 2534;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de";
@@ -1832,11 +1832,11 @@ _cuest._agregapregunta /*String*/ ("3","¿Cuenta con enfriador horizontal para v
break; }
case 2: {
//BA.debugLineNum = 2539;BA.debugLine="Log(\"|\"&m.Get(\"respuesta\")&\"|\")";
__c.LogImpl("754788124","|"+BA.ObjectToString(_m.Get((Object)("respuesta")))+"|",0);
__c.LogImpl("516449564","|"+BA.ObjectToString(_m.Get((Object)("respuesta")))+"|",0);
//BA.debugLineNum = 2540;BA.debugLine="If m.Get(\"respuesta\") = \"Si\" Then";
if ((_m.Get((Object)("respuesta"))).equals((Object)("Si"))) {
//BA.debugLineNum = 2541;BA.debugLine="Log(\"Miscelanea\")";
__c.LogImpl("754788126","Miscelanea",0);
__c.LogImpl("516449566","Miscelanea",0);
//BA.debugLineNum = 2542;BA.debugLine="ToastMessageShow(\"Miscelanea\", False)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Miscelanea"),__c.False);
//BA.debugLineNum = 2543;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de";
@@ -1850,7 +1850,7 @@ case 3: {
//BA.debugLineNum = 2548;BA.debugLine="If m.Get(\"respuesta\") = \"No\" Then";
if ((_m.Get((Object)("respuesta"))).equals((Object)("No"))) {
//BA.debugLineNum = 2549;BA.debugLine="Log(\"Abarrotera\")";
__c.LogImpl("754788134","Abarrotera",0);
__c.LogImpl("516449574","Abarrotera",0);
//BA.debugLineNum = 2550;BA.debugLine="ToastMessageShow(\"Abarrotera\", False)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Abarrotera"),__c.False);
//BA.debugLineNum = 2551;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de";
@@ -1862,7 +1862,7 @@ _cuest._agregapregunta /*String*/ ("5","¿Cual venta especializada?",anywheresof
break; }
case 4: {
//BA.debugLineNum = 2556;BA.debugLine="Log(m.Get(\"respuesta\"))";
__c.LogImpl("754788141",BA.ObjectToString(_m.Get((Object)("respuesta"))),0);
__c.LogImpl("516449581",BA.ObjectToString(_m.Get((Object)("respuesta"))),0);
//BA.debugLineNum = 2557;BA.debugLine="ToastMessageShow(m.Get(\"respuesta\"), False)";
__c.ToastMessageShow(BA.ObjectToCharSequence(_m.Get((Object)("respuesta"))),__c.False);
//BA.debugLineNum = 2562;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de";
@@ -1870,15 +1870,15 @@ _cuest._agregapregunta /*String*/ ("6","¿Cuenta con caja de salida para cobro c
break; }
case 5: {
//BA.debugLineNum = 2565;BA.debugLine="Log(m.Get(\"respuesta\"))";
__c.LogImpl("754788150",BA.ObjectToString(_m.Get((Object)("respuesta"))),0);
__c.LogImpl("516449590",BA.ObjectToString(_m.Get((Object)("respuesta"))),0);
//BA.debugLineNum = 2566;BA.debugLine="ToastMessageShow(m.Get(\"respuesta\"), False)";
__c.ToastMessageShow(BA.ObjectToCharSequence(_m.Get((Object)("respuesta"))),__c.False);
//BA.debugLineNum = 2567;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)";
__c.LogImpl("754788152",">>>>>>>>>> "+BA.ObjectToString(_cuest._encuestainiciada /*boolean*/ ),0);
__c.LogImpl("516449592",">>>>>>>>>> "+BA.ObjectToString(_cuest._encuestainiciada /*boolean*/ ),0);
//BA.debugLineNum = 2568;BA.debugLine="cuest.encuestaIniciada = False";
_cuest._encuestainiciada /*boolean*/ = __c.False;
//BA.debugLineNum = 2569;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)";
__c.LogImpl("754788154",">>>>>>>>>> "+BA.ObjectToString(_cuest._encuestainiciada /*boolean*/ ),0);
__c.LogImpl("516449594",">>>>>>>>>> "+BA.ObjectToString(_cuest._encuestainiciada /*boolean*/ ),0);
//BA.debugLineNum = 2572;BA.debugLine="B4XPage_Appear";
_b4xpage_appear();
break; }
@@ -1899,7 +1899,7 @@ public String _gest_click() throws Exception{
//BA.debugLineNum = 572;BA.debugLine="Starter.BanderaActualizar = \"1\"";
_starter._banderaactualizar /*String*/ = "1";
//BA.debugLineNum = 573;BA.debugLine="Log(\"---------> Estoy en boton 24HRS:\"&Starter.Ba";
__c.LogImpl("751838978","---------> Estoy en boton 24HRS:"+_starter._banderaactualizar /*String*/ ,0);
__c.LogImpl("513500418","---------> Estoy en boton 24HRS:"+_starter._banderaactualizar /*String*/ ,0);
//BA.debugLineNum = 574;BA.debugLine="If la_cuenta.Text = \"0\" Then";
if ((_la_cuenta.getText()).equals("0")) {
//BA.debugLineNum = 575;BA.debugLine="B4XPages.MainPage.tipo_venta = \"ABORDO\"";
@@ -1927,7 +1927,7 @@ _b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*Stri
//BA.debugLineNum = 521;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude());
//BA.debugLineNum = 522;BA.debugLine="Log(\"Coords set to: \" & B4XPages.MainPage.lat_gp";
__c.LogImpl("751707909","Coords set to: "+_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ +" and "+_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,0);
__c.LogImpl("513369349","Coords set to: "+_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ +" and "+_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,0);
};
//BA.debugLineNum = 525;BA.debugLine="If m_lat.Length < 5 Then";
if (_m_lat.length()<5) {
@@ -1938,7 +1938,7 @@ _l2 = new anywheresoftware.b4a.gps.LocationWrapper();
//BA.debugLineNum = 531;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPage";
_l1.Initialize2(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ );
//BA.debugLineNum = 532;BA.debugLine="Log($\"Coordenadas de la tienda - lat:${m_lat}, lo";
__c.LogImpl("751707919",("Coordenadas de la tienda - lat:"+__c.SmartStringFormatter("",(Object)(_m_lat))+", lon:"+__c.SmartStringFormatter("",(Object)(_m_lon))+""),0);
__c.LogImpl("513369359",("Coordenadas de la tienda - lat:"+__c.SmartStringFormatter("",(Object)(_m_lat))+", lon:"+__c.SmartStringFormatter("",(Object)(_m_lon))+""),0);
//BA.debugLineNum = 533;BA.debugLine="l2.Initialize2(m_lat, m_lon)";
_l2.Initialize2(_m_lat,_m_lon);
//BA.debugLineNum = 535;BA.debugLine="BT_QR.Enabled = True";
@@ -1991,9 +1991,9 @@ public String _guadaventa2() throws Exception{
int _cbfactura = 0;
//BA.debugLineNum = 976;BA.debugLine="Sub GUADAVENTA2";
//BA.debugLineNum = 977;BA.debugLine="Log(B4XPages.MainPage.recarga)";
__c.LogImpl("752428801",_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ,0);
__c.LogImpl("514090241",_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ,0);
//BA.debugLineNum = 978;BA.debugLine="Log(\"----> Entramos a guardara venta 2 <-------\")";
__c.LogImpl("752428802","----> Entramos a guardara venta 2 <-------",0);
__c.LogImpl("514090242","----> Entramos a guardara venta 2 <-------",0);
//BA.debugLineNum = 979;BA.debugLine="If B4XPages.MainPage.recarga = \"0\" Then";
if ((_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ).equals("0")) {
//BA.debugLineNum = 980;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
@@ -2077,7 +2077,7 @@ _subs._actualizatet /*String*/ (ba,_la_cuenta.getText());
//BA.debugLineNum = 1029;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
__c.DateTime.setTimeFormat("HH:mm:ss");
//BA.debugLineNum = 1031;BA.debugLine="Log(\"para mostrar que aqui me quedo \")";
__c.LogImpl("752428855","para mostrar que aqui me quedo ",0);
__c.LogImpl("514090295","para mostrar que aqui me quedo ",0);
//BA.debugLineNum = 1034;BA.debugLine="B4XPages.MainPage.productos.reiniciarlistaProds";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._productos /*medicomed.keymon.com.mx.c_productos*/ ._reiniciarlistaprods /*boolean*/ = __c.True;
//BA.debugLineNum = 1035;BA.debugLine="B4XPages.MainPage.productos.prodsMap.Initialize";
@@ -2200,48 +2200,48 @@ _c.setPosition((int) (0));
//BA.debugLineNum = 696;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then";
if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) {
//BA.debugLineNum = 697;BA.debugLine="Log(\"1\")";
__c.LogImpl("752166669","1",0);
__c.LogImpl("513828109","1",0);
//BA.debugLineNum = 698;BA.debugLine="If la_cuenta.Text <> 0 Then";
if ((_la_cuenta.getText()).equals(BA.NumberToString(0)) == false) {
//BA.debugLineNum = 699;BA.debugLine="Log(\"2\")";
__c.LogImpl("752166671","2",0);
__c.LogImpl("513828111","2",0);
//BA.debugLineNum = 700;BA.debugLine="Credi = B4XPages.MainPage.skmt.ExecQuery(\"Sele";
_credi = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info Where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) and CAT_CL_CODIGO NOT IN (SELECT CLIENTE FROM ABONOSP) UNION Select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info Where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) and CAT_CL_CODIGO NOT IN (SELECT CLIENTE FROM ABONOSP)")));
//BA.debugLineNum = 702;BA.debugLine="If Credi.RowCount > 0 Then";
if (_credi.getRowCount()>0) {
//BA.debugLineNum = 703;BA.debugLine="Log(\"3\")";
__c.LogImpl("752166675","3",0);
__c.LogImpl("513828115","3",0);
//BA.debugLineNum = 704;BA.debugLine="Credi.Position = 0";
_credi.setPosition((int) (0));
//BA.debugLineNum = 705;BA.debugLine="If Credi.GetString(\"CAT_CL_BCREDITO\") = \"1\" T";
if ((_credi.GetString("CAT_CL_BCREDITO")).equals("1")) {
//BA.debugLineNum = 706;BA.debugLine="Log(\"4\")";
__c.LogImpl("752166678","4",0);
__c.LogImpl("513828118","4",0);
//BA.debugLineNum = 707;BA.debugLine="If l_total.Text <> \"null\" Then";
if ((_l_total.getText()).equals("null") == false) {
//BA.debugLineNum = 708;BA.debugLine="Log(\"5\")";
__c.LogImpl("752166680","5",0);
__c.LogImpl("513828120","5",0);
//BA.debugLineNum = 709;BA.debugLine="If pre_act <> Starter.pre_viejo Then";
if (_pre_act!=_starter._pre_viejo /*float*/ ) {
//BA.debugLineNum = 710;BA.debugLine="Log(\"6\")";
__c.LogImpl("752166682","6",0);
__c.LogImpl("513828122","6",0);
//BA.debugLineNum = 726;BA.debugLine="GuardaVenta";
_guardaventa();
}else if(_pre_act==_starter._pre_viejo /*float*/ ) {
//BA.debugLineNum = 733;BA.debugLine="Log(\"7\")";
__c.LogImpl("752166705","7",0);
__c.LogImpl("513828145","7",0);
//BA.debugLineNum = 734;BA.debugLine="GuardaVenta";
_guardaventa();
};
}else if((_l_total.getText()).equals("null")) {
//BA.debugLineNum = 737;BA.debugLine="Log(\"8\")";
__c.LogImpl("752166709","8",0);
__c.LogImpl("513828149","8",0);
//BA.debugLineNum = 738;BA.debugLine="GuardaVenta";
_guardaventa();
};
}else if((_credi.GetString("CAT_CL_BCREDITO")).equals("0")) {
//BA.debugLineNum = 743;BA.debugLine="Log(\"9\")";
__c.LogImpl("752166715","9",0);
__c.LogImpl("513828155","9",0);
//BA.debugLineNum = 744;BA.debugLine="GuardaVenta";
_guardaventa();
};
@@ -2260,43 +2260,43 @@ if ((_l_total.getText()).equals("null") == false) {
//BA.debugLineNum = 752;BA.debugLine="If pre_act <> Starter.pre_viejo Then";
if (_pre_act!=_starter._pre_viejo /*float*/ ) {
//BA.debugLineNum = 768;BA.debugLine="Log(\"10\")";
__c.LogImpl("752166740","10",0);
__c.LogImpl("513828180","10",0);
//BA.debugLineNum = 769;BA.debugLine="GuardaVenta";
_guardaventa();
}else if(_pre_act==_starter._pre_viejo /*float*/ ) {
//BA.debugLineNum = 772;BA.debugLine="Log(\"11\")";
__c.LogImpl("752166744","11",0);
__c.LogImpl("513828184","11",0);
//BA.debugLineNum = 773;BA.debugLine="GuardaVenta";
_guardaventa();
};
}else if((_l_total.getText()).equals("null")) {
//BA.debugLineNum = 776;BA.debugLine="Log(\"11\")";
__c.LogImpl("752166748","11",0);
__c.LogImpl("513828188","11",0);
//BA.debugLineNum = 777;BA.debugLine="GuardaVenta";
_guardaventa();
};
}else {
//BA.debugLineNum = 780;BA.debugLine="Log(\"12\")";
__c.LogImpl("752166752","12",0);
__c.LogImpl("513828192","12",0);
//BA.debugLineNum = 781;BA.debugLine="GuardaVenta";
_guardaventa();
};
}else {
//BA.debugLineNum = 784;BA.debugLine="Log(\"13\")";
__c.LogImpl("752166756","13",0);
__c.LogImpl("513828196","13",0);
//BA.debugLineNum = 785;BA.debugLine="GuardaVenta";
_guardaventa();
};
};
}else if((_la_cuenta.getText()).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 790;BA.debugLine="Log(\"14\")";
__c.LogImpl("752166762","14",0);
__c.LogImpl("513828202","14",0);
//BA.debugLineNum = 791;BA.debugLine="GuardaVenta";
_guardaventa();
};
}else if((_c.GetString("CUANTOS")).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 794;BA.debugLine="Log(\"15\")";
__c.LogImpl("752166766","15",0);
__c.LogImpl("513828206","15",0);
//BA.debugLineNum = 798;BA.debugLine="GuardaVenta";
_guardaventa();
};
@@ -2317,7 +2317,7 @@ _comprarar = BA.NumberToString(0);
_comprarar = _l_total.getText();
};
//BA.debugLineNum = 870;BA.debugLine="LogColor(comprarar,Colors.Green)";
__c.LogImpl("752363271",_comprarar,__c.Colors.Green);
__c.LogImpl("514024711",_comprarar,__c.Colors.Green);
//BA.debugLineNum = 871;BA.debugLine="If comprarar = Starter.pre_viejo Then";
if ((_comprarar).equals(BA.NumberToString(_starter._pre_viejo /*float*/ ))) {
//BA.debugLineNum = 872;BA.debugLine="If bitacora.enVenta Then";
@@ -2331,7 +2331,7 @@ _bitacora._iniciofin /*String*/ ();
//BA.debugLineNum = 876;BA.debugLine="banderaimp = 0";
_banderaimp = (int) (0);
//BA.debugLineNum = 877;BA.debugLine="Log(\"2.1\")";
__c.LogImpl("752363278","2.1",0);
__c.LogImpl("514024718","2.1",0);
}else {
//BA.debugLineNum = 879;BA.debugLine="GUADAVENTA2";
_guadaventa2();
@@ -2340,7 +2340,7 @@ _b4xpages._showpage /*String*/ (ba,"Principal");
//BA.debugLineNum = 881;BA.debugLine="banderaimp = 0";
_banderaimp = (int) (0);
//BA.debugLineNum = 882;BA.debugLine="Log(\"2.2\")";
__c.LogImpl("752363283","2.2",0);
__c.LogImpl("514024723","2.2",0);
};
}else {
//BA.debugLineNum = 972;BA.debugLine="GUADAVENTA2";
@@ -2416,7 +2416,7 @@ case 3:
//C
this.state = 4;
//BA.debugLineNum = 2642;BA.debugLine="Log(\"Conectando a impresora ...\")";
parent.__c.LogImpl("754919181","Conectando a impresora ...",0);
parent.__c.LogImpl("516580621","Conectando a impresora ...",0);
//BA.debugLineNum = 2643;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
//BA.debugLineNum = 2644;BA.debugLine="Private cont As Int = 0";
@@ -2445,7 +2445,7 @@ case 49:
this.state = 7;
;
//BA.debugLineNum = 2647;BA.debugLine="Log(\"++++++ \" & cont)";
parent.__c.LogImpl("754919186","++++++ "+BA.NumberToString(_cont),0);
parent.__c.LogImpl("516580626","++++++ "+BA.NumberToString(_cont),0);
//BA.debugLineNum = 2648;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
//BA.debugLineNum = 2649;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de";
@@ -2510,7 +2510,7 @@ case 21:
//C
this.state = 22;
//BA.debugLineNum = 2655;BA.debugLine="Log(\"conectando 2\")";
parent.__c.LogImpl("754919194","conectando 2",0);
parent.__c.LogImpl("516580634","conectando 2",0);
//BA.debugLineNum = 2656;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
//BA.debugLineNum = 2657;BA.debugLine="Private cont As Int = 0";
@@ -2539,7 +2539,7 @@ case 51:
this.state = 25;
;
//BA.debugLineNum = 2660;BA.debugLine="Log(\"****** \" & cont)";
parent.__c.LogImpl("754919199","****** "+BA.NumberToString(_cont),0);
parent.__c.LogImpl("516580639","****** "+BA.NumberToString(_cont),0);
//BA.debugLineNum = 2661;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
//BA.debugLineNum = 2662;BA.debugLine="If cont = 2 Then Printer1.Connect";
@@ -2844,7 +2844,7 @@ _t.Close();
//BA.debugLineNum = 1230;BA.debugLine="Dim IMEI_BASE As String = Starter.IMEI_BASE";
_imei_base = parent._starter._imei_base /*String*/ ;
//BA.debugLineNum = 1231;BA.debugLine="Log(\"IMEI_BASE desde otra clase: \" & IMEI_BASE)";
parent.__c.LogImpl("753149714","IMEI_BASE desde otra clase: "+_imei_base,0);
parent.__c.LogImpl("514811154","IMEI_BASE desde otra clase: "+_imei_base,0);
//BA.debugLineNum = 1233;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ..."));
//BA.debugLineNum = 1234;BA.debugLine="Printer1.DisConnect";
@@ -2865,7 +2865,7 @@ case 7:
//C
this.state = 8;
//BA.debugLineNum = 1236;BA.debugLine="Log(\"Conectando a impresora ...\")";
parent.__c.LogImpl("753149719","Conectando a impresora ...",0);
parent.__c.LogImpl("514811159","Conectando a impresora ...",0);
//BA.debugLineNum = 1237;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
//BA.debugLineNum = 1238;BA.debugLine="Private cont As Int = 0";
@@ -2957,7 +2957,7 @@ case 25:
//C
this.state = 26;
//BA.debugLineNum = 1248;BA.debugLine="Log(\"conectando 2\")";
parent.__c.LogImpl("753149731","conectando 2",0);
parent.__c.LogImpl("514811171","conectando 2",0);
//BA.debugLineNum = 1249;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
//BA.debugLineNum = 1250;BA.debugLine="Private cont As Int = 0";
@@ -2986,7 +2986,7 @@ case 118:
this.state = 29;
;
//BA.debugLineNum = 1253;BA.debugLine="Log(\"****** \" & cont)";
parent.__c.LogImpl("753149736","****** "+BA.NumberToString(_cont),0);
parent.__c.LogImpl("514811176","****** "+BA.NumberToString(_cont),0);
//BA.debugLineNum = 1254;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
//BA.debugLineNum = 1255;BA.debugLine="If cont = 2 Then Printer1.Connect";
@@ -3318,7 +3318,7 @@ case 72:
this.state = 73;
;
//BA.debugLineNum = 1319;BA.debugLine="Log(k1)";
parent.__c.LogImpl("753149802",parent._k1,0);
parent.__c.LogImpl("514811242",parent._k1,0);
//BA.debugLineNum = 1320;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_CANT\")&";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+"Piezas"+parent._blanco+parent._k1+parent._blanco+parent._k2+_elinefeed);
//BA.debugLineNum = 1321;BA.debugLine="TAMANO = 0";
@@ -3424,7 +3424,7 @@ this.state = 92;
//BA.debugLineNum = 1338;BA.debugLine="Printer1.WriteString(\"* \"& s.GetString(\"PE_PR";
parent._printer1._writestring /*String*/ ("* "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
//BA.debugLineNum = 1339;BA.debugLine="Log(\"promo\")";
parent.__c.LogImpl("753149822","promo",0);
parent.__c.LogImpl("514811262","promo",0);
if (true) break;
case 87:
@@ -3846,7 +3846,7 @@ case 7:
//C
this.state = 8;
//BA.debugLineNum = 1464;BA.debugLine="Log(\"Conectando a impresora ...\")";
parent.__c.LogImpl("753215257","Conectando a impresora ...",0);
parent.__c.LogImpl("514876697","Conectando a impresora ...",0);
//BA.debugLineNum = 1465;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
//BA.debugLineNum = 1466;BA.debugLine="Private cont As Int = 0";
@@ -3875,7 +3875,7 @@ case 109:
this.state = 11;
;
//BA.debugLineNum = 1469;BA.debugLine="Log(\"++++++ \" & cont)";
parent.__c.LogImpl("753215262","++++++ "+BA.NumberToString(_cont),0);
parent.__c.LogImpl("514876702","++++++ "+BA.NumberToString(_cont),0);
//BA.debugLineNum = 1470;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
//BA.debugLineNum = 1471;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de";
@@ -3940,7 +3940,7 @@ case 25:
//C
this.state = 26;
//BA.debugLineNum = 1477;BA.debugLine="Log(\"conectando 2\")";
parent.__c.LogImpl("753215270","conectando 2",0);
parent.__c.LogImpl("514876710","conectando 2",0);
//BA.debugLineNum = 1478;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
//BA.debugLineNum = 1479;BA.debugLine="Private cont As Int = 0";
@@ -3969,7 +3969,7 @@ case 111:
this.state = 29;
;
//BA.debugLineNum = 1482;BA.debugLine="Log(\"****** \" & cont)";
parent.__c.LogImpl("753215275","****** "+BA.NumberToString(_cont),0);
parent.__c.LogImpl("514876715","****** "+BA.NumberToString(_cont),0);
//BA.debugLineNum = 1483;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
//BA.debugLineNum = 1484;BA.debugLine="If cont = 2 Then Printer1.Connect";
@@ -4384,7 +4384,7 @@ this.state = 89;
//BA.debugLineNum = 1679;BA.debugLine="Printer1.WriteString(\"* \"& s.GetString(\"PE_PR";
parent._printer1._writestring /*String*/ ("* "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
//BA.debugLineNum = 1680;BA.debugLine="Log(\"promo\")";
parent.__c.LogImpl("753215473","promo",0);
parent.__c.LogImpl("514876913","promo",0);
if (true) break;
case 84:
@@ -4739,7 +4739,7 @@ _records = (Object[])(group21.Get(index21));
//BA.debugLineNum = 2257;BA.debugLine="piezasexiste = records(resultado.Columns.Get(";
_piezasexiste = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT(*)"))))]));
//BA.debugLineNum = 2258;BA.debugLine="Log(piezasexiste)";
__c.LogImpl("754329380",BA.NumberToString(_piezasexiste),0);
__c.LogImpl("515990820",BA.NumberToString(_piezasexiste),0);
//BA.debugLineNum = 2259;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
//BA.debugLineNum = 2260;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
@@ -4807,7 +4807,7 @@ _records = (Object[])(group55.Get(index55));
//BA.debugLineNum = 2310;BA.debugLine="piezasexiste = records(resultado.Columns.Get(";
_piezasexiste = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT(*)"))))]));
//BA.debugLineNum = 2311;BA.debugLine="Log(piezasexiste)";
__c.LogImpl("754329433",BA.NumberToString(_piezasexiste),0);
__c.LogImpl("515990873",BA.NumberToString(_piezasexiste),0);
//BA.debugLineNum = 2312;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
//BA.debugLineNum = 2313;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
@@ -4865,7 +4865,7 @@ _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ );
//BA.debugLineNum = 2373;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_";
_cliente = _cliente.substring((int) (_cliente.indexOf("_")+18));
//BA.debugLineNum = 2374;BA.debugLine="Log($\"Cliente2:${cliente}\"$)";
__c.LogImpl("754329496",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
__c.LogImpl("515990936",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
//BA.debugLineNum = 2375;BA.debugLine="For Each records() As Object In resultado.Rows";
{
final anywheresoftware.b4a.BA.IterableList group90 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
@@ -4883,7 +4883,7 @@ final int groupLen91 = group91.getSize()
for (; index91 < groupLen91;index91++){
_k = BA.ObjectToString(group91.Get(index91));
//BA.debugLineNum = 2377;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record";
__c.LogImpl("754329499",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("515990939",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
@@ -4903,7 +4903,7 @@ _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ );
//BA.debugLineNum = 2389;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_";
_cliente = _cliente.substring((int) (_cliente.indexOf("_")+9));
//BA.debugLineNum = 2390;BA.debugLine="Log($\"Cliente2:${cliente}\"$)";
__c.LogImpl("754329512",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
__c.LogImpl("515990952",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
//BA.debugLineNum = 2391;BA.debugLine="For Each records() As Object In resultado.Rows";
{
final anywheresoftware.b4a.BA.IterableList group104 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
@@ -4921,7 +4921,7 @@ final int groupLen105 = group105.getSize()
for (; index105 < groupLen105;index105++){
_k = BA.ObjectToString(group105.Get(index105));
//BA.debugLineNum = 2393;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record";
__c.LogImpl("754329515",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("515990955",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
@@ -4939,15 +4939,15 @@ if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("insert_cuestionario
//BA.debugLineNum = 2404;BA.debugLine="Private pars() As String = Regex.Split(\"_\", re";
_pars = __c.Regex.Split("_",(BA.ObjectToString(_resultado.Tag /*Object*/ )));
//BA.debugLineNum = 2405;BA.debugLine="Log($\"${resultado.tag}|${pars(0)}\"$)";
__c.LogImpl("754329527",(""+__c.SmartStringFormatter("",_resultado.Tag /*Object*/ )+"|"+__c.SmartStringFormatter("",(Object)(_pars[(int) (0)]))+""),0);
__c.LogImpl("515990967",(""+__c.SmartStringFormatter("",_resultado.Tag /*Object*/ )+"|"+__c.SmartStringFormatter("",(Object)(_pars[(int) (0)]))+""),0);
//BA.debugLineNum = 2406;BA.debugLine="Log($\"${pars(1)}\"$)";
__c.LogImpl("754329528",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (1)]))+""),0);
__c.LogImpl("515990968",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (1)]))+""),0);
//BA.debugLineNum = 2407;BA.debugLine="Log($\"${pars(2)}\"$)";
__c.LogImpl("754329529",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (2)]))+""),0);
__c.LogImpl("515990969",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (2)]))+""),0);
//BA.debugLineNum = 2408;BA.debugLine="Log($\"${pars(3)}\"$)";
__c.LogImpl("754329530",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (3)]))+""),0);
__c.LogImpl("515990970",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (3)]))+""),0);
//BA.debugLineNum = 2409;BA.debugLine="Log($\"${pars(4)}\"$)";
__c.LogImpl("754329531",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (4)]))+""),0);
__c.LogImpl("515990971",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (4)]))+""),0);
//BA.debugLineNum = 2410;BA.debugLine="Private cliente As String = pars(2)";
_cliente = _pars[(int) (2)];
//BA.debugLineNum = 2411;BA.debugLine="Private idPreg As String = pars(3)";
@@ -4955,7 +4955,7 @@ _idpreg = _pars[(int) (3)];
//BA.debugLineNum = 2412;BA.debugLine="Private idResp As String = pars(4)";
_idresp = _pars[(int) (4)];
//BA.debugLineNum = 2413;BA.debugLine="Log($\"Cliente2:${cliente}, preg:${idPreg}, res";
__c.LogImpl("754329535",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+", preg:"+__c.SmartStringFormatter("",(Object)(_idpreg))+", res:"+__c.SmartStringFormatter("",(Object)(_idresp))+""),0);
__c.LogImpl("515990975",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+", preg:"+__c.SmartStringFormatter("",(Object)(_idpreg))+", res:"+__c.SmartStringFormatter("",(Object)(_idresp))+""),0);
//BA.debugLineNum = 2414;BA.debugLine="For Each records() As Object In resultado.Rows";
{
final anywheresoftware.b4a.BA.IterableList group125 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
@@ -4973,7 +4973,7 @@ final int groupLen126 = group126.getSize()
for (; index126 < groupLen126;index126++){
_k = BA.ObjectToString(group126.Get(index126));
//BA.debugLineNum = 2416;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record";
__c.LogImpl("754329538",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("515990978",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
@@ -5000,7 +5000,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _ab = null;
int _i = 0;
//BA.debugLineNum = 2032;BA.debugLine="Sub mandaPendientes";
//BA.debugLineNum = 2034;BA.debugLine="Log(\">>>>>>> MANDA PENDIENTES\")";
__c.LogImpl("754067202",">>>>>>> MANDA PENDIENTES",0);
__c.LogImpl("515728642",">>>>>>> MANDA PENDIENTES",0);
//BA.debugLineNum = 2035;BA.debugLine="Dim PCNoArts As String";
_pcnoarts = "";
//BA.debugLineNum = 2036;BA.debugLine="Dim PCMonto As String";
@@ -5011,7 +5011,7 @@ if ((_usuario).equals("KMTS1") == false) {
_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)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * from ABONOS where a_enviado is null"))));
//BA.debugLineNum = 2074;BA.debugLine="Log(ab.RowCount)";
__c.LogImpl("754067242",BA.NumberToString(_ab.getRowCount()),0);
__c.LogImpl("515728682",BA.NumberToString(_ab.getRowCount()),0);
//BA.debugLineNum = 2075;BA.debugLine="If ab.RowCount > 0 Then";
if (_ab.getRowCount()>0) {
//BA.debugLineNum = 2076;BA.debugLine="For i=0 To ab.RowCount -1";
@@ -5033,7 +5033,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_ab.GetString("a_usuario")
//BA.debugLineNum = 2082;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPe";
_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+"")));
//BA.debugLineNum = 2083;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_c";
__c.LogImpl("754067251",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0);
__c.LogImpl("515728691",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0);
}
};
};
@@ -5049,7 +5049,7 @@ String _pcmonto = "";
int _i = 0;
//BA.debugLineNum = 2142;BA.debugLine="Sub mandaPendientesrecarga";
//BA.debugLineNum = 2144;BA.debugLine="Log(\">>>>>>> MANDA PENDIENTES\")";
__c.LogImpl("754132738",">>>>>>> MANDA PENDIENTES",0);
__c.LogImpl("515794178",">>>>>>> MANDA PENDIENTES",0);
//BA.debugLineNum = 2145;BA.debugLine="Dim PCNoArts As String";
_pcnoarts = "";
//BA.debugLineNum = 2146;BA.debugLine="Dim PCMonto As String";
@@ -5065,7 +5065,7 @@ _d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
//BA.debugLineNum = 2151;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM PEDIDO_CLIENTE";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT * FROM PEDIDO_CLIENTE where PC_ENVIO_OK = 0 AND PC_CLIENTE = 1")));
//BA.debugLineNum = 2152;BA.debugLine="Log($\"Pedido_Cliente PENDIENTE: ${c.RowCount}\"$)";
__c.LogImpl("754132746",("Pedido_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
__c.LogImpl("515794186",("Pedido_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
//BA.debugLineNum = 2153;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
//BA.debugLineNum = 2154;BA.debugLine="For i = 0 To c.RowCount - 1";
@@ -5077,7 +5077,7 @@ for (;_i <= limit11 ;_i = _i + step11 ) {
//BA.debugLineNum = 2155;BA.debugLine="c.Position = i";
_c.setPosition(_i);
//BA.debugLineNum = 2156;BA.debugLine="Log($\"${c.GetString(\"PC_CLIENTE\")}|${c.GetStri";
__c.LogImpl("754132750",(""+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_CLIENTE")))+"|"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_FECHA")))+"|"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_ENVIO_OK")))+"|"),0);
__c.LogImpl("515794190",(""+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_CLIENTE")))+"|"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_FECHA")))+"|"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_ENVIO_OK")))+"|"),0);
//BA.debugLineNum = 2157;BA.debugLine="Dim cmd As DBCommand";
_cmd = new medicomed.keymon.com.mx.dbrequestmanager._dbcommand();
//BA.debugLineNum = 2158;BA.debugLine="cmd.Initialize";
@@ -5100,7 +5100,7 @@ _f.Close();
//BA.debugLineNum = 2169;BA.debugLine="c = skmt.ExecQuery($\"SELECT PE_ENVIO_OK, PE_CEDI";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery(("SELECT PE_ENVIO_OK, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, PE_CANTC, PE_BCAJAS FROM PEDIDO where PE_ENVIO_OK <> 1 AND PE_FOLIO = 'RECARGA'"))));
//BA.debugLineNum = 2170;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)";
__c.LogImpl("754132764",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
__c.LogImpl("515794204",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
//BA.debugLineNum = 2171;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
//BA.debugLineNum = 2172;BA.debugLine="For i=0 To c.RowCount -1";
@@ -5122,7 +5122,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),
//BA.debugLineNum = 2178;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP";
_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_pedidosPendientes_prods_"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CLIENTE")))+"_"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+"")));
//BA.debugLineNum = 2179;BA.debugLine="Log($\">>>> INS_PEDIDO= ${C.GetString(\"PE_CEDI";
__c.LogImpl("754132773",(">>>> INS_PEDIDO= "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CEDIS")))+","+__c.SmartStringFormatter("",(Object)(_almacen))+","+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_COSTO_TOT")))+","+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_COSTOU")))+","+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PRONOMBRE")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CLIENTE")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_FECHA")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_USUARIO")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_RUTA")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_COSTO_SIN")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_DESC")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_FOLIO")))+", "+__c.SmartStringFormatter("",(Object)(_pcnoarts))+", "+__c.SmartStringFormatter("",(Object)(_pcmonto))+""),0);
__c.LogImpl("515794213",(">>>> INS_PEDIDO= "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CEDIS")))+","+__c.SmartStringFormatter("",(Object)(_almacen))+","+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_COSTO_TOT")))+","+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_COSTOU")))+","+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PRONOMBRE")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CLIENTE")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_FECHA")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_USUARIO")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_RUTA")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_COSTO_SIN")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_DESC")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_FOLIO")))+", "+__c.SmartStringFormatter("",(Object)(_pcnoarts))+", "+__c.SmartStringFormatter("",(Object)(_pcmonto))+""),0);
}
};
};
@@ -5196,14 +5196,14 @@ _skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",any
//BA.debugLineNum = 1847;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CA";
_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP"),(Object)(_starter._mac_impresora /*String*/ )}));
//BA.debugLineNum = 1848;BA.debugLine="LogColor(\"Impresora conectada\", Colors.Green)";
__c.LogImpl("753280774","Impresora conectada",__c.Colors.Green);
__c.LogImpl("514942214","Impresora conectada",__c.Colors.Green);
//BA.debugLineNum = 1850;BA.debugLine="impresoraConectada = True";
_impresoraconectada = __c.True;
//BA.debugLineNum = 1851;BA.debugLine="siimprimio = 1";
_siimprimio = BA.NumberToString(1);
}else {
//BA.debugLineNum = 1855;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors";
__c.LogImpl("753280781","Error conectando la impresora",__c.Colors.Red);
__c.LogImpl("514942221","Error conectando la impresora",__c.Colors.Red);
//BA.debugLineNum = 1856;BA.debugLine="errorImpresora = errorImpresora + 1";
_errorimpresora = (int) (_errorimpresora+1);
//BA.debugLineNum = 1857;BA.debugLine="If errorImpresora > 1 Then";
@@ -5399,14 +5399,14 @@ if (true) break;
public String _sc_timedout(boolean _timedout) throws Exception{
//BA.debugLineNum = 1159;BA.debugLine="Sub sc_timedout(timedOut As Boolean)";
//BA.debugLineNum = 1160;BA.debugLine="Log(\"timedOut \" & timedOut)";
__c.LogImpl("752756481","timedOut "+BA.ObjectToString(_timedout),0);
__c.LogImpl("514417921","timedOut "+BA.ObjectToString(_timedout),0);
//BA.debugLineNum = 1161;BA.debugLine="End Sub";
return "";
}
public String _sc_usercancelled(boolean _usercancelled) throws Exception{
//BA.debugLineNum = 1163;BA.debugLine="Sub sc_usercancelled(userCancelled As Boolean)";
//BA.debugLineNum = 1164;BA.debugLine="Log(\"userCancelled \" & userCancelled)";
__c.LogImpl("752822017","userCancelled "+BA.ObjectToString(_usercancelled),0);
__c.LogImpl("514483457","userCancelled "+BA.ObjectToString(_usercancelled),0);
//BA.debugLineNum = 1165;BA.debugLine="End Sub";
return "";
}

View File

@@ -59,9 +59,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -74,7 +74,7 @@ anywheresoftware.b4a.objects.LabelWrapper _label1 = null;
anywheresoftware.b4a.objects.LabelWrapper _label2 = null;
//BA.debugLineNum = 410;BA.debugLine="Private Sub b_buscar_Click";
//BA.debugLineNum = 411;BA.debugLine="Log(CHECK)";
__c.LogImpl("746202881",BA.NumberToString(_check),0);
__c.LogImpl("59895937",BA.NumberToString(_check),0);
//BA.debugLineNum = 412;BA.debugLine="If CHECK = 0 Then";
if (_check==0) {
//BA.debugLineNum = 413;BA.debugLine="l_baseodia.Text = \"Clientes de base de datos\"";
@@ -124,7 +124,7 @@ if (_d.getRowCount()>0) {
//BA.debugLineNum = 436;BA.debugLine="d.Position = 0";
_d.setPosition((int) (0));
//BA.debugLineNum = 437;BA.debugLine="LogColor(d.GetString(\"CAT_CL_BCREDITO\"),Colors";
__c.LogImpl("746202907",_d.GetString("CAT_CL_BCREDITO"),__c.Colors.Blue);
__c.LogImpl("59895963",_d.GetString("CAT_CL_BCREDITO"),__c.Colors.Blue);
//BA.debugLineNum = 438;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then";
if ((_d.GetString("CAT_CL_BCREDITO")).equals("1")) {
//BA.debugLineNum = 439;BA.debugLine="CREDITO.Visible = False";
@@ -224,7 +224,7 @@ if (_d.getRowCount()>0) {
//BA.debugLineNum = 490;BA.debugLine="d.Position = 0";
_d.setPosition((int) (0));
//BA.debugLineNum = 491;BA.debugLine="LogColor(d.GetString(\"CAT_CL_BCREDITO\"),Colors";
__c.LogImpl("746202961",_d.GetString("CAT_CL_BCREDITO"),__c.Colors.Blue);
__c.LogImpl("59896017",_d.GetString("CAT_CL_BCREDITO"),__c.Colors.Blue);
//BA.debugLineNum = 492;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then";
if ((_d.GetString("CAT_CL_BCREDITO")).equals("1")) {
//BA.debugLineNum = 493;BA.debugLine="CREDITO.Visible = False";
@@ -587,7 +587,7 @@ if (_d.getRowCount()>0) {
//BA.debugLineNum = 276;BA.debugLine="d.Position = 0";
_d.setPosition((int) (0));
//BA.debugLineNum = 277;BA.debugLine="LogColor(d.GetString(\"CAT_CL_BCREDITO\"),Colors";
__c.LogImpl("745744200",_d.GetString("CAT_CL_BCREDITO"),__c.Colors.Blue);
__c.LogImpl("59437256",_d.GetString("CAT_CL_BCREDITO"),__c.Colors.Blue);
//BA.debugLineNum = 278;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then";
if ((_d.GetString("CAT_CL_BCREDITO")).equals("1")) {
//BA.debugLineNum = 279;BA.debugLine="CREDITO.Visible = False";
@@ -868,11 +868,11 @@ _subs._guardaclientehorainicio /*String*/ (ba,BA.ObjectToString(_value));
//BA.debugLineNum = 185;BA.debugLine="If B4XPages.MainPage.cliente.bitacora.IsInitiali";
if (_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*medicomed.keymon.com.mx.c_cliente*/ ._bitacora /*medicomed.keymon.com.mx.c_bitacora*/ .IsInitialized /*boolean*/ ()) {
//BA.debugLineNum = 186;BA.debugLine="Log(\"VAMOS A CLIENTE CON ENVENTA = FALSO\")";
__c.LogImpl("745613102","VAMOS A CLIENTE CON ENVENTA = FALSO",0);
__c.LogImpl("59306158","VAMOS A CLIENTE CON ENVENTA = FALSO",0);
//BA.debugLineNum = 187;BA.debugLine="B4XPages.MainPage.cliente.bitacora.iniciamosVen";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*medicomed.keymon.com.mx.c_cliente*/ ._bitacora /*medicomed.keymon.com.mx.c_bitacora*/ ._iniciamosventa /*String*/ ();
//BA.debugLineNum = 188;BA.debugLine="Log(B4XPages.MainPage.cliente.bitacora.enVenta)";
__c.LogImpl("745613104",BA.ObjectToString(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*medicomed.keymon.com.mx.c_cliente*/ ._bitacora /*medicomed.keymon.com.mx.c_bitacora*/ ._enventa /*boolean*/ ),0);
__c.LogImpl("59306160",BA.ObjectToString(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*medicomed.keymon.com.mx.c_cliente*/ ._bitacora /*medicomed.keymon.com.mx.c_bitacora*/ ._enventa /*boolean*/ ),0);
};
//BA.debugLineNum = 191;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
_b4xpages._showpage /*String*/ (ba,"Cliente");
@@ -980,7 +980,7 @@ return "";
public String _sc_noscan() throws Exception{
//BA.debugLineNum = 333;BA.debugLine="Sub sc_noScan";
//BA.debugLineNum = 334;BA.debugLine="Log(\"nothing returned from the scan !!!!!\")";
__c.LogImpl("745940737","nothing returned from the scan !!!!!",0);
__c.LogImpl("59633793","nothing returned from the scan !!!!!",0);
//BA.debugLineNum = 335;BA.debugLine="End Sub";
return "";
}

View File

@@ -40,9 +40,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -63,7 +63,7 @@ if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 162;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU";
_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 163;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
__c.LogImpl("746989318",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
__c.LogImpl("510682374",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
};
}
catch (Exception e9) {
@@ -71,11 +71,11 @@ __c.LogImpl("746989318",("Columna \""+__c.SmartStringFormatter("",(Object)(_colu
try { //BA.debugLineNum = 167;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU";
_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 168;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
__c.LogImpl("746989323",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
__c.LogImpl("510682379",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
}
catch (Exception e13) {
ba.setLastException(e13); //BA.debugLineNum = 170;BA.debugLine="Log(LastException)";
__c.LogImpl("746989325",BA.ObjectToString(__c.LastException(ba)),0);
__c.LogImpl("510682381",BA.ObjectToString(__c.LastException(ba)),0);
};
};
//BA.debugLineNum = 173;BA.debugLine="End Sub";

View File

@@ -50,9 +50,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -32,9 +32,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -58,9 +58,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -263,7 +263,7 @@ _vamoaver.Add((Object)(_c.GetString("PE_FOLIO")));
};
};
//BA.debugLineNum = 106;BA.debugLine="Log($\"EXISTE: ${Existe}\"$)";
__c.LogImpl("762128176",("EXISTE: "+__c.SmartStringFormatter("",(Object)(_existe))+""),0);
__c.LogImpl("517301552",("EXISTE: "+__c.SmartStringFormatter("",(Object)(_existe))+""),0);
//BA.debugLineNum = 109;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select sum(";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) ")));
//BA.debugLineNum = 110;BA.debugLine="If c.RowCount > 0 Then";
@@ -271,7 +271,7 @@ if (_c.getRowCount()>0) {
//BA.debugLineNum = 111;BA.debugLine="C.Position = 0";
_c.setPosition((int) (0));
//BA.debugLineNum = 112;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetStr";
__c.LogImpl("762128182",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0);
__c.LogImpl("517301558",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0);
//BA.debugLineNum = 113;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")";
_l_cant.setText(BA.ObjectToCharSequence(_c.GetString("PC_NOART")));
//BA.debugLineNum = 114;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")";
@@ -446,7 +446,7 @@ public String _listview1_itemlongclick(int _position,Object _value) throws Exce
int _i = 0;
//BA.debugLineNum = 174;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu";
//BA.debugLineNum = 175;BA.debugLine="Log(Value)";
__c.LogImpl("762521345",BA.ObjectToString(_value),0);
__c.LogImpl("517694721",BA.ObjectToString(_value),0);
//BA.debugLineNum = 176;BA.debugLine="If Not(Subs.pedidoGuardado) Then";
if (__c.Not(_subs._pedidoguardado /*boolean*/ (ba))) {
//BA.debugLineNum = 177;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar este a";
@@ -458,24 +458,24 @@ _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
//BA.debugLineNum = 180;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
//BA.debugLineNum = 181;BA.debugLine="Log(vamoaver.Get(Position))";
__c.LogImpl("762521351",BA.ObjectToString(_vamoaver.Get(_position)),0);
__c.LogImpl("517694727",BA.ObjectToString(_vamoaver.Get(_position)),0);
//BA.debugLineNum = 182;BA.debugLine="If vamoaver.Get(Position) = \"PREVENTA_48\" Then";
if ((_vamoaver.Get(_position)).equals((Object)("PREVENTA_48"))) {
//BA.debugLineNum = 183;BA.debugLine="Log(\"CAT_GUNAPROD2\")";
__c.LogImpl("762521353","CAT_GUNAPROD2",0);
__c.LogImpl("517694729","CAT_GUNAPROD2",0);
//BA.debugLineNum = 184;BA.debugLine="Log(Position&\",1\")";
__c.LogImpl("762521354",BA.NumberToString(_position)+",1",0);
__c.LogImpl("517694730",BA.NumberToString(_position)+",1",0);
//BA.debugLineNum = 185;BA.debugLine="Log(Value&\",1\")";
__c.LogImpl("762521355",BA.ObjectToString(_value)+",1",0);
__c.LogImpl("517694731",BA.ObjectToString(_value)+",1",0);
//BA.debugLineNum = 186;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\"";
_starter._tabla /*String*/ = "CAT_GUNAPROD2";
}else {
//BA.debugLineNum = 188;BA.debugLine="Log(\"CAT_GUNAPROD\")";
__c.LogImpl("762521358","CAT_GUNAPROD",0);
__c.LogImpl("517694734","CAT_GUNAPROD",0);
//BA.debugLineNum = 189;BA.debugLine="Log(Position&\",2\")";
__c.LogImpl("762521359",BA.NumberToString(_position)+",2",0);
__c.LogImpl("517694735",BA.NumberToString(_position)+",2",0);
//BA.debugLineNum = 190;BA.debugLine="Log(Value&\",2\")";
__c.LogImpl("762521360",BA.ObjectToString(_value)+",2",0);
__c.LogImpl("517694736",BA.ObjectToString(_value)+",2",0);
//BA.debugLineNum = 191;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\"";
_starter._tabla /*String*/ = "CAT_GUNAPROD";
};
@@ -486,19 +486,19 @@ _c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjec
//BA.debugLineNum = 197;BA.debugLine="c2.Position=0";
_c2.setPosition((int) (0));
//BA.debugLineNum = 198;BA.debugLine="Log(\"aqui entre1\")";
__c.LogImpl("762521368","aqui entre1",0);
__c.LogImpl("517694744","aqui entre1",0);
//BA.debugLineNum = 199;BA.debugLine="If c2.GetString(\"CUANTOS\") > 0 Then";
if ((double)(Double.parseDouble(_c2.GetString("CUANTOS")))>0) {
//BA.debugLineNum = 200;BA.debugLine="Log(\"aqui entre\")";
__c.LogImpl("762521370","aqui entre",0);
__c.LogImpl("517694746","aqui entre",0);
//BA.debugLineNum = 201;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT";
_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PRONOMBRE = ? and PE_FOLIO = ?)",new String[]{BA.ObjectToString(_value),BA.ObjectToString(_vamoaver.Get(_position))})));
//BA.debugLineNum = 202;BA.debugLine="Log(j3.RowCount)";
__c.LogImpl("762521372",BA.NumberToString(_j3.getRowCount()),0);
__c.LogImpl("517694748",BA.NumberToString(_j3.getRowCount()),0);
//BA.debugLineNum = 204;BA.debugLine="If j3.RowCount > 0 Then";
if (_j3.getRowCount()>0) {
//BA.debugLineNum = 205;BA.debugLine="Log(\"estoy aqui\")";
__c.LogImpl("762521375","estoy aqui",0);
__c.LogImpl("517694751","estoy aqui",0);
//BA.debugLineNum = 206;BA.debugLine="For i = 0 To j3.RowCount -1";
{
final int step29 = 1;
@@ -506,7 +506,7 @@ final int limit29 = (int) (_j3.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit29 ;_i = _i + step29 ) {
//BA.debugLineNum = 207;BA.debugLine="Log(\"aqui tronare?\")";
__c.LogImpl("762521377","aqui tronare?",0);
__c.LogImpl("517694753","aqui tronare?",0);
//BA.debugLineNum = 208;BA.debugLine="j3.Position = i";
_j3.setPosition(_i);
//BA.debugLineNum = 209;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update";
@@ -522,7 +522,7 @@ _b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywher
_j3.Close();
}else {
//BA.debugLineNum = 216;BA.debugLine="Log(\"aqui entre2\")";
__c.LogImpl("762521386","aqui entre2",0);
__c.LogImpl("517694762","aqui entre2",0);
//BA.debugLineNum = 218;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update CA";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+"'"));
//BA.debugLineNum = 219;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update CA";

View File

@@ -54,9 +54,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -261,7 +261,7 @@ __c.DateTime.setTimeFormat("HH:mm:ss");
//BA.debugLineNum = 136;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update PEDI";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update PEDIDO_INICIO_FINAL set PIF_HORA_FINAL = ? where PIF_CLIENTE = ? and PIF_HORA_FINAL = 0",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__c.DateTime.getNow()),(Object)(_cuenta)}));
//BA.debugLineNum = 137;BA.debugLine="LogColor($\"actualizamos \"${cuenta}, hora_final=$";
__c.LogImpl("763111227",("actualizamos \""+__c.SmartStringFormatter("",(Object)(_cuenta))+", hora_final="+__c.SmartStringFormatter("",(Object)(__c.DateTime.getNow()))+""),__c.Colors.Red);
__c.LogImpl("518284603",("actualizamos \""+__c.SmartStringFormatter("",(Object)(_cuenta))+", hora_final="+__c.SmartStringFormatter("",(Object)(__c.DateTime.getNow()))+""),__c.Colors.Red);
//BA.debugLineNum = 140;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTime.";
_bitacora._mandabitacora /*String*/ (_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_usuario,_subs._traealmacen /*String*/ (ba),_subs._traerutabitacora /*String*/ (ba),"NO VENTA",_subs._traecliente /*String*/ (ba),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,BA.NumberToString(2),_motivo,BA.ObjectToString(_r_1.getChecked()));
//BA.debugLineNum = 142;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
@@ -284,14 +284,14 @@ Object[] _records = null;
String _k = "";
//BA.debugLineNum = 163;BA.debugLine="Sub JobDone(Job As HttpJob)";
//BA.debugLineNum = 164;BA.debugLine="Log(Job.Success)";
__c.LogImpl("763242241",BA.ObjectToString(_job._success /*boolean*/ ),0);
__c.LogImpl("518415617",BA.ObjectToString(_job._success /*boolean*/ ),0);
//BA.debugLineNum = 165;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) {
//BA.debugLineNum = 166;BA.debugLine="ToastMessageShow(\"Error: \" & Job.ErrorMessage, Tr";
__c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_job._errormessage /*String*/ ),__c.True);
}else {
//BA.debugLineNum = 168;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job)";
__c.LogImpl("763242245","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*medicomed.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*medicomed.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
__c.LogImpl("518415621","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*medicomed.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*medicomed.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
//BA.debugLineNum = 169;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
//BA.debugLineNum = 170;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJob";
@@ -303,7 +303,7 @@ _cliente = BA.ObjectToString(_resultado.Tag /*Object*/ );
//BA.debugLineNum = 173;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_\"";
_cliente = _cliente.substring((int) (_cliente.indexOf("_")+9));
//BA.debugLineNum = 174;BA.debugLine="Log($\"Cliente1:${cliente}\"$)";
__c.LogImpl("763242251",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
__c.LogImpl("518415627",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
//BA.debugLineNum = 175;BA.debugLine="Starter.skmt.ExecNonQuery($\"update NOVENTA set";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update NOVENTA set NV_ENVIO_OK = '1' where NV_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_cliente))+"'"));
//BA.debugLineNum = 176;BA.debugLine="For Each records() As Object In resultado.Rows";
@@ -323,7 +323,7 @@ final int groupLen14 = group14.getSize()
for (; index14 < groupLen14;index14++){
_k = BA.ObjectToString(group14.Get(index14));
//BA.debugLineNum = 178;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & records";
__c.LogImpl("763242255",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("518415631",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
@@ -343,7 +343,7 @@ medicomed.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null;
//BA.debugLineNum = 148;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FR";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM NOVENTA where ifnull(NV_ENVIO_OK, 0) <> 1")));
//BA.debugLineNum = 149;BA.debugLine="Log($\"NO VENTA PENDIENTE: ${c.RowCount}\"$)";
__c.LogImpl("763176708",("NO VENTA PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
__c.LogImpl("518350084",("NO VENTA PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
//BA.debugLineNum = 150;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
//BA.debugLineNum = 151;BA.debugLine="For i=0 To c.RowCount -1";

View File

@@ -81,9 +81,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -313,7 +313,7 @@ case 7:
//C
this.state = 10;
//BA.debugLineNum = 67;BA.debugLine="Log(\"Con permisos para escritura\")";
parent.__c.LogImpl("77864330","Con permisos para escritura",0);
parent.__c.LogImpl("58126474","Con permisos para escritura",0);
if (true) break;
case 9:
@@ -355,7 +355,7 @@ case 13:
//C
this.state = 16;
//BA.debugLineNum = 74;BA.debugLine="Log(\"Con permisos para escritura\")";
parent.__c.LogImpl("77864337","Con permisos para escritura",0);
parent.__c.LogImpl("58126481","Con permisos para escritura",0);
if (true) break;
case 15:
@@ -633,7 +633,7 @@ _sdate = __c.DateTime.Date(__c.DateTime.getNow());
//BA.debugLineNum = 191;BA.debugLine="sTime = DateTime.Time(DateTime.Now)";
_stime = __c.DateTime.Time(__c.DateTime.getNow());
//BA.debugLineNum = 192;BA.debugLine="Log($\" //////////// Date: ${sDate} - Tim";
__c.LogImpl("78126479",(" //////////// Date: "+__c.SmartStringFormatter("",(Object)(_sdate))+" - Time: "+__c.SmartStringFormatter("",(Object)(_stime))+" ////////////////"),0);
__c.LogImpl("58388623",(" //////////// Date: "+__c.SmartStringFormatter("",(Object)(_sdate))+" - Time: "+__c.SmartStringFormatter("",(Object)(_stime))+" ////////////////"),0);
//BA.debugLineNum = 193;BA.debugLine="Private hora As String = sTime.SubString2(";
_hora = _stime.substring((int) (0),(int) (2));
//BA.debugLineNum = 194;BA.debugLine="Private mins As String = sTime.SubString2(";
@@ -643,7 +643,7 @@ _segs = _stime.substring((int) (4));
//BA.debugLineNum = 196;BA.debugLine="sTime = hora & \":\" & mins & \":\" & segs";
_stime = _hora+":"+_mins+":"+_segs;
//BA.debugLineNum = 197;BA.debugLine="Log(\"////////////// sTime: \"&sTime&\" /////";
__c.LogImpl("78126484","////////////// sTime: "+_stime+" ////////////////",0);
__c.LogImpl("58388628","////////////// sTime: "+_stime+" ////////////////",0);
//BA.debugLineNum = 198;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_CL_";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA FROM kmt_info")));
//BA.debugLineNum = 199;BA.debugLine="c.Position = 0";
@@ -653,7 +653,7 @@ _no_ruta = _c.GetString("CAT_CL_RUTA");
//BA.debugLineNum = 201;BA.debugLine="no_cliente = \"N\" & sTime & no_ruta";
_no_cliente = "N"+_stime+_no_ruta;
//BA.debugLineNum = 202;BA.debugLine="Log(\"++ ++ no_cliente = \"&no_cliente)";
__c.LogImpl("78126489","++ ++ no_cliente = "+_no_cliente,0);
__c.LogImpl("58388633","++ ++ no_cliente = "+_no_cliente,0);
//BA.debugLineNum = 203;BA.debugLine="c.Close";
_c.Close();
//BA.debugLineNum = 204;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO km";

View File

@@ -82,9 +82,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -1012,7 +1012,7 @@ _h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
//BA.debugLineNum = 442;BA.debugLine="h.Position=0";
_h.setPosition((int) (0));
//BA.debugLineNum = 443;BA.debugLine="Log(111)";
__c.LogImpl("763701071",BA.NumberToString(111),0);
__c.LogImpl("518874447",BA.NumberToString(111),0);
//BA.debugLineNum = 444;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)((double)(Double.parseDouble(_precio_cero))*(double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_precio_cero),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_h.GetString("CAT_GP_NOMBRE")),(Object)(_f.GetString("CAT_DP_IDPROD")),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )}));
//BA.debugLineNum = 445;BA.debugLine="h.Close";
@@ -1026,7 +1026,7 @@ _f.Close();
//BA.debugLineNum = 450;BA.debugLine="e.Close";
_e.Close();
//BA.debugLineNum = 451;BA.debugLine="Log(222)";
__c.LogImpl("763701079",BA.NumberToString(222),0);
__c.LogImpl("518874455",BA.NumberToString(222),0);
//BA.debugLineNum = 452;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)(0),(Object)(0),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )}));
//BA.debugLineNum = 453;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update c";
@@ -1094,7 +1094,7 @@ _h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
//BA.debugLineNum = 485;BA.debugLine="h.Position=0";
_h.setPosition((int) (0));
//BA.debugLineNum = 486;BA.debugLine="Log(333)";
__c.LogImpl("763701114",BA.NumberToString(333),0);
__c.LogImpl("518874490",BA.NumberToString(333),0);
//BA.debugLineNum = 487;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PRECIO")))*(double)(Double.parseDouble(_cantidad.getText()))*(double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))),(Object)(_f.GetString("CAT_DP_PRECIO")),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_h.GetString("CAT_GP_NOMBRE")),(Object)(_f.GetString("CAT_DP_IDPROD")),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )}));
//BA.debugLineNum = 488;BA.debugLine="h.Close";
@@ -1107,7 +1107,7 @@ _f.Close();
//BA.debugLineNum = 492;BA.debugLine="e.Close";
_e.Close();
//BA.debugLineNum = 493;BA.debugLine="Log(444)";
__c.LogImpl("763701121",BA.NumberToString(444),0);
__c.LogImpl("518874497",BA.NumberToString(444),0);
//BA.debugLineNum = 494;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)(0),(Object)(0),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )}));
//BA.debugLineNum = 495;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat";
@@ -1156,7 +1156,7 @@ _c.setPosition((int) (0));
//BA.debugLineNum = 517;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
_usuario = _c.GetString("USUARIO");
//BA.debugLineNum = 518;BA.debugLine="Log(555)";
__c.LogImpl("763701146",BA.NumberToString(555),0);
__c.LogImpl("518874522",BA.NumberToString(555),0);
//BA.debugLineNum = 519;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)((double)(Double.parseDouble(_cantidad.getText()))*(double)(Double.parseDouble(_l_precio.getText()))),(Object)(_l_precio.getText()),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_preciosin),(Object)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )}));
//BA.debugLineNum = 520;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat";

File diff suppressed because it is too large Load Diff

View File

@@ -114,9 +114,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -136,13 +136,13 @@ public String _b_continuar_click() throws Exception{
anywheresoftware.b4a.objects.collections.Map _m = null;
//BA.debugLineNum = 895;BA.debugLine="Private Sub b_continuar_Click";
//BA.debugLineNum = 896;BA.debugLine="Log(\"b_continuar_Click\")";
__c.LogImpl("749610753","b_continuar_Click",0);
__c.LogImpl("520512769","b_continuar_Click",0);
//BA.debugLineNum = 897;BA.debugLine="cuentaProds";
_cuentaprods();
//BA.debugLineNum = 899;BA.debugLine="Log($\"prodsMap=${prodsMap}\"$)";
__c.LogImpl("749610756",("prodsMap="+__c.SmartStringFormatter("",(Object)(_prodsmap.getObject()))+""),0);
__c.LogImpl("520512772",("prodsMap="+__c.SmartStringFormatter("",(Object)(_prodsmap.getObject()))+""),0);
//BA.debugLineNum = 906;BA.debugLine="Log(\"promos-inv, prods-inv, cat-vis\")";
__c.LogImpl("749610763","promos-inv, prods-inv, cat-vis",0);
__c.LogImpl("520512779","promos-inv, prods-inv, cat-vis",0);
//BA.debugLineNum = 907;BA.debugLine="lv_promos.Visible = False";
_lv_promos.setVisible(__c.False);
//BA.debugLineNum = 908;BA.debugLine="clv_prods_ll.AsView.Visible = False";
@@ -154,7 +154,7 @@ _lv_tipo.setVisible(__c.False);
//BA.debugLineNum = 911;BA.debugLine="lv_catalogos.Visible = True";
_lv_catalogos.setVisible(__c.True);
//BA.debugLineNum = 912;BA.debugLine="Log(\"Continuar\")";
__c.LogImpl("749610769","Continuar",0);
__c.LogImpl("520512785","Continuar",0);
//BA.debugLineNum = 913;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual";
_m = new anywheresoftware.b4a.objects.collections.Map();
_m = _subs._traetotalesclienteactual /*anywheresoftware.b4a.objects.collections.Map*/ (ba);
@@ -222,7 +222,7 @@ _inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywher
//BA.debugLineNum = 640;BA.debugLine="Private existencias As String = clv_prods_ll.GetV";
_existencias = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("almacen")));
//BA.debugLineNum = 641;BA.debugLine="Log($\"Existencias: ${existencias}\"$)";
__c.LogImpl("749283088",("Existencias: "+__c.SmartStringFormatter("",(Object)(_existencias))+""),0);
__c.LogImpl("520185104",("Existencias: "+__c.SmartStringFormatter("",(Object)(_existencias))+""),0);
//BA.debugLineNum = 642;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = \"0\" ' Inic";
if ((_lacant.getText()).equals("")) {
_lacant.setText(BA.ObjectToCharSequence("0"));};
@@ -242,7 +242,7 @@ _inv = BA.NumberToString((double)(Double.parseDouble(_inv))-_sumaminima);
_lacant.setText(BA.ObjectToCharSequence(__c.NumberFormat2((((int)(Double.parseDouble(_lacant.getText())))+_sumaminima),(int) (1),(int) (0),(int) (0),__c.False)));
}else {
//BA.debugLineNum = 655;BA.debugLine="Log(\"No hay inventario suficiente para realizar";
__c.LogImpl("749283102","No hay inventario suficiente para realizar la suma.",0);
__c.LogImpl("520185118","No hay inventario suficiente para realizar la suma.",0);
};
//BA.debugLineNum = 658;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i";
_nombrex = _subs._traeprodnombre /*String*/ (ba,_id);
@@ -255,7 +255,7 @@ _panelcajas.setVisible(__c.False);
_panelcajas.setVisible(__c.True);
};
//BA.debugLineNum = 668;BA.debugLine="LogColor(laCant.Text, Colors.Red)";
__c.LogImpl("749283115",_lacant.getText(),__c.Colors.Red);
__c.LogImpl("520185131",_lacant.getText(),__c.Colors.Red);
//BA.debugLineNum = 671;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,";
_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,((int)(Double.parseDouble(_lacant.getText()))),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0));
//BA.debugLineNum = 672;BA.debugLine="cuentaProds";
@@ -283,12 +283,12 @@ if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) a
//BA.debugLineNum = 684;BA.debugLine="Private maxcajas As Int = 0";
_maxcajas = (int) (0);
//BA.debugLineNum = 685;BA.debugLine="Log(\"cajas a 0\")";
__c.LogImpl("749283132","cajas a 0",0);
__c.LogImpl("520185148","cajas a 0",0);
}else {
//BA.debugLineNum = 687;BA.debugLine="Private maxcajas As Int = invActualizado / clv_";
_maxcajas = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion")))));
//BA.debugLineNum = 688;BA.debugLine="Log(\"cajas no a 0\")";
__c.LogImpl("749283135","cajas no a 0",0);
__c.LogImpl("520185151","cajas no a 0",0);
};
//BA.debugLineNum = 691;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.Red)";
if (2==2) {
@@ -353,7 +353,7 @@ _precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anyw
//BA.debugLineNum = 559;BA.debugLine="Private inv As String = clv_prods_ll.GetValue(ind";
_inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("almacen")));
//BA.debugLineNum = 560;BA.debugLine="Log($\"Existencias: ${inv}\"$)";
__c.LogImpl("749217551",("Existencias: "+__c.SmartStringFormatter("",(Object)(_inv))+""),0);
__c.LogImpl("520119567",("Existencias: "+__c.SmartStringFormatter("",(Object)(_inv))+""),0);
//BA.debugLineNum = 561;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = \"0\" ' Inic";
if ((_lacant.getText()).equals("")) {
_lacant.setText(BA.ObjectToCharSequence("0"));};
@@ -373,7 +373,7 @@ _inv = BA.NumberToString((double)(Double.parseDouble(_inv))+_restaminima);
_lacant.setText(BA.ObjectToCharSequence(__c.NumberFormat2((_cantidadactual-_restaminima),(int) (1),(int) (0),(int) (0),__c.False)));
}else {
//BA.debugLineNum = 574;BA.debugLine="Log(\"No es posible reducir más, cantidad mínima";
__c.LogImpl("749217565","No es posible reducir más, cantidad mínima alcanzada.",0);
__c.LogImpl("520119581","No es posible reducir más, cantidad mínima alcanzada.",0);
};
//BA.debugLineNum = 577;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i";
_nombrex = _subs._traeprodnombre /*String*/ (ba,_id);
@@ -386,7 +386,7 @@ _panelcajas.setVisible(__c.False);
_panelcajas.setVisible(__c.True);
};
//BA.debugLineNum = 587;BA.debugLine="LogColor(laCant.Text, Colors.Red)";
__c.LogImpl("749217578",_lacant.getText(),__c.Colors.Red);
__c.LogImpl("520119594",_lacant.getText(),__c.Colors.Red);
//BA.debugLineNum = 589;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,";
_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,((int)(Double.parseDouble(_lacant.getText()))),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0));
//BA.debugLineNum = 590;BA.debugLine="cuentaProds";
@@ -414,12 +414,12 @@ if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) a
//BA.debugLineNum = 602;BA.debugLine="Private maxcajas As Int = 0";
_maxcajas = (int) (0);
//BA.debugLineNum = 603;BA.debugLine="Log(\"cajas a 0\")";
__c.LogImpl("749217594","cajas a 0",0);
__c.LogImpl("520119610","cajas a 0",0);
}else {
//BA.debugLineNum = 605;BA.debugLine="Private maxcajas As Int = invActualizado / clv_";
_maxcajas = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion")))));
//BA.debugLineNum = 606;BA.debugLine="Log(\"cajas no a 0\")";
__c.LogImpl("749217597","cajas no a 0",0);
__c.LogImpl("520119613","cajas no a 0",0);
};
//BA.debugLineNum = 609;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.Red)";
if (2==2) {
@@ -432,12 +432,12 @@ if (_maxcajas>0) {
//BA.debugLineNum = 613;BA.debugLine="panelcajas.Visible = True";
_panelcajas.setVisible(__c.True);
//BA.debugLineNum = 614;BA.debugLine="Log(\"eSTOY AQUI<---------\")";
__c.LogImpl("749217605","eSTOY AQUI<---------",0);
__c.LogImpl("520119621","eSTOY AQUI<---------",0);
}else {
//BA.debugLineNum = 616;BA.debugLine="panelcajas.Visible = False";
_panelcajas.setVisible(__c.False);
//BA.debugLineNum = 617;BA.debugLine="Log(\"------>eSTOY AQUI2\")";
__c.LogImpl("749217608","------>eSTOY AQUI2",0);
__c.LogImpl("520119624","------>eSTOY AQUI2",0);
};
}else if((double)(Double.parseDouble(_lacant.getText()))>0) {
//BA.debugLineNum = 620;BA.debugLine="panelcajas.Visible = False";
@@ -505,12 +505,12 @@ _b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._promos /*medic
//BA.debugLineNum = 994;BA.debugLine="clv_prods_ll.Clear";
_clv_prods_ll._clear();
//BA.debugLineNum = 995;BA.debugLine="Log(\"Positivo\")";
__c.LogImpl("750069514","Positivo",0);
__c.LogImpl("520971530","Positivo",0);
//BA.debugLineNum = 996;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
_b4xpages._showpage /*String*/ (ba,"Cliente");
}else {
//BA.debugLineNum = 998;BA.debugLine="Log(\"NO Positivo\")";
__c.LogImpl("750069517","NO Positivo",0);
__c.LogImpl("520971533","NO Positivo",0);
//BA.debugLineNum = 999;BA.debugLine="p_vistaPreviaTrans.Visible = False";
_p_vistapreviatrans.setVisible(__c.False);
};
@@ -696,7 +696,7 @@ case 6:
this.state = 7;
;
//BA.debugLineNum = 145;BA.debugLine="LogColor(\"------------------------>\"&B4XPages.Mai";
parent.__c.LogImpl("748627718","------------------------>"+parent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,parent.__c.Colors.Yellow);
parent.__c.LogImpl("519529734","------------------------>"+parent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,parent.__c.Colors.Yellow);
//BA.debugLineNum = 146;BA.debugLine="clienteId = Subs.traeCliente";
parent._clienteid = parent._subs._traecliente /*String*/ (ba);
//BA.debugLineNum = 147;BA.debugLine="rutaUsuario = Subs.traeRuta(Subs.traeCliente)";
@@ -842,7 +842,7 @@ this.state = 23;
//BA.debugLineNum = 189;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select CA";
parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))"),new String[]{"PROMOS","PROMOS"})));
//BA.debugLineNum = 190;BA.debugLine="LogColor($\"select CAT_GP_ID, CAT_GP_NOMBRE, CAT_";
parent.__c.LogImpl("748627763",("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))"),parent.__c.Colors.Cyan);
parent.__c.LogImpl("519529779",("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))"),parent.__c.Colors.Cyan);
//BA.debugLineNum = 192;BA.debugLine="Private hayPromos As Boolean = False";
_haypromos = parent.__c.False;
//BA.debugLineNum = 193;BA.debugLine="If c2.RowCount > 0 Then";
@@ -861,7 +861,7 @@ case 25:
//C
this.state = 26;
//BA.debugLineNum = 194;BA.debugLine="Log(\"Esto es un conteo --->\"&c2.RowCount) 'Isaa";
parent.__c.LogImpl("748627767","Esto es un conteo --->"+BA.NumberToString(parent._c2.getRowCount()),0);
parent.__c.LogImpl("519529783","Esto es un conteo --->"+BA.NumberToString(parent._c2.getRowCount()),0);
//BA.debugLineNum = 195;BA.debugLine="For i=0 To c2.RowCount -1";
if (true) break;
@@ -892,7 +892,7 @@ this.state = 29;
//BA.debugLineNum = 196;BA.debugLine="c2.Position = i";
parent._c2.setPosition(_i);
//BA.debugLineNum = 197;BA.debugLine="Log(\"Esto es i----->\"& i)'Isaac";
parent.__c.LogImpl("748627770","Esto es i----->"+BA.NumberToString(_i),0);
parent.__c.LogImpl("519529786","Esto es i----->"+BA.NumberToString(_i),0);
//BA.debugLineNum = 198;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G";
_tm = new anywheresoftware.b4a.objects.collections.Map();
_tm = parent._subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,parent._c2.GetString("CAT_GP_ID"),parent._clienteid);
@@ -925,7 +925,7 @@ case 33:
this.state = 34;
;
//BA.debugLineNum = 203;BA.debugLine="Log(hayPromos)";
parent.__c.LogImpl("748627776",BA.ObjectToString(_haypromos),0);
parent.__c.LogImpl("519529792",BA.ObjectToString(_haypromos),0);
//BA.debugLineNum = 204;BA.debugLine="If hayPromos Then lv_catalogos.AddSingleLine(\"P";
if (true) break;
@@ -952,7 +952,7 @@ case 41:
//C
this.state = 42;
//BA.debugLineNum = 206;BA.debugLine="Log(\"NO HAY PROMOS\")";
parent.__c.LogImpl("748627779","NO HAY PROMOS",0);
parent.__c.LogImpl("519529795","NO HAY PROMOS",0);
if (true) break;
case 42:
@@ -1285,7 +1285,7 @@ for (;_i <= limit18 ;_i = _i + step18 ) {
//BA.debugLineNum = 119;BA.debugLine="c.Position=i";
_c.setPosition(_i);
//BA.debugLineNum = 120;BA.debugLine="Log(\"ENTRE AQUI EN PROMOS create\")";
__c.LogImpl("748562198","ENTRE AQUI EN PROMOS create",0);
__c.LogImpl("519464214","ENTRE AQUI EN PROMOS create",0);
//BA.debugLineNum = 121;BA.debugLine="lv_tipo.AddSingleLine(c.GetString(\"CAT_GP_TIPO\"";
_lv_tipo.AddSingleLine(BA.ObjectToCharSequence(_c.GetString("CAT_GP_TIPO")));
}
@@ -1424,7 +1424,7 @@ this.state = -1;
_p = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_p = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select DISTINCT CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_DP_CONVERSION1, CAT_DP_PRECIO4, PE_BCAJAS, CAT_DP_CANT_MIN_VENTA from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_NOMBRE like '%"+parent.__c.SmartStringFormatter("",(Object)(_new))+"%' AND CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN > 0 And CAT_GP_CLASIF <> 'PROMOS' and CAT_GP_CLASIF IN ("+parent.__c.SmartStringFormatter("",(Object)(_marcas))+") AND CAT_GP_CLASIF <> 'ALEN PROMOCIONES' union all select DISTINCT CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_DP_CONVERSION1, CAT_DP_PRECIO4 , PE_BCAJAS, CAT_DP_CANT_MIN_VENTA from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN = 0 And CAT_GP_CLASIF <> 'PROMOS' and CAT_GP_CLASIF IN ("+parent.__c.SmartStringFormatter("",(Object)(_marcas))+") AND CAT_GP_CLASIF <> 'ALEN PROMOCIONES' and cat_gp_id in (select pe_proid from pedido where pe_cliente in (select cuenta from cuentaa)) order by 2"))));
//BA.debugLineNum = 1261;BA.debugLine="Log(\"Llamamos LlenaProdsLL\")";
parent.__c.LogImpl("750462741","Llamamos LlenaProdsLL",0);
parent.__c.LogImpl("521364757","Llamamos LlenaProdsLL",0);
//BA.debugLineNum = 1262;BA.debugLine="LlenaProdsLL(p)";
parent._llenaprodsll(_p);
//BA.debugLineNum = 1281;BA.debugLine="End Sub";
@@ -1719,7 +1719,7 @@ if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) a
//BA.debugLineNum = 1199;BA.debugLine="Private maxcajas As Int = 0";
_maxcajas = (int) (0);
//BA.debugLineNum = 1200;BA.debugLine="Log(\"cajas a 0\")";
__c.LogImpl("750397269","cajas a 0",0);
__c.LogImpl("521299285","cajas a 0",0);
}else {
//BA.debugLineNum = 1202;BA.debugLine="Private maxcajas As Int = clv_prods_ll.GetVal";
_maxcajas = (int) ((double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("almacen"))))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("conversion")))));
@@ -1739,11 +1739,11 @@ _p_botmasmenc.setVisible(__c.False);
//BA.debugLineNum = 1217;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"almac";
if ((double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("almacen"))))<(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("conversion"))))) {
//BA.debugLineNum = 1218;BA.debugLine="Log(clv_prods_ll.GetValue(i).As(Map).Get(\"can";
__c.LogImpl("750397287",BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))),0);
__c.LogImpl("521299303",BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))),0);
//BA.debugLineNum = 1219;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"cant";
if (((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant")))))==0) {
//BA.debugLineNum = 1220;BA.debugLine="Log(\"Aqui debemos ponerlo invisible\")";
__c.LogImpl("750397289","Aqui debemos ponerlo invisible",0);
__c.LogImpl("521299305","Aqui debemos ponerlo invisible",0);
//BA.debugLineNum = 1221;BA.debugLine="p_botMasMenc.Visible = False";
_p_botmasmenc.setVisible(__c.False);
}else {
@@ -1767,7 +1767,7 @@ return null;
public String _cuentaprods() throws Exception{
//BA.debugLineNum = 813;BA.debugLine="Sub cuentaProds";
//BA.debugLineNum = 815;BA.debugLine="Log(\"===========================\")";
__c.LogImpl("749479682","===========================",0);
__c.LogImpl("520381698","===========================",0);
//BA.debugLineNum = 816;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(PE_COSTO_TOT) as total, sum(PE_CANT) as cant from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_clienteid))+"'"))));
@@ -1794,7 +1794,7 @@ anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null;
String _id = "";
//BA.debugLineNum = 696;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo";
//BA.debugLineNum = 697;BA.debugLine="LogColor($\"focus changed=${HasFocus}\"$, Colors.Ma";
__c.LogImpl("749348609",("focus changed="+__c.SmartStringFormatter("",(Object)(_hasfocus))+""),__c.Colors.Magenta);
__c.LogImpl("520250625",("focus changed="+__c.SmartStringFormatter("",(Object)(_hasfocus))+""),__c.Colors.Magenta);
//BA.debugLineNum = 698;BA.debugLine="If et_pCant.Text = \"\" Then et_pCant.Text = \"0\"";
if ((_et_pcant.getText()).equals("")) {
_et_pcant.setText(BA.ObjectToCharSequence("0"));};
@@ -1820,7 +1820,7 @@ _lacant.setText(BA.ObjectToCharSequence("0"));};
//BA.debugLineNum = 706;BA.debugLine="etCantHasFocus = HasFocus";
_etcanthasfocus = _hasfocus;
//BA.debugLineNum = 707;BA.debugLine="LogColor(laCant.Text,Colors.Red)";
__c.LogImpl("749348619",_lacant.getText(),__c.Colors.Red);
__c.LogImpl("520250635",_lacant.getText(),__c.Colors.Red);
//BA.debugLineNum = 708;BA.debugLine="If laCant2.IsInitialized Then";
if (_lacant2.IsInitialized()) {
//BA.debugLineNum = 709;BA.debugLine="totalcajasmaspiezas = laCant.Text + laCant2.Text";
@@ -1857,7 +1857,7 @@ int _maxcajas = 0;
//BA.debugLineNum = 722;BA.debugLine="If etCantHasFocus = True Then";
if (_etcanthasfocus==__c.True) {
//BA.debugLineNum = 723;BA.debugLine="LogColor($\"txt changed: ${Old}|${New}, hasfocus=";
__c.LogImpl("749414148",("txt changed: "+__c.SmartStringFormatter("",(Object)(_old))+"|"+__c.SmartStringFormatter("",(Object)(_new))+", hasfocus="+__c.SmartStringFormatter("",(Object)(_etcanthasfocus))+""),__c.Colors.Magenta);
__c.LogImpl("520316164",("txt changed: "+__c.SmartStringFormatter("",(Object)(_old))+"|"+__c.SmartStringFormatter("",(Object)(_new))+", hasfocus="+__c.SmartStringFormatter("",(Object)(_etcanthasfocus))+""),__c.Colors.Magenta);
//BA.debugLineNum = 724;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(";
_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
//BA.debugLineNum = 725;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(inde";
@@ -1906,7 +1906,7 @@ _new = BA.NumberToString(0);};
if ((_lacant.getText()).equals("")) {
_lacant.setText(BA.ObjectToCharSequence(0));};
//BA.debugLineNum = 748;BA.debugLine="LogColor(laCant.Text,Colors.Red)";
__c.LogImpl("749414173",_lacant.getText(),__c.Colors.Red);
__c.LogImpl("520316189",_lacant.getText(),__c.Colors.Red);
//BA.debugLineNum = 750;BA.debugLine="If New > 0 Then";
if ((double)(Double.parseDouble(_new))>0) {
//BA.debugLineNum = 751;BA.debugLine="panelcajas.Visible = False";
@@ -1918,7 +1918,7 @@ _panelcajas.setVisible(__c.True);
//BA.debugLineNum = 762;BA.debugLine="If Not(Old = \"0\" And New = \"\") And laCant.Text <";
if (__c.Not((_old).equals("0") && (_new).equals("")) && _lacant.getText()!= null && (_lacant.getText()).equals("") == false && _etcanthasfocus) {
//BA.debugLineNum = 763;BA.debugLine="Log(\"actualizamos producto\")";
__c.LogImpl("749414188","actualizamos producto",0);
__c.LogImpl("520316204","actualizamos producto",0);
//BA.debugLineNum = 764;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio";
_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,(int)(Double.parseDouble(_lacant.getText())),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0));
//BA.debugLineNum = 765;BA.debugLine="cuentaProds";
@@ -1940,7 +1940,7 @@ _o.setPosition((int) (0));
//BA.debugLineNum = 785;BA.debugLine="invActualizado = Subs.traeinventario(id)";
_invactualizado = _subs._traeinventario /*String*/ (ba,_id);
//BA.debugLineNum = 786;BA.debugLine="Log(Subs.traeinventario(id))";
__c.LogImpl("749414211",_subs._traeinventario /*String*/ (ba,_id),0);
__c.LogImpl("520316227",_subs._traeinventario /*String*/ (ba,_id),0);
//BA.debugLineNum = 789;BA.debugLine="If New = \"\" Then New = 0";
if ((_new).equals("")) {
_new = BA.NumberToString(0);};
@@ -1949,12 +1949,12 @@ if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) a
//BA.debugLineNum = 791;BA.debugLine="Private maxcajas As Int = 0";
_maxcajas = (int) (0);
//BA.debugLineNum = 792;BA.debugLine="Log(\"cajas a 0\")";
__c.LogImpl("749414217","cajas a 0",0);
__c.LogImpl("520316233","cajas a 0",0);
}else {
//BA.debugLineNum = 794;BA.debugLine="Private maxcajas As Int = invActualizado/clv_p";
_maxcajas = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion")))));
//BA.debugLineNum = 795;BA.debugLine="Log(\"cajas no a 0\")";
__c.LogImpl("749414220","cajas no a 0",0);
__c.LogImpl("520316236","cajas no a 0",0);
};
//BA.debugLineNum = 797;BA.debugLine="lProdX.Text = cs.Color(Colors.red).append(nombr";
_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+(_subs._traeinventario /*String*/ (ba,_id)))).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas))+""))).PopAll().getObject()));
@@ -1986,7 +1986,7 @@ anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null;
String _id = "";
//BA.debugLineNum = 1562;BA.debugLine="Private Sub et_pCantc_FocusChanged (HasFocus As Bo";
//BA.debugLineNum = 1563;BA.debugLine="LogColor($\"focus changed=${HasFocus}\"$, Colors.Ma";
__c.LogImpl("750659329",("focus changed="+__c.SmartStringFormatter("",(Object)(_hasfocus))+""),__c.Colors.Magenta);
__c.LogImpl("521561345",("focus changed="+__c.SmartStringFormatter("",(Object)(_hasfocus))+""),__c.Colors.Magenta);
//BA.debugLineNum = 1564;BA.debugLine="If et_pCantc.Text = \"\" Then et_pCantc.Text = \"0\"";
if ((_et_pcantc.getText()).equals("")) {
_et_pcantc.setText(BA.ObjectToCharSequence("0"));};
@@ -2081,12 +2081,12 @@ _preciocaja = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map)
//BA.debugLineNum = 1607;BA.debugLine="invTotal = Subs.traeinventario(id)";
_invtotal = (int)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)));
//BA.debugLineNum = 1608;BA.debugLine="Log(\"inventario total \"& invTotal)";
__c.LogImpl("750724887","inventario total "+BA.NumberToString(_invtotal),0);
__c.LogImpl("521626903","inventario total "+BA.NumberToString(_invtotal),0);
//BA.debugLineNum = 1609;BA.debugLine="If(New = \"\" Or New = Null Or New = \"-\") Then New";
if (((_new).equals("") || _new== null || (_new).equals("-"))) {
_new = BA.NumberToString(0);};
//BA.debugLineNum = 1611;BA.debugLine="Log(($\"new*conversion ${New * conversion} > ${i";
__c.LogImpl("750724890",(("new*conversion "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_new))*(double)(Double.parseDouble(_conversion))))+" > "+__c.SmartStringFormatter("",(Object)(_invtotal))+" = "+__c.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_new))*(double)(Double.parseDouble(_conversion)))>_invtotal)))+"")),0);
__c.LogImpl("521626906",(("new*conversion "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_new))*(double)(Double.parseDouble(_conversion))))+" > "+__c.SmartStringFormatter("",(Object)(_invtotal))+" = "+__c.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_new))*(double)(Double.parseDouble(_conversion)))>_invtotal)))+"")),0);
//BA.debugLineNum = 1612;BA.debugLine="If((New * conversion) > invTotal) Then";
if ((((double)(Double.parseDouble(_new))*(double)(Double.parseDouble(_conversion)))>_invtotal)) {
//BA.debugLineNum = 1614;BA.debugLine="Sender.As(EditText).text = 0";
@@ -2096,10 +2096,10 @@ _new = BA.NumberToString(0);
//BA.debugLineNum = 1617;BA.debugLine="pnl.GetView(2).Visible = True";
_pnl.GetView((int) (2)).setVisible(__c.True);
//BA.debugLineNum = 1618;BA.debugLine="Log(\"ponemos en 0\")";
__c.LogImpl("750724897","ponemos en 0",0);
__c.LogImpl("521626913","ponemos en 0",0);
};
//BA.debugLineNum = 1622;BA.debugLine="Log(\"inventario total despues de max \"& invTotal";
__c.LogImpl("750724901","inventario total despues de max "+BA.NumberToString(_invtotal),0);
__c.LogImpl("521626917","inventario total despues de max "+BA.NumberToString(_invtotal),0);
//BA.debugLineNum = 1624;BA.debugLine="If New = \"\" Then New = 0";
if ((_new).equals("")) {
_new = BA.NumberToString(0);};
@@ -2109,7 +2109,7 @@ _lacant2.setText(BA.ObjectToCharSequence(0));};
//BA.debugLineNum = 1628;BA.debugLine="If New > 0 Then";
if ((double)(Double.parseDouble(_new))>0) {
//BA.debugLineNum = 1629;BA.debugLine="Log(\"lo ocultamos\")";
__c.LogImpl("750724908","lo ocultamos",0);
__c.LogImpl("521626924","lo ocultamos",0);
//BA.debugLineNum = 1630;BA.debugLine="panelpiezas.Visible = False";
_panelpiezas.setVisible(__c.False);
}else if((_new).equals(BA.NumberToString(0))) {
@@ -2117,15 +2117,15 @@ _panelpiezas.setVisible(__c.False);
_panelpiezas.setVisible(__c.True);
};
//BA.debugLineNum = 1640;BA.debugLine="Log(\"InvTotal: \" & invTotal)";
__c.LogImpl("750724919","InvTotal: "+BA.NumberToString(_invtotal),0);
__c.LogImpl("521626935","InvTotal: "+BA.NumberToString(_invtotal),0);
//BA.debugLineNum = 1642;BA.debugLine="If Not(Old = \"0\" And New = \"\") And laCant2.Text";
if (__c.Not((_old).equals("0") && (_new).equals("")) && _lacant2.getText()!= null && (_lacant2.getText()).equals("") == false && _etcanthasfocus) {
//BA.debugLineNum = 1643;BA.debugLine="If invTotal - (laCant2.Text * conversion) >= 0";
if (_invtotal-((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))>=0) {
//BA.debugLineNum = 1644;BA.debugLine="LogColor(\"validacion inventariio \" & (invTotal";
__c.LogImpl("750724923","validacion inventariio "+BA.NumberToString((_invtotal-((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion))))),__c.Colors.Blue);
__c.LogImpl("521626939","validacion inventariio "+BA.NumberToString((_invtotal-((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion))))),__c.Colors.Blue);
//BA.debugLineNum = 1645;BA.debugLine="Log(\"actualizamos producto\")";
__c.LogImpl("750724924","actualizamos producto",0);
__c.LogImpl("521626940","actualizamos producto",0);
//BA.debugLineNum = 1646;BA.debugLine="Subs.actualizaProducto2(Subs.traeAlmacen, pre";
_subs._actualizaproducto2 /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_preciocaja,(int) (((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,_lacant2.getText(),BA.NumberToString(1));
//BA.debugLineNum = 1647;BA.debugLine="cuentaProds";
@@ -2136,11 +2136,11 @@ _totalcajaspermi = (int) (_invtotal/(double)(double)(Double.parseDouble(_convers
//BA.debugLineNum = 1650;BA.debugLine="laCant2.Text = totalcajaspermi";
_lacant2.setText(BA.ObjectToCharSequence(_totalcajaspermi));
//BA.debugLineNum = 1651;BA.debugLine="Log(\"cajas permitidas total por guerra \"& tota";
__c.LogImpl("750724930","cajas permitidas total por guerra "+BA.NumberToString(_totalcajaspermi),0);
__c.LogImpl("521626946","cajas permitidas total por guerra "+BA.NumberToString(_totalcajaspermi),0);
};
};
//BA.debugLineNum = 1654;BA.debugLine="LogColor(\"la cant2 \" & laCant2.Text,Colors.Green";
__c.LogImpl("750724933","la cant2 "+_lacant2.getText(),__c.Colors.Green);
__c.LogImpl("521626949","la cant2 "+_lacant2.getText(),__c.Colors.Green);
//BA.debugLineNum = 1667;BA.debugLine="If 1 = 1 Then";
if (1==1) {
//BA.debugLineNum = 1668;BA.debugLine="Private cs As CSBuilder";
@@ -2157,7 +2157,7 @@ _o.setPosition((int) (0));
//BA.debugLineNum = 1674;BA.debugLine="invActualizado = Subs.traeinventario(id)";
_invactualizado = _subs._traeinventario /*String*/ (ba,_id);
//BA.debugLineNum = 1675;BA.debugLine="Log(Subs.traeinventario(id))";
__c.LogImpl("750724954",_subs._traeinventario /*String*/ (ba,_id),0);
__c.LogImpl("521626970",_subs._traeinventario /*String*/ (ba,_id),0);
//BA.debugLineNum = 1678;BA.debugLine="If New = \"\" Then New = 0";
if ((_new).equals("")) {
_new = BA.NumberToString(0);};
@@ -2166,12 +2166,12 @@ if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) a
//BA.debugLineNum = 1680;BA.debugLine="Private maxcajas2 As Int = 0";
_maxcajas2 = (int) (0);
//BA.debugLineNum = 1681;BA.debugLine="Log(\"cajas a 0\")";
__c.LogImpl("750724960","cajas a 0",0);
__c.LogImpl("521626976","cajas a 0",0);
}else {
//BA.debugLineNum = 1683;BA.debugLine="Private maxcajas2 As Int = invActualizado/clv_";
_maxcajas2 = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion")))));
//BA.debugLineNum = 1684;BA.debugLine="Log(\"cajas no a 0\")";
__c.LogImpl("750724963","cajas no a 0",0);
__c.LogImpl("521626979","cajas no a 0",0);
};
//BA.debugLineNum = 1686;BA.debugLine="lProdX.Text = cs.Color(Colors.red).append(nombr";
_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+(_subs._traeinventario /*String*/ (ba,_id)))).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas2))+""))).PopAll().getObject()));
@@ -2215,14 +2215,14 @@ _cant1 = _p.GetView((int) (2)).GetView((int) (2));
//BA.debugLineNum = 1110;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S";
_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
//BA.debugLineNum = 1112;BA.debugLine="Log(cant1.Text)";
__c.LogImpl("750331655",_cant1.getText(),0);
__c.LogImpl("521233671",_cant1.getText(),0);
//BA.debugLineNum = 1113;BA.debugLine="End Sub";
return "";
}
public String _l_prodx_longclick() throws Exception{
//BA.debugLineNum = 918;BA.debugLine="Private Sub l_prodX_LongClick";
//BA.debugLineNum = 919;BA.debugLine="Log(\"longclic = \"&Sender.as(Label).tag)";
__c.LogImpl("749676289","longclic = "+BA.ObjectToString(((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(__c.Sender(ba)))).getTag()),0);
__c.LogImpl("520578305","longclic = "+BA.ObjectToString(((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(__c.Sender(ba)))).getTag()),0);
//BA.debugLineNum = 920;BA.debugLine="l_info.Text = Sender.as(Label).tag";
_l_info.setText(BA.ObjectToCharSequence(((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(__c.Sender(ba)))).getTag()));
//BA.debugLineNum = 921;BA.debugLine="l_info.Visible = True";
@@ -2251,7 +2251,7 @@ anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null;
int _pr = 0;
//BA.debugLineNum = 1283;BA.debugLine="Sub LlenaProdsLL(p As ResultSet)";
//BA.debugLineNum = 1284;BA.debugLine="Log(\"Iniciamos LlenaProdsLL\")";
__c.LogImpl("750528257","Iniciamos LlenaProdsLL",0);
__c.LogImpl("521430273","Iniciamos LlenaProdsLL",0);
//BA.debugLineNum = 1285;BA.debugLine="listaProds.Initialize";
_listaprods.Initialize();
//BA.debugLineNum = 1286;BA.debugLine="If hayPedido Then 'Si hay pedido obtenemos las ca";
@@ -2264,7 +2264,7 @@ _cantsmap.Initialize();
_pe = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_pe = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select distinct PE_PROID, PE_CANT, PE_CANTC, PE_BCAJAS from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_clienteid))+"' and PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ))+"'"))));
//BA.debugLineNum = 1291;BA.debugLine="LogColor(\"||||||||||||||||||||||||||>\"&B4XPages.";
__c.LogImpl("750528264","||||||||||||||||||||||||||>"+_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,__c.Colors.Yellow);
__c.LogImpl("521430280","||||||||||||||||||||||||||>"+_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,__c.Colors.Yellow);
//BA.debugLineNum = 1293;BA.debugLine="Do While pe.NextRow";
while (_pe.NextRow()) {
//BA.debugLineNum = 1294;BA.debugLine="Private cant As Int = 0";
@@ -2278,7 +2278,7 @@ _cantsmap.Put((Object)(_pe.GetString("PE_PROID")),(Object)(_pe.GetString("PE_CAN
_cantsmap.Put((Object)(_pe.GetString("PE_PROID")),(Object)(_pe.GetString("PE_CANTC")));
};
//BA.debugLineNum = 1300;BA.debugLine="Log(clienteId &\"|||||\"&pe.GetString(\"PE_PROID\")";
__c.LogImpl("750528273",_clienteid+"|||||"+_pe.GetString("PE_PROID")+"|||||"+_pe.GetString("PE_CANT"),0);
__c.LogImpl("521430289",_clienteid+"|||||"+_pe.GetString("PE_PROID")+"|||||"+_pe.GetString("PE_CANT"),0);
}
;
//BA.debugLineNum = 1302;BA.debugLine="pe.Close";
@@ -2288,7 +2288,7 @@ _pe.Close();
if (_p.IsInitialized()) {
}else {
//BA.debugLineNum = 1309;BA.debugLine="LogColor(Starter.tabla,Colors.blue)";
__c.LogImpl("750528282",_starter._tabla /*String*/ ,__c.Colors.Blue);
__c.LogImpl("521430298",_starter._tabla /*String*/ ,__c.Colors.Blue);
//BA.debugLineNum = 1312;BA.debugLine="Dim marcas As String = \"\"";
_marcas = "";
//BA.debugLineNum = 1313;BA.debugLine="Dim m As Cursor = B4XPages.MainPage.skmt.ExecQue";
@@ -2312,7 +2312,7 @@ _cant = (int) (0);
//BA.debugLineNum = 1324;BA.debugLine="If hayPedido And cantsMap.ContainsKey(p.GetStrin";
if (_haypedido && _cantsmap.ContainsKey((Object)(_p.GetString("CAT_GP_ID")))) {
//BA.debugLineNum = 1325;BA.debugLine="Log(p.GetString(\"CAT_GP_ID\"))";
__c.LogImpl("750528298",_p.GetString("CAT_GP_ID"),0);
__c.LogImpl("521430314",_p.GetString("CAT_GP_ID"),0);
//BA.debugLineNum = 1326;BA.debugLine="cant = cantsMap.Get(p.GetString(\"CAT_GP_ID\"))";
_cant = (int)(BA.ObjectToNumber(_cantsmap.Get((Object)(_p.GetString("CAT_GP_ID")))));
};
@@ -2554,7 +2554,7 @@ parent._busca.setText(BA.ObjectToCharSequence(""));
//BA.debugLineNum = 333;BA.debugLine="Dim cliente As C_Cliente = B4XPages.GetPage(\"Clie";
_cliente = (medicomed.keymon.com.mx.c_cliente)(parent._b4xpages._getpage /*Object*/ (ba,"Cliente"));
//BA.debugLineNum = 334;BA.debugLine="Log($\"value=${Value}\"$)";
parent.__c.LogImpl("748824324",("value="+parent.__c.SmartStringFormatter("",_value)+""),0);
parent.__c.LogImpl("519726340",("value="+parent.__c.SmartStringFormatter("",_value)+""),0);
//BA.debugLineNum = 335;BA.debugLine="If Value = \"PROMOS\" And cliente.cuenta <> \"N\" The";
if (true) break;
@@ -2602,7 +2602,7 @@ case 8:
//C
this.state = 11;
//BA.debugLineNum = 344;BA.debugLine="LogColor(\"Promos\", Colors.red)";
parent.__c.LogImpl("748824334","Promos",parent.__c.Colors.Red);
parent.__c.LogImpl("519726350","Promos",parent.__c.Colors.Red);
//BA.debugLineNum = 345;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C";
parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD = ? AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) ) ORDER BY 1"),new String[]{BA.ObjectToString(_value),parent._marca,parent._tipo})));
if (true) break;
@@ -2611,7 +2611,7 @@ case 10:
//C
this.state = 11;
//BA.debugLineNum = 347;BA.debugLine="LogColor(\"Catalogo\", Colors.red)";
parent.__c.LogImpl("748824337","Catalogo",parent.__c.Colors.Red);
parent.__c.LogImpl("519726353","Catalogo",parent.__c.Colors.Red);
//BA.debugLineNum = 348;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery($\"select CAT";
parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD <> 'PROMOS' "))));
if (true) break;
@@ -2637,7 +2637,7 @@ parent._lv_promos.setVisible(parent.__c.False);
//BA.debugLineNum = 353;BA.debugLine="lfila.text = \"CATALOGO\"";
parent._lfila.setText(BA.ObjectToCharSequence("CATALOGO"));
//BA.debugLineNum = 354;BA.debugLine="Log(\"PGS\")";
parent.__c.LogImpl("748824344","PGS",0);
parent.__c.LogImpl("519726360","PGS",0);
//BA.debugLineNum = 355;BA.debugLine="ProgressDialogShow(\"Cargando catalogo ...\")";
parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Cargando catalogo ..."));
//BA.debugLineNum = 356;BA.debugLine="Sleep(100)";
@@ -2655,9 +2655,9 @@ parent._llenacatalogo(BA.ObjectToString(parent.__c.False));
//BA.debugLineNum = 359;BA.debugLine="clv_prods_ll.AsView.Visible = True";
parent._clv_prods_ll._asview().setVisible(parent.__c.True);
//BA.debugLineNum = 360;BA.debugLine="Log(\"PGH\")";
parent.__c.LogImpl("748824350","PGH",0);
parent.__c.LogImpl("519726366","PGH",0);
//BA.debugLineNum = 361;BA.debugLine="LogColor(\"TIEMPO DE PROCESO DEL CATALOGO: \" & ((";
parent.__c.LogImpl("748824351","TIEMPO DE PROCESO DEL CATALOGO: "+BA.NumberToString(((parent.__c.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),parent.__c.Colors.Red);
parent.__c.LogImpl("519726367","TIEMPO DE PROCESO DEL CATALOGO: "+BA.NumberToString(((parent.__c.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),parent.__c.Colors.Red);
//BA.debugLineNum = 362;BA.debugLine="ProgressDialogHide";
parent.__c.ProgressDialogHide();
//BA.debugLineNum = 363;BA.debugLine="c2.Close";
@@ -2829,24 +2829,24 @@ _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
//BA.debugLineNum = 1019;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
//BA.debugLineNum = 1020;BA.debugLine="Log(vamoaver.Get(Position))";
__c.LogImpl("750200583",BA.ObjectToString(_vamoaver.Get(_position)),0);
__c.LogImpl("521102599",BA.ObjectToString(_vamoaver.Get(_position)),0);
//BA.debugLineNum = 1021;BA.debugLine="If vamoaver.Get(Position) = \"PREVENTA_48\" Then";
if ((_vamoaver.Get(_position)).equals((Object)("PREVENTA_48"))) {
//BA.debugLineNum = 1022;BA.debugLine="Log(\"CAT_GUNAPROD2\")";
__c.LogImpl("750200585","CAT_GUNAPROD2",0);
__c.LogImpl("521102601","CAT_GUNAPROD2",0);
//BA.debugLineNum = 1023;BA.debugLine="Log(Position&\",1\")";
__c.LogImpl("750200586",BA.NumberToString(_position)+",1",0);
__c.LogImpl("521102602",BA.NumberToString(_position)+",1",0);
//BA.debugLineNum = 1024;BA.debugLine="Log(Value&\",1\")";
__c.LogImpl("750200587",BA.ObjectToString(_value)+",1",0);
__c.LogImpl("521102603",BA.ObjectToString(_value)+",1",0);
//BA.debugLineNum = 1025;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\"";
_starter._tabla /*String*/ = "CAT_GUNAPROD2";
}else {
//BA.debugLineNum = 1027;BA.debugLine="Log(\"CAT_GUNAPROD\")";
__c.LogImpl("750200590","CAT_GUNAPROD",0);
__c.LogImpl("521102606","CAT_GUNAPROD",0);
//BA.debugLineNum = 1028;BA.debugLine="Log(Position&\",2\")";
__c.LogImpl("750200591",BA.NumberToString(_position)+",2",0);
__c.LogImpl("521102607",BA.NumberToString(_position)+",2",0);
//BA.debugLineNum = 1029;BA.debugLine="Log(Value&\",2\")";
__c.LogImpl("750200592",BA.ObjectToString(_value)+",2",0);
__c.LogImpl("521102608",BA.ObjectToString(_value)+",2",0);
//BA.debugLineNum = 1030;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\"";
_starter._tabla /*String*/ = "CAT_GUNAPROD";
};
@@ -2857,19 +2857,19 @@ _c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjec
//BA.debugLineNum = 1036;BA.debugLine="c2.Position=0";
_c2.setPosition((int) (0));
//BA.debugLineNum = 1037;BA.debugLine="Log(\"aqui entre1\")";
__c.LogImpl("750200600","aqui entre1",0);
__c.LogImpl("521102616","aqui entre1",0);
//BA.debugLineNum = 1038;BA.debugLine="If c2.GetString(\"CUANTOS\") > 0 Then";
if ((double)(Double.parseDouble(_c2.GetString("CUANTOS")))>0) {
//BA.debugLineNum = 1039;BA.debugLine="Log(\"aqui entre\")";
__c.LogImpl("750200602","aqui entre",0);
__c.LogImpl("521102618","aqui entre",0);
//BA.debugLineNum = 1040;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT";
_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PRONOMBRE = ? and PE_FOLIO = ?)",new String[]{BA.ObjectToString(_value),BA.ObjectToString(_vamoaver.Get(_position))})));
//BA.debugLineNum = 1041;BA.debugLine="Log(j3.RowCount)";
__c.LogImpl("750200604",BA.NumberToString(_j3.getRowCount()),0);
__c.LogImpl("521102620",BA.NumberToString(_j3.getRowCount()),0);
//BA.debugLineNum = 1043;BA.debugLine="If j3.RowCount > 0 Then";
if (_j3.getRowCount()>0) {
//BA.debugLineNum = 1044;BA.debugLine="Log(\"estoy aqui\")";
__c.LogImpl("750200607","estoy aqui",0);
__c.LogImpl("521102623","estoy aqui",0);
//BA.debugLineNum = 1045;BA.debugLine="For i = 0 To j3.RowCount -1";
{
final int step29 = 1;
@@ -2877,7 +2877,7 @@ final int limit29 = (int) (_j3.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit29 ;_i = _i + step29 ) {
//BA.debugLineNum = 1046;BA.debugLine="Log(\"aqui tronare?\")";
__c.LogImpl("750200609","aqui tronare?",0);
__c.LogImpl("521102625","aqui tronare?",0);
//BA.debugLineNum = 1047;BA.debugLine="j3.Position = i";
_j3.setPosition(_i);
//BA.debugLineNum = 1048;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update";
@@ -2893,7 +2893,7 @@ _b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywher
_j3.Close();
}else {
//BA.debugLineNum = 1055;BA.debugLine="Log(\"aqui entre2\")";
__c.LogImpl("750200618","aqui entre2",0);
__c.LogImpl("521102634","aqui entre2",0);
//BA.debugLineNum = 1056;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update CA";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+"'"));
//BA.debugLineNum = 1057;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update CA";
@@ -2930,7 +2930,7 @@ _c.setPosition((int) (0));
//BA.debugLineNum = 1073;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then";
if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) {
//BA.debugLineNum = 1074;BA.debugLine="Log(\"aqui5\")";
__c.LogImpl("750200637","aqui5",0);
__c.LogImpl("521102653","aqui5",0);
//BA.debugLineNum = 1075;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)");
//BA.debugLineNum = 1076;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in";
@@ -2952,7 +2952,7 @@ _l_total2.setText(BA.ObjectToCharSequence(_h.GetString("PC_MONTO")));
_h.Close();
}else {
//BA.debugLineNum = 1085;BA.debugLine="Log(\"aqui6\")";
__c.LogImpl("750200648","aqui6",0);
__c.LogImpl("521102664","aqui6",0);
//BA.debugLineNum = 1086;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)");
//BA.debugLineNum = 1087;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt";
@@ -3024,7 +3024,7 @@ public String _lv_promos_itemlongclick(int _position,Object _value) throws Exce
String _id = "";
//BA.debugLineNum = 928;BA.debugLine="Private Sub lv_promos_ItemLongClick (Position As I";
//BA.debugLineNum = 929;BA.debugLine="Log(\"Promo longclic = \"&Value)";
__c.LogImpl("749807361","Promo longclic = "+BA.ObjectToString(_value),0);
__c.LogImpl("520709377","Promo longclic = "+BA.ObjectToString(_value),0);
//BA.debugLineNum = 930;BA.debugLine="Private id As String = \"\"";
_id = "";
//BA.debugLineNum = 931;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuer";

View File

@@ -85,9 +85,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -155,7 +155,7 @@ _tpr = BA.NumberToString(0);
_prodsfijostot = (float) (_prodsfijostot+((double)(Double.parseDouble(_tpi))*(double)(Double.parseDouble(_tpr))));
//BA.debugLineNum = 244;BA.debugLine="If thisLog Then Log(\"|\"&tpi&\"|\"&p)";
if (_thislog) {
__c.LogImpl("764487452","|"+_tpi+"|"+_p,0);};
__c.LogImpl("522020124","|"+_tpi+"|"+_p,0);};
//BA.debugLineNum = 245;BA.debugLine="Private ntpi As Int = tpi * et_promoCant.text";
_ntpi = (int) ((double)(Double.parseDouble(_tpi))*(double)(Double.parseDouble(_et_promocant.getText())));
//BA.debugLineNum = 246;BA.debugLine="If addListItem And tpi > 0 Then lv_prodsFijos.Ad";
@@ -182,7 +182,7 @@ medicomed.keymon.com.mx.c_productos _prodspage = null;
//BA.debugLineNum = 557;BA.debugLine="cuentaProds";
_cuentaprods();
//BA.debugLineNum = 558;BA.debugLine="Log(\"============================================";
__c.LogImpl("765339394","====================================================================",0);
__c.LogImpl("522872066","====================================================================",0);
//BA.debugLineNum = 559;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro";
{
final int step3 = 1;
@@ -254,7 +254,7 @@ _lacant = _pnl.GetView((int) (2)).GetView((int) (4));
_estetag = new anywheresoftware.b4a.objects.collections.List();
_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag())));
//BA.debugLineNum = 332;BA.debugLine="Log(esteTag)";
__c.LogImpl("764749579",BA.ObjectToString(_estetag),0);
__c.LogImpl("522282251",BA.ObjectToString(_estetag),0);
//BA.debugLineNum = 333;BA.debugLine="If laCant.Text + 1 <= esteTag.get(1) Then";
if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) {
//BA.debugLineNum = 334;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text+1}\"$";
@@ -424,7 +424,7 @@ _prodsvarreq = (int) (_prodsvarreq_*((int)(Double.parseDouble(_et_promocant.getT
//BA.debugLineNum = 520;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text";
_prodsvarreq2 = (int) (_prodsvarreq2_*((int)(Double.parseDouble(_et_promocant.getText()))));
//BA.debugLineNum = 521;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, P";
__c.LogImpl("765208329",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(_et_promocant.getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(_tpf))+", "),0);
__c.LogImpl("522741001",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(_et_promocant.getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(_tpf))+", "),0);
};
//BA.debugLineNum = 523;BA.debugLine="If et_promoCant.text > maxCantPromos Then et_prom";
if ((double)(Double.parseDouble(_et_promocant.getText()))>_maxcantpromos) {
@@ -454,7 +454,7 @@ _prodsvarreq = (int) (_prodsvarreq_*((int)(Double.parseDouble(_et_promocant.getT
//BA.debugLineNum = 507;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text.";
_prodsvarreq2 = (int) (_prodsvarreq2_*((int)(Double.parseDouble(_et_promocant.getText()))));
//BA.debugLineNum = 508;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, Pr";
__c.LogImpl("765142794",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(_et_promocant.getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(_tpf))+", "),0);
__c.LogImpl("522675466",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(_et_promocant.getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(_tpf))+", "),0);
//BA.debugLineNum = 509;BA.debugLine="cuentaProds";
_cuentaprods();
//BA.debugLineNum = 510;BA.debugLine="End Sub";
@@ -467,7 +467,7 @@ String _pn = "";
//BA.debugLineNum = 528;BA.debugLine="cuentaProds";
_cuentaprods();
//BA.debugLineNum = 529;BA.debugLine="Log(\"============================================";
__c.LogImpl("765273858","====================================================================",0);
__c.LogImpl("522806530","====================================================================",0);
//BA.debugLineNum = 530;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro";
{
final int step3 = 1;
@@ -763,7 +763,7 @@ _pf = (int) (0) ;
for (;_pf <= limit10 ;_pf = _pf + step10 ) {
//BA.debugLineNum = 428;BA.debugLine="If thisLog Then Log($\"${tcpf} + ${prodsCants.Get";
if (_thislog) {
__c.LogImpl("765011727",(""+__c.SmartStringFormatter("",(Object)(_tcpf))+" + "+__c.SmartStringFormatter("",_prodscants.Get(_pf))+" * "+__c.SmartStringFormatter("",_prodsprecios.Get(_pf))+" = "+__c.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_prodsprecios.Get(_pf)))*(double)(BA.ObjectToNumber(_prodscants.Get(_pf))))))+""),0);};
__c.LogImpl("522544399",(""+__c.SmartStringFormatter("",(Object)(_tcpf))+" + "+__c.SmartStringFormatter("",_prodscants.Get(_pf))+" * "+__c.SmartStringFormatter("",_prodsprecios.Get(_pf))+" = "+__c.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_prodsprecios.Get(_pf)))*(double)(BA.ObjectToNumber(_prodscants.Get(_pf))))))+""),0);};
//BA.debugLineNum = 429;BA.debugLine="tcpf = tcpf + (prodsPrecios.Get(pf) * prodsCants";
_tcpf = (float) (_tcpf+((double)(BA.ObjectToNumber(_prodsprecios.Get(_pf)))*(double)(BA.ObjectToNumber(_prodscants.Get(_pf)))));
}
@@ -806,7 +806,7 @@ if ((double)(Double.parseDouble(_cant1.getText()))>0) {
_totalcompra = (float) (_totalcompra+((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant1.getText()))));
//BA.debugLineNum = 447;BA.debugLine="If thisLog Then Log($\"Cant: ${cant1.Text}, Suma";
if (_thislog) {
__c.LogImpl("765011746",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant1.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(_totalcompra))+""),0);};
__c.LogImpl("522544418",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant1.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(_totalcompra))+""),0);};
//BA.debugLineNum = 448;BA.debugLine="prodsIds2.Add(esteTag.Get(2))";
_prodsids2.Add(_estetag.Get((int) (2)));
//BA.debugLineNum = 449;BA.debugLine="prodsCants2.Add(cant1.Text)";
@@ -851,7 +851,7 @@ if ((double)(Double.parseDouble(_cant2.getText()))>0) {
_totalcompra = (float) (_totalcompra+((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant2.getText()))));
//BA.debugLineNum = 467;BA.debugLine="If thisLog Then Log($\"Cant: ${cant2.Text}, Suma";
if (_thislog) {
__c.LogImpl("765011766",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant2.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(_totalcompra))+""),0);};
__c.LogImpl("522544438",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant2.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(_totalcompra))+""),0);};
//BA.debugLineNum = 468;BA.debugLine="prodsIds2.Add(esteTag.Get(2))";
_prodsids2.Add(_estetag.Get((int) (2)));
//BA.debugLineNum = 469;BA.debugLine="prodsCants2.Add(cant2.Text)";
@@ -867,7 +867,7 @@ _l_totprods.setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormat
};
//BA.debugLineNum = 476;BA.debugLine="If thisLog Then Log($\"Total Prods: ${totalProds},";
if (_thislog) {
__c.LogImpl("765011775",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0);};
__c.LogImpl("522544447",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0);};
//BA.debugLineNum = 477;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$";
_l_total.setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+"")));
//BA.debugLineNum = 478;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$";
@@ -886,17 +886,17 @@ _b_continuar.setVisible(__c.True);
};
//BA.debugLineNum = 488;BA.debugLine="If thisLog Then LogColor($\"${prodsIds}${CRLF}${pr";
if (_thislog) {
__c.LogImpl("765011787",(""+__c.SmartStringFormatter("",(Object)(_prodsids.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodscants.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodsprecios.getObject()))+""),__c.Colors.Blue);};
__c.LogImpl("522544459",(""+__c.SmartStringFormatter("",(Object)(_prodsids.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodscants.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodsprecios.getObject()))+""),__c.Colors.Blue);};
//BA.debugLineNum = 489;BA.debugLine="If thisLog Then LogColor($\"${prodsIds2}${CRLF}${p";
if (_thislog) {
__c.LogImpl("765011788",(""+__c.SmartStringFormatter("",(Object)(_prodsids2.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodscants2.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodsprecios2.getObject()))+""),__c.Colors.Magenta);};
__c.LogImpl("522544460",(""+__c.SmartStringFormatter("",(Object)(_prodsids2.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodscants2.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodsprecios2.getObject()))+""),__c.Colors.Magenta);};
//BA.debugLineNum = 491;BA.debugLine="End Sub";
return "";
}
public String _et_pcant_focuschanged(boolean _hasfocus) throws Exception{
//BA.debugLineNum = 493;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo";
//BA.debugLineNum = 494;BA.debugLine="LogColor(\"focus changed\", Colors.Magenta)";
__c.LogImpl("765077249","focus changed",__c.Colors.Magenta);
__c.LogImpl("522609921","focus changed",__c.Colors.Magenta);
//BA.debugLineNum = 495;BA.debugLine="cuentaProds";
_cuentaprods();
//BA.debugLineNum = 496;BA.debugLine="End Sub";
@@ -954,10 +954,10 @@ _invdisppromo = new anywheresoftware.b4a.objects.collections.Map();
_invdisppromo = _subs._traemosinventariodisponibleparapromo /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_promo);
//BA.debugLineNum = 93;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods";
if (_thislog) {
__c.LogImpl("764421897","Max promos por inv de prods FIJOS: "+BA.NumberToString(_subs._revisamaxpromosprodsfijosporinventario /*int*/ (ba,_mp)),0);};
__c.LogImpl("521954569","Max promos por inv de prods FIJOS: "+BA.NumberToString(_subs._revisamaxpromosprodsfijosporinventario /*int*/ (ba,_mp)),0);};
//BA.debugLineNum = 94;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods";
if (_thislog) {
__c.LogImpl("764421898","Max promos por inv de prods VARIABLES: "+BA.NumberToString(_subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp)),0);};
__c.LogImpl("521954570","Max promos por inv de prods VARIABLES: "+BA.NumberToString(_subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp)),0);};
//BA.debugLineNum = 95;BA.debugLine="maxCantPromos = Subs.revisaMaxPromosProdsVariable";
_maxcantpromos = _subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp);
//BA.debugLineNum = 96;BA.debugLine="et_promoCant.Text = 1";
@@ -970,10 +970,10 @@ _cs = new anywheresoftware.b4a.objects.CSBuilder();
_cs.Initialize();
//BA.debugLineNum = 100;BA.debugLine="If thisLog Then Log(mp)";
if (_thislog) {
__c.LogImpl("764421904",BA.ObjectToString(_mp),0);};
__c.LogImpl("521954576",BA.ObjectToString(_mp),0);};
//BA.debugLineNum = 101;BA.debugLine="If thisLog Then Log(prodsPromo)";
if (_thislog) {
__c.LogImpl("764421905",BA.ObjectToString(_prodspromo),0);};
__c.LogImpl("521954577",BA.ObjectToString(_prodspromo),0);};
//BA.debugLineNum = 102;BA.debugLine="Private listaPV As List = mp.Get(\"prodsVariables\"";
_listapv = new anywheresoftware.b4a.objects.collections.List();
_listapv = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables"))));
@@ -998,7 +998,7 @@ _pv2 = new anywheresoftware.b4a.objects.collections.List();
_pv2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables2"))));
//BA.debugLineNum = 116;BA.debugLine="If thisLog Then Log(mp)";
if (_thislog) {
__c.LogImpl("764421920",BA.ObjectToString(_mp),0);};
__c.LogImpl("521954592",BA.ObjectToString(_mp),0);};
//BA.debugLineNum = 117;BA.debugLine="tpf = 0";
_tpf = (int) (0);
//BA.debugLineNum = 118;BA.debugLine="For Each pfp As Int In mp.Get(\"prodsFijosPiezas\")";
@@ -1055,20 +1055,20 @@ _lv_prodsfijos.Clear();
_agregafijosalista(_mp,__c.True);
//BA.debugLineNum = 146;BA.debugLine="If thisLog Then Log(\"Total prods fijos = \" & prod";
if (_thislog) {
__c.LogImpl("764421950","Total prods fijos = "+BA.NumberToString(_prodsfijostot),0);};
__c.LogImpl("521954622","Total prods fijos = "+BA.NumberToString(_prodsfijostot),0);};
//BA.debugLineNum = 148;BA.debugLine="l_totProds.text = $\"Productos: ${tpf}\"$";
_l_totprods.setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(_tpf))+"")));
//BA.debugLineNum = 149;BA.debugLine="l_total.Text = $\"Total: $$1.2{prodsFijosTot}\"$";
_l_total.setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(_prodsfijostot))+"")));
//BA.debugLineNum = 155;BA.debugLine="If thisLog Then Log($\"PV1: ${pv.Size}, ${pv}\"$)";
if (_thislog) {
__c.LogImpl("764421959",("PV1: "+__c.SmartStringFormatter("",(Object)(_pv.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv.getObject()))+""),0);};
__c.LogImpl("521954631",("PV1: "+__c.SmartStringFormatter("",(Object)(_pv.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv.getObject()))+""),0);};
//BA.debugLineNum = 156;BA.debugLine="If thisLog Then Log($\"PV2: ${pv2.Size}, ${pv2}\"$)";
if (_thislog) {
__c.LogImpl("764421960",("PV2: "+__c.SmartStringFormatter("",(Object)(_pv2.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv2.getObject()))+""),0);};
__c.LogImpl("521954632",("PV2: "+__c.SmartStringFormatter("",(Object)(_pv2.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv2.getObject()))+""),0);};
//BA.debugLineNum = 157;BA.debugLine="If thisLog Then Log(\"invDisp=\" & invDispPromo)";
if (_thislog) {
__c.LogImpl("764421961","invDisp="+BA.ObjectToString(_invdisppromo),0);};
__c.LogImpl("521954633","invDisp="+BA.ObjectToString(_invdisppromo),0);};
//BA.debugLineNum = 158;BA.debugLine="clv_prodsVariabes.Clear";
_clv_prodsvariabes._clear();
//BA.debugLineNum = 159;BA.debugLine="clv_prodsVariabes2.Clear";
@@ -1092,7 +1092,7 @@ _thisprod = new anywheresoftware.b4a.objects.collections.Map();
_thisprod = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodspromo.Get((Object)(_p))));
//BA.debugLineNum = 170;BA.debugLine="If thisLog Then Log(thisProd)";
if (_thislog) {
__c.LogImpl("764421974",BA.ObjectToString(_thisprod),0);};
__c.LogImpl("521954646",BA.ObjectToString(_thisprod),0);};
//BA.debugLineNum = 171;BA.debugLine="clv_prodsVariabes.Add(CreateListItem(Subs.traeP";
_clv_prodsvariabes._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_subs._traeprodnombre /*String*/ (ba,_p)+__c.CRLF+"Hay "+BA.ObjectToString(_invdisppromo.Get((Object)(_p)))+" $"+_esteprecio,_esteprecio,(int)(BA.ObjectToNumber(_invdisppromo.Get((Object)(_p)))),_clv_prodsvariabes._asview().getWidth(),__c.DipToCurrent((int) (50)),(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(__c.Null)),_p).getObject())),(Object)(_p));
};
@@ -1117,7 +1117,7 @@ _thisprod = new anywheresoftware.b4a.objects.collections.Map();
_thisprod = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodspromo.Get((Object)(_p))));
//BA.debugLineNum = 189;BA.debugLine="If thisLog Then Log(thisProd)";
if (_thislog) {
__c.LogImpl("764421993",BA.ObjectToString(_thisprod),0);};
__c.LogImpl("521954665",BA.ObjectToString(_thisprod),0);};
//BA.debugLineNum = 190;BA.debugLine="clv_prodsVariabes2.Add(CreateListItem2(Subs.tra";
_clv_prodsvariabes2._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_subs._traeprodnombre /*String*/ (ba,_p)+__c.CRLF+"Hay "+BA.ObjectToString(_invdisppromo.Get((Object)(_p)))+" $"+_esteprecio,_esteprecio,(int)(BA.ObjectToNumber(_invdisppromo.Get((Object)(_p)))),_clv_prodsvariabes2._asview().getWidth(),__c.DipToCurrent((int) (50)),(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(__c.Null)),_p).getObject())),(Object)(_p));
};

View File

@@ -37,9 +37,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -60,7 +60,7 @@ if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 134;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 135;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
__c.LogImpl("765929222",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
__c.LogImpl("523461894",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
};
}
catch (Exception e9) {
@@ -68,11 +68,11 @@ __c.LogImpl("765929222",("Columna \""+__c.SmartStringFormatter("",(Object)(_colu
try { //BA.debugLineNum = 139;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB";
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 140;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
__c.LogImpl("765929227",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
__c.LogImpl("523461899",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
}
catch (Exception e13) {
ba.setLastException(e13); //BA.debugLineNum = 142;BA.debugLine="Log(LastException)";
__c.LogImpl("765929229",BA.ObjectToString(__c.LastException(ba)),0);
__c.LogImpl("523461901",BA.ObjectToString(__c.LastException(ba)),0);
};
};
//BA.debugLineNum = 145;BA.debugLine="End Sub";
@@ -92,7 +92,7 @@ if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 152;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU";
_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 153;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
__c.LogImpl("765994758",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
__c.LogImpl("523527430",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
};
}
catch (Exception e9) {
@@ -100,11 +100,11 @@ __c.LogImpl("765994758",("Columna \""+__c.SmartStringFormatter("",(Object)(_colu
try { //BA.debugLineNum = 157;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU";
_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 158;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
__c.LogImpl("765994763",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
__c.LogImpl("523527435",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
}
catch (Exception e13) {
ba.setLastException(e13); //BA.debugLineNum = 160;BA.debugLine="Log(LastException)";
__c.LogImpl("765994765",BA.ObjectToString(__c.LastException(ba)),0);
__c.LogImpl("523527437",BA.ObjectToString(__c.LastException(ba)),0);
};
};
//BA.debugLineNum = 163;BA.debugLine="End Sub";
@@ -189,7 +189,7 @@ if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 41;BA.debugLine="rkmt.ExecNonQuery($\"ALTER TABLE pedidos ADD COL";
_rkmt.ExecNonQuery(("ALTER TABLE pedidos ADD COLUMN pe_envio_ok INT"));
//BA.debugLineNum = 42;BA.debugLine="Log($\"Columna \"pe_envio_ok INT\", agregada a \"pe";
__c.LogImpl("765470494",("Columna \"pe_envio_ok INT\", agregada a \"pedidos}\"."),0);
__c.LogImpl("523003166",("Columna \"pe_envio_ok INT\", agregada a \"pedidos}\"."),0);
};
}
catch (Exception e27) {
@@ -197,11 +197,11 @@ __c.LogImpl("765470494",("Columna \"pe_envio_ok INT\", agregada a \"pedidos}\"."
try { //BA.debugLineNum = 46;BA.debugLine="rkmt.ExecNonQuery($\"ALTER TABLE pedidos ADD COL";
_rkmt.ExecNonQuery(("ALTER TABLE pedidos ADD COLUMN pe_envio_ok INT"));
//BA.debugLineNum = 47;BA.debugLine="Log($\"Columna \"pe_envio_ok INT\", agregada a \"pe";
__c.LogImpl("765470499",("Columna \"pe_envio_ok INT\", agregada a \"pedidos\".."),0);
__c.LogImpl("523003171",("Columna \"pe_envio_ok INT\", agregada a \"pedidos\".."),0);
}
catch (Exception e31) {
ba.setLastException(e31); //BA.debugLineNum = 49;BA.debugLine="Log(LastException)";
__c.LogImpl("765470501",BA.ObjectToString(__c.LastException(ba)),0);
__c.LogImpl("523003173",BA.ObjectToString(__c.LastException(ba)),0);
};
};
//BA.debugLineNum = 52;BA.debugLine="rkmt.ExecNonQuery($\"create table if not exists in";

View File

@@ -42,9 +42,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -65,7 +65,7 @@ if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 422;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU";
_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 423;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
__c.LogImpl("768222982",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
__c.LogImpl("525755654",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
};
}
catch (Exception e9) {
@@ -73,11 +73,11 @@ __c.LogImpl("768222982",("Columna \""+__c.SmartStringFormatter("",(Object)(_colu
try { //BA.debugLineNum = 427;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU";
_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 428;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
__c.LogImpl("768222987",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
__c.LogImpl("525755659",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
}
catch (Exception e13) {
ba.setLastException(e13); //BA.debugLineNum = 430;BA.debugLine="Log(LastException)";
__c.LogImpl("768222989",BA.ObjectToString(__c.LastException(getActivityBA())),0);
__c.LogImpl("525755661",BA.ObjectToString(__c.LastException(getActivityBA())),0);
};
};
//BA.debugLineNum = 433;BA.debugLine="End Sub";
@@ -86,7 +86,7 @@ return "";
public String _borralogdb() throws Exception{
//BA.debugLineNum = 247;BA.debugLine="Sub borraLogDB 'ignore";
//BA.debugLineNum = 248;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)";
__c.LogImpl("767305473","Borramos BD de log",__c.Colors.Magenta);
__c.LogImpl("524838145","Borramos BD de log",__c.Colors.Magenta);
//BA.debugLineNum = 249;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")";
_kmt.ExecNonQuery("delete from bitacora");
//BA.debugLineNum = 250;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")";
@@ -234,11 +234,11 @@ __c.ToastMessageShow(BA.ObjectToCharSequence("BD copiada!"),__c.False);
__c.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(__c.LastException(getActivityBA()))),__c.True);
};
//BA.debugLineNum = 332;BA.debugLine="Log(\"rootExternal=\"&p)";
__c.LogImpl("767502105","rootExternal="+_p,0);
__c.LogImpl("525034777","rootExternal="+_p,0);
//BA.debugLineNum = 333;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
__c.LogImpl("767502106","File.DirInternal="+__c.File.getDirInternal(),0);
__c.LogImpl("525034778","File.DirInternal="+__c.File.getDirInternal(),0);
//BA.debugLineNum = 334;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
__c.LogImpl("767502107","File.DirInternal="+__c.File.getDirInternal(),0);
__c.LogImpl("525034779","File.DirInternal="+__c.File.getDirInternal(),0);
}else {
//BA.debugLineNum = 336;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),__c.False);
@@ -358,7 +358,7 @@ _h = __c.DateTime.Date(__c.DateTime.getNow())+"000000";
//BA.debugLineNum = 210;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d";
__c.DateTime.setDateFormat(_origformat);
//BA.debugLineNum = 211;BA.debugLine="Log(\"Hoy=\"&h)";
__c.LogImpl("767043333","Hoy="+_h,0);
__c.LogImpl("524576005","Hoy="+_h,0);
//BA.debugLineNum = 212;BA.debugLine="Return h";
if (true) return _h;
//BA.debugLineNum = 213;BA.debugLine="End Sub";
@@ -408,16 +408,16 @@ __c.DateTime.setDateFormat(_origformat);
if (true) return _ticks;
}else {
//BA.debugLineNum = 287;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '";
__c.LogImpl("767371020","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0);
__c.LogImpl("524903692","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0);
//BA.debugLineNum = 288;BA.debugLine="Return 0";
if (true) return (long) (0);
};
}
catch (Exception e16) {
ba.setLastException(e16); //BA.debugLineNum = 291;BA.debugLine="Log(LastException)";
__c.LogImpl("767371024",BA.ObjectToString(__c.LastException(getActivityBA())),0);
__c.LogImpl("524903696",BA.ObjectToString(__c.LastException(getActivityBA())),0);
//BA.debugLineNum = 292;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p";
__c.LogImpl("767371025",("Fecha dada: "+__c.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+__c.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+__c.SmartStringFormatter("",(Object)(_partehora))+""),__c.Colors.Red);
__c.LogImpl("524903697",("Fecha dada: "+__c.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+__c.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+__c.SmartStringFormatter("",(Object)(_partehora))+""),__c.Colors.Red);
//BA.debugLineNum = 293;BA.debugLine="Return 0";
if (true) return (long) (0);
};
@@ -499,7 +499,7 @@ public String _guardainfoenbd(String _coords) throws Exception{
String[] _latlon = null;
//BA.debugLineNum = 160;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore";
//BA.debugLineNum = 161;BA.debugLine="Log(\"Guardamos ubicacion en BD - \"&coords)";
__c.LogImpl("766846721","Guardamos ubicacion en BD - "+_coords,0);
__c.LogImpl("524379393","Guardamos ubicacion en BD - "+_coords,0);
//BA.debugLineNum = 162;BA.debugLine="Try";
try { //BA.debugLineNum = 163;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord";
_latlon = __c.Regex.Split("\\|",_coords);
@@ -508,13 +508,13 @@ if (_latlon.length<2) {
_latlon = __c.Regex.Split(",",_coords);};
//BA.debugLineNum = 165;BA.debugLine="If subsLogs Then Log(\"LatLon=\"&latlon)";
if (_subslogs) {
__c.LogImpl("766846725","LatLon="+BA.ObjectToString(_latlon),0);};
__c.LogImpl("524379397","LatLon="+BA.ObjectToString(_latlon),0);};
//BA.debugLineNum = 166;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(FECHA, L";
_kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_latlon[(int) (2)]),(Object)(_latlon[(int) (0)]),(Object)(_latlon[(int) (1)])}));
}
catch (Exception e8) {
ba.setLastException(e8); //BA.debugLineNum = 168;BA.debugLine="LogColor(LastException, Colors.red)";
__c.LogImpl("766846728",BA.ObjectToString(__c.LastException(getActivityBA())),__c.Colors.Red);
__c.LogImpl("524379400",BA.ObjectToString(__c.LastException(getActivityBA())),__c.Colors.Red);
};
//BA.debugLineNum = 170;BA.debugLine="End Sub";
return "";
@@ -529,7 +529,7 @@ if (__c.File.Exists(_ruta,_bdname)==__c.False) {
//BA.debugLineNum = 407;BA.debugLine="File.Copy(File.DirAssets, BDName, ruta, BDName)";
__c.File.Copy(__c.File.getDirAssets(),_bdname,_ruta,_bdname);
//BA.debugLineNum = 408;BA.debugLine="LogColor($\"Copiamos ${BDName} de ${File.DirAsset";
__c.LogImpl("768157444",("Copiamos "+__c.SmartStringFormatter("",(Object)(_bdname))+" de "+__c.SmartStringFormatter("",(Object)(__c.File.getDirAssets()))+" a "+__c.SmartStringFormatter("",(Object)(_ruta))+""),__c.Colors.Green);
__c.LogImpl("525690116",("Copiamos "+__c.SmartStringFormatter("",(Object)(_bdname))+" de "+__c.SmartStringFormatter("",(Object)(__c.File.getDirAssets()))+" a "+__c.SmartStringFormatter("",(Object)(_ruta))+""),__c.Colors.Green);
};
//BA.debugLineNum = 410;BA.debugLine="skmt.Initialize(ruta, BDName, True)";
_skmt.Initialize(_ruta,_bdname,__c.True);
@@ -579,13 +579,13 @@ Object[] _records = null;
String _k = "";
//BA.debugLineNum = 78;BA.debugLine="Sub JobDone(Job As HttpJob)";
//BA.debugLineNum = 79;BA.debugLine="LogColor(\"C_SUBS JOBDONE - \" & Job.Success, Color";
__c.LogImpl("766584577","C_SUBS JOBDONE - "+BA.ObjectToString(_job._success /*boolean*/ ),__c.Colors.Red);
__c.LogImpl("524117249","C_SUBS JOBDONE - "+BA.ObjectToString(_job._success /*boolean*/ ),__c.Colors.Red);
//BA.debugLineNum = 80;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) {
//BA.debugLineNum = 81;BA.debugLine="Log($\"Error en el request ${Job.Tag}\"$)";
__c.LogImpl("766584579",("Error en el request "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),0);
__c.LogImpl("524117251",("Error en el request "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),0);
//BA.debugLineNum = 82;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro";
__c.LogImpl("766584580","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red);
__c.LogImpl("524117252","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red);
//BA.debugLineNum = 83;BA.debugLine="If reqsList.IndexOf(Job.Tag) > -1 Then reqsList.";
if (_reqslist.IndexOf(_job._tag /*Object*/ )>-1) {
_reqslist.RemoveAt(_reqslist.IndexOf(_job._tag /*Object*/ ));};
@@ -618,7 +618,7 @@ final int groupLen13 = group13.getSize()
for (; index13 < groupLen13;index13++){
_k = BA.ObjectToString(group13.Get(index13));
//BA.debugLineNum = 92;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record";
__c.LogImpl("766584590",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("524117262",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
@@ -627,11 +627,11 @@ __c.LogImpl("766584590",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+":
};
};
//BA.debugLineNum = 98;BA.debugLine="Log(reqsList.Size)";
__c.LogImpl("766584596",BA.NumberToString(_reqslist.getSize()),0);
__c.LogImpl("524117268",BA.NumberToString(_reqslist.getSize()),0);
//BA.debugLineNum = 99;BA.debugLine="If reqsList.Size = 0 Then 'Ya no hay DBReqs pendi";
if (_reqslist.getSize()==0) {
//BA.debugLineNum = 100;BA.debugLine="Log(reqError)";
__c.LogImpl("766584598",BA.ObjectToString(_reqerror),0);
__c.LogImpl("524117270",BA.ObjectToString(_reqerror),0);
//BA.debugLineNum = 101;BA.debugLine="If Not(reqError) Then";
if (__c.Not(_reqerror)) {
//BA.debugLineNum = 102;BA.debugLine="envioOk(True)";
@@ -643,7 +643,7 @@ _enviook(__c.False);
//BA.debugLineNum = 106;BA.debugLine="reqError = False";
_reqerror = __c.False;
//BA.debugLineNum = 107;BA.debugLine="Log(\"-= FIN =-\")";
__c.LogImpl("766584605","-= FIN =-",0);
__c.LogImpl("524117277","-= FIN =-",0);
};
//BA.debugLineNum = 109;BA.debugLine="Job.Release";
_job._release /*String*/ ();
@@ -653,7 +653,7 @@ return "";
public String _log2db(String _texto) throws Exception{
//BA.debugLineNum = 216;BA.debugLine="Sub log2DB(texto As String) 'ignore";
//BA.debugLineNum = 217;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te";
__c.LogImpl("767108865",_fechakmt(BA.NumberToString(__c.DateTime.getNow()))+" - log2BD: '"+_texto+"'",__c.Colors.LightGray);
__c.LogImpl("524641537",_fechakmt(BA.NumberToString(__c.DateTime.getNow()))+" - log2BD: '"+_texto+"'",__c.Colors.LightGray);
//BA.debugLineNum = 218;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO bitacora(fecha, te";
_kmt.ExecNonQuery2("INSERT INTO bitacora(fecha, texto) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(BA.NumberToString(__c.DateTime.getNow()))),(Object)(_texto)}));
//BA.debugLineNum = 219;BA.debugLine="End Sub";
@@ -672,7 +672,7 @@ final int groupLen1 = group1.getSize()
for (; index1 < groupLen1;index1++){
_records = (Object[])(group1.Get(index1));
//BA.debugLineNum = 396;BA.debugLine="LogColor($\"====== ${resultado.Tag} - REGISTROS =";
__c.LogImpl("768091906",("====== "+__c.SmartStringFormatter("",_resultado.Tag /*Object*/ )+" - REGISTROS = "+__c.SmartStringFormatter("",(Object)(_resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),__c.Colors.RGB((int) (215),(int) (37),(int) (0)));
__c.LogImpl("525624578",("====== "+__c.SmartStringFormatter("",_resultado.Tag /*Object*/ )+" - REGISTROS = "+__c.SmartStringFormatter("",(Object)(_resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),__c.Colors.RGB((int) (215),(int) (37),(int) (0)));
//BA.debugLineNum = 397;BA.debugLine="For Each k As String In resultado.Columns.Keys";
{
final anywheresoftware.b4a.BA.IterableList group3 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys();
@@ -682,7 +682,7 @@ final int groupLen3 = group3.getSize()
for (; index3 < groupLen3;index3++){
_k = BA.ObjectToString(group3.Get(index3));
//BA.debugLineNum = 398;BA.debugLine="LogColor(k & \" = \" & records(resultado.Columns.";
__c.LogImpl("768091908",_k+" = "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),__c.Colors.RGB((int) (215),(int) (37),(int) (0)));
__c.LogImpl("525624580",_k+" = "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),__c.Colors.RGB((int) (215),(int) (37),(int) (0)));
}
};
}
@@ -717,7 +717,7 @@ if (true) return __c.False;
}
catch (Exception e8) {
ba.setLastException(e8); //BA.debugLineNum = 242;BA.debugLine="Log(LastException)";
__c.LogImpl("767239947",BA.ObjectToString(__c.LastException(getActivityBA())),0);
__c.LogImpl("524772619",BA.ObjectToString(__c.LastException(getActivityBA())),0);
};
//BA.debugLineNum = 244;BA.debugLine="End Sub";
return false;
@@ -789,7 +789,7 @@ _rm = new medicomed.keymon.com.mx.dbrequestmanager();
//BA.debugLineNum = 47;BA.debugLine="rm.Initialize(Me, traeDBReqServerDeBD(db))";
_rm._initialize /*String*/ (ba,this,_traedbreqserverdebd(_db));
//BA.debugLineNum = 48;BA.debugLine="Log($\"Inicializamos reqManager con ${traeDBReqSer";
__c.LogImpl("766322435",("Inicializamos reqManager con "+__c.SmartStringFormatter("",(Object)(_traedbreqserverdebd(_db)))+""),0);
__c.LogImpl("523855107",("Inicializamos reqManager con "+__c.SmartStringFormatter("",(Object)(_traedbreqserverdebd(_db)))+""),0);
//BA.debugLineNum = 49;BA.debugLine="Return rm";
if (true) return _rm;
//BA.debugLineNum = 50;BA.debugLine="End Sub";
@@ -798,7 +798,7 @@ return null;
public String _reqmanagerreinit() throws Exception{
//BA.debugLineNum = 53;BA.debugLine="Sub reqManagerReInit";
//BA.debugLineNum = 54;BA.debugLine="Log(\"reqManager ReInit\")";
__c.LogImpl("766387969","reqManager ReInit",0);
__c.LogImpl("523920641","reqManager ReInit",0);
//BA.debugLineNum = 55;BA.debugLine="reqManager = reqManagerInit";
_reqmanager = _reqmanagerinit();
//BA.debugLineNum = 56;BA.debugLine="End Sub";

View File

@@ -40,9 +40,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -32,9 +32,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -125,7 +125,7 @@ case 9:
this.state = 10;
this.catchState = 0;
//BA.debugLineNum = 28;BA.debugLine="Log(\"updateAvailable() Error - \" & LastException";
parent.__c.LogImpl("769664778","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0);
parent.__c.LogImpl("527197450","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0);
if (true) break;
if (true) break;
;

View File

@@ -66,9 +66,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -221,7 +221,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 159;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor";
parent.__c.LogImpl("99764865","---- AppUpdating.DownloadApk",parent._logcolor1);
parent.__c.LogImpl("942991617","---- AppUpdating.DownloadApk",parent._logcolor1);
//BA.debugLineNum = 161;BA.debugLine="If sNewVerApk = \"\" Then";
if (true) break;
@@ -250,7 +250,7 @@ this.state = 6;
case 6:
//C
this.state = 9;
parent.__c.LogImpl("99764869",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
parent.__c.LogImpl("942991621",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
if (true) break;
case 9:
@@ -287,7 +287,7 @@ this.state = 11;
_j = (medicomed.keymon.com.mx.httpjob) result[0];
;
//BA.debugLineNum = 174;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)";
parent.__c.LogImpl("99764880",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
parent.__c.LogImpl("942991632",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
//BA.debugLineNum = 175;BA.debugLine="If j.Success Then";
if (true) break;
@@ -312,7 +312,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("99764887",("Copy2 (saving) ok? TRUE"),0);
parent.__c.LogImpl("942991639",("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";
@@ -328,7 +328,7 @@ this.state = 16;
case 16:
//C
this.state = 19;
parent.__c.LogImpl("99764889",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
parent.__c.LogImpl("942991641",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
if (true) break;
case 19:
@@ -341,7 +341,7 @@ case 21:
//C
this.state = 22;
//BA.debugLineNum = 185;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)";
parent.__c.LogImpl("99764891",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
parent.__c.LogImpl("942991643",(""+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";
@@ -357,7 +357,7 @@ this.state = 24;
case 24:
//C
this.state = 27;
parent.__c.LogImpl("99764893",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
parent.__c.LogImpl("942991645",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
if (true) break;
case 27:
@@ -684,14 +684,14 @@ _usefileprovider = __c.False;
_sharedfolder = _rp.GetSafeDirDefaultExternal("shared");
};
//BA.debugLineNum = 69;BA.debugLine="Log($\"SDK#: ${p.SdkVersion} - UseFP: ${UseFilePro";
__c.LogImpl("98781845",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(_sharedfolder))+""),0);
__c.LogImpl("942008597",("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("99830401","---- AppUpdating.InstallApk",_logcolor1);
__c.LogImpl("943057153","---- AppUpdating.InstallApk",_logcolor1);
//BA.debugLineNum = 197;BA.debugLine="If pstatus Then";
if (_pstatus) {
//BA.debugLineNum = 198;BA.debugLine="SendInstallIntent";
@@ -700,13 +700,13 @@ _sendinstallintent();
_sstatuscode = _ok_install;
//BA.debugLineNum = 200;BA.debugLine="If sVerbose Then Log(TAB & \"user asked to instal";
if (_sverbose) {
__c.LogImpl("99830405",__c.TAB+"user asked to install new apk",0);};
__c.LogImpl("943057157",__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("99830408",__c.TAB+"no permissions from user to install new apk",0);};
__c.LogImpl("943057160",__c.TAB+"no permissions from user to install new apk",0);};
};
//BA.debugLineNum = 205;BA.debugLine="Finito";
_finito();
@@ -724,7 +724,7 @@ _curver = "";
_sstatuscode = _err_nopkg;
//BA.debugLineNum = 301;BA.debugLine="If sVerbose Then Log($\"${TAB}missing package nam";
if (_sverbose) {
__c.LogImpl("910092548",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);};
__c.LogImpl("943319300",(""+__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();
@@ -734,7 +734,7 @@ _curver = _pm.GetVersionName(_spackagename);
_sstatuscode = _ok_curver;
//BA.debugLineNum = 306;BA.debugLine="If sVerbose Then Log($\"${TAB}Current Version: ${";
if (_sverbose) {
__c.LogImpl("910092553",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(_curver))+""),0);};
__c.LogImpl("943319305",(""+__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);
@@ -765,7 +765,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 313;BA.debugLine="Log(\"IsValidComplete start\")";
parent.__c.LogImpl("910158081","IsValidComplete start",0);
parent.__c.LogImpl("943384833","IsValidComplete start",0);
//BA.debugLineNum = 314;BA.debugLine="If sNewVerTxt = \"\" Then";
if (true) break;
@@ -798,7 +798,7 @@ this.state = 6;
case 6:
//C
this.state = 9;
parent.__c.LogImpl("910158085",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0);
parent.__c.LogImpl("943384837",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0);
if (true) break;
case 9:
@@ -821,7 +821,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("910158093","before",0);
parent.__c.LogImpl("943384845","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;
@@ -832,7 +832,7 @@ this.state = 12;
_j = (medicomed.keymon.com.mx.httpjob) result[0];
;
//BA.debugLineNum = 327;BA.debugLine="Log(\"after\")";
parent.__c.LogImpl("910158095","after",0);
parent.__c.LogImpl("943384847","after",0);
//BA.debugLineNum = 328;BA.debugLine="If j.Success Then";
if (true) break;
@@ -861,7 +861,7 @@ this.state = 17;
case 17:
//C
this.state = 20;
parent.__c.LogImpl("910158097",("Webserver's info file content: "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_j._getstring /*String*/ ()))+""),0);
parent.__c.LogImpl("943384849",("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:
@@ -919,7 +919,7 @@ this.state = 29;
case 29:
//C
this.state = 32;
parent.__c.LogImpl("910158104",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0);
parent.__c.LogImpl("943384856",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0);
if (true) break;
case 32:
@@ -946,7 +946,7 @@ this.state = 37;
case 37:
//C
this.state = 40;
parent.__c.LogImpl("910158107",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(parent._webver))+""),0);
parent.__c.LogImpl("943384859",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(parent._webver))+""),0);
if (true) break;
case 40:
@@ -979,7 +979,7 @@ this.state = 46;
case 46:
//C
this.state = 49;
parent.__c.LogImpl("910158111",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0);
parent.__c.LogImpl("943384863",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0);
if (true) break;
case 49:
@@ -998,7 +998,7 @@ case 52:
//C
this.state = 53;
//BA.debugLineNum = 346;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)";
parent.__c.LogImpl("910158114",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
parent.__c.LogImpl("943384866",(""+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";
@@ -1014,7 +1014,7 @@ this.state = 55;
case 55:
//C
this.state = 58;
parent.__c.LogImpl("910158116",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
parent.__c.LogImpl("943384868",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
if (true) break;
case 58:
@@ -1050,7 +1050,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("99633793","---- AppUpdating.ReadCurVN",_logcolor1);
__c.LogImpl("942860545","---- AppUpdating.ReadCurVN",_logcolor1);
//BA.debugLineNum = 145;BA.debugLine="IsValidCV 'we don't care about its resu";
_isvalidcv();
//BA.debugLineNum = 146;BA.debugLine="Finito";
@@ -1081,7 +1081,7 @@ case 0:
//C
this.state = -1;
//BA.debugLineNum = 152;BA.debugLine="LogColor(\"---- AppUpdating.ReadWebVN\", LogColor1)";
parent.__c.LogImpl("99699329","---- AppUpdating.ReadWebVN",parent._logcolor1);
parent.__c.LogImpl("942926081","---- 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;
@@ -1244,7 +1244,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 246;BA.debugLine="LogColor($\"${TAB}-- TryApkUpdate\"$, LogColor1)";
parent.__c.LogImpl("99961473",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),parent._logcolor1);
parent.__c.LogImpl("943188225",(""+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;
@@ -1278,7 +1278,7 @@ this.state = 4;
_j = (medicomed.keymon.com.mx.httpjob) result[0];
;
//BA.debugLineNum = 256;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)";
parent.__c.LogImpl("99961483",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
parent.__c.LogImpl("943188235",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
//BA.debugLineNum = 257;BA.debugLine="If j.Success Then";
if (true) break;
@@ -1317,7 +1317,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("99961491",("Copy2 (saving) ok? TRUE"),0);
parent.__c.LogImpl("943188243",("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";
@@ -1333,7 +1333,7 @@ this.state = 12;
case 12:
//C
this.state = 15;
parent.__c.LogImpl("99961493",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
parent.__c.LogImpl("943188245",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
if (true) break;
case 15:
@@ -1347,7 +1347,7 @@ case 17:
this.state = 18;
this.catchState = 0;
//BA.debugLineNum = 268;BA.debugLine="Log($\"Copy2 (saving) ok? FALSE\"$)";
parent.__c.LogImpl("99961495",("Copy2 (saving) ok? FALSE"),0);
parent.__c.LogImpl("943188247",("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";
@@ -1363,7 +1363,7 @@ this.state = 20;
case 20:
//C
this.state = 23;
parent.__c.LogImpl("99961497",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0);
parent.__c.LogImpl("943188249",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0);
if (true) break;
case 23:
@@ -1386,7 +1386,7 @@ case 26:
//C
this.state = 27;
//BA.debugLineNum = 274;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)";
parent.__c.LogImpl("99961501",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
parent.__c.LogImpl("943188253",(""+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";
@@ -1402,7 +1402,7 @@ this.state = 29;
case 29:
//C
this.state = 32;
parent.__c.LogImpl("99961503",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
parent.__c.LogImpl("943188255",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
if (true) break;
case 32:
@@ -1449,7 +1449,7 @@ this.state = 39;
case 39:
//C
this.state = 42;
parent.__c.LogImpl("99961510",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0);
parent.__c.LogImpl("943188262",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0);
if (true) break;
case 42:
@@ -1510,7 +1510,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 211;BA.debugLine="LogColor(\"---- AppUpdating.UpdateApk\", LogColor1)";
parent.__c.LogImpl("99895937","---- AppUpdating.UpdateApk",parent._logcolor1);
parent.__c.LogImpl("943122689","---- AppUpdating.UpdateApk",parent._logcolor1);
//BA.debugLineNum = 212;BA.debugLine="If Not(pstatus) Then";
if (true) break;
@@ -1541,7 +1541,7 @@ this.state = 6;
case 6:
//C
this.state = 9;
parent.__c.LogImpl("99895940",parent.__c.TAB+"no permissions from user to install new apk",0);
parent.__c.LogImpl("943122692",parent.__c.TAB+"no permissions from user to install new apk",0);
if (true) break;
case 9:
@@ -1633,7 +1633,7 @@ this.state = 26;
case 26:
//C
this.state = 29;
parent.__c.LogImpl("99895950",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0);
parent.__c.LogImpl("943122702",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0);
if (true) break;
case 29:
@@ -1675,7 +1675,7 @@ this.state = 36;
case 36:
//C
this.state = 39;
parent.__c.LogImpl("99895955",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0);
parent.__c.LogImpl("943122707",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0);
if (true) break;
case 39:
@@ -1710,7 +1710,7 @@ this.state = 45;
case 45:
//C
this.state = 48;
parent.__c.LogImpl("99895958",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
parent.__c.LogImpl("943122710",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
if (true) break;
case 48:
@@ -1749,7 +1749,7 @@ this.state = 55;
case 55:
//C
this.state = 58;
parent.__c.LogImpl("99895963",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0);
parent.__c.LogImpl("943122715",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0);
if (true) break;
case 58:

View File

@@ -46,9 +46,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -280,7 +280,7 @@ _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Initialize();
_table.Tag /*Object*/ = _job._tag /*Object*/ ;
//BA.debugLineNum = 198;BA.debugLine="If jobTagAnterior <> Job.Tag Then LogColor(\"Handl";
if ((_jobtaganterior).equals(BA.ObjectToString(_job._tag /*Object*/ )) == false) {
__c.LogImpl("770778892","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.RGB((int) (171),(int) (70),(int) (0)));};
__c.LogImpl("528311564","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.RGB((int) (171),(int) (70),(int) (0)));};
//BA.debugLineNum = 199;BA.debugLine="jobTagAnterior = Job.Tag 'Mod por CHV - 211109";
_jobtaganterior = BA.ObjectToString(_job._tag /*Object*/ );
//BA.debugLineNum = 200;BA.debugLine="If method = \"query\" Then";
@@ -382,7 +382,7 @@ Object[] _row = null;
Object _record = null;
//BA.debugLineNum = 250;BA.debugLine="Public Sub PrintTable(Table As DBResult)";
//BA.debugLineNum = 251;BA.debugLine="Log(\"Tag: \" & Table.Tag & \", Columns: \" & Table.C";
__c.LogImpl("771041025","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("528573697","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 = 252;BA.debugLine="Dim sb As StringBuilder";
_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper();
//BA.debugLineNum = 253;BA.debugLine="sb.Initialize";
@@ -400,7 +400,7 @@ _sb.Append(BA.ObjectToString(_col)).Append(__c.TAB);
}
};
//BA.debugLineNum = 257;BA.debugLine="Log(sb.ToString)";
__c.LogImpl("771041031",_sb.ToString(),0);
__c.LogImpl("528573703",_sb.ToString(),0);
//BA.debugLineNum = 258;BA.debugLine="For Each row() As Object In Table.Rows";
{
final anywheresoftware.b4a.BA.IterableList group8 = _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;

View File

@@ -64,9 +64,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -107,7 +107,7 @@ if (__c.SubExists(ba,_callback,_eventname+"_NewData")) {
__c.CallSubNew2(ba,_callback,_eventname+"_NewData",(Object)(_buffer));
};
//BA.debugLineNum = 1159;BA.debugLine="Log(\"Data \" & Buffer(0))";
__c.LogImpl("774579972","Data "+BA.NumberToString(_buffer[(int) (0)]),0);
__c.LogImpl("532112644","Data "+BA.NumberToString(_buffer[(int) (0)]),0);
//BA.debugLineNum = 1160;BA.debugLine="End Sub";
return "";
}
@@ -252,12 +252,12 @@ if (true) return __c.True;
//BA.debugLineNum = 132;BA.debugLine="DisConnect";
_disconnect();
//BA.debugLineNum = 133;BA.debugLine="Log(\"aqui 5\")";
__c.LogImpl("771434273","aqui 5",0);
__c.LogImpl("528966945","aqui 5",0);
};
}
catch (Exception e27) {
ba.setLastException(e27); //BA.debugLineNum = 136;BA.debugLine="Log(LastException)";
__c.LogImpl("771434276",BA.ObjectToString(__c.LastException(getActivityBA())),0);
__c.LogImpl("528966948",BA.ObjectToString(__c.LastException(getActivityBA())),0);
//BA.debugLineNum = 137;BA.debugLine="Return False";
if (true) return __c.False;
};
@@ -426,22 +426,22 @@ _logmsg = ": Fill="+BA.NumberToString(_fill)+" : Points "+BA.NumberToString(_x0)
//BA.debugLineNum = 445;BA.debugLine="If shape = 3 Then";
if (_shape==3) {
//BA.debugLineNum = 446;BA.debugLine="Log(\"Triangle \" & logmsg)";
__c.LogImpl("772745002","Triangle "+_logmsg,0);
__c.LogImpl("530277674","Triangle "+_logmsg,0);
//BA.debugLineNum = 447;BA.debugLine="PlotTriangle(x0, y0, x1, y1, x2, y2, points, fi";
_plottriangle(_x0,_y0,_x1,_y1,_x2,_y2,_points,_fill);
}else if(_shape==2) {
//BA.debugLineNum = 449;BA.debugLine="Log(\"Circle \" & logmsg)";
__c.LogImpl("772745005","Circle "+_logmsg,0);
__c.LogImpl("530277677","Circle "+_logmsg,0);
//BA.debugLineNum = 450;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)";
_plotcircle(_x0,_y0,_x1,_y1,_points,_fill);
}else if(_shape==1) {
//BA.debugLineNum = 452;BA.debugLine="Log(\"Box \" & logmsg)";
__c.LogImpl("772745008","Box "+_logmsg,0);
__c.LogImpl("530277680","Box "+_logmsg,0);
//BA.debugLineNum = 453;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)";
_plotbox(_x0,_y0,_x1,_y1,_points,_fill);
}else {
//BA.debugLineNum = 455;BA.debugLine="Log(\"Line \" & logmsg)";
__c.LogImpl("772745011","Line "+_logmsg,0);
__c.LogImpl("530277683","Line "+_logmsg,0);
//BA.debugLineNum = 456;BA.debugLine="PlotLine(x0, y0, x1, y1, points)";
_plotline(_x0,_y0,_x1,_y1,_points);
};
@@ -1952,7 +1952,7 @@ _databytes = _data.getBytes("ASCII");
//BA.debugLineNum = 1078;BA.debugLine="Dim dlow As Int = databytes.Length";
_dlow = _databytes.length;
//BA.debugLineNum = 1079;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \",";
__c.LogImpl("774383363","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0);
__c.LogImpl("531916035","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0);
//BA.debugLineNum = 1080;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt";
_writestring(_gs+"k"+BA.ObjectToString(_bartype.toUpperCase().charAt((int) (0))));
//BA.debugLineNum = 1081;BA.debugLine="Dim params(1) As Byte";
@@ -1990,7 +1990,7 @@ _dhigh = (int) (_databytes.length/(double)256);
//BA.debugLineNum = 1095;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256";
_dlow = (int) (_databytes.length-_dhigh*256);
//BA.debugLineNum = 1096;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \",";
__c.LogImpl("774448900","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0);
__c.LogImpl("531981572","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0);
//BA.debugLineNum = 1097;BA.debugLine="Dim params(3) As Byte";
_params = new byte[(int) (3)];
;
@@ -2027,7 +2027,7 @@ _astream.Write(_data.getBytes(_encoding));
}
catch (Exception e6) {
ba.setLastException(e6); //BA.debugLineNum = 305;BA.debugLine="Log(\"Printer error : \" & LastException.Message)";
__c.LogImpl("772482822","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0);
__c.LogImpl("530015494","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0);
//BA.debugLineNum = 306;BA.debugLine="AStream_Error";
_astream_error();
};

View File

@@ -32,9 +32,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -180,9 +180,9 @@ _rs.Close();
}
catch (Exception e19) {
ba.setLastException(e19); //BA.debugLineNum = 91;BA.debugLine="Log(\"error extracting information from file prov";
__c.LogImpl("775169813","error extracting information from file provider",0);
__c.LogImpl("532702485","error extracting information from file provider",0);
//BA.debugLineNum = 92;BA.debugLine="Log(LastException)";
__c.LogImpl("775169814",BA.ObjectToString(__c.LastException(getActivityBA())),0);
__c.LogImpl("532702486",BA.ObjectToString(__c.LastException(getActivityBA())),0);
};
//BA.debugLineNum = 94;BA.debugLine="End Sub";
return "";
@@ -259,11 +259,11 @@ _dir = (String) result[1];
_filename = (String) result[2];
;
//BA.debugLineNum = 53;BA.debugLine="Log($\"***************************${CRLF}${Dir}${C";
parent.__c.LogImpl("774973189",("***************************"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_dir))+""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+" "+parent.__c.SmartStringFormatter("",(Object)(_filename))+""),0);
parent.__c.LogImpl("532505861",("***************************"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_dir))+""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+" "+parent.__c.SmartStringFormatter("",(Object)(_filename))+""),0);
//BA.debugLineNum = 54;BA.debugLine="Dim res As LoadResult = CreateLoadResult(Success,";
_res = parent._createloadresult(_success,_dir,_filename);
//BA.debugLineNum = 55;BA.debugLine="Log($\"***************************${CRLF}${res.Fil";
parent.__c.LogImpl("774973191",("***************************"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_res.FileName /*String*/ ))+""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+" "+parent.__c.SmartStringFormatter("",(Object)(_res))+""),0);
parent.__c.LogImpl("532505863",("***************************"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_res.FileName /*String*/ ))+""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+" "+parent.__c.SmartStringFormatter("",(Object)(_res))+""),0);
//BA.debugLineNum = 56;BA.debugLine="If res.Success Then ExtractInformationFromURI(res";
if (true) break;

View File

@@ -33,9 +33,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -42,9 +42,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -127,7 +127,7 @@ _req.InitializeDelete(_link);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 266;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
__c.LogImpl("922085637",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
__c.LogImpl("955312389",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 267;BA.debugLine="req.InitializeDelete(InvalidURL)";
_req.InitializeDelete(_invalidurl);
};
@@ -146,7 +146,7 @@ _req.InitializeDelete(_escapelink(_link,_parameters));
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 277;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
__c.LogImpl("922151173",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
__c.LogImpl("955377925",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 278;BA.debugLine="req.InitializeDelete(escapeLink(InvalidURL, Para";
_req.InitializeDelete(_escapelink(_invalidurl,_parameters));
};
@@ -165,7 +165,7 @@ _req.InitializeGet(_link);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 224;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
__c.LogImpl("921889029",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
__c.LogImpl("955115781",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 225;BA.debugLine="req.InitializeGet(InvalidURL)";
_req.InitializeGet(_invalidurl);
};
@@ -184,7 +184,7 @@ _req.InitializeGet(_escapelink(_link,_parameters));
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 240;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
__c.LogImpl("921954565",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
__c.LogImpl("955181317",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 241;BA.debugLine="req.InitializeGet(escapeLink(InvalidURL, Paramet";
_req.InitializeGet(_escapelink(_invalidurl,_parameters));
};
@@ -308,7 +308,7 @@ _req.InitializeHead(_link);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 124;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
__c.LogImpl("921626885",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
__c.LogImpl("954853637",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 125;BA.debugLine="req.InitializeHead(InvalidURL)";
_req.InitializeHead(_invalidurl);
};
@@ -362,7 +362,7 @@ _req.InitializePatch2(_link,_data);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 109;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
__c.LogImpl("921561356",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
__c.LogImpl("954788108",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 110;BA.debugLine="req.InitializePatch2(InvalidURL, Data)";
_req.InitializePatch2(_invalidurl,_data);
};
@@ -388,7 +388,7 @@ _req.InitializePost2(_link,_data);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 68;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
__c.LogImpl("921299205",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
__c.LogImpl("954525957",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 69;BA.debugLine="req.InitializePost2(InvalidURL, Data)";
_req.InitializePost2(_invalidurl,_data);
};
@@ -409,7 +409,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("921823496","Cannot send files from the assets folder.",0);
__c.LogImpl("955050248","Cannot send files from the assets folder.",0);
//BA.debugLineNum = 199;BA.debugLine="Return";
if (true) return "";
};
@@ -546,7 +546,7 @@ _req.InitializePut2(_link,_data);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 85;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
__c.LogImpl("921430277",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
__c.LogImpl("954657029",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 86;BA.debugLine="req.InitializePut2(InvalidURL, Data)";
_req.InitializePut2(_invalidurl,_data);
};

View File

@@ -54,9 +54,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -70,7 +70,7 @@ _job = (medicomed.keymon.com.mx.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("720971526","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0);
anywheresoftware.b4a.keywords.Common.LogImpl("554198278","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0);
//BA.debugLineNum = 159;BA.debugLine="Return";
if (true) return "";
};
@@ -89,7 +89,7 @@ public static String _hc_responseerror(anywheresoftware.b4h.okhttp.OkHttpClient
medicomed.keymon.com.mx.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("720905986",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0);
anywheresoftware.b4a.keywords.Common.LogImpl("554132738",("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)";
@@ -97,7 +97,7 @@ _job = (medicomed.keymon.com.mx.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("720905991","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0);
anywheresoftware.b4a.keywords.Common.LogImpl("554132743","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0);
//BA.debugLineNum = 123;BA.debugLine="Return";
if (true) return "";
};
@@ -123,7 +123,7 @@ _job = (medicomed.keymon.com.mx.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("720774915","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0);
anywheresoftware.b4a.keywords.Common.LogImpl("554001667","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0);
//BA.debugLineNum = 96;BA.debugLine="Return";
if (true) return "";
};
@@ -185,9 +185,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("720447239",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0);
anywheresoftware.b4a.keywords.Common.LogImpl("553673991",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0);
//BA.debugLineNum = 35;BA.debugLine="Log(\"Switching to File.DirInternal\")";
anywheresoftware.b4a.keywords.Common.LogImpl("720447240","Switching to File.DirInternal",0);
anywheresoftware.b4a.keywords.Common.LogImpl("553673992","Switching to File.DirInternal",0);
//BA.debugLineNum = 36;BA.debugLine="TempFolder = File.DirInternal";
_tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternal();
};

View File

@@ -35,9 +35,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -342,9 +342,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -431,9 +431,9 @@ starter._process_globals();
appupdater._process_globals();
mapa_rutas._process_globals();
mapa_cliente._process_globals();
subs._process_globals();
notificationservice._process_globals();
pendientes._process_globals();
subs._process_globals();
tracker._process_globals();
newinst2._process_globals();
b4xpages._process_globals();

View File

@@ -33,9 +33,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -122,7 +122,7 @@ return null;
public String _raiseevent() throws Exception{
//BA.debugLineNum = 51;BA.debugLine="Private Sub RaiseEvent";
//BA.debugLineNum = 52;BA.debugLine="Log(\"Calling : \" & mEventName & \"_StorageAvailab";
__c.LogImpl("775694081","Calling : "+_meventname+"_StorageAvailable",0);
__c.LogImpl("533226753","Calling : "+_meventname+"_StorageAvailable",0);
//BA.debugLineNum = 53;BA.debugLine="CallSubDelayed(mCallback, mEventName & \"_StorageA";
__c.CallSubDelayed(ba,_mcallback,_meventname+"_StorageAvailable");
//BA.debugLineNum = 54;BA.debugLine="End Sub";

View File

@@ -363,9 +363,9 @@ public medicomed.keymon.com.mx.main _main = null;
public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -438,7 +438,7 @@ return "";
public static String _b_regresar_click() throws Exception{
//BA.debugLineNum = 120;BA.debugLine="Private Sub b_regresar_Click";
//BA.debugLineNum = 121;BA.debugLine="Log(\"Pressed\")";
anywheresoftware.b4a.keywords.Common.LogImpl("751314689","Pressed",0);
anywheresoftware.b4a.keywords.Common.LogImpl("534013185","Pressed",0);
//BA.debugLineNum = 122;BA.debugLine="Activity.Finish";
mostCurrent._activity.Finish();
//BA.debugLineNum = 123;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";

View File

@@ -385,9 +385,9 @@ public medicomed.keymon.com.mx.main _main = null;
public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -484,7 +484,7 @@ this.state = 8;
//BA.debugLineNum = 71;BA.debugLine="StartService(Tracker)";
anywheresoftware.b4a.keywords.Common.StartService(processBA,(Object)(parent.mostCurrent._tracker.getObject()));
//BA.debugLineNum = 72;BA.debugLine="Log(\"Start Tracker\")";
anywheresoftware.b4a.keywords.Common.LogImpl("747775760","Start Tracker",0);
anywheresoftware.b4a.keywords.Common.LogImpl("511468816","Start Tracker",0);
//BA.debugLineNum = 73;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable =";
if (true) break;
@@ -885,7 +885,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 137;BA.debugLine="Log(\"ENTRANDO MapFragment1_Ready\")";
anywheresoftware.b4a.keywords.Common.LogImpl("747906817","ENTRANDO MapFragment1_Ready",0);
anywheresoftware.b4a.keywords.Common.LogImpl("511599873","ENTRANDO MapFragment1_Ready",0);
//BA.debugLineNum = 138;BA.debugLine="gmap = MapFragment1.GetMap";
parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.GetMap();
//BA.debugLineNum = 139;BA.debugLine="gmap.IsInitialized";
@@ -928,7 +928,7 @@ parent._c.IsInitialized();
//BA.debugLineNum = 153;BA.debugLine="c=skmt.ExecQuery(\"select CAT_CL_CODIGO,CAT_CL_NO";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG from kmt_info where gestion = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_LAT <> ' ' and CAT_CL_LONG <> ' ' and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1 AND CAT_CL_CODIGO NOT LIKE '%N%'")));
//BA.debugLineNum = 155;BA.debugLine="Log($\"============== Resultados = ${c.RowCount}\"";
anywheresoftware.b4a.keywords.Common.LogImpl("747906835",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+""),0);
anywheresoftware.b4a.keywords.Common.LogImpl("511599891",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+""),0);
//BA.debugLineNum = 156;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
@@ -974,7 +974,7 @@ parent._c.setPosition(_i);
//BA.debugLineNum = 161;BA.debugLine="LatitudRu = 0";
parent._latitudru = 0;
//BA.debugLineNum = 162;BA.debugLine="Log(c.GetString(\"CAT_CL_CODIGO\")&\" \"& c.G";
anywheresoftware.b4a.keywords.Common.LogImpl("747906842",parent._c.GetString("CAT_CL_CODIGO")+" "+parent._c.GetString("CAT_CL_LAT"),0);
anywheresoftware.b4a.keywords.Common.LogImpl("511599898",parent._c.GetString("CAT_CL_CODIGO")+" "+parent._c.GetString("CAT_CL_LAT"),0);
//BA.debugLineNum = 163;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then Latitu";
if (true) break;
@@ -1081,7 +1081,7 @@ parent._c2.IsInitialized();
//BA.debugLineNum = 180;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_";
parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1 UNION select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1")));
//BA.debugLineNum = 181;BA.debugLine="Log($\"============== Resultados = ${c2.RowCount}";
anywheresoftware.b4a.keywords.Common.LogImpl("747906861",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c2.getRowCount()))+""),0);
anywheresoftware.b4a.keywords.Common.LogImpl("511599917",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c2.getRowCount()))+""),0);
//BA.debugLineNum = 182;BA.debugLine="For i = 0 To c2.RowCount -1";
if (true) break;
@@ -1172,7 +1172,7 @@ parent._c2.IsInitialized();
//BA.debugLineNum = 197;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL";
parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1")));
//BA.debugLineNum = 198;BA.debugLine="Log($\"============== Resultados = ${c2.RowCount";
anywheresoftware.b4a.keywords.Common.LogImpl("747906878",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c2.getRowCount()))+""),0);
anywheresoftware.b4a.keywords.Common.LogImpl("511599934",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c2.getRowCount()))+""),0);
//BA.debugLineNum = 199;BA.debugLine="For i = 0 To c2.RowCount -1";
if (true) break;
@@ -1270,7 +1270,7 @@ parent._c3.IsInitialized();
//BA.debugLineNum = 217;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_";
parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1")));
//BA.debugLineNum = 218;BA.debugLine="Log($\"============== Resultados = ${c3.RowCount}";
anywheresoftware.b4a.keywords.Common.LogImpl("747906898",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c3.getRowCount()))+""),0);
anywheresoftware.b4a.keywords.Common.LogImpl("511599954",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c3.getRowCount()))+""),0);
//BA.debugLineNum = 219;BA.debugLine="For i = 0 To c3.RowCount -1";
if (true) break;
@@ -1342,7 +1342,7 @@ parent._c3.IsInitialized();
//BA.debugLineNum = 232;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL";
parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1")));
//BA.debugLineNum = 233;BA.debugLine="Log($\"============== Resultados = ${c3.RowCount";
anywheresoftware.b4a.keywords.Common.LogImpl("747906913",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c3.getRowCount()))+""),0);
anywheresoftware.b4a.keywords.Common.LogImpl("511599969",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c3.getRowCount()))+""),0);
//BA.debugLineNum = 234;BA.debugLine="For i = 0 To c3.RowCount -1";
if (true) break;

View File

@@ -145,9 +145,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
public medicomed.keymon.com.mx.b4xcollections _b4xcollections = null;
@@ -167,7 +167,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("711403265","-- AppUpdating.NewInst2: processing MyAppReload",0);};
anywheresoftware.b4a.keywords.Common.LogImpl("544630017","-- 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\")";
@@ -190,7 +190,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("711141121","---- AppUpdating.newinst2: service created",_logcolor1);
anywheresoftware.b4a.keywords.Common.LogImpl("544367873","---- AppUpdating.newinst2: service created",_logcolor1);
//BA.debugLineNum = 15;BA.debugLine="pkg = \"\"";
_pkg = "";
//BA.debugLineNum = 16;BA.debugLine="svcVerbose = False";
@@ -206,28 +206,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("711206657","---- AppUpdating.newinst2: service_started",_logcolor1);
anywheresoftware.b4a.keywords.Common.LogImpl("544433409","---- 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("711206659",(""+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("544433411",(""+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("711206660",(""+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("544433412",(""+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("711206661",(""+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("544433413",(""+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("711206662",(""+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("544433414",(""+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("711206665",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("544433417",(""+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("711206667",(""+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("544433419",(""+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();
};

View File

@@ -144,8 +144,8 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -407,7 +407,7 @@ this.state = 6;
case 6:
//C
this.state = 9;
anywheresoftware.b4a.keywords.Common.LogImpl("776218371",_sbn.getPackageName(),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("534340867",_sbn.getPackageName(),anywheresoftware.b4a.keywords.Common.Colors.Red);
if (true) break;
case 9:
@@ -427,7 +427,7 @@ this.state = 12;
case 12:
//C
this.state = 15;
anywheresoftware.b4a.keywords.Common.LogImpl("776218372","isGroupWA2: "+BA.ObjectToString(_isgroupwa(_sbn)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);
anywheresoftware.b4a.keywords.Common.LogImpl("534340868","isGroupWA2: "+BA.ObjectToString(_isgroupwa(_sbn)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);
if (true) break;
case 15:
@@ -447,7 +447,7 @@ this.state = 18;
case 18:
//C
this.state = 21;
anywheresoftware.b4a.keywords.Common.LogImpl("776218373","isPersonWA: "+BA.ObjectToString(_ispersonwa(_sbn)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);
anywheresoftware.b4a.keywords.Common.LogImpl("534340869","isPersonWA: "+BA.ObjectToString(_ispersonwa(_sbn)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);
if (true) break;
case 21:
@@ -467,7 +467,7 @@ this.state = 24;
case 24:
//C
this.state = 27;
anywheresoftware.b4a.keywords.Common.LogImpl("776218374",("getGroupName: |"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_getgroupname(_sbn.getTitle())))+"|"),0);
anywheresoftware.b4a.keywords.Common.LogImpl("534340870",("getGroupName: |"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_getgroupname(_sbn.getTitle())))+"|"),0);
if (true) break;
case 27:

View File

@@ -17,8 +17,8 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -50,9 +50,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -51,9 +51,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -42,9 +42,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -165,9 +165,9 @@ public medicomed.keymon.com.mx.main _main = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
@@ -201,7 +201,7 @@ public static String _btadmin_statechanged(int _newstate,int _oldstate) throws
//BA.debugLineNum = 58;BA.debugLine="Private Sub BTAdmin_StateChanged (NewState As Int,";
//BA.debugLineNum = 59;BA.debugLine="If logger Then Log(\"BT state changed: \" & NewStat";
if (_logger) {
anywheresoftware.b4a.keywords.Common.LogImpl("7458753","BT state changed: "+BA.NumberToString(_newstate),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("5720897","BT state changed: "+BA.NumberToString(_newstate),0);};
//BA.debugLineNum = 60;BA.debugLine="BluetoothState = NewState = BTAdmin.STATE_ON";
_bluetoothstate = _newstate==_btadmin.STATE_ON;
//BA.debugLineNum = 62;BA.debugLine="End Sub";
@@ -214,7 +214,7 @@ medicomed.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null;
_logger = anywheresoftware.b4a.keywords.Common.False;
//BA.debugLineNum = 92;BA.debugLine="If logger Then LogColor(\"Iniciamos ENVIA_ULTIMA_G";
if (_logger) {
anywheresoftware.b4a.keywords.Common.LogImpl("7851970","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
anywheresoftware.b4a.keywords.Common.LogImpl("51114114","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
//BA.debugLineNum = 93;BA.debugLine="Dim cmd As DBCommand";
_cmd = new medicomed.keymon.com.mx.dbrequestmanager._dbcommand();
//BA.debugLineNum = 97;BA.debugLine="Dim cmd As DBCommand";
@@ -230,7 +230,7 @@ mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (process
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._montoactual /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._clientesventa /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._batt /*int*/ ),(Object)(0),(Object)(0),(Object)(0),(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._almacen /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._rutapreventa /*String*/ )};
//BA.debugLineNum = 102;BA.debugLine="If logger Then Log($\"montoActual: ${B4XPages.Main";
if (_logger) {
anywheresoftware.b4a.keywords.Common.LogImpl("7851980",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._batt /*int*/ ))+", 0, 0, 0, Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("51114124",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._batt /*int*/ ))+", 0, 0, 0, Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);};
//BA.debugLineNum = 103;BA.debugLine="reqManager.ExecuteCommand(cmd, \"inst_visitas\")";
_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_visitas"));
//BA.debugLineNum = 104;BA.debugLine="skmt.ExecNonQuery2(\"Update cat_variables set CAT_";
@@ -325,7 +325,7 @@ _dbreqserver = _srv;
//BA.debugLineNum = 136;BA.debugLine="reqManager.Initialize(Me, srv)";
_reqmanager._initialize /*String*/ (processBA,starter.getObject(),_srv);
//BA.debugLineNum = 137;BA.debugLine="LogColor(srv, Colors.red)";
anywheresoftware.b4a.keywords.Common.LogImpl("71048581",_srv,anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("51310725",_srv,anywheresoftware.b4a.keywords.Common.Colors.Red);
//BA.debugLineNum = 138;BA.debugLine="End Sub";
return "";
}
@@ -367,7 +367,7 @@ _dbreqserver = _s._traedbreqserverdebd /*String*/ (_skmt);};
//BA.debugLineNum = 69;BA.debugLine="reqManager.Initialize(Me, DBReqServer)";
_reqmanager._initialize /*String*/ (processBA,starter.getObject(),_dbreqserver);
//BA.debugLineNum = 70;BA.debugLine="Log($\"Starter - |${DBReqServer}|\"$)";
anywheresoftware.b4a.keywords.Common.LogImpl("7524294",("Starter - |"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_dbreqserver))+"|"),0);
anywheresoftware.b4a.keywords.Common.LogImpl("5786438",("Starter - |"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_dbreqserver))+"|"),0);
//BA.debugLineNum = 71;BA.debugLine="End Sub";
return "";
}

View File

@@ -42,16 +42,16 @@ int _difcant = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _pe = null;
//BA.debugLineNum = 808;BA.debugLine="Sub actualizaProducto(cedis As String, costoU As S";
//BA.debugLineNum = 809;BA.debugLine="Log(\"Entramos a actualiza producto\")";
anywheresoftware.b4a.keywords.Common.LogImpl("758523649","Entramos a actualiza producto",0);
anywheresoftware.b4a.keywords.Common.LogImpl("538469633","Entramos a actualiza producto",0);
//BA.debugLineNum = 810;BA.debugLine="Private c As Cursor=B4XPages.MainPage.skmt.ExecQu";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'"))));
//BA.debugLineNum = 812;BA.debugLine="LogColor($\"actualizaProducto, c=${clienteId}, p=$";
anywheresoftware.b4a.keywords.Common.LogImpl("758523652",("actualizaProducto, c="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+", p="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", nombre="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+", cant="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", cedis="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+", tipo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+""),anywheresoftware.b4a.keywords.Common.Colors.Magenta);
anywheresoftware.b4a.keywords.Common.LogImpl("538469636",("actualizaProducto, c="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+", p="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", nombre="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+", cant="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", cedis="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+", tipo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+""),anywheresoftware.b4a.keywords.Common.Colors.Magenta);
//BA.debugLineNum = 813;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
//BA.debugLineNum = 814;BA.debugLine="Log(\"----->1<--------------\")";
anywheresoftware.b4a.keywords.Common.LogImpl("758523654","----->1<--------------",0);
anywheresoftware.b4a.keywords.Common.LogImpl("538469638","----->1<--------------",0);
//BA.debugLineNum = 815;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
//BA.debugLineNum = 816;BA.debugLine="Private antCant As Int = 0";
@@ -70,7 +70,7 @@ mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._s
//BA.debugLineNum = 825;BA.debugLine="If cant = 0 Then";
if (_cant==0) {
//BA.debugLineNum = 826;BA.debugLine="Log(\"BORRAMOS PROD\")";
anywheresoftware.b4a.keywords.Common.LogImpl("758523666","BORRAMOS PROD",0);
anywheresoftware.b4a.keywords.Common.LogImpl("538469650","BORRAMOS PROD",0);
//BA.debugLineNum = 827;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete fr";
mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'"));
//BA.debugLineNum = 828;BA.debugLine="Private pe As Cursor = B4XPages.MainPage.skmt.E";
@@ -84,7 +84,7 @@ mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._s
};
}else {
//BA.debugLineNum = 833;BA.debugLine="Log(\"----->2<--------------\")";
anywheresoftware.b4a.keywords.Common.LogImpl("758523673","----->2<--------------",0);
anywheresoftware.b4a.keywords.Common.LogImpl("538469657","----->2<--------------",0);
//BA.debugLineNum = 835;BA.debugLine="If cant <> 0 Then guardaProductoSinGestion(cedis";
if (_cant!=0) {
_guardaproductosingestion(_ba,_cedis,_costou,BA.NumberToString(_cant),_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas);};
@@ -104,7 +104,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _pe = null;
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'"))));
//BA.debugLineNum = 856;BA.debugLine="LogColor($\"actualizaProducto, c=${clienteId}, p=$";
anywheresoftware.b4a.keywords.Common.LogImpl("758654723",("actualizaProducto, c="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+", p="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", nombre="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+", cant="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", cedis="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+", tipo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+""),anywheresoftware.b4a.keywords.Common.Colors.Magenta);
anywheresoftware.b4a.keywords.Common.LogImpl("538600707",("actualizaProducto, c="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+", p="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", nombre="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+", cant="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", cedis="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+", tipo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+""),anywheresoftware.b4a.keywords.Common.Colors.Magenta);
//BA.debugLineNum = 858;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
//BA.debugLineNum = 859;BA.debugLine="c.Position=0";
@@ -125,7 +125,7 @@ mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._s
//BA.debugLineNum = 868;BA.debugLine="If cant = 0 Then";
if (_cant==0) {
//BA.debugLineNum = 869;BA.debugLine="Log(\"BORRAMOS PROD\")";
anywheresoftware.b4a.keywords.Common.LogImpl("758654736","BORRAMOS PROD",0);
anywheresoftware.b4a.keywords.Common.LogImpl("538600720","BORRAMOS PROD",0);
//BA.debugLineNum = 870;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete fr";
mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'"));
//BA.debugLineNum = 871;BA.debugLine="Private pe As Cursor = B4XPages.MainPage.skmt.E";
@@ -202,11 +202,11 @@ mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._s
try { //BA.debugLineNum = 1527;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB";
mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._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 = 1528;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
anywheresoftware.b4a.keywords.Common.LogImpl("760293131",("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("540239115",("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 e12) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e12); //BA.debugLineNum = 1530;BA.debugLine="Log(LastException)";
anywheresoftware.b4a.keywords.Common.LogImpl("760293133",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
anywheresoftware.b4a.keywords.Common.LogImpl("540239117",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
};
};
//BA.debugLineNum = 1533;BA.debugLine="End Sub";
@@ -229,7 +229,7 @@ boolean _res2 = false;
_thislog = anywheresoftware.b4a.keywords.Common.False;
//BA.debugLineNum = 1108;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial: \"&i";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759244546","Inventario inicial: "+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Gray);};
anywheresoftware.b4a.keywords.Common.LogImpl("539190530","Inventario inicial: "+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Gray);};
//BA.debugLineNum = 1109;BA.debugLine="Private totalProdsVariables As Int = 0";
_totalprodsvariables = (int) (0);
//BA.debugLineNum = 1110;BA.debugLine="Private totalProdsVariables2 As Int = 0";
@@ -256,7 +256,7 @@ _p2 = BA.ObjectToString(_inventariosinfijos.Get((Object)(_t)));
_totalprodsvariables = (int) (_totalprodsvariables+(double)(Double.parseDouble(_p2)));
//BA.debugLineNum = 1122;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759244560",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539190544",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);};
};
}
};
@@ -276,16 +276,16 @@ _p2 = BA.ObjectToString(_inventariosinfijos.Get((Object)(_t)));
_totalprodsvariables2 = (int) (_totalprodsvariables2+(double)(Double.parseDouble(_p2)));
//BA.debugLineNum = 1130;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759244568",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539190552",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);};
};
}
};
//BA.debugLineNum = 1133;BA.debugLine="If thisLog Then Log(\"Total prods variables=\" & to";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759244571","Total prods variables="+BA.NumberToString(_totalprodsvariables)+", requeridos="+BA.ObjectToString(_promomap.Get((Object)("prodsVariablesRequeridos"))),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539190555","Total prods variables="+BA.NumberToString(_totalprodsvariables)+", requeridos="+BA.ObjectToString(_promomap.Get((Object)("prodsVariablesRequeridos"))),0);};
//BA.debugLineNum = 1134;BA.debugLine="If thisLog Then Log(\"Total prods variables2=\" & t";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759244572","Total prods variables2="+BA.NumberToString(_totalprodsvariables2)+", requeridos2="+BA.ObjectToString(_promomap.Get((Object)("prodsVariables2Requeridos"))),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539190556","Total prods variables2="+BA.NumberToString(_totalprodsvariables2)+", requeridos2="+BA.ObjectToString(_promomap.Get((Object)("prodsVariables2Requeridos"))),0);};
//BA.debugLineNum = 1135;BA.debugLine="Private res As Boolean = False";
_res = anywheresoftware.b4a.keywords.Common.False;
//BA.debugLineNum = 1136;BA.debugLine="Private res1 As Boolean = False";
@@ -309,7 +309,7 @@ _res2 = anywheresoftware.b4a.keywords.Common.True;
if (((int)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariables2Requeridos")))))==0) {
_res2 = anywheresoftware.b4a.keywords.Common.True;};
//BA.debugLineNum = 1150;BA.debugLine="Log(res1&\" ________________________\" & res2)";
anywheresoftware.b4a.keywords.Common.LogImpl("759244588",BA.ObjectToString(_res1)+" ________________________"+BA.ObjectToString(_res2),0);
anywheresoftware.b4a.keywords.Common.LogImpl("539190572",BA.ObjectToString(_res1)+" ________________________"+BA.ObjectToString(_res2),0);
//BA.debugLineNum = 1151;BA.debugLine="If res1 And res2 Then 'Solo si son verdadero los";
if (_res1 && _res2) {
//BA.debugLineNum = 1152;BA.debugLine="res = True";
@@ -328,13 +328,13 @@ public static String _borraarribade100errores(anywheresoftware.b4a.BA _ba) thro
//BA.debugLineNum = 467;BA.debugLine="revisaBD";
_revisabd(_ba);
//BA.debugLineNum = 468;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)";
anywheresoftware.b4a.keywords.Common.LogImpl("756885250","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
anywheresoftware.b4a.keywords.Common.LogImpl("536831234","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
//BA.debugLineNum = 469;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 = 470;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")";
_errorlog.ExecNonQuery("vacuum;");
//BA.debugLineNum = 471;BA.debugLine="Log(\"Borramos mas de 100 de errorLog\")";
anywheresoftware.b4a.keywords.Common.LogImpl("756885253","Borramos mas de 100 de errorLog",0);
anywheresoftware.b4a.keywords.Common.LogImpl("536831237","Borramos mas de 100 de errorLog",0);
//BA.debugLineNum = 472;BA.debugLine="End Sub";
return "";
}
@@ -343,20 +343,20 @@ public static String _borraarribade600renglonesbitacora(anywheresoftware.b4a.BA
//BA.debugLineNum = 476;BA.debugLine="revisaBD";
_revisabd(_ba);
//BA.debugLineNum = 477;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)";
anywheresoftware.b4a.keywords.Common.LogImpl("756950786","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
anywheresoftware.b4a.keywords.Common.LogImpl("536896770","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
//BA.debugLineNum = 478;BA.debugLine="kmt.ExecNonQuery(\"DELETE FROM bitacora WHERE fech";
_kmt.ExecNonQuery("DELETE FROM bitacora WHERE fecha NOT in (SELECT fecha FROM bitacora ORDER BY fecha desc LIMIT 599 )");
//BA.debugLineNum = 479;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")";
_kmt.ExecNonQuery("vacuum;");
//BA.debugLineNum = 480;BA.debugLine="Log(\"Borramos mas de 600 de bitacora\")";
anywheresoftware.b4a.keywords.Common.LogImpl("756950789","Borramos mas de 600 de bitacora",0);
anywheresoftware.b4a.keywords.Common.LogImpl("536896773","Borramos mas de 600 de bitacora",0);
//BA.debugLineNum = 481;BA.debugLine="End Sub";
return "";
}
public static String _borralogdb(anywheresoftware.b4a.BA _ba) throws Exception{
//BA.debugLineNum = 350;BA.debugLine="Sub borraLogDB 'ignore";
//BA.debugLineNum = 351;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)";
anywheresoftware.b4a.keywords.Common.LogImpl("756688641","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
anywheresoftware.b4a.keywords.Common.LogImpl("536634625","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
//BA.debugLineNum = 352;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")";
_kmt.ExecNonQuery("delete from bitacora");
//BA.debugLineNum = 353;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")";
@@ -406,7 +406,7 @@ mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("upda
//BA.debugLineNum = 1473;BA.debugLine="Starter.skmt.ExecNonQuery($\"update CAT_GUNAPROD";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update CAT_GUNAPROD2 set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'"));
//BA.debugLineNum = 1474;BA.debugLine="LogColor($\"update ${traeTablaProds(thisC.GetStr";
anywheresoftware.b4a.keywords.Common.LogImpl("760030999",("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_thisc.GetString("PE_FOLIO"))))+" set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'"),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("539976983",("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_thisc.GetString("PE_FOLIO"))))+" set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'"),anywheresoftware.b4a.keywords.Common.Colors.Red);
}
};
};
@@ -485,7 +485,7 @@ _compressed = _gzip.compress(_str);
//BA.debugLineNum = 50;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed";
_base64 = _su.EncodeBase64(_compressed);
//BA.debugLineNum = 51;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)";
anywheresoftware.b4a.keywords.Common.LogImpl("755443462",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0);
anywheresoftware.b4a.keywords.Common.LogImpl("535389446",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0);
//BA.debugLineNum = 53;BA.debugLine="Return base64";
if (true) return _base64;
//BA.debugLineNum = 54;BA.debugLine="End Sub";
@@ -534,11 +534,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 = 581;BA.debugLine="Log(\"rootExternal=\"&p)";
anywheresoftware.b4a.keywords.Common.LogImpl("757278489","rootExternal="+_p,0);
anywheresoftware.b4a.keywords.Common.LogImpl("537224473","rootExternal="+_p,0);
//BA.debugLineNum = 582;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
anywheresoftware.b4a.keywords.Common.LogImpl("757278490","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
anywheresoftware.b4a.keywords.Common.LogImpl("537224474","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
//BA.debugLineNum = 583;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
anywheresoftware.b4a.keywords.Common.LogImpl("757278491","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
anywheresoftware.b4a.keywords.Common.LogImpl("537224475","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
}else {
//BA.debugLineNum = 585;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),anywheresoftware.b4a.keywords.Common.False);
@@ -561,7 +561,7 @@ anywheresoftware.b4a.objects.collections.Map _m = null;
anywheresoftware.b4a.objects.collections.Map _m2 = null;
//BA.debugLineNum = 494;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,";
//BA.debugLineNum = 495;BA.debugLine="Log(\"dameErroresJSON\")";
anywheresoftware.b4a.keywords.Common.LogImpl("757081857","dameErroresJSON",0);
anywheresoftware.b4a.keywords.Common.LogImpl("537027841","dameErroresJSON",0);
//BA.debugLineNum = 496;BA.debugLine="Private j As JSONGenerator";
_j = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator();
//BA.debugLineNum = 497;BA.debugLine="Private lim As String";
@@ -605,7 +605,7 @@ _cur.Close();
//BA.debugLineNum = 514;BA.debugLine="j.Initialize(m2)";
_j.Initialize(_m2);
//BA.debugLineNum = 515;BA.debugLine="Log(j.ToString)";
anywheresoftware.b4a.keywords.Common.LogImpl("757081877",_j.ToString(),0);
anywheresoftware.b4a.keywords.Common.LogImpl("537027861",_j.ToString(),0);
//BA.debugLineNum = 516;BA.debugLine="If comprimido Then";
if (_comprimido) {
//BA.debugLineNum = 517;BA.debugLine="Return compress(j.ToString)";
@@ -637,7 +637,7 @@ _fechainicio = _fechainiciohoy(_ba);
};
//BA.debugLineNum = 147;BA.debugLine="If subsLogs Then Log(\"fechaInicio: \"&fechaInicio&";
if (_subslogs) {
anywheresoftware.b4a.keywords.Common.LogImpl("755902219","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("535848203","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);};
//BA.debugLineNum = 148;BA.debugLine="Dim c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
//BA.debugLineNum = 149;BA.debugLine="If kmt.IsInitialized = False Then kmt.Initialize(";
@@ -645,7 +645,7 @@ if (_kmt.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) {
_kmt.Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);};
//BA.debugLineNum = 150;BA.debugLine="If subsLogs Then Log(\"select FECHA, LAT, LON from";
if (_subslogs) {
anywheresoftware.b4a.keywords.Common.LogImpl("755902222","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("535848206","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);};
//BA.debugLineNum = 151;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 = 152;BA.debugLine="c.Position = 0";
@@ -713,7 +713,7 @@ _bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter();
//BA.debugLineNum = 61;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d";
_uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8");
//BA.debugLineNum = 62;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)";
anywheresoftware.b4a.keywords.Common.LogImpl("755508997",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0);
anywheresoftware.b4a.keywords.Common.LogImpl("535454981",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0);
//BA.debugLineNum = 64;BA.debugLine="Return uncompressed";
if (true) return _uncompressed;
//BA.debugLineNum = 65;BA.debugLine="End Sub";
@@ -754,7 +754,7 @@ _h = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.key
//BA.debugLineNum = 313;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat);
//BA.debugLineNum = 314;BA.debugLine="Log(\"Hoy=\"&h)";
anywheresoftware.b4a.keywords.Common.LogImpl("756426501","Hoy="+_h,0);
anywheresoftware.b4a.keywords.Common.LogImpl("536372485","Hoy="+_h,0);
//BA.debugLineNum = 315;BA.debugLine="Return h";
if (true) return _h;
//BA.debugLineNum = 316;BA.debugLine="End Sub";
@@ -804,16 +804,16 @@ anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat);
if (true) return _ticks;
}else {
//BA.debugLineNum = 536;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '";
anywheresoftware.b4a.keywords.Common.LogImpl("757147404","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0);
anywheresoftware.b4a.keywords.Common.LogImpl("537093388","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0);
//BA.debugLineNum = 537;BA.debugLine="Return 0";
if (true) return (long) (0);
};
}
catch (Exception e16) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16); //BA.debugLineNum = 540;BA.debugLine="Log(LastException)";
anywheresoftware.b4a.keywords.Common.LogImpl("757147408",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
anywheresoftware.b4a.keywords.Common.LogImpl("537093392",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
//BA.debugLineNum = 541;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p";
anywheresoftware.b4a.keywords.Common.LogImpl("757147409",("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("537093393",("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 = 542;BA.debugLine="Return 0";
if (true) return (long) (0);
};
@@ -924,7 +924,7 @@ public static String _guardainfoenbd(anywheresoftware.b4a.BA _ba,String _coords
String[] _latlon = null;
//BA.debugLineNum = 123;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore";
//BA.debugLineNum = 124;BA.debugLine="Log(\"Guardamos ubicacion en BD - \"&coords)";
anywheresoftware.b4a.keywords.Common.LogImpl("755836673","Guardamos ubicacion en BD - "+_coords,0);
anywheresoftware.b4a.keywords.Common.LogImpl("535782657","Guardamos ubicacion en BD - "+_coords,0);
//BA.debugLineNum = 125;BA.debugLine="Try";
try { //BA.debugLineNum = 126;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord";
_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",_coords);
@@ -933,13 +933,13 @@ if (_latlon.length<2) {
_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split(",",_coords);};
//BA.debugLineNum = 128;BA.debugLine="If subsLogs Then Log(\"LatLon=\"&latlon)";
if (_subslogs) {
anywheresoftware.b4a.keywords.Common.LogImpl("755836677","LatLon="+BA.ObjectToString(_latlon),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("535782661","LatLon="+BA.ObjectToString(_latlon),0);};
//BA.debugLineNum = 129;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(FECHA, L";
_kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_latlon[(int) (2)]),(Object)(_latlon[(int) (0)]),(Object)(_latlon[(int) (1)])}));
}
catch (Exception e8) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8); //BA.debugLineNum = 131;BA.debugLine="LogColor(LastException, Colors.red)";
anywheresoftware.b4a.keywords.Common.LogImpl("755836680",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("535782664",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 133;BA.debugLine="End Sub";
return "";
@@ -1035,7 +1035,7 @@ int _x = 0;
//BA.debugLineNum = 485;BA.debugLine="revisaBD";
_revisabd(_ba);
//BA.debugLineNum = 486;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")";
anywheresoftware.b4a.keywords.Common.LogImpl("757016322","insertamos 50 renglones a errorLog",0);
anywheresoftware.b4a.keywords.Common.LogImpl("536962306","insertamos 50 renglones a errorLog",0);
//BA.debugLineNum = 487;BA.debugLine="For x = 1 To 50";
{
final int step3 = 1;
@@ -1045,7 +1045,7 @@ for (;_x <= limit3 ;_x = _x + step3 ) {
//BA.debugLineNum = 488;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 = 489;BA.debugLine="Log(x)";
anywheresoftware.b4a.keywords.Common.LogImpl("757016325",BA.NumberToString(_x),0);
anywheresoftware.b4a.keywords.Common.LogImpl("536962309",BA.NumberToString(_x),0);
}
};
//BA.debugLineNum = 491;BA.debugLine="End Sub";
@@ -1082,7 +1082,7 @@ if (true) return _json.NextObject();
}
catch (Exception e6) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 272;BA.debugLine="Log(LastException)";
anywheresoftware.b4a.keywords.Common.LogImpl("756295431",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
anywheresoftware.b4a.keywords.Common.LogImpl("536241415",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
//BA.debugLineNum = 273;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)";
_log2db(_ba,"JSON2Map: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)));
//BA.debugLineNum = 274;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene";
@@ -1097,7 +1097,7 @@ return null;
public static String _log2db(anywheresoftware.b4a.BA _ba,String _texto) throws Exception{
//BA.debugLineNum = 319;BA.debugLine="Sub log2DB(texto As String) 'ignore";
//BA.debugLineNum = 320;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te";
anywheresoftware.b4a.keywords.Common.LogImpl("756492033",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.LightGray);
anywheresoftware.b4a.keywords.Common.LogImpl("536438017",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.LightGray);
//BA.debugLineNum = 321;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO bitacora(fecha, te";
_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)}));
//BA.debugLineNum = 322;BA.debugLine="End Sub";
@@ -1116,7 +1116,7 @@ final int groupLen1 = group1.getSize()
for (; index1 < groupLen1;index1++){
_records = (Object[])(group1.Get(index1));
//BA.debugLineNum = 1538;BA.debugLine="LogColor($\"====== ${resultado.Tag} - REGISTROS =";
anywheresoftware.b4a.keywords.Common.LogImpl("760358658",("====== "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_resultado.Tag /*Object*/ )+" - REGISTROS = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0)));
anywheresoftware.b4a.keywords.Common.LogImpl("540304642",("====== "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_resultado.Tag /*Object*/ )+" - REGISTROS = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0)));
//BA.debugLineNum = 1539;BA.debugLine="For Each k As String In resultado.Columns.Keys";
{
final anywheresoftware.b4a.BA.IterableList group3 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys();
@@ -1126,7 +1126,7 @@ final int groupLen3 = group3.getSize()
for (; index3 < groupLen3;index3++){
_k = BA.ObjectToString(group3.Get(index3));
//BA.debugLineNum = 1540;BA.debugLine="LogColor(k & \" = \" & records(resultado.Columns.";
anywheresoftware.b4a.keywords.Common.LogImpl("760358660",_k+" = "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0)));
anywheresoftware.b4a.keywords.Common.LogImpl("540304644",_k+" = "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0)));
}
};
}
@@ -1176,7 +1176,7 @@ if (true) return anywheresoftware.b4a.keywords.Common.False;
}
catch (Exception e8) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8); //BA.debugLineNum = 345;BA.debugLine="Log(LastException)";
anywheresoftware.b4a.keywords.Common.LogImpl("756623115",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
anywheresoftware.b4a.keywords.Common.LogImpl("536569099",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
};
//BA.debugLineNum = 347;BA.debugLine="End Sub";
return false;
@@ -1197,7 +1197,7 @@ _notif.setSound(anywheresoftware.b4a.keywords.Common.False);
//BA.debugLineNum = 85;BA.debugLine="notif.AutoCancel = True";
_notif.setAutoCancel(anywheresoftware.b4a.keywords.Common.True);
//BA.debugLineNum = 86;BA.debugLine="Log(\"notiHigh: \"&title)";
anywheresoftware.b4a.keywords.Common.LogImpl("755640071","notiHigh: "+_title,0);
anywheresoftware.b4a.keywords.Common.LogImpl("535586055","notiHigh: "+_title,0);
//BA.debugLineNum = 87;BA.debugLine="notif.SetInfo(title, body, activity)";
_notif.SetInfoNew((_ba.processBA == null ? _ba : _ba.processBA),BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_body),_activity);
//BA.debugLineNum = 89;BA.debugLine="notif.Notify(777)";
@@ -1213,7 +1213,7 @@ _notification = new anywheresoftware.b4a.objects.NotificationWrapper();
//BA.debugLineNum = 95;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_";
_notification.Initialize2(_notification.IMPORTANCE_LOW);
//BA.debugLineNum = 96;BA.debugLine="Log(\"notiLowReturn: \"&title)";
anywheresoftware.b4a.keywords.Common.LogImpl("755705603","notiLowReturn: "+_title,0);
anywheresoftware.b4a.keywords.Common.LogImpl("535651587","notiLowReturn: "+_title,0);
//BA.debugLineNum = 97;BA.debugLine="notification.Icon = \"icon\"";
_notification.setIcon("icon");
//BA.debugLineNum = 98;BA.debugLine="notification.Sound = False";
@@ -1277,26 +1277,26 @@ _thislog = anywheresoftware.b4a.keywords.Common.True;
_iniciocontador = BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow());
//BA.debugLineNum = 1202;BA.debugLine="If thisLog Then LogColor($\"********* Iniciamos re";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759441155",("********* Iniciamos revision de Promo "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idpromo))+" *********"),anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
anywheresoftware.b4a.keywords.Common.LogImpl("539387139",("********* Iniciamos revision de Promo "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idpromo))+" *********"),anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
//BA.debugLineNum = 1204;BA.debugLine="Private pm As Map = traePromo(idPromo, cliente)";
_pm = new anywheresoftware.b4a.objects.collections.Map();
_pm = _traepromo(_ba,_idpromo,_cliente);
//BA.debugLineNum = 1205;BA.debugLine="If thisLog Then LogColor(pm, Colors.Blue)";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759441158",BA.ObjectToString(_pm),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539387142",BA.ObjectToString(_pm),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1206;BA.debugLine="If pm.Get(\"resultado\") = \"ok\" Then 'Si encontramo";
if ((_pm.Get((Object)("resultado"))).equals((Object)("ok"))) {
//BA.debugLineNum = 1208;BA.debugLine="If thisLog Then LogColor($\"Promociones permitida";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759441161",("Promociones permitidas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traemaxpromos(_ba,_pm)))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539387145",("Promociones permitidas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traemaxpromos(_ba,_pm)))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1209;BA.debugLine="If thisLog Then Log(\"Promos vendidas: \" & traePr";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759441162","Promos vendidas: "+BA.NumberToString(_traepromosvendidas(_ba,_idpromo,_cliente)),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539387146","Promos vendidas: "+BA.NumberToString(_traepromosvendidas(_ba,_idpromo,_cliente)),0);};
//BA.debugLineNum = 1210;BA.debugLine="If traePromosVendidas(idPromo, cliente) >= traeM";
if (_traepromosvendidas(_ba,_idpromo,_cliente)>=_traemaxpromos(_ba,_pm)) {
//BA.debugLineNum = 1211;BA.debugLine="If thisLog Then LogColor(\"Ya se vendieron las p";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759441164","Ya se vendieron las promos PERMITIDAS para el cliente",anywheresoftware.b4a.keywords.Common.Colors.Red);};
anywheresoftware.b4a.keywords.Common.LogImpl("539387148","Ya se vendieron las promos PERMITIDAS para el cliente",anywheresoftware.b4a.keywords.Common.Colors.Red);};
//BA.debugLineNum = 1212;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)";
if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ko"),(Object)("mp"),(Object)(_pm.getObject())});
};
@@ -1305,14 +1305,14 @@ _inventariosinfijos = new anywheresoftware.b4a.objects.collections.Map();
_inventariosinfijos = _restafijospromo(_ba,_pm);
//BA.debugLineNum = 1216;BA.debugLine="If thisLog Then LogColor(\"inventariosfijos=\"&inv";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759441169","inventariosfijos="+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Green);};
anywheresoftware.b4a.keywords.Common.LogImpl("539387153","inventariosfijos="+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Green);};
//BA.debugLineNum = 1218;BA.debugLine="If inventarioSinFijos.Get(\"resultado\") = \"ok\" Th";
if ((_inventariosinfijos.Get((Object)("resultado"))).equals((Object)("ok"))) {
//BA.debugLineNum = 1220;BA.debugLine="Private pv As Boolean = alcanzanLosVariablesPa";
_pv = _alcanzanlosvariablesparapromo(_ba,_pm,_inventariosinfijos);
//BA.debugLineNum = 1221;BA.debugLine="If thisLog Then Log(\"Alcanzan los variables? --";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759441174","Alcanzan los variables? --> "+BA.ObjectToString(_pv),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539387158","Alcanzan los variables? --> "+BA.ObjectToString(_pv),0);};
//BA.debugLineNum = 1222;BA.debugLine="If pv Then Return CreateMap(\"status\":\"ok\", \"mp\"";
if (_pv) {
if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ok"),(Object)("mp"),(Object)(_pm.getObject())});}
@@ -1321,13 +1321,13 @@ if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(O
}else {
//BA.debugLineNum = 1224;BA.debugLine="If thisLog Then LogColor(\"NO HAY INVENTARIO SUF";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759441177","NO HAY INVENTARIO SUFICIENTE "+_idpromo,anywheresoftware.b4a.keywords.Common.Colors.Red);};
anywheresoftware.b4a.keywords.Common.LogImpl("539387161","NO HAY INVENTARIO SUFICIENTE "+_idpromo,anywheresoftware.b4a.keywords.Common.Colors.Red);};
//BA.debugLineNum = 1225;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)";
if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ko"),(Object)("mp"),(Object)(_pm.getObject())});
};
};
//BA.debugLineNum = 1231;BA.debugLine="LogColor(\"TIEMPO DE PROCESO ESTA PROMO: \" & ((Dat";
anywheresoftware.b4a.keywords.Common.LogImpl("759441184","TIEMPO DE PROCESO ESTA PROMO: "+BA.NumberToString(((anywheresoftware.b4a.keywords.Common.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("539387168","TIEMPO DE PROCESO ESTA PROMO: "+BA.NumberToString(((anywheresoftware.b4a.keywords.Common.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),anywheresoftware.b4a.keywords.Common.Colors.Red);
//BA.debugLineNum = 1232;BA.debugLine="End Sub";
return null;
}
@@ -1372,10 +1372,10 @@ _inventariosdisponiblesparaestapromo = new anywheresoftware.b4a.objects.collecti
_inventariosdisponiblesparaestapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_promomap.Get((Object)("id"))));
//BA.debugLineNum = 1073;BA.debugLine="If thisLog Then LogColor(\"InvDisponible: \" & inve";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759179011","InvDisponible: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Red);};
anywheresoftware.b4a.keywords.Common.LogImpl("539124995","InvDisponible: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Red);};
//BA.debugLineNum = 1074;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial ante";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759179012","Inventario inicial antes de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Gray);};
anywheresoftware.b4a.keywords.Common.LogImpl("539124996","Inventario inicial antes de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Gray);};
//BA.debugLineNum = 1075;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"resultad";
_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("ko"));
//BA.debugLineNum = 1076;BA.debugLine="Private i As Int";
@@ -1399,17 +1399,17 @@ _p2 = new anywheresoftware.b4a.objects.collections.Map();
_p2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap.Get((Object)(_t))));
//BA.debugLineNum = 1082;BA.debugLine="If thisLog Then Log($\"T: ${t}, prod ${p2.Get(\"id";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759179020",("T: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("idProducto")))+", piezas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("piezas")))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539125004",("T: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("idProducto")))+", piezas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("piezas")))+""),0);};
//BA.debugLineNum = 1083;BA.debugLine="If thisLog Then Log(\"inventariosDisponiblesParaE";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759179021","inventariosDisponiblesParaEstaPromo="+BA.ObjectToString(_inventariosdisponiblesparaestapromo),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539125005","inventariosDisponiblesParaEstaPromo="+BA.ObjectToString(_inventariosdisponiblesparaestapromo),0);};
//BA.debugLineNum = 1084;BA.debugLine="If inventariosDisponiblesParaEstaPromo.ContainsK";
if (_inventariosdisponiblesparaestapromo.ContainsKey((Object)(_t))) {
//BA.debugLineNum = 1085;BA.debugLine="i = inventariosDisponiblesParaEstaPromo.get(t)";
_i = (int)(BA.ObjectToNumber(_inventariosdisponiblesparaestapromo.Get((Object)(_t))));
//BA.debugLineNum = 1086;BA.debugLine="If thisLog Then Log($\"Nuevo inventario de ${t}:";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759179024",("Nuevo inventario de "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+": "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_i))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("1.0",(Object)(_i-(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p)))))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539125008",("Nuevo inventario de "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+": "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_i))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("1.0",(Object)(_i-(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p)))))+""),0);};
//BA.debugLineNum = 1087;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(t, $\"${";
_inventariosdisponiblesparaestapromo.Put((Object)(_t),(Object)((""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_i-(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p)))))+"")));
//BA.debugLineNum = 1088;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result";
@@ -1418,7 +1418,7 @@ _inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("ok"));
//BA.debugLineNum = 1090;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result";
_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("No hay suficiente producto para la promocion."));
//BA.debugLineNum = 1091;BA.debugLine="LogColor(\"Sin suficiente inventario fijo: \" & t";
anywheresoftware.b4a.keywords.Common.LogImpl("759179029","Sin suficiente inventario fijo: "+_t,anywheresoftware.b4a.keywords.Common.Colors.Blue);
anywheresoftware.b4a.keywords.Common.LogImpl("539125013","Sin suficiente inventario fijo: "+_t,anywheresoftware.b4a.keywords.Common.Colors.Blue);
//BA.debugLineNum = 1092;BA.debugLine="Exit";
if (true) break;
};
@@ -1436,7 +1436,7 @@ if (_prodsfijos.getSize()==0) {
_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("ok"));};
//BA.debugLineNum = 1100;BA.debugLine="If thisLog Then LogColor(\"Inventario final depues";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759179038","Inventario final depues de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539125022","Inventario final depues de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1101;BA.debugLine="Return inventariosDisponiblesParaEstaPromo";
if (true) return _inventariosdisponiblesparaestapromo;
//BA.debugLineNum = 1102;BA.debugLine="End Sub";
@@ -1449,7 +1449,7 @@ if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Commo
//BA.debugLineNum = 194;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", Starter.ruta";
anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",mostCurrent._starter._ruta /*String*/ ,"kmt.db");
//BA.debugLineNum = 195;BA.debugLine="LogColor(\"copiamos kmt.db de \"&File.DirAssets &";
anywheresoftware.b4a.keywords.Common.LogImpl("756164358","copiamos kmt.db de "+anywheresoftware.b4a.keywords.Common.File.getDirAssets()+" a "+mostCurrent._starter._ruta /*String*/ ,anywheresoftware.b4a.keywords.Common.Colors.Green);
anywheresoftware.b4a.keywords.Common.LogImpl("536110342","copiamos kmt.db de "+anywheresoftware.b4a.keywords.Common.File.getDirAssets()+" a "+mostCurrent._starter._ruta /*String*/ ,anywheresoftware.b4a.keywords.Common.Colors.Green);
};
//BA.debugLineNum = 197;BA.debugLine="If Not(kmt.IsInitialized) Then kmt.Initialize(Sta";
if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) {
@@ -1477,9 +1477,9 @@ _kmt.ExecNonQuery("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_ENVIO_OK INTEGER");
}
catch (Exception e18) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e18); //BA.debugLineNum = 211;BA.debugLine="LogColor(\"No pudimos agregar la columna PC_ENVI";
anywheresoftware.b4a.keywords.Common.LogImpl("756164374","No pudimos agregar la columna PC_ENVIO_OK.",anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("536110358","No pudimos agregar la columna PC_ENVIO_OK.",anywheresoftware.b4a.keywords.Common.Colors.Red);
//BA.debugLineNum = 212;BA.debugLine="LogColor(LastException, Colors.Red)";
anywheresoftware.b4a.keywords.Common.LogImpl("756164375",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("536110359",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
};
//BA.debugLineNum = 216;BA.debugLine="Try 'Si no existe la columna CAT_CL_DIAS_VISITA l";
@@ -1493,9 +1493,9 @@ _kmt.ExecNonQuery("ALTER TABLE kmt_info ADD COLUMN CAT_CL_DIAS_VISITA TEXT");
}
catch (Exception e28) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e28); //BA.debugLineNum = 222;BA.debugLine="LogColor(\"No pudimos agregar la columna CAT_CL_";
anywheresoftware.b4a.keywords.Common.LogImpl("756164385","No pudimos agregar la columna CAT_CL_DIAS_VISITA.",anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("536110369","No pudimos agregar la columna CAT_CL_DIAS_VISITA.",anywheresoftware.b4a.keywords.Common.Colors.Red);
//BA.debugLineNum = 223;BA.debugLine="LogColor(LastException, Colors.Red)";
anywheresoftware.b4a.keywords.Common.LogImpl("756164386",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("536110370",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
};
//BA.debugLineNum = 227;BA.debugLine="Try 'Si no existe la columna PC_ENVIO_OK la agreg";
@@ -1509,9 +1509,9 @@ _kmt.ExecNonQuery("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_TIEMPO_TIENDA FLOAT"
}
catch (Exception e38) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e38); //BA.debugLineNum = 233;BA.debugLine="LogColor(\"No pudimos agregar la columna PC_TIEM";
anywheresoftware.b4a.keywords.Common.LogImpl("756164396","No pudimos agregar la columna PC_TIEMPO_TIENDA.",anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("536110380","No pudimos agregar la columna PC_TIEMPO_TIENDA.",anywheresoftware.b4a.keywords.Common.Colors.Red);
//BA.debugLineNum = 234;BA.debugLine="LogColor(LastException, Colors.Red)";
anywheresoftware.b4a.keywords.Common.LogImpl("756164397",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("536110381",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
};
//BA.debugLineNum = 237;BA.debugLine="Try 'Si no existe la columna PC_FACTURA la agrega";
@@ -1525,9 +1525,9 @@ _kmt.ExecNonQuery("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_FACTURA INTEGER");
}
catch (Exception e48) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e48); //BA.debugLineNum = 243;BA.debugLine="LogColor(\"No pudimos agregar la columna PC_FACT";
anywheresoftware.b4a.keywords.Common.LogImpl("756164406","No pudimos agregar la columna PC_FACTURA.",anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("536110390","No pudimos agregar la columna PC_FACTURA.",anywheresoftware.b4a.keywords.Common.Colors.Red);
//BA.debugLineNum = 244;BA.debugLine="LogColor(LastException, Colors.Red)";
anywheresoftware.b4a.keywords.Common.LogImpl("756164407",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("536110391",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
};
//BA.debugLineNum = 247;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita";
@@ -1546,7 +1546,7 @@ public static String _revisaflp(anywheresoftware.b4a.BA _ba) throws Exception{
boolean _todobienflp = false;
//BA.debugLineNum = 397;BA.debugLine="Sub revisaFLP 'ignore";
//BA.debugLineNum = 398;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col";
anywheresoftware.b4a.keywords.Common.LogImpl("756819713","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227)));
anywheresoftware.b4a.keywords.Common.LogImpl("536765697","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227)));
//BA.debugLineNum = 399;BA.debugLine="Private todoBienFLP As Boolean = True";
_todobienflp = anywheresoftware.b4a.keywords.Common.True;
//BA.debugLineNum = 400;BA.debugLine="Try";
@@ -1562,7 +1562,7 @@ _todobienflp = anywheresoftware.b4a.keywords.Common.False;
}
catch (Exception e10) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e10); //BA.debugLineNum = 407;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) ---";
anywheresoftware.b4a.keywords.Common.LogImpl("756819722","If Not(Tracker.FLP.IsInitialized) --- "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("536765706","If Not(Tracker.FLP.IsInitialized) --- "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 409;BA.debugLine="Try";
try { //BA.debugLineNum = 410;BA.debugLine="If Tracker.FLP.IsInitialized Then";
@@ -1580,7 +1580,7 @@ _todobienflp = anywheresoftware.b4a.keywords.Common.False;
}
catch (Exception e21) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e21); //BA.debugLineNum = 419;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->";
anywheresoftware.b4a.keywords.Common.LogImpl("756819734","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("536765718","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 421;BA.debugLine="Try";
try { //BA.debugLineNum = 422;BA.debugLine="If Tracker.FLP.IsConnected And _ Tracker.";
@@ -1595,16 +1595,16 @@ _todobienflp = anywheresoftware.b4a.keywords.Common.False;
}
catch (Exception e30) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e30); //BA.debugLineNum = 430;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I";
anywheresoftware.b4a.keywords.Common.LogImpl("756819745","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("536765729","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
};
//BA.debugLineNum = 433;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error";
if (_todobienflp) {
anywheresoftware.b4a.keywords.Common.LogImpl("756819748"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
anywheresoftware.b4a.keywords.Common.LogImpl("536765732"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
}
catch (Exception e35) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e35); //BA.debugLineNum = 435;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las";
anywheresoftware.b4a.keywords.Common.LogImpl("756819750","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("536765734","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 438;BA.debugLine="End Sub";
return "";
@@ -1633,13 +1633,13 @@ _t.Add((Object)(_traemaxpromos(_ba,_pm)));
_invfijoxpromo.Initialize();
//BA.debugLineNum = 1285;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759572231",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539518215",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1286;BA.debugLine="Private invDispParaPromo As Map = traemosInventar";
_invdispparapromo = new anywheresoftware.b4a.objects.collections.Map();
_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id"))));
//BA.debugLineNum = 1287;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759572233",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539518217",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
//BA.debugLineNum = 1288;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF";
_prodsfijospiezas = new anywheresoftware.b4a.objects.collections.List();
_prodsfijospiezas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijosPiezas"))));
@@ -1654,15 +1654,15 @@ _p = (int) (0) ;
for (;_p <= limit12 ;_p = _p + step12 ) {
//BA.debugLineNum = 1291;BA.debugLine="If thisLog Then Log($\"id=${idProdsFijos.Get(p)},";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759572237",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_p))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_p)))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_prodsfijospiezas.Get(_p))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539518221",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_p))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_p)))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_prodsfijospiezas.Get(_p))+""),0);};
//BA.debugLineNum = 1292;BA.debugLine="If thisLog Then Log($\"${(invDispParaPromo.Get(id";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759572238",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_p))))/(double)(double)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))))))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539518222",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_p))))/(double)(double)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))))))+""),0);};
//BA.debugLineNum = 1293;BA.debugLine="Private x() As String = Regex.Split(\"\\.\", $\"${(i";
_x = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_p))))/(double)(double)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))))))+""));
//BA.debugLineNum = 1294;BA.debugLine="If thisLog Then Log(x(0))";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759572240",_x[(int) (0)],0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539518224",_x[(int) (0)],0);};
//BA.debugLineNum = 1295;BA.debugLine="t.Add(x(0).As(Int)) 'Solo guardamos la parte del";
_t.Add((Object)(((int)(Double.parseDouble(_x[(int) (0)])))));
}
@@ -1671,13 +1671,13 @@ _t.Add((Object)(((int)(Double.parseDouble(_x[(int) (0)])))));
_t.Sort(anywheresoftware.b4a.keywords.Common.True);
//BA.debugLineNum = 1298;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759572244",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539518228",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1299;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759572245",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539518229",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1300;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759572246",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539518230",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1302;BA.debugLine="Return t.Get(0) 'Regresamos el resultado mas pequ";
if (true) return (int)(BA.ObjectToNumber(_t.Get((int) (0))));
//BA.debugLineNum = 1303;BA.debugLine="End Sub";
@@ -1703,13 +1703,13 @@ String _q2 = "";
_thislog = anywheresoftware.b4a.keywords.Common.False;
//BA.debugLineNum = 1237;BA.debugLine="If thisLog Then Log($\"pm=${pm}\"$)";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759506690",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539452674",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),0);};
//BA.debugLineNum = 1239;BA.debugLine="Private invDispParaPromo As Map = traemosInventar";
_invdispparapromo = new anywheresoftware.b4a.objects.collections.Map();
_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id"))));
//BA.debugLineNum = 1240;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759506693",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539452677",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
//BA.debugLineNum = 1241;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)";
_maxpromos = BA.NumberToString(_traemaxpromos(_ba,_pm));
//BA.debugLineNum = 1242;BA.debugLine="Private maxPromosFijosXinv As Int = 1";
@@ -1727,10 +1727,10 @@ _pfp = new anywheresoftware.b4a.objects.collections.List();
_pfp = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijosPiezas"))));
//BA.debugLineNum = 1247;BA.debugLine="If thisLog Then Log($\"maxPromos=${maxPromos}, pro";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759506700",("maxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pf.getObject()))+", piezas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pfp.getObject()))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539452684",("maxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pf.getObject()))+", piezas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pfp.getObject()))+""),0);};
//BA.debugLineNum = 1248;BA.debugLine="If thisLog Then LogColor($\"InvFijo disponible=${i";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759506701",("InvFijo disponible="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539452685",("InvFijo disponible="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1249;BA.debugLine="Private invFijoXpromo As Map";
_invfijoxpromo = new anywheresoftware.b4a.objects.collections.Map();
//BA.debugLineNum = 1250;BA.debugLine="invFijoXpromo.Initialize";
@@ -1747,7 +1747,7 @@ _invfijoxpromo.Put(_pf.Get(_p),_pfp.Get(_p));
};
//BA.debugLineNum = 1254;BA.debugLine="If thisLog Then LogColor(\"Inv req. de prods fijos";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759506707","Inv req. de prods fijos x promo"+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Green);};
anywheresoftware.b4a.keywords.Common.LogImpl("539452691","Inv req. de prods fijos x promo"+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Green);};
//BA.debugLineNum = 1255;BA.debugLine="For i = 1 To maxPromos 'Revisamos cuantas promoci";
{
final int step19 = 1;
@@ -1756,7 +1756,7 @@ _i = (int) (1) ;
for (;_i <= limit19 ;_i = _i + step19 ) {
//BA.debugLineNum = 1256;BA.debugLine="If thisLog Then LogColor(\"Prods para promo \" & (";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759506709","Prods para promo "+BA.NumberToString((_i+1)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
anywheresoftware.b4a.keywords.Common.LogImpl("539452693","Prods para promo "+BA.NumberToString((_i+1)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
//BA.debugLineNum = 1257;BA.debugLine="For q = 0 To pf.Size - 1";
{
final int step21 = 1;
@@ -1767,14 +1767,14 @@ for (;_q <= limit21 ;_q = _q + step21 ) {
_q2 = BA.ObjectToString(_pf.Get(_q));
//BA.debugLineNum = 1259;BA.debugLine="If thisLog Then Log(\"q=\"&q2)";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759506712","q="+_q2,0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539452696","q="+_q2,0);};
//BA.debugLineNum = 1261;BA.debugLine="fpf2 = pfp.Get(q) * i 'Multiplicamos las piezas";
_fpf2 = (int) ((double)(BA.ObjectToNumber(_pfp.Get(_q)))*_i);
//BA.debugLineNum = 1262;BA.debugLine="pdp2 = invDispParaPromo.Get(q2)";
_pdp2 = (int)(BA.ObjectToNumber(_invdispparapromo.Get((Object)(_q2))));
//BA.debugLineNum = 1263;BA.debugLine="If thisLog Then Log($\"pf=${q2}, Actual=${(i)},";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759506716",("pf="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_q2))+", Actual="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((_i)))+", max promos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fpf2))+"="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2-_fpf2))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539452700",("pf="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_q2))+", Actual="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((_i)))+", max promos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fpf2))+"="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2-_fpf2))+""),0);};
//BA.debugLineNum = 1264;BA.debugLine="If pdp2 - fpf2 < 0 Then 'Si el inventario es ne";
if (_pdp2-_fpf2<0) {
//BA.debugLineNum = 1265;BA.debugLine="salir=True";
@@ -1793,9 +1793,9 @@ _maxpromosfijosxinv = _i;
};
//BA.debugLineNum = 1272;BA.debugLine="If thisLog Then LogColor(\"InvFijo requerido x pro";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759506725","InvFijo requerido x promo="+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539452709","InvFijo requerido x promo="+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1273;BA.debugLine="LogColor(\"Maximo de promociones de prodsFijos POR";
anywheresoftware.b4a.keywords.Common.LogImpl("759506726","Maximo de promociones de prodsFijos POR inventario = "+BA.NumberToString(_maxpromosfijosxinv),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("539452710","Maximo de promociones de prodsFijos POR inventario = "+BA.NumberToString(_maxpromosfijosxinv),anywheresoftware.b4a.keywords.Common.Colors.Red);
//BA.debugLineNum = 1274;BA.debugLine="Return maxPromosFijosXinv";
if (true) return _maxpromosfijosxinv;
//BA.debugLineNum = 1275;BA.debugLine="End Sub";
@@ -1828,10 +1828,10 @@ int _i = 0;
_thislog = anywheresoftware.b4a.keywords.Common.False;
//BA.debugLineNum = 1312;BA.debugLine="If thisLog Then Log(\"============================";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637762","======================================================",0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583746","======================================================",0);};
//BA.debugLineNum = 1313;BA.debugLine="If thisLog Then Log(\"============================";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637763","======================================================",0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583747","======================================================",0);};
//BA.debugLineNum = 1314;BA.debugLine="Private invFijoXpromo As Map";
_invfijoxpromo = new anywheresoftware.b4a.objects.collections.Map();
//BA.debugLineNum = 1315;BA.debugLine="invFijoXpromo.Initialize";
@@ -1842,13 +1842,13 @@ _totalprodsvariablesdisponibles = (int) (0);
_totalprodsvariables2disponibles = (int) (0);
//BA.debugLineNum = 1318;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637768",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583752",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1319;BA.debugLine="Private invDispParaPromo As Map = traemosInventar";
_invdispparapromo = new anywheresoftware.b4a.objects.collections.Map();
_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id"))));
//BA.debugLineNum = 1320;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637770",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583754",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
//BA.debugLineNum = 1321;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)";
_maxpromos = BA.NumberToString(_traemaxpromos(_ba,_pm));
//BA.debugLineNum = 1322;BA.debugLine="Private maxPromosXFijos As Int = revisaMaxPromosP";
@@ -1885,33 +1885,33 @@ _investeprod = (int)(BA.ObjectToNumber(_invdispparapromo.Get((Object)(_idestepro
_pzasreqesteprod = (int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p)));
//BA.debugLineNum = 1334;BA.debugLine="If thisLog Then Log($\"id=${idEsteProd}, inv=${in";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637784",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idesteprod))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_investeprod))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pzasreqesteprod))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583768",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idesteprod))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_investeprod))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pzasreqesteprod))+""),0);};
}
};
//BA.debugLineNum = 1337;BA.debugLine="If thisLog Then LogColor($\"MaxPromos=${maxPromos}";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637787",("MaxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", promosXFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromosxfijos))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583771",("MaxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", promosXFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromosxfijos))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1338;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637788",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583772",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1339;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637789",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583773",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1340;BA.debugLine="If thisLog Then LogColor($\"prodsVariables=${idPro";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637790",("prodsVariables="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583774",("prodsVariables="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1341;BA.debugLine="If thisLog Then LogColor($\"prodsVariables2=${idPr";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637791",("prodsVariables2="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables2.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables2 Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariables2requeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583775",("prodsVariables2="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables2.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables2 Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariables2requeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1342;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637792",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583776",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1343;BA.debugLine="If thisLog Then Log($\"Prods variables disponibles";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637793",("Prods variables disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583777",("Prods variables disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+""),0);};
//BA.debugLineNum = 1344;BA.debugLine="If thisLog Then Log($\"Prods variables2 disponible";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637794",("Prods variables2 disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariables2disponibles))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583778",("Prods variables2 disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariables2disponibles))+""),0);};
//BA.debugLineNum = 1345;BA.debugLine="Private maxPromosXVariables As Int = 0";
_maxpromosxvariables = (int) (0);
//BA.debugLineNum = 1346;BA.debugLine="Private maxPromosXVariables2 As Int = 0";
@@ -1924,10 +1924,10 @@ _x = (int) (1) ;
for (;_x <= limit36 ;_x = _x + step36 ) {
//BA.debugLineNum = 1348;BA.debugLine="If thisLog Then Log(\"===========================";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637798","=====================================================",0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583782","=====================================================",0);};
//BA.debugLineNum = 1349;BA.debugLine="If thisLog Then Log(\"===========================";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637799","=====================================================",0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583783","=====================================================",0);};
//BA.debugLineNum = 1350;BA.debugLine="For i = 0 To idProdsFijos.Size - 1";
{
final int step39 = 1;
@@ -1936,14 +1936,14 @@ _i = (int) (0) ;
for (;_i <= limit39 ;_i = _i + step39 ) {
//BA.debugLineNum = 1351;BA.debugLine="If thisLog Then Log($\"FIJO - ${idProdsFijos.Get";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637801",("FIJO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_i))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_i)))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_i))))*(_i+1)))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583785",("FIJO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_i))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_i)))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_i))))*(_i+1)))+""),0);};
//BA.debugLineNum = 1352;BA.debugLine="invDispParaPromo.Put(idProdsFijos.Get(i), invDi";
_invdispparapromo.Put(_idprodsfijos.Get(_i),(Object)(((int)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_i)))))-((int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_i))))*(_i+1)));
}
};
//BA.debugLineNum = 1354;BA.debugLine="If thisLog Then LogColor(\"Inv disponible despues";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637804","Inv disponible despues de restar fijos = "+BA.ObjectToString(_invdispparapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583788","Inv disponible despues de restar fijos = "+BA.ObjectToString(_invdispparapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
//BA.debugLineNum = 1356;BA.debugLine="totalProdsVariablesDisponibles = 0";
_totalprodsvariablesdisponibles = (int) (0);
//BA.debugLineNum = 1357;BA.debugLine="totalProdsVariables2Disponibles = 0";
@@ -1976,17 +1976,17 @@ _totalprodsvariables2disponibles = (int) (_totalprodsvariables2disponibles+(doub
};
//BA.debugLineNum = 1369;BA.debugLine="If thisLog Then Log($\"Var disponibles - var req";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637819",("Var disponibles - var requeridos : "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos*_x))+""),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583803",("Var disponibles - var requeridos : "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos*_x))+""),0);};
//BA.debugLineNum = 1370;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVaria";
_totalprodsvariablesdisponibles = (int) (_totalprodsvariablesdisponibles-(_prodsvariablesrequeridos*_x));
//BA.debugLineNum = 1371;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVari";
_totalprodsvariables2disponibles = (int) (_totalprodsvariables2disponibles-(_prodsvariables2requeridos*_x));
//BA.debugLineNum = 1372;BA.debugLine="If thisLog Then Log(\"prodsVariables disponibles";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637822","prodsVariables disponibles despues de promo = "+BA.NumberToString(_totalprodsvariablesdisponibles),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583806","prodsVariables disponibles despues de promo = "+BA.NumberToString(_totalprodsvariablesdisponibles),0);};
//BA.debugLineNum = 1373;BA.debugLine="If thisLog Then Log(\"prodsVariables2 disponibles";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637823","prodsVariables2 disponibles despues de promo = "+BA.NumberToString(_totalprodsvariables2disponibles),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583807","prodsVariables2 disponibles despues de promo = "+BA.NumberToString(_totalprodsvariables2disponibles),0);};
//BA.debugLineNum = 1374;BA.debugLine="If totalProdsVariablesDisponibles < 0 Then Exit";
if (_totalprodsvariablesdisponibles<0) {
if (true) break;};
@@ -1999,7 +1999,7 @@ _maxpromosxvariables = _x;
};
//BA.debugLineNum = 1379;BA.debugLine="If thisLog Then LogColor(\"Max promos de prodsVari";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759637829","Max promos de prodsVariables POR inventario = "+BA.NumberToString(_maxpromosxvariables),anywheresoftware.b4a.keywords.Common.Colors.Red);};
anywheresoftware.b4a.keywords.Common.LogImpl("539583813","Max promos de prodsVariables POR inventario = "+BA.NumberToString(_maxpromosxvariables),anywheresoftware.b4a.keywords.Common.Colors.Red);};
//BA.debugLineNum = 1380;BA.debugLine="Return maxPromosXVariables";
if (true) return _maxpromosxvariables;
//BA.debugLineNum = 1381;BA.debugLine="End Sub";
@@ -2015,14 +2015,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 = 384;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"${f";
if (mostCurrent._starter._logger /*boolean*/ ) {
anywheresoftware.b4a.keywords.Common.LogImpl("756754181",("**** 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("536700165",("**** 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 = 385;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocatio";
if (_daa>40 && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()<35) {
//BA.debugLineNum = 386;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 = 387;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a a";
if (mostCurrent._starter._logger /*boolean*/ ) {
anywheresoftware.b4a.keywords.Common.LogImpl("756754184","++++ 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("536700168","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);};
};
//BA.debugLineNum = 389;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoc";
mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ = mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation();
@@ -2030,7 +2030,7 @@ mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ =
}
catch (Exception e12) {
(_ba.processBA == null ? _ba : _ba.processBA).setLastException(e12); //BA.debugLineNum = 392;BA.debugLine="LogColor(\"If Tracker.FLP.GetLastKnownLocation.Is";
anywheresoftware.b4a.keywords.Common.LogImpl("756754189","If Tracker.FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("536700173","If Tracker.FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 394;BA.debugLine="End Sub";
return "";
@@ -2220,7 +2220,7 @@ _vendidas = (int) (0);
_maxpromos.Initialize();
//BA.debugLineNum = 1167;BA.debugLine="If thisLog Then Log(pm)";
if (_thislog) {
anywheresoftware.b4a.keywords.Common.LogImpl("759310086",BA.ObjectToString(_pm),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("539256070",BA.ObjectToString(_pm),0);};
//BA.debugLineNum = 1168;BA.debugLine="If pm.Get(\"historico\") = \"1\" Then maxPromos.Add(p";
if ((_pm.Get((Object)("historico"))).equals((Object)("1"))) {
_maxpromos.Add(_pm.Get((Object)("maxRecurrente")));};
@@ -2266,7 +2266,7 @@ int _i = 0;
//BA.debugLineNum = 1048;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
//BA.debugLineNum = 1049;BA.debugLine="Log(\"ESTAMOS VIENDO INVENTARIO\")";
anywheresoftware.b4a.keywords.Common.LogImpl("759113474","ESTAMOS VIENDO INVENTARIO",0);
anywheresoftware.b4a.keywords.Common.LogImpl("539059458","ESTAMOS VIENDO INVENTARIO",0);
//BA.debugLineNum = 1050;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"SELECT CA";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("SELECT CAT_GP_ID, CAT_GP_ALMACEN FROM "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" WHERE CAT_GP_ID IN (select CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID = ?)"),new String[]{_promo})));
//BA.debugLineNum = 1053;BA.debugLine="Private prods As Map";
@@ -2768,7 +2768,7 @@ int _i = 0;
//BA.debugLineNum = 925;BA.debugLine="Private sumaTotal As Double = 0";
_sumatotal = 0;
//BA.debugLineNum = 926;BA.debugLine="LogColor(clientepedido,Colors.Red)";
anywheresoftware.b4a.keywords.Common.LogImpl("758916866",_clientepedido,anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("538862850",_clientepedido,anywheresoftware.b4a.keywords.Common.Colors.Red);
//BA.debugLineNum = 927;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag";
_cursorprueba = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_cursorprueba = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select PE_COSTO_TOT from pedido where PE_CLIENTE = ? and PE_IMPRESO IS NOT NULL",new String[]{_clientepedido})));

View File

@@ -45,9 +45,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;

View File

@@ -149,9 +149,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
public medicomed.keymon.com.mx.b4xcollections _b4xcollections = null;
@@ -226,7 +226,7 @@ String _coords = "";
if (_flp.GetLastKnownLocation().IsInitialized()) {
//BA.debugLineNum = 140;BA.debugLine="If Starter.Logger Then LogColor($\"Mandamos UUC \"";
if (mostCurrent._starter._logger /*boolean*/ ) {
anywheresoftware.b4a.keywords.Common.LogImpl("777725699",("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("541418755",("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 = 141;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()));
};
@@ -236,7 +236,7 @@ return "";
public static String _flp_connectionfailed(int _connectionresult1) throws Exception{
//BA.debugLineNum = 56;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)";
//BA.debugLineNum = 57;BA.debugLine="Log(\"Failed to connect to location provider\")";
anywheresoftware.b4a.keywords.Common.LogImpl("777266945","Failed to connect to location provider",0);
anywheresoftware.b4a.keywords.Common.LogImpl("540960001","Failed to connect to location provider",0);
//BA.debugLineNum = 58;BA.debugLine="End Sub";
return "";
}
@@ -276,7 +276,7 @@ mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (process
}
catch (Exception e13) {
processBA.setLastException(e13); //BA.debugLineNum = 177;BA.debugLine="LogColor(LastException, Colors.Red)";
anywheresoftware.b4a.keywords.Common.LogImpl("777856790",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("541549846",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 180;BA.debugLine="Dim coords As String = Location1.Latitude&\",\"&Loc";
_coords = BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude())+","+_formatofecha(BA.NumberToString(_location1.getTime()));
@@ -333,7 +333,7 @@ public static String _revisaflp() throws Exception{
boolean _todobienflp = false;
//BA.debugLineNum = 225;BA.debugLine="Sub revisaFLP 'ignore";
//BA.debugLineNum = 226;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col";
anywheresoftware.b4a.keywords.Common.LogImpl("778118913","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227)));
anywheresoftware.b4a.keywords.Common.LogImpl("541811969","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227)));
//BA.debugLineNum = 227;BA.debugLine="Private todoBienFLP As Boolean = True";
_todobienflp = anywheresoftware.b4a.keywords.Common.True;
//BA.debugLineNum = 228;BA.debugLine="Try";
@@ -349,7 +349,7 @@ _todobienflp = anywheresoftware.b4a.keywords.Common.False;
}
catch (Exception e10) {
processBA.setLastException(e10); //BA.debugLineNum = 235;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) -->";
anywheresoftware.b4a.keywords.Common.LogImpl("778118922","If Not(Tracker.FLP.IsInitialized) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("541811978","If Not(Tracker.FLP.IsInitialized) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 237;BA.debugLine="Try";
try { //BA.debugLineNum = 238;BA.debugLine="If FLP.IsInitialized Then";
@@ -367,7 +367,7 @@ _todobienflp = anywheresoftware.b4a.keywords.Common.False;
}
catch (Exception e21) {
processBA.setLastException(e21); //BA.debugLineNum = 247;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->";
anywheresoftware.b4a.keywords.Common.LogImpl("778118934","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("541811990","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 249;BA.debugLine="Try";
try { //BA.debugLineNum = 250;BA.debugLine="If FLP.IsConnected And _ FLP.GetLastKnown";
@@ -382,16 +382,16 @@ _todobienflp = anywheresoftware.b4a.keywords.Common.False;
}
catch (Exception e30) {
processBA.setLastException(e30); //BA.debugLineNum = 258;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I";
anywheresoftware.b4a.keywords.Common.LogImpl("778118945","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("541812001","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
};
//BA.debugLineNum = 261;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error";
if (_todobienflp) {
anywheresoftware.b4a.keywords.Common.LogImpl("778118948"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
anywheresoftware.b4a.keywords.Common.LogImpl("541812004"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
}
catch (Exception e35) {
processBA.setLastException(e35); //BA.debugLineNum = 263;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las";
anywheresoftware.b4a.keywords.Common.LogImpl("778118950","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("541812006","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 266;BA.debugLine="End Sub";
return "";
@@ -409,14 +409,14 @@ if (_flp.GetLastKnownLocation().IsInitialized()) {
_daa = (int) (_uugcoords.DistanceTo((android.location.Location)(_flp.GetLastKnownLocation().getObject())));
//BA.debugLineNum = 278;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"$";
if (mostCurrent._starter._logger /*boolean*/ ) {
anywheresoftware.b4a.keywords.Common.LogImpl("778184456",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|"+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()))+"|"+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("541877512",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|"+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()))+"|"+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 = 279;BA.debugLine="If daa > 40 And FLP.GetLastKnownLocation.Accu";
if (_daa>40 && _flp.GetLastKnownLocation().getAccuracy()<35) {
//BA.debugLineNum = 280;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
mostCurrent._b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))),(Object)(_flp.GetLastKnownLocation().getLatitude()),(Object)(_flp.GetLastKnownLocation().getLongitude())}));
//BA.debugLineNum = 281;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a";
if (mostCurrent._starter._logger /*boolean*/ ) {
anywheresoftware.b4a.keywords.Common.LogImpl("778184459","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(_flp.GetLastKnownLocation().getAccuracy()),0);};
anywheresoftware.b4a.keywords.Common.LogImpl("541877515","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(_flp.GetLastKnownLocation().getAccuracy()),0);};
};
//BA.debugLineNum = 283;BA.debugLine="UUGCoords = FLP.GetLastKnownLocation";
_uugcoords = _flp.GetLastKnownLocation();
@@ -424,18 +424,18 @@ _uugcoords = _flp.GetLastKnownLocation();
}
catch (Exception e14) {
processBA.setLastException(e14); //BA.debugLineNum = 286;BA.debugLine="LogColor(\"FLP.GetLastKnownLocation.IsInitializ";
anywheresoftware.b4a.keywords.Common.LogImpl("778184464","FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("541877520","FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
}else {
//BA.debugLineNum = 289;BA.debugLine="Log(\"StartFLP\")";
anywheresoftware.b4a.keywords.Common.LogImpl("778184467","StartFLP",0);
anywheresoftware.b4a.keywords.Common.LogImpl("541877523","StartFLP",0);
//BA.debugLineNum = 290;BA.debugLine="StartFLP";
_startflp();
};
}
catch (Exception e21) {
processBA.setLastException(e21); //BA.debugLineNum = 293;BA.debugLine="LogColor(\"If FLP.IsInitialized --> \"&LastExcepti";
anywheresoftware.b4a.keywords.Common.LogImpl("778184471","If FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
anywheresoftware.b4a.keywords.Common.LogImpl("541877527","If FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 295;BA.debugLine="End Sub";
return "";
@@ -590,7 +590,7 @@ case 5:
this.state = 1;
;
//BA.debugLineNum = 104;BA.debugLine="Log(\"sleeping\")";
anywheresoftware.b4a.keywords.Common.LogImpl("777529092","sleeping",0);
anywheresoftware.b4a.keywords.Common.LogImpl("541222148","sleeping",0);
if (true) break;
case 4:
@@ -636,7 +636,7 @@ if (true) return "";
//BA.debugLineNum = 77;BA.debugLine="If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_";
if (mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .Check(mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION)==anywheresoftware.b4a.keywords.Common.False) {
//BA.debugLineNum = 78;BA.debugLine="Log(\"No permission\")";
anywheresoftware.b4a.keywords.Common.LogImpl("777398025","No permission",0);
anywheresoftware.b4a.keywords.Common.LogImpl("541091081","No permission",0);
//BA.debugLineNum = 79;BA.debugLine="Return";
if (true) return "";
};

View File

@@ -19,9 +19,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
public medicomed.keymon.com.mx.appupdater _appupdater = null;
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
public medicomed.keymon.com.mx.pendientes _pendientes = null;
public medicomed.keymon.com.mx.subs _subs = null;
public medicomed.keymon.com.mx.tracker _tracker = null;
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;