mirror of
https://github.com/KeymonSoft/Medicomed-V2.git
synced 2026-04-21 06:39:15 +00:00
Version: 5.05.22_V2
Me pidieron cambiar la version, aqui ya se esta enviando la version al TMP_DROP
This commit is contained in:
@@ -43,10 +43,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -48,10 +48,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -150,10 +150,10 @@ public b4a.example.dateutils _dateutils = null;
|
||||
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.subs _subs = null;
|
||||
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = 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("51638403","Descargando actualización",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("21376259","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("51638419","APK dir: "+parent._sharedfolder,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("21376275","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("52031628",("Using FileProvider? "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("21769484",("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("52097166","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("21835022","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("51441793","appUpdater(), Service_Create",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("21179649","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("51966081","appUpdater(), Service_Destroy",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("21703937","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("51507329","appUpdater(), Service_Start",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("21245185","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("51507332","Buscando actualización",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("21245188","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("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);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("21245200",("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("51507349","No new app",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("21245205","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("51507356","New app true",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("21245212","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("51507362","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("21245218","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("51507365","appUpdater(), Job Failed "+parent._lnk,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("21245221","appUpdater(), Job Failed "+parent._lnk,0);
|
||||
if (true) break;
|
||||
|
||||
case 19:
|
||||
|
||||
@@ -31,10 +31,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -45,10 +45,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -31,10 +31,10 @@ 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.mapa_cliente _mapa_cliente = 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("946465026","Index too large",0);};
|
||||
__c.LogImpl("923396354","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("946530562","Index too large",0);};
|
||||
__c.LogImpl("923461890","Index too large",0);};
|
||||
//BA.debugLineNum = 59;BA.debugLine="Append(Data)";
|
||||
_append(_data);
|
||||
}else {
|
||||
|
||||
@@ -33,10 +33,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -16,10 +16,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -46,10 +46,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -39,10 +39,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -29,10 +29,10 @@ 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.mapa_cliente _mapa_cliente = 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,10 +67,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -58,10 +58,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -61,10 +61,10 @@ 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.mapa_cliente _mapa_cliente = 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("963045656","Multiline not supported with password mode.",0);
|
||||
__c.LogImpl("939976984","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())));
|
||||
|
||||
@@ -33,10 +33,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -40,10 +40,10 @@ 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.mapa_cliente _mapa_cliente = 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("965404955","Invalid resize mode: "+_mresizemode,0);
|
||||
__c.LogImpl("942336283","Invalid resize mode: "+_mresizemode,0);
|
||||
break; }
|
||||
}
|
||||
;
|
||||
|
||||
@@ -40,10 +40,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -39,10 +39,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -39,10 +39,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -33,10 +33,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -128,10 +128,10 @@ 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.mapa_cliente _mapa_cliente = 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("57340040",_a.GetString("ID_ALMACEN"),0);
|
||||
__c.LogImpl("27077896",_a.GetString("ID_ALMACEN"),0);
|
||||
//BA.debugLineNum = 1163;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))";
|
||||
__c.LogImpl("57340041",_f.GetString("CAT_CL_RUTA"),0);
|
||||
__c.LogImpl("27077897",_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("57602181","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0);
|
||||
parent.__c.LogImpl("27340037","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("57274534",parent._a.GetString("ID_ALMACEN"),0);
|
||||
parent.__c.LogImpl("27012390",parent._a.GetString("ID_ALMACEN"),0);
|
||||
//BA.debugLineNum = 1118;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))";
|
||||
parent.__c.LogImpl("57274535",parent._f.GetString("CAT_CL_RUTA"),0);
|
||||
parent.__c.LogImpl("27012391",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("57274547","Processed item "+BA.NumberToString(_i),0);
|
||||
parent.__c.LogImpl("27012403","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("57274549","Finished processing all items",0);
|
||||
parent.__c.LogImpl("27012405","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("55439489",parent._recarga,0);
|
||||
parent.__c.LogImpl("25177345",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("55439496",("////////////////// DeviceID: "+parent.__c.SmartStringFormatter("",(Object)(_deviceid))+" ////////////////// "),parent.__c.Colors.Blue);
|
||||
parent.__c.LogImpl("25177352",("////////////////// 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("55439499","|"+parent._starter._dbreqserver /*String*/ +"|",0);
|
||||
parent.__c.LogImpl("25177355","|"+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("55439509",("No hay fecha: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CUANTOS")))+""),parent.__c.Colors.Red);
|
||||
parent.__c.LogImpl("25177365",("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("55636097","closreq",0);
|
||||
parent.__c.LogImpl("25373953","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("55636114","ExitApplication",0);
|
||||
parent.__c.LogImpl("25373970","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("55373994","copiamos kmt.db de "+parent.__c.File.getDirAssets()+" a "+parent._ruta,parent.__c.Colors.Green);
|
||||
parent.__c.LogImpl("25111850","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("55374075","Revisa permisos Phone_State",parent.__c.Colors.Green);
|
||||
parent.__c.LogImpl("25111931","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("55374079","Con permisos de ubicacion",0);
|
||||
parent.__c.LogImpl("25111935","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("55374081","SIN permisos de ubicacion",0);
|
||||
parent.__c.LogImpl("25111937","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("55374086","Con permisos de ubicacion",0);
|
||||
parent.__c.LogImpl("25111942","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("55374088","SIN permisos de ubicacion",0);
|
||||
parent.__c.LogImpl("25111944","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("55505025","|"+_starter._dbreqserver /*String*/ ,0);
|
||||
__c.LogImpl("25242881","|"+_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("55505034",BA.NumberToString(1)+"-"+_imei,0);
|
||||
__c.LogImpl("25242890",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("55505040",BA.NumberToString(2)+"-"+_imei,0);
|
||||
__c.LogImpl("25242896",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("55505113","Mandamos: "+_user.getText()+"|"+_pass.getText(),0);
|
||||
__c.LogImpl("25242969","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("56946823",_q_buscar,0);
|
||||
__c.LogImpl("26684679",_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("56356999",("|"+__c.SmartStringFormatter("",(Object)(_starter._dbreqserver /*String*/ ))+"|"),0);
|
||||
__c.LogImpl("26094855",("|"+__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("55570561","JOBDONE MAINPAGE",0);
|
||||
__c.LogImpl("25308417","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("55570565",(">>>>>> Quitamos "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),__c.Colors.Blue);
|
||||
__c.LogImpl("25308421",(">>>>>> Quitamos "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),__c.Colors.Blue);
|
||||
};
|
||||
//BA.debugLineNum = 494;BA.debugLine="LogColor(\">>>>>> \" & B4XPages.MainPage.reqManage";
|
||||
__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);
|
||||
__c.LogImpl("25308423",">>>>>> "+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("55570570","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Red);
|
||||
__c.LogImpl("25308426","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("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);
|
||||
__c.LogImpl("25308428","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("55570586","select_fechat: "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
|
||||
__c.LogImpl("25308442","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("55570670",_cuenta,0);
|
||||
__c.LogImpl("25308526",_cuenta,0);
|
||||
//BA.debugLineNum = 598;BA.debugLine="Log(id)";
|
||||
__c.LogImpl("55570671",_id,0);
|
||||
__c.LogImpl("25308527",_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("55570723",BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]),0);
|
||||
__c.LogImpl("25308579",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("55570727","////////////////////////// "+_name,0);
|
||||
__c.LogImpl("25308583","////////////////////////// "+_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("55570739","|"+_name+"|",0);
|
||||
__c.LogImpl("25308595","|"+_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("55570772","JOBDONE PRINCIPAL MAINPAGE",0);
|
||||
__c.LogImpl("25308628","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("55570776",_valido,0);
|
||||
__c.LogImpl("25308632",_valido,0);
|
||||
};
|
||||
}
|
||||
};
|
||||
@@ -2533,7 +2533,7 @@ __c.LogImpl("55570776",_valido,0);
|
||||
_job._release /*String*/ ();
|
||||
};
|
||||
//BA.debugLineNum = 710;BA.debugLine="Log($\"Paso1 = ${paso1} - Name: ${name} - IMEI: ${";
|
||||
__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);
|
||||
__c.LogImpl("25308639",("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";
|
||||
|
||||
@@ -31,10 +31,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -19,10 +19,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -29,10 +29,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -42,10 +42,10 @@ 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.mapa_cliente _mapa_cliente = 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("951183619",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0);
|
||||
__c.LogImpl("928114947",("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("951052565","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red);
|
||||
__c.LogImpl("927983893","#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("951445764","Only top page can be closed",0);
|
||||
__c.LogImpl("928377092","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("951445767","First page cannot be closed",0);
|
||||
__c.LogImpl("928377095","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("952101123","Error: page id not found: "+_id,0);
|
||||
__c.LogImpl("929032451","Error: page id not found: "+_id,0);
|
||||
//BA.debugLineNum = 402;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore";
|
||||
__c.LogImpl("952101124","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0);
|
||||
__c.LogImpl("929032452","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("950987035","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0);
|
||||
__c.LogImpl("927918363","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("953215235",_msg,0);
|
||||
__c.LogImpl("930146563",_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("952690958","Too many parameters",0);
|
||||
__c.LogImpl("929622286","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("952756494","Too many parameters",0);
|
||||
__c.LogImpl("929687822","Too many parameters",0);
|
||||
break; }
|
||||
}
|
||||
;
|
||||
|
||||
@@ -55,10 +55,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -49,10 +49,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -47,10 +47,10 @@ 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.mapa_cliente _mapa_cliente = 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("971172127","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0);
|
||||
__c.LogImpl("948103455","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)";
|
||||
|
||||
@@ -50,10 +50,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -30,10 +30,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -41,10 +41,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -47,10 +47,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -35,10 +35,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -37,10 +37,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -43,10 +43,10 @@ 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.mapa_cliente _mapa_cliente = 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("512845062",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
|
||||
__c.LogImpl("261734918",("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("512845062",("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("512845068",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
|
||||
__c.LogImpl("261734924",("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("512845070",BA.ObjectToString(__c.LastException(ba)),0);
|
||||
__c.LogImpl("261734926",BA.ObjectToString(__c.LastException(ba)),0);
|
||||
};
|
||||
//BA.debugLineNum = 215;BA.debugLine="Log(2)";
|
||||
__c.LogImpl("512845072",BA.NumberToString(2),0);
|
||||
__c.LogImpl("261734928",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("512582919",(">>>>>>>>>>>> EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
|
||||
__c.LogImpl("261472775",(">>>>>>>>>>>> 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("512582926",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
|
||||
__c.LogImpl("261472782",(">>>>>> 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("512582941",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
|
||||
__c.LogImpl("261472797",(">>>>>> 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("512582947",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
|
||||
__c.LogImpl("261472803",(">>>>>> 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("512582953",(">>>>>>>>>>>> EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
|
||||
__c.LogImpl("261472809",(">>>>>>>>>>>> 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("512648449",BA.ObjectToString(_p_transparenteiniciofin2.IsInitialized()),0);
|
||||
__c.LogImpl("261538305",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("512517377",(">>>>>>>>>>>> XX EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
|
||||
__c.LogImpl("261407233",(">>>>>>>>>>>> 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("512976129","JOBDONE BITACORA",0);
|
||||
__c.LogImpl("261865985","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("512976132",("Tag: "+__c.SmartStringFormatter("",_result.Tag /*Object*/ )+", success="+__c.SmartStringFormatter("",(Object)(_job._success /*boolean*/ ))+""),0);
|
||||
__c.LogImpl("261865988",("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("512976137","Error: "+_job._errormessage /*String*/ ,__c.Colors.Red);
|
||||
__c.LogImpl("261865993","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("512320769",_motivonovisitab,0);
|
||||
__c.LogImpl("261210625",_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("512320791","ACTUALIZA BITACORA",0);
|
||||
__c.LogImpl("261210647","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";
|
||||
|
||||
@@ -178,10 +178,10 @@ 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.mapa_cliente _mapa_cliente = 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("516318468",_h.GetString("CUENTA"),0);
|
||||
__c.LogImpl("215925252",_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("516318471",BA.NumberToString(_j.getRowCount()),0);
|
||||
__c.LogImpl("215925255",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("516318484",_d.GetString("NOTA"),0);
|
||||
__c.LogImpl("215925268",_d.GetString("NOTA"),0);
|
||||
//BA.debugLineNum = 2480;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))";
|
||||
__c.LogImpl("516318485",_d.GetString("SALDO_PENDIENTE"),0);
|
||||
__c.LogImpl("215925269",_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("516318487",_total,0);
|
||||
__c.LogImpl("215925271",_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("514680068",_imprimirsolo,0);
|
||||
__c.LogImpl("214286852",_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("513303829",">>>>> HAY PEDIDO",0);
|
||||
__c.LogImpl("212910613",">>>>> 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("513303998","2",0);
|
||||
__c.LogImpl("212910782","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("513304002",_la_cuenta.getText(),0);
|
||||
__c.LogImpl("212910786",_la_cuenta.getText(),0);
|
||||
//BA.debugLineNum = 448;BA.debugLine="LogColor(Subs.traeTotalClientepreventaparacredito";
|
||||
__c.LogImpl("513304003",BA.NumberToString(_subs._traetotalclientepreventaparacredito /*double*/ (ba,_la_cuenta.getText())),__c.Colors.Blue);
|
||||
__c.LogImpl("212910787",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("513304069",_imprimirsolo,0);
|
||||
__c.LogImpl("212910853",_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("513631510","Hay Venta",parent.__c.Colors.Red);
|
||||
parent.__c.LogImpl("213238294","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("513631513","Borrra venta",0);
|
||||
parent.__c.LogImpl("213238297","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("513631519","Pedido guardado",0);
|
||||
parent.__c.LogImpl("213238303","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("513238317","---------->Iniciamos Permisos",parent.__c.Colors.Blue);
|
||||
parent.__c.LogImpl("212845101","---------->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("516449538",BA.ObjectToString(_m),0);
|
||||
__c.LogImpl("216056322",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("516449549","Tiendajon / Ventana / Kiosko",0);
|
||||
__c.LogImpl("216056333","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("516449557","Mini-Super",0);
|
||||
__c.LogImpl("216056341","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("516449564","|"+BA.ObjectToString(_m.Get((Object)("respuesta")))+"|",0);
|
||||
__c.LogImpl("216056348","|"+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("516449566","Miscelanea",0);
|
||||
__c.LogImpl("216056350","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("516449574","Abarrotera",0);
|
||||
__c.LogImpl("216056358","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("516449581",BA.ObjectToString(_m.Get((Object)("respuesta"))),0);
|
||||
__c.LogImpl("216056365",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("516449590",BA.ObjectToString(_m.Get((Object)("respuesta"))),0);
|
||||
__c.LogImpl("216056374",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("516449592",">>>>>>>>>> "+BA.ObjectToString(_cuest._encuestainiciada /*boolean*/ ),0);
|
||||
__c.LogImpl("216056376",">>>>>>>>>> "+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("516449594",">>>>>>>>>> "+BA.ObjectToString(_cuest._encuestainiciada /*boolean*/ ),0);
|
||||
__c.LogImpl("216056378",">>>>>>>>>> "+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("513500418","---------> Estoy en boton 24HRS:"+_starter._banderaactualizar /*String*/ ,0);
|
||||
__c.LogImpl("213107202","---------> 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("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);
|
||||
__c.LogImpl("212976133","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("513369359",("Coordenadas de la tienda - lat:"+__c.SmartStringFormatter("",(Object)(_m_lat))+", lon:"+__c.SmartStringFormatter("",(Object)(_m_lon))+""),0);
|
||||
__c.LogImpl("212976143",("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("514090241",_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ,0);
|
||||
__c.LogImpl("213697025",_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ,0);
|
||||
//BA.debugLineNum = 978;BA.debugLine="Log(\"----> Entramos a guardara venta 2 <-------\")";
|
||||
__c.LogImpl("514090242","----> Entramos a guardara venta 2 <-------",0);
|
||||
__c.LogImpl("213697026","----> 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("514090295","para mostrar que aqui me quedo ",0);
|
||||
__c.LogImpl("213697079","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("513828109","1",0);
|
||||
__c.LogImpl("213434893","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("513828111","2",0);
|
||||
__c.LogImpl("213434895","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("513828115","3",0);
|
||||
__c.LogImpl("213434899","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("513828118","4",0);
|
||||
__c.LogImpl("213434902","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("513828120","5",0);
|
||||
__c.LogImpl("213434904","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("513828122","6",0);
|
||||
__c.LogImpl("213434906","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("513828145","7",0);
|
||||
__c.LogImpl("213434929","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("513828149","8",0);
|
||||
__c.LogImpl("213434933","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("513828155","9",0);
|
||||
__c.LogImpl("213434939","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("513828180","10",0);
|
||||
__c.LogImpl("213434964","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("513828184","11",0);
|
||||
__c.LogImpl("213434968","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("513828188","11",0);
|
||||
__c.LogImpl("213434972","11",0);
|
||||
//BA.debugLineNum = 777;BA.debugLine="GuardaVenta";
|
||||
_guardaventa();
|
||||
};
|
||||
}else {
|
||||
//BA.debugLineNum = 780;BA.debugLine="Log(\"12\")";
|
||||
__c.LogImpl("513828192","12",0);
|
||||
__c.LogImpl("213434976","12",0);
|
||||
//BA.debugLineNum = 781;BA.debugLine="GuardaVenta";
|
||||
_guardaventa();
|
||||
};
|
||||
}else {
|
||||
//BA.debugLineNum = 784;BA.debugLine="Log(\"13\")";
|
||||
__c.LogImpl("513828196","13",0);
|
||||
__c.LogImpl("213434980","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("513828202","14",0);
|
||||
__c.LogImpl("213434986","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("513828206","15",0);
|
||||
__c.LogImpl("213434990","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("514024711",_comprarar,__c.Colors.Green);
|
||||
__c.LogImpl("213631495",_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("514024718","2.1",0);
|
||||
__c.LogImpl("213631502","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("514024723","2.2",0);
|
||||
__c.LogImpl("213631507","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("516580621","Conectando a impresora ...",0);
|
||||
parent.__c.LogImpl("216187405","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("516580626","++++++ "+BA.NumberToString(_cont),0);
|
||||
parent.__c.LogImpl("216187410","++++++ "+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("516580634","conectando 2",0);
|
||||
parent.__c.LogImpl("216187418","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("516580639","****** "+BA.NumberToString(_cont),0);
|
||||
parent.__c.LogImpl("216187423","****** "+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("514811154","IMEI_BASE desde otra clase: "+_imei_base,0);
|
||||
parent.__c.LogImpl("214417938","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("514811159","Conectando a impresora ...",0);
|
||||
parent.__c.LogImpl("214417943","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("514811171","conectando 2",0);
|
||||
parent.__c.LogImpl("214417955","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("514811176","****** "+BA.NumberToString(_cont),0);
|
||||
parent.__c.LogImpl("214417960","****** "+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("514811242",parent._k1,0);
|
||||
parent.__c.LogImpl("214418026",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("514811262","promo",0);
|
||||
parent.__c.LogImpl("214418046","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("514876697","Conectando a impresora ...",0);
|
||||
parent.__c.LogImpl("214483481","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("514876702","++++++ "+BA.NumberToString(_cont),0);
|
||||
parent.__c.LogImpl("214483486","++++++ "+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("514876710","conectando 2",0);
|
||||
parent.__c.LogImpl("214483494","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("514876715","****** "+BA.NumberToString(_cont),0);
|
||||
parent.__c.LogImpl("214483499","****** "+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("514876913","promo",0);
|
||||
parent.__c.LogImpl("214483697","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("515990820",BA.NumberToString(_piezasexiste),0);
|
||||
__c.LogImpl("215597604",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("515990873",BA.NumberToString(_piezasexiste),0);
|
||||
__c.LogImpl("215597657",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("515990936",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
|
||||
__c.LogImpl("215597720",("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("515990939",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("215597723",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("515990952",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
|
||||
__c.LogImpl("215597736",("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("515990955",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("215597739",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("515990967",(""+__c.SmartStringFormatter("",_resultado.Tag /*Object*/ )+"|"+__c.SmartStringFormatter("",(Object)(_pars[(int) (0)]))+""),0);
|
||||
__c.LogImpl("215597751",(""+__c.SmartStringFormatter("",_resultado.Tag /*Object*/ )+"|"+__c.SmartStringFormatter("",(Object)(_pars[(int) (0)]))+""),0);
|
||||
//BA.debugLineNum = 2406;BA.debugLine="Log($\"${pars(1)}\"$)";
|
||||
__c.LogImpl("515990968",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (1)]))+""),0);
|
||||
__c.LogImpl("215597752",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (1)]))+""),0);
|
||||
//BA.debugLineNum = 2407;BA.debugLine="Log($\"${pars(2)}\"$)";
|
||||
__c.LogImpl("515990969",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (2)]))+""),0);
|
||||
__c.LogImpl("215597753",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (2)]))+""),0);
|
||||
//BA.debugLineNum = 2408;BA.debugLine="Log($\"${pars(3)}\"$)";
|
||||
__c.LogImpl("515990970",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (3)]))+""),0);
|
||||
__c.LogImpl("215597754",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (3)]))+""),0);
|
||||
//BA.debugLineNum = 2409;BA.debugLine="Log($\"${pars(4)}\"$)";
|
||||
__c.LogImpl("515990971",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (4)]))+""),0);
|
||||
__c.LogImpl("215597755",(""+__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("515990975",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+", preg:"+__c.SmartStringFormatter("",(Object)(_idpreg))+", res:"+__c.SmartStringFormatter("",(Object)(_idresp))+""),0);
|
||||
__c.LogImpl("215597759",("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("515990978",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("215597762",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("515728642",">>>>>>> MANDA PENDIENTES",0);
|
||||
__c.LogImpl("215335426",">>>>>>> 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("515728682",BA.NumberToString(_ab.getRowCount()),0);
|
||||
__c.LogImpl("215335466",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("515728691",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0);
|
||||
__c.LogImpl("215335475",("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("515794178",">>>>>>> MANDA PENDIENTES",0);
|
||||
__c.LogImpl("215400962",">>>>>>> 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("515794186",("Pedido_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
|
||||
__c.LogImpl("215400970",("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("515794190",(""+__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("215400974",(""+__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("515794204",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
|
||||
__c.LogImpl("215400988",("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("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);
|
||||
__c.LogImpl("215400997",(">>>> 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("514942214","Impresora conectada",__c.Colors.Green);
|
||||
__c.LogImpl("214548998","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("514942221","Error conectando la impresora",__c.Colors.Red);
|
||||
__c.LogImpl("214549005","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("514417921","timedOut "+BA.ObjectToString(_timedout),0);
|
||||
__c.LogImpl("214024705","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("514483457","userCancelled "+BA.ObjectToString(_usercancelled),0);
|
||||
__c.LogImpl("214090241","userCancelled "+BA.ObjectToString(_usercancelled),0);
|
||||
//BA.debugLineNum = 1165;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -58,10 +58,10 @@ 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.mapa_cliente _mapa_cliente = 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("59895937",BA.NumberToString(_check),0);
|
||||
__c.LogImpl("29633793",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("59895963",_d.GetString("CAT_CL_BCREDITO"),__c.Colors.Blue);
|
||||
__c.LogImpl("29633819",_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("59896017",_d.GetString("CAT_CL_BCREDITO"),__c.Colors.Blue);
|
||||
__c.LogImpl("29633873",_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("59437256",_d.GetString("CAT_CL_BCREDITO"),__c.Colors.Blue);
|
||||
__c.LogImpl("29175112",_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("59306158","VAMOS A CLIENTE CON ENVENTA = FALSO",0);
|
||||
__c.LogImpl("29044014","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("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);
|
||||
__c.LogImpl("29044016",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("59633793","nothing returned from the scan !!!!!",0);
|
||||
__c.LogImpl("29371649","nothing returned from the scan !!!!!",0);
|
||||
//BA.debugLineNum = 335;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -39,10 +39,10 @@ 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.mapa_cliente _mapa_cliente = 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("510682374",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
|
||||
__c.LogImpl("210420230",("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("510682374",("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("510682379",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
|
||||
__c.LogImpl("210420235",("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("510682381",BA.ObjectToString(__c.LastException(ba)),0);
|
||||
__c.LogImpl("210420237",BA.ObjectToString(__c.LastException(ba)),0);
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 173;BA.debugLine="End Sub";
|
||||
|
||||
@@ -49,10 +49,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -31,10 +31,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -57,10 +57,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
@@ -68,99 +68,99 @@ public medicomed.keymon.com.mx.b4xcollections _b4xcollections = null;
|
||||
public medicomed.keymon.com.mx.httputils2service _httputils2service = null;
|
||||
public medicomed.keymon.com.mx.xuiviewsutils _xuiviewsutils = null;
|
||||
public String _activity_pause(boolean _userclosed) throws Exception{
|
||||
//BA.debugLineNum = 128;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
|
||||
//BA.debugLineNum = 130;BA.debugLine="End Sub";
|
||||
//BA.debugLineNum = 129;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
|
||||
//BA.debugLineNum = 131;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public String _b_desc_click() throws Exception{
|
||||
//BA.debugLineNum = 250;BA.debugLine="Sub b_desc_Click";
|
||||
//BA.debugLineNum = 251;BA.debugLine="If DESCUENTO = \"MENOS\" Then";
|
||||
//BA.debugLineNum = 274;BA.debugLine="Sub b_desc_Click";
|
||||
//BA.debugLineNum = 275;BA.debugLine="If DESCUENTO = \"MENOS\" Then";
|
||||
if ((_descuento).equals("MENOS")) {
|
||||
//BA.debugLineNum = 252;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
|
||||
//BA.debugLineNum = 276;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
|
||||
__c.DateTime.setDateFormat("MM/dd/yyyy");
|
||||
//BA.debugLineNum = 253;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
|
||||
//BA.debugLineNum = 277;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
|
||||
_sdate = __c.DateTime.Date(__c.DateTime.getNow());
|
||||
//BA.debugLineNum = 254;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
|
||||
//BA.debugLineNum = 278;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
|
||||
_stime = __c.DateTime.Time(__c.DateTime.getNow());
|
||||
//BA.debugLineNum = 255;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT";
|
||||
//BA.debugLineNum = 279;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT";
|
||||
_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 CUENTA from cuentaa")));
|
||||
//BA.debugLineNum = 256;BA.debugLine="c.Position=0";
|
||||
//BA.debugLineNum = 280;BA.debugLine="c.Position=0";
|
||||
_c.setPosition((int) (0));
|
||||
//BA.debugLineNum = 257;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
|
||||
//BA.debugLineNum = 281;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
|
||||
_clie_id = _c.GetString("CUENTA");
|
||||
//BA.debugLineNum = 258;BA.debugLine="c.Close";
|
||||
//BA.debugLineNum = 282;BA.debugLine="c.Close";
|
||||
_c.Close();
|
||||
//BA.debugLineNum = 259;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR";
|
||||
//BA.debugLineNum = 283;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR";
|
||||
_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 USUARIO from usuarioa")));
|
||||
//BA.debugLineNum = 260;BA.debugLine="c.Position=0";
|
||||
//BA.debugLineNum = 284;BA.debugLine="c.Position=0";
|
||||
_c.setPosition((int) (0));
|
||||
//BA.debugLineNum = 261;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
|
||||
//BA.debugLineNum = 285;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
|
||||
_usuario = _c.GetString("USUARIO");
|
||||
//BA.debugLineNum = 262;BA.debugLine="c.Close";
|
||||
//BA.debugLineNum = 286;BA.debugLine="c.Close";
|
||||
_c.Close();
|
||||
//BA.debugLineNum = 263;BA.debugLine="result = Msgbox2(\"Seguro que desea dar descuent";
|
||||
//BA.debugLineNum = 287;BA.debugLine="result = Msgbox2(\"Seguro que desea dar descuent";
|
||||
_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea dar descuento del 5%?"),BA.ObjectToCharSequence("Dar descuento"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba));
|
||||
//BA.debugLineNum = 264;BA.debugLine="If result = DialogResponse.POSITIVE Then";
|
||||
//BA.debugLineNum = 288;BA.debugLine="If result = DialogResponse.POSITIVE Then";
|
||||
if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
|
||||
//BA.debugLineNum = 265;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped";
|
||||
//BA.debugLineNum = 289;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE pedido SET PE_COSTO_TOT = PE_COSTO_TOT * .95, PE_DESC = 5 WHERE PE_CLIENTE In (select cuenta from cuentaa)");
|
||||
//BA.debugLineNum = 266;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(";
|
||||
//BA.debugLineNum = 290;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_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
|
||||
//BA.debugLineNum = 267;BA.debugLine="c.Position=0";
|
||||
//BA.debugLineNum = 291;BA.debugLine="c.Position=0";
|
||||
_c.setPosition((int) (0));
|
||||
//BA.debugLineNum = 268;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
|
||||
//BA.debugLineNum = 292;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 = 269;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in";
|
||||
//BA.debugLineNum = 293;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )}));
|
||||
//BA.debugLineNum = 270;BA.debugLine="c.Close";
|
||||
//BA.debugLineNum = 294;BA.debugLine="c.Close";
|
||||
_c.Close();
|
||||
//BA.debugLineNum = 271;BA.debugLine="B4XPage_Appear";
|
||||
//BA.debugLineNum = 295;BA.debugLine="B4XPage_Appear";
|
||||
_b4xpage_appear();
|
||||
};
|
||||
}else if((_descuento).equals("MAS")) {
|
||||
//BA.debugLineNum = 274;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
|
||||
//BA.debugLineNum = 298;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
|
||||
__c.DateTime.setDateFormat("MM/dd/yyyy");
|
||||
//BA.debugLineNum = 275;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
|
||||
//BA.debugLineNum = 299;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
|
||||
_sdate = __c.DateTime.Date(__c.DateTime.getNow());
|
||||
//BA.debugLineNum = 276;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
|
||||
//BA.debugLineNum = 300;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
|
||||
_stime = __c.DateTime.Time(__c.DateTime.getNow());
|
||||
//BA.debugLineNum = 277;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT";
|
||||
//BA.debugLineNum = 301;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT";
|
||||
_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 CUENTA from cuentaa")));
|
||||
//BA.debugLineNum = 278;BA.debugLine="c.Position=0";
|
||||
//BA.debugLineNum = 302;BA.debugLine="c.Position=0";
|
||||
_c.setPosition((int) (0));
|
||||
//BA.debugLineNum = 279;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
|
||||
//BA.debugLineNum = 303;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
|
||||
_clie_id = _c.GetString("CUENTA");
|
||||
//BA.debugLineNum = 280;BA.debugLine="c.Close";
|
||||
//BA.debugLineNum = 304;BA.debugLine="c.Close";
|
||||
_c.Close();
|
||||
//BA.debugLineNum = 281;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR";
|
||||
//BA.debugLineNum = 305;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR";
|
||||
_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 USUARIO from usuarioa")));
|
||||
//BA.debugLineNum = 282;BA.debugLine="c.Position=0";
|
||||
//BA.debugLineNum = 306;BA.debugLine="c.Position=0";
|
||||
_c.setPosition((int) (0));
|
||||
//BA.debugLineNum = 283;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
|
||||
//BA.debugLineNum = 307;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
|
||||
_usuario = _c.GetString("USUARIO");
|
||||
//BA.debugLineNum = 284;BA.debugLine="c.Close";
|
||||
//BA.debugLineNum = 308;BA.debugLine="c.Close";
|
||||
_c.Close();
|
||||
//BA.debugLineNum = 285;BA.debugLine="result = Msgbox2(\"Seguro que desea CANCELAR el";
|
||||
//BA.debugLineNum = 309;BA.debugLine="result = Msgbox2(\"Seguro que desea CANCELAR el";
|
||||
_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea CANCELAR el descuento?"),BA.ObjectToCharSequence("Cancelar descuento"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba));
|
||||
//BA.debugLineNum = 286;BA.debugLine="If result = DialogResponse.POSITIVE Then";
|
||||
//BA.debugLineNum = 310;BA.debugLine="If result = DialogResponse.POSITIVE Then";
|
||||
if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
|
||||
//BA.debugLineNum = 287;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped";
|
||||
//BA.debugLineNum = 311;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE pedido SET PE_COSTO_TOT = PE_COSTO_TOT / .95, PE_DESC = 0 WHERE PE_CLIENTE In (select cuenta from cuentaa)");
|
||||
//BA.debugLineNum = 288;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(";
|
||||
//BA.debugLineNum = 312;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_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
|
||||
//BA.debugLineNum = 289;BA.debugLine="c.Position=0";
|
||||
//BA.debugLineNum = 313;BA.debugLine="c.Position=0";
|
||||
_c.setPosition((int) (0));
|
||||
//BA.debugLineNum = 290;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
|
||||
//BA.debugLineNum = 314;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 = 291;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in";
|
||||
//BA.debugLineNum = 315;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )}));
|
||||
//BA.debugLineNum = 292;BA.debugLine="c.Close";
|
||||
//BA.debugLineNum = 316;BA.debugLine="c.Close";
|
||||
_c.Close();
|
||||
//BA.debugLineNum = 293;BA.debugLine="B4XPage_Appear";
|
||||
//BA.debugLineNum = 317;BA.debugLine="B4XPage_Appear";
|
||||
_b4xpage_appear();
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 296;BA.debugLine="End Sub";
|
||||
//BA.debugLineNum = 320;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public String _b4xpage_appear() throws Exception{
|
||||
@@ -253,52 +253,50 @@ _label2 = _listview1.getTwoLinesLayout().SecondLabel;
|
||||
_label2.setTextSize((float) (10));
|
||||
//BA.debugLineNum = 100;BA.debugLine="label2.TextColor = Colors.Blue";
|
||||
_label2.setTextColor(__c.Colors.Blue);
|
||||
//BA.debugLineNum = 101;BA.debugLine="ListView1.AddTwoLines(cs.Color(textColor).appen";
|
||||
_listview1.AddTwoLines(BA.ObjectToCharSequence(_cs.Color(_textcolor).Append(BA.ObjectToCharSequence(_c.GetString("PE_PRONOMBRE"))).Pop().getObject()),BA.ObjectToCharSequence("Cantidad #"+_c.GetString("PE_CANT")+" SubTotal $"+_c.GetString("PE_COSTO_TOT")+" Folio "+_c.GetString("PE_FOLIO")));
|
||||
//BA.debugLineNum = 102;BA.debugLine="folio = c.GetString(\"PE_FOLIO\")";
|
||||
_folio = _c.GetString("PE_FOLIO");
|
||||
//BA.debugLineNum = 103;BA.debugLine="vamoaver.Add(c.GetString(\"PE_FOLIO\"))";
|
||||
_vamoaver.Add((Object)(_c.GetString("PE_FOLIO")));
|
||||
//BA.debugLineNum = 102;BA.debugLine="ListView1.AddSingleLine(cs.Color(textColor).Siz";
|
||||
_listview1.AddSingleLine(BA.ObjectToCharSequence(_cs.Color(_textcolor).Size((int) (12)).Append(BA.ObjectToCharSequence(_c.GetString("PE_PRONOMBRE")+" ")).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Size((int) (8)).Color(__c.Colors.Blue).Append(BA.ObjectToCharSequence("Cantidad #"+_c.GetString("PE_CANT"))).Append(BA.ObjectToCharSequence(" SubTotal $"+_c.GetString("PE_COSTO_TOT"))).Append(BA.ObjectToCharSequence(" "+_c.GetString("PE_FOLIO")+" "+_c.GetString("PE_CEDIS"))).PopAll().getObject()));
|
||||
//BA.debugLineNum = 104;BA.debugLine="vamoaver.Add(folio)";
|
||||
_vamoaver.Add((Object)(_folio));
|
||||
}
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 106;BA.debugLine="Log($\"EXISTE: ${Existe}\"$)";
|
||||
__c.LogImpl("517301552",("EXISTE: "+__c.SmartStringFormatter("",(Object)(_existe))+""),0);
|
||||
//BA.debugLineNum = 109;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select sum(";
|
||||
//BA.debugLineNum = 107;BA.debugLine="Log($\"EXISTE: ${Existe}\"$)";
|
||||
__c.LogImpl("212058673",("EXISTE: "+__c.SmartStringFormatter("",(Object)(_existe))+""),0);
|
||||
//BA.debugLineNum = 110;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";
|
||||
//BA.debugLineNum = 111;BA.debugLine="If c.RowCount > 0 Then";
|
||||
if (_c.getRowCount()>0) {
|
||||
//BA.debugLineNum = 111;BA.debugLine="C.Position = 0";
|
||||
//BA.debugLineNum = 112;BA.debugLine="C.Position = 0";
|
||||
_c.setPosition((int) (0));
|
||||
//BA.debugLineNum = 112;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetStr";
|
||||
__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\")";
|
||||
//BA.debugLineNum = 113;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetStr";
|
||||
__c.LogImpl("212058679",("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 = 114;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\")";
|
||||
//BA.debugLineNum = 115;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")";
|
||||
_l_total.setText(BA.ObjectToCharSequence(_c.GetString("PC_MONTO")));
|
||||
//BA.debugLineNum = 115;BA.debugLine="If L_CANT.Text = Null Or L_CANT.Text = \"null\" Or";
|
||||
//BA.debugLineNum = 116;BA.debugLine="If L_CANT.Text = Null Or L_CANT.Text = \"null\" Or";
|
||||
if (_l_cant.getText()== null || (_l_cant.getText()).equals("null") || (_l_cant.getText()).equals("")) {
|
||||
_l_cant.setText(BA.ObjectToCharSequence("0"));};
|
||||
//BA.debugLineNum = 116;BA.debugLine="If L_TOTAL.Text = Null Or L_TOTAL.Text = \"null\"";
|
||||
//BA.debugLineNum = 117;BA.debugLine="If L_TOTAL.Text = Null Or L_TOTAL.Text = \"null\"";
|
||||
if (_l_total.getText()== null || (_l_total.getText()).equals("null") || (_l_total.getText()).equals("")) {
|
||||
_l_total.setText(BA.ObjectToCharSequence("0"));};
|
||||
//BA.debugLineNum = 117;BA.debugLine="c.Close";
|
||||
//BA.debugLineNum = 118;BA.debugLine="c.Close";
|
||||
_c.Close();
|
||||
//BA.debugLineNum = 118;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(I";
|
||||
//BA.debugLineNum = 119;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(I";
|
||||
_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(IFNULL(PE_DESC,0)) AS DESCUENTO FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
|
||||
//BA.debugLineNum = 119;BA.debugLine="c.Position=0";
|
||||
//BA.debugLineNum = 120;BA.debugLine="c.Position=0";
|
||||
_c.setPosition((int) (0));
|
||||
//BA.debugLineNum = 120;BA.debugLine="DESC = c.GetString(\"DESCUENTO\")";
|
||||
//BA.debugLineNum = 121;BA.debugLine="DESC = c.GetString(\"DESCUENTO\")";
|
||||
_desc = _c.GetString("DESCUENTO");
|
||||
//BA.debugLineNum = 121;BA.debugLine="b_desc.Visible = False";
|
||||
//BA.debugLineNum = 122;BA.debugLine="b_desc.Visible = False";
|
||||
_b_desc.setVisible(__c.False);
|
||||
};
|
||||
//BA.debugLineNum = 125;BA.debugLine="If Subs.pedidoGuardado Then borra.Enabled = False";
|
||||
//BA.debugLineNum = 126;BA.debugLine="If Subs.pedidoGuardado Then borra.Enabled = False";
|
||||
if (_subs._pedidoguardado /*boolean*/ (ba)) {
|
||||
_borra.setEnabled(__c.False);}
|
||||
else {
|
||||
_borra.setEnabled(__c.True);};
|
||||
//BA.debugLineNum = 126;BA.debugLine="End Sub";
|
||||
//BA.debugLineNum = 127;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{
|
||||
@@ -323,12 +321,12 @@ parent.__c.ReturnFromResumableSub(this,null);return;}
|
||||
case 0:
|
||||
//C
|
||||
this.state = -1;
|
||||
//BA.debugLineNum = 144;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
|
||||
//BA.debugLineNum = 145;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
|
||||
parent._b4xpages._showpage /*String*/ (ba,"Cliente");
|
||||
//BA.debugLineNum = 145;BA.debugLine="Return False";
|
||||
//BA.debugLineNum = 146;BA.debugLine="Return False";
|
||||
if (true) {
|
||||
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
|
||||
//BA.debugLineNum = 146;BA.debugLine="End Sub";
|
||||
//BA.debugLineNum = 147;BA.debugLine="End Sub";
|
||||
if (true) break;
|
||||
|
||||
}
|
||||
@@ -351,22 +349,45 @@ _titulo.setText(BA.ObjectToCharSequence("Pedido Actual"));
|
||||
return "";
|
||||
}
|
||||
public String _borra_click() throws Exception{
|
||||
//BA.debugLineNum = 148;BA.debugLine="Sub borra_Click";
|
||||
//BA.debugLineNum = 150;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar el ped";
|
||||
_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar el pedido?"),BA.ObjectToCharSequence("Cancelar pedido"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba));
|
||||
//BA.debugLineNum = 151;BA.debugLine="If result = DialogResponse.POSITIVE Then";
|
||||
int _i = 0;
|
||||
//BA.debugLineNum = 149;BA.debugLine="Sub borra_Click";
|
||||
//BA.debugLineNum = 150;BA.debugLine="Log(\"Entre al btn borrar\")";
|
||||
__c.LogImpl("212386305","Entre al btn borrar",0);
|
||||
//BA.debugLineNum = 151;BA.debugLine="result = Msgbox2(\"Seguro que desa borrar el pedi";
|
||||
_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa borrar el pedido?"),BA.ObjectToCharSequence("Cancelar pedido"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba));
|
||||
//BA.debugLineNum = 152;BA.debugLine="If result = DialogResponse.POSITIVE Then";
|
||||
if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
|
||||
//BA.debugLineNum = 163;BA.debugLine="Subs.borraPedidoClienteActual";
|
||||
_subs._borrapedidoclienteactual /*String*/ (ba);
|
||||
//BA.debugLineNum = 164;BA.debugLine="If B4XPages.MainPage.productos.clv_prods_ll.IsIn";
|
||||
if (_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._productos /*medicomed.keymon.com.mx.c_productos*/ ._clv_prods_ll /*b4a.example3.customlistview*/ .IsInitialized()) {
|
||||
//BA.debugLineNum = 165;BA.debugLine="B4XPages.MainPage.productos.clv_prods_ll.Clear";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._productos /*medicomed.keymon.com.mx.c_productos*/ ._clv_prods_ll /*b4a.example3.customlistview*/ ._clear();
|
||||
//BA.debugLineNum = 153;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE_PR";
|
||||
_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 PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) ")));
|
||||
//BA.debugLineNum = 154;BA.debugLine="Log($\"select PE_PROID,PE_CANT FROM PEDIDO where";
|
||||
__c.LogImpl("212386309",("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa)"),0);
|
||||
//BA.debugLineNum = 155;BA.debugLine="If c.RowCount>0 Then";
|
||||
if (_c.getRowCount()>0) {
|
||||
//BA.debugLineNum = 156;BA.debugLine="For i=0 To c.RowCount -1";
|
||||
{
|
||||
final int step7 = 1;
|
||||
final int limit7 = (int) (_c.getRowCount()-1);
|
||||
_i = (int) (0) ;
|
||||
for (;_i <= limit7 ;_i = _i + step7 ) {
|
||||
//BA.debugLineNum = 157;BA.debugLine="c.Position=i";
|
||||
_c.setPosition(_i);
|
||||
//BA.debugLineNum = 158;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?"),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PROID"))}));
|
||||
//BA.debugLineNum = 159;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_c.GetString("PE_PROID")),(Object)((double)(Double.parseDouble(_c.GetString("PE_CANT")))*-1)}));
|
||||
}
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 167;BA.debugLine="B4XPage_Appear";
|
||||
//BA.debugLineNum = 162;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
|
||||
_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 = 163;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)");
|
||||
//BA.debugLineNum = 164;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)");
|
||||
//BA.debugLineNum = 165;BA.debugLine="B4XPage_Appear";
|
||||
_b4xpage_appear();
|
||||
};
|
||||
//BA.debugLineNum = 172;BA.debugLine="End Sub";
|
||||
//BA.debugLineNum = 167;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public String _class_globals() throws Exception{
|
||||
@@ -430,8 +451,8 @@ _j3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
return "";
|
||||
}
|
||||
public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{
|
||||
//BA.debugLineNum = 132;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)";
|
||||
//BA.debugLineNum = 135;BA.debugLine="End Sub";
|
||||
//BA.debugLineNum = 133;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)";
|
||||
//BA.debugLineNum = 136;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{
|
||||
@@ -443,153 +464,218 @@ if (true) return this;
|
||||
return null;
|
||||
}
|
||||
public String _listview1_itemlongclick(int _position,Object _value) throws Exception{
|
||||
String[] _x = null;
|
||||
String _nom = "";
|
||||
int _i = 0;
|
||||
//BA.debugLineNum = 174;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu";
|
||||
//BA.debugLineNum = 175;BA.debugLine="Log(Value)";
|
||||
__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";
|
||||
String _cedis = "";
|
||||
anywheresoftware.b4a.sql.SQL.CursorWrapper _y = null;
|
||||
int _j = 0;
|
||||
//BA.debugLineNum = 169;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu";
|
||||
//BA.debugLineNum = 170;BA.debugLine="Log(Value)";
|
||||
__c.LogImpl("212451841",BA.ObjectToString(_value),0);
|
||||
//BA.debugLineNum = 171;BA.debugLine="Private X() As String = Regex.Split(\" \", Value)";
|
||||
_x = __c.Regex.Split(" ",BA.ObjectToString(_value));
|
||||
//BA.debugLineNum = 172;BA.debugLine="Private nom As String = \"\"";
|
||||
_nom = "";
|
||||
//BA.debugLineNum = 173;BA.debugLine="For i = 0 To X.Length -1";
|
||||
{
|
||||
final int step4 = 1;
|
||||
final int limit4 = (int) (_x.length-1);
|
||||
_i = (int) (0) ;
|
||||
for (;_i <= limit4 ;_i = _i + step4 ) {
|
||||
//BA.debugLineNum = 174;BA.debugLine="If X(i).Contains(CRLF) Then";
|
||||
if (_x[_i].contains(__c.CRLF)) {
|
||||
};
|
||||
//BA.debugLineNum = 176;BA.debugLine="If Not(X(i).Contains(CRLF)) Then";
|
||||
if (__c.Not(_x[_i].contains(__c.CRLF))) {
|
||||
//BA.debugLineNum = 177;BA.debugLine="nom = nom & \" \" & X(i)";
|
||||
_nom = _nom+" "+_x[_i];
|
||||
}else {
|
||||
//BA.debugLineNum = 179;BA.debugLine="Exit";
|
||||
if (true) break;
|
||||
};
|
||||
}
|
||||
};
|
||||
//BA.debugLineNum = 182;BA.debugLine="nom = nom.Trim";
|
||||
_nom = _nom.trim();
|
||||
//BA.debugLineNum = 183;BA.debugLine="Log(nom)";
|
||||
__c.LogImpl("212451854",_nom,0);
|
||||
//BA.debugLineNum = 184;BA.debugLine="Private cedis As String = X(X.Length-1)";
|
||||
_cedis = _x[(int) (_x.length-1)];
|
||||
//BA.debugLineNum = 185;BA.debugLine="Log(cedis)";
|
||||
__c.LogImpl("212451856",_cedis,0);
|
||||
//BA.debugLineNum = 186;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar este a";
|
||||
_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba));
|
||||
//BA.debugLineNum = 178;BA.debugLine="If result = DialogResponse.POSITIVE Then";
|
||||
//BA.debugLineNum = 187;BA.debugLine="If result = DialogResponse.POSITIVE Then";
|
||||
if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
|
||||
//BA.debugLineNum = 179;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select PE_P";
|
||||
_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 PE_PROID,PE_CANT, PE_FOLIO, PE_PRONOMBRE FROM PEDIDO where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa) ",new String[]{BA.ObjectToString(_value)})));
|
||||
//BA.debugLineNum = 180;BA.debugLine="c.Position=0";
|
||||
_c.setPosition((int) (0));
|
||||
//BA.debugLineNum = 181;BA.debugLine="Log(vamoaver.Get(Position))";
|
||||
__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("517694729","CAT_GUNAPROD2",0);
|
||||
//BA.debugLineNum = 184;BA.debugLine="Log(Position&\",1\")";
|
||||
__c.LogImpl("517694730",BA.NumberToString(_position)+",1",0);
|
||||
//BA.debugLineNum = 185;BA.debugLine="Log(Value&\",1\")";
|
||||
__c.LogImpl("517694731",BA.ObjectToString(_value)+",1",0);
|
||||
//BA.debugLineNum = 186;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\"";
|
||||
//BA.debugLineNum = 188;BA.debugLine="Log(\"|\" &nom & \"|\")";
|
||||
__c.LogImpl("212451859","|"+_nom+"|",0);
|
||||
//BA.debugLineNum = 189;BA.debugLine="Log(\"|\" & cedis & \"|\")";
|
||||
__c.LogImpl("212451860","|"+_cedis+"|",0);
|
||||
//BA.debugLineNum = 190;BA.debugLine="Log(\"|\" & Subs.traeCliente & \"|\")";
|
||||
__c.LogImpl("212451861","|"+_subs._traecliente /*String*/ (ba)+"|",0);
|
||||
//BA.debugLineNum = 191;BA.debugLine="Private y As Cursor =B4XPages.MainPage.skmt.Exec";
|
||||
_y = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
|
||||
_y = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO FROM PEDIDO where pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom.trim()))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' "))));
|
||||
//BA.debugLineNum = 192;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO FROM PED";
|
||||
__c.LogImpl("212451863",("select PE_PROID,PE_CANT, PE_FOLIO FROM PEDIDO where pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' "),0);
|
||||
//BA.debugLineNum = 193;BA.debugLine="Log(y.RowCount)";
|
||||
__c.LogImpl("212451864",BA.NumberToString(_y.getRowCount()),0);
|
||||
//BA.debugLineNum = 194;BA.debugLine="y.Position=0";
|
||||
_y.setPosition((int) (0));
|
||||
//BA.debugLineNum = 195;BA.debugLine="Log(\"Esto es Folio: \" & y.GetString(\"PE_FOLIO\"))";
|
||||
__c.LogImpl("212451866","Esto es Folio: "+_y.GetString("PE_FOLIO"),0);
|
||||
//BA.debugLineNum = 196;BA.debugLine="If y.GetString(\"PE_FOLIO\") = \"PREVENTA\" Then";
|
||||
if ((_y.GetString("PE_FOLIO")).equals("PREVENTA")) {
|
||||
//BA.debugLineNum = 197;BA.debugLine="Log(\"CAT_GUNAPROD2\")";
|
||||
__c.LogImpl("212451868","CAT_GUNAPROD2",0);
|
||||
//BA.debugLineNum = 198;BA.debugLine="Log(Position)";
|
||||
__c.LogImpl("212451869",BA.NumberToString(_position),0);
|
||||
//BA.debugLineNum = 199;BA.debugLine="Log(Value)";
|
||||
__c.LogImpl("212451870",BA.ObjectToString(_value),0);
|
||||
//BA.debugLineNum = 200;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\"";
|
||||
_starter._tabla /*String*/ = "CAT_GUNAPROD2";
|
||||
}else {
|
||||
//BA.debugLineNum = 188;BA.debugLine="Log(\"CAT_GUNAPROD\")";
|
||||
__c.LogImpl("517694734","CAT_GUNAPROD",0);
|
||||
//BA.debugLineNum = 189;BA.debugLine="Log(Position&\",2\")";
|
||||
__c.LogImpl("517694735",BA.NumberToString(_position)+",2",0);
|
||||
//BA.debugLineNum = 190;BA.debugLine="Log(Value&\",2\")";
|
||||
__c.LogImpl("517694736",BA.ObjectToString(_value)+",2",0);
|
||||
//BA.debugLineNum = 191;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\"";
|
||||
//BA.debugLineNum = 202;BA.debugLine="Log(\"CAT_GUNAPROD\")";
|
||||
__c.LogImpl("212451873","CAT_GUNAPROD",0);
|
||||
//BA.debugLineNum = 203;BA.debugLine="Log(Position)";
|
||||
__c.LogImpl("212451874",BA.NumberToString(_position),0);
|
||||
//BA.debugLineNum = 204;BA.debugLine="Log(Value)";
|
||||
__c.LogImpl("212451875",BA.ObjectToString(_value),0);
|
||||
//BA.debugLineNum = 205;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\"";
|
||||
_starter._tabla /*String*/ = "CAT_GUNAPROD";
|
||||
};
|
||||
//BA.debugLineNum = 195;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_c.GetString("PE_PROID")),(Object)((double)(Double.parseDouble(_c.GetString("PE_CANT")))*-1)}));
|
||||
//BA.debugLineNum = 196;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select co";
|
||||
_c2 = (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 count(*) AS CUANTOS from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID in (select pe_cedis from pedido where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa)) and CAT_GP_CLASIF = 'PROMOS' AND CAT_GP_TIPO = 'PROMOS' AND CAT_GP_SUBTIPO = 'PROMOS'"),new String[]{BA.ObjectToString(_value)})));
|
||||
//BA.debugLineNum = 197;BA.debugLine="c2.Position=0";
|
||||
_c2.setPosition((int) (0));
|
||||
//BA.debugLineNum = 198;BA.debugLine="Log(\"aqui entre1\")";
|
||||
__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("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("517694748",BA.NumberToString(_j3.getRowCount()),0);
|
||||
//BA.debugLineNum = 204;BA.debugLine="If j3.RowCount > 0 Then";
|
||||
//BA.debugLineNum = 208;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_y.GetString("PE_PROID")),(Object)((double)(Double.parseDouble(_y.GetString("PE_CANT")))*-1)}));
|
||||
//BA.debugLineNum = 209;BA.debugLine="Log(cedis)";
|
||||
__c.LogImpl("212451880",_cedis,0);
|
||||
//BA.debugLineNum = 210;BA.debugLine="Log(Subs.traeAlmacen)";
|
||||
__c.LogImpl("212451881",_subs._traealmacen /*String*/ (ba),0);
|
||||
//BA.debugLineNum = 211;BA.debugLine="If cedis <> Subs.traeAlmacen Then";
|
||||
if ((_cedis).equals(_subs._traealmacen /*String*/ (ba)) == false) {
|
||||
//BA.debugLineNum = 212;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, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PRONOMBRE = ? and PE_CEDIS = ?)",new String[]{_nom,_cedis})));
|
||||
//BA.debugLineNum = 213;BA.debugLine="Log(j3.RowCount)";
|
||||
__c.LogImpl("212451884",BA.NumberToString(_j3.getRowCount()),0);
|
||||
//BA.debugLineNum = 214;BA.debugLine="If j3.RowCount > 0 Then";
|
||||
if (_j3.getRowCount()>0) {
|
||||
//BA.debugLineNum = 205;BA.debugLine="Log(\"estoy aqui\")";
|
||||
__c.LogImpl("517694751","estoy aqui",0);
|
||||
//BA.debugLineNum = 206;BA.debugLine="For i = 0 To j3.RowCount -1";
|
||||
//BA.debugLineNum = 215;BA.debugLine="Log(\"Soy promo\")";
|
||||
__c.LogImpl("212451886","Soy promo",0);
|
||||
//BA.debugLineNum = 216;BA.debugLine="For j = 0 To j3.RowCount -1";
|
||||
{
|
||||
final int step29 = 1;
|
||||
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("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";
|
||||
_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)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'"));
|
||||
//BA.debugLineNum = 210;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update CAT_GUNAPROD2 set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'"));
|
||||
//BA.debugLineNum = 211;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value,_vamoaver.Get(_position)}));
|
||||
final int step46 = 1;
|
||||
final int limit46 = (int) (_j3.getRowCount()-1);
|
||||
_j = (int) (0) ;
|
||||
for (;_j <= limit46 ;_j = _j + step46 ) {
|
||||
//BA.debugLineNum = 217;BA.debugLine="Log(\"aqui tronare?\")";
|
||||
__c.LogImpl("212451888","aqui tronare?",0);
|
||||
//BA.debugLineNum = 219;BA.debugLine="j3.Position = j";
|
||||
_j3.setPosition(_j);
|
||||
//BA.debugLineNum = 220;BA.debugLine="Log(j3.GetString(\"PE_CANT\"))";
|
||||
__c.LogImpl("212451891",_j3.GetString("PE_CANT"),0);
|
||||
//BA.debugLineNum = 221;BA.debugLine="Log($\"update ${Starter.tabla} set CAT_GP_ALMA";
|
||||
__c.LogImpl("212451892",("update "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" set CAT_GP_ALMACEN = CAT_GP_ALMACEN + '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+"' where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'"),0);
|
||||
//BA.debugLineNum = 222;BA.debugLine="If y.GetString(\"PE_FOLIO\") = \"PREVENTA\" Then";
|
||||
if ((_y.GetString("PE_FOLIO")).equals("PREVENTA")) {
|
||||
//BA.debugLineNum = 223;BA.debugLine="Log(\"Esto es Folio: \" & y.GetString(\"PE_FOLI";
|
||||
__c.LogImpl("212451894","Esto es Folio: "+_y.GetString("PE_FOLIO")+" <<<<<<<<<<<<<<<<<<<<<<<<",0);
|
||||
//BA.debugLineNum = 224;BA.debugLine="Starter.skmt.ExecNonQuery($\"update CAT_GUNAP";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update CAT_GUNAPROD set CAT_GP_ALMACEN = CAT_GP_ALMACEN + "+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'"));
|
||||
//BA.debugLineNum = 225;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_FOLIO")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'"));
|
||||
}else {
|
||||
//BA.debugLineNum = 227;BA.debugLine="Starter.skmt.ExecNonQuery($\"update ${Starter";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" set CAT_GP_ALMACEN = CAT_GP_ALMACEN + "+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'"));
|
||||
//BA.debugLineNum = 228;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_FOLIO")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'"));
|
||||
};
|
||||
}
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 214;BA.debugLine="j3.Close";
|
||||
//BA.debugLineNum = 233;BA.debugLine="j3.Close";
|
||||
_j3.Close();
|
||||
}else {
|
||||
//BA.debugLineNum = 216;BA.debugLine="Log(\"aqui entre2\")";
|
||||
__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";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update CAT_GUNAPROD2 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 = 220;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fr";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value,_vamoaver.Get(_position)}));
|
||||
//BA.debugLineNum = 235;BA.debugLine="Log(y.GetString(\"PE_CANT\"))";
|
||||
__c.LogImpl("212451906",_y.GetString("PE_CANT"),0);
|
||||
//BA.debugLineNum = 236;BA.debugLine="Log(y.Getstring(\"PE_PROID\"))";
|
||||
__c.LogImpl("212451907",_y.GetString("PE_PROID"),0);
|
||||
//BA.debugLineNum = 237;BA.debugLine="Log(\"Esto no es promo\")";
|
||||
__c.LogImpl("212451908","Esto no es promo",0);
|
||||
//BA.debugLineNum = 238;BA.debugLine="Log(\"Nombre: \" & nom & \"Cedis: \" & cedis & \"Fol";
|
||||
__c.LogImpl("212451909","Nombre: "+_nom+"Cedis: "+_cedis+"Folio: "+_y.GetString("PE_FOLIO"),0);
|
||||
//BA.debugLineNum = 239;BA.debugLine="Log(\"Esto es Folio: \" & y.GetString(\"PE_FOLIO\")";
|
||||
__c.LogImpl("212451910","Esto es Folio: "+_y.GetString("PE_FOLIO")+" <<<<<<<<<<<<<<<<<<<<<<<<",0);
|
||||
//BA.debugLineNum = 240;BA.debugLine="If y.GetString(\"PE_FOLIO\") = \"PREVENTA\" Then";
|
||||
if ((_y.GetString("PE_FOLIO")).equals("PREVENTA")) {
|
||||
//BA.debugLineNum = 241;BA.debugLine="Log(\"Esto es Folio: \" & y.GetString(\"PE_FOLIO\"";
|
||||
__c.LogImpl("212451912","Esto es Folio: "+_y.GetString("PE_FOLIO")+" <<<<<<<<<<<<<<<<<<<<<<<<",0);
|
||||
//BA.debugLineNum = 242;BA.debugLine="Log(\"Entre? <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<";
|
||||
__c.LogImpl("212451913","Entre? <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<",0);
|
||||
//BA.debugLineNum = 243;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update C";
|
||||
_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)(_y.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_y.GetString("PE_PROID")))+"'"));
|
||||
//BA.debugLineNum = 244;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete f";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nom),(Object)(_cedis),(Object)(_y.GetString("PE_FOLIO"))}));
|
||||
}else {
|
||||
//BA.debugLineNum = 246;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update $";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_y.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_y.GetString("PE_PROID")))+"'"));
|
||||
//BA.debugLineNum = 247;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete f";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nom),(Object)(_cedis),(Object)(_y.GetString("PE_FOLIO"))}));
|
||||
};
|
||||
//BA.debugLineNum = 222;BA.debugLine="c.Close";
|
||||
_c.Close();
|
||||
//BA.debugLineNum = 223;BA.debugLine="c2.Close";
|
||||
_c2.Close();
|
||||
//BA.debugLineNum = 224;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
|
||||
};
|
||||
//BA.debugLineNum = 250;BA.debugLine="y.Close";
|
||||
_y.Close();
|
||||
//BA.debugLineNum = 251;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
|
||||
__c.DateTime.setDateFormat("MM/dd/yyyy");
|
||||
//BA.debugLineNum = 225;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
|
||||
//BA.debugLineNum = 252;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
|
||||
_sdate = __c.DateTime.Date(__c.DateTime.getNow());
|
||||
//BA.debugLineNum = 226;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
|
||||
//BA.debugLineNum = 253;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
|
||||
_stime = __c.DateTime.Time(__c.DateTime.getNow());
|
||||
//BA.debugLineNum = 227;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT";
|
||||
//BA.debugLineNum = 254;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT";
|
||||
_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 CUENTA from cuentaa")));
|
||||
//BA.debugLineNum = 228;BA.debugLine="c.Position=0";
|
||||
//BA.debugLineNum = 255;BA.debugLine="c.Position=0";
|
||||
_c.setPosition((int) (0));
|
||||
//BA.debugLineNum = 229;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
|
||||
//BA.debugLineNum = 256;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
|
||||
_clie_id = _c.GetString("CUENTA");
|
||||
//BA.debugLineNum = 230;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR";
|
||||
//BA.debugLineNum = 257;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR";
|
||||
_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 USUARIO from usuarioa")));
|
||||
//BA.debugLineNum = 231;BA.debugLine="c.Position=0";
|
||||
//BA.debugLineNum = 258;BA.debugLine="c.Position=0";
|
||||
_c.setPosition((int) (0));
|
||||
//BA.debugLineNum = 232;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
|
||||
//BA.debugLineNum = 259;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
|
||||
_usuario = _c.GetString("USUARIO");
|
||||
//BA.debugLineNum = 233;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p";
|
||||
//BA.debugLineNum = 260;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p";
|
||||
_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_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
|
||||
//BA.debugLineNum = 234;BA.debugLine="c.Position=0";
|
||||
//BA.debugLineNum = 261;BA.debugLine="c.Position=0";
|
||||
_c.setPosition((int) (0));
|
||||
//BA.debugLineNum = 235;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then";
|
||||
//BA.debugLineNum = 262;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then";
|
||||
if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) {
|
||||
//BA.debugLineNum = 236;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
|
||||
//BA.debugLineNum = 263;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 = 237;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in";
|
||||
//BA.debugLineNum = 264;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )}));
|
||||
//BA.debugLineNum = 238;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt";
|
||||
//BA.debugLineNum = 265;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)");
|
||||
}else {
|
||||
//BA.debugLineNum = 240;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
|
||||
//BA.debugLineNum = 267;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 = 241;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt";
|
||||
//BA.debugLineNum = 268;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)");
|
||||
};
|
||||
//BA.debugLineNum = 243;BA.debugLine="B4XPage_Appear";
|
||||
//BA.debugLineNum = 270;BA.debugLine="B4XPage_Appear";
|
||||
_b4xpage_appear();
|
||||
};
|
||||
}else {
|
||||
//BA.debugLineNum = 246;BA.debugLine="ToastMessageShow(\"Pedido guardado, NO se puede e";
|
||||
__c.ToastMessageShow(BA.ObjectToCharSequence("Pedido guardado, NO se puede editar."),__c.False);
|
||||
};
|
||||
//BA.debugLineNum = 248;BA.debugLine="End Sub";
|
||||
//BA.debugLineNum = 272;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public String _p_nota_click() throws Exception{
|
||||
//BA.debugLineNum = 298;BA.debugLine="Private Sub p_nota_Click";
|
||||
//BA.debugLineNum = 300;BA.debugLine="End Sub";
|
||||
//BA.debugLineNum = 322;BA.debugLine="Private Sub p_nota_Click";
|
||||
//BA.debugLineNum = 324;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public String _regresar_click() throws Exception{
|
||||
//BA.debugLineNum = 137;BA.debugLine="Sub Regresar_Click";
|
||||
//BA.debugLineNum = 138;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
|
||||
//BA.debugLineNum = 138;BA.debugLine="Sub Regresar_Click";
|
||||
//BA.debugLineNum = 139;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
|
||||
_b4xpages._showpage /*String*/ (ba,"Cliente");
|
||||
//BA.debugLineNum = 139;BA.debugLine="End Sub";
|
||||
//BA.debugLineNum = 140;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
|
||||
|
||||
@@ -53,10 +53,10 @@ 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.mapa_cliente _mapa_cliente = 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("518284603",("actualizamos \""+__c.SmartStringFormatter("",(Object)(_cuenta))+", hora_final="+__c.SmartStringFormatter("",(Object)(__c.DateTime.getNow()))+""),__c.Colors.Red);
|
||||
__c.LogImpl("262521403",("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("518415617",BA.ObjectToString(_job._success /*boolean*/ ),0);
|
||||
__c.LogImpl("262652417",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("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);
|
||||
__c.LogImpl("262652421","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("518415627",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
|
||||
__c.LogImpl("262652427",("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("518415631",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("262652431",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("518350084",("NO VENTA PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);
|
||||
__c.LogImpl("262586884",("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";
|
||||
|
||||
@@ -80,10 +80,10 @@ 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.mapa_cliente _mapa_cliente = 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("58126474","Con permisos para escritura",0);
|
||||
parent.__c.LogImpl("27864330","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("58126481","Con permisos para escritura",0);
|
||||
parent.__c.LogImpl("27864337","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("58388623",(" //////////// Date: "+__c.SmartStringFormatter("",(Object)(_sdate))+" - Time: "+__c.SmartStringFormatter("",(Object)(_stime))+" ////////////////"),0);
|
||||
__c.LogImpl("28126479",(" //////////// 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("58388628","////////////// sTime: "+_stime+" ////////////////",0);
|
||||
__c.LogImpl("28126484","////////////// 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("58388633","++ ++ no_cliente = "+_no_cliente,0);
|
||||
__c.LogImpl("28126489","++ ++ 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";
|
||||
|
||||
@@ -81,10 +81,10 @@ 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.mapa_cliente _mapa_cliente = 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("518874447",BA.NumberToString(111),0);
|
||||
__c.LogImpl("263111247",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("518874455",BA.NumberToString(222),0);
|
||||
__c.LogImpl("263111255",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("518874490",BA.NumberToString(333),0);
|
||||
__c.LogImpl("263111290",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("518874497",BA.NumberToString(444),0);
|
||||
__c.LogImpl("263111297",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("518874522",BA.NumberToString(555),0);
|
||||
__c.LogImpl("263111322",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";
|
||||
|
||||
@@ -255,10 +255,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
@@ -325,7 +325,7 @@ return "";
|
||||
public String _b_mapa_click() throws Exception{
|
||||
//BA.debugLineNum = 2171;BA.debugLine="Sub b_mapa_Click";
|
||||
//BA.debugLineNum = 2172;BA.debugLine="Log(\"mapClic\")";
|
||||
__c.LogImpl("53080193","mapClic",0);
|
||||
__c.LogImpl("22818049","mapClic",0);
|
||||
//BA.debugLineNum = 2173;BA.debugLine="B4XPages.GetPage(\"Mapas\")";
|
||||
_b4xpages._getpage /*Object*/ (ba,"Mapas");
|
||||
//BA.debugLineNum = 2174;BA.debugLine="End Sub";
|
||||
@@ -769,7 +769,7 @@ _cmd.Initialize();
|
||||
//BA.debugLineNum = 394;BA.debugLine="cmd.Name = \"select_fecha\"";
|
||||
_cmd.Name /*String*/ = "select_fecha";
|
||||
//BA.debugLineNum = 395;BA.debugLine="Log( Starter.DBReqServer)";
|
||||
__c.LogImpl("52621459",_starter._dbreqserver /*String*/ ,0);
|
||||
__c.LogImpl("22359315",_starter._dbreqserver /*String*/ ,0);
|
||||
//BA.debugLineNum = 396;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")";
|
||||
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("fecha"));
|
||||
//BA.debugLineNum = 397;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'ignore";
|
||||
@@ -1391,11 +1391,11 @@ _fecha2 = __c.Regex.Split("/",_fecha);
|
||||
//BA.debugLineNum = 864;BA.debugLine="Dim dia As String = fecha2(1)";
|
||||
_dia = _fecha2[(int) (1)];
|
||||
//BA.debugLineNum = 865;BA.debugLine="Log(dia)";
|
||||
__c.LogImpl("52752520",_dia,0);
|
||||
__c.LogImpl("22490376",_dia,0);
|
||||
//BA.debugLineNum = 866;BA.debugLine="Dim dia2 As String = DateTime.GetDayOfMonth(Date";
|
||||
_dia2 = BA.NumberToString(__c.DateTime.GetDayOfMonth(__c.DateTime.getNow()));
|
||||
//BA.debugLineNum = 867;BA.debugLine="Log(dia & \" , \" & dia2)";
|
||||
__c.LogImpl("52752522",_dia+" , "+_dia2,0);
|
||||
__c.LogImpl("22490378",_dia+" , "+_dia2,0);
|
||||
//BA.debugLineNum = 868;BA.debugLine="If dia < dia2 Then";
|
||||
if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) {
|
||||
//BA.debugLineNum = 869;BA.debugLine="pedidodiaanterior = True";
|
||||
@@ -1727,7 +1727,7 @@ if ((_starter._marcacel /*String*/ ).equals("Sony") == false) {
|
||||
__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias"),__c.True);};
|
||||
}else {
|
||||
//BA.debugLineNum = 1140;BA.debugLine="Log(\"XXXX\")";
|
||||
__c.LogImpl("52752795","XXXX",0);
|
||||
__c.LogImpl("22490651","XXXX",0);
|
||||
//BA.debugLineNum = 1141;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten";
|
||||
__c.MsgboxAsync(BA.ObjectToCharSequence("Para poder cargar día no puedes tener venta del día anterior. Por favor haz FIN DIA e intenta nuevamente."),BA.ObjectToCharSequence("Atención"),ba);
|
||||
};
|
||||
@@ -2240,7 +2240,7 @@ return "";
|
||||
public String _connecta_click() throws Exception{
|
||||
//BA.debugLineNum = 2097;BA.debugLine="Sub connecta_Click";
|
||||
//BA.debugLineNum = 2098;BA.debugLine="Log( Starter.DBReqServer)";
|
||||
__c.LogImpl("52949121",_starter._dbreqserver /*String*/ ,0);
|
||||
__c.LogImpl("22686977",_starter._dbreqserver /*String*/ ,0);
|
||||
//BA.debugLineNum = 2099;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)";
|
||||
_reqmanager._initialize /*String*/ (ba,this,_starter._dbreqserver /*String*/ );
|
||||
//BA.debugLineNum = 2100;BA.debugLine="ime.HideKeyboard";
|
||||
@@ -2356,7 +2356,7 @@ _e_ruta.setSelectionStart(_e_ruta.getText().length());
|
||||
}
|
||||
catch (Exception e9) {
|
||||
ba.setLastException(e9); //BA.debugLineNum = 2673;BA.debugLine="Log(LastException)";
|
||||
__c.LogImpl("54194315",BA.ObjectToString(__c.LastException(ba)),0);
|
||||
__c.LogImpl("23932171",BA.ObjectToString(__c.LastException(ba)),0);
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 2676;BA.debugLine="End Sub";
|
||||
@@ -2713,7 +2713,7 @@ String _folio = "";
|
||||
String _idcliente = "";
|
||||
//BA.debugLineNum = 1145;BA.debugLine="Sub JobDone(Job As HttpJob)";
|
||||
//BA.debugLineNum = 1146;BA.debugLine="Log(\"JOBDONE PRINCIPAL\")";
|
||||
__c.LogImpl("52818049","JOBDONE PRINCIPAL",0);
|
||||
__c.LogImpl("22555905","JOBDONE PRINCIPAL",0);
|
||||
//BA.debugLineNum = 1147;BA.debugLine="If reqManager.reqsList.IsInitialized Then 'Si ten";
|
||||
if (_reqmanager._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IsInitialized()) {
|
||||
//BA.debugLineNum = 1148;BA.debugLine="If reqManager.reqsList.IndexOf(Job.tag) <> -1 Th";
|
||||
@@ -2721,26 +2721,26 @@ if (_reqmanager._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .Ind
|
||||
//BA.debugLineNum = 1149;BA.debugLine="reqManager.reqsList.RemoveAt(reqManager.reqsLis";
|
||||
_reqmanager._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(_reqmanager._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_job._tag /*Object*/ ));
|
||||
//BA.debugLineNum = 1150;BA.debugLine="LogColor($\">>>>>> Quitamos ${Job.tag}\"$, Colors";
|
||||
__c.LogImpl("52818053",(">>>>>> Quitamos "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),__c.Colors.Blue);
|
||||
__c.LogImpl("22555909",(">>>>>> Quitamos "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),__c.Colors.Blue);
|
||||
};
|
||||
//BA.debugLineNum = 1152;BA.debugLine="LogColor(\">>>>>> \" & reqManager.reqsList.Size &";
|
||||
__c.LogImpl("52818055",">>>>>> "+BA.NumberToString(_reqmanager._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize())+" - "+BA.ObjectToString(_reqmanager._reqslist /*anywheresoftware.b4a.objects.collections.List*/ ),__c.Colors.Blue);
|
||||
__c.LogImpl("22555911",">>>>>> "+BA.NumberToString(_reqmanager._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize())+" - "+BA.ObjectToString(_reqmanager._reqslist /*anywheresoftware.b4a.objects.collections.List*/ ),__c.Colors.Blue);
|
||||
};
|
||||
//BA.debugLineNum = 1154;BA.debugLine="If Job.Success = False Then";
|
||||
if (_job._success /*boolean*/ ==__c.False) {
|
||||
//BA.debugLineNum = 1155;BA.debugLine="Log(\"ERROR\")";
|
||||
__c.LogImpl("52818058","ERROR",0);
|
||||
__c.LogImpl("22555914","ERROR",0);
|
||||
//BA.debugLineNum = 1156;BA.debugLine="LogColor(\"Error: \" & reqManager.HandleJob(Job).t";
|
||||
__c.LogImpl("52818059","Error: "+BA.ObjectToString(_reqmanager._handlejob /*medicomed.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Red);
|
||||
__c.LogImpl("22555915","Error: "+BA.ObjectToString(_reqmanager._handlejob /*medicomed.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Red);
|
||||
//BA.debugLineNum = 1157;BA.debugLine="Log(\"ex\")";
|
||||
__c.LogImpl("52818060","ex",0);
|
||||
__c.LogImpl("22555916","ex",0);
|
||||
//BA.debugLineNum = 1158;BA.debugLine="Log(2)";
|
||||
__c.LogImpl("52818061",BA.NumberToString(2),0);
|
||||
__c.LogImpl("22555917",BA.NumberToString(2),0);
|
||||
}else {
|
||||
//BA.debugLineNum = 1162;BA.debugLine="Log(3)";
|
||||
__c.LogImpl("52818065",BA.NumberToString(3),0);
|
||||
__c.LogImpl("22555921",BA.NumberToString(3),0);
|
||||
//BA.debugLineNum = 1163;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
|
||||
__c.LogImpl("52818066","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.RGB((int) (0),(int) (160),(int) (0)));
|
||||
__c.LogImpl("22555922","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.RGB((int) (0),(int) (160),(int) (0)));
|
||||
//BA.debugLineNum = 1165;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
|
||||
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
|
||||
//BA.debugLineNum = 1166;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
|
||||
@@ -2756,7 +2756,7 @@ final int groupLen20 = group20.getSize()
|
||||
for (; index20 < groupLen20;index20++){
|
||||
_records = (Object[])(group20.Get(index20));
|
||||
//BA.debugLineNum = 1169;BA.debugLine="Log(\"==========================REGISTROS=\"&RE";
|
||||
__c.LogImpl("52818072","==========================REGISTROS="+BA.ObjectToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ),0);
|
||||
__c.LogImpl("22555928","==========================REGISTROS="+BA.ObjectToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ),0);
|
||||
//BA.debugLineNum = 1170;BA.debugLine="For Each k As String In RESULT.Columns.Keys";
|
||||
{
|
||||
final anywheresoftware.b4a.BA.IterableList group22 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys();
|
||||
@@ -2766,7 +2766,7 @@ final int groupLen22 = group22.getSize()
|
||||
for (; index22 < groupLen22;index22++){
|
||||
_k = BA.ObjectToString(group22.Get(index22));
|
||||
//BA.debugLineNum = 1171;BA.debugLine="Log(RESULT.Tag & \": \" & k & \": \" & records(R";
|
||||
__c.LogImpl("52818074",BA.ObjectToString(_result.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
|
||||
__c.LogImpl("22555930",BA.ObjectToString(_result.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -2783,7 +2783,7 @@ final int groupLen28 = group28.getSize()
|
||||
for (; index28 < groupLen28;index28++){
|
||||
_records = (Object[])(group28.Get(index28));
|
||||
//BA.debugLineNum = 1177;BA.debugLine="Log(\"==========================REGISTROS=\"&RE";
|
||||
__c.LogImpl("52818080","==========================REGISTROS="+BA.ObjectToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ),0);
|
||||
__c.LogImpl("22555936","==========================REGISTROS="+BA.ObjectToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ),0);
|
||||
//BA.debugLineNum = 1178;BA.debugLine="For Each k As String In RESULT.Columns.Keys";
|
||||
{
|
||||
final anywheresoftware.b4a.BA.IterableList group30 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys();
|
||||
@@ -2793,7 +2793,7 @@ final int groupLen30 = group30.getSize()
|
||||
for (; index30 < groupLen30;index30++){
|
||||
_k = BA.ObjectToString(group30.Get(index30));
|
||||
//BA.debugLineNum = 1179;BA.debugLine="Log(RESULT.Tag & \": \" & k & \": \" & records(R";
|
||||
__c.LogImpl("52818082",BA.ObjectToString(_result.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
|
||||
__c.LogImpl("22555938",BA.ObjectToString(_result.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -2816,11 +2816,11 @@ _n = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywhe
|
||||
}
|
||||
};
|
||||
//BA.debugLineNum = 1188;BA.debugLine="LogColor(\"**************************\"&n, Color";
|
||||
__c.LogImpl("52818091","**************************"+_n,__c.Colors.Green);
|
||||
__c.LogImpl("22555947","**************************"+_n,__c.Colors.Green);
|
||||
//BA.debugLineNum = 1189;BA.debugLine="If n = \"OKActivo\" Then";
|
||||
if ((_n).equals("OKActivo")) {
|
||||
//BA.debugLineNum = 1190;BA.debugLine="Log(\"Usuario guardado en BD es 'Valido'\")";
|
||||
__c.LogImpl("52818093","Usuario guardado en BD es 'Valido'",0);
|
||||
__c.LogImpl("22555949","Usuario guardado en BD es 'Valido'",0);
|
||||
}else if((_n).equals("OKExpirado")) {
|
||||
//BA.debugLineNum = 1192;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administra";
|
||||
__c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba);
|
||||
@@ -2838,7 +2838,7 @@ __c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToC
|
||||
_b4xpages._showpage /*String*/ (ba,"B4XMainPage");
|
||||
};
|
||||
//BA.debugLineNum = 1201;BA.debugLine="Log(\"***************** \"&n)";
|
||||
__c.LogImpl("52818104","***************** "+_n,0);
|
||||
__c.LogImpl("22555960","***************** "+_n,0);
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 1205;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
|
||||
@@ -3003,7 +3003,7 @@ _records = (Object[])(group130.Get(index130));
|
||||
//BA.debugLineNum = 1287;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 = 1288;BA.debugLine="Log(piezasexiste)";
|
||||
__c.LogImpl("52818191",BA.NumberToString(_piezasexiste),0);
|
||||
__c.LogImpl("22556047",BA.NumberToString(_piezasexiste),0);
|
||||
//BA.debugLineNum = 1289;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
|
||||
__c.DateTime.setDateFormat("MM/dd/yyyy");
|
||||
//BA.debugLineNum = 1290;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
|
||||
@@ -3647,7 +3647,7 @@ _cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_resu
|
||||
//BA.debugLineNum = 1753;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
|
||||
_cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))]));
|
||||
//BA.debugLineNum = 1754;BA.debugLine="Log(\"XXXXXXXX gunaprodps XXXXXXXX \" & record";
|
||||
__c.LogImpl("52818657","XXXXXXXX gunaprodps XXXXXXXX "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))])+"|"+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]),0);
|
||||
__c.LogImpl("22556513","XXXXXXXX gunaprodps XXXXXXXX "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))])+"|"+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]),0);
|
||||
//BA.debugLineNum = 1755;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
|
||||
_b4xpages._mainpage /*medicomed.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod)}));
|
||||
//BA.debugLineNum = 1756;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
|
||||
@@ -3661,7 +3661,7 @@ _pb2.setProgress((int) (30));
|
||||
//BA.debugLineNum = 1760;BA.debugLine="S_CP.Text = \"CARGANDO\"";
|
||||
_s_cp.setText(BA.ObjectToCharSequence("CARGANDO"));
|
||||
//BA.debugLineNum = 1761;BA.debugLine="Log(\"C4\")";
|
||||
__c.LogImpl("52818664","C4",0);
|
||||
__c.LogImpl("22556520","C4",0);
|
||||
}else if(_pb2.getProgress()==30) {
|
||||
//BA.debugLineNum = 1763;BA.debugLine="PB2.Progress = 60";
|
||||
_pb2.setProgress((int) (60));
|
||||
@@ -3671,7 +3671,7 @@ _pb2.setProgress((int) (100));
|
||||
//BA.debugLineNum = 1766;BA.debugLine="S_CP.Text = \"LISTO\"";
|
||||
_s_cp.setText(BA.ObjectToCharSequence("LISTO"));
|
||||
//BA.debugLineNum = 1767;BA.debugLine="Log(\"3\")";
|
||||
__c.LogImpl("52818670","3",0);
|
||||
__c.LogImpl("22556526","3",0);
|
||||
};
|
||||
//BA.debugLineNum = 1769;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag";
|
||||
if ((_starter._marcacel /*String*/ ).equals("Sony") == false) {
|
||||
@@ -3992,7 +3992,7 @@ _pb2.setProgress((int) (100));
|
||||
//BA.debugLineNum = 1936;BA.debugLine="S_CP.Text = \"REVISANDO ...\"";
|
||||
_s_cp.setText(BA.ObjectToCharSequence("REVISANDO ..."));
|
||||
//BA.debugLineNum = 1937;BA.debugLine="Log(\"5\")";
|
||||
__c.LogImpl("52818840","5",0);
|
||||
__c.LogImpl("22556696","5",0);
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 1941;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
|
||||
@@ -4046,9 +4046,9 @@ _result = _reqmanager._handlejob /*medicomed.keymon.com.mx.dbrequestmanager._dbr
|
||||
//BA.debugLineNum = 1963;BA.debugLine="If RESULT.Tag = \"ruta\" Then 'query tag";
|
||||
if ((_result.Tag /*Object*/ ).equals((Object)("ruta"))) {
|
||||
//BA.debugLineNum = 1964;BA.debugLine="Log(\"JOBDONE PRINCIPAL RUTA\")";
|
||||
__c.LogImpl("52818867","JOBDONE PRINCIPAL RUTA",0);
|
||||
__c.LogImpl("22556723","JOBDONE PRINCIPAL RUTA",0);
|
||||
//BA.debugLineNum = 1965;BA.debugLine="Log(RESULT.Rows.Size)";
|
||||
__c.LogImpl("52818868",BA.NumberToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0);
|
||||
__c.LogImpl("22556724",BA.NumberToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0);
|
||||
//BA.debugLineNum = 1966;BA.debugLine="For Each records() As Object In RESULT.Rows";
|
||||
{
|
||||
final anywheresoftware.b4a.BA.IterableList group626 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
|
||||
@@ -4060,7 +4060,7 @@ _records = (Object[])(group626.Get(index626));
|
||||
//BA.debugLineNum = 1967;BA.debugLine="Dim VALIDO As String = records(RESULT.Columns";
|
||||
_valido = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("VALIDO"))))]);
|
||||
//BA.debugLineNum = 1968;BA.debugLine="Log(\"|\"&VALIDO)";
|
||||
__c.LogImpl("52818871","|"+_valido,0);
|
||||
__c.LogImpl("22556727","|"+_valido,0);
|
||||
//BA.debugLineNum = 1969;BA.debugLine="If VALIDO = \"OK\" Then";
|
||||
if ((_valido).equals("OK")) {
|
||||
//BA.debugLineNum = 1970;BA.debugLine="cargar.Visible = True";
|
||||
@@ -4184,7 +4184,7 @@ _result = _reqmanager._handlejob /*medicomed.keymon.com.mx.dbrequestmanager._dbr
|
||||
//BA.debugLineNum = 2057;BA.debugLine="If RESULT.Tag = \"test\" Then 'query tag";
|
||||
if ((_result.Tag /*Object*/ ).equals((Object)("test"))) {
|
||||
//BA.debugLineNum = 2058;BA.debugLine="Log(\">>>>>>>>>>>>> TEST\")";
|
||||
__c.LogImpl("52818961",">>>>>>>>>>>>> TEST",0);
|
||||
__c.LogImpl("22556817",">>>>>>>>>>>>> TEST",0);
|
||||
//BA.debugLineNum = 2059;BA.debugLine="Subs.logJobDoneResultados(RESULT)";
|
||||
_subs._logjobdoneresultados /*String*/ (ba,_result);
|
||||
};
|
||||
@@ -4193,7 +4193,7 @@ _result = _reqmanager._handlejob /*medicomed.keymon.com.mx.dbrequestmanager._dbr
|
||||
//BA.debugLineNum = 2063;BA.debugLine="If RESULT.Tag = \"clientes_cuestionario\" Then";
|
||||
if ((_result.Tag /*Object*/ ).equals((Object)("clientes_cuestionario"))) {
|
||||
//BA.debugLineNum = 2064;BA.debugLine="Log(\"Entramos a clientes_cuestionario - Regs:\"";
|
||||
__c.LogImpl("52818967","Entramos a clientes_cuestionario - Regs:"+BA.NumberToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0);
|
||||
__c.LogImpl("22556823","Entramos a clientes_cuestionario - Regs:"+BA.NumberToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0);
|
||||
//BA.debugLineNum = 2065;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_CUE";
|
||||
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_CUESTIONARIO");
|
||||
//BA.debugLineNum = 2066;BA.debugLine="For Each records() As Object In RESULT.Rows";
|
||||
@@ -4591,7 +4591,7 @@ _d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
|
||||
//BA.debugLineNum = 2575;BA.debugLine="d.Position = 0";
|
||||
_d.setPosition((int) (0));
|
||||
//BA.debugLineNum = 2582;BA.debugLine="Log(\"|\"&d.GetString(\"MONTO_DIA\")&\"|\")";
|
||||
__c.LogImpl("53801223","|"+_d.GetString("MONTO_DIA")+"|",0);
|
||||
__c.LogImpl("23539079","|"+_d.GetString("MONTO_DIA")+"|",0);
|
||||
//BA.debugLineNum = 2584;BA.debugLine="L_PRIO.Text = d.GetString(\"MONTO_DIA\")";
|
||||
_l_prio.setText(BA.ObjectToCharSequence(_d.GetString("MONTO_DIA")));
|
||||
//BA.debugLineNum = 2585;BA.debugLine="d.Close";
|
||||
@@ -4840,7 +4840,7 @@ _cmd.Name /*String*/ = "insert_clientesnuevos_MEDI_V2";
|
||||
//BA.debugLineNum = 694;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"";
|
||||
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CN_ID")),(Object)(_c.GetString("CN_FECHA")),(Object)(_c.GetString("CN_USER")),(Object)(_c.GetString("CN_LAT")),(Object)(_c.GetString("CN_LON")),(Object)(_c.GetString("CN_NOMBRE")),(Object)(_c.GetString("CN_DIRECCION")),(Object)(_almacen),(Object)(_c.GetString("CN_RUTA")),(Object)("En espera"),(Object)(_c.GetString("CN_GIRO")),(Object)(_dialetra),(Object)(_c.GetString("CN_SOLICITA")),(Object)(_c.GetString("CN_COLONIA")),(Object)(_c.GetString("CN_TELEFONO")),(Object)(_c.GetString("CN_REFERENCIA")),(Object)(_c.GetString("CN_HR_INICIO")),(Object)(_c.GetString("CN_HR_FIN"))};
|
||||
//BA.debugLineNum = 695;BA.debugLine="Log($\"CN_ID: ${c.GetString(\"CN_ID\")}, FECHA: $";
|
||||
__c.LogImpl("52687106",("CN_ID: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_ID")))+", FECHA: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_FECHA")))+", Usuario: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_USER")))+", Latitud: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_LAT")))+", Longitud: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_LON")))+", Nombre_ "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_NOMBRE")))+", Direccion: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_DIRECCION")))+", Almacen: "+__c.SmartStringFormatter("",(Object)(_almacen))+", Ruta: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_RUTA")))+", En espera, Giro: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_GIRO")))+", DiaLetra: "+__c.SmartStringFormatter("",(Object)(_dialetra))+", Solicita: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_SOLICITA")))+", Colonia: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_COLONIA")))+", Telefono: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_TELEFONO")))+", Referencia: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_REFERENCIA")))+", HrInicio: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_HR_INICIO")))+", HrFinal: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_HR_FIN")))+""),0);
|
||||
__c.LogImpl("22424962",("CN_ID: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_ID")))+", FECHA: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_FECHA")))+", Usuario: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_USER")))+", Latitud: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_LAT")))+", Longitud: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_LON")))+", Nombre_ "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_NOMBRE")))+", Direccion: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_DIRECCION")))+", Almacen: "+__c.SmartStringFormatter("",(Object)(_almacen))+", Ruta: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_RUTA")))+", En espera, Giro: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_GIRO")))+", DiaLetra: "+__c.SmartStringFormatter("",(Object)(_dialetra))+", Solicita: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_SOLICITA")))+", Colonia: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_COLONIA")))+", Telefono: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_TELEFONO")))+", Referencia: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_REFERENCIA")))+", HrInicio: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_HR_INICIO")))+", HrFinal: "+__c.SmartStringFormatter("",(Object)(_c.GetString("CN_HR_FIN")))+""),0);
|
||||
//BA.debugLineNum = 696;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_clientes";
|
||||
_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_clientesn"));
|
||||
}
|
||||
@@ -4881,7 +4881,7 @@ _cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PC_CLIENTE")
|
||||
//BA.debugLineNum = 728;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedidos\")";
|
||||
_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_pedidos"));
|
||||
//BA.debugLineNum = 729;BA.debugLine="Log(\">>>>>> INSERT PEDIDO_CLIENTE\")";
|
||||
__c.LogImpl("52687140",">>>>>> INSERT PEDIDO_CLIENTE",0);
|
||||
__c.LogImpl("22424996",">>>>>> INSERT PEDIDO_CLIENTE",0);
|
||||
}
|
||||
};
|
||||
};
|
||||
@@ -4914,7 +4914,7 @@ _cmd.Initialize();
|
||||
//BA.debugLineNum = 745;BA.debugLine="cmd.Name = \"insert_pedido_MEDI_V2\" 'CON TOTALE";
|
||||
_cmd.Name /*String*/ = "insert_pedido_MEDI_V2";
|
||||
//BA.debugLineNum = 746;BA.debugLine="Log(c.GetString(\"PE_CEDIS\")&\", \"&ALMACEN&\", \"&";
|
||||
__c.LogImpl("52687157",_c.GetString("PE_CEDIS")+", "+_almacen+", "+_c.GetString("PE_COSTO_TOT")+", "+_c.GetString("PE_COSTOU")+", "+_c.GetString("PE_CANT")+", "+_c.GetString("PE_PRONOMBRE")+", "+_c.GetString("PE_PROID")+", "+_c.GetString("PE_CLIENTE")+", "+_c.GetString("PE_FECHA")+", "+_c.GetString("PE_USUARIO")+", "+_subs._traeruta2 /*String*/ (ba,_c.GetString("PE_CLIENTE"))+", "+_c.GetString("PE_COSTO_SIN")+", "+_c.GetString("PE_DESC")+", "+_c.GetString("PE_FOLIO")+", "+_almacen,0);
|
||||
__c.LogImpl("22425013",_c.GetString("PE_CEDIS")+", "+_almacen+", "+_c.GetString("PE_COSTO_TOT")+", "+_c.GetString("PE_COSTOU")+", "+_c.GetString("PE_CANT")+", "+_c.GetString("PE_PRONOMBRE")+", "+_c.GetString("PE_PROID")+", "+_c.GetString("PE_CLIENTE")+", "+_c.GetString("PE_FECHA")+", "+_c.GetString("PE_USUARIO")+", "+_subs._traeruta2 /*String*/ (ba,_c.GetString("PE_CLIENTE"))+", "+_c.GetString("PE_COSTO_SIN")+", "+_c.GetString("PE_DESC")+", "+_c.GetString("PE_FOLIO")+", "+_almacen,0);
|
||||
//BA.debugLineNum = 747;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"";
|
||||
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_COSTO_TOT")),(Object)(_c.GetString("PE_COSTOU")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("PE_CLIENTE"))),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO")),(Object)(_c.GetString("PE_CANTC")),(Object)(_c.GetString("PE_BCAJAS")),(Object)(_c.GetString("PE_IMPRESO"))};
|
||||
//BA.debugLineNum = 748;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP";
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -84,10 +84,10 @@ 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.mapa_cliente _mapa_cliente = 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("522020124","|"+_tpi+"|"+_p,0);};
|
||||
__c.LogImpl("263897628","|"+_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("522872066","====================================================================",0);
|
||||
__c.LogImpl("264749570","====================================================================",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("522282251",BA.ObjectToString(_estetag),0);
|
||||
__c.LogImpl("264159755",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("522741001",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(_et_promocant.getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(_tpf))+", "),0);
|
||||
__c.LogImpl("264618505",("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("522675466",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(_et_promocant.getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(_tpf))+", "),0);
|
||||
__c.LogImpl("264552970",("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("522806530","====================================================================",0);
|
||||
__c.LogImpl("264684034","====================================================================",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("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);};
|
||||
__c.LogImpl("264421903",(""+__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("522544418",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant1.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(_totalcompra))+""),0);};
|
||||
__c.LogImpl("264421922",("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("522544438",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant2.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(_totalcompra))+""),0);};
|
||||
__c.LogImpl("264421942",("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("522544447",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0);};
|
||||
__c.LogImpl("264421951",("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("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);};
|
||||
__c.LogImpl("264421963",(""+__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("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);};
|
||||
__c.LogImpl("264421964",(""+__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("522609921","focus changed",__c.Colors.Magenta);
|
||||
__c.LogImpl("264487425","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("521954569","Max promos por inv de prods FIJOS: "+BA.NumberToString(_subs._revisamaxpromosprodsfijosporinventario /*int*/ (ba,_mp)),0);};
|
||||
__c.LogImpl("263832073","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("521954570","Max promos por inv de prods VARIABLES: "+BA.NumberToString(_subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp)),0);};
|
||||
__c.LogImpl("263832074","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("521954576",BA.ObjectToString(_mp),0);};
|
||||
__c.LogImpl("263832080",BA.ObjectToString(_mp),0);};
|
||||
//BA.debugLineNum = 101;BA.debugLine="If thisLog Then Log(prodsPromo)";
|
||||
if (_thislog) {
|
||||
__c.LogImpl("521954577",BA.ObjectToString(_prodspromo),0);};
|
||||
__c.LogImpl("263832081",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("521954592",BA.ObjectToString(_mp),0);};
|
||||
__c.LogImpl("263832096",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("521954622","Total prods fijos = "+BA.NumberToString(_prodsfijostot),0);};
|
||||
__c.LogImpl("263832126","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("521954631",("PV1: "+__c.SmartStringFormatter("",(Object)(_pv.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv.getObject()))+""),0);};
|
||||
__c.LogImpl("263832135",("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("521954632",("PV2: "+__c.SmartStringFormatter("",(Object)(_pv2.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv2.getObject()))+""),0);};
|
||||
__c.LogImpl("263832136",("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("521954633","invDisp="+BA.ObjectToString(_invdisppromo),0);};
|
||||
__c.LogImpl("263832137","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("521954646",BA.ObjectToString(_thisprod),0);};
|
||||
__c.LogImpl("263832150",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("521954665",BA.ObjectToString(_thisprod),0);};
|
||||
__c.LogImpl("263832169",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));
|
||||
};
|
||||
|
||||
@@ -36,10 +36,10 @@ 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.mapa_cliente _mapa_cliente = 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("523461894",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
|
||||
__c.LogImpl("265339398",("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("523461894",("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("523461899",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
|
||||
__c.LogImpl("265339403",("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("523461901",BA.ObjectToString(__c.LastException(ba)),0);
|
||||
__c.LogImpl("265339405",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("523527430",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
|
||||
__c.LogImpl("265404934",("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("523527430",("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("523527435",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
|
||||
__c.LogImpl("265404939",("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("523527437",BA.ObjectToString(__c.LastException(ba)),0);
|
||||
__c.LogImpl("265404941",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("523003166",("Columna \"pe_envio_ok INT\", agregada a \"pedidos}\"."),0);
|
||||
__c.LogImpl("264880670",("Columna \"pe_envio_ok INT\", agregada a \"pedidos}\"."),0);
|
||||
};
|
||||
}
|
||||
catch (Exception e27) {
|
||||
@@ -197,11 +197,11 @@ __c.LogImpl("523003166",("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("523003171",("Columna \"pe_envio_ok INT\", agregada a \"pedidos\".."),0);
|
||||
__c.LogImpl("264880675",("Columna \"pe_envio_ok INT\", agregada a \"pedidos\".."),0);
|
||||
}
|
||||
catch (Exception e31) {
|
||||
ba.setLastException(e31); //BA.debugLineNum = 49;BA.debugLine="Log(LastException)";
|
||||
__c.LogImpl("523003173",BA.ObjectToString(__c.LastException(ba)),0);
|
||||
__c.LogImpl("264880677",BA.ObjectToString(__c.LastException(ba)),0);
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 52;BA.debugLine="rkmt.ExecNonQuery($\"create table if not exists in";
|
||||
|
||||
@@ -41,10 +41,10 @@ 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.mapa_cliente _mapa_cliente = 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("525755654",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
|
||||
__c.LogImpl("267633158",("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("525755654",("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("525755659",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
|
||||
__c.LogImpl("267633163",("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("525755661",BA.ObjectToString(__c.LastException(getActivityBA())),0);
|
||||
__c.LogImpl("267633165",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("524838145","Borramos BD de log",__c.Colors.Magenta);
|
||||
__c.LogImpl("266715649","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("525034777","rootExternal="+_p,0);
|
||||
__c.LogImpl("266912281","rootExternal="+_p,0);
|
||||
//BA.debugLineNum = 333;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
|
||||
__c.LogImpl("525034778","File.DirInternal="+__c.File.getDirInternal(),0);
|
||||
__c.LogImpl("266912282","File.DirInternal="+__c.File.getDirInternal(),0);
|
||||
//BA.debugLineNum = 334;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
|
||||
__c.LogImpl("525034779","File.DirInternal="+__c.File.getDirInternal(),0);
|
||||
__c.LogImpl("266912283","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("524576005","Hoy="+_h,0);
|
||||
__c.LogImpl("266453509","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("524903692","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0);
|
||||
__c.LogImpl("266781196","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("524903696",BA.ObjectToString(__c.LastException(getActivityBA())),0);
|
||||
__c.LogImpl("266781200",BA.ObjectToString(__c.LastException(getActivityBA())),0);
|
||||
//BA.debugLineNum = 292;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p";
|
||||
__c.LogImpl("524903697",("Fecha dada: "+__c.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+__c.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+__c.SmartStringFormatter("",(Object)(_partehora))+""),__c.Colors.Red);
|
||||
__c.LogImpl("266781201",("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("524379393","Guardamos ubicacion en BD - "+_coords,0);
|
||||
__c.LogImpl("266256897","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("524379397","LatLon="+BA.ObjectToString(_latlon),0);};
|
||||
__c.LogImpl("266256901","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("524379400",BA.ObjectToString(__c.LastException(getActivityBA())),__c.Colors.Red);
|
||||
__c.LogImpl("266256904",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("525690116",("Copiamos "+__c.SmartStringFormatter("",(Object)(_bdname))+" de "+__c.SmartStringFormatter("",(Object)(__c.File.getDirAssets()))+" a "+__c.SmartStringFormatter("",(Object)(_ruta))+""),__c.Colors.Green);
|
||||
__c.LogImpl("267567620",("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("524117249","C_SUBS JOBDONE - "+BA.ObjectToString(_job._success /*boolean*/ ),__c.Colors.Red);
|
||||
__c.LogImpl("265994753","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("524117251",("Error en el request "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),0);
|
||||
__c.LogImpl("265994755",("Error en el request "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),0);
|
||||
//BA.debugLineNum = 82;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro";
|
||||
__c.LogImpl("524117252","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red);
|
||||
__c.LogImpl("265994756","** "+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("524117262",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("265994766",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("524117262",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+":
|
||||
};
|
||||
};
|
||||
//BA.debugLineNum = 98;BA.debugLine="Log(reqsList.Size)";
|
||||
__c.LogImpl("524117268",BA.NumberToString(_reqslist.getSize()),0);
|
||||
__c.LogImpl("265994772",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("524117270",BA.ObjectToString(_reqerror),0);
|
||||
__c.LogImpl("265994774",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("524117277","-= FIN =-",0);
|
||||
__c.LogImpl("265994781","-= 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("524641537",_fechakmt(BA.NumberToString(__c.DateTime.getNow()))+" - log2BD: '"+_texto+"'",__c.Colors.LightGray);
|
||||
__c.LogImpl("266519041",_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("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)));
|
||||
__c.LogImpl("267502082",("====== "+__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("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)));
|
||||
__c.LogImpl("267502084",_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("524772619",BA.ObjectToString(__c.LastException(getActivityBA())),0);
|
||||
__c.LogImpl("266650123",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("523855107",("Inicializamos reqManager con "+__c.SmartStringFormatter("",(Object)(_traedbreqserverdebd(_db)))+""),0);
|
||||
__c.LogImpl("265732611",("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("523920641","reqManager ReInit",0);
|
||||
__c.LogImpl("265798145","reqManager ReInit",0);
|
||||
//BA.debugLineNum = 55;BA.debugLine="reqManager = reqManagerInit";
|
||||
_reqmanager = _reqmanagerinit();
|
||||
//BA.debugLineNum = 56;BA.debugLine="End Sub";
|
||||
|
||||
@@ -39,10 +39,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -31,10 +31,10 @@ 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.mapa_cliente _mapa_cliente = 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("527197450","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0);
|
||||
parent.__c.LogImpl("269074954","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0);
|
||||
if (true) break;
|
||||
if (true) break;
|
||||
;
|
||||
|
||||
@@ -65,10 +65,10 @@ 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.mapa_cliente _mapa_cliente = 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("942991617","---- AppUpdating.DownloadApk",parent._logcolor1);
|
||||
parent.__c.LogImpl("919922945","---- 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("942991621",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
|
||||
parent.__c.LogImpl("919922949",(""+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("942991632",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
|
||||
parent.__c.LogImpl("919922960",("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("942991639",("Copy2 (saving) ok? TRUE"),0);
|
||||
parent.__c.LogImpl("919922967",("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("942991641",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
|
||||
parent.__c.LogImpl("919922969",(""+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("942991643",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
|
||||
parent.__c.LogImpl("919922971",(""+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("942991645",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
|
||||
parent.__c.LogImpl("919922973",(""+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("942008597",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(_sharedfolder))+""),0);
|
||||
__c.LogImpl("918939925",("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("943057153","---- AppUpdating.InstallApk",_logcolor1);
|
||||
__c.LogImpl("919988481","---- 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("943057157",__c.TAB+"user asked to install new apk",0);};
|
||||
__c.LogImpl("919988485",__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("943057160",__c.TAB+"no permissions from user to install new apk",0);};
|
||||
__c.LogImpl("919988488",__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("943319300",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);};
|
||||
__c.LogImpl("920250628",(""+__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("943319305",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(_curver))+""),0);};
|
||||
__c.LogImpl("920250633",(""+__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("943384833","IsValidComplete start",0);
|
||||
parent.__c.LogImpl("920316161","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("943384837",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0);
|
||||
parent.__c.LogImpl("920316165",(""+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("943384845","before",0);
|
||||
parent.__c.LogImpl("920316173","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("943384847","after",0);
|
||||
parent.__c.LogImpl("920316175","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("943384849",("Webserver's info file content: "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_j._getstring /*String*/ ()))+""),0);
|
||||
parent.__c.LogImpl("920316177",("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("943384856",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0);
|
||||
parent.__c.LogImpl("920316184",(""+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("943384859",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(parent._webver))+""),0);
|
||||
parent.__c.LogImpl("920316187",(""+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("943384863",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0);
|
||||
parent.__c.LogImpl("920316191",(""+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("943384866",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
|
||||
parent.__c.LogImpl("920316194",(""+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("943384868",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
|
||||
parent.__c.LogImpl("920316196",(""+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("942860545","---- AppUpdating.ReadCurVN",_logcolor1);
|
||||
__c.LogImpl("919791873","---- 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("942926081","---- AppUpdating.ReadWebVN",parent._logcolor1);
|
||||
parent.__c.LogImpl("919857409","---- 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("943188225",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),parent._logcolor1);
|
||||
parent.__c.LogImpl("920119553",(""+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("943188235",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
|
||||
parent.__c.LogImpl("920119563",("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("943188243",("Copy2 (saving) ok? TRUE"),0);
|
||||
parent.__c.LogImpl("920119571",("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("943188245",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
|
||||
parent.__c.LogImpl("920119573",(""+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("943188247",("Copy2 (saving) ok? FALSE"),0);
|
||||
parent.__c.LogImpl("920119575",("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("943188249",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0);
|
||||
parent.__c.LogImpl("920119577",(""+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("943188253",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
|
||||
parent.__c.LogImpl("920119581",(""+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("943188255",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
|
||||
parent.__c.LogImpl("920119583",(""+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("943188262",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0);
|
||||
parent.__c.LogImpl("920119590",(""+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("943122689","---- AppUpdating.UpdateApk",parent._logcolor1);
|
||||
parent.__c.LogImpl("920054017","---- 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("943122692",parent.__c.TAB+"no permissions from user to install new apk",0);
|
||||
parent.__c.LogImpl("920054020",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("943122702",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0);
|
||||
parent.__c.LogImpl("920054030",(""+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("943122707",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0);
|
||||
parent.__c.LogImpl("920054035",(""+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("943122710",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
|
||||
parent.__c.LogImpl("920054038",(""+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("943122715",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0);
|
||||
parent.__c.LogImpl("920054043",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0);
|
||||
if (true) break;
|
||||
|
||||
case 58:
|
||||
|
||||
@@ -45,10 +45,10 @@ 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.mapa_cliente _mapa_cliente = 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("528311564","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.RGB((int) (171),(int) (70),(int) (0)));};
|
||||
__c.LogImpl("270189068","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("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);
|
||||
__c.LogImpl("270451201","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("528573703",_sb.ToString(),0);
|
||||
__c.LogImpl("270451207",_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*/ ;
|
||||
|
||||
@@ -63,10 +63,10 @@ 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.mapa_cliente _mapa_cliente = 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("532112644","Data "+BA.NumberToString(_buffer[(int) (0)]),0);
|
||||
__c.LogImpl("273990148","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("528966945","aqui 5",0);
|
||||
__c.LogImpl("270844449","aqui 5",0);
|
||||
};
|
||||
}
|
||||
catch (Exception e27) {
|
||||
ba.setLastException(e27); //BA.debugLineNum = 136;BA.debugLine="Log(LastException)";
|
||||
__c.LogImpl("528966948",BA.ObjectToString(__c.LastException(getActivityBA())),0);
|
||||
__c.LogImpl("270844452",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("530277674","Triangle "+_logmsg,0);
|
||||
__c.LogImpl("272155178","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("530277677","Circle "+_logmsg,0);
|
||||
__c.LogImpl("272155181","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("530277680","Box "+_logmsg,0);
|
||||
__c.LogImpl("272155184","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("530277683","Line "+_logmsg,0);
|
||||
__c.LogImpl("272155187","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("531916035","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0);
|
||||
__c.LogImpl("273793539","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("531981572","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0);
|
||||
__c.LogImpl("273859076","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("530015494","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0);
|
||||
__c.LogImpl("271892998","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0);
|
||||
//BA.debugLineNum = 306;BA.debugLine="AStream_Error";
|
||||
_astream_error();
|
||||
};
|
||||
|
||||
@@ -31,10 +31,10 @@ 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.mapa_cliente _mapa_cliente = 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("532702485","error extracting information from file provider",0);
|
||||
__c.LogImpl("274579989","error extracting information from file provider",0);
|
||||
//BA.debugLineNum = 92;BA.debugLine="Log(LastException)";
|
||||
__c.LogImpl("532702486",BA.ObjectToString(__c.LastException(getActivityBA())),0);
|
||||
__c.LogImpl("274579990",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("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);
|
||||
parent.__c.LogImpl("274383365",("***************************"+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("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);
|
||||
parent.__c.LogImpl("274383367",("***************************"+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;
|
||||
|
||||
|
||||
@@ -32,10 +32,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -41,10 +41,10 @@ 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.mapa_cliente _mapa_cliente = 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("955312389",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("932243717",("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("955377925",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("932309253",("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("955115781",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("932047109",("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("955181317",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("932112645",("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("954853637",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("931784965",("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("954788108",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("931719436",("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("954525957",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("931457285",("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("955050248","Cannot send files from the assets folder.",0);
|
||||
__c.LogImpl("931981576","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("954657029",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
__c.LogImpl("931588357",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
|
||||
//BA.debugLineNum = 86;BA.debugLine="req.InitializePut2(InvalidURL, Data)";
|
||||
_req.InitializePut2(_invalidurl,_data);
|
||||
};
|
||||
|
||||
@@ -53,10 +53,10 @@ 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.mapa_cliente _mapa_cliente = 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("554198278","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("231129606","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("554132738",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("231064066",("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("554132743","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("231064071","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("554001667","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("230932995","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("553673991",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("230605319",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0);
|
||||
//BA.debugLineNum = 35;BA.debugLine="Log(\"Switching to File.DirInternal\")";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("553673992","Switching to File.DirInternal",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("230605320","Switching to File.DirInternal",0);
|
||||
//BA.debugLineNum = 36;BA.debugLine="TempFolder = File.DirInternal";
|
||||
_tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternal();
|
||||
};
|
||||
|
||||
@@ -34,10 +34,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -341,10 +341,10 @@ public b4a.example.dateutils _dateutils = 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.mapa_cliente _mapa_cliente = 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;
|
||||
@@ -430,10 +430,10 @@ main._process_globals();
|
||||
starter._process_globals();
|
||||
appupdater._process_globals();
|
||||
mapa_rutas._process_globals();
|
||||
subs._process_globals();
|
||||
mapa_cliente._process_globals();
|
||||
notificationservice._process_globals();
|
||||
pendientes._process_globals();
|
||||
subs._process_globals();
|
||||
tracker._process_globals();
|
||||
newinst2._process_globals();
|
||||
b4xpages._process_globals();
|
||||
|
||||
@@ -32,10 +32,10 @@ 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.mapa_cliente _mapa_cliente = 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("533226753","Calling : "+_meventname+"_StorageAvailable",0);
|
||||
__c.LogImpl("275104257","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";
|
||||
|
||||
@@ -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("534013185","Pressed",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("275890689","Pressed",0);
|
||||
//BA.debugLineNum = 122;BA.debugLine="Activity.Finish";
|
||||
mostCurrent._activity.Finish();
|
||||
//BA.debugLineNum = 123;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
|
||||
|
||||
@@ -384,10 +384,10 @@ public b4a.example.dateutils _dateutils = null;
|
||||
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.subs _subs = null;
|
||||
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = 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("511468816","Start Tracker",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("211206672","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("511599873","ENTRANDO MapFragment1_Ready",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("211337729","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("511599891",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("211337747",("============== 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("511599898",parent._c.GetString("CAT_CL_CODIGO")+" "+parent._c.GetString("CAT_CL_LAT"),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("211337754",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("511599917",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c2.getRowCount()))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("211337773",("============== 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("511599934",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c2.getRowCount()))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("211337790",("============== 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("511599954",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c3.getRowCount()))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("211337810",("============== 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("511599969",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c3.getRowCount()))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("211337825",("============== 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;
|
||||
|
||||
|
||||
@@ -144,10 +144,10 @@ 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.mapa_cliente _mapa_cliente = 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("544630017","-- AppUpdating.NewInst2: processing MyAppReload",0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("221561345","-- 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("544367873","---- AppUpdating.newinst2: service created",_logcolor1);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("221299201","---- 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("544433409","---- AppUpdating.newinst2: service_started",_logcolor1);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("221364737","---- 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("544433411",(""+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("221364739",(""+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("544433412",(""+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("221364740",(""+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("544433413",(""+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("221364741",(""+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("544433414",(""+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("221364742",(""+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("544433417",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("221364745",(""+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("544433419",(""+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("221364747",(""+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();
|
||||
};
|
||||
|
||||
@@ -143,9 +143,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.mapa_cliente _mapa_cliente = 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("534340867",_sbn.getPackageName(),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("276218371",_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("534340868","isGroupWA2: "+BA.ObjectToString(_isgroupwa(_sbn)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("276218372","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("534340869","isPersonWA: "+BA.ObjectToString(_ispersonwa(_sbn)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("276218373","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("534340870",("getGroupName: |"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_getgroupname(_sbn.getTitle())))+"|"),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("276218374",("getGroupName: |"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_getgroupname(_sbn.getTitle())))+"|"),0);
|
||||
if (true) break;
|
||||
|
||||
case 27:
|
||||
|
||||
@@ -16,9 +16,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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -49,10 +49,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -50,10 +50,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -41,10 +41,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -164,10 +164,10 @@ public b4a.example.dateutils _dateutils = null;
|
||||
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.subs _subs = null;
|
||||
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = 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("5720897","BT state changed: "+BA.NumberToString(_newstate),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("2458753","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("51114114","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("2851970","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("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);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("2851980",("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("51310725",_srv,anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("21048581",_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("5786438",("Starter - |"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_dbreqserver))+"|"),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("2524294",("Starter - |"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_dbreqserver))+"|"),0);
|
||||
//BA.debugLineNum = 71;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -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("538469633","Entramos a actualiza producto",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("258720257","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("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);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("258720260",("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("538469638","----->1<--------------",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("258720262","----->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("538469650","BORRAMOS PROD",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("258720274","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("538469657","----->2<--------------",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("258720281","----->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("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);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("258851331",("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("538600720","BORRAMOS PROD",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("258851344","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("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);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("260489739",("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("540239117",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("260489741",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("539190530","Inventario inicial: "+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Gray);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259441154","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("539190544",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259441168",("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("539190552",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259441176",("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("539190555","Total prods variables="+BA.NumberToString(_totalprodsvariables)+", requeridos="+BA.ObjectToString(_promomap.Get((Object)("prodsVariablesRequeridos"))),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259441179","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("539190556","Total prods variables2="+BA.NumberToString(_totalprodsvariables2)+", requeridos2="+BA.ObjectToString(_promomap.Get((Object)("prodsVariables2Requeridos"))),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259441180","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("539190572",BA.ObjectToString(_res1)+" ________________________"+BA.ObjectToString(_res2),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259441196",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("536831234","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257081858","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("536831237","Borramos mas de 100 de errorLog",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257081861","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("536896770","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257147394","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("536896773","Borramos mas de 600 de bitacora",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257147397","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("536634625","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256885249","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("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);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("260227607",("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("535389446",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("255640070",("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("537224473","rootExternal="+_p,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257475097","rootExternal="+_p,0);
|
||||
//BA.debugLineNum = 582;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("537224474","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257475098","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
|
||||
//BA.debugLineNum = 583;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("537224475","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257475099","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("537027841","dameErroresJSON",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257278465","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("537027861",_j.ToString(),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257278485",_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("535848203","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256098827","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("535848206","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256098830","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("535454981",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("255705605",("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("536372485","Hoy="+_h,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256623109","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("537093388","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257344012","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("537093392",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257344016",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("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);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257344017",("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("535782657","Guardamos ubicacion en BD - "+_coords,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256033281","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("535782661","LatLon="+BA.ObjectToString(_latlon),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256033285","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("535782664",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256033288",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("536962306","insertamos 50 renglones a errorLog",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257212930","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("536962309",BA.NumberToString(_x),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257212933",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("536241415",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256492039",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("536438017",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.LightGray);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256688641",_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("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)));
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("260555266",("====== "+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("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)));
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("260555268",_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("536569099",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256819723",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("535586055","notiHigh: "+_title,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("255836679","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("535651587","notiLowReturn: "+_title,0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("255902211","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("539387139",("********* Iniciamos revision de Promo "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idpromo))+" *********"),anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259637763",("********* 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("539387142",BA.ObjectToString(_pm),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259637766",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("539387145",("Promociones permitidas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traemaxpromos(_ba,_pm)))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259637769",("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("539387146","Promos vendidas: "+BA.NumberToString(_traepromosvendidas(_ba,_idpromo,_cliente)),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259637770","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("539387148","Ya se vendieron las promos PERMITIDAS para el cliente",anywheresoftware.b4a.keywords.Common.Colors.Red);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259637772","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("539387153","inventariosfijos="+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Green);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259637777","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("539387158","Alcanzan los variables? --> "+BA.ObjectToString(_pv),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259637782","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("539387161","NO HAY INVENTARIO SUFICIENTE "+_idpromo,anywheresoftware.b4a.keywords.Common.Colors.Red);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259637785","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("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);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259637792","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("539124995","InvDisponible: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Red);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259375619","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("539124996","Inventario inicial antes de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Gray);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259375620","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("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);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259375628",("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("539125005","inventariosDisponiblesParaEstaPromo="+BA.ObjectToString(_inventariosdisponiblesparaestapromo),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259375629","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("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);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259375632",("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("539125013","Sin suficiente inventario fijo: "+_t,anywheresoftware.b4a.keywords.Common.Colors.Blue);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259375637","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("539125022","Inventario final depues de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259375646","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("536110342","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("256360966","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("536110358","No pudimos agregar la columna PC_ENVIO_OK.",anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256360982","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("536110359",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256360983",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("536110369","No pudimos agregar la columna CAT_CL_DIAS_VISITA.",anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256360993","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("536110370",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256360994",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("536110380","No pudimos agregar la columna PC_TIEMPO_TIENDA.",anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256361004","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("536110381",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256361005",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("536110390","No pudimos agregar la columna PC_FACTURA.",anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256361014","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("536110391",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256361015",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("536765697","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227)));
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257016321","**** **** 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("536765706","If Not(Tracker.FLP.IsInitialized) --- "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257016330","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("536765718","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257016342","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("536765729","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("257016353","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("536765732"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257016356"," +++ +++ 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("536765734","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("257016358","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("539518215",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259768839",("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("539518217",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259768841",("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("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);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259768845",("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("539518222",(""+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("259768846",(""+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("539518224",_x[(int) (0)],0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259768848",_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("539518228",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259768852",("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("539518229",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259768853",("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("539518230",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259768854",("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("539452674",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259703298",("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("539452677",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259703301",("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("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);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259703308",("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("539452685",("InvFijo disponible="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259703309",("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("539452691","Inv req. de prods fijos x promo"+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Green);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259703315","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("539452693","Prods para promo "+BA.NumberToString((_i+1)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259703317","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("539452696","q="+_q2,0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259703320","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("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);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259703324",("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("539452709","InvFijo requerido x promo="+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259703333","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("539452710","Maximo de promociones de prodsFijos POR inventario = "+BA.NumberToString(_maxpromosfijosxinv),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259703334","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("539583746","======================================================",0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834370","======================================================",0);};
|
||||
//BA.debugLineNum = 1313;BA.debugLine="If thisLog Then Log(\"============================";
|
||||
if (_thislog) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("539583747","======================================================",0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834371","======================================================",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("539583752",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834376",("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("539583754",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834378",("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("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);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834392",("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("539583771",("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("259834395",("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("539583772",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834396",("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("539583773",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834397",("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("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);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834398",("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("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);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834399",("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("539583776",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834400",("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("539583777",("Prods variables disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+""),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834401",("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("539583778",("Prods variables2 disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariables2disponibles))+""),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834402",("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("539583782","=====================================================",0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834406","=====================================================",0);};
|
||||
//BA.debugLineNum = 1349;BA.debugLine="If thisLog Then Log(\"===========================";
|
||||
if (_thislog) {
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("539583783","=====================================================",0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834407","=====================================================",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("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);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834409",("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("539583788","Inv disponible despues de restar fijos = "+BA.ObjectToString(_invdispparapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834412","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("539583803",("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("259834427",("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("539583806","prodsVariables disponibles despues de promo = "+BA.NumberToString(_totalprodsvariablesdisponibles),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834430","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("539583807","prodsVariables2 disponibles despues de promo = "+BA.NumberToString(_totalprodsvariables2disponibles),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834431","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("539583813","Max promos de prodsVariables POR inventario = "+BA.NumberToString(_maxpromosxvariables),anywheresoftware.b4a.keywords.Common.Colors.Red);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259834437","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("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)));};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256950789",("**** 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("536700168","++++ 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("256950792","++++ 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("536700173","If Tracker.FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("256950797","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("539256070",BA.ObjectToString(_pm),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259506694",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("539059458","ESTAMOS VIENDO INVENTARIO",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259310082","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("538862850",_clientepedido,anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("259113474",_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})));
|
||||
|
||||
@@ -44,10 +44,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
@@ -148,10 +148,10 @@ 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.mapa_cliente _mapa_cliente = 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("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)));};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("277725699",("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("540960001","Failed to connect to location provider",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("277266945","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("541549846",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("277856790",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("541811969","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227)));
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("278118913","**** **** 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("541811978","If Not(Tracker.FLP.IsInitialized) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("278118922","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("541811990","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("278118934","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("541812001","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("278118945","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("541812004"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("278118948"," +++ +++ 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("541812006","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("278118950","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("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)));};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("278184456",("**** 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("541877515","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(_flp.GetLastKnownLocation().getAccuracy()),0);};
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("278184459","++++ 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("541877520","FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("278184464","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("541877523","StartFLP",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("278184467","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("541877527","If FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("278184471","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("541222148","sleeping",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("277529092","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("541091081","No permission",0);
|
||||
anywheresoftware.b4a.keywords.Common.LogImpl("277398025","No permission",0);
|
||||
//BA.debugLineNum = 79;BA.debugLine="Return";
|
||||
if (true) return "";
|
||||
};
|
||||
|
||||
@@ -18,10 +18,10 @@ 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.mapa_cliente _mapa_cliente = 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;
|
||||
|
||||
Reference in New Issue
Block a user