package reparto_mazapa.keymon.lat;

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

public class c_cliente_subs_0 {


public static RemoteObject  _activity_pause(RemoteObject __ref,RemoteObject _userclosed) throws Exception{
try {
		Debug.PushSubsStack("Activity_Pause (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,342);
if (RapidSub.canDelegate("activity_pause")) { return __ref.runUserSub(false, "c_cliente","activity_pause", __ref, _userclosed);}
Debug.locals.put("UserClosed", _userclosed);
 BA.debugLineNum = 342;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
Debug.ShouldStop(2097152);
 BA.debugLineNum = 344;BA.debugLine="End Sub";
Debug.ShouldStop(8388608);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_imp_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_IMP_Click (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,503);
if (RapidSub.canDelegate("b_imp_click")) { return __ref.runUserSub(false, "c_cliente","b_imp_click", __ref);}
 BA.debugLineNum = 503;BA.debugLine="Sub B_IMP_Click";
Debug.ShouldStop(4194304);
 BA.debugLineNum = 917;BA.debugLine="Guardado";
Debug.ShouldStop(1048576);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_cliente.class, "_guardado" /*void*/ );
 BA.debugLineNum = 918;BA.debugLine="End Sub";
Debug.ShouldStop(2097152);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_noentrega_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_noEntrega_Click (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,460);
if (RapidSub.canDelegate("b_noentrega_click")) { return __ref.runUserSub(false, "c_cliente","b_noentrega_click", __ref);}
 BA.debugLineNum = 460;BA.debugLine="Sub b_noEntrega_Click";
Debug.ShouldStop(2048);
 BA.debugLineNum = 462;BA.debugLine="B4XPages.ShowPage(\"noVenta\")";
Debug.ShouldStop(8192);
c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("noVenta")));
 BA.debugLineNum = 463;BA.debugLine="End Sub";
Debug.ShouldStop(16384);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_paso2_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_PASO2_Click (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,992);
if (RapidSub.canDelegate("b_paso2_click")) { return __ref.runUserSub(false, "c_cliente","b_paso2_click", __ref);}
RemoteObject _mandamapa = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
 BA.debugLineNum = 992;BA.debugLine="Sub B_PASO2_Click";
Debug.ShouldStop(-2147483648);
 BA.debugLineNum = 993;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(1);
c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 994;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(2);
__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 995;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(4);
__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 996;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen";
Debug.ShouldStop(8);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CUENTA from cuentaa"))));
 BA.debugLineNum = 997;BA.debugLine="c.Position = 0";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 998;BA.debugLine="cuenta = c.GetString(\"CUENTA\")";
Debug.ShouldStop(32);
__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))));
 BA.debugLineNum = 999;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu";
Debug.ShouldStop(64);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa"))));
 BA.debugLineNum = 1000;BA.debugLine="c.Position = 0";
Debug.ShouldStop(128);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1001;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(256);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 1002;BA.debugLine="c.Close";
Debug.ShouldStop(512);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1003;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH";
Debug.ShouldStop(1024);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)")));
 BA.debugLineNum = 1004;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO  NOVENTA";
Debug.ShouldStop(2048);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO  NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON) VALUES(?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_cuenta" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),RemoteObject.createImmutable(("PASO")),RemoteObject.createImmutable(("PASO ESPERA")),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))})))));
 BA.debugLineNum = 1006;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(8192);
_mandamapa = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_mandamapa = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM kmt_info WHERE gestion = 0"))));Debug.locals.put("mandamapa", _mandamapa);Debug.locals.put("mandamapa", _mandamapa);
 BA.debugLineNum = 1007;BA.debugLine="If mandamapa.RowCount > 0 Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean(">",_mandamapa.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1008;BA.debugLine="StartActivity(MAPA_RUTAS)";
Debug.ShouldStop(32768);
c_cliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_cliente._mapa_rutas.getObject())));
 }else 
{ BA.debugLineNum = 1009;BA.debugLine="Else If mandamapa.RowCount = 0 Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",_mandamapa.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1010;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(131072);
c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 }}
;
 BA.debugLineNum = 1012;BA.debugLine="End Sub";
Debug.ShouldStop(524288);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_visitasinentrega_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_visitasinentrega_Click (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,1060);
if (RapidSub.canDelegate("b_visitasinentrega_click")) { return __ref.runUserSub(false, "c_cliente","b_visitasinentrega_click", __ref);}
RemoteObject _ruta = RemoteObject.createImmutable("");
RemoteObject _rutapre = RemoteObject.createImmutable("");
RemoteObject _fechaprev = RemoteObject.createImmutable("");
RemoteObject _rutaactualizar = RemoteObject.createImmutable("");
RemoteObject _rut = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
 BA.debugLineNum = 1060;BA.debugLine="Private Sub b_visitasinentrega_Click";
Debug.ShouldStop(8);
 BA.debugLineNum = 1062;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(32);
c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 1063;BA.debugLine="DateTime.TimeFormat=\"HHmmss\"";
Debug.ShouldStop(64);
c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss"));
 BA.debugLineNum = 1064;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(128);
__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1065;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(256);
__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1066;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen";
Debug.ShouldStop(512);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CUENTA from cuentaa"))));
 BA.debugLineNum = 1067;BA.debugLine="c.Position = 0";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1068;BA.debugLine="cuenta = c.GetString(\"CUENTA\")";
Debug.ShouldStop(2048);
__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))));
 BA.debugLineNum = 1069;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu";
Debug.ShouldStop(4096);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa"))));
 BA.debugLineNum = 1070;BA.debugLine="c.Position = 0";
Debug.ShouldStop(8192);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1071;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(16384);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 1072;BA.debugLine="c.Close";
Debug.ShouldStop(32768);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1073;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT";
Debug.ShouldStop(65536);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA"))));
 BA.debugLineNum = 1074;BA.debugLine="d.Position = 0";
Debug.ShouldStop(131072);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1075;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")";
Debug.ShouldStop(262144);
_ruta = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")));Debug.locals.put("ruta", _ruta);Debug.locals.put("ruta", _ruta);
 BA.debugLineNum = 1076;BA.debugLine="d.Close";
Debug.ShouldStop(524288);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1077;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA FR";
Debug.ShouldStop(1048576);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));
 BA.debugLineNum = 1078;BA.debugLine="d.Position = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1079;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUTA\"";
Debug.ShouldStop(4194304);
_rutapre = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutapre", _rutapre);Debug.locals.put("rutapre", _rutapre);
 BA.debugLineNum = 1080;BA.debugLine="d.Close";
Debug.ShouldStop(8388608);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1084;BA.debugLine="Dim fechaprev As String = Subs.traefECHAPREV";
Debug.ShouldStop(134217728);
_fechaprev = c_cliente._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("fechaprev", _fechaprev);Debug.locals.put("fechaprev", _fechaprev);
 BA.debugLineNum = 1087;BA.debugLine="Dim rutaactualizar As String";
Debug.ShouldStop(1073741824);
_rutaactualizar = RemoteObject.createImmutable("");Debug.locals.put("rutaactualizar", _rutaactualizar);
 BA.debugLineNum = 1088;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELEC";
Debug.ShouldStop(-2147483648);
_rut = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_rut = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("rut", _rut);Debug.locals.put("rut", _rut);
 BA.debugLineNum = 1089;BA.debugLine="If rut.RowCount > 0 Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean(">",_rut.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1090;BA.debugLine="rut.Position = 0";
Debug.ShouldStop(2);
_rut.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1091;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")";
Debug.ShouldStop(4);
_rutaactualizar = _rut.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutaactualizar", _rutaactualizar);
 };
 BA.debugLineNum = 1095;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO_G";
Debug.ShouldStop(64);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,0)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {10},new Object[] {__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )),c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ),c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_almacen" /*RemoteObject*/ ),_ruta,_rutapre,_fechaprev,RemoteObject.createImmutable("VISITA PENDIENTE")})))));
 BA.debugLineNum = 1096;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(128);
c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 BA.debugLineNum = 1097;BA.debugLine="End Sub";
Debug.ShouldStop(256);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b4xpage_appear(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Appear (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,122);
if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_cliente","b4xpage_appear", __ref);}
RemoteObject _cym = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map");
RemoteObject _vc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cuenta0 = RemoteObject.createImmutable("");
RemoteObject _arti = RemoteObject.createImmutable("");
int _i = 0;
RemoteObject _vc2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cuenta1 = RemoteObject.createImmutable("");
RemoteObject _arti1 = RemoteObject.createImmutable("");
RemoteObject _preu = RemoteObject.createImmutable(0f);
RemoteObject _vc3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _vc4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cuenta2 = RemoteObject.createImmutable("");
RemoteObject _arti2 = RemoteObject.createImmutable("");
RemoteObject _vc5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _c4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cuenta3 = RemoteObject.createImmutable("");
RemoteObject _arti3 = RemoteObject.createImmutable("");
RemoteObject _pag = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _pagaremonto = RemoteObject.createImmutable(0f);
RemoteObject _pagaremonto2 = RemoteObject.createImmutable(0f);
RemoteObject _ubicacionactual = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper");
RemoteObject _l2 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper");
 BA.debugLineNum = 122;BA.debugLine="Sub B4XPage_Appear";
Debug.ShouldStop(33554432);
 BA.debugLineNum = 123;BA.debugLine="banderaimp = 0";
Debug.ShouldStop(67108864);
__ref.setField ("_banderaimp" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 124;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)";
Debug.ShouldStop(134217728);
c_cliente._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 = 125;BA.debugLine="Starter.skmt.Initialize(Starter.ruta,\"kmt.db\", Tr";
Debug.ShouldStop(268435456);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("Initialize",(Object)(c_cliente._starter._ruta /*RemoteObject*/ ),(Object)(BA.ObjectToString("kmt.db")),(Object)(c_cliente.__c.getField(true,"True")));
 BA.debugLineNum = 126;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE";
Debug.ShouldStop(536870912);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )));
 BA.debugLineNum = 127;BA.debugLine="Tar.Visible = False";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_tar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 BA.debugLineNum = 128;BA.debugLine="gest.Visible = False";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 BA.debugLineNum = 129;BA.debugLine="b_noEntrega.Visible = False";
Debug.ShouldStop(1);
__ref.getField(false,"_b_noentrega" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 BA.debugLineNum = 130;BA.debugLine="HIST.Visible = False";
Debug.ShouldStop(2);
__ref.getField(false,"_hist" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 BA.debugLineNum = 131;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,CA";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_BCREDITO  from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))));
 BA.debugLineNum = 132;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot";
Debug.ShouldStop(8);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))));
 BA.debugLineNum = 133;BA.debugLine="s.Position=0";
Debug.ShouldStop(16);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 134;BA.debugLine="c.Position=0";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 135;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")";
Debug.ShouldStop(64);
__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))));
 BA.debugLineNum = 136;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")";
Debug.ShouldStop(128);
__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))));
 BA.debugLineNum = 137;BA.debugLine="NOMBRE = c.GetString(\"CAT_CL_NOMBRE\")";
Debug.ShouldStop(256);
__ref.setField ("_nombre" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))));
 BA.debugLineNum = 138;BA.debugLine="LONGITUD = c.GetString(\"CAT_CL_LONG\")";
Debug.ShouldStop(512);
__ref.setField ("_longitud" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))));
 BA.debugLineNum = 139;BA.debugLine="LATITUD = c.GetString(\"CAT_CL_LAT\")";
Debug.ShouldStop(1024);
__ref.setField ("_latitud" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))));
 BA.debugLineNum = 140;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G";
Debug.ShouldStop(2048);
__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOEXT"))))));
 BA.debugLineNum = 141;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")";
Debug.ShouldStop(4096);
__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_COLONIA")))));
 BA.debugLineNum = 142;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")";
Debug.ShouldStop(8192);
__ref.getField(false,"_la_edo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_EDO")))));
 BA.debugLineNum = 143;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")";
Debug.ShouldStop(16384);
__ref.getField(false,"_la_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CP")))));
 BA.debugLineNum = 144;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")";
Debug.ShouldStop(32768);
__ref.getField(false,"_l_entre1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE1")))));
 BA.debugLineNum = 145;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")";
Debug.ShouldStop(65536);
__ref.getField(false,"_l_entre2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE2")))));
 BA.debugLineNum = 146;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("N",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1")))) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1"))),BA.ObjectToString("null"))) { 
 BA.debugLineNum = 147;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")";
Debug.ShouldStop(262144);
__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1")))));
 }else {
 BA.debugLineNum = 149;BA.debugLine="l_atiende.Text = \" \"";
Debug.ShouldStop(1048576);
__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(" "));
 };
 BA.debugLineNum = 151;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("N",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2")))) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2"))),BA.ObjectToString("NULL"))) { 
 BA.debugLineNum = 152;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")";
Debug.ShouldStop(8388608);
__ref.getField(false,"_l_atiende2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2")))));
 }else {
 BA.debugLineNum = 154;BA.debugLine="l_atiende2.Text = \" \"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_l_atiende2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(" "));
 };
 BA.debugLineNum = 156;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")";
Debug.ShouldStop(134217728);
__ref.getField(false,"_la_saldotot" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO")))));
 BA.debugLineNum = 157;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")";
Debug.ShouldStop(268435456);
__ref.getField(false,"_la_saldooper" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_EMAIL")))));
 BA.debugLineNum = 159;BA.debugLine="CREDITO = C.GetString(\"CAT_CL_BCREDITO\")";
Debug.ShouldStop(1073741824);
__ref.setField ("_credito" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))));
 BA.debugLineNum = 162;BA.debugLine="Private cym As Map = Subs.traeCantYMonto2(Subs.tr";
Debug.ShouldStop(2);
_cym = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");
_cym = c_cliente._subs.runMethod(false,"_traecantymonto2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))));Debug.locals.put("cym", _cym);Debug.locals.put("cym", _cym);
 BA.debugLineNum = 163;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")";
Debug.ShouldStop(4);
__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cym.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cantidad"))))));
 BA.debugLineNum = 164;BA.debugLine="l_total.Text = Round2(cym.Get(\"monto\"), 2)";
Debug.ShouldStop(8);
__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _cym.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))),(Object)(BA.numberCast(int.class, 2)))));
 BA.debugLineNum = 172;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE HIST_VENTAS set";
Debug.ShouldStop(2048);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE HIST_VENTAS set ESPROMO = 1  where HVD_CODPROMO = HVD_PROID AND HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
 BA.debugLineNum = 173;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s";
Debug.ShouldStop(4096);
_vc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_CLIENTE in (select cuenta from cuentaa)"))))));Debug.locals.put("vc", _vc);Debug.locals.put("vc", _vc);
 BA.debugLineNum = 175;BA.debugLine="Private cuenta0 As String = 0";
Debug.ShouldStop(16384);
_cuenta0 = BA.NumberToString(0);Debug.locals.put("cuenta0", _cuenta0);Debug.locals.put("cuenta0", _cuenta0);
 BA.debugLineNum = 176;BA.debugLine="Private arti As String = 0";
Debug.ShouldStop(32768);
_arti = BA.NumberToString(0);Debug.locals.put("arti", _arti);Debug.locals.put("arti", _arti);
 BA.debugLineNum = 177;BA.debugLine="If vc.RowCount > 0 Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean(">",_vc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 178;BA.debugLine="For i = 0 To vc.RowCount - 1";
Debug.ShouldStop(131072);
{
final int step45 = 1;
final int limit45 = RemoteObject.solve(new RemoteObject[] {_vc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step45 > 0 && _i <= limit45) || (step45 < 0 && _i >= limit45) ;_i = ((int)(0 + _i + step45))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 179;BA.debugLine="vc.Position = i";
Debug.ShouldStop(262144);
_vc.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 182;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CANT\")";
Debug.ShouldStop(2097152);
_cuenta0 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("cuenta0", _cuenta0);
 BA.debugLineNum = 187;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - vc.Ge";
Debug.ShouldStop(67108864);
_arti = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti", _arti);
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 193;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuery(\"s";
Debug.ShouldStop(1);
_vc2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 1"))));Debug.locals.put("vc2", _vc2);Debug.locals.put("vc2", _vc2);
 BA.debugLineNum = 194;BA.debugLine="Private Cuenta1 As String = 0";
Debug.ShouldStop(2);
_cuenta1 = BA.NumberToString(0);Debug.locals.put("Cuenta1", _cuenta1);Debug.locals.put("Cuenta1", _cuenta1);
 BA.debugLineNum = 195;BA.debugLine="Private arti1 As String = 0";
Debug.ShouldStop(4);
_arti1 = BA.NumberToString(0);Debug.locals.put("arti1", _arti1);Debug.locals.put("arti1", _arti1);
 BA.debugLineNum = 196;BA.debugLine="If vc2.RowCount > 0 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean(">",_vc2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 197;BA.debugLine="For i = 0 To vc2.RowCount - 1";
Debug.ShouldStop(16);
{
final int step55 = 1;
final int limit55 = RemoteObject.solve(new RemoteObject[] {_vc2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step55 > 0 && _i <= limit55) || (step55 < 0 && _i >= limit55) ;_i = ((int)(0 + _i + step55))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 198;BA.debugLine="vc2.Position = i";
Debug.ShouldStop(32);
_vc2.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 199;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetString";
Debug.ShouldStop(64);
_preu = BA.numberCast(float.class, c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))));Debug.locals.put("preu", _preu);Debug.locals.put("preu", _preu);
 BA.debugLineNum = 200;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(128);
_vc3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc3", _vc3);Debug.locals.put("vc3", _vc3);
 BA.debugLineNum = 201;BA.debugLine="If vc3.RowCount > 0 Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean(">",_vc3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 202;BA.debugLine="vc3.Position = 0";
Debug.ShouldStop(512);
_vc3.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 203;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC\")-(";
Debug.ShouldStop(1024);
_cuenta1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta1),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC")))),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _vc3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONVERSION"))))}, "/",0, 0))}, "-",1, 0)),_preu}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta1", _cuenta1);
 BA.debugLineNum = 204;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\") - v";
Debug.ShouldStop(2048);
_arti1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti1),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti1", _arti1);
 };
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 210;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuery($\"";
Debug.ShouldStop(131072);
_vc4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PROID,HVD_PRONOMBRE,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc4", _vc4);Debug.locals.put("vc4", _vc4);
 BA.debugLineNum = 211;BA.debugLine="Private Cuenta2 As String = 0";
Debug.ShouldStop(262144);
_cuenta2 = BA.NumberToString(0);Debug.locals.put("Cuenta2", _cuenta2);Debug.locals.put("Cuenta2", _cuenta2);
 BA.debugLineNum = 212;BA.debugLine="Private arti2 As String = 0";
Debug.ShouldStop(524288);
_arti2 = BA.NumberToString(0);Debug.locals.put("arti2", _arti2);Debug.locals.put("arti2", _arti2);
 BA.debugLineNum = 213;BA.debugLine="If vc4.RowCount > 0 Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean(">",_vc4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 215;BA.debugLine="For i = 0 To vc4.RowCount - 1";
Debug.ShouldStop(4194304);
{
final int step70 = 1;
final int limit70 = RemoteObject.solve(new RemoteObject[] {_vc4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step70 > 0 && _i <= limit70) || (step70 < 0 && _i >= limit70) ;_i = ((int)(0 + _i + step70))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 216;BA.debugLine="vc4.Position = i";
Debug.ShouldStop(8388608);
_vc4.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 217;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetString(";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("!",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))))) { 
 BA.debugLineNum = 218;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(0))) { 
 BA.debugLineNum = 219;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_COSTO_";
Debug.ShouldStop(67108864);
_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2);
 BA.debugLineNum = 220;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")";
Debug.ShouldStop(134217728);
_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "+",1, 0));Debug.locals.put("arti2", _arti2);
 }else {
 BA.debugLineNum = 222;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQuer";
Debug.ShouldStop(536870912);
_vc5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc5", _vc5);Debug.locals.put("vc5", _vc5);
 BA.debugLineNum = 223;BA.debugLine="If vc5.RowCount > 0 Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean(">",_vc5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 224;BA.debugLine="vc5.Position= 0";
Debug.ShouldStop(-2147483648);
_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 226;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_CANT";
Debug.ShouldStop(2);
_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2);
 BA.debugLineNum = 227;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\")- v";
Debug.ShouldStop(4);
_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti2", _arti2);
 };
 };
 };
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 236;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($\"S";
Debug.ShouldStop(2048);
_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4);
 BA.debugLineNum = 237;BA.debugLine="Private Cuenta3 As String = 0";
Debug.ShouldStop(4096);
_cuenta3 = BA.NumberToString(0);Debug.locals.put("Cuenta3", _cuenta3);Debug.locals.put("Cuenta3", _cuenta3);
 BA.debugLineNum = 238;BA.debugLine="Private arti3 As String = 0";
Debug.ShouldStop(8192);
_arti3 = BA.NumberToString(0);Debug.locals.put("arti3", _arti3);Debug.locals.put("arti3", _arti3);
 BA.debugLineNum = 239;BA.debugLine="If c4.RowCount > 0 Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 240;BA.debugLine="For i = 0 To c4.RowCount -1";
Debug.ShouldStop(32768);
{
final int step91 = 1;
final int limit91 = RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step91 > 0 && _i <= limit91) || (step91 < 0 && _i >= limit91) ;_i = ((int)(0 + _i + step91))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 241;BA.debugLine="c4.Position = i";
Debug.ShouldStop(65536);
_c4.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 242;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")";
Debug.ShouldStop(131072);
_arti3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "+",1, 0));Debug.locals.put("arti3", _arti3);
 BA.debugLineNum = 243;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_TOT\"";
Debug.ShouldStop(262144);
_cuenta3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta3", _cuenta3);
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 246;BA.debugLine="Log(cuenta0)";
Debug.ShouldStop(2097152);
c_cliente.__c.runVoidMethod ("LogImpl","33735676",_cuenta0,0);
 BA.debugLineNum = 247;BA.debugLine="Log(Cuenta1)";
Debug.ShouldStop(4194304);
c_cliente.__c.runVoidMethod ("LogImpl","33735677",_cuenta1,0);
 BA.debugLineNum = 248;BA.debugLine="Log(Cuenta2)";
Debug.ShouldStop(8388608);
c_cliente.__c.runVoidMethod ("LogImpl","33735678",_cuenta2,0);
 BA.debugLineNum = 249;BA.debugLine="Log(Cuenta3)";
Debug.ShouldStop(16777216);
c_cliente.__c.runVoidMethod ("LogImpl","33735679",_cuenta3,0);
 BA.debugLineNum = 251;BA.debugLine="l_total.Text = NumberFormat2((cuenta0 + Cuenta1 +";
Debug.ShouldStop(67108864);
__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),BA.numberCast(double.class, _cuenta1),BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _cuenta3)}, "+++",3, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"True")))));
 BA.debugLineNum = 252;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2";
Debug.ShouldStop(134217728);
__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),BA.numberCast(double.class, _arti1),BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _arti3)}, "+++",3, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_cliente.__c.getField(true,"True")))));
 BA.debugLineNum = 257;BA.debugLine="c = Starter.skmt.ExecQuery2(\"select CAT_VA_VALOR";
Debug.ShouldStop(1);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._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("MACIMP")}))));
 BA.debugLineNum = 258;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 = 259;BA.debugLine="c.Position = 0";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 260;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO";
Debug.ShouldStop(8);
c_cliente._starter._mac_impresora /*RemoteObject*/  = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")));
 };
 BA.debugLineNum = 262;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",c_cliente._starter._mac_impresora /*RemoteObject*/ ,BA.ObjectToString(""))) { 
c_cliente._starter._mac_impresora /*RemoteObject*/  = BA.ObjectToString("0");};
 BA.debugLineNum = 264;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")";
Debug.ShouldStop(128);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.escposprinter.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(RemoteObject.createImmutable("Printer1")));
 BA.debugLineNum = 266;BA.debugLine="If Printer1.IsConnected = False Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ),c_cliente.__c.getField(true,"False"))) { 
 }else {
 BA.debugLineNum = 270;BA.debugLine="Printer1.DisConnect";
Debug.ShouldStop(8192);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ );
 BA.debugLineNum = 271;BA.debugLine="Printer1.Connect";
Debug.ShouldStop(16384);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
 BA.debugLineNum = 272;BA.debugLine="Log(\"2\")";
Debug.ShouldStop(32768);
c_cliente.__c.runVoidMethod ("LogImpl","33735702",RemoteObject.createImmutable("2"),0);
 };
 BA.debugLineNum = 275;BA.debugLine="Dim pag As Cursor = Starter.skmt.ExecQuery(\"selec";
Debug.ShouldStop(262144);
_pag = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_pag = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * FROM PAGARES WHERE TMP_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("pag", _pag);Debug.locals.put("pag", _pag);
 BA.debugLineNum = 276;BA.debugLine="If pag.RowCount > 0 Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean(">",_pag.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 277;BA.debugLine="pag.Position = 0";
Debug.ShouldStop(1048576);
_pag.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 278;BA.debugLine="l_credi.Visible = True";
Debug.ShouldStop(2097152);
__ref.getField(false,"_l_credi" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 279;BA.debugLine="l_pagare.Visible = True";
Debug.ShouldStop(4194304);
__ref.getField(false,"_l_pagare" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 280;BA.debugLine="l_montoefec.Visible = True";
Debug.ShouldStop(8388608);
__ref.getField(false,"_l_montoefec" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 281;BA.debugLine="l_efectivo.Visible = True";
Debug.ShouldStop(16777216);
__ref.getField(false,"_l_efectivo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 282;BA.debugLine="l_montopag.Visible = True";
Debug.ShouldStop(33554432);
__ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 283;BA.debugLine="l_montopag.Text = pag.GetString(\"TMP_MONTO_PAGAR";
Debug.ShouldStop(67108864);
__ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_pag.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TMP_MONTO_PAGARE")))));
 BA.debugLineNum = 284;BA.debugLine="Dim PAGAREMONTO As Float = cuenta0 + Cuenta1 + C";
Debug.ShouldStop(134217728);
_pagaremonto = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),BA.numberCast(double.class, _cuenta1),BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _cuenta3)}, "+++",3, 0));Debug.locals.put("PAGAREMONTO", _pagaremonto);Debug.locals.put("PAGAREMONTO", _pagaremonto);
 BA.debugLineNum = 285;BA.debugLine="Dim PAGAREMONTO2 As Float = pag.GetString(\"TMP_M";
Debug.ShouldStop(268435456);
_pagaremonto2 = BA.numberCast(float.class, _pag.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TMP_MONTO_PAGARE"))));Debug.locals.put("PAGAREMONTO2", _pagaremonto2);Debug.locals.put("PAGAREMONTO2", _pagaremonto2);
 BA.debugLineNum = 287;BA.debugLine="If PAGAREMONTO - PAGAREMONTO2 < 0 Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_pagaremonto,_pagaremonto2}, "-",1, 0),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 288;BA.debugLine="l_montoefec.Text = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_l_montoefec" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 }else {
 BA.debugLineNum = 290;BA.debugLine="l_montoefec.Text = PAGAREMONTO - PAGAREMONTO2";
Debug.ShouldStop(2);
__ref.getField(false,"_l_montoefec" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {_pagaremonto,_pagaremonto2}, "-",1, 0)));
 };
 }else 
{ BA.debugLineNum = 292;BA.debugLine="Else If pag.RowCount = 0 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",_pag.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 293;BA.debugLine="l_credi.Visible = False";
Debug.ShouldStop(16);
__ref.getField(false,"_l_credi" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 BA.debugLineNum = 294;BA.debugLine="l_pagare.Visible = False";
Debug.ShouldStop(32);
__ref.getField(false,"_l_pagare" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 BA.debugLineNum = 295;BA.debugLine="l_montoefec.Visible = False";
Debug.ShouldStop(64);
__ref.getField(false,"_l_montoefec" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 BA.debugLineNum = 296;BA.debugLine="l_efectivo.Visible = False";
Debug.ShouldStop(128);
__ref.getField(false,"_l_efectivo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 BA.debugLineNum = 297;BA.debugLine="l_montopag.Visible = False";
Debug.ShouldStop(256);
__ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 }}
;
 BA.debugLineNum = 300;BA.debugLine="Starter.distanciaGeo = \"\"";
Debug.ShouldStop(2048);
c_cliente._starter._distanciageo /*RemoteObject*/  = BA.ObjectToString("");
 BA.debugLineNum = 301;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO FRO";
Debug.ShouldStop(4096);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HABILITADO FROM GPS"))));
 BA.debugLineNum = 302;BA.debugLine="If c.RowCount = 0 Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 303;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO GPS VALU";
Debug.ShouldStop(16384);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO GPS VALUES (?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))})))));
 };
 BA.debugLineNum = 305;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO FRO";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HABILITADO FROM GPS"))));
 BA.debugLineNum = 306;BA.debugLine="If c.RowCount >  0 Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 307;BA.debugLine="c.Position = 0";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 308;BA.debugLine="If c.GetString(\"HABILITADO\") = 0 Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HABILITADO"))),BA.NumberToString(0))) { 
 BA.debugLineNum = 309;BA.debugLine="Starter.distanciaGeo = \"500000000000\"";
Debug.ShouldStop(1048576);
c_cliente._starter._distanciageo /*RemoteObject*/  = BA.ObjectToString("500000000000");
 BA.debugLineNum = 310;BA.debugLine="Log(\"Esto es la distancia si esta desactivada l";
Debug.ShouldStop(2097152);
c_cliente.__c.runVoidMethod ("LogImpl","33735740",RemoteObject.concat(RemoteObject.createImmutable("Esto es la distancia si esta desactivada la Geo: "),c_cliente._starter._distanciageo /*RemoteObject*/ ),0);
 }else 
{ BA.debugLineNum = 311;BA.debugLine="Else If c.GetString(\"HABILITADO\") = 1 Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HABILITADO"))),BA.NumberToString(1))) { 
 BA.debugLineNum = 312;BA.debugLine="Starter.distanciaGeo = \"50\"";
Debug.ShouldStop(8388608);
c_cliente._starter._distanciageo /*RemoteObject*/  = BA.ObjectToString("50");
 BA.debugLineNum = 313;BA.debugLine="Log(\"Esto es la distancia si esta activada la G";
Debug.ShouldStop(16777216);
c_cliente.__c.runVoidMethod ("LogImpl","33735743",RemoteObject.concat(RemoteObject.createImmutable("Esto es la distancia si esta activada la Geo: "),c_cliente._starter._distanciageo /*RemoteObject*/ ),0);
 }}
;
 }else {
 };
 BA.debugLineNum = 319;BA.debugLine="Private ubicacionActual, l2 As Location";
Debug.ShouldStop(1073741824);
_ubicacionactual = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");Debug.locals.put("ubicacionActual", _ubicacionactual);
_l2 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");Debug.locals.put("l2", _l2);
 BA.debugLineNum = 320;BA.debugLine="ubicacionActual.Initialize2(B4XPages.MainPage.lat";
Debug.ShouldStop(-2147483648);
_ubicacionactual.runVoidMethod ("Initialize2",(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )));
 BA.debugLineNum = 321;BA.debugLine="l2.Initialize2(LATITUD, LONGITUD)";
Debug.ShouldStop(1);
_l2.runVoidMethod ("Initialize2",(Object)(__ref.getField(true,"_latitud" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_longitud" /*RemoteObject*/ )));
 BA.debugLineNum = 322;BA.debugLine="distance = ubicacionActual.DistanceTo(l2)";
Debug.ShouldStop(2);
__ref.setField ("_distance" /*RemoteObject*/ ,BA.numberCast(long.class, _ubicacionactual.runMethod(true,"DistanceTo",(Object)((_l2.getObject())))));
 BA.debugLineNum = 324;BA.debugLine="If distance < Starter.distanciaGeo Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("<",__ref.getField(true,"_distance" /*RemoteObject*/ ),BA.numberCast(long.class, c_cliente._starter._distanciageo /*RemoteObject*/ ))) { 
 BA.debugLineNum = 325;BA.debugLine="Tar.Visible = True";
Debug.ShouldStop(16);
__ref.getField(false,"_tar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 326;BA.debugLine="gest.Visible = True";
Debug.ShouldStop(32);
__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 327;BA.debugLine="b_noEntrega.Visible = True";
Debug.ShouldStop(64);
__ref.getField(false,"_b_noentrega" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 328;BA.debugLine="HIST.Visible = True";
Debug.ShouldStop(128);
__ref.getField(false,"_hist" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 }else {
 BA.debugLineNum = 330;BA.debugLine="Tar.Visible = False";
Debug.ShouldStop(512);
__ref.getField(false,"_tar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 BA.debugLineNum = 331;BA.debugLine="gest.Visible = False";
Debug.ShouldStop(1024);
__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 BA.debugLineNum = 332;BA.debugLine="b_noEntrega.Visible = False";
Debug.ShouldStop(2048);
__ref.getField(false,"_b_noentrega" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 BA.debugLineNum = 333;BA.debugLine="HIST.Visible = False";
Debug.ShouldStop(4096);
__ref.getField(false,"_hist" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 };
 BA.debugLineNum = 335;BA.debugLine="Log(distance)";
Debug.ShouldStop(16384);
c_cliente.__c.runVoidMethod ("LogImpl","33735765",BA.NumberToString(__ref.getField(true,"_distance" /*RemoteObject*/ )),0);
 BA.debugLineNum = 336;BA.debugLine="Tar.Visible = True";
Debug.ShouldStop(32768);
__ref.getField(false,"_tar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 337;BA.debugLine="gest.Visible = True";
Debug.ShouldStop(65536);
__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 338;BA.debugLine="b_noEntrega.Visible = True";
Debug.ShouldStop(131072);
__ref.getField(false,"_b_noentrega" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 339;BA.debugLine="HIST.Visible = True";
Debug.ShouldStop(262144);
__ref.getField(false,"_hist" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 340;BA.debugLine="End Sub";
Debug.ShouldStop(524288);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b4xpage_closerequest(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_CloseRequest (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,465);
if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_cliente","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.c_cliente 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.c_cliente parent;

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_CloseRequest (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,465);
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 = 468;BA.debugLine="B4XPages.ShowPage(\"Clientes\")";
Debug.ShouldStop(524288);
parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes")));
 BA.debugLineNum = 469;BA.debugLine="Return False";
Debug.ShouldStop(1048576);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 BA.debugLineNum = 470;BA.debugLine="End Sub";
Debug.ShouldStop(2097152);
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 (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,83);
if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_cliente","b4xpage_created", __ref, _root1);}
Debug.locals.put("Root1", _root1);
 BA.debugLineNum = 83;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)";
Debug.ShouldStop(262144);
 BA.debugLineNum = 84;BA.debugLine="Root = Root1";
Debug.ShouldStop(524288);
__ref.setField ("_root" /*RemoteObject*/ ,_root1);
 BA.debugLineNum = 86;BA.debugLine="g.Initialize(\"GPS\")";
Debug.ShouldStop(2097152);
__ref.getField(false,"_g" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("GPS")));
 BA.debugLineNum = 88;BA.debugLine="Root.LoadLayout(\"cliente\")";
Debug.ShouldStop(8388608);
__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("cliente")),__ref.getField(false, "ba"));
 BA.debugLineNum = 89;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO, C";
Debug.ShouldStop(16777216);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, CAT_CL_RUTA, CAT_CL_NOMBRE, CAT_CL_ATIENDE1, CAT_CL_ATIENTE2, CAT_CL_TELEFONO, CAT_CL_EMAIL, CAT_CL_CALLE, CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT  from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))));
 BA.debugLineNum = 90;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot";
Debug.ShouldStop(33554432);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))));
 BA.debugLineNum = 91;BA.debugLine="s.Position=0";
Debug.ShouldStop(67108864);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 92;BA.debugLine="c.Position=0";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 93;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")";
Debug.ShouldStop(268435456);
__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))));
 BA.debugLineNum = 94;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")";
Debug.ShouldStop(536870912);
__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))));
 BA.debugLineNum = 95;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOEXT"))))));
 BA.debugLineNum = 96;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_COLONIA")))));
 BA.debugLineNum = 97;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")";
Debug.ShouldStop(1);
__ref.getField(false,"_la_edo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_EDO")))));
 BA.debugLineNum = 98;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")";
Debug.ShouldStop(2);
__ref.getField(false,"_la_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CP")))));
 BA.debugLineNum = 99;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")";
Debug.ShouldStop(4);
__ref.getField(false,"_l_entre1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE1")))));
 BA.debugLineNum = 100;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")";
Debug.ShouldStop(8);
__ref.getField(false,"_l_entre2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE2")))));
 BA.debugLineNum = 101;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("N",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1")))) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1"))),BA.ObjectToString("null"))) { 
 BA.debugLineNum = 102;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")";
Debug.ShouldStop(32);
__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1")))));
 }else {
 BA.debugLineNum = 104;BA.debugLine="l_atiende.Text = \" \"";
Debug.ShouldStop(128);
__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(" "));
 };
 BA.debugLineNum = 106;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("N",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2")))) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2"))),BA.ObjectToString("NULL"))) { 
 BA.debugLineNum = 107;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")";
Debug.ShouldStop(1024);
__ref.getField(false,"_l_atiende2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2")))));
 BA.debugLineNum = 108;BA.debugLine="Log(\"|\"&c.GetString(\"CAT_CL_ATIENTE2\")&\"|\")";
Debug.ShouldStop(2048);
c_cliente.__c.runVoidMethod ("LogImpl","33670041",RemoteObject.concat(RemoteObject.createImmutable("|"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2"))),RemoteObject.createImmutable("|")),0);
 }else {
 BA.debugLineNum = 110;BA.debugLine="l_atiende2.Text = \" \"";
Debug.ShouldStop(8192);
__ref.getField(false,"_l_atiende2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(" "));
 };
 BA.debugLineNum = 112;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")";
Debug.ShouldStop(32768);
__ref.getField(false,"_la_saldotot" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO")))));
 BA.debugLineNum = 113;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")";
Debug.ShouldStop(65536);
__ref.getField(false,"_la_saldooper" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_EMAIL")))));
 BA.debugLineNum = 115;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")";
Debug.ShouldStop(262144);
__ref.getField(false,"_btadmin" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("BlueTeeth")));
 BA.debugLineNum = 116;BA.debugLine="cmp20.Initialize(\"Printer\")";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("Printer")));
 BA.debugLineNum = 117;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE";
Debug.ShouldStop(1048576);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )));
 BA.debugLineNum = 118;BA.debugLine="End Sub";
Debug.ShouldStop(2097152);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _class_globals(RemoteObject __ref) throws Exception{
 //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals";
 //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore";
c_cliente._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_cliente._root);
 //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore";
c_cliente._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_cliente._xui);
 //BA.debugLineNum = 4;BA.debugLine="Dim g As GPS";
c_cliente._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_cliente._g);
 //BA.debugLineNum = 5;BA.debugLine="Dim clie_id As String";
c_cliente._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_cliente._clie_id);
 //BA.debugLineNum = 6;BA.debugLine="Dim sDate,sTime As String";
c_cliente._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_cliente._sdate);
c_cliente._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_cliente._stime);
 //BA.debugLineNum = 7;BA.debugLine="Dim usuario As String";
c_cliente._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_cliente._usuario);
 //BA.debugLineNum = 8;BA.debugLine="Dim cuenta As String";
c_cliente._cuenta = RemoteObject.createImmutable("");__ref.setField("_cuenta",c_cliente._cuenta);
 //BA.debugLineNum = 9;BA.debugLine="Dim btAdmin As BluetoothAdmin";
c_cliente._btadmin = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial.BluetoothAdmin");__ref.setField("_btadmin",c_cliente._btadmin);
 //BA.debugLineNum = 10;BA.debugLine="Dim cmp20 As Serial";
c_cliente._cmp20 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial");__ref.setField("_cmp20",c_cliente._cmp20);
 //BA.debugLineNum = 11;BA.debugLine="Dim printer As TextWriter";
c_cliente._printer = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.TextWriterWrapper");__ref.setField("_printer",c_cliente._printer);
 //BA.debugLineNum = 12;BA.debugLine="Dim PairedDevices As Map";
c_cliente._paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_paireddevices",c_cliente._paireddevices);
 //BA.debugLineNum = 13;BA.debugLine="Dim L As List";
c_cliente._l = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_l",c_cliente._l);
 //BA.debugLineNum = 14;BA.debugLine="Dim TAMANO As Int";
c_cliente._tamano = RemoteObject.createImmutable(0);__ref.setField("_tamano",c_cliente._tamano);
 //BA.debugLineNum = 15;BA.debugLine="Dim ESPACIO As Int";
c_cliente._espacio = RemoteObject.createImmutable(0);__ref.setField("_espacio",c_cliente._espacio);
 //BA.debugLineNum = 16;BA.debugLine="Dim BLANCO As String";
c_cliente._blanco = RemoteObject.createImmutable("");__ref.setField("_blanco",c_cliente._blanco);
 //BA.debugLineNum = 17;BA.debugLine="Dim impresoraConectada As Boolean = False";
c_cliente._impresoraconectada = c_cliente.__c.getField(true,"False");__ref.setField("_impresoraconectada",c_cliente._impresoraconectada);
 //BA.debugLineNum = 18;BA.debugLine="Dim LONGITUD As String";
c_cliente._longitud = RemoteObject.createImmutable("");__ref.setField("_longitud",c_cliente._longitud);
 //BA.debugLineNum = 19;BA.debugLine="Dim LATITUD As String";
c_cliente._latitud = RemoteObject.createImmutable("");__ref.setField("_latitud",c_cliente._latitud);
 //BA.debugLineNum = 20;BA.debugLine="Dim NOMBRE As String";
c_cliente._nombre = RemoteObject.createImmutable("");__ref.setField("_nombre",c_cliente._nombre);
 //BA.debugLineNum = 21;BA.debugLine="Dim c As Cursor";
c_cliente._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_cliente._c);
 //BA.debugLineNum = 22;BA.debugLine="Dim s As Cursor";
c_cliente._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_cliente._s);
 //BA.debugLineNum = 23;BA.debugLine="Dim ListView1 As ListView";
c_cliente._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_cliente._listview1);
 //BA.debugLineNum = 24;BA.debugLine="Dim la_cuenta As Label";
c_cliente._la_cuenta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_cuenta",c_cliente._la_cuenta);
 //BA.debugLineNum = 25;BA.debugLine="Dim La_nombre As Label";
c_cliente._la_nombre = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_nombre",c_cliente._la_nombre);
 //BA.debugLineNum = 26;BA.debugLine="Dim la_Calle As Label";
c_cliente._la_calle = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_calle",c_cliente._la_calle);
 //BA.debugLineNum = 27;BA.debugLine="Dim la_numero As Label";
c_cliente._la_numero = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_numero",c_cliente._la_numero);
 //BA.debugLineNum = 28;BA.debugLine="Dim la_nint As Label";
c_cliente._la_nint = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_nint",c_cliente._la_nint);
 //BA.debugLineNum = 29;BA.debugLine="Dim la_edo As Label";
c_cliente._la_edo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_edo",c_cliente._la_edo);
 //BA.debugLineNum = 30;BA.debugLine="Dim la_pob As Label";
c_cliente._la_pob = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_pob",c_cliente._la_pob);
 //BA.debugLineNum = 31;BA.debugLine="Dim la_col As Label";
c_cliente._la_col = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_col",c_cliente._la_col);
 //BA.debugLineNum = 32;BA.debugLine="Dim la_cp As Label";
c_cliente._la_cp = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_cp",c_cliente._la_cp);
 //BA.debugLineNum = 33;BA.debugLine="Dim la_zona As Label";
c_cliente._la_zona = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_zona",c_cliente._la_zona);
 //BA.debugLineNum = 34;BA.debugLine="Dim gest As Button";
c_cliente._gest = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_gest",c_cliente._gest);
 //BA.debugLineNum = 35;BA.debugLine="Dim la_saldotot As Label";
c_cliente._la_saldotot = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_saldotot",c_cliente._la_saldotot);
 //BA.debugLineNum = 36;BA.debugLine="Dim la_saldooper As Label";
c_cliente._la_saldooper = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_saldooper",c_cliente._la_saldooper);
 //BA.debugLineNum = 37;BA.debugLine="Dim reqManager As DBRequestManager";
c_cliente._reqmanager = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager");__ref.setField("_reqmanager",c_cliente._reqmanager);
 //BA.debugLineNum = 38;BA.debugLine="Dim b_noEntrega As Button";
c_cliente._b_noentrega = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_noentrega",c_cliente._b_noentrega);
 //BA.debugLineNum = 39;BA.debugLine="Dim Label10 As Label";
c_cliente._label10 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label10",c_cliente._label10);
 //BA.debugLineNum = 40;BA.debugLine="Dim Label11 As Label";
c_cliente._label11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label11",c_cliente._label11);
 //BA.debugLineNum = 41;BA.debugLine="Dim d As Cursor";
c_cliente._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_cliente._d);
 //BA.debugLineNum = 42;BA.debugLine="Dim Tar As Button";
c_cliente._tar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_tar",c_cliente._tar);
 //BA.debugLineNum = 43;BA.debugLine="Private L_QR As Label";
c_cliente._l_qr = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_qr",c_cliente._l_qr);
 //BA.debugLineNum = 44;BA.debugLine="Private BT_QR As Button";
c_cliente._bt_qr = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_bt_qr",c_cliente._bt_qr);
 //BA.debugLineNum = 45;BA.debugLine="Dim Printer1 As EscPosPrinter";
c_cliente._printer1 = RemoteObject.createNew ("reparto_mazapa.keymon.lat.escposprinter");__ref.setField("_printer1",c_cliente._printer1);
 //BA.debugLineNum = 46;BA.debugLine="Dim la_comm As Label";
c_cliente._la_comm = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_comm",c_cliente._la_comm);
 //BA.debugLineNum = 47;BA.debugLine="Dim la_actdte As Label";
c_cliente._la_actdte = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_actdte",c_cliente._la_actdte);
 //BA.debugLineNum = 48;BA.debugLine="Dim la_usuario As Label";
c_cliente._la_usuario = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_usuario",c_cliente._la_usuario);
 //BA.debugLineNum = 49;BA.debugLine="Dim la_resultado As Label";
c_cliente._la_resultado = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_resultado",c_cliente._la_resultado);
 //BA.debugLineNum = 50;BA.debugLine="Dim l_entre1 As Label";
c_cliente._l_entre1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_entre1",c_cliente._l_entre1);
 //BA.debugLineNum = 51;BA.debugLine="Dim l_entre2 As Label";
c_cliente._l_entre2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_entre2",c_cliente._l_entre2);
 //BA.debugLineNum = 52;BA.debugLine="Dim l_atiende As Label";
c_cliente._l_atiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_atiende",c_cliente._l_atiende);
 //BA.debugLineNum = 53;BA.debugLine="Dim l_atiende2 As Label";
c_cliente._l_atiende2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_atiende2",c_cliente._l_atiende2);
 //BA.debugLineNum = 54;BA.debugLine="Dim DATOS As Button";
c_cliente._datos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_datos",c_cliente._datos);
 //BA.debugLineNum = 55;BA.debugLine="Dim Guardar As Button";
c_cliente._guardar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_guardar",c_cliente._guardar);
 //BA.debugLineNum = 56;BA.debugLine="Dim NUEVO As Button";
c_cliente._nuevo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_nuevo",c_cliente._nuevo);
 //BA.debugLineNum = 57;BA.debugLine="Private l_total As Label";
c_cliente._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_cliente._l_total);
 //BA.debugLineNum = 58;BA.debugLine="Private HIST As Button";
c_cliente._hist = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_hist",c_cliente._hist);
 //BA.debugLineNum = 59;BA.debugLine="Dim PASA_IMP As String";
c_cliente._pasa_imp = RemoteObject.createImmutable("");__ref.setField("_pasa_imp",c_cliente._pasa_imp);
 //BA.debugLineNum = 60;BA.debugLine="Private B_IMP As Button";
c_cliente._b_imp = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_imp",c_cliente._b_imp);
 //BA.debugLineNum = 61;BA.debugLine="Dim total_cliente As String";
c_cliente._total_cliente = RemoteObject.createImmutable("");__ref.setField("_total_cliente",c_cliente._total_cliente);
 //BA.debugLineNum = 62;BA.debugLine="Dim CREDITO As String";
c_cliente._credito = RemoteObject.createImmutable("");__ref.setField("_credito",c_cliente._credito);
 //BA.debugLineNum = 63;BA.debugLine="Private p_principal As Panel";
c_cliente._p_principal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_principal",c_cliente._p_principal);
 //BA.debugLineNum = 64;BA.debugLine="Private B_PASO2 As Button";
c_cliente._b_paso2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_paso2",c_cliente._b_paso2);
 //BA.debugLineNum = 65;BA.debugLine="Private L_CANT As Label";
c_cliente._l_cant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant",c_cliente._l_cant);
 //BA.debugLineNum = 66;BA.debugLine="Dim errorImpresora As Int = 0";
c_cliente._errorimpresora = BA.numberCast(int.class, 0);__ref.setField("_errorimpresora",c_cliente._errorimpresora);
 //BA.debugLineNum = 67;BA.debugLine="Dim banderaimp As Int";
c_cliente._banderaimp = RemoteObject.createImmutable(0);__ref.setField("_banderaimp",c_cliente._banderaimp);
 //BA.debugLineNum = 68;BA.debugLine="Private l_credi As Label";
c_cliente._l_credi = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_credi",c_cliente._l_credi);
 //BA.debugLineNum = 69;BA.debugLine="Private l_pagare As Label";
c_cliente._l_pagare = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pagare",c_cliente._l_pagare);
 //BA.debugLineNum = 70;BA.debugLine="Private l_montopag As Label";
c_cliente._l_montopag = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montopag",c_cliente._l_montopag);
 //BA.debugLineNum = 71;BA.debugLine="Private l_efectivo As Label";
c_cliente._l_efectivo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efectivo",c_cliente._l_efectivo);
 //BA.debugLineNum = 72;BA.debugLine="Private l_montoefec As Label";
c_cliente._l_montoefec = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montoefec",c_cliente._l_montoefec);
 //BA.debugLineNum = 73;BA.debugLine="Dim distance As Long";
c_cliente._distance = RemoteObject.createImmutable(0L);__ref.setField("_distance",c_cliente._distance);
 //BA.debugLineNum = 74;BA.debugLine="Private b_visitasinentrega As Button";
c_cliente._b_visitasinentrega = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_visitasinentrega",c_cliente._b_visitasinentrega);
 //BA.debugLineNum = 75;BA.debugLine="End Sub";
return RemoteObject.createImmutable("");
}
public static RemoteObject  _datos_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("DATOS_Click (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,477);
if (RapidSub.canDelegate("datos_click")) { return __ref.runUserSub(false, "c_cliente","datos_click", __ref);}
 BA.debugLineNum = 477;BA.debugLine="Sub DATOS_Click";
Debug.ShouldStop(268435456);
 BA.debugLineNum = 479;BA.debugLine="End Sub";
Debug.ShouldStop(1073741824);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _gest_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("gest_Click (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,402);
if (RapidSub.canDelegate("gest_click")) { return __ref.runUserSub(false, "c_cliente","gest_click", __ref);}
 BA.debugLineNum = 402;BA.debugLine="Sub gest_Click";
Debug.ShouldStop(131072);
 BA.debugLineNum = 403;BA.debugLine="B_IMP_Click";
Debug.ShouldStop(262144);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_cliente.class, "_b_imp_click" /*RemoteObject*/ );
 BA.debugLineNum = 404;BA.debugLine="banderaimp = 1";
Debug.ShouldStop(524288);
__ref.setField ("_banderaimp" /*RemoteObject*/ ,BA.numberCast(int.class, 1));
 BA.debugLineNum = 405;BA.debugLine="End Sub";
Debug.ShouldStop(1048576);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{
try {
		Debug.PushSubsStack("GPS_LocationChanged (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,346);
if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_cliente","gps_locationchanged", __ref, _location1);}
RemoteObject _l1 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper");
RemoteObject _l2 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper");
RemoteObject _habi = RemoteObject.createImmutable("");
Debug.locals.put("Location1", _location1);
 BA.debugLineNum = 346;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)";
Debug.ShouldStop(33554432);
 BA.debugLineNum = 348;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean(".",c_cliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean("!",c_cliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 349;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK";
Debug.ShouldStop(268435456);
c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(c_cliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude")));
 BA.debugLineNum = 350;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK";
Debug.ShouldStop(536870912);
c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(c_cliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude")));
 BA.debugLineNum = 351;BA.debugLine="Log(\"Coords set to: \" & B4XPages.MainPage.lat_gp";
Debug.ShouldStop(1073741824);
c_cliente.__c.runVoidMethod ("LogImpl","33866629",RemoteObject.concat(RemoteObject.createImmutable("Coords set to: "),c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),RemoteObject.createImmutable(" and "),c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),0);
 };
 BA.debugLineNum = 354;BA.debugLine="If LATITUD.Length < 5 Then";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("<",__ref.getField(true,"_latitud" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 5))) { 
 }else {
 BA.debugLineNum = 359;BA.debugLine="Dim l1, l2 As Location";
Debug.ShouldStop(64);
_l1 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");Debug.locals.put("l1", _l1);
_l2 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");Debug.locals.put("l2", _l2);
 BA.debugLineNum = 360;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPag";
Debug.ShouldStop(128);
_l1.runVoidMethod ("Initialize2",(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )));
 BA.debugLineNum = 361;BA.debugLine="Log($\"Coordenadas de la tienda - lat:${LATITUD},";
Debug.ShouldStop(256);
c_cliente.__c.runVoidMethod ("LogImpl","33866639",(RemoteObject.concat(RemoteObject.createImmutable("Coordenadas de la tienda - lat:"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_latitud" /*RemoteObject*/ )))),RemoteObject.createImmutable(", lon:"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_longitud" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 362;BA.debugLine="l2.Initialize2(LATITUD, LONGITUD)";
Debug.ShouldStop(512);
_l2.runVoidMethod ("Initialize2",(Object)(__ref.getField(true,"_latitud" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_longitud" /*RemoteObject*/ )));
 BA.debugLineNum = 367;BA.debugLine="distance =    l1.DistanceTo(l2)  'the result is";
Debug.ShouldStop(16384);
__ref.setField ("_distance" /*RemoteObject*/ ,BA.numberCast(long.class, _l1.runMethod(true,"DistanceTo",(Object)((_l2.getObject())))));
 BA.debugLineNum = 369;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO FR";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HABILITADO FROM GPS"))));
 BA.debugLineNum = 370;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 371;BA.debugLine="c.Position = 0";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 372;BA.debugLine="Dim habi As String = c.GetString(\"HABILITADO\")";
Debug.ShouldStop(524288);
_habi = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HABILITADO")));Debug.locals.put("habi", _habi);Debug.locals.put("habi", _habi);
 };
 BA.debugLineNum = 386;BA.debugLine="Log(\"DISTANCIA \"&distance)";
Debug.ShouldStop(2);
c_cliente.__c.runVoidMethod ("LogImpl","33866664",RemoteObject.concat(RemoteObject.createImmutable("DISTANCIA "),__ref.getField(true,"_distance" /*RemoteObject*/ )),0);
 };
 BA.debugLineNum = 389;BA.debugLine="Dim sDate,sTime As String";
Debug.ShouldStop(16);
c_cliente._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_cliente._sdate);
c_cliente._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_cliente._stime);
 BA.debugLineNum = 390;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(32);
c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 391;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(64);
__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 392;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(128);
__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 393;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\")";
Debug.ShouldStop(256);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_GPS")));
 BA.debugLineNum = 394;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO  HIST_GPS";
Debug.ShouldStop(512);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO  HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))})))));
 BA.debugLineNum = 395;BA.debugLine="CallSubDelayed(Tracker, \"CreateLocationRequest\")";
Debug.ShouldStop(1024);
c_cliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_cliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("CreateLocationRequest")));
 BA.debugLineNum = 396;BA.debugLine="End Sub";
Debug.ShouldStop(2048);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static void  _guardado(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Guardado (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,407);
if (RapidSub.canDelegate("guardado")) { __ref.runUserSub(false, "c_cliente","guardado", __ref); return;}
ResumableSub_Guardado rsub = new ResumableSub_Guardado(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_Guardado extends BA.ResumableSub {
public ResumableSub_Guardado(reparto_mazapa.keymon.lat.c_cliente 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.c_cliente parent;
RemoteObject _ruta = RemoteObject.createImmutable("");
RemoteObject _rutapre = RemoteObject.createImmutable("");
RemoteObject _fechaprev = RemoteObject.createImmutable("");
RemoteObject _rutaactualizar = RemoteObject.createImmutable("");
RemoteObject _rut = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _resultado = RemoteObject.createImmutable(0);
RemoteObject _mandamapa = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("Guardado (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,407);
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 = 408;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(8388608);
parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 409;BA.debugLine="DateTime.TimeFormat=\"HHmmss\"";
Debug.ShouldStop(16777216);
parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss"));
 BA.debugLineNum = 410;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(33554432);
__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 411;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(67108864);
__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 412;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CUENTA from cuentaa"))));
 BA.debugLineNum = 413;BA.debugLine="c.Position = 0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 414;BA.debugLine="cuenta = c.GetString(\"CUENTA\")";
Debug.ShouldStop(536870912);
__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))));
 BA.debugLineNum = 415;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa"))));
 BA.debugLineNum = 416;BA.debugLine="c.Position = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 417;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(1);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 418;BA.debugLine="c.Close";
Debug.ShouldStop(2);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 419;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT";
Debug.ShouldStop(4);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA"))));
 BA.debugLineNum = 420;BA.debugLine="d.Position = 0";
Debug.ShouldStop(8);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 421;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")";
Debug.ShouldStop(16);
_ruta = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")));Debug.locals.put("ruta", _ruta);Debug.locals.put("ruta", _ruta);
 BA.debugLineNum = 422;BA.debugLine="d.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 423;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA FR";
Debug.ShouldStop(64);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));
 BA.debugLineNum = 424;BA.debugLine="d.Position = 0";
Debug.ShouldStop(128);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 425;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUTA\"";
Debug.ShouldStop(256);
_rutapre = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutapre", _rutapre);Debug.locals.put("rutapre", _rutapre);
 BA.debugLineNum = 426;BA.debugLine="d.Close";
Debug.ShouldStop(512);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 430;BA.debugLine="Dim fechaprev As String = Subs.traefECHAPREV";
Debug.ShouldStop(8192);
_fechaprev = parent._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("fechaprev", _fechaprev);Debug.locals.put("fechaprev", _fechaprev);
 BA.debugLineNum = 433;BA.debugLine="Dim rutaactualizar As String";
Debug.ShouldStop(65536);
_rutaactualizar = RemoteObject.createImmutable("");Debug.locals.put("rutaactualizar", _rutaactualizar);
 BA.debugLineNum = 434;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELEC";
Debug.ShouldStop(131072);
_rut = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_rut = 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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("rut", _rut);Debug.locals.put("rut", _rut);
 BA.debugLineNum = 435;BA.debugLine="If rut.RowCount > 0 Then";
Debug.ShouldStop(262144);
if (true) break;

case 1:
//if
this.state = 4;
if (RemoteObject.solveBoolean(">",_rut.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 3;
}if (true) break;

case 3:
//C
this.state = 4;
 BA.debugLineNum = 436;BA.debugLine="rut.Position = 0";
Debug.ShouldStop(524288);
_rut.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 437;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")";
Debug.ShouldStop(1048576);
_rutaactualizar = _rut.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutaactualizar", _rutaactualizar);
 if (true) break;

case 4:
//C
this.state = 5;
;
 BA.debugLineNum = 441;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA (";
Debug.ShouldStop(16777216);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_RUTA) VALUES(?,?,?,?,?,?,?,?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(__ref.getField(true,"_cuenta" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),RemoteObject.createImmutable(("ENTREGA")),RemoteObject.createImmutable(("ENTREGA COMPLETA")),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(_rutaactualizar)})))));
 BA.debugLineNum = 442;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO_G";
Debug.ShouldStop(33554432);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,0)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {10},new Object[] {__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )),parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ),parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_almacen" /*RemoteObject*/ ),_ruta,_rutapre,_fechaprev,RemoteObject.createImmutable("ENTREGADO")})))));
 BA.debugLineNum = 443;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g";
Debug.ShouldStop(67108864);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 2, HORAENT = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("' ")))));
 BA.debugLineNum = 444;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET";
Debug.ShouldStop(134217728);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("update HIST_VENTAS SET HVD_ESTATUS = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
 BA.debugLineNum = 445;BA.debugLine="mandaPendientesreparto";
Debug.ShouldStop(268435456);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_cliente.class, "_mandapendientesreparto" /*RemoteObject*/ );
 BA.debugLineNum = 447;BA.debugLine="Msgbox2Async(\"Pedido entregado\",\"Atención\",\"Ok\",\"";
Debug.ShouldStop(1073741824);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Pedido entregado")),(Object)(BA.ObjectToCharSequence("Atención")),(Object)(BA.ObjectToString("Ok")),(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 = 448;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
Debug.ShouldStop(-2147483648);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "guardado"), null);
this.state = 15;
return;
case 15:
//C
this.state = 5;
_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado);
;
 BA.debugLineNum = 449;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
Debug.ShouldStop(1);
if (true) break;

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

case 7:
//C
this.state = 8;
 BA.debugLineNum = 450;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQuery";
Debug.ShouldStop(2);
_mandamapa = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_mandamapa = 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 * FROM kmt_info WHERE gestion = 0 and CAT_CL_CODIGO <> 63403"))));Debug.locals.put("mandamapa", _mandamapa);Debug.locals.put("mandamapa", _mandamapa);
 BA.debugLineNum = 451;BA.debugLine="If mandamapa.RowCount > 0 Then";
Debug.ShouldStop(4);
if (true) break;

case 8:
//if
this.state = 13;
if (RemoteObject.solveBoolean(">",_mandamapa.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 10;
}else 
{ BA.debugLineNum = 453;BA.debugLine="Else If mandamapa.RowCount = 0 Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",_mandamapa.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 12;
}}
if (true) break;

case 10:
//C
this.state = 13;
 BA.debugLineNum = 452;BA.debugLine="StartActivity(MAPA_RUTAS)";
Debug.ShouldStop(8);
parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((parent._mapa_rutas.getObject())));
 if (true) break;

case 12:
//C
this.state = 13;
 BA.debugLineNum = 454;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(32);
parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 if (true) break;

case 13:
//C
this.state = 14;
;
 if (true) break;

case 14:
//C
this.state = -1;
;
 BA.debugLineNum = 458;BA.debugLine="End Sub";
Debug.ShouldStop(512);
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 RemoteObject  _guardar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Guardar_Click (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,481);
if (RapidSub.canDelegate("guardar_click")) { return __ref.runUserSub(false, "c_cliente","guardar_click", __ref);}
RemoteObject _mandamapa = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
 BA.debugLineNum = 481;BA.debugLine="Sub Guardar_Click";
Debug.ShouldStop(1);
 BA.debugLineNum = 482;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(2);
_mandamapa = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_mandamapa = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM kmt_info WHERE gestion = 0 AND cat_cl_codigo <> 63403"))));Debug.locals.put("mandamapa", _mandamapa);Debug.locals.put("mandamapa", _mandamapa);
 BA.debugLineNum = 483;BA.debugLine="If mandamapa.RowCount > 0 Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean(">",_mandamapa.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 484;BA.debugLine="StartActivity(MAPA_RUTAS)";
Debug.ShouldStop(8);
c_cliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_cliente._mapa_rutas.getObject())));
 }else 
{ BA.debugLineNum = 485;BA.debugLine="Else If mandamapa.RowCount = 0 Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",_mandamapa.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 486;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(32);
c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 }}
;
 BA.debugLineNum = 488;BA.debugLine="End Sub";
Debug.ShouldStop(128);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _hist_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("HIST_Click (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,494);
if (RapidSub.canDelegate("hist_click")) { return __ref.runUserSub(false, "c_cliente","hist_click", __ref);}
 BA.debugLineNum = 494;BA.debugLine="Sub HIST_Click";
Debug.ShouldStop(8192);
 BA.debugLineNum = 498;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Initializ";
Debug.ShouldStop(131072);
c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_detalleventa" /*RemoteObject*/ ).getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 500;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")";
Debug.ShouldStop(524288);
c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("DetalleVenta")));
 BA.debugLineNum = 501;BA.debugLine="End Sub";
Debug.ShouldStop(1048576);
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 (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,78);
if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_cliente","initialize", __ref, _ba);}
__ref.runVoidMethodAndSync("innerInitializeHelper", _ba);
Debug.locals.put("ba", _ba);
 BA.debugLineNum = 78;BA.debugLine="Public Sub Initialize As Object";
Debug.ShouldStop(8192);
 BA.debugLineNum = 79;BA.debugLine="Return Me";
Debug.ShouldStop(16384);
if (true) return __ref;
 BA.debugLineNum = 80;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
return RemoteObject.createImmutable(null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _jobdone(RemoteObject __ref,RemoteObject _job) throws Exception{
try {
		Debug.PushSubsStack("JobDone (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,1035);
if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_cliente","jobdone", __ref, _job);}
RemoteObject _resultado = RemoteObject.declareNull("reparto_mazapa.keymon.lat.dbrequestmanager._dbresult");
RemoteObject _cliente = RemoteObject.createImmutable("");
RemoteObject _records = null;
RemoteObject _k = RemoteObject.createImmutable("");
Debug.locals.put("Job", _job);
 BA.debugLineNum = 1035;BA.debugLine="Sub JobDone(Job As HttpJob)";
Debug.ShouldStop(1024);
 BA.debugLineNum = 1036;BA.debugLine="Log(Job.Success)";
Debug.ShouldStop(2048);
c_cliente.__c.runVoidMethod ("LogImpl","34980737",BA.ObjectToString(_job.getField(true,"_success" /*RemoteObject*/ )),0);
 BA.debugLineNum = 1037;BA.debugLine="If Job.Success = False Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_cliente.__c.getField(true,"False"))) { 
 }else {
 BA.debugLineNum = 1040;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
Debug.ShouldStop(32768);
c_cliente.__c.runVoidMethod ("LogImpl","34980741",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),c_cliente.__c.getField(false,"Colors").getField(true,"Green"));
 BA.debugLineNum = 1041;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1042;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo";
Debug.ShouldStop(131072);
_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado);
 BA.debugLineNum = 1043;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("ins_REPARTOPendientes_head_"))),BA.numberCast(double.class, -(double) (0 + 1)))) { 
 BA.debugLineNum = 1044;BA.debugLine="Private cliente As String= resultado.Tag";
Debug.ShouldStop(524288);
_cliente = BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ));Debug.locals.put("cliente", _cliente);Debug.locals.put("cliente", _cliente);
 BA.debugLineNum = 1045;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_";
Debug.ShouldStop(1048576);
_cliente = _cliente.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_cliente.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("_"))),RemoteObject.createImmutable(24)}, "+",1, 1)));Debug.locals.put("cliente", _cliente);
 BA.debugLineNum = 1046;BA.debugLine="Log($\"Cliente1:${cliente}\"$)";
Debug.ShouldStop(2097152);
c_cliente.__c.runVoidMethod ("LogImpl","34980747",(RemoteObject.concat(RemoteObject.createImmutable("Cliente1:"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 1047;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO";
Debug.ShouldStop(4194304);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {BA.ObjectToString("1"),_cliente,RemoteObject.createImmutable("1")})))));
 BA.debugLineNum = 1048;BA.debugLine="For Each records() As Object In resultado.Rows";
Debug.ShouldStop(8388608);
{
final RemoteObject group12 = _resultado.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen12 = group12.runMethod(true,"getSize").<Integer>get()
;int index12 = 0;
;
for (; index12 < groupLen12;index12++){
_records = (group12.runMethod(false,"Get",index12));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1049;BA.debugLine="For Each k As String In resultado.Columns.Key";
Debug.ShouldStop(16777216);
{
final RemoteObject group13 = _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys");
final int groupLen13 = group13.runMethod(true,"getSize").<Integer>get()
;int index13 = 0;
;
for (; index13 < groupLen13;index13++){
_k = BA.ObjectToString(group13.runMethod(false,"Get",index13));Debug.locals.put("k", _k);
Debug.locals.put("k", _k);
 BA.debugLineNum = 1050;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record";
Debug.ShouldStop(33554432);
c_cliente.__c.runVoidMethod ("LogImpl","34980751",RemoteObject.concat(_resultado.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(": "),_k,RemoteObject.createImmutable(": "),_records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_k)))))),0);
 }
}Debug.locals.put("k", _k);
;
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1055;BA.debugLine="Job.Release";
Debug.ShouldStop(1073741824);
_job.runClassMethod (reparto_mazapa.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ );
 };
 BA.debugLineNum = 1058;BA.debugLine="End Sub";
Debug.ShouldStop(2);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _listview1_itemlongclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{
try {
		Debug.PushSubsStack("ListView1_ItemLongClick (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,398);
if (RapidSub.canDelegate("listview1_itemlongclick")) { return __ref.runUserSub(false, "c_cliente","listview1_itemlongclick", __ref, _position, _value);}
Debug.locals.put("Position", _position);
Debug.locals.put("Value", _value);
 BA.debugLineNum = 398;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu";
Debug.ShouldStop(8192);
 BA.debugLineNum = 400;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _mandapendientesreparto(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("mandaPendientesreparto (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,1015);
if (RapidSub.canDelegate("mandapendientesreparto")) { return __ref.runUserSub(false, "c_cliente","mandapendientesreparto", __ref);}
int _i = 0;
RemoteObject _cmd = RemoteObject.declareNull("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");
 BA.debugLineNum = 1015;BA.debugLine="Sub mandaPendientesreparto";
Debug.ShouldStop(4194304);
 BA.debugLineNum = 1016;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT  CLIENTE, USUARI";
Debug.ShouldStop(8388608);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT  CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO where ENVIO <> 1"))));
 BA.debugLineNum = 1017;BA.debugLine="Log($\"REPARTO_Cliente PENDIENTE: ${c.RowCount}\"$)";
Debug.ShouldStop(16777216);
c_cliente.__c.runVoidMethod ("LogImpl","34915202",(RemoteObject.concat(RemoteObject.createImmutable("REPARTO_Cliente PENDIENTE: "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 1018;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1019;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(67108864);
{
final int step4 = 1;
final int limit4 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1020;BA.debugLine="c.Position=i";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1022;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(536870912);
_cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd);
 BA.debugLineNum = 1023;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1073741824);
_cmd.runVoidMethod ("Initialize");
 BA.debugLineNum = 1025;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C";
Debug.ShouldStop(1);
_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA_PUNTEO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LATITUD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LONGITUD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTA_REPARTO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTA_PREV")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA_PREVENTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MOTIVO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COMENTARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TIPO"))))}));
 BA.debugLineNum = 1026;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe";
Debug.ShouldStop(2);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("ins_REPARTOPendientes_head_"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))))),RemoteObject.createImmutable(""))))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 1030;BA.debugLine="c.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1031;BA.debugLine="End Sub";
Debug.ShouldStop(64);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _nuevo_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("NUEVO_Click (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,490);
if (RapidSub.canDelegate("nuevo_click")) { return __ref.runUserSub(false, "c_cliente","nuevo_click", __ref);}
 BA.debugLineNum = 490;BA.debugLine="Sub NUEVO_Click";
Debug.ShouldStop(512);
 BA.debugLineNum = 491;BA.debugLine="StartActivity(MAPA_CLIENTE)";
Debug.ShouldStop(1024);
c_cliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_cliente._mapa_cliente.getObject())));
 BA.debugLineNum = 492;BA.debugLine="End Sub";
Debug.ShouldStop(2048);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _printer_connected(RemoteObject __ref,RemoteObject _success) throws Exception{
try {
		Debug.PushSubsStack("Printer_Connected (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,941);
if (RapidSub.canDelegate("printer_connected")) { return __ref.runUserSub(false, "c_cliente","printer_connected", __ref, _success);}
Debug.locals.put("Success", _success);
 BA.debugLineNum = 941;BA.debugLine="Sub Printer_Connected (Success As Boolean)";
Debug.ShouldStop(4096);
 BA.debugLineNum = 942;BA.debugLine="If Success Then";
Debug.ShouldStop(8192);
if (_success.<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 943;BA.debugLine="B_IMP.Enabled = True";
Debug.ShouldStop(16384);
__ref.getField(false,"_b_imp" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 944;BA.debugLine="PASA_IMP = \"1\"";
Debug.ShouldStop(32768);
__ref.setField ("_pasa_imp" /*RemoteObject*/ ,BA.ObjectToString("1"));
 }else {
 BA.debugLineNum = 946;BA.debugLine="B_IMP.Enabled = False";
Debug.ShouldStop(131072);
__ref.getField(false,"_b_imp" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"False"));
 BA.debugLineNum = 947;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",c_cliente.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("")),(Object)(BA.ObjectToCharSequence("Printer Error")),(Object)(BA.ObjectToString("Reprint")),(Object)(BA.ObjectToString("Cancel")),(Object)(BA.ObjectToString("")),(Object)((c_cliente.__c.getField(false,"Null"))),__ref.getField(false, "ba")),BA.numberCast(double.class, c_cliente.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
 BA.debugLineNum = 948;BA.debugLine="StartPrinter";
Debug.ShouldStop(524288);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_cliente.class, "_startprinter" /*RemoteObject*/ );
 };
 };
 BA.debugLineNum = 951;BA.debugLine="End Sub";
Debug.ShouldStop(4194304);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _printer1_connected(RemoteObject __ref,RemoteObject _success) throws Exception{
try {
		Debug.PushSubsStack("Printer1_Connected (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,920);
if (RapidSub.canDelegate("printer1_connected")) { return __ref.runUserSub(false, "c_cliente","printer1_connected", __ref, _success);}
Debug.locals.put("Success", _success);
 BA.debugLineNum = 920;BA.debugLine="Sub Printer1_Connected (Success As Boolean)";
Debug.ShouldStop(8388608);
 BA.debugLineNum = 922;BA.debugLine="If Success Then";
Debug.ShouldStop(33554432);
if (_success.<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 923;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)";
Debug.ShouldStop(67108864);
c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Impresora conectada")),(Object)(c_cliente.__c.getField(true,"False")));
 BA.debugLineNum = 924;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI";
Debug.ShouldStop(134217728);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("MACIMP"))})))));
 BA.debugLineNum = 925;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI";
Debug.ShouldStop(268435456);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("MACIMP")),(c_cliente._starter._mac_impresora /*RemoteObject*/ )})))));
 BA.debugLineNum = 926;BA.debugLine="LogColor(\"Impresora conectada\", Colors.Green)";
Debug.ShouldStop(536870912);
c_cliente.__c.runVoidMethod ("LogImpl","34653062",BA.ObjectToString("Impresora conectada"),c_cliente.__c.getField(false,"Colors").getField(true,"Green"));
 BA.debugLineNum = 928;BA.debugLine="impresoraConectada = True";
Debug.ShouldStop(-2147483648);
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,c_cliente.__c.getField(true,"True"));
 }else {
 BA.debugLineNum = 932;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors";
Debug.ShouldStop(8);
c_cliente.__c.runVoidMethod ("LogImpl","34653068",BA.ObjectToString("Error conectando la impresora"),c_cliente.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 933;BA.debugLine="errorImpresora = errorImpresora + 1";
Debug.ShouldStop(16);
__ref.setField ("_errorimpresora" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_errorimpresora" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1));
 BA.debugLineNum = 934;BA.debugLine="If errorImpresora > 1 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean(">",__ref.getField(true,"_errorimpresora" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { 
 BA.debugLineNum = 935;BA.debugLine="Starter.MAC_IMPRESORA = \"0\"";
Debug.ShouldStop(64);
c_cliente._starter._mac_impresora /*RemoteObject*/  = BA.ObjectToString("0");
 BA.debugLineNum = 936;BA.debugLine="errorImpresora = 0";
Debug.ShouldStop(128);
__ref.setField ("_errorimpresora" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 };
 };
 BA.debugLineNum = 939;BA.debugLine="End Sub";
Debug.ShouldStop(1024);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _startprinter(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("StartPrinter (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,953);
if (RapidSub.canDelegate("startprinter")) { return __ref.runUserSub(false, "c_cliente","startprinter", __ref);}
RemoteObject _resimp = RemoteObject.createImmutable(0);
int _i = 0;
 BA.debugLineNum = 953;BA.debugLine="Sub StartPrinter";
Debug.ShouldStop(16777216);
 BA.debugLineNum = 954;BA.debugLine="Dim PairedDevices As Map";
Debug.ShouldStop(33554432);
c_cliente._paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_paireddevices",c_cliente._paireddevices);
 BA.debugLineNum = 955;BA.debugLine="Dim L As List";
Debug.ShouldStop(67108864);
c_cliente._l = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_l",c_cliente._l);
 BA.debugLineNum = 956;BA.debugLine="Dim resimp As Int";
Debug.ShouldStop(134217728);
_resimp = RemoteObject.createImmutable(0);Debug.locals.put("resimp", _resimp);
 BA.debugLineNum = 957;BA.debugLine="ToastMessageShow(\"Printing.....\",True)";
Debug.ShouldStop(268435456);
c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Printing.....")),(Object)(c_cliente.__c.getField(true,"True")));
 BA.debugLineNum = 958;BA.debugLine="PairedDevices.Initialize";
Debug.ShouldStop(536870912);
__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 959;BA.debugLine="Try";
Debug.ShouldStop(1073741824);
try { BA.debugLineNum = 960;BA.debugLine="PairedDevices = cmp20.GetPairedDevices";
Debug.ShouldStop(-2147483648);
__ref.setField ("_paireddevices" /*RemoteObject*/ ,__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runMethod(false,"GetPairedDevices"));
 Debug.CheckDeviceExceptions();
} 
       catch (Exception e9) {
			BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 962;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")";
Debug.ShouldStop(2);
c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Getting Paired Devices")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Printer Error"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 963;BA.debugLine="printer.Close";
Debug.ShouldStop(4);
__ref.getField(false,"_printer" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 964;BA.debugLine="cmp20.Disconnect";
Debug.ShouldStop(8);
__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Disconnect");
 };
 BA.debugLineNum = 966;BA.debugLine="If PairedDevices.Size = 0 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 967;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No";
Debug.ShouldStop(64);
c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Error Connecting to Printer - Printer Not Found")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 BA.debugLineNum = 968;BA.debugLine="Return";
Debug.ShouldStop(128);
if (true) return RemoteObject.createImmutable("");
 };
 BA.debugLineNum = 970;BA.debugLine="If PairedDevices.Size = 1 Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 1))) { 
 BA.debugLineNum = 971;BA.debugLine="Try";
Debug.ShouldStop(1024);
try { BA.debugLineNum = 973;BA.debugLine="cmp20.ConnectInsecure(btAdmin,PairedDevices.Get";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("ConnectInsecure",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_btadmin" /*RemoteObject*/ )),(Object)(BA.ObjectToString(__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(false,"GetKeyAt",(Object)(BA.numberCast(int.class, 0))))))),(Object)(BA.numberCast(int.class, 1)));
 Debug.CheckDeviceExceptions();
} 
       catch (Exception e21) {
			BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e21.toString()); BA.debugLineNum = 976;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore";
Debug.ShouldStop(32768);
c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Connecting")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Printer Error"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 977;BA.debugLine="printer.Close";
Debug.ShouldStop(65536);
__ref.getField(false,"_printer" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 978;BA.debugLine="cmp20.Disconnect";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Disconnect");
 };
 }else {
 BA.debugLineNum = 981;BA.debugLine="L.Initialize";
Debug.ShouldStop(1048576);
__ref.getField(false,"_l" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 982;BA.debugLine="For i = 0 To PairedDevices.Size - 1";
Debug.ShouldStop(2097152);
{
final int step27 = 1;
final int limit27 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step27 > 0 && _i <= limit27) || (step27 < 0 && _i >= limit27) ;_i = ((int)(0 + _i + step27))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 983;BA.debugLine="L.Add(PairedDevices.GetKeyAt(i))";
Debug.ShouldStop(4194304);
__ref.getField(false,"_l" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(false,"GetKeyAt",(Object)(BA.numberCast(int.class, _i)))));
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 985;BA.debugLine="resimp = InputList(L, \"Choose device\", -1) 'igno";
Debug.ShouldStop(16777216);
_resimp = c_cliente.__c.runMethodAndSync(true,"InputList",(Object)(__ref.getField(false,"_l" /*RemoteObject*/ )),(Object)(BA.ObjectToCharSequence("Choose device")),(Object)(BA.numberCast(int.class, -(double) (0 + 1))),__ref.getField(false, "ba"));Debug.locals.put("resimp", _resimp);
 BA.debugLineNum = 986;BA.debugLine="If resimp <> DialogResponse.CANCEL Then";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("!",_resimp,BA.numberCast(double.class, c_cliente.__c.getField(false,"DialogResponse").getField(true,"CANCEL")))) { 
 BA.debugLineNum = 987;BA.debugLine="cmp20.Connect(PairedDevices.Get(L.Get(resimp)))";
Debug.ShouldStop(67108864);
__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Connect",__ref.getField(false, "ba"),(Object)(BA.ObjectToString(__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(__ref.getField(false,"_l" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_resimp)))))));
 };
 };
 BA.debugLineNum = 990;BA.debugLine="End Sub";
Debug.ShouldStop(536870912);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _tar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Tar_Click (c_cliente) ","c_cliente",3,__ref.getField(false, "ba"),__ref,472);
if (RapidSub.canDelegate("tar_click")) { return __ref.runUserSub(false, "c_cliente","tar_click", __ref);}
 BA.debugLineNum = 472;BA.debugLine="Sub Tar_Click";
Debug.ShouldStop(8388608);
 BA.debugLineNum = 474;BA.debugLine="B4XPages.ShowPage(\"Productos\")";
Debug.ShouldStop(33554432);
c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos")));
 BA.debugLineNum = 475;BA.debugLine="End Sub";
Debug.ShouldStop(67108864);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}