package reparto_mazapa.keymon.lat;

import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.pc.*;

public class b4xmainpage_subs_0 {


public static RemoteObject  _b_aceptar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_aceptar_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1013);
if (RapidSub.canDelegate("b_aceptar_click")) { return __ref.runUserSub(false, "b4xmainpage","b_aceptar_click", __ref);}
RemoteObject _cmd = RemoteObject.declareNull("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");
 BA.debugLineNum = 1013;BA.debugLine="Private Sub b_aceptar_Click";
Debug.ShouldStop(1048576);
 BA.debugLineNum = 1014;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec";
Debug.ShouldStop(2097152);
b4xmainpage._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
b4xmainpage._f = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA"))));__ref.setField("_f",b4xmainpage._f);
 BA.debugLineNum = 1015;BA.debugLine="f.Position=0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1016;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"sele";
Debug.ShouldStop(8388608);
b4xmainpage._a = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
b4xmainpage._a = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));__ref.setField("_a",b4xmainpage._a);
 BA.debugLineNum = 1017;BA.debugLine="a.Position = 0";
Debug.ShouldStop(16777216);
__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1018;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(33554432);
_cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd);
 BA.debugLineNum = 1019;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(67108864);
_cmd.runVoidMethod ("Initialize");
 BA.debugLineNum = 1020;BA.debugLine="cmd.Name = \"select_estatus_MAZAPA\"";
Debug.ShouldStop(134217728);
_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_estatus_MAZAPA"));
 BA.debugLineNum = 1021;BA.debugLine="cmd.Parameters = Array As Object(a.GetString(\"ID_";
Debug.ShouldStop(268435456);
_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))))}));
 BA.debugLineNum = 1022;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"estatus2\")";
Debug.ShouldStop(536870912);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(_cmd),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("estatus2"))));
 BA.debugLineNum = 1023;BA.debugLine="f.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1024;BA.debugLine="a.Close";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1029;BA.debugLine="End Sub";
Debug.ShouldStop(16);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_aceptar_monto_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_Aceptar_Monto_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,730);
if (RapidSub.canDelegate("b_aceptar_monto_click")) { return __ref.runUserSub(false, "b4xmainpage","b_aceptar_monto_click", __ref);}
RemoteObject _cmd = RemoteObject.declareNull("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");
 BA.debugLineNum = 730;BA.debugLine="Private Sub B_Aceptar_Monto_Click";
Debug.ShouldStop(33554432);
 BA.debugLineNum = 731;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec";
Debug.ShouldStop(67108864);
b4xmainpage._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
b4xmainpage._f = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA"))));__ref.setField("_f",b4xmainpage._f);
 BA.debugLineNum = 732;BA.debugLine="f.Position=0";
Debug.ShouldStop(134217728);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 733;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"sele";
Debug.ShouldStop(268435456);
b4xmainpage._a = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
b4xmainpage._a = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));__ref.setField("_a",b4xmainpage._a);
 BA.debugLineNum = 734;BA.debugLine="a.Position = 0";
Debug.ShouldStop(536870912);
__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 735;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(1073741824);
_cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd);
 BA.debugLineNum = 736;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(-2147483648);
_cmd.runVoidMethod ("Initialize");
 BA.debugLineNum = 737;BA.debugLine="cmd.Name = \"select_estatus_MAZAPA\"";
Debug.ShouldStop(1);
_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_estatus_MAZAPA"));
 BA.debugLineNum = 738;BA.debugLine="cmd.Parameters = Array As Object(a.GetString(\"ID_";
Debug.ShouldStop(2);
_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))))}));
 BA.debugLineNum = 739;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"estatus\")";
Debug.ShouldStop(4);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(_cmd),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("estatus"))));
 BA.debugLineNum = 740;BA.debugLine="f.Close";
Debug.ShouldStop(8);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 741;BA.debugLine="a.Close";
Debug.ShouldStop(16);
__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 742;BA.debugLine="End Sub";
Debug.ShouldStop(32);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_apk_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_apk_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,670);
if (RapidSub.canDelegate("b_apk_click")) { return __ref.runUserSub(false, "b4xmainpage","b_apk_click", __ref);}
 BA.debugLineNum = 670;BA.debugLine="Private Sub b_apk_Click";
Debug.ShouldStop(536870912);
 BA.debugLineNum = 671;BA.debugLine="StartService(appUpdater)";
Debug.ShouldStop(1073741824);
b4xmainpage.__c.runVoidMethod ("StartService",__ref.getField(false, "ba"),(Object)((b4xmainpage._appupdater.getObject())));
 BA.debugLineNum = 672;BA.debugLine="End Sub";
Debug.ShouldStop(-2147483648);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_arqueocieego_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_arqueocieego_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,818);
if (RapidSub.canDelegate("b_arqueocieego_click")) { return __ref.runUserSub(false, "b4xmainpage","b_arqueocieego_click", __ref);}
 BA.debugLineNum = 818;BA.debugLine="Private Sub b_arqueocieego_Click";
Debug.ShouldStop(131072);
 BA.debugLineNum = 819;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT *  FROM CAT_GU";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT *  FROM CAT_GUNAPROD3"))));
 BA.debugLineNum = 820;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 821;BA.debugLine="Subs.panelVisible(p_validacion,0,0)";
Debug.ShouldStop(1048576);
b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_validacion" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 }else {
 BA.debugLineNum = 823;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga";
Debug.ShouldStop(4194304);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 };
 BA.debugLineNum = 825;BA.debugLine="End Sub";
Debug.ShouldStop(16777216);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_can_monto_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_Can_Monto_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,814);
if (RapidSub.canDelegate("b_can_monto_click")) { return __ref.runUserSub(false, "b4xmainpage","b_can_monto_click", __ref);}
 BA.debugLineNum = 814;BA.debugLine="Private Sub B_Can_Monto_Click";
Debug.ShouldStop(8192);
 BA.debugLineNum = 815;BA.debugLine="p_add_monto.Visible = False";
Debug.ShouldStop(16384);
__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 816;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_cancelarcodigo_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_cancelarcodigo_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1057);
if (RapidSub.canDelegate("b_cancelarcodigo_click")) { return __ref.runUserSub(false, "b4xmainpage","b_cancelarcodigo_click", __ref);}
 BA.debugLineNum = 1057;BA.debugLine="Private Sub b_cancelarcodigo_Click";
Debug.ShouldStop(1);
 BA.debugLineNum = 1058;BA.debugLine="p_validacion.Visible = False";
Debug.ShouldStop(2);
__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 1059;BA.debugLine="End Sub";
Debug.ShouldStop(4);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_cargarmonto_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_CargarMonto_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,713);
if (RapidSub.canDelegate("b_cargarmonto_click")) { return __ref.runUserSub(false, "b4xmainpage","b_cargarmonto_click", __ref);}
 BA.debugLineNum = 713;BA.debugLine="Private Sub b_CargarMonto_Click";
Debug.ShouldStop(256);
 BA.debugLineNum = 715;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT *  FROM kmt_in";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT *  FROM kmt_info"))));
 BA.debugLineNum = 716;BA.debugLine="c.Position = 0";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 717;BA.debugLine="If c.RowCount < 0 Or c.RowCount = 0 Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("<",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 718;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga";
Debug.ShouldStop(8192);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 720;BA.debugLine="Subs.panelVisible(p_add_monto,0,0)";
Debug.ShouldStop(32768);
b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_add_monto" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 };
 BA.debugLineNum = 722;BA.debugLine="c.Close";
Debug.ShouldStop(131072);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 724;BA.debugLine="End Sub";
Debug.ShouldStop(524288);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static void  _b_enviobd_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_envioBD_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,652);
if (RapidSub.canDelegate("b_enviobd_click")) { __ref.runUserSub(false, "b4xmainpage","b_enviobd_click", __ref); return;}
ResumableSub_b_envioBD_Click rsub = new ResumableSub_b_envioBD_Click(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_b_envioBD_Click extends BA.ResumableSub {
public ResumableSub_b_envioBD_Click(reparto_mazapa.keymon.lat.b4xmainpage parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
reparto_mazapa.keymon.lat.b4xmainpage parent;
RemoteObject _filename = RemoteObject.createImmutable("");
RemoteObject _email = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone.Email");
RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper");

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("b_envioBD_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,652);
Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals;

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = -1;
Debug.locals.put("_ref", __ref);
 BA.debugLineNum = 655;BA.debugLine="Dim FileName As String = \"kmt.db\"";
Debug.ShouldStop(16384);
_filename = BA.ObjectToString("kmt.db");Debug.locals.put("FileName", _filename);Debug.locals.put("FileName", _filename);
 BA.debugLineNum = 657;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)";
Debug.ShouldStop(65536);
parent.__c.runVoidMethod ("LogImpl","31769477",RemoteObject.concat(RemoteObject.createImmutable("xxxxxx:"),__ref.getField(false,"_provider" /*RemoteObject*/ ).getField(true,"_sharedfolder" /*RemoteObject*/ )),0);
 BA.debugLineNum = 658;BA.debugLine="Sleep(1000)";
Debug.ShouldStop(131072);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b_enviobd_click"),BA.numberCast(int.class, 1000));
this.state = 1;
return;
case 1:
//C
this.state = -1;
;
 BA.debugLineNum = 659;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh";
Debug.ShouldStop(262144);
parent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(_filename),(Object)(__ref.getField(false,"_provider" /*RemoteObject*/ ).getField(true,"_sharedfolder" /*RemoteObject*/ )),(Object)(_filename));
 BA.debugLineNum = 660;BA.debugLine="Dim email As Email";
Debug.ShouldStop(524288);
_email = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.Email");Debug.locals.put("email", _email);
 BA.debugLineNum = 661;BA.debugLine="email.To.Add(\"soporte@keymonsoft.com\")";
Debug.ShouldStop(1048576);
_email.getField(false,"To").runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("soporte@keymonsoft.com"))));
 BA.debugLineNum = 662;BA.debugLine="email.Subject = \"Base de datos para revisión\"";
Debug.ShouldStop(2097152);
_email.setField ("Subject",BA.ObjectToString("Base de datos para revisión"));
 BA.debugLineNum = 663;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam";
Debug.ShouldStop(4194304);
_email.getField(false,"Attachments").runVoidMethod ("Add",(Object)(__ref.getField(false,"_provider" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.fileprovider.class, "_getfileuri" /*RemoteObject*/ ,(Object)(_filename))));
 BA.debugLineNum = 665;BA.debugLine="Dim in As Intent = email.GetIntent";
Debug.ShouldStop(16777216);
_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");
_in = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.IntentWrapper"), _email.runMethod(false,"GetIntent"));Debug.locals.put("in", _in);Debug.locals.put("in", _in);
 BA.debugLineNum = 666;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION";
Debug.ShouldStop(33554432);
_in.runMethod(true,"setFlags",BA.numberCast(int.class, 1));
 BA.debugLineNum = 667;BA.debugLine="StartActivity(in)";
Debug.ShouldStop(67108864);
parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_in.getObject())));
 BA.debugLineNum = 668;BA.debugLine="End Sub";
Debug.ShouldStop(134217728);
if (true) break;

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static RemoteObject  _b_pc_env_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_PC_ENV_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,868);
if (RapidSub.canDelegate("b_pc_env_click")) { return __ref.runUserSub(false, "b4xmainpage","b_pc_env_click", __ref);}
int _i = 0;
RemoteObject _itempanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _innerpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _edittext = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _inputtext = RemoteObject.createImmutable("");
RemoteObject _idlabel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _idtext = RemoteObject.createImmutable("");
RemoteObject _idparts = null;
RemoteObject _k = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _fechatabulador = null;
RemoteObject _fechatabulador2 = null;
RemoteObject _fechatabulador3 = RemoteObject.createImmutable("");
 BA.debugLineNum = 868;BA.debugLine="Private Sub B_PC_ENV_Click";
Debug.ShouldStop(8);
 BA.debugLineNum = 869;BA.debugLine="Dim sDate, sTime As String";
Debug.ShouldStop(16);
b4xmainpage._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",b4xmainpage._sdate);
b4xmainpage._stime = RemoteObject.createImmutable("");__ref.setField("_stime",b4xmainpage._stime);
 BA.debugLineNum = 870;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
Debug.ShouldStop(32);
b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy"));
 BA.debugLineNum = 871;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
Debug.ShouldStop(64);
b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss"));
 BA.debugLineNum = 872;BA.debugLine="sDate = DateTime.Date(DateTime.Now)";
Debug.ShouldStop(128);
__ref.setField ("_sdate" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 873;BA.debugLine="sTime = DateTime.Time(DateTime.Now)";
Debug.ShouldStop(256);
__ref.setField ("_stime" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 876;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1";
Debug.ShouldStop(2048);
{
final int step6 = 1;
final int limit6 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step6 > 0 && _i <= limit6) || (step6 < 0 && _i >= limit6) ;_i = ((int)(0 + _i + step6))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 878;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan";
Debug.ShouldStop(8192);
_itempanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_itempanel = __ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("itemPanel", _itempanel);Debug.locals.put("itemPanel", _itempanel);
 BA.debugLineNum = 879;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)";
Debug.ShouldStop(16384);
_innerpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_innerpanel = _itempanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("innerPanel", _innerpanel);Debug.locals.put("innerPanel", _innerpanel);
 BA.debugLineNum = 880;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)";
Debug.ShouldStop(32768);
_edittext = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_edittext = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("editText", _edittext);Debug.locals.put("editText", _edittext);
 BA.debugLineNum = 881;BA.debugLine="Dim inputText As String = editText.As(EditText).";
Debug.ShouldStop(65536);
_inputtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _edittext.getObject())).runMethod(true,"getText");Debug.locals.put("inputText", _inputtext);Debug.locals.put("inputText", _inputtext);
 BA.debugLineNum = 884;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean(".",b4xmainpage.__c.getField(false,"Regex").runMethod(true,"IsMatch",(Object)(BA.ObjectToString("^[0]+$")),(Object)(_inputtext))) || RemoteObject.solveBoolean("=",_inputtext,BA.ObjectToString(""))) { 
 BA.debugLineNum = 885;BA.debugLine="inputText = \"0\"";
Debug.ShouldStop(1048576);
_inputtext = BA.ObjectToString("0");Debug.locals.put("inputText", _inputtext);
 };
 BA.debugLineNum = 889;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)";
Debug.ShouldStop(16777216);
_idlabel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_idlabel = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("idLabel", _idlabel);Debug.locals.put("idLabel", _idlabel);
 BA.debugLineNum = 890;BA.debugLine="Dim idText As String = idLabel.As(Label).Text";
Debug.ShouldStop(33554432);
_idtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), _idlabel.getObject())).runMethod(true,"getText");Debug.locals.put("idText", _idtext);Debug.locals.put("idText", _idtext);
 BA.debugLineNum = 891;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe";
Debug.ShouldStop(67108864);
_idparts = b4xmainpage.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(b4xmainpage.__c.getField(true,"CRLF")),(Object)(_idtext));Debug.locals.put("idParts", _idparts);Debug.locals.put("idParts", _idparts);
 BA.debugLineNum = 893;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA";
Debug.ShouldStop(268435456);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA"))));
 BA.debugLineNum = 894;BA.debugLine="f.Position=0";
Debug.ShouldStop(536870912);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 895;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
Debug.ShouldStop(1073741824);
b4xmainpage.__c.runVoidMethod ("LogImpl","32687003",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),0);
 BA.debugLineNum = 896;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));
 BA.debugLineNum = 897;BA.debugLine="If a.RowCount>0 Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 898;BA.debugLine="a.Position=0";
Debug.ShouldStop(2);
__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 };
 BA.debugLineNum = 900;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT";
Debug.ShouldStop(8);
_k = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_k = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_FECHA FROM HIST_VENTAS"))));Debug.locals.put("k", _k);Debug.locals.put("k", _k);
 BA.debugLineNum = 901;BA.debugLine="k.Position = 0";
Debug.ShouldStop(16);
_k.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 902;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \"";
Debug.ShouldStop(32);
_fechatabulador = b4xmainpage.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fechatabulador", _fechatabulador);Debug.locals.put("fechatabulador", _fechatabulador);
 BA.debugLineNum = 903;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\"-";
Debug.ShouldStop(64);
_fechatabulador2 = b4xmainpage.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("-")),(Object)(_fechatabulador.getArrayElement(true,BA.numberCast(int.class, 0))));Debug.locals.put("fechatabulador2", _fechatabulador2);Debug.locals.put("fechatabulador2", _fechatabulador2);
 BA.debugLineNum = 904;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2(";
Debug.ShouldStop(128);
_fechatabulador3 = RemoteObject.concat(_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 2)),RemoteObject.createImmutable("/"),_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 1)),RemoteObject.createImmutable("/"),_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 0)));Debug.locals.put("fechatabulador3", _fechatabulador3);Debug.locals.put("fechatabulador3", _fechatabulador3);
 BA.debugLineNum = 905;BA.debugLine="k.Close";
Debug.ShouldStop(256);
_k.runVoidMethod ("Close");
 BA.debugLineNum = 906;BA.debugLine="If inputText <> \"\" Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("!",_inputtext,BA.ObjectToString(""))) { 
 BA.debugLineNum = 907;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0))}))));
 BA.debugLineNum = 908;BA.debugLine="If c.RowCount = 0 Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 910;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
Debug.ShouldStop(8192);
b4xmainpage.__c.runVoidMethod ("LogImpl","32687018",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),0);
 BA.debugLineNum = 911;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C";
Debug.ShouldStop(16384);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {6},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),_idparts.getArrayElement(true,BA.numberCast(int.class, 1)),_inputtext,__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),RemoteObject.concat(_fechatabulador3,RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))})))));
 }else {
 BA.debugLineNum = 914;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
Debug.ShouldStop(131072);
b4xmainpage.__c.runVoidMethod ("LogImpl","32687022",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),0);
 BA.debugLineNum = 915;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO";
Debug.ShouldStop(262144);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update PICK_CIEGO set PC_CANT = ?  WHERE PC_ID_PROD = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {_inputtext,_idparts.getArrayElement(true,BA.numberCast(int.class, 0))})))));
 };
 };
 BA.debugLineNum = 919;BA.debugLine="f.Close";
Debug.ShouldStop(4194304);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 920;BA.debugLine="a.Close";
Debug.ShouldStop(8388608);
__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 921;BA.debugLine="Log(\"Processed item \" & i)";
Debug.ShouldStop(16777216);
b4xmainpage.__c.runVoidMethod ("LogImpl","32687029",RemoteObject.concat(RemoteObject.createImmutable("Processed item "),RemoteObject.createImmutable(_i)),0);
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 923;BA.debugLine="et_buspc.Text = \"\"";
Debug.ShouldStop(67108864);
__ref.getField(false,"_et_buspc" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 924;BA.debugLine="CLV_PICK_CIEGO.Clear";
Debug.ShouldStop(134217728);
__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear");
 BA.debugLineNum = 925;BA.debugLine="End Sub";
Debug.ShouldStop(268435456);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_regesar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_regesar_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,646);
if (RapidSub.canDelegate("b_regesar_click")) { return __ref.runUserSub(false, "b4xmainpage","b_regesar_click", __ref);}
 BA.debugLineNum = 646;BA.debugLine="Private Sub b_regesar_Click";
Debug.ShouldStop(32);
 BA.debugLineNum = 647;BA.debugLine="p_principal.Visible = True";
Debug.ShouldStop(64);
__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"True"));
 BA.debugLineNum = 648;BA.debugLine="p_appUpdate.Visible = False";
Debug.ShouldStop(128);
__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 649;BA.debugLine="End Sub";
Debug.ShouldStop(256);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_server_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_server_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,674);
if (RapidSub.canDelegate("b_server_click")) { return __ref.runUserSub(false, "b4xmainpage","b_server_click", __ref);}
 BA.debugLineNum = 674;BA.debugLine="Private Sub b_server_Click";
Debug.ShouldStop(2);
 BA.debugLineNum = 675;BA.debugLine="Log(\"Guardar servidor\")";
Debug.ShouldStop(4);
b4xmainpage.__c.runVoidMethod ("LogImpl","31900545",RemoteObject.createImmutable("Guardar servidor"),0);
 BA.debugLineNum = 676;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARIA";
Debug.ShouldStop(8);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("SERVER"))})))));
 BA.debugLineNum = 677;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIA";
Debug.ShouldStop(16);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("SERVER")),(__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethod(true,"getText"))})))));
 BA.debugLineNum = 678;BA.debugLine="B4XPages.MainPage.server = et_server.text";
Debug.ShouldStop(32);
b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_server" /*RemoteObject*/ ,__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 679;BA.debugLine="Starter.server = B4XPages.MainPage.server";
Debug.ShouldStop(64);
b4xmainpage._starter._server /*RemoteObject*/  = b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ );
 BA.debugLineNum = 680;BA.debugLine="If logger Then Log(\"Inicializamos reqManager con";
Debug.ShouldStop(128);
if (__ref.getField(true,"_logger" /*RemoteObject*/ ).<Boolean>get().booleanValue()) { 
b4xmainpage.__c.runVoidMethod ("LogImpl","31900550",RemoteObject.concat(RemoteObject.createImmutable("Inicializamos reqManager con "),b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )),0);};
 BA.debugLineNum = 681;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve";
Debug.ShouldStop(256);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )));
 BA.debugLineNum = 682;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
Debug.ShouldStop(512);
b4xmainpage.__c.runVoidMethod ("LogImpl","31900552",(RemoteObject.concat(RemoteObject.createImmutable("ReqServer = "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),b4xmainpage.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 683;BA.debugLine="reinicializaReqManager";
Debug.ShouldStop(1024);
__ref.runClassMethod (reparto_mazapa.keymon.lat.b4xmainpage.class, "_reinicializareqmanager" /*RemoteObject*/ );
 BA.debugLineNum = 684;BA.debugLine="p_appUpdate.Visible = False";
Debug.ShouldStop(2048);
__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 686;BA.debugLine="End Sub";
Debug.ShouldStop(8192);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static void  _b_terpc_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_terpc_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,927);
if (RapidSub.canDelegate("b_terpc_click")) { __ref.runUserSub(false, "b4xmainpage","b_terpc_click", __ref); return;}
ResumableSub_b_terpc_Click rsub = new ResumableSub_b_terpc_Click(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_b_terpc_Click extends BA.ResumableSub {
public ResumableSub_b_terpc_Click(reparto_mazapa.keymon.lat.b4xmainpage parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
reparto_mazapa.keymon.lat.b4xmainpage parent;
RemoteObject _resultado = RemoteObject.createImmutable(0);
int _i = 0;
RemoteObject _itempanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _innerpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _edittext = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _inputtext = RemoteObject.createImmutable("");
RemoteObject _idlabel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _idtext = RemoteObject.createImmutable("");
RemoteObject _idparts = null;
RemoteObject _k = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _fechatabulador = null;
RemoteObject _fechatabulador2 = null;
RemoteObject _fechatabulador3 = RemoteObject.createImmutable("");
RemoteObject _cmd = RemoteObject.declareNull("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");
int step12;
int limit12;
int step55;
int limit55;

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("b_terpc_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,927);
Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals;

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
Debug.locals.put("_ref", __ref);
 BA.debugLineNum = 928;BA.debugLine="Msgbox2Async(\"Una vez enviada la información no p";
Debug.ShouldStop(-2147483648);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Una vez enviada la información no podras hacer modificaciones")),(Object)(BA.ObjectToCharSequence("Atención")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 929;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
Debug.ShouldStop(1);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b_terpc_click"), null);
this.state = 41;
return;
case 41:
//C
this.state = 1;
_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado);
;
 BA.debugLineNum = 930;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
Debug.ShouldStop(2);
if (true) break;

case 1:
//if
this.state = 40;
if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
this.state = 3;
}if (true) break;

case 3:
//C
this.state = 4;
 BA.debugLineNum = 931;BA.debugLine="Msgbox2Async(\"Estas seguro de enviar la informac";
Debug.ShouldStop(4);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Estas seguro de enviar la información?")),(Object)(BA.ObjectToCharSequence("Atención")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 932;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
Debug.ShouldStop(8);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b_terpc_click"), null);
this.state = 42;
return;
case 42:
//C
this.state = 4;
_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado);
;
 BA.debugLineNum = 933;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
Debug.ShouldStop(16);
if (true) break;

case 4:
//if
this.state = 39;
if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
this.state = 6;
}else {
this.state = 38;
}if (true) break;

case 6:
//C
this.state = 7;
 BA.debugLineNum = 935;BA.debugLine="Dim sDate, sTime As String";
Debug.ShouldStop(64);
parent._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",parent._sdate);
parent._stime = RemoteObject.createImmutable("");__ref.setField("_stime",parent._stime);
 BA.debugLineNum = 936;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
Debug.ShouldStop(128);
parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy"));
 BA.debugLineNum = 937;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
Debug.ShouldStop(256);
parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss"));
 BA.debugLineNum = 938;BA.debugLine="sDate = DateTime.Date(DateTime.Now)";
Debug.ShouldStop(512);
__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 939;BA.debugLine="sTime = DateTime.Time(DateTime.Now)";
Debug.ShouldStop(1024);
__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 941;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1";
Debug.ShouldStop(4096);
if (true) break;

case 7:
//for
this.state = 28;
step12 = 1;
limit12 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
Debug.locals.put("i", _i);
this.state = 43;
if (true) break;

case 43:
//C
this.state = 28;
if ((step12 > 0 && _i <= limit12) || (step12 < 0 && _i >= limit12)) this.state = 9;
if (true) break;

case 44:
//C
this.state = 43;
_i = ((int)(0 + _i + step12)) ;
Debug.locals.put("i", _i);
if (true) break;

case 9:
//C
this.state = 10;
 BA.debugLineNum = 943;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetP";
Debug.ShouldStop(16384);
_itempanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_itempanel = __ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("itemPanel", _itempanel);Debug.locals.put("itemPanel", _itempanel);
 BA.debugLineNum = 944;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(";
Debug.ShouldStop(32768);
_innerpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_innerpanel = _itempanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("innerPanel", _innerpanel);Debug.locals.put("innerPanel", _innerpanel);
 BA.debugLineNum = 945;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1";
Debug.ShouldStop(65536);
_edittext = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_edittext = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("editText", _edittext);Debug.locals.put("editText", _edittext);
 BA.debugLineNum = 946;BA.debugLine="Dim inputText As String = editText.As(EditText";
Debug.ShouldStop(131072);
_inputtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _edittext.getObject())).runMethod(true,"getText");Debug.locals.put("inputText", _inputtext);Debug.locals.put("inputText", _inputtext);
 BA.debugLineNum = 949;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or input";
Debug.ShouldStop(1048576);
if (true) break;

case 10:
//if
this.state = 13;
if (RemoteObject.solveBoolean(".",parent.__c.getField(false,"Regex").runMethod(true,"IsMatch",(Object)(BA.ObjectToString("^[0]+$")),(Object)(_inputtext))) || RemoteObject.solveBoolean("=",_inputtext,BA.ObjectToString(""))) { 
this.state = 12;
}if (true) break;

case 12:
//C
this.state = 13;
 BA.debugLineNum = 950;BA.debugLine="inputText = \"0\"";
Debug.ShouldStop(2097152);
_inputtext = BA.ObjectToString("0");Debug.locals.put("inputText", _inputtext);
 if (true) break;

case 13:
//C
this.state = 14;
;
 BA.debugLineNum = 954;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)";
Debug.ShouldStop(33554432);
_idlabel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_idlabel = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("idLabel", _idlabel);Debug.locals.put("idLabel", _idlabel);
 BA.debugLineNum = 955;BA.debugLine="Dim idText As String = idLabel.As(Label).Text";
Debug.ShouldStop(67108864);
_idtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), _idlabel.getObject())).runMethod(true,"getText");Debug.locals.put("idText", _idtext);Debug.locals.put("idText", _idtext);
 BA.debugLineNum = 956;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, id";
Debug.ShouldStop(134217728);
_idparts = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(parent.__c.getField(true,"CRLF")),(Object)(_idtext));Debug.locals.put("idParts", _idparts);Debug.locals.put("idParts", _idparts);
 BA.debugLineNum = 958;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RU";
Debug.ShouldStop(536870912);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA"))));
 BA.debugLineNum = 959;BA.debugLine="f.Position=0";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 960;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
Debug.ShouldStop(-2147483648);
parent.__c.runVoidMethod ("LogImpl","32752545",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),0);
 BA.debugLineNum = 962;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN fr";
Debug.ShouldStop(2);
__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));
 BA.debugLineNum = 963;BA.debugLine="If a.RowCount>0 Then";
Debug.ShouldStop(4);
if (true) break;

case 14:
//if
this.state = 17;
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 16;
}if (true) break;

case 16:
//C
this.state = 17;
 BA.debugLineNum = 964;BA.debugLine="a.Position=0";
Debug.ShouldStop(8);
__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 if (true) break;

case 17:
//C
this.state = 18;
;
 BA.debugLineNum = 966;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))";
Debug.ShouldStop(32);
parent.__c.runVoidMethod ("LogImpl","32752551",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),0);
 BA.debugLineNum = 968;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELE";
Debug.ShouldStop(128);
_k = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_k = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_FECHA FROM HIST_VENTAS"))));Debug.locals.put("k", _k);Debug.locals.put("k", _k);
 BA.debugLineNum = 969;BA.debugLine="k.Position = 0";
Debug.ShouldStop(256);
_k.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 970;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\"";
Debug.ShouldStop(512);
_fechatabulador = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fechatabulador", _fechatabulador);Debug.locals.put("fechatabulador", _fechatabulador);
 BA.debugLineNum = 971;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(";
Debug.ShouldStop(1024);
_fechatabulador2 = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("-")),(Object)(_fechatabulador.getArrayElement(true,BA.numberCast(int.class, 0))));Debug.locals.put("fechatabulador2", _fechatabulador2);Debug.locals.put("fechatabulador2", _fechatabulador2);
 BA.debugLineNum = 972;BA.debugLine="Dim fechatabulador3 As String = fechatabulador";
Debug.ShouldStop(2048);
_fechatabulador3 = RemoteObject.concat(_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 2)),RemoteObject.createImmutable("/"),_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 1)),RemoteObject.createImmutable("/"),_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 0)));Debug.locals.put("fechatabulador3", _fechatabulador3);Debug.locals.put("fechatabulador3", _fechatabulador3);
 BA.debugLineNum = 973;BA.debugLine="k.Close";
Debug.ShouldStop(4096);
_k.runVoidMethod ("Close");
 BA.debugLineNum = 974;BA.debugLine="If inputText <> \"\" Then";
Debug.ShouldStop(8192);
if (true) break;

case 18:
//if
this.state = 27;
if (RemoteObject.solveBoolean("!",_inputtext,BA.ObjectToString(""))) { 
this.state = 20;
}if (true) break;

case 20:
//C
this.state = 21;
 BA.debugLineNum = 975;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PI";
Debug.ShouldStop(16384);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0))}))));
 BA.debugLineNum = 976;BA.debugLine="If c.RowCount = 0 Then";
Debug.ShouldStop(32768);
if (true) break;

case 21:
//if
this.state = 26;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 23;
}else {
this.state = 25;
}if (true) break;

case 23:
//C
this.state = 26;
 BA.debugLineNum = 978;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK";
Debug.ShouldStop(131072);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {6},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),_idparts.getArrayElement(true,BA.numberCast(int.class, 1)),_inputtext,__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),RemoteObject.concat(_fechatabulador3,RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))})))));
 if (true) break;

case 25:
//C
this.state = 26;
 BA.debugLineNum = 980;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG";
Debug.ShouldStop(524288);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update PICK_CIEGO set PC_CANT = ?  WHERE PC_ID_PROD = ?")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {_inputtext,_idparts.getArrayElement(true,BA.numberCast(int.class, 0))})))));
 if (true) break;

case 26:
//C
this.state = 27;
;
 if (true) break;

case 27:
//C
this.state = 44;
;
 BA.debugLineNum = 983;BA.debugLine="f.Close";
Debug.ShouldStop(4194304);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 984;BA.debugLine="a.Close";
Debug.ShouldStop(8388608);
__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 985;BA.debugLine="Log(\"Processed item \" & i)";
Debug.ShouldStop(16777216);
parent.__c.runVoidMethod ("LogImpl","32752570",RemoteObject.concat(RemoteObject.createImmutable("Processed item "),RemoteObject.createImmutable(_i)),0);
 if (true) break;
if (true) break;

case 28:
//C
this.state = 29;
Debug.locals.put("i", _i);
;
 BA.debugLineNum = 987;BA.debugLine="Log(\"Finished processing all items\")";
Debug.ShouldStop(67108864);
parent.__c.runVoidMethod ("LogImpl","32752572",RemoteObject.createImmutable("Finished processing all items"),0);
 BA.debugLineNum = 988;BA.debugLine="P_CIEGO.Visible = False";
Debug.ShouldStop(134217728);
__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 989;BA.debugLine="et_buspc.Text = \"\"";
Debug.ShouldStop(268435456);
__ref.getField(false,"_et_buspc" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 990;BA.debugLine="CLV_PICK_CIEGO.Clear";
Debug.ShouldStop(536870912);
__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear");
 BA.debugLineNum = 991;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD,";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PC_ID_PROD, PC_ALMACEN, PC_RUTA, PC_FECHA FROM PICK_CIEGO"))));
 BA.debugLineNum = 992;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(-2147483648);
if (true) break;

case 29:
//if
this.state = 36;
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 31;
}if (true) break;

case 31:
//C
this.state = 32;
 BA.debugLineNum = 993;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(1);
if (true) break;

case 32:
//for
this.state = 35;
step55 = 1;
limit55 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
Debug.locals.put("i", _i);
this.state = 45;
if (true) break;

case 45:
//C
this.state = 35;
if ((step55 > 0 && _i <= limit55) || (step55 < 0 && _i >= limit55)) this.state = 34;
if (true) break;

case 46:
//C
this.state = 45;
_i = ((int)(0 + _i + step55)) ;
Debug.locals.put("i", _i);
if (true) break;

case 34:
//C
this.state = 46;
 BA.debugLineNum = 994;BA.debugLine="c.Position = i";
Debug.ShouldStop(2);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 995;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(4);
_cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd);
 BA.debugLineNum = 996;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(8);
_cmd.runVoidMethod ("Initialize");
 BA.debugLineNum = 997;BA.debugLine="cmd.Name = \"select_HIST_PICKCIEGO_MAZAPA\" '";
Debug.ShouldStop(16);
_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_HIST_PICKCIEGO_MAZAPA"));
 BA.debugLineNum = 998;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(";
Debug.ShouldStop(32);
_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ID_PROD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),(RemoteObject.createImmutable("REPARTO"))}));
 BA.debugLineNum = 999;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, $\"PICK_C_${c";
Debug.ShouldStop(64);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(_cmd),(Object)(BA.numberCast(int.class, 0)),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("PICK_C_"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ID_PROD")))))),RemoteObject.createImmutable(""))))));
 if (true) break;
if (true) break;

case 35:
//C
this.state = 36;
Debug.locals.put("i", _i);
;
 if (true) break;

case 36:
//C
this.state = 39;
;
 BA.debugLineNum = 1002;BA.debugLine="c.close";
Debug.ShouldStop(512);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 if (true) break;

case 38:
//C
this.state = 39;
 if (true) break;

case 39:
//C
this.state = 40;
;
 if (true) break;

case 40:
//C
this.state = -1;
;
 BA.debugLineNum = 1007;BA.debugLine="End Sub";
Debug.ShouldStop(16384);
if (true) break;

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static void  _msgbox_result(RemoteObject __ref,RemoteObject _resultado) throws Exception{
}
public static void  _b4xpage_appear(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Appear (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,232);
if (RapidSub.canDelegate("b4xpage_appear")) { __ref.runUserSub(false, "b4xmainpage","b4xpage_appear", __ref); return;}
ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub {
public ResumableSub_B4XPage_Appear(reparto_mazapa.keymon.lat.b4xmainpage parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
reparto_mazapa.keymon.lat.b4xmainpage parent;
RemoteObject _permission = RemoteObject.createImmutable("");
RemoteObject _result = RemoteObject.createImmutable(false);

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Appear (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,232);
Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals;

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
Debug.locals.put("_ref", __ref);
 BA.debugLineNum = 233;BA.debugLine="If Starter.muestraProgreso = 1 Then";
Debug.ShouldStop(256);
if (true) break;

case 1:
//if
this.state = 4;
if (RemoteObject.solveBoolean("=",parent._starter._muestraprogreso /*RemoteObject*/ ,BA.NumberToString(1))) { 
this.state = 3;
}if (true) break;

case 3:
//C
this.state = 4;
 BA.debugLineNum = 234;BA.debugLine="muestraProgreso(\"Descargando actualización\")";
Debug.ShouldStop(512);
__ref.runClassMethod (reparto_mazapa.keymon.lat.b4xmainpage.class, "_muestraprogreso" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("Descargando actualización")));
 BA.debugLineNum = 235;BA.debugLine="Starter.muestraProgreso = 0";
Debug.ShouldStop(1024);
parent._starter._muestraprogreso /*RemoteObject*/  = BA.NumberToString(0);
 if (true) break;

case 4:
//C
this.state = 5;
;
 BA.debugLineNum = 237;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)";
Debug.ShouldStop(4096);
parent._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 238;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
Debug.ShouldStop(8192);
parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_ACCESS_FINE_LOCATION")));
 BA.debugLineNum = 240;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
Debug.ShouldStop(32768);
parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_appear"), null);
this.state = 31;
return;
case 31:
//C
this.state = 5;
_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission);
_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result);
;
 BA.debugLineNum = 241;BA.debugLine="If Result Then";
Debug.ShouldStop(65536);
if (true) break;

case 5:
//if
this.state = 10;
if (_result.<Boolean>get().booleanValue()) { 
this.state = 7;
}else {
this.state = 9;
}if (true) break;

case 7:
//C
this.state = 10;
 BA.debugLineNum = 242;BA.debugLine="StartService(Tracker)";
Debug.ShouldStop(131072);
parent.__c.runVoidMethod ("StartService",__ref.getField(false, "ba"),(Object)((parent._tracker.getObject())));
 BA.debugLineNum = 243;BA.debugLine="Log(\"Start Tracker\")";
Debug.ShouldStop(262144);
parent.__c.runVoidMethod ("LogImpl","31376267",RemoteObject.createImmutable("Start Tracker"),0);
 if (true) break;

case 9:
//C
this.state = 10;
 BA.debugLineNum = 245;BA.debugLine="ToastMessageShow(\"Sin permisos de ubicacion\", Tr";
Debug.ShouldStop(1048576);
parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Sin permisos de ubicacion")),(Object)(parent.__c.getField(true,"True")));
 if (true) break;

case 10:
//C
this.state = 11;
;
 BA.debugLineNum = 249;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu";
Debug.ShouldStop(16777216);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));
 BA.debugLineNum = 250;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(33554432);
if (true) break;

case 11:
//if
this.state = 14;
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 13;
}if (true) break;

case 13:
//C
this.state = 14;
 BA.debugLineNum = 253;BA.debugLine="c.Position=0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 254;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(536870912);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 if (true) break;

case 14:
//C
this.state = 15;
;
 BA.debugLineNum = 256;BA.debugLine="c.Close";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 257;BA.debugLine="Starter.distanciaGeo = \"\"";
Debug.ShouldStop(1);
parent._starter._distanciageo /*RemoteObject*/  = BA.ObjectToString("");
 BA.debugLineNum = 258;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO FRO";
Debug.ShouldStop(2);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HABILITADO FROM GPS"))));
 BA.debugLineNum = 259;BA.debugLine="If c.RowCount = 0 Then";
Debug.ShouldStop(4);
if (true) break;

case 15:
//if
this.state = 18;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 17;
}if (true) break;

case 17:
//C
this.state = 18;
 BA.debugLineNum = 260;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO GPS VALU";
Debug.ShouldStop(8);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO GPS VALUES (?)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))})))));
 if (true) break;

case 18:
//C
this.state = 19;
;
 BA.debugLineNum = 262;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO FRO";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HABILITADO FROM GPS"))));
 BA.debugLineNum = 263;BA.debugLine="If c.RowCount >  0 Then";
Debug.ShouldStop(64);
if (true) break;

case 19:
//if
this.state = 30;
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 21;
}else {
this.state = 29;
}if (true) break;

case 21:
//C
this.state = 22;
 BA.debugLineNum = 264;BA.debugLine="c.Position = 0";
Debug.ShouldStop(128);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 265;BA.debugLine="If c.GetString(\"HABILITADO\") = 0 Then";
Debug.ShouldStop(256);
if (true) break;

case 22:
//if
this.state = 27;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HABILITADO"))),BA.NumberToString(0))) { 
this.state = 24;
}else 
{ BA.debugLineNum = 269;BA.debugLine="Else If c.GetString(\"HABILITADO\") = 1 Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HABILITADO"))),BA.NumberToString(1))) { 
this.state = 26;
}}
if (true) break;

case 24:
//C
this.state = 27;
 BA.debugLineNum = 266;BA.debugLine="Starter.distanciaGeo = \"500000000000\"";
Debug.ShouldStop(512);
parent._starter._distanciageo /*RemoteObject*/  = BA.ObjectToString("500000000000");
 BA.debugLineNum = 267;BA.debugLine="Log(\"Esto es la distancia si esta desactivada l";
Debug.ShouldStop(1024);
parent.__c.runVoidMethod ("LogImpl","31376291",RemoteObject.concat(RemoteObject.createImmutable("Esto es la distancia si esta desactivada la Geo: "),parent._starter._distanciageo /*RemoteObject*/ ),0);
 BA.debugLineNum = 268;BA.debugLine="B4XSwitch2.Value = False";
Debug.ShouldStop(2048);
__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,parent.__c.getField(true,"False"));
 if (true) break;

case 26:
//C
this.state = 27;
 BA.debugLineNum = 270;BA.debugLine="Starter.distanciaGeo = \"50\"";
Debug.ShouldStop(8192);
parent._starter._distanciageo /*RemoteObject*/  = BA.ObjectToString("50");
 BA.debugLineNum = 271;BA.debugLine="Log(\"Esto es la distancia si esta activada la G";
Debug.ShouldStop(16384);
parent.__c.runVoidMethod ("LogImpl","31376295",RemoteObject.concat(RemoteObject.createImmutable("Esto es la distancia si esta activada la Geo: "),parent._starter._distanciageo /*RemoteObject*/ ),0);
 BA.debugLineNum = 272;BA.debugLine="B4XSwitch2.Value = True";
Debug.ShouldStop(32768);
__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,parent.__c.getField(true,"True"));
 if (true) break;

case 27:
//C
this.state = 30;
;
 if (true) break;

case 29:
//C
this.state = 30;
 if (true) break;

case 30:
//C
this.state = -1;
;
 BA.debugLineNum = 340;BA.debugLine="End Sub";
Debug.ShouldStop(524288);
if (true) break;

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static void  _b4xpage_permissionresult(RemoteObject __ref,RemoteObject _permission,RemoteObject _result) throws Exception{
}
public static RemoteObject  _b4xpage_closerequest(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_CloseRequest (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,635);
if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "b4xmainpage","b4xpage_closerequest", __ref);}
ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(null,__ref);
rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter();
rsub.resume(null, null);
return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub {
public ResumableSub_B4XPage_CloseRequest(reparto_mazapa.keymon.lat.b4xmainpage parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
reparto_mazapa.keymon.lat.b4xmainpage parent;

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_CloseRequest (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,635);
Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals;

    while (true) {
        switch (state) {
            case -1:
{
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;}
case 0:
//C
this.state = 1;
Debug.locals.put("_ref", __ref);
 BA.debugLineNum = 637;BA.debugLine="If p_appUpdate.Visible Then";
Debug.ShouldStop(268435456);
if (true) break;

case 1:
//if
this.state = 6;
if (__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"getVisible").<Boolean>get().booleanValue()) { 
this.state = 3;
}else {
this.state = 5;
}if (true) break;

case 3:
//C
this.state = 6;
 BA.debugLineNum = 638;BA.debugLine="p_appUpdate.Visible = False";
Debug.ShouldStop(536870912);
__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 if (true) break;

case 5:
//C
this.state = 6;
 BA.debugLineNum = 640;BA.debugLine="Sleep(0)";
Debug.ShouldStop(-2147483648);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_closerequest"),BA.numberCast(int.class, 0));
this.state = 7;
return;
case 7:
//C
this.state = 6;
;
 BA.debugLineNum = 641;BA.debugLine="ExitApplication";
Debug.ShouldStop(1);
parent.__c.runVoidMethod ("ExitApplication");
 if (true) break;

case 6:
//C
this.state = -1;
;
 BA.debugLineNum = 643;BA.debugLine="Return False";
Debug.ShouldStop(4);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 BA.debugLineNum = 644;BA.debugLine="End Sub";
Debug.ShouldStop(8);
if (true) break;

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static RemoteObject  _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Created (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,119);
if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "b4xmainpage","b4xpage_created", __ref, _root1);}
Debug.locals.put("Root1", _root1);
 BA.debugLineNum = 119;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)";
Debug.ShouldStop(4194304);
 BA.debugLineNum = 120;BA.debugLine="Root = Root1";
Debug.ShouldStop(8388608);
__ref.setField ("_root" /*RemoteObject*/ ,_root1);
 BA.debugLineNum = 121;BA.debugLine="B4XPages.GetManager.LogEvents = True";
Debug.ShouldStop(16777216);
b4xmainpage._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_logevents" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"True"));
 BA.debugLineNum = 122;BA.debugLine="Root.LoadLayout(\"login\")";
Debug.ShouldStop(33554432);
__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("login")),__ref.getField(false, "ba"));
 BA.debugLineNum = 123;BA.debugLine="B4XPages.SetTitle(Me, \"MAZAPA Reparto\")";
Debug.ShouldStop(67108864);
b4xmainpage._b4xpages.runVoidMethod ("_settitle" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)((RemoteObject.createImmutable("MAZAPA Reparto"))));
 BA.debugLineNum = 124;BA.debugLine="login.Initialize";
Debug.ShouldStop(134217728);
__ref.getField(false,"_login" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.b4xmainpage.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 125;BA.debugLine="B4XPages.AddPage(\"Login\", login)";
Debug.ShouldStop(268435456);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Login")),(Object)((__ref.getField(false,"_login" /*RemoteObject*/ ))));
 BA.debugLineNum = 126;BA.debugLine="principal.Initialize";
Debug.ShouldStop(536870912);
__ref.getField(false,"_principal" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 127;BA.debugLine="B4XPages.AddPage(\"Principal\", principal)";
Debug.ShouldStop(1073741824);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Principal")),(Object)((__ref.getField(false,"_principal" /*RemoteObject*/ ))));
 BA.debugLineNum = 128;BA.debugLine="clientes.Initialize";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_clientes" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_clientes.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 129;BA.debugLine="B4XPages.AddPage(\"Clientes\", clientes)";
Debug.ShouldStop(1);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Clientes")),(Object)((__ref.getField(false,"_clientes" /*RemoteObject*/ ))));
 BA.debugLineNum = 130;BA.debugLine="cliente.Initialize";
Debug.ShouldStop(2);
__ref.getField(false,"_cliente" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_cliente.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 131;BA.debugLine="B4XPages.AddPage(\"Cliente\", cliente)";
Debug.ShouldStop(4);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Cliente")),(Object)((__ref.getField(false,"_cliente" /*RemoteObject*/ ))));
 BA.debugLineNum = 134;BA.debugLine="productos.Initialize";
Debug.ShouldStop(32);
__ref.getField(false,"_productos" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_productos.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 135;BA.debugLine="B4XPages.AddPage(\"Productos\", productos)";
Debug.ShouldStop(64);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Productos")),(Object)((__ref.getField(false,"_productos" /*RemoteObject*/ ))));
 BA.debugLineNum = 136;BA.debugLine="updateAvailable.Initialize";
Debug.ShouldStop(128);
__ref.getField(false,"_updateavailable" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_updateavailable.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 137;BA.debugLine="B4XPages.AddPage(\"updateAvailable\", updateAvailab";
Debug.ShouldStop(256);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("updateAvailable")),(Object)((__ref.getField(false,"_updateavailable" /*RemoteObject*/ ))));
 BA.debugLineNum = 138;BA.debugLine="mapas.Initialize";
Debug.ShouldStop(512);
__ref.getField(false,"_mapas" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_mapas.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 139;BA.debugLine="B4XPages.AddPage(\"Mapas\", mapas)";
Debug.ShouldStop(1024);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Mapas")),(Object)((__ref.getField(false,"_mapas" /*RemoteObject*/ ))));
 BA.debugLineNum = 140;BA.debugLine="nuevoCliente.Initialize";
Debug.ShouldStop(2048);
__ref.getField(false,"_nuevocliente" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_nuevocliente.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 141;BA.debugLine="B4XPages.AddPage(\"NuevoCliente\", nuevoCliente)";
Debug.ShouldStop(4096);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("NuevoCliente")),(Object)((__ref.getField(false,"_nuevocliente" /*RemoteObject*/ ))));
 BA.debugLineNum = 142;BA.debugLine="ticketsDia.Initialize";
Debug.ShouldStop(8192);
__ref.getField(false,"_ticketsdia" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_ticketsdia.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 143;BA.debugLine="B4XPages.AddPage(\"TicketsDia\", ticketsDia)";
Debug.ShouldStop(16384);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("TicketsDia")),(Object)((__ref.getField(false,"_ticketsdia" /*RemoteObject*/ ))));
 BA.debugLineNum = 144;BA.debugLine="noVenta.Initialize";
Debug.ShouldStop(32768);
__ref.getField(false,"_noventa" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_noventa.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 145;BA.debugLine="B4XPages.AddPage(\"NoVenta\", noVenta)";
Debug.ShouldStop(65536);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("NoVenta")),(Object)((__ref.getField(false,"_noventa" /*RemoteObject*/ ))));
 BA.debugLineNum = 146;BA.debugLine="pedidos.Initialize";
Debug.ShouldStop(131072);
__ref.getField(false,"_pedidos" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_pedidos.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 147;BA.debugLine="B4XPages.AddPage(\"Pedidos\", pedidos)";
Debug.ShouldStop(262144);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Pedidos")),(Object)((__ref.getField(false,"_pedidos" /*RemoteObject*/ ))));
 BA.debugLineNum = 148;BA.debugLine="buscar.Initialize";
Debug.ShouldStop(524288);
__ref.getField(false,"_buscar" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_buscar.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 149;BA.debugLine="B4XPages.AddPage(\"Buscar\", buscar)";
Debug.ShouldStop(1048576);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Buscar")),(Object)((__ref.getField(false,"_buscar" /*RemoteObject*/ ))));
 BA.debugLineNum = 152;BA.debugLine="detalleVenta.Initialize";
Debug.ShouldStop(8388608);
__ref.getField(false,"_detalleventa" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_detalleventa.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 153;BA.debugLine="B4XPages.AddPage(\"DetalleVenta\", detalleVenta)";
Debug.ShouldStop(16777216);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("DetalleVenta")),(Object)((__ref.getField(false,"_detalleventa" /*RemoteObject*/ ))));
 BA.debugLineNum = 154;BA.debugLine="detalle_promo.Initialize";
Debug.ShouldStop(33554432);
__ref.getField(false,"_detalle_promo" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_detalle_promo.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 155;BA.debugLine="B4XPages.AddPage(\"Detalle_Promo\", detalle_promo)";
Debug.ShouldStop(67108864);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Detalle_Promo")),(Object)((__ref.getField(false,"_detalle_promo" /*RemoteObject*/ ))));
 BA.debugLineNum = 156;BA.debugLine="tabulador.Initialize";
Debug.ShouldStop(134217728);
__ref.getField(false,"_tabulador" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_tabulador.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 157;BA.debugLine="B4XPages.AddPage(\"tabulador\", tabulador)";
Debug.ShouldStop(268435456);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("tabulador")),(Object)((__ref.getField(false,"_tabulador" /*RemoteObject*/ ))));
 BA.debugLineNum = 158;BA.debugLine="checklist.Initialize";
Debug.ShouldStop(536870912);
__ref.getField(false,"_checklist" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.c_cheklist.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 159;BA.debugLine="B4XPages.AddPage(\"checklist\",checklist)";
Debug.ShouldStop(1073741824);
b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("checklist")),(Object)((__ref.getField(false,"_checklist" /*RemoteObject*/ ))));
 BA.debugLineNum = 160;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(-2147483648);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD3 (CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD TEXT, CAT_GP_DEV TEXT, CAT_GP_ALMACEN NUMERIC, CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_PRECIO TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS TEXT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG BLOB)")));
 BA.debugLineNum = 161;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CONVE";
Debug.ShouldStop(1);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD3")),(Object)(BA.ObjectToString("CAT_DP_CONVERSION1")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 162;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_PRECI";
Debug.ShouldStop(2);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD3")),(Object)(BA.ObjectToString("CAT_DP_PRECIO4")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 163;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CANT_";
Debug.ShouldStop(4);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD3")),(Object)(BA.ObjectToString("CAT_DP_CANT_MIN_VENTA")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 164;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(8);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS GPS (HABILITADO)")));
 BA.debugLineNum = 165;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(16);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS PICK_CIEGO (PC_ID_PROD TEXT, PC_NOM_PROD TEXT, PC_CANT TEXT, PC_ALMACEN TEXT, PC_RUTA TEXT, PC_FECHA TEXT)")));
 BA.debugLineNum = 166;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(32);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ENV_MONTO_LIQ (EML_MONTO TEXT, EML_ALMACEN TEXT, EML_RUTA TEXT, EML_USUARIO TEXT, EML_FECHA_PED TEXT)")));
 BA.debugLineNum = 167;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(64);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS TABULADOR_MONEDAS(VEINTE TEXT, DIEZ TEXT, CINCO TEXT, DOS TEXT, PESO TEXT, CENTAVO TEXT, TOTAL TEXT)")));
 BA.debugLineNum = 168;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(128);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS TABULADOR_BILLETES(MIL TEXT, QUINIENTOS TEXT, DOCIENTOS TEXT, CIEN TEXT, CINCUENTA TEXT, VEINTE TEXT)")));
 BA.debugLineNum = 169;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(256);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_VENTAS2 (HVD_PARCIAL TEXT, HVD_RECHAZO TEXT, HVD_NUM_REGISTRO TEXT, HVD_NUM_TICKET TEXT, HVD_PROID TEXT, HVD_CODPROMO TEXT, HVD_FECHA TEXT, HVD_ESTATUS TEXT, HVD_CLIENTE TEXT, HVD_PRONOMBRE TEXT, HVD_CANT TEXT, HVD_COSTO_TOT TEXT)")));
 BA.debugLineNum = 171;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(1024);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS RECHAZOS (R_FECHA TEXT, R_CLIENTE TEXT, R_CLI_ORIG TEXT, R_PRODID TEXT, R_CANT TEXT, R_RECHAZO INT)")));
 BA.debugLineNum = 172;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(2048);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS VENTAS (V_FECHA TEXT, V_CLIENTE TEXT, V_CLI_ORIG TEXT, V_PRODID TEXT, V_CANT TEXT, V_RECHAZO INT)")));
 BA.debugLineNum = 174;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(8192);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CHECADO_CHECK(CHECADO TEXT)")));
 BA.debugLineNum = 175;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(16384);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS PAGARES(TMP_MONTO_PAGARE TEXT, TMP_CLIENTE TEXT)")));
 BA.debugLineNum = 176;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(32768);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CHECKLIST(USUARIO TEXT, PLACA TEXT, FECHA_CAPTURA TEXT, TARJETA_CIRCULACION TEXT , POLIZA_SEGURO TEXT, LICENCIA_CONDUCIR TEXT, LIMPIA_EXTERNA TEXT, LIMPIA_INTERNA TEXT, TRIANGULO TEXT, GATO TEXT, LLANTA_REFACCION TEXT, CARROCERIA_BUENESTADO TEXT, CARROCERIA_MALESTADO TEXT, CARROCERIA_COMENTARIOS TEXT, LUCES_CORRECTO TEXT, LUCES_INCORRECTO TEXT, LUCES_COMENTARIOS TEXT, CONDICION_PLACAS_CORRECTO TEXT, CONDICION_PLACAS_INCORRECTO TEXT, CONDICION_PLACAS_COMENTARIOS TEXT, CONDICION_LLANTAS_DEL_DER TEXT, CONDICION_LLANTAS_DEL_IZQ TEXT, CONDICION_LLANTAS_TRASERA_DER TEXT, CONDICION_LLANTAS_TRASERA_IZQ TEXT, ACEITE TEXT, ANTICONGELANTE TEXT, FRENOS TEXT, AIRE TEXT, FUGAS TEXT, COMETARIOS_FUGAS TEXT, FOTO1 BLOB, FOTO12 BLOB, FOTO3 BLOB, FOTO4 BLOB)")));
 BA.debugLineNum = 177;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(65536);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CHECKLIST2(USUARIO TEXT, PLACA TEXT, FECHA_CAPTURA TEXT, TARJETA_CIRCULACION TEXT, POLIZA_SEGURO TEXT, LICENCIA_CONDUCIR TEXT, LIMPIA_EXTERNA TEXT, LIMPIA_INTERNA TEXT, TRIANGULO TEXT, GATO TEXT, LLANTA_REFACCION TEXT, CARROCERIA TEXT, CARROCERIA_COMENTARIOS TEXT, LUCES TEXT, LUCES_COMENTARIOS TEXT, CONDICION_PLACAS TEXT, CONDICION_PLACAS_COMENTARIOS TEXT, CONDICION_LLANTAS_DEL_DER TEXT, CONDICION_LLANTAS_DEL_IZQ TEXT, CONDICION_LLANTAS_TRASERA_DER TEXT, CONDICION_LLANTAS_TRASERA_IZQ TEXT, ACEITE TEXT, ANTICONGELANTE TEXT, FRENOS TEXT, AIRE TEXT, FUGAS TEXT, COMETARIOS_FUGAS TEXT, FOTO1 BLOB, FOTO12 BLOB, FOTO3 BLOB, FOTO4 BLOB, KILIMETRAJE TEXT, RUTA TEXT)")));
 BA.debugLineNum = 178;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRODREGISTRO\",";
Debug.ShouldStop(131072);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("REPARTO")),(Object)(BA.ObjectToString("REP_PRODREGISTRO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 179;BA.debugLine="Subs.agregaColumna(\"NOVENTA\", \"NV_RUTA\", \"TEXT\")";
Debug.ShouldStop(262144);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("NOVENTA")),(Object)(BA.ObjectToString("NV_RUTA")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 180;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"SECUENCIA\", \"INT\"";
Debug.ShouldStop(524288);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info")),(Object)(BA.ObjectToString("SECUENCIA")),(Object)(RemoteObject.createImmutable("INT")));
 BA.debugLineNum = 181;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"HORAENT\", \"TEXT\")";
Debug.ShouldStop(1048576);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info")),(Object)(BA.ObjectToString("HORAENT")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 182;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRODID\", \"TEXT";
Debug.ShouldStop(2097152);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("REPARTO")),(Object)(BA.ObjectToString("REP_PRODID")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 183;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CLIENTEOR\", \"TEX";
Debug.ShouldStop(4194304);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_CLIENTEOR")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 184;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CAJAS\", \"TEXT\")";
Debug.ShouldStop(8388608);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_CAJAS")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 185;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_REGALO\", \"TEXT\")";
Debug.ShouldStop(16777216);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_REGALO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 186;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_BCAJAS\", \"TEXT\")";
Debug.ShouldStop(33554432);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_BCAJAS")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 187;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"CONSECUTIVO\", \"TEXT";
Debug.ShouldStop(67108864);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("CONSECUTIVO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 188;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"FECHA_PREV\", \"TEXT\"";
Debug.ShouldStop(134217728);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("FECHA_PREV")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 189;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"RUTA_REP\", \"TEXT\")";
Debug.ShouldStop(268435456);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("RUTA_REP")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 190;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_CLI_ORIG\", \"TE";
Debug.ShouldStop(536870912);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("REPARTO")),(Object)(BA.ObjectToString("REP_CLI_ORIG")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 191;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRECIO\", \"TEXT";
Debug.ShouldStop(1073741824);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("REPARTO")),(Object)(BA.ObjectToString("REP_PRECIO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 192;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_RECHAZO\", \"INT";
Debug.ShouldStop(-2147483648);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("REPARTO")),(Object)(BA.ObjectToString("REP_RECHAZO")),(Object)(RemoteObject.createImmutable("INTEGER")));
 BA.debugLineNum = 193;BA.debugLine="Subs.agregaColumna(\"RECHAZOS\", \"R_PRECIO\", \"TEXT\"";
Debug.ShouldStop(1);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("RECHAZOS")),(Object)(BA.ObjectToString("R_PRECIO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 194;BA.debugLine="Subs.agregaColumna(\"VENTAS\", \"V_PRECIO\", \"TEXT\")";
Debug.ShouldStop(2);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("VENTAS")),(Object)(BA.ObjectToString("V_PRECIO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 195;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"PLACA\",\"TEXT\")";
Debug.ShouldStop(4);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("PLACA")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 196;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT";
Debug.ShouldStop(8);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("HVD_RECHAZOCANT")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 197;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CONSECUTIVO\",\"T";
Debug.ShouldStop(16);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("CONSECUTIVO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 198;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT";
Debug.ShouldStop(32);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("HVD_RECHAZOCANT")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 199;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"ESPROMO\",\"TEXT\"";
Debug.ShouldStop(64);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("ESPROMO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 200;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT";
Debug.ShouldStop(128);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("HVD_RECHAZOCANTC")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 201;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"BCAJAS\",\"TEXT\")";
Debug.ShouldStop(256);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("BCAJAS")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 202;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC\",\"TEXT\")";
Debug.ShouldStop(512);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("CANTC")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 203;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"BCAJAS_OR\",\"TEX";
Debug.ShouldStop(1024);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("BCAJAS_OR")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 204;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC_OR\",\"TEXT";
Debug.ShouldStop(2048);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("CANTC_OR")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 205;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RUTA\",\"TEXT";
Debug.ShouldStop(4096);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("HVD_RUTA")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 206;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_LISTAPRECIO";
Debug.ShouldStop(8192);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("HVD_LISTAPRECIO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 207;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"CONVERSION\",\"T";
Debug.ShouldStop(16384);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CONVERSION")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 208;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"PRECIOCONVER\",";
Debug.ShouldStop(32768);
b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("PRECIOCONVER")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 209;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(65536);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)")));
 BA.debugLineNum = 210;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(131072);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS wayPoints (codigo TEXT, indice INT)")));
 BA.debugLineNum = 211;BA.debugLine="Dim server As String = \"http://keymon.net:1781\"";
Debug.ShouldStop(262144);
b4xmainpage._server = BA.ObjectToString("http://keymon.net:1781");__ref.setField("_server",b4xmainpage._server);
 BA.debugLineNum = 217;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve";
Debug.ShouldStop(16777216);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )));
 BA.debugLineNum = 218;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
Debug.ShouldStop(33554432);
b4xmainpage.__c.runVoidMethod ("LogImpl","31310819",(RemoteObject.concat(RemoteObject.createImmutable("ReqServer = "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),b4xmainpage.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 219;BA.debugLine="Label1.Text = Application.VersionName";
Debug.ShouldStop(67108864);
__ref.getField(false,"_label1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(b4xmainpage.__c.getField(false,"Application").runMethod(true,"getVersionName")));
 BA.debugLineNum = 221;BA.debugLine="Log(\"provider\")";
Debug.ShouldStop(268435456);
b4xmainpage.__c.runVoidMethod ("LogImpl","31310822",RemoteObject.createImmutable("provider"),0);
 BA.debugLineNum = 222;BA.debugLine="Provider.Initialize";
Debug.ShouldStop(536870912);
__ref.getField(false,"_provider" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.fileprovider.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 230;BA.debugLine="End Sub";
Debug.ShouldStop(32);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b4xswitch2_valuechanged(RemoteObject __ref,RemoteObject _value) throws Exception{
try {
		Debug.PushSubsStack("B4XSwitch2_ValueChanged (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1124);
if (RapidSub.canDelegate("b4xswitch2_valuechanged")) { return __ref.runUserSub(false, "b4xmainpage","b4xswitch2_valuechanged", __ref, _value);}
Debug.locals.put("Value", _value);
 BA.debugLineNum = 1124;BA.debugLine="Private Sub B4XSwitch2_ValueChanged (Value As Bool";
Debug.ShouldStop(8);
 BA.debugLineNum = 1125;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT CAT_VA_VALOR";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("CARGA_DIA")}))));
 BA.debugLineNum = 1126;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1127;BA.debugLine="c.Position = 0";
Debug.ShouldStop(64);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1128;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") = 1 Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))),BA.NumberToString(1))) { 
 BA.debugLineNum = 1129;BA.debugLine="Log(Value)";
Debug.ShouldStop(256);
b4xmainpage.__c.runVoidMethod ("LogImpl","33473413",BA.ObjectToString(_value),0);
 BA.debugLineNum = 1130;BA.debugLine="If Value Then";
Debug.ShouldStop(512);
if (_value.<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 1131;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HAB";
Debug.ShouldStop(1024);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))})))));
 }else {
 BA.debugLineNum = 1133;BA.debugLine="p_GeoPass.Left = 0";
Debug.ShouldStop(4096);
__ref.getField(false,"_p_geopass" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1134;BA.debugLine="p_GeoPass.Width = Root.Width";
Debug.ShouldStop(8192);
__ref.getField(false,"_p_geopass" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 1135;BA.debugLine="p_GeoPass.Height = Root.Height";
Debug.ShouldStop(16384);
__ref.getField(false,"_p_geopass" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 1136;BA.debugLine="p_GeoPass.Visible = True";
Debug.ShouldStop(32768);
__ref.getField(false,"_p_geopass" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"True"));
 BA.debugLineNum = 1137;BA.debugLine="Subs.panelVisible(p_GeoPass,0,0)";
Debug.ShouldStop(65536);
b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_geopass" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 BA.debugLineNum = 1138;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HAB";
Debug.ShouldStop(131072);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))})))));
 };
 }else {
 BA.debugLineNum = 1141;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día";
Debug.ShouldStop(1048576);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor primero haz carga de día")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 1142;BA.debugLine="B4XSwitch2.Value = True";
Debug.ShouldStop(2097152);
__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"True"));
 };
 }else {
 BA.debugLineNum = 1145;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día\"";
Debug.ShouldStop(16777216);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor primero haz carga de día")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 1146;BA.debugLine="B4XSwitch2.Value = True";
Debug.ShouldStop(33554432);
__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"True"));
 };
 BA.debugLineNum = 1148;BA.debugLine="End Sub";
Debug.ShouldStop(134217728);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _bacepgeo_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("bAcepGeo_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1107);
if (RapidSub.canDelegate("bacepgeo_click")) { return __ref.runUserSub(false, "b4xmainpage","bacepgeo_click", __ref);}
 BA.debugLineNum = 1107;BA.debugLine="Private Sub bAcepGeo_Click";
Debug.ShouldStop(262144);
 BA.debugLineNum = 1108;BA.debugLine="If et_passGeo.Text = \"KMTS\" Or et_passGeo.Text =";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_passgeo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_et_passgeo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("MAZAPA"))) { 
 BA.debugLineNum = 1109;BA.debugLine="B4XSwitch2.Value = False";
Debug.ShouldStop(1048576);
__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 1110;BA.debugLine="p_GeoPass.Visible = False";
Debug.ShouldStop(2097152);
__ref.getField(false,"_p_geopass" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 1111;BA.debugLine="et_passGeo.Text = \"\"";
Debug.ShouldStop(4194304);
__ref.getField(false,"_et_passgeo" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 1112;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HABIL";
Debug.ShouldStop(8388608);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))})))));
 }else 
{ BA.debugLineNum = 1113;BA.debugLine="Else If et_passGeo.Text = \"\" Then";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_passgeo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { 
 BA.debugLineNum = 1114;BA.debugLine="MsgboxAsync(\"Ingresa un codigo\",\"Atención\")";
Debug.ShouldStop(33554432);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Ingresa un codigo")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 1115;BA.debugLine="B4XSwitch2.Value = True";
Debug.ShouldStop(67108864);
__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"True"));
 BA.debugLineNum = 1116;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HABIL";
Debug.ShouldStop(134217728);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))})))));
 }else {
 BA.debugLineNum = 1118;BA.debugLine="MsgboxAsync(\"Codigo incorrecto\",\"Atención\")";
Debug.ShouldStop(536870912);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Codigo incorrecto")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 1119;BA.debugLine="B4XSwitch2.Value = True";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"True"));
 BA.debugLineNum = 1120;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HABIL";
Debug.ShouldStop(-2147483648);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))})))));
 }}
;
 BA.debugLineNum = 1122;BA.debugLine="End Sub";
Debug.ShouldStop(2);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _bcangeo_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("bCanGeo_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1100);
if (RapidSub.canDelegate("bcangeo_click")) { return __ref.runUserSub(false, "b4xmainpage","bcangeo_click", __ref);}
 BA.debugLineNum = 1100;BA.debugLine="Private Sub bCanGeo_Click";
Debug.ShouldStop(2048);
 BA.debugLineNum = 1101;BA.debugLine="p_GeoPass.Visible = False";
Debug.ShouldStop(4096);
__ref.getField(false,"_p_geopass" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 1102;BA.debugLine="B4XSwitch2.Value = True";
Debug.ShouldStop(8192);
__ref.getField(false,"_b4xswitch2" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.b4xswitch.class, "_setvalue" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"True"));
 BA.debugLineNum = 1103;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HABILI";
Debug.ShouldStop(16384);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))})))));
 BA.debugLineNum = 1104;BA.debugLine="et_passGeo.Text = \"\"";
Debug.ShouldStop(32768);
__ref.getField(false,"_et_passgeo" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 1105;BA.debugLine="End Sub";
Debug.ShouldStop(65536);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _class_globals(RemoteObject __ref) throws Exception{
 //BA.debugLineNum = 18;BA.debugLine="Sub Class_Globals";
 //BA.debugLineNum = 19;BA.debugLine="Dim rp As RuntimePermissions";
b4xmainpage._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions");__ref.setField("_rp",b4xmainpage._rp);
 //BA.debugLineNum = 20;BA.debugLine="Private Root As B4XView";
b4xmainpage._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",b4xmainpage._root);
 //BA.debugLineNum = 21;BA.debugLine="Private xui As XUI";
b4xmainpage._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xmainpage._xui);
 //BA.debugLineNum = 22;BA.debugLine="Private Root As B4XView";
b4xmainpage._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",b4xmainpage._root);
 //BA.debugLineNum = 23;BA.debugLine="Public rp As RuntimePermissions";
b4xmainpage._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions");__ref.setField("_rp",b4xmainpage._rp);
 //BA.debugLineNum = 24;BA.debugLine="Public login As B4XMainPage";
b4xmainpage._login = RemoteObject.createNew ("reparto_mazapa.keymon.lat.b4xmainpage");__ref.setField("_login",b4xmainpage._login);
 //BA.debugLineNum = 25;BA.debugLine="Public principal As C_Principal";
b4xmainpage._principal = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_principal");__ref.setField("_principal",b4xmainpage._principal);
 //BA.debugLineNum = 26;BA.debugLine="Public clientes As C_Clientes";
b4xmainpage._clientes = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_clientes");__ref.setField("_clientes",b4xmainpage._clientes);
 //BA.debugLineNum = 27;BA.debugLine="Public cliente As C_Cliente";
b4xmainpage._cliente = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_cliente");__ref.setField("_cliente",b4xmainpage._cliente);
 //BA.debugLineNum = 29;BA.debugLine="Public productos As C_Productos";
b4xmainpage._productos = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_productos");__ref.setField("_productos",b4xmainpage._productos);
 //BA.debugLineNum = 30;BA.debugLine="Public updateAvailable As C_UpdateAvailable";
b4xmainpage._updateavailable = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_updateavailable");__ref.setField("_updateavailable",b4xmainpage._updateavailable);
 //BA.debugLineNum = 31;BA.debugLine="Public mapas As C_Mapas";
b4xmainpage._mapas = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_mapas");__ref.setField("_mapas",b4xmainpage._mapas);
 //BA.debugLineNum = 32;BA.debugLine="Public nuevoCliente As C_NuevoCliente";
b4xmainpage._nuevocliente = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_nuevocliente");__ref.setField("_nuevocliente",b4xmainpage._nuevocliente);
 //BA.debugLineNum = 33;BA.debugLine="Public ticketsDia As C_TicketsDia";
b4xmainpage._ticketsdia = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_ticketsdia");__ref.setField("_ticketsdia",b4xmainpage._ticketsdia);
 //BA.debugLineNum = 34;BA.debugLine="Public noVenta As C_NoVenta";
b4xmainpage._noventa = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_noventa");__ref.setField("_noventa",b4xmainpage._noventa);
 //BA.debugLineNum = 35;BA.debugLine="Public pedidos As C_Pedidos";
b4xmainpage._pedidos = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_pedidos");__ref.setField("_pedidos",b4xmainpage._pedidos);
 //BA.debugLineNum = 36;BA.debugLine="Public buscar As C_Buscar";
b4xmainpage._buscar = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_buscar");__ref.setField("_buscar",b4xmainpage._buscar);
 //BA.debugLineNum = 38;BA.debugLine="Public detalleVenta As C_DetalleVenta";
b4xmainpage._detalleventa = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_detalleventa");__ref.setField("_detalleventa",b4xmainpage._detalleventa);
 //BA.debugLineNum = 39;BA.debugLine="Public detalle_promo As C_Detalle_Promo";
b4xmainpage._detalle_promo = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_detalle_promo");__ref.setField("_detalle_promo",b4xmainpage._detalle_promo);
 //BA.debugLineNum = 40;BA.debugLine="Dim reqManager As DBRequestManager";
b4xmainpage._reqmanager = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager");__ref.setField("_reqmanager",b4xmainpage._reqmanager);
 //BA.debugLineNum = 42;BA.debugLine="Dim usuario As String";
b4xmainpage._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",b4xmainpage._usuario);
 //BA.debugLineNum = 43;BA.debugLine="Dim logger As Boolean = True";
b4xmainpage._logger = b4xmainpage.__c.getField(true,"True");__ref.setField("_logger",b4xmainpage._logger);
 //BA.debugLineNum = 44;BA.debugLine="Dim lat_gps, lon_gps As String";
b4xmainpage._lat_gps = RemoteObject.createImmutable("");__ref.setField("_lat_gps",b4xmainpage._lat_gps);
b4xmainpage._lon_gps = RemoteObject.createImmutable("");__ref.setField("_lon_gps",b4xmainpage._lon_gps);
 //BA.debugLineNum = 46;BA.debugLine="Dim usuario As String";
b4xmainpage._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",b4xmainpage._usuario);
 //BA.debugLineNum = 47;BA.debugLine="Dim server As String";
b4xmainpage._server = RemoteObject.createImmutable("");__ref.setField("_server",b4xmainpage._server);
 //BA.debugLineNum = 48;BA.debugLine="Dim montoActual, clientesTotal, clientesVenta, cl";
b4xmainpage._montoactual = RemoteObject.createImmutable("");__ref.setField("_montoactual",b4xmainpage._montoactual);
b4xmainpage._clientestotal = RemoteObject.createImmutable("");__ref.setField("_clientestotal",b4xmainpage._clientestotal);
b4xmainpage._clientesventa = RemoteObject.createImmutable("");__ref.setField("_clientesventa",b4xmainpage._clientesventa);
b4xmainpage._clientesrechazo = RemoteObject.createImmutable("");__ref.setField("_clientesrechazo",b4xmainpage._clientesrechazo);
b4xmainpage._clientesvisitados = RemoteObject.createImmutable("");__ref.setField("_clientesvisitados",b4xmainpage._clientesvisitados);
b4xmainpage._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",b4xmainpage._almacen);
b4xmainpage._rutapreventa = RemoteObject.createImmutable("");__ref.setField("_rutapreventa",b4xmainpage._rutapreventa);
b4xmainpage._cantidadprod = RemoteObject.createImmutable("");__ref.setField("_cantidadprod",b4xmainpage._cantidadprod);
 //BA.debugLineNum = 49;BA.debugLine="Dim ultimaActualizacionGPS As String = 235959";
b4xmainpage._ultimaactualizaciongps = BA.NumberToString(235959);__ref.setField("_ultimaactualizaciongps",b4xmainpage._ultimaactualizaciongps);
 //BA.debugLineNum = 50;BA.debugLine="Dim fechaRuta As String";
b4xmainpage._fecharuta = RemoteObject.createImmutable("");__ref.setField("_fecharuta",b4xmainpage._fecharuta);
 //BA.debugLineNum = 53;BA.debugLine="Dim srvIp As String";
b4xmainpage._srvip = RemoteObject.createImmutable("");__ref.setField("_srvip",b4xmainpage._srvip);
 //BA.debugLineNum = 54;BA.debugLine="Dim phn As Phone";
b4xmainpage._phn = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_phn",b4xmainpage._phn);
 //BA.debugLineNum = 55;BA.debugLine="Dim user As EditText";
b4xmainpage._user = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_user",b4xmainpage._user);
 //BA.debugLineNum = 56;BA.debugLine="Dim pass As EditText";
b4xmainpage._pass = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_pass",b4xmainpage._pass);
 //BA.debugLineNum = 57;BA.debugLine="Dim c As Cursor";
b4xmainpage._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",b4xmainpage._c);
 //BA.debugLineNum = 58;BA.debugLine="Dim existe As String";
b4xmainpage._existe = RemoteObject.createImmutable("");__ref.setField("_existe",b4xmainpage._existe);
 //BA.debugLineNum = 59;BA.debugLine="Dim paso1 As String";
b4xmainpage._paso1 = RemoteObject.createImmutable("");__ref.setField("_paso1",b4xmainpage._paso1);
 //BA.debugLineNum = 60;BA.debugLine="Private IMEN As Label";
b4xmainpage._imen = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_imen",b4xmainpage._imen);
 //BA.debugLineNum = 61;BA.debugLine="Dim IMEI As String";
b4xmainpage._imei = RemoteObject.createImmutable("");__ref.setField("_imei",b4xmainpage._imei);
 //BA.debugLineNum = 62;BA.debugLine="Private Label1 As Label";
b4xmainpage._label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label1",b4xmainpage._label1);
 //BA.debugLineNum = 63;BA.debugLine="Dim server As String";
b4xmainpage._server = RemoteObject.createImmutable("");__ref.setField("_server",b4xmainpage._server);
 //BA.debugLineNum = 64;BA.debugLine="Private p_principal As Panel";
b4xmainpage._p_principal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_principal",b4xmainpage._p_principal);
 //BA.debugLineNum = 65;BA.debugLine="Private Entrar As Button";
b4xmainpage._entrar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_entrar",b4xmainpage._entrar);
 //BA.debugLineNum = 66;BA.debugLine="Public checklist As C_Cheklist";
b4xmainpage._checklist = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_cheklist");__ref.setField("_checklist",b4xmainpage._checklist);
 //BA.debugLineNum = 67;BA.debugLine="Public tabulador As C_tabulador";
b4xmainpage._tabulador = RemoteObject.createNew ("reparto_mazapa.keymon.lat.c_tabulador");__ref.setField("_tabulador",b4xmainpage._tabulador);
 //BA.debugLineNum = 68;BA.debugLine="Dim batt As Int";
b4xmainpage._batt = RemoteObject.createImmutable(0);__ref.setField("_batt",b4xmainpage._batt);
 //BA.debugLineNum = 69;BA.debugLine="Dim porVisitar, entregas, rechazos, montoEntregad";
b4xmainpage._porvisitar = RemoteObject.createImmutable("");__ref.setField("_porvisitar",b4xmainpage._porvisitar);
b4xmainpage._entregas = RemoteObject.createImmutable("");__ref.setField("_entregas",b4xmainpage._entregas);
b4xmainpage._rechazos = RemoteObject.createImmutable("");__ref.setField("_rechazos",b4xmainpage._rechazos);
b4xmainpage._montoentregado = RemoteObject.createImmutable("");__ref.setField("_montoentregado",b4xmainpage._montoentregado);
b4xmainpage._montorechazado = RemoteObject.createImmutable("");__ref.setField("_montorechazado",b4xmainpage._montorechazado);
 //BA.debugLineNum = 70;BA.debugLine="Private p_appUpdate As Panel";
b4xmainpage._p_appupdate = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_appupdate",b4xmainpage._p_appupdate);
 //BA.debugLineNum = 71;BA.debugLine="Private i_engrane As ImageView";
b4xmainpage._i_engrane = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_i_engrane",b4xmainpage._i_engrane);
 //BA.debugLineNum = 72;BA.debugLine="Private b_server As Button";
b4xmainpage._b_server = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_server",b4xmainpage._b_server);
 //BA.debugLineNum = 73;BA.debugLine="Private b_apk As Button";
b4xmainpage._b_apk = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_apk",b4xmainpage._b_apk);
 //BA.debugLineNum = 74;BA.debugLine="Private b_envioBD As Button";
b4xmainpage._b_enviobd = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_enviobd",b4xmainpage._b_enviobd);
 //BA.debugLineNum = 75;BA.debugLine="Private b_regesar As Button";
b4xmainpage._b_regesar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_regesar",b4xmainpage._b_regesar);
 //BA.debugLineNum = 76;BA.debugLine="Private et_server As EditText";
b4xmainpage._et_server = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_server",b4xmainpage._et_server);
 //BA.debugLineNum = 77;BA.debugLine="Private p_serverList As Panel";
b4xmainpage._p_serverlist = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_serverlist",b4xmainpage._p_serverlist);
 //BA.debugLineNum = 78;BA.debugLine="Private lv_server As ListView";
b4xmainpage._lv_server = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_server",b4xmainpage._lv_server);
 //BA.debugLineNum = 79;BA.debugLine="Public Provider As FileProvider";
b4xmainpage._provider = RemoteObject.createNew ("reparto_mazapa.keymon.lat.fileprovider");__ref.setField("_provider",b4xmainpage._provider);
 //BA.debugLineNum = 80;BA.debugLine="Public rutaBDBackup As String = \"\"";
b4xmainpage._rutabdbackup = BA.ObjectToString("");__ref.setField("_rutabdbackup",b4xmainpage._rutabdbackup);
 //BA.debugLineNum = 81;BA.debugLine="Private B_Can_Monto As Button";
b4xmainpage._b_can_monto = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_can_monto",b4xmainpage._b_can_monto);
 //BA.debugLineNum = 82;BA.debugLine="Private B_Aceptar_Monto As Button";
b4xmainpage._b_aceptar_monto = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_aceptar_monto",b4xmainpage._b_aceptar_monto);
 //BA.debugLineNum = 83;BA.debugLine="Private ET_Add_Monto As EditText";
b4xmainpage._et_add_monto = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_add_monto",b4xmainpage._et_add_monto);
 //BA.debugLineNum = 84;BA.debugLine="Private p_add_monto As Panel";
b4xmainpage._p_add_monto = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_add_monto",b4xmainpage._p_add_monto);
 //BA.debugLineNum = 85;BA.debugLine="Dim sDate, sTime As String";
b4xmainpage._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",b4xmainpage._sdate);
b4xmainpage._stime = RemoteObject.createImmutable("");__ref.setField("_stime",b4xmainpage._stime);
 //BA.debugLineNum = 86;BA.debugLine="Private p_validacion As Panel";
b4xmainpage._p_validacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_validacion",b4xmainpage._p_validacion);
 //BA.debugLineNum = 87;BA.debugLine="Private b_cancelarcodigo As Button";
b4xmainpage._b_cancelarcodigo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancelarcodigo",b4xmainpage._b_cancelarcodigo);
 //BA.debugLineNum = 88;BA.debugLine="Private b_aceptar As Button";
b4xmainpage._b_aceptar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_aceptar",b4xmainpage._b_aceptar);
 //BA.debugLineNum = 89;BA.debugLine="Private et_codigo As EditText";
b4xmainpage._et_codigo = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_codigo",b4xmainpage._et_codigo);
 //BA.debugLineNum = 90;BA.debugLine="Private P_CIEGO As Panel";
b4xmainpage._p_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_ciego",b4xmainpage._p_ciego);
 //BA.debugLineNum = 91;BA.debugLine="Private b_terpc As Button";
b4xmainpage._b_terpc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_terpc",b4xmainpage._b_terpc);
 //BA.debugLineNum = 92;BA.debugLine="Private B_PC_ENV As Button";
b4xmainpage._b_pc_env = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_pc_env",b4xmainpage._b_pc_env);
 //BA.debugLineNum = 93;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView";
b4xmainpage._clv_pick_ciego = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_pick_ciego",b4xmainpage._clv_pick_ciego);
 //BA.debugLineNum = 94;BA.debugLine="Private et_buspc As EditText";
b4xmainpage._et_buspc = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_buspc",b4xmainpage._et_buspc);
 //BA.debugLineNum = 95;BA.debugLine="Dim q_buscar As String";
b4xmainpage._q_buscar = RemoteObject.createImmutable("");__ref.setField("_q_buscar",b4xmainpage._q_buscar);
 //BA.debugLineNum = 96;BA.debugLine="Dim d As Cursor";
b4xmainpage._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",b4xmainpage._d);
 //BA.debugLineNum = 97;BA.debugLine="Private L_PICK_CIEGO As Label";
b4xmainpage._l_pick_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pick_ciego",b4xmainpage._l_pick_ciego);
 //BA.debugLineNum = 98;BA.debugLine="Private ET_PICK_CIEGO As EditText";
b4xmainpage._et_pick_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_pick_ciego",b4xmainpage._et_pick_ciego);
 //BA.debugLineNum = 99;BA.debugLine="Dim a As Cursor";
b4xmainpage._a = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_a",b4xmainpage._a);
 //BA.debugLineNum = 100;BA.debugLine="Dim f As Cursor";
b4xmainpage._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",b4xmainpage._f);
 //BA.debugLineNum = 101;BA.debugLine="Private b_CargarMonto As Button";
b4xmainpage._b_cargarmonto = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cargarmonto",b4xmainpage._b_cargarmonto);
 //BA.debugLineNum = 102;BA.debugLine="Private b_arqueocieego As Button";
b4xmainpage._b_arqueocieego = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_arqueocieego",b4xmainpage._b_arqueocieego);
 //BA.debugLineNum = 103;BA.debugLine="Private Label2 As Label";
b4xmainpage._label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label2",b4xmainpage._label2);
 //BA.debugLineNum = 104;BA.debugLine="Private B4XSwitch2 As B4XSwitch";
b4xmainpage._b4xswitch2 = RemoteObject.createNew ("reparto_mazapa.keymon.lat.b4xswitch");__ref.setField("_b4xswitch2",b4xmainpage._b4xswitch2);
 //BA.debugLineNum = 105;BA.debugLine="Private p_GeoPass As Panel";
b4xmainpage._p_geopass = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_geopass",b4xmainpage._p_geopass);
 //BA.debugLineNum = 106;BA.debugLine="Private bAcepGeo As Button";
b4xmainpage._bacepgeo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_bacepgeo",b4xmainpage._bacepgeo);
 //BA.debugLineNum = 107;BA.debugLine="Private bCanGeo As Button";
b4xmainpage._bcangeo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_bcangeo",b4xmainpage._bcangeo);
 //BA.debugLineNum = 108;BA.debugLine="Private p_centraGeoPass As Panel";
b4xmainpage._p_centrageopass = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_centrageopass",b4xmainpage._p_centrageopass);
 //BA.debugLineNum = 109;BA.debugLine="Private l_fondoPass As Label";
b4xmainpage._l_fondopass = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_fondopass",b4xmainpage._l_fondopass);
 //BA.debugLineNum = 110;BA.debugLine="Private et_passGeo As EditText";
b4xmainpage._et_passgeo = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_passgeo",b4xmainpage._et_passgeo);
 //BA.debugLineNum = 111;BA.debugLine="Private l_ingresaPass As Label";
b4xmainpage._l_ingresapass = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ingresapass",b4xmainpage._l_ingresapass);
 //BA.debugLineNum = 112;BA.debugLine="End Sub";
return RemoteObject.createImmutable("");
}
public static RemoteObject  _createlistitem(RemoteObject __ref,RemoteObject _id_prod,RemoteObject _prod,RemoteObject _cant) throws Exception{
try {
		Debug.PushSubsStack("CreateListItem (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1065);
if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "b4xmainpage","createlistitem", __ref, _id_prod, _prod, _cant);}
RemoteObject _pa = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
Debug.locals.put("Id_prod", _id_prod);
Debug.locals.put("Prod", _prod);
Debug.locals.put("cant", _cant);
 BA.debugLineNum = 1065;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri";
Debug.ShouldStop(256);
 BA.debugLineNum = 1066;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")";
Debug.ShouldStop(512);
_pa = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_pa = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("pa", _pa);Debug.locals.put("pa", _pa);
 BA.debugLineNum = 1067;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)";
Debug.ShouldStop(1024);
_pa.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 10)));
 BA.debugLineNum = 1068;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")";
Debug.ShouldStop(2048);
_pa.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("PANEL_PICK_CIEGO")),__ref.getField(false, "ba"));
 BA.debugLineNum = 1069;BA.debugLine="pa.Height = 55dip";
Debug.ShouldStop(4096);
_pa.runMethod(true,"setHeight",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55))));
 BA.debugLineNum = 1070;BA.debugLine="pa.Width = 298dip";
Debug.ShouldStop(8192);
_pa.runMethod(true,"setWidth",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 298))));
 BA.debugLineNum = 1072;BA.debugLine="L_PICK_CIEGO.Text = Id_prod &  CRLF & Prod";
Debug.ShouldStop(32768);
__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_id_prod,b4xmainpage.__c.getField(true,"CRLF"),_prod)));
 BA.debugLineNum = 1073;BA.debugLine="L_PICK_CIEGO.TextSize = 12";
Debug.ShouldStop(65536);
__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 12));
 BA.debugLineNum = 1074;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT";
Debug.ShouldStop(131072);
__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setGravity",b4xmainpage.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(b4xmainpage.__c.getField(false,"Gravity").getField(true,"CENTER_VERTICAL")),(Object)(b4xmainpage.__c.getField(false,"Gravity").getField(true,"CENTER_HORIZONTAL"))));
 BA.debugLineNum = 1075;BA.debugLine="ET_PICK_CIEGO.Text = cant";
Debug.ShouldStop(262144);
__ref.getField(false,"_et_pick_ciego" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_cant));
 BA.debugLineNum = 1078;BA.debugLine="Return pa";
Debug.ShouldStop(2097152);
if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _pa.getObject());
 BA.debugLineNum = 1079;BA.debugLine="End Sub";
Debug.ShouldStop(4194304);
return RemoteObject.createImmutable(null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _createlistitem2(RemoteObject __ref,RemoteObject _id_prod,RemoteObject _prod) throws Exception{
try {
		Debug.PushSubsStack("CreateListItem2 (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1081);
if (RapidSub.canDelegate("createlistitem2")) { return __ref.runUserSub(false, "b4xmainpage","createlistitem2", __ref, _id_prod, _prod);}
RemoteObject _pa = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
Debug.locals.put("Id_prod", _id_prod);
Debug.locals.put("Prod", _prod);
 BA.debugLineNum = 1081;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str";
Debug.ShouldStop(16777216);
 BA.debugLineNum = 1082;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")";
Debug.ShouldStop(33554432);
_pa = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_pa = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("pa", _pa);Debug.locals.put("pa", _pa);
 BA.debugLineNum = 1083;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)";
Debug.ShouldStop(67108864);
_pa.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 10)));
 BA.debugLineNum = 1084;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")";
Debug.ShouldStop(134217728);
_pa.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("PANEL_PICK_CIEGO")),__ref.getField(false, "ba"));
 BA.debugLineNum = 1085;BA.debugLine="pa.Height = 55dip";
Debug.ShouldStop(268435456);
_pa.runMethod(true,"setHeight",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55))));
 BA.debugLineNum = 1086;BA.debugLine="pa.Width = 298dip";
Debug.ShouldStop(536870912);
_pa.runMethod(true,"setWidth",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 298))));
 BA.debugLineNum = 1088;BA.debugLine="L_PICK_CIEGO.Text = Id_prod &  CRLF & Prod";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_id_prod,b4xmainpage.__c.getField(true,"CRLF"),_prod)));
 BA.debugLineNum = 1089;BA.debugLine="L_PICK_CIEGO.TextSize = 12";
Debug.ShouldStop(1);
__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 12));
 BA.debugLineNum = 1090;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT";
Debug.ShouldStop(2);
__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setGravity",b4xmainpage.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(b4xmainpage.__c.getField(false,"Gravity").getField(true,"CENTER_VERTICAL")),(Object)(b4xmainpage.__c.getField(false,"Gravity").getField(true,"CENTER_HORIZONTAL"))));
 BA.debugLineNum = 1093;BA.debugLine="Return pa";
Debug.ShouldStop(16);
if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _pa.getObject());
 BA.debugLineNum = 1094;BA.debugLine="End Sub";
Debug.ShouldStop(32);
return RemoteObject.createImmutable(null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _entrar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Entrar_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,344);
if (RapidSub.canDelegate("entrar_click")) { return __ref.runUserSub(false, "b4xmainpage","entrar_click", __ref);}
RemoteObject _cmd = RemoteObject.declareNull("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");
 BA.debugLineNum = 344;BA.debugLine="Sub Entrar_Click";
Debug.ShouldStop(8388608);
 BA.debugLineNum = 345;BA.debugLine="If pass.Text = \"YA\" Then";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("YA"))) { 
 BA.debugLineNum = 346;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa\"";
Debug.ShouldStop(33554432);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa")));
 BA.debugLineNum = 347;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSION\")";
Debug.ShouldStop(67108864);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION")));
 BA.debugLineNum = 348;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIOA";
Debug.ShouldStop(134217728);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO USUARIOA VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("ROOT")),(RemoteObject.createImmutable("ROOT"))})))));
 BA.debugLineNum = 349;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_almac";
Debug.ShouldStop(268435456);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen")));
 BA.debugLineNum = 350;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMA";
Debug.ShouldStop(536870912);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"))})))));
 BA.debugLineNum = 351;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSION(";
Debug.ShouldStop(1073741824);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO VERSION(NOVERSION) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("2.1"))})))));
 BA.debugLineNum = 354;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(2);
b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 }else {
 BA.debugLineNum = 356;BA.debugLine="c=Starter.skmt.ExecQuery2(\"select count(*) as EX";
Debug.ShouldStop(8);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as EXISTE1 from usuarioa where usuario = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")}))));
 BA.debugLineNum = 357;BA.debugLine="c.Position=0";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 358;BA.debugLine="existe = c.GetString(\"EXISTE1\")";
Debug.ShouldStop(32);
__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE1"))));
 BA.debugLineNum = 359;BA.debugLine="c.Close";
Debug.ShouldStop(64);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 361;BA.debugLine="If existe = 0 Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_existe" /*RemoteObject*/ ),BA.NumberToString(0))) { 
 BA.debugLineNum = 363;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(1024);
_cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd);
 BA.debugLineNum = 364;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(2048);
_cmd.runVoidMethod ("Initialize");
 BA.debugLineNum = 365;BA.debugLine="cmd.Name = \"select_usuario_MAZAPA_REPG\"";
Debug.ShouldStop(4096);
_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_usuario_MAZAPA_REPG"));
 BA.debugLineNum = 366;BA.debugLine="cmd.Parameters = Array As Object(user.Text, pas";
Debug.ShouldStop(8192);
_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 367;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario\")";
Debug.ShouldStop(16384);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(_cmd),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("usuario"))));
 }else {
 BA.debugLineNum = 375;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(4194304);
b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 };
 };
 BA.debugLineNum = 378;BA.debugLine="End Sub";
Debug.ShouldStop(33554432);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _enviarmonto(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("enviarmonto (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,744);
if (RapidSub.canDelegate("enviarmonto")) { return __ref.runUserSub(false, "b4xmainpage","enviarmonto", __ref);}
RemoteObject _a2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _fecha = null;
RemoteObject _fecha2 = null;
RemoteObject _fecha3 = RemoteObject.createImmutable("");
RemoteObject _hora = null;
RemoteObject _ci = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _u = RemoteObject.createImmutable("");
RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cmd = RemoteObject.declareNull("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");
 BA.debugLineNum = 744;BA.debugLine="Sub enviarmonto";
Debug.ShouldStop(128);
 BA.debugLineNum = 746;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(512);
b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 747;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(1024);
__ref.setField ("_sdate" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 748;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(2048);
__ref.setField ("_stime" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 750;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec";
Debug.ShouldStop(8192);
b4xmainpage._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
b4xmainpage._f = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA"))));__ref.setField("_f",b4xmainpage._f);
 BA.debugLineNum = 751;BA.debugLine="f.Position=0";
Debug.ShouldStop(16384);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 753;BA.debugLine="Private a As Cursor=Starter.skmt.ExecQuery(\"selec";
Debug.ShouldStop(65536);
b4xmainpage._a = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
b4xmainpage._a = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));__ref.setField("_a",b4xmainpage._a);
 BA.debugLineNum = 754;BA.debugLine="If a.RowCount>0 Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 755;BA.debugLine="a.Position=0";
Debug.ShouldStop(262144);
__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 };
 BA.debugLineNum = 758;BA.debugLine="Private a2 As Cursor = Starter.skmt.ExecQuery(\"SE";
Debug.ShouldStop(2097152);
_a2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_a2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_FECHA FROM HIST_VENTAS"))));Debug.locals.put("a2", _a2);Debug.locals.put("a2", _a2);
 BA.debugLineNum = 759;BA.debugLine="If a2.RowCount>0 Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean(">",_a2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 760;BA.debugLine="a2.Position=0";
Debug.ShouldStop(8388608);
_a2.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 761;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", a2.GetS";
Debug.ShouldStop(16777216);
_fecha = b4xmainpage.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(_a2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fecha", _fecha);Debug.locals.put("fecha", _fecha);
 BA.debugLineNum = 762;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha(";
Debug.ShouldStop(33554432);
_fecha2 = b4xmainpage.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("-")),(Object)(_fecha.getArrayElement(true,BA.numberCast(int.class, 0))));Debug.locals.put("fecha2", _fecha2);Debug.locals.put("fecha2", _fecha2);
 BA.debugLineNum = 763;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\"";
Debug.ShouldStop(67108864);
_fecha3 = RemoteObject.concat(_fecha2.getArrayElement(true,BA.numberCast(int.class, 2)),RemoteObject.createImmutable("/"),_fecha2.getArrayElement(true,BA.numberCast(int.class, 1)),RemoteObject.createImmutable("/"),_fecha2.getArrayElement(true,BA.numberCast(int.class, 0)));Debug.locals.put("fecha3", _fecha3);Debug.locals.put("fecha3", _fecha3);
 BA.debugLineNum = 764;BA.debugLine="Log(fecha3)";
Debug.ShouldStop(134217728);
b4xmainpage.__c.runVoidMethod ("LogImpl","32424852",_fecha3,0);
 BA.debugLineNum = 765;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1";
Debug.ShouldStop(268435456);
_hora = b4xmainpage.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\.")),(Object)(_fecha.getArrayElement(true,BA.numberCast(int.class, 1))));Debug.locals.put("hora", _hora);Debug.locals.put("hora", _hora);
 BA.debugLineNum = 766;BA.debugLine="Log(hora(0))";
Debug.ShouldStop(536870912);
b4xmainpage.__c.runVoidMethod ("LogImpl","32424854",_hora.getArrayElement(true,BA.numberCast(int.class, 0)),0);
 };
 BA.debugLineNum = 771;BA.debugLine="Private cI As Cursor";
Debug.ShouldStop(4);
_ci = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("cI", _ci);
 BA.debugLineNum = 772;BA.debugLine="Private u As String = \"SinUsuario\"";
Debug.ShouldStop(8);
_u = BA.ObjectToString("SinUsuario");Debug.locals.put("u", _u);Debug.locals.put("u", _u);
 BA.debugLineNum = 773;BA.debugLine="cI=Starter.skmt.ExecQuery(\"select USUARIO from us";
Debug.ShouldStop(16);
_ci = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));Debug.locals.put("cI", _ci);
 BA.debugLineNum = 774;BA.debugLine="cI.Position=0";
Debug.ShouldStop(32);
_ci.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 775;BA.debugLine="If cI.RowCount > 0 Then u = cI.GetString(\"USUARIO";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean(">",_ci.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
_u = _ci.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")));Debug.locals.put("u", _u);};
 BA.debugLineNum = 776;BA.debugLine="Private g As Cursor = Starter.skmt.ExecQuery(\"sel";
Debug.ShouldStop(128);
_g = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_g = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from ENV_MONTO_LIQ"))));Debug.locals.put("g", _g);Debug.locals.put("g", _g);
 BA.debugLineNum = 777;BA.debugLine="If g.RowCount = 0 Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_g.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 778;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ENV_MONT";
Debug.ShouldStop(512);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO ENV_MONTO_LIQ VALUES (?,?,?,?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(__ref.getField(false,"_et_add_monto" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")))),(_u),(RemoteObject.concat(_fecha3,RemoteObject.createImmutable(" "),_hora.getArrayElement(true,BA.numberCast(int.class, 0))))})))));
 BA.debugLineNum = 779;BA.debugLine="f.Close";
Debug.ShouldStop(1024);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 780;BA.debugLine="a.Close";
Debug.ShouldStop(2048);
__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 783;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MO";
Debug.ShouldStop(16384);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM ENV_MONTO_LIQ"))));
 BA.debugLineNum = 784;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 785;BA.debugLine="c.Position = 0";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 786;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(131072);
_cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd);
 BA.debugLineNum = 787;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(262144);
_cmd.runVoidMethod ("Initialize");
 BA.debugLineNum = 788;BA.debugLine="cmd.Name = \"select_MontoCuenta_MAZAPArep\"";
Debug.ShouldStop(524288);
_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_MontoCuenta_MAZAPArep"));
 BA.debugLineNum = 789;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"E";
Debug.ShouldStop(1048576);
_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_FECHA_PED"))))}));
 BA.debugLineNum = 790;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLi";
Debug.ShouldStop(2097152);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(_cmd),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("SelectMontoLiq"))));
 };
 BA.debugLineNum = 792;BA.debugLine="c.Close";
Debug.ShouldStop(8388608);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else {
 BA.debugLineNum = 794;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE ENV_MONTO_LIQ";
Debug.ShouldStop(33554432);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE ENV_MONTO_LIQ SET EML_MONTO = ? WHERE EML_ALMACEN = ? AND EML_RUTA = ? AND EML_USUARIO = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {4},new Object[] {__ref.getField(false,"_et_add_monto" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),_ci.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))})))));
 BA.debugLineNum = 795;BA.debugLine="f.Close";
Debug.ShouldStop(67108864);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 796;BA.debugLine="a.Close";
Debug.ShouldStop(134217728);
__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 798;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MO";
Debug.ShouldStop(536870912);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM ENV_MONTO_LIQ"))));
 BA.debugLineNum = 799;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 800;BA.debugLine="c.Position = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 801;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(1);
_cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd);
 BA.debugLineNum = 802;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(2);
_cmd.runVoidMethod ("Initialize");
 BA.debugLineNum = 803;BA.debugLine="cmd.Name = \"select_MontoCuenta_MAZAPArep\"";
Debug.ShouldStop(4);
_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_MontoCuenta_MAZAPArep"));
 BA.debugLineNum = 804;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"E";
Debug.ShouldStop(8);
_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_FECHA_PED"))))}));
 BA.debugLineNum = 805;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLi";
Debug.ShouldStop(16);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(_cmd),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("SelectMontoLiq"))));
 };
 BA.debugLineNum = 807;BA.debugLine="c.Close";
Debug.ShouldStop(64);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 810;BA.debugLine="p_add_monto.Visible = False";
Debug.ShouldStop(512);
__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 812;BA.debugLine="End Sub";
Debug.ShouldStop(2048);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _et_buspc_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{
try {
		Debug.PushSubsStack("et_buspc_TextChanged (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,827);
if (RapidSub.canDelegate("et_buspc_textchanged")) { return __ref.runUserSub(false, "b4xmainpage","et_buspc_textchanged", __ref, _old, _new);}
int _i = 0;
Debug.locals.put("Old", _old);
Debug.locals.put("New", _new);
 BA.debugLineNum = 827;BA.debugLine="Private Sub et_buspc_TextChanged (Old As String, N";
Debug.ShouldStop(67108864);
 BA.debugLineNum = 828;BA.debugLine="If New = \"\" Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("=",_new,BA.ObjectToString(""))) { 
 BA.debugLineNum = 829;BA.debugLine="CLV_PICK_CIEGO.Clear";
Debug.ShouldStop(268435456);
__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear");
 }else 
{ BA.debugLineNum = 830;BA.debugLine="Else If New.Length >= 3 Then";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("g",_new.runMethod(true,"length"),BA.numberCast(double.class, 3))) { 
 BA.debugLineNum = 831;BA.debugLine="CLV_PICK_CIEGO.Clear";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear");
 BA.debugLineNum = 833;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\"";
Debug.ShouldStop(1);
__ref.setField ("_q_buscar" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable("%"),__ref.getField(false,"_et_buspc" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("%")));
 BA.debugLineNum = 834;BA.debugLine="Log(q_buscar)";
Debug.ShouldStop(2);
b4xmainpage.__c.runVoidMethod ("LogImpl","32621447",__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),0);
 BA.debugLineNum = 835;BA.debugLine="c=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBRE";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)((RemoteObject.createImmutable("select CAT_GP_NOMBRE, CAT_GP_ID , ifnull(PC_CANT,0) AS PC_CANT FROM CAT_GUNAPROD3 INNER JOIN PICK_CIEGO ON PC_ID_PROD = CAT_GP_ID AND PC_NOM_PROD = CAT_GP_NOMBRE WHERE (CAT_GP_NOMBRE LIKE ? OR  CAT_GP_ID  LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"))),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ )}))));
 BA.debugLineNum = 836;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 839;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(64);
{
final int step9 = 1;
final int limit9 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step9 > 0 && _i <= limit9) || (step9 < 0 && _i >= limit9) ;_i = ((int)(0 + _i + step9))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 840;BA.debugLine="c.Position = i";
Debug.ShouldStop(128);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 841;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem(c.GetString(";
Debug.ShouldStop(256);
__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_mazapa.keymon.lat.b4xmainpage.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CANT"))))).getObject()),(Object)(RemoteObject.createImmutable((_i))));
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 844;BA.debugLine="c.Close";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 846;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR";
Debug.ShouldStop(8192);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)((RemoteObject.createImmutable("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR  CAT_GP_ID  LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'AND CAT_GP_ID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO)"))),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ )}))));
 BA.debugLineNum = 848;BA.debugLine="For i = 0 To d.RowCount - 1";
Debug.ShouldStop(32768);
{
final int step15 = 1;
final int limit15 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step15 > 0 && _i <= limit15) || (step15 < 0 && _i >= limit15) ;_i = ((int)(0 + _i + step15))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 849;BA.debugLine="d.Position = i";
Debug.ShouldStop(65536);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 850;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString";
Debug.ShouldStop(131072);
__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_mazapa.keymon.lat.b4xmainpage.class, "_createlistitem2" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))).getObject()),(Object)(RemoteObject.createImmutable((_i))));
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 853;BA.debugLine="d.Close";
Debug.ShouldStop(1048576);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else 
{ BA.debugLineNum = 855;BA.debugLine="Else If c.RowCount = 0 Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 856;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR";
Debug.ShouldStop(8388608);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)((RemoteObject.createImmutable("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR  CAT_GP_ID  LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"))),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ )}))));
 BA.debugLineNum = 858;BA.debugLine="For i = 0 To d.RowCount - 1";
Debug.ShouldStop(33554432);
{
final int step22 = 1;
final int limit22 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step22 > 0 && _i <= limit22) || (step22 < 0 && _i >= limit22) ;_i = ((int)(0 + _i + step22))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 859;BA.debugLine="d.Position = i";
Debug.ShouldStop(67108864);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 860;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString";
Debug.ShouldStop(134217728);
__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_mazapa.keymon.lat.b4xmainpage.class, "_createlistitem2" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))).getObject()),(Object)(RemoteObject.createImmutable((_i))));
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 863;BA.debugLine="d.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 }}
;
 }}
;
 BA.debugLineNum = 866;BA.debugLine="End Sub";
Debug.ShouldStop(2);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _i_engrane_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("i_engrane_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,610);
if (RapidSub.canDelegate("i_engrane_click")) { return __ref.runUserSub(false, "b4xmainpage","i_engrane_click", __ref);}
 BA.debugLineNum = 610;BA.debugLine="Private Sub i_engrane_Click";
Debug.ShouldStop(2);
 BA.debugLineNum = 611;BA.debugLine="p_appUpdate.Width = Root.Width";
Debug.ShouldStop(4);
__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 612;BA.debugLine="p_appUpdate.Height = Root.Height";
Debug.ShouldStop(8);
__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 613;BA.debugLine="Subs.centraPanel(p_serverList, Root.Width)";
Debug.ShouldStop(16);
b4xmainpage._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_serverlist" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 614;BA.debugLine="Subs.centraBoton(b_server, Root.Width)";
Debug.ShouldStop(32);
b4xmainpage._subs.runVoidMethod ("_centraboton" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_b_server" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 615;BA.debugLine="Subs.centraBoton(b_apk, Root.Width)";
Debug.ShouldStop(64);
b4xmainpage._subs.runVoidMethod ("_centraboton" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_b_apk" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 616;BA.debugLine="Subs.centraBoton(b_envioBD, Root.Width)";
Debug.ShouldStop(128);
b4xmainpage._subs.runVoidMethod ("_centraboton" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_b_enviobd" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 617;BA.debugLine="Subs.centraBoton(b_regesar, Root.Width)";
Debug.ShouldStop(256);
b4xmainpage._subs.runVoidMethod ("_centraboton" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_b_regesar" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 618;BA.debugLine="Subs.centraBoton(b_CargarMonto, Root.Width)";
Debug.ShouldStop(512);
b4xmainpage._subs.runVoidMethod ("_centraboton" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_b_cargarmonto" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 619;BA.debugLine="Subs.centraBoton(b_arqueocieego, Root.Width)";
Debug.ShouldStop(1024);
b4xmainpage._subs.runVoidMethod ("_centraboton" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_b_arqueocieego" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 620;BA.debugLine="Subs.centraBoton(b_server, p_serverList.Width)";
Debug.ShouldStop(2048);
b4xmainpage._subs.runVoidMethod ("_centraboton" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_b_server" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_p_serverlist" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 621;BA.debugLine="lv_server.Clear";
Debug.ShouldStop(4096);
__ref.getField(false,"_lv_server" /*RemoteObject*/ ).runVoidMethod ("Clear");
 BA.debugLineNum = 622;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.lat:1782\")";
Debug.ShouldStop(8192);
__ref.getField(false,"_lv_server" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("http://keymon.lat:1782"))));
 BA.debugLineNum = 623;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { 
__ref.getField(false,"_lv_server" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("http://10.0.0.205:1782"))));};
 BA.debugLineNum = 625;BA.debugLine="et_server.Text = server";
Debug.ShouldStop(65536);
__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_server" /*RemoteObject*/ )));
 BA.debugLineNum = 626;BA.debugLine="Subs.panelVisible(p_appUpdate, 0, 0)";
Debug.ShouldStop(131072);
b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_appupdate" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 BA.debugLineNum = 628;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO FRO";
Debug.ShouldStop(524288);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HABILITADO FROM GPS"))));
 BA.debugLineNum = 629;BA.debugLine="If c.RowCount = 0 Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 630;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO GPS VALU";
Debug.ShouldStop(2097152);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO GPS VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))})))));
 };
 BA.debugLineNum = 633;BA.debugLine="End Sub";
Debug.ShouldStop(16777216);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _imageview1_longclick(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("ImageView1_LongClick (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1096);
if (RapidSub.canDelegate("imageview1_longclick")) { return __ref.runUserSub(false, "b4xmainpage","imageview1_longclick", __ref);}
 BA.debugLineNum = 1096;BA.debugLine="Private Sub ImageView1_LongClick";
Debug.ShouldStop(128);
 BA.debugLineNum = 1098;BA.debugLine="End Sub";
Debug.ShouldStop(512);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{
try {
		Debug.PushSubsStack("Initialize (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,114);
if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xmainpage","initialize", __ref, _ba);}
__ref.runVoidMethodAndSync("innerInitializeHelper", _ba);
Debug.locals.put("ba", _ba);
 BA.debugLineNum = 114;BA.debugLine="Public Sub Initialize";
Debug.ShouldStop(131072);
 BA.debugLineNum = 116;BA.debugLine="End Sub";
Debug.ShouldStop(524288);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _jobdone(RemoteObject __ref,RemoteObject _job) throws Exception{
try {
		Debug.PushSubsStack("JobDone (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,380);
if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "b4xmainpage","jobdone", __ref, _job);}
RemoteObject _result = RemoteObject.declareNull("reparto_mazapa.keymon.lat.dbrequestmanager._dbresult");
RemoteObject _records = null;
RemoteObject _cat_ve_version = RemoteObject.createImmutable("");
RemoteObject _id_almacen = RemoteObject.createImmutable("");
RemoteObject _lat = RemoteObject.createImmutable(0);
RemoteObject _lon = RemoteObject.createImmutable(0);
RemoteObject _name = RemoteObject.createImmutable("");
RemoteObject _imei_base = RemoteObject.createImmutable("");
RemoteObject _cat_pa_pass = RemoteObject.createImmutable("");
RemoteObject _id = RemoteObject.createImmutable("");
RemoteObject _cuenta = RemoteObject.createImmutable("");
RemoteObject _cmd = RemoteObject.declareNull("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");
RemoteObject _hvd_estatus = RemoteObject.createImmutable("");
RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
Debug.locals.put("Job", _job);
 BA.debugLineNum = 380;BA.debugLine="Sub JobDone(Job As HttpJob)";
Debug.ShouldStop(134217728);
 BA.debugLineNum = 381;BA.debugLine="If Job.Success = False Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),b4xmainpage.__c.getField(true,"False"))) { 
 BA.debugLineNum = 382;BA.debugLine="ToastMessageShow(\"Error: \" & Job.ErrorMessage, T";
Debug.ShouldStop(536870912);
b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Error: "),_job.getField(true,"_errormessage" /*RemoteObject*/ )))),(Object)(b4xmainpage.__c.getField(true,"True")));
 }else {
 BA.debugLineNum = 384;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 385;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(1);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 386;BA.debugLine="If result.Tag = \"version\" Then 'query tag";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("version")))) { 
 BA.debugLineNum = 387;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(4);
{
final RemoteObject group7 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen7 = group7.runMethod(true,"getSize").<Integer>get()
;int index7 = 0;
;
for (; index7 < groupLen7;index7++){
_records = (group7.runMethod(false,"Get",index7));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 388;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO";
Debug.ShouldStop(8);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION")));
 BA.debugLineNum = 389;BA.debugLine="Dim CAT_VE_VERSION As String = records(result";
Debug.ShouldStop(16);
_cat_ve_version = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VE_VERSION")))))));Debug.locals.put("CAT_VE_VERSION", _cat_ve_version);Debug.locals.put("CAT_VE_VERSION", _cat_ve_version);
 BA.debugLineNum = 390;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI";
Debug.ShouldStop(32);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO VERSION(NOVERSION) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_ve_version)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 395;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 396;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(2048);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 397;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("agencia")))) { 
 BA.debugLineNum = 398;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(8192);
{
final RemoteObject group17 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen17 = group17.runMethod(true,"getSize").<Integer>get()
;int index17 = 0;
;
for (; index17 < groupLen17;index17++){
_records = (group17.runMethod(false,"Get",index17));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 400;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col";
Debug.ShouldStop(32768);
_id_almacen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("ID_ALMACEN")))))));Debug.locals.put("ID_ALMACEN", _id_almacen);Debug.locals.put("ID_ALMACEN", _id_almacen);
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 405;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 406;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(2097152);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 407;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("coords_almacen")))) { 
 BA.debugLineNum = 408;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(8388608);
{
final RemoteObject group25 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen25 = group25.runMethod(true,"getSize").<Integer>get()
;int index25 = 0;
;
for (; index25 < groupLen25;index25++){
_records = (group25.runMethod(false,"Get",index25));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 409;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res";
Debug.ShouldStop(16777216);
b4xmainpage.__c.runVoidMethod ("LogImpl","31507357",RemoteObject.concat(RemoteObject.createImmutable("Coordenadas del almacen: "),_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LATITUD")))))),RemoteObject.createImmutable(","),_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LONGITUD"))))))),0);
 BA.debugLineNum = 410;BA.debugLine="Private lat, lon As Double";
Debug.ShouldStop(33554432);
_lat = RemoteObject.createImmutable(0);Debug.locals.put("lat", _lat);
_lon = RemoteObject.createImmutable(0);Debug.locals.put("lon", _lon);
 BA.debugLineNum = 411;BA.debugLine="lat = 0.0";
Debug.ShouldStop(67108864);
_lat = BA.numberCast(double.class, 0.0);Debug.locals.put("lat", _lat);
 BA.debugLineNum = 412;BA.debugLine="lon = 0.0";
Debug.ShouldStop(134217728);
_lon = BA.numberCast(double.class, 0.0);Debug.locals.put("lon", _lon);
 BA.debugLineNum = 413;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean(".",b4xmainpage.__c.runMethod(true,"IsNumber",(Object)(BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LATITUD")))))))))) && RemoteObject.solveBoolean(".",b4xmainpage.__c.runMethod(true,"IsNumber",(Object)(BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LONGITUD"))))))))))) { 
 BA.debugLineNum = 414;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT";
Debug.ShouldStop(536870912);
_lat = BA.numberCast(double.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LATITUD")))))));Debug.locals.put("lat", _lat);
 BA.debugLineNum = 415;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON";
Debug.ShouldStop(1073741824);
_lon = BA.numberCast(double.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LONGITUD")))))));Debug.locals.put("lon", _lon);
 };
 BA.debugLineNum = 417;BA.debugLine="Starter.cedisLocation.Latitude = lat";
Debug.ShouldStop(1);
b4xmainpage._starter._cedislocation /*RemoteObject*/ .runMethod(true,"setLatitude",_lat);
 BA.debugLineNum = 418;BA.debugLine="Starter.cedisLocation.Longitude = lon";
Debug.ShouldStop(2);
b4xmainpage._starter._cedislocation /*RemoteObject*/ .runMethod(true,"setLongitude",_lon);
 BA.debugLineNum = 419;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V";
Debug.ShouldStop(4);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("COORDS_ALMACEN"))})))));
 BA.debugLineNum = 420;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V";
Debug.ShouldStop(8);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("COORDS_ALMACEN")),(RemoteObject.concat(_lon,RemoteObject.createImmutable(","),_lat))})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 426;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 427;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(1024);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 428;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuario")))) { 
 BA.debugLineNum = 429;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(4096);
{
final RemoteObject group44 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen44 = group44.runMethod(true,"getSize").<Integer>get()
;int index44 = 0;
;
for (; index44 < groupLen44;index44++){
_records = (group44.runMethod(false,"Get",index44));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 430;BA.debugLine="Dim name As String = records(result.Columns.G";
Debug.ShouldStop(8192);
_name = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("USUARIO")))))));Debug.locals.put("name", _name);Debug.locals.put("name", _name);
 BA.debugLineNum = 431;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col";
Debug.ShouldStop(16384);
_id_almacen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_AGENCIA")))))));Debug.locals.put("ID_ALMACEN", _id_almacen);Debug.locals.put("ID_ALMACEN", _id_almacen);
 BA.debugLineNum = 432;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu";
Debug.ShouldStop(32768);
_imei_base = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_IDTELEFONO")))))));Debug.locals.put("IMEI_BASE", _imei_base);Debug.locals.put("IMEI_BASE", _imei_base);
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 434;BA.debugLine="paso1 = 1";
Debug.ShouldStop(131072);
__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(1));
 };
 };
 BA.debugLineNum = 438;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 439;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(4194304);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 440;BA.debugLine="If result.Tag = \"contrasena\" Then 'query tag";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("contrasena")))) { 
 BA.debugLineNum = 441;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(16777216);
{
final RemoteObject group55 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen55 = group55.runMethod(true,"getSize").<Integer>get()
;int index55 = 0;
;
for (; index55 < groupLen55;index55++){
_records = (group55.runMethod(false,"Get",index55));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 442;BA.debugLine="Dim CAT_PA_PASS As String = records(result.Co";
Debug.ShouldStop(33554432);
_cat_pa_pass = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_PASS")))))));Debug.locals.put("CAT_PA_PASS", _cat_pa_pass);Debug.locals.put("CAT_PA_PASS", _cat_pa_pass);
 BA.debugLineNum = 443;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",_cat_pa_pass,__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethod(true,"getText"))) { 
 BA.debugLineNum = 444;BA.debugLine="Log(CAT_PA_PASS)";
Debug.ShouldStop(134217728);
b4xmainpage.__c.runVoidMethod ("LogImpl","31507392",_cat_pa_pass,0);
 BA.debugLineNum = 445;BA.debugLine="p_validacion.Visible = False";
Debug.ShouldStop(268435456);
__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 446;BA.debugLine="et_codigo.Text = \"\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 448;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)";
Debug.ShouldStop(-2147483648);
b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_ciego" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 }else {
 BA.debugLineNum = 451;BA.debugLine="MsgboxAsync(\"Contraseña incorrecta\",\"Atenció";
Debug.ShouldStop(4);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Contraseña incorrecta")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 457;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 458;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(512);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 459;BA.debugLine="If result.Tag.As(String).IndexOf(\"PICK_C_\") > -";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_result.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("PICK_C_"))),BA.numberCast(double.class, -(double) (0 + 1)))) { 
 BA.debugLineNum = 461;BA.debugLine="Private id As String= result.Tag";
Debug.ShouldStop(4096);
_id = BA.ObjectToString(_result.getField(false,"Tag" /*RemoteObject*/ ));Debug.locals.put("id", _id);Debug.locals.put("id", _id);
 BA.debugLineNum = 462;BA.debugLine="id = id.SubString(id.IndexOf(\"_\")+3)";
Debug.ShouldStop(8192);
_id = _id.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_id.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("_"))),RemoteObject.createImmutable(3)}, "+",1, 1)));Debug.locals.put("id", _id);
 BA.debugLineNum = 463;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(16384);
{
final RemoteObject group73 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen73 = group73.runMethod(true,"getSize").<Integer>get()
;int index73 = 0;
;
for (; index73 < groupLen73;index73++){
_records = (group73.runMethod(false,"Get",index73));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 464;BA.debugLine="Dim CUENTA As String = records(result.Columns";
Debug.ShouldStop(32768);
_cuenta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CUENTA")))))));Debug.locals.put("CUENTA", _cuenta);Debug.locals.put("CUENTA", _cuenta);
 BA.debugLineNum = 465;BA.debugLine="Log(CUENTA)";
Debug.ShouldStop(65536);
b4xmainpage.__c.runVoidMethod ("LogImpl","31507413",_cuenta,0);
 BA.debugLineNum = 466;BA.debugLine="Log(id)";
Debug.ShouldStop(131072);
b4xmainpage.__c.runVoidMethod ("LogImpl","31507414",_id,0);
 BA.debugLineNum = 467;BA.debugLine="If CUENTA = 0 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",_cuenta,BA.NumberToString(0))) { 
 BA.debugLineNum = 468;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P";
Debug.ShouldStop(524288);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_id}))));
 BA.debugLineNum = 469;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 471;BA.debugLine="c.Position=0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 472;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(8388608);
_cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd);
 BA.debugLineNum = 473;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16777216);
_cmd.runVoidMethod ("Initialize");
 BA.debugLineNum = 474;BA.debugLine="cmd.Name = \"insert_PICKCIEGO_MAZAPA\"";
Debug.ShouldStop(33554432);
_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_PICKCIEGO_MAZAPA"));
 BA.debugLineNum = 475;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
Debug.ShouldStop(67108864);
_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ID_PROD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOM_PROD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),(RemoteObject.createImmutable("REPARTO"))}));
 BA.debugLineNum = 476;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_PC\")";
Debug.ShouldStop(134217728);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("ins_PC"))));
 };
 BA.debugLineNum = 479;BA.debugLine="c.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else 
{ BA.debugLineNum = 480;BA.debugLine="Else if CUENTA > 0 Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cuenta),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 481;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P";
Debug.ShouldStop(1);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD= ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_id}))));
 BA.debugLineNum = 482;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 484;BA.debugLine="c.Position = 0";
Debug.ShouldStop(8);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 485;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(16);
_cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd);
 BA.debugLineNum = 486;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(32);
_cmd.runVoidMethod ("Initialize");
 BA.debugLineNum = 487;BA.debugLine="cmd.Name = \"update_PICKCIEGO_MAZAPA\"";
Debug.ShouldStop(64);
_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_PICKCIEGO_MAZAPA"));
 BA.debugLineNum = 488;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))";
Debug.ShouldStop(128);
b4xmainpage.__c.runVoidMethod ("LogImpl","31507436",RemoteObject.concat(RemoteObject.createImmutable("FECHA"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),0);
 BA.debugLineNum = 489;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
Debug.ShouldStop(256);
_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ID_PROD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),(RemoteObject.createImmutable("REPARTO"))}));
 BA.debugLineNum = 490;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")";
Debug.ShouldStop(512);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("update_PC"))));
 };
 BA.debugLineNum = 493;BA.debugLine="c.Close";
Debug.ShouldStop(4096);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 }}
;
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 500;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 501;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(1048576);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 502;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("estatus")))) { 
 BA.debugLineNum = 503;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(4194304);
{
final RemoteObject group107 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen107 = group107.runMethod(true,"getSize").<Integer>get()
;int index107 = 0;
;
for (; index107 < groupLen107;index107++){
_records = (group107.runMethod(false,"Get",index107));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 504;BA.debugLine="Dim hvd_estatus As String = records(result.Co";
Debug.ShouldStop(8388608);
_hvd_estatus = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_ESTATUS")))))));Debug.locals.put("hvd_estatus", _hvd_estatus);Debug.locals.put("hvd_estatus", _hvd_estatus);
 BA.debugLineNum = 505;BA.debugLine="If hvd_estatus = \"Liquidado\" Then";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("=",_hvd_estatus,BA.ObjectToString("Liquidado"))) { 
 BA.debugLineNum = 507;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate";
Debug.ShouldStop(67108864);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("La venta ya fue liquidada")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 509;BA.debugLine="enviarmonto";
Debug.ShouldStop(268435456);
__ref.runClassMethod (reparto_mazapa.keymon.lat.b4xmainpage.class, "_enviarmonto" /*RemoteObject*/ );
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 515;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 516;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(8);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 517;BA.debugLine="If result.Tag = \"estatus2\" Then 'query tag";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("estatus2")))) { 
 BA.debugLineNum = 518;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(32);
{
final RemoteObject group120 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen120 = group120.runMethod(true,"getSize").<Integer>get()
;int index120 = 0;
;
for (; index120 < groupLen120;index120++){
_records = (group120.runMethod(false,"Get",index120));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 519;BA.debugLine="Dim hvd_estatus As String = records(result.Co";
Debug.ShouldStop(64);
_hvd_estatus = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_ESTATUS")))))));Debug.locals.put("hvd_estatus", _hvd_estatus);Debug.locals.put("hvd_estatus", _hvd_estatus);
 BA.debugLineNum = 520;BA.debugLine="If hvd_estatus = \"Liquidado\" Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",_hvd_estatus,BA.ObjectToString("Liquidado"))) { 
 BA.debugLineNum = 522;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate";
Debug.ShouldStop(512);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("La venta ya fue liquidada")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 524;BA.debugLine="passaquci";
Debug.ShouldStop(2048);
__ref.runClassMethod (reparto_mazapa.keymon.lat.b4xmainpage.class, "_passaquci" /*RemoteObject*/ );
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 530;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 531;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(262144);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 532;BA.debugLine="If result.Tag = \"SelectMontoLiq\" Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("SelectMontoLiq")))) { 
 BA.debugLineNum = 533;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(1048576);
{
final RemoteObject group133 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen133 = group133.runMethod(true,"getSize").<Integer>get()
;int index133 = 0;
;
for (; index133 < groupLen133;index133++){
_records = (group133.runMethod(false,"Get",index133));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 534;BA.debugLine="Dim CUENTA As String = records(result.Columns";
Debug.ShouldStop(2097152);
_cuenta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CUENTA")))))));Debug.locals.put("CUENTA", _cuenta);Debug.locals.put("CUENTA", _cuenta);
 BA.debugLineNum = 536;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(8388608);
b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 537;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(16777216);
__ref.setField ("_sdate" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 538;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(33554432);
__ref.setField ("_stime" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 539;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"s";
Debug.ShouldStop(67108864);
b4xmainpage._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
b4xmainpage._f = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA"))));__ref.setField("_f",b4xmainpage._f);
 BA.debugLineNum = 540;BA.debugLine="f.Position=0";
Debug.ShouldStop(134217728);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 541;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"";
Debug.ShouldStop(268435456);
b4xmainpage._a = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
b4xmainpage._a = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));__ref.setField("_a",b4xmainpage._a);
 BA.debugLineNum = 542;BA.debugLine="a.Position = 0";
Debug.ShouldStop(536870912);
__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 544;BA.debugLine="Private c2 As Cursor";
Debug.ShouldStop(-2147483648);
_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c2", _c2);
 BA.debugLineNum = 545;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select USUARIO fro";
Debug.ShouldStop(1);
_c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));Debug.locals.put("c2", _c2);
 BA.debugLineNum = 546;BA.debugLine="c2.Position=0";
Debug.ShouldStop(2);
_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 547;BA.debugLine="If c2.RowCount > 0 Then c2.GetString(\"USUARIO";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
_c2.runVoidMethod ("GetString",(Object)(RemoteObject.createImmutable("USUARIO")));};
 BA.debugLineNum = 549;BA.debugLine="Log(CUENTA & \"----------------------!!\")";
Debug.ShouldStop(16);
b4xmainpage.__c.runVoidMethod ("LogImpl","31507497",RemoteObject.concat(_cuenta,RemoteObject.createImmutable("----------------------!!")),0);
 BA.debugLineNum = 550;BA.debugLine="If CUENTA = \"0\" Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_cuenta,BA.ObjectToString("0"))) { 
 BA.debugLineNum = 552;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E";
Debug.ShouldStop(128);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))),__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")))}))));
 BA.debugLineNum = 553;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 555;BA.debugLine="c.Position=0";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 556;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(2048);
_cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd);
 BA.debugLineNum = 557;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4096);
_cmd.runVoidMethod ("Initialize");
 BA.debugLineNum = 558;BA.debugLine="cmd.Name = \"insert_Monto_Liq_MAZAPArep\"";
Debug.ShouldStop(8192);
_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_Monto_Liq_MAZAPArep"));
 BA.debugLineNum = 559;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
Debug.ShouldStop(16384);
_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_MONTO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN")))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO")))),RemoteObject.createImmutable(("REPARTO")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_FECHA_PED"))))}));
 BA.debugLineNum = 560;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_Mon_Li";
Debug.ShouldStop(32768);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("ins_Mon_Liq"))));
 BA.debugLineNum = 561;BA.debugLine="MsgboxAsync(\"Monto Enviado\", \"Atención\")";
Debug.ShouldStop(65536);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Monto Enviado")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 };
 BA.debugLineNum = 564;BA.debugLine="c.Close";
Debug.ShouldStop(524288);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else 
{ BA.debugLineNum = 565;BA.debugLine="Else if CUENTA > \"0\" Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cuenta),BA.numberCast(double.class, "0"))) { 
 BA.debugLineNum = 567;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E";
Debug.ShouldStop(4194304);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))),__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")))}))));
 BA.debugLineNum = 568;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 570;BA.debugLine="c.Position = 0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 571;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(67108864);
_cmd.runVoidMethod ("Initialize");
 BA.debugLineNum = 572;BA.debugLine="cmd.Name = \"update_MontoCuenta_MAZAPArep\"";
Debug.ShouldStop(134217728);
_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_MontoCuenta_MAZAPArep"));
 BA.debugLineNum = 573;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
Debug.ShouldStop(268435456);
_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_MONTO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_FECHA_PED")))),(RemoteObject.createImmutable("REPARTO"))}));
 BA.debugLineNum = 575;BA.debugLine="Log(c.GetString(\"EML_MONTO\")& \" \" & c.GetSt";
Debug.ShouldStop(1073741824);
b4xmainpage.__c.runVoidMethod ("LogImpl","31507523",RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_MONTO"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_RUTA"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO")))),0);
 BA.debugLineNum = 576;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_MC\")";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("update_MC"))));
 BA.debugLineNum = 577;BA.debugLine="MsgboxAsync(\"Se sobre escribio el Monto\", \"";
Debug.ShouldStop(1);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Se sobre escribio el Monto")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 };
 BA.debugLineNum = 580;BA.debugLine="c2.Close";
Debug.ShouldStop(8);
_c2.runVoidMethod ("Close");
 BA.debugLineNum = 581;BA.debugLine="c.Close";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 }}
;
 BA.debugLineNum = 583;BA.debugLine="f.Close";
Debug.ShouldStop(64);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 584;BA.debugLine="a.Close";
Debug.ShouldStop(128);
__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close");
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 589;BA.debugLine="Job.Release";
Debug.ShouldStop(4096);
_job.runClassMethod (reparto_mazapa.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ );
 };
 BA.debugLineNum = 592;BA.debugLine="If paso1 = 1 Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_paso1" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 593;BA.debugLine="If name = \"OKActivo\" Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",_name,BA.ObjectToString("OKActivo"))) { 
 BA.debugLineNum = 594;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa";
Debug.ShouldStop(131072);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa")));
 BA.debugLineNum = 595;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIO";
Debug.ShouldStop(262144);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO USUARIOA VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText"))})))));
 BA.debugLineNum = 596;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_alma";
Debug.ShouldStop(524288);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen")));
 BA.debugLineNum = 597;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALM";
Debug.ShouldStop(1048576);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_id_almacen)})))));
 BA.debugLineNum = 598;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(2097152);
b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 }else 
{ BA.debugLineNum = 599;BA.debugLine="Else If name  = \"OKExpirado\"& IMEI Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKExpirado"),__ref.getField(true,"_imei" /*RemoteObject*/ )))) { 
 BA.debugLineNum = 600;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrado";
Debug.ShouldStop(8388608);
b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 }else 
{ BA.debugLineNum = 601;BA.debugLine="Else If name = \"OKCancelado\"& IMEI Then";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKCancelado"),__ref.getField(true,"_imei" /*RemoteObject*/ )))) { 
 BA.debugLineNum = 602;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administrad";
Debug.ShouldStop(33554432);
b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 604;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ign";
Debug.ShouldStop(134217728);
b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 }}}
;
 BA.debugLineNum = 606;BA.debugLine="paso1 = 0";
Debug.ShouldStop(536870912);
__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 BA.debugLineNum = 608;BA.debugLine="End Sub";
Debug.ShouldStop(-2147483648);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _lv_server_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{
try {
		Debug.PushSubsStack("lv_server_ItemClick (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,688);
if (RapidSub.canDelegate("lv_server_itemclick")) { return __ref.runUserSub(false, "b4xmainpage","lv_server_itemclick", __ref, _position, _value);}
Debug.locals.put("Position", _position);
Debug.locals.put("Value", _value);
 BA.debugLineNum = 688;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,";
Debug.ShouldStop(32768);
 BA.debugLineNum = 689;BA.debugLine="server = Value";
Debug.ShouldStop(65536);
__ref.setField ("_server" /*RemoteObject*/ ,BA.ObjectToString(_value));
 BA.debugLineNum = 691;BA.debugLine="et_server.Text = Value";
Debug.ShouldStop(262144);
__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_value));
 BA.debugLineNum = 692;BA.debugLine="reqManager.Initialize(Me, Value)";
Debug.ShouldStop(524288);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(BA.ObjectToString(_value)));
 BA.debugLineNum = 693;BA.debugLine="LogColor($\"ReqServer = ${Value}\"$, Colors.red)";
Debug.ShouldStop(1048576);
b4xmainpage.__c.runVoidMethod ("LogImpl","31966085",(RemoteObject.concat(RemoteObject.createImmutable("ReqServer = "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_value)),RemoteObject.createImmutable(""))),b4xmainpage.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 694;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)";
Debug.ShouldStop(2097152);
b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Servidor modificado")),(Object)(b4xmainpage.__c.getField(true,"False")));
 BA.debugLineNum = 695;BA.debugLine="End Sub";
Debug.ShouldStop(4194304);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _muestraprogreso(RemoteObject __ref,RemoteObject _mensaje) throws Exception{
try {
		Debug.PushSubsStack("muestraProgreso (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,704);
if (RapidSub.canDelegate("muestraprogreso")) { return __ref.runUserSub(false, "b4xmainpage","muestraprogreso", __ref, _mensaje);}
Debug.locals.put("mensaje", _mensaje);
 BA.debugLineNum = 704;BA.debugLine="Sub muestraProgreso(mensaje As String)";
Debug.ShouldStop(-2147483648);
 BA.debugLineNum = 705;BA.debugLine="ProgressDialogShow(mensaje)";
Debug.ShouldStop(1);
b4xmainpage.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(_mensaje)));
 BA.debugLineNum = 706;BA.debugLine="End Sub";
Debug.ShouldStop(2);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _ocultaprogreso(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("ocultaProgreso (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,709);
if (RapidSub.canDelegate("ocultaprogreso")) { return __ref.runUserSub(false, "b4xmainpage","ocultaprogreso", __ref);}
 BA.debugLineNum = 709;BA.debugLine="Sub ocultaProgreso";
Debug.ShouldStop(16);
 BA.debugLineNum = 710;BA.debugLine="ProgressDialogHide";
Debug.ShouldStop(32);
b4xmainpage.__c.runVoidMethod ("ProgressDialogHide");
 BA.debugLineNum = 711;BA.debugLine="End Sub";
Debug.ShouldStop(64);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_add_monto_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("p_add_monto_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,726);
if (RapidSub.canDelegate("p_add_monto_click")) { return __ref.runUserSub(false, "b4xmainpage","p_add_monto_click", __ref);}
 BA.debugLineNum = 726;BA.debugLine="Private Sub p_add_monto_Click";
Debug.ShouldStop(2097152);
 BA.debugLineNum = 728;BA.debugLine="End Sub";
Debug.ShouldStop(8388608);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_ciego_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("P_CIEGO_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1009);
if (RapidSub.canDelegate("p_ciego_click")) { return __ref.runUserSub(false, "b4xmainpage","p_ciego_click", __ref);}
 BA.debugLineNum = 1009;BA.debugLine="Private Sub P_CIEGO_Click";
Debug.ShouldStop(65536);
 BA.debugLineNum = 1011;BA.debugLine="End Sub";
Debug.ShouldStop(262144);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_validacion_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("p_validacion_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1061);
if (RapidSub.canDelegate("p_validacion_click")) { return __ref.runUserSub(false, "b4xmainpage","p_validacion_click", __ref);}
 BA.debugLineNum = 1061;BA.debugLine="Private Sub p_validacion_Click";
Debug.ShouldStop(16);
 BA.debugLineNum = 1063;BA.debugLine="End Sub";
Debug.ShouldStop(64);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _passaquci(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("passaquci (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1031);
if (RapidSub.canDelegate("passaquci")) { return __ref.runUserSub(false, "b4xmainpage","passaquci", __ref);}
RemoteObject _cmd = RemoteObject.declareNull("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");
 BA.debugLineNum = 1031;BA.debugLine="Sub passaquci";
Debug.ShouldStop(64);
 BA.debugLineNum = 1032;BA.debugLine="f=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA from";
Debug.ShouldStop(128);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info"))));
 BA.debugLineNum = 1033;BA.debugLine="f.Position=0";
Debug.ShouldStop(256);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1035;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from";
Debug.ShouldStop(1024);
__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));
 BA.debugLineNum = 1036;BA.debugLine="If a.RowCount>0 Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1037;BA.debugLine="a.Position=0";
Debug.ShouldStop(4096);
__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 };
 BA.debugLineNum = 1039;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))";
Debug.ShouldStop(16384);
b4xmainpage.__c.runVoidMethod ("LogImpl","32949128",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),0);
 BA.debugLineNum = 1040;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))";
Debug.ShouldStop(32768);
b4xmainpage.__c.runVoidMethod ("LogImpl","32949129",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),0);
 BA.debugLineNum = 1042;BA.debugLine="If et_codigo.Text = \"KMTS1\" Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { 
 BA.debugLineNum = 1043;BA.debugLine="p_validacion.Visible = False";
Debug.ShouldStop(262144);
__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 1044;BA.debugLine="et_codigo.Text = \"\"";
Debug.ShouldStop(524288);
__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 1045;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)";
Debug.ShouldStop(1048576);
b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_ciego" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 }else {
 BA.debugLineNum = 1047;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(4194304);
_cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd);
 BA.debugLineNum = 1048;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(8388608);
_cmd.runVoidMethod ("Initialize");
 BA.debugLineNum = 1049;BA.debugLine="cmd.Name = \"select_CAT_PASS_ARQUEO_MAZAPA\"";
Debug.ShouldStop(16777216);
_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_CAT_PASS_ARQUEO_MAZAPA"));
 BA.debugLineNum = 1050;BA.debugLine="cmd.Parameters = Array As Object(f.GetString(\"CA";
Debug.ShouldStop(33554432);
_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))),(__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))),(RemoteObject.createImmutable("REPARTO"))}));
 BA.debugLineNum = 1051;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"contrasena\")";
Debug.ShouldStop(67108864);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(_cmd),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("contrasena"))));
 BA.debugLineNum = 1052;BA.debugLine="f.Close";
Debug.ShouldStop(134217728);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1053;BA.debugLine="a.Close";
Debug.ShouldStop(268435456);
__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 1055;BA.debugLine="End Sub";
Debug.ShouldStop(1073741824);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _reinicializareqmanager(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("reinicializaReqManager (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,697);
if (RapidSub.canDelegate("reinicializareqmanager")) { return __ref.runUserSub(false, "b4xmainpage","reinicializareqmanager", __ref);}
 BA.debugLineNum = 697;BA.debugLine="Sub reinicializaReqManager";
Debug.ShouldStop(16777216);
 BA.debugLineNum = 698;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve";
Debug.ShouldStop(33554432);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )));
 BA.debugLineNum = 699;BA.debugLine="If logger Then Log(B4XPages.MainPage.server)";
Debug.ShouldStop(67108864);
if (__ref.getField(true,"_logger" /*RemoteObject*/ ).<Boolean>get().booleanValue()) { 
b4xmainpage.__c.runVoidMethod ("LogImpl","32031618",b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ),0);};
 BA.debugLineNum = 700;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
Debug.ShouldStop(134217728);
b4xmainpage.__c.runVoidMethod ("LogImpl","32031619",(RemoteObject.concat(RemoteObject.createImmutable("ReqServer = "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),b4xmainpage.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 701;BA.debugLine="End Sub";
Debug.ShouldStop(268435456);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}