package SHARK2.keymon.com.mx;

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

public class b4xmainpage_subs_0 {


public static RemoteObject  _b_aceptar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_aceptar_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1246);
if (RapidSub.canDelegate("b_aceptar_click")) { return __ref.runUserSub(false, "b4xmainpage","b_aceptar_click", __ref);}
 BA.debugLineNum = 1246;BA.debugLine="Private Sub b_aceptar_Click";
Debug.ShouldStop(536870912);
 BA.debugLineNum = 1247;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info"))));
 BA.debugLineNum = 1248;BA.debugLine="f.Position=0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1250;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM";
Debug.ShouldStop(2);
__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));
 BA.debugLineNum = 1251;BA.debugLine="If a.RowCount>0 Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1252;BA.debugLine="a.Position=0";
Debug.ShouldStop(8);
__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 };
 BA.debugLineNum = 1254;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))";
Debug.ShouldStop(32);
b4xmainpage.__c.runVoidMethod ("LogImpl","53538952",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),0);
 BA.debugLineNum = 1255;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))";
Debug.ShouldStop(64);
b4xmainpage.__c.runVoidMethod ("LogImpl","53538953",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),0);
 BA.debugLineNum = 1257;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(256);
b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd);
 BA.debugLineNum = 1258;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1259;BA.debugLine="cmd.Name = \"select_CAT_PASS_ARQUEO_SHARK2\"";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_CAT_PASS_ARQUEO_SHARK2"));
 BA.debugLineNum = 1260;BA.debugLine="cmd.Parameters = Array As Object(f.GetString(\"CAT";
Debug.ShouldStop(2048);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))),(__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))),(RemoteObject.createImmutable("PREVENTA"))}));
 BA.debugLineNum = 1261;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"contrasena\")";
Debug.ShouldStop(4096);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("contrasena"))));
 BA.debugLineNum = 1262;BA.debugLine="f.Close";
Debug.ShouldStop(8192);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1263;BA.debugLine="a.Close";
Debug.ShouldStop(16384);
__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1264;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_aceptar_monto_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_Aceptar_Monto_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1266);
if (RapidSub.canDelegate("b_aceptar_monto_click")) { return __ref.runUserSub(false, "b4xmainpage","b_aceptar_monto_click", __ref);}
RemoteObject _ci = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _u = RemoteObject.createImmutable("");
RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
 BA.debugLineNum = 1266;BA.debugLine="Private Sub B_Aceptar_Monto_Click";
Debug.ShouldStop(131072);
 BA.debugLineNum = 1268;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(524288);
b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 1269;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(1048576);
__ref.setField ("_sdate" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1270;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(2097152);
__ref.setField ("_stime" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1272;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL";
Debug.ShouldStop(8388608);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info"))));
 BA.debugLineNum = 1273;BA.debugLine="f.Position=0";
Debug.ShouldStop(16777216);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1275;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM";
Debug.ShouldStop(67108864);
__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));
 BA.debugLineNum = 1276;BA.debugLine="If a.RowCount>0 Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1277;BA.debugLine="a.Position=0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 };
 BA.debugLineNum = 1280;BA.debugLine="Private cI As Cursor";
Debug.ShouldStop(-2147483648);
_ci = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("cI", _ci);
 BA.debugLineNum = 1281;BA.debugLine="Private u As String = \"SinUsuario\"";
Debug.ShouldStop(1);
_u = BA.ObjectToString("SinUsuario");Debug.locals.put("u", _u);Debug.locals.put("u", _u);
 BA.debugLineNum = 1282;BA.debugLine="cI=Starter.skmt.ExecQuery(\"select USUARIO from us";
Debug.ShouldStop(2);
_ci = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));Debug.locals.put("cI", _ci);
 BA.debugLineNum = 1283;BA.debugLine="cI.Position=0";
Debug.ShouldStop(4);
_ci.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1284;BA.debugLine="If cI.RowCount > 0 Then u = cI.GetString(\"USUARIO";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean(">",_ci.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
_u = _ci.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")));Debug.locals.put("u", _u);};
 BA.debugLineNum = 1285;BA.debugLine="Private g As Cursor = B4XPages.MainPage.skmt.Exec";
Debug.ShouldStop(16);
_g = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_g = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from ENV_MONTO_LIQ"))));Debug.locals.put("g", _g);Debug.locals.put("g", _g);
 BA.debugLineNum = 1286;BA.debugLine="If g.RowCount = 0 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_g.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1287;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO";
Debug.ShouldStop(64);
b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO ENV_MONTO_LIQ VALUES (?,?,?,?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(__ref.getField(false,"_et_add_monto" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))),(_u),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))})))));
 BA.debugLineNum = 1288;BA.debugLine="f.Close";
Debug.ShouldStop(128);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1289;BA.debugLine="a.Close";
Debug.ShouldStop(256);
__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1291;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MON";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM ENV_MONTO_LIQ"))));
 BA.debugLineNum = 1292;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1293;BA.debugLine="c.Position = 0";
Debug.ShouldStop(4096);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1294;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(8192);
b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd);
 BA.debugLineNum = 1295;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16384);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1296;BA.debugLine="cmd.Name = \"select_MontoCuenta_SHARK2\"";
Debug.ShouldStop(32768);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_MontoCuenta_SHARK2"));
 BA.debugLineNum = 1298;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"EM";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_RUTA"))))}));
 BA.debugLineNum = 1299;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLiq";
Debug.ShouldStop(262144);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("SelectMontoLiq"))));
 };
 BA.debugLineNum = 1303;BA.debugLine="c.Close";
Debug.ShouldStop(4194304);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else {
 BA.debugLineNum = 1305;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE ENV_MONTO_LIQ";
Debug.ShouldStop(16777216);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE ENV_MONTO_LIQ SET EML_MONTO = ? WHERE EML_ALMACEN = ? AND EML_RUTA = ? AND EML_USUARIO = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {4},new Object[] {__ref.getField(false,"_et_add_monto" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),_ci.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))})))));
 BA.debugLineNum = 1306;BA.debugLine="f.Close";
Debug.ShouldStop(33554432);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1307;BA.debugLine="a.Close";
Debug.ShouldStop(67108864);
__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1309;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MO";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM ENV_MONTO_LIQ"))));
 BA.debugLineNum = 1310;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1311;BA.debugLine="c.Position = 0";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1312;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(-2147483648);
b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd);
 BA.debugLineNum = 1313;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1314;BA.debugLine="cmd.Name = \"select_MontoCuenta_SHARK2\"";
Debug.ShouldStop(2);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_MontoCuenta_SHARK2"));
 BA.debugLineNum = 1316;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"E";
Debug.ShouldStop(8);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_RUTA"))))}));
 BA.debugLineNum = 1317;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLi";
Debug.ShouldStop(16);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("SelectMontoLiq"))));
 };
 BA.debugLineNum = 1321;BA.debugLine="c.Close";
Debug.ShouldStop(256);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 1325;BA.debugLine="p_add_monto.Visible = False";
Debug.ShouldStop(4096);
__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 1330;BA.debugLine="End Sub";
Debug.ShouldStop(131072);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_apk_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_apk_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,961);
if (RapidSub.canDelegate("b_apk_click")) { return __ref.runUserSub(false, "b4xmainpage","b_apk_click", __ref);}
 BA.debugLineNum = 961;BA.debugLine="Sub b_apk_Click";
Debug.ShouldStop(1);
 BA.debugLineNum = 962;BA.debugLine="StartService(appUpdater)";
Debug.ShouldStop(2);
b4xmainpage.__c.runVoidMethod ("StartService",__ref.getField(false, "ba"),(Object)((b4xmainpage._appupdater.getObject())));
 BA.debugLineNum = 963;BA.debugLine="End Sub";
Debug.ShouldStop(4);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_arqueocieego_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_arqueocieego_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1028);
if (RapidSub.canDelegate("b_arqueocieego_click")) { return __ref.runUserSub(false, "b4xmainpage","b_arqueocieego_click", __ref);}
 BA.debugLineNum = 1028;BA.debugLine="Private Sub b_arqueocieego_Click";
Debug.ShouldStop(8);
 BA.debugLineNum = 1029;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM CAT_GUNAPROD3\")";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM CAT_GUNAPROD3"))));
 BA.debugLineNum = 1030;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1031;BA.debugLine="Subs.panelVisible(p_validacion,0,0)";
Debug.ShouldStop(64);
b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_validacion" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 BA.debugLineNum = 1032;BA.debugLine="recarga = \"0\"";
Debug.ShouldStop(128);
__ref.setField ("_recarga" /*RemoteObject*/ ,BA.ObjectToString("0"));
 }else {
 BA.debugLineNum = 1034;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga";
Debug.ShouldStop(512);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 };
 BA.debugLineNum = 1036;BA.debugLine="End Sub";
Debug.ShouldStop(2048);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_can_monto_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_Can_Monto_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1336);
if (RapidSub.canDelegate("b_can_monto_click")) { return __ref.runUserSub(false, "b4xmainpage","b_can_monto_click", __ref);}
 BA.debugLineNum = 1336;BA.debugLine="Private Sub B_Can_Monto_Click";
Debug.ShouldStop(8388608);
 BA.debugLineNum = 1337;BA.debugLine="p_add_monto.Visible = False";
Debug.ShouldStop(16777216);
__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 1338;BA.debugLine="End Sub";
Debug.ShouldStop(33554432);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_cancelarcodigo_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_cancelarcodigo_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1332);
if (RapidSub.canDelegate("b_cancelarcodigo_click")) { return __ref.runUserSub(false, "b4xmainpage","b_cancelarcodigo_click", __ref);}
 BA.debugLineNum = 1332;BA.debugLine="Private Sub b_cancelarcodigo_Click";
Debug.ShouldStop(524288);
 BA.debugLineNum = 1333;BA.debugLine="p_validacion.Visible = False";
Debug.ShouldStop(1048576);
__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 1334;BA.debugLine="End Sub";
Debug.ShouldStop(2097152);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_cargarmonto_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_CargarMonto_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1374);
if (RapidSub.canDelegate("b_cargarmonto_click")) { return __ref.runUserSub(false, "b4xmainpage","b_cargarmonto_click", __ref);}
 BA.debugLineNum = 1374;BA.debugLine="Private Sub b_CargarMonto_Click";
Debug.ShouldStop(536870912);
 BA.debugLineNum = 1375;BA.debugLine="c = skmt.ExecQuery(\"SELECT *  FROM kmt_info\")";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT *  FROM kmt_info"))));
 BA.debugLineNum = 1376;BA.debugLine="c.Position = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1377;BA.debugLine="If c.RowCount < 0 Or c.RowCount = 0 Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("<",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1378;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga";
Debug.ShouldStop(2);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 1380;BA.debugLine="Subs.panelVisible(p_add_monto,0,0)";
Debug.ShouldStop(8);
b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_add_monto" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 };
 BA.debugLineNum = 1382;BA.debugLine="c.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1383;BA.debugLine="End Sub";
Debug.ShouldStop(64);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_enviarbd_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_enviarbd_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1010);
if (RapidSub.canDelegate("b_enviarbd_click")) { return __ref.runUserSub(false, "b4xmainpage","b_enviarbd_click", __ref);}
 BA.debugLineNum = 1010;BA.debugLine="Private Sub b_enviarbd_Click";
Debug.ShouldStop(131072);
 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 void  _b_enviobd_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_envioBD_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1340);
if (RapidSub.canDelegate("b_enviobd_click")) { __ref.runUserSub(false, "b4xmainpage","b_enviobd_click", __ref); return;}
ResumableSub_b_envioBD_Click rsub = new ResumableSub_b_envioBD_Click(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_b_envioBD_Click extends BA.ResumableSub {
public ResumableSub_b_envioBD_Click(SHARK2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
SHARK2.keymon.com.mx.b4xmainpage parent;
RemoteObject _filename = RemoteObject.createImmutable("");
RemoteObject _email = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone.Email");
RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper");

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("b_envioBD_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1340);
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 = 1343;BA.debugLine="Dim FileName As String = \"kmt.db\"";
Debug.ShouldStop(1073741824);
_filename = BA.ObjectToString("kmt.db");Debug.locals.put("FileName", _filename);Debug.locals.put("FileName", _filename);
 BA.debugLineNum = 1345;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)";
Debug.ShouldStop(1);
parent.__c.runVoidMethod ("LogImpl","53801093",RemoteObject.concat(RemoteObject.createImmutable("xxxxxx:"),__ref.getField(false,"_provider" /*RemoteObject*/ ).getField(true,"_sharedfolder" /*RemoteObject*/ )),0);
 BA.debugLineNum = 1346;BA.debugLine="Sleep(1000)";
Debug.ShouldStop(2);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b_enviobd_click"),BA.numberCast(int.class, 1000));
this.state = 1;
return;
case 1:
//C
this.state = -1;
;
 BA.debugLineNum = 1347;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh";
Debug.ShouldStop(4);
parent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(_filename),(Object)(__ref.getField(false,"_provider" /*RemoteObject*/ ).getField(true,"_sharedfolder" /*RemoteObject*/ )),(Object)(_filename));
 BA.debugLineNum = 1348;BA.debugLine="Dim email As Email";
Debug.ShouldStop(8);
_email = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.Email");Debug.locals.put("email", _email);
 BA.debugLineNum = 1349;BA.debugLine="email.To.Add(\"soporte@keymonsoft.com\")";
Debug.ShouldStop(16);
_email.getField(false,"To").runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("soporte@keymonsoft.com"))));
 BA.debugLineNum = 1350;BA.debugLine="email.Subject = \"Envio Base de datos SHARK2\"";
Debug.ShouldStop(32);
_email.setField ("Subject",BA.ObjectToString("Envio Base de datos SHARK2"));
 BA.debugLineNum = 1351;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam";
Debug.ShouldStop(64);
_email.getField(false,"Attachments").runVoidMethod ("Add",(Object)(__ref.getField(false,"_provider" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.fileprovider.class, "_getfileuri" /*RemoteObject*/ ,(Object)(_filename))));
 BA.debugLineNum = 1353;BA.debugLine="Dim in As Intent = email.GetIntent";
Debug.ShouldStop(256);
_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");
_in = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.IntentWrapper"), _email.runMethod(false,"GetIntent"));Debug.locals.put("in", _in);Debug.locals.put("in", _in);
 BA.debugLineNum = 1354;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION";
Debug.ShouldStop(512);
_in.runMethod(true,"setFlags",BA.numberCast(int.class, 1));
 BA.debugLineNum = 1355;BA.debugLine="StartActivity(in)";
Debug.ShouldStop(1024);
parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_in.getObject())));
 BA.debugLineNum = 1356;BA.debugLine="End Sub";
Debug.ShouldStop(2048);
if (true) break;

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static RemoteObject  _b_guardar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_guardar_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1023);
if (RapidSub.canDelegate("b_guardar_click")) { return __ref.runUserSub(false, "b4xmainpage","b_guardar_click", __ref);}
 BA.debugLineNum = 1023;BA.debugLine="Private Sub b_guardar_Click";
Debug.ShouldStop(1073741824);
 BA.debugLineNum = 1024;BA.debugLine="Starter.reinicializaReqManager(et_server.Text.Tri";
Debug.ShouldStop(-2147483648);
b4xmainpage._starter.runVoidMethod ("_reinicializareqmanager" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")));
 BA.debugLineNum = 1025;BA.debugLine="p_appUpdate.Visible = False";
Debug.ShouldStop(1);
__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 1026;BA.debugLine="End Sub";
Debug.ShouldStop(2);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static void  _b_importarbd_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_importarBD_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1014);
if (RapidSub.canDelegate("b_importarbd_click")) { __ref.runUserSub(false, "b4xmainpage","b_importarbd_click", __ref); return;}
ResumableSub_b_importarBD_Click rsub = new ResumableSub_b_importarBD_Click(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_b_importarBD_Click extends BA.ResumableSub {
public ResumableSub_b_importarBD_Click(SHARK2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
SHARK2.keymon.com.mx.b4xmainpage parent;
RemoteObject _fh = RemoteObject.declareNull("SHARK2.keymon.com.mx.filehandler");
RemoteObject _result = RemoteObject.declareNull("SHARK2.keymon.com.mx.filehandler._loadresult");

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("b_importarBD_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1014);
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 = 1015;BA.debugLine="Private FH As FileHandler";
Debug.ShouldStop(4194304);
_fh = RemoteObject.createNew ("SHARK2.keymon.com.mx.filehandler");Debug.locals.put("FH", _fh);
 BA.debugLineNum = 1016;BA.debugLine="FH.Initialize";
Debug.ShouldStop(8388608);
_fh.runClassMethod (SHARK2.keymon.com.mx.filehandler.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 1017;BA.debugLine="Wait For (FH.Load) Complete (Result As LoadResult";
Debug.ShouldStop(16777216);
parent.__c.runVoidMethod ("WaitFor","complete", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b_importarbd_click"), _fh.runClassMethod (SHARK2.keymon.com.mx.filehandler.class, "_load" /*RemoteObject*/ ));
this.state = 1;
return;
case 1:
//C
this.state = -1;
_result = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result);
;
 BA.debugLineNum = 1018;BA.debugLine="File.Copy(Result.Dir, Result.FileName, File.DirIn";
Debug.ShouldStop(33554432);
parent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(_result.getField(true,"Dir" /*RemoteObject*/ )),(Object)(_result.getField(true,"FileName" /*RemoteObject*/ )),(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmt.db")));
 BA.debugLineNum = 1019;BA.debugLine="B4XPages.MainPage.skmt.Initialize(Starter.ruta,\"k";
Debug.ShouldStop(67108864);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(parent._starter._ruta /*RemoteObject*/ ),(Object)(BA.ObjectToString("kmt.db")),(Object)(parent.__c.getField(true,"True")));
 BA.debugLineNum = 1020;BA.debugLine="ToastMessageShow(\"¡BD importada!\", False)";
Debug.ShouldStop(134217728);
parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("¡BD importada!")),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 1021;BA.debugLine="End Sub";
Debug.ShouldStop(268435456);
if (true) break;

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static void  _complete(RemoteObject __ref,RemoteObject _result) throws Exception{
}
public static RemoteObject  _b_menu_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_menu_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,887);
if (RapidSub.canDelegate("b_menu_click")) { return __ref.runUserSub(false, "b4xmainpage","b_menu_click", __ref);}
 BA.debugLineNum = 887;BA.debugLine="Sub b_menu_Click";
Debug.ShouldStop(4194304);
 BA.debugLineNum = 888;BA.debugLine="PopupMenu.Show";
Debug.ShouldStop(8388608);
__ref.getField(false,"_popupmenu" /*RemoteObject*/ ).runVoidMethod ("Show");
 BA.debugLineNum = 889;BA.debugLine="End Sub";
Debug.ShouldStop(16777216);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_pc_env_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_PC_ENV_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1117);
if (RapidSub.canDelegate("b_pc_env_click")) { return __ref.runUserSub(false, "b4xmainpage","b_pc_env_click", __ref);}
int _i = 0;
RemoteObject _itempanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _innerpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _edittext = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _inputtext = RemoteObject.createImmutable("");
RemoteObject _idlabel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _idtext = RemoteObject.createImmutable("");
RemoteObject _idparts = null;
 BA.debugLineNum = 1117;BA.debugLine="Private Sub B_PC_ENV_Click";
Debug.ShouldStop(268435456);
 BA.debugLineNum = 1119;BA.debugLine="Dim sDate, sTime As String";
Debug.ShouldStop(1073741824);
b4xmainpage._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",b4xmainpage._sdate);
b4xmainpage._stime = RemoteObject.createImmutable("");__ref.setField("_stime",b4xmainpage._stime);
 BA.debugLineNum = 1120;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
Debug.ShouldStop(-2147483648);
b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy"));
 BA.debugLineNum = 1121;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
Debug.ShouldStop(1);
b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss"));
 BA.debugLineNum = 1122;BA.debugLine="sDate = DateTime.Date(DateTime.Now)";
Debug.ShouldStop(2);
__ref.setField ("_sdate" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1123;BA.debugLine="sTime = DateTime.Time(DateTime.Now)";
Debug.ShouldStop(4);
__ref.setField ("_stime" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1126;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1";
Debug.ShouldStop(32);
{
final int step6 = 1;
final int limit6 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step6 > 0 && _i <= limit6) || (step6 < 0 && _i >= limit6) ;_i = ((int)(0 + _i + step6))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1128;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan";
Debug.ShouldStop(128);
_itempanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_itempanel = __ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("itemPanel", _itempanel);Debug.locals.put("itemPanel", _itempanel);
 BA.debugLineNum = 1129;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)";
Debug.ShouldStop(256);
_innerpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_innerpanel = _itempanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("innerPanel", _innerpanel);Debug.locals.put("innerPanel", _innerpanel);
 BA.debugLineNum = 1130;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)";
Debug.ShouldStop(512);
_edittext = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_edittext = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("editText", _edittext);Debug.locals.put("editText", _edittext);
 BA.debugLineNum = 1131;BA.debugLine="Dim inputText As String = editText.As(EditText).";
Debug.ShouldStop(1024);
_inputtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _edittext.getObject())).runMethod(true,"getText");Debug.locals.put("inputText", _inputtext);Debug.locals.put("inputText", _inputtext);
 BA.debugLineNum = 1134;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean(".",b4xmainpage.__c.getField(false,"Regex").runMethod(true,"IsMatch",(Object)(BA.ObjectToString("^[0]+$")),(Object)(_inputtext))) || RemoteObject.solveBoolean("=",_inputtext,BA.ObjectToString(""))) { 
 BA.debugLineNum = 1135;BA.debugLine="inputText = \"0\"";
Debug.ShouldStop(16384);
_inputtext = BA.ObjectToString("0");Debug.locals.put("inputText", _inputtext);
 };
 BA.debugLineNum = 1139;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)";
Debug.ShouldStop(262144);
_idlabel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_idlabel = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("idLabel", _idlabel);Debug.locals.put("idLabel", _idlabel);
 BA.debugLineNum = 1140;BA.debugLine="Dim idText As String = idLabel.As(Label).Text";
Debug.ShouldStop(524288);
_idtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), _idlabel.getObject())).runMethod(true,"getText");Debug.locals.put("idText", _idtext);Debug.locals.put("idText", _idtext);
 BA.debugLineNum = 1141;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe";
Debug.ShouldStop(1048576);
_idparts = b4xmainpage.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(b4xmainpage.__c.getField(true,"CRLF")),(Object)(_idtext));Debug.locals.put("idParts", _idparts);Debug.locals.put("idParts", _idparts);
 BA.debugLineNum = 1143;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C";
Debug.ShouldStop(4194304);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info"))));
 BA.debugLineNum = 1144;BA.debugLine="f.Position=0";
Debug.ShouldStop(8388608);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1146;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL";
Debug.ShouldStop(33554432);
__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));
 BA.debugLineNum = 1147;BA.debugLine="If a.RowCount>0 Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1148;BA.debugLine="a.Position=0";
Debug.ShouldStop(134217728);
__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 };
 BA.debugLineNum = 1153;BA.debugLine="If inputText <> \"\" Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("!",_inputtext,BA.ObjectToString(""))) { 
 BA.debugLineNum = 1154;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK";
Debug.ShouldStop(2);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0))}))));
 BA.debugLineNum = 1155;BA.debugLine="If c.RowCount = 0 Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1157;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PICK_CIEGO(PC_";
Debug.ShouldStop(16);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {6},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),_idparts.getArrayElement(true,BA.numberCast(int.class, 1)),_inputtext,__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))})))));
 }else {
 BA.debugLineNum = 1159;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update P";
Debug.ShouldStop(64);
b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update PICK_CIEGO set PC_CANT = ?  WHERE PC_ID_PROD = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {_inputtext,_idparts.getArrayElement(true,BA.numberCast(int.class, 0))})))));
 };
 };
 BA.debugLineNum = 1162;BA.debugLine="f.Close";
Debug.ShouldStop(512);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1163;BA.debugLine="a.Close";
Debug.ShouldStop(1024);
__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close");
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 1166;BA.debugLine="et_buspc.Text = \"\"";
Debug.ShouldStop(8192);
__ref.getField(false,"_et_buspc" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 1167;BA.debugLine="CLV_PICK_CIEGO.Clear";
Debug.ShouldStop(16384);
__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear");
 BA.debugLineNum = 1169;BA.debugLine="End Sub";
Debug.ShouldStop(65536);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_recarga_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_recarga_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1358);
if (RapidSub.canDelegate("b_recarga_click")) { return __ref.runUserSub(false, "b4xmainpage","b_recarga_click", __ref);}
 BA.debugLineNum = 1358;BA.debugLine="Private Sub b_recarga_Click";
Debug.ShouldStop(8192);
 BA.debugLineNum = 1359;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM CAT_GUNAPROD\")";
Debug.ShouldStop(16384);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM CAT_GUNAPROD"))));
 BA.debugLineNum = 1360;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1362;BA.debugLine="recarga = \"1\"";
Debug.ShouldStop(131072);
__ref.setField ("_recarga" /*RemoteObject*/ ,BA.ObjectToString("1"));
 BA.debugLineNum = 1364;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")";
Debug.ShouldStop(524288);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA")));
 BA.debugLineNum = 1365;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA";
Debug.ShouldStop(1048576);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("1"))})))));
 BA.debugLineNum = 1366;BA.debugLine="B4XPages.MainPage.tipo_venta = \"RECARGA\"";
Debug.ShouldStop(2097152);
b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("RECARGA"));
 BA.debugLineNum = 1367;BA.debugLine="B4XPages.ShowPage(\"Productos\")";
Debug.ShouldStop(4194304);
b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos")));
 }else {
 BA.debugLineNum = 1369;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga";
Debug.ShouldStop(16777216);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 };
 BA.debugLineNum = 1371;BA.debugLine="c.Close";
Debug.ShouldStop(67108864);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1372;BA.debugLine="End Sub";
Debug.ShouldStop(134217728);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_regesar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_regesar_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,989);
if (RapidSub.canDelegate("b_regesar_click")) { return __ref.runUserSub(false, "b4xmainpage","b_regesar_click", __ref);}
 BA.debugLineNum = 989;BA.debugLine="Sub b_regesar_Click";
Debug.ShouldStop(268435456);
 BA.debugLineNum = 990;BA.debugLine="Subs.panelVisible(p_Main,0,0)";
Debug.ShouldStop(536870912);
b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_main" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 BA.debugLineNum = 991;BA.debugLine="End Sub";
Debug.ShouldStop(1073741824);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static void  _b_terpc_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_terpc_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1171);
if (RapidSub.canDelegate("b_terpc_click")) { __ref.runUserSub(false, "b4xmainpage","b_terpc_click", __ref); return;}
ResumableSub_b_terpc_Click rsub = new ResumableSub_b_terpc_Click(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_b_terpc_Click extends BA.ResumableSub {
public ResumableSub_b_terpc_Click(SHARK2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
SHARK2.keymon.com.mx.b4xmainpage parent;
RemoteObject _resultado = RemoteObject.createImmutable(0);
int _i = 0;
RemoteObject _itempanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _innerpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _edittext = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _inputtext = RemoteObject.createImmutable("");
RemoteObject _idlabel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _idtext = RemoteObject.createImmutable("");
RemoteObject _idparts = null;
int step12;
int limit12;
int step49;
int limit49;

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("b_terpc_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1171);
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 = 1172;BA.debugLine="Msgbox2Async(\"Una vez enviada la información no p";
Debug.ShouldStop(524288);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Una vez enviada la información no podras hacer modificaciones")),(Object)(BA.ObjectToCharSequence("Atención")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 1173;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
Debug.ShouldStop(1048576);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b_terpc_click"), null);
this.state = 41;
return;
case 41:
//C
this.state = 1;
_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado);
;
 BA.debugLineNum = 1174;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
Debug.ShouldStop(2097152);
if (true) break;

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

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

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

case 6:
//C
this.state = 7;
 BA.debugLineNum = 1179;BA.debugLine="Dim sDate, sTime As String";
Debug.ShouldStop(67108864);
parent._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",parent._sdate);
parent._stime = RemoteObject.createImmutable("");__ref.setField("_stime",parent._stime);
 BA.debugLineNum = 1180;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
Debug.ShouldStop(134217728);
parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy"));
 BA.debugLineNum = 1181;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
Debug.ShouldStop(268435456);
parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss"));
 BA.debugLineNum = 1182;BA.debugLine="sDate = DateTime.Date(DateTime.Now)";
Debug.ShouldStop(536870912);
__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1183;BA.debugLine="sTime = DateTime.Time(DateTime.Now)";
Debug.ShouldStop(1073741824);
__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1185;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1";
Debug.ShouldStop(1);
if (true) break;

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

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

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

case 9:
//C
this.state = 10;
 BA.debugLineNum = 1187;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetP";
Debug.ShouldStop(4);
_itempanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_itempanel = __ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("itemPanel", _itempanel);Debug.locals.put("itemPanel", _itempanel);
 BA.debugLineNum = 1188;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(";
Debug.ShouldStop(8);
_innerpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_innerpanel = _itempanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("innerPanel", _innerpanel);Debug.locals.put("innerPanel", _innerpanel);
 BA.debugLineNum = 1189;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1";
Debug.ShouldStop(16);
_edittext = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_edittext = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("editText", _edittext);Debug.locals.put("editText", _edittext);
 BA.debugLineNum = 1190;BA.debugLine="Dim inputText As String = editText.As(EditText";
Debug.ShouldStop(32);
_inputtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _edittext.getObject())).runMethod(true,"getText");Debug.locals.put("inputText", _inputtext);Debug.locals.put("inputText", _inputtext);
 BA.debugLineNum = 1193;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or input";
Debug.ShouldStop(256);
if (true) break;

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

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

case 13:
//C
this.state = 14;
;
 BA.debugLineNum = 1198;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)";
Debug.ShouldStop(8192);
_idlabel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_idlabel = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("idLabel", _idlabel);Debug.locals.put("idLabel", _idlabel);
 BA.debugLineNum = 1199;BA.debugLine="Dim idText As String = idLabel.As(Label).Text";
Debug.ShouldStop(16384);
_idtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), _idlabel.getObject())).runMethod(true,"getText");Debug.locals.put("idText", _idtext);Debug.locals.put("idText", _idtext);
 BA.debugLineNum = 1200;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, id";
Debug.ShouldStop(32768);
_idparts = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(parent.__c.getField(true,"CRLF")),(Object)(_idtext));Debug.locals.put("idParts", _idparts);Debug.locals.put("idParts", _idparts);
 BA.debugLineNum = 1202;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT";
Debug.ShouldStop(131072);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info"))));
 BA.debugLineNum = 1203;BA.debugLine="f.Position=0";
Debug.ShouldStop(262144);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1205;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_";
Debug.ShouldStop(1048576);
__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));
 BA.debugLineNum = 1206;BA.debugLine="If a.RowCount>0 Then";
Debug.ShouldStop(2097152);
if (true) break;

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

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

case 17:
//C
this.state = 18;
;
 BA.debugLineNum = 1209;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))";
Debug.ShouldStop(16777216);
parent.__c.runVoidMethod ("LogImpl","53473446",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),0);
 BA.debugLineNum = 1210;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))";
Debug.ShouldStop(33554432);
parent.__c.runVoidMethod ("LogImpl","53473447",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),0);
 BA.debugLineNum = 1211;BA.debugLine="If inputText <> \"\" Then";
Debug.ShouldStop(67108864);
if (true) break;

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

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

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

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

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

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

case 27:
//C
this.state = 44;
;
 BA.debugLineNum = 1220;BA.debugLine="f.Close";
Debug.ShouldStop(8);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1221;BA.debugLine="a.Close";
Debug.ShouldStop(16);
__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1222;BA.debugLine="Log(\"Processed item \" & i)";
Debug.ShouldStop(32);
parent.__c.runVoidMethod ("LogImpl","53473459",RemoteObject.concat(RemoteObject.createImmutable("Processed item "),RemoteObject.createImmutable(_i)),0);
 if (true) break;
if (true) break;

case 28:
//C
this.state = 29;
Debug.locals.put("i", _i);
;
 BA.debugLineNum = 1224;BA.debugLine="Log(\"Finished processing all items\")";
Debug.ShouldStop(128);
parent.__c.runVoidMethod ("LogImpl","53473461",RemoteObject.createImmutable("Finished processing all items"),0);
 BA.debugLineNum = 1225;BA.debugLine="P_CIEGO.Visible = False";
Debug.ShouldStop(256);
__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 1226;BA.debugLine="et_buspc.Text = \"\"";
Debug.ShouldStop(512);
__ref.getField(false,"_et_buspc" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 1227;BA.debugLine="CLV_PICK_CIEGO.Clear";
Debug.ShouldStop(1024);
__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear");
 BA.debugLineNum = 1228;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD,";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PC_ID_PROD, PC_ALMACEN, PC_RUTA, PC_FECHA FROM PICK_CIEGO"))));
 BA.debugLineNum = 1229;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(4096);
if (true) break;

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

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

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

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

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

case 34:
//C
this.state = 46;
 BA.debugLineNum = 1231;BA.debugLine="c.Position = i";
Debug.ShouldStop(16384);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1232;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(32768);
parent._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",parent._cmd);
 BA.debugLineNum = 1233;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(65536);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1234;BA.debugLine="cmd.Name = \"select_HIST_PICKCIEGO_SHARK2\" '";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_HIST_PICKCIEGO_SHARK2"));
 BA.debugLineNum = 1235;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ID_PROD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),(RemoteObject.createImmutable("VENTA"))}));
 BA.debugLineNum = 1236;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, $\"PICK_C_${c";
Debug.ShouldStop(524288);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("PICK_C_"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ID_PROD")))))),RemoteObject.createImmutable(""))))));
 if (true) break;
if (true) break;

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

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

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

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

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

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static void  _msgbox_result(RemoteObject __ref,RemoteObject _resultado) throws Exception{
}
public static void  _b4xpage_appear(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Appear (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,407);
if (RapidSub.canDelegate("b4xpage_appear")) { __ref.runUserSub(false, "b4xmainpage","b4xpage_appear", __ref); return;}
ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub {
public ResumableSub_B4XPage_Appear(SHARK2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
SHARK2.keymon.com.mx.b4xmainpage parent;
RemoteObject _ph = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone");
RemoteObject _deviceid = RemoteObject.createImmutable("");

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Appear (b4xmainpage) ","b4xmainpage",2,__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="Log(recarga)";
Debug.ShouldStop(8388608);
parent.__c.runVoidMethod ("LogImpl","51638401",__ref.getField(true,"_recarga" /*RemoteObject*/ ),0);
 BA.debugLineNum = 409;BA.debugLine="If Starter.muestraProgreso = 1 Then";
Debug.ShouldStop(16777216);
if (true) break;

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

case 3:
//C
this.state = 4;
 BA.debugLineNum = 410;BA.debugLine="muestraProgreso(\"Descargando actualización\")";
Debug.ShouldStop(33554432);
__ref.runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_muestraprogreso" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("Descargando actualización")));
 BA.debugLineNum = 411;BA.debugLine="Starter.muestraProgreso = 0";
Debug.ShouldStop(67108864);
parent._starter._muestraprogreso /*RemoteObject*/  = BA.NumberToString(0);
 if (true) break;

case 4:
//C
this.state = 5;
;
 BA.debugLineNum = 413;BA.debugLine="Dim ph As Phone 'Get Id Device";
Debug.ShouldStop(268435456);
_ph = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");Debug.locals.put("ph", _ph);
 BA.debugLineNum = 414;BA.debugLine="Dim DeviceID As String = ph.GetSettings(\"android_";
Debug.ShouldStop(536870912);
_deviceid = _ph.runMethod(true,"GetSettings",(Object)(RemoteObject.createImmutable("android_id"))).runMethod(true,"toUpperCase");Debug.locals.put("DeviceID", _deviceid);Debug.locals.put("DeviceID", _deviceid);
 BA.debugLineNum = 415;BA.debugLine="LogColor($\"//////////////////   DeviceID: ${Devic";
Debug.ShouldStop(1073741824);
parent.__c.runVoidMethod ("LogImpl","51638408",(RemoteObject.concat(RemoteObject.createImmutable("//////////////////   DeviceID: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_deviceid))),RemoteObject.createImmutable(" ////////////////// "))),parent.__c.getField(false,"Colors").getField(true,"Blue"));
 BA.debugLineNum = 416;BA.debugLine="DBReqServer = Starter.DBReqServer";
Debug.ShouldStop(-2147483648);
__ref.setField ("_dbreqserver" /*RemoteObject*/ ,parent._starter._dbreqserver /*RemoteObject*/ );
 BA.debugLineNum = 417;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)";
Debug.ShouldStop(1);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(parent._starter._dbreqserver /*RemoteObject*/ ));
 BA.debugLineNum = 418;BA.debugLine="Log(\"|\"&Starter.DBReqServer&\"|\")";
Debug.ShouldStop(2);
parent.__c.runVoidMethod ("LogImpl","51638411",RemoteObject.concat(RemoteObject.createImmutable("|"),parent._starter._dbreqserver /*RemoteObject*/ ,RemoteObject.createImmutable("|")),0);
 BA.debugLineNum = 419;BA.debugLine="tgl.Initialize()";
Debug.ShouldStop(4);
__ref.getField(false,"_tgl" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"));
 BA.debugLineNum = 420;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then";
Debug.ShouldStop(8);
if (true) break;

case 5:
//if
this.state = 8;
if (parent.__c.runMethod(true,"Not",(Object)(parent._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).<Boolean>get().booleanValue()) { 
this.state = 7;
}if (true) break;

case 7:
//C
this.state = 8;
 BA.debugLineNum = 421;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence";
Debug.ShouldStop(16);
parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(parent.__c.getField(true,"True")));
 BA.debugLineNum = 422;BA.debugLine="Sleep(500)";
Debug.ShouldStop(32);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_appear"),BA.numberCast(int.class, 500));
this.state = 19;
return;
case 19:
//C
this.state = 8;
;
 BA.debugLineNum = 423;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent";
Debug.ShouldStop(64);
parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((parent._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent"))));
 if (true) break;

case 8:
//C
this.state = 9;
;
 BA.debugLineNum = 425;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as CUANTOS fro";
Debug.ShouldStop(256);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("FECHA")}))));
 BA.debugLineNum = 426;BA.debugLine="c.Position = 0";
Debug.ShouldStop(512);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 427;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then";
Debug.ShouldStop(1024);
if (true) break;

case 9:
//if
this.state = 18;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { 
this.state = 11;
}else {
this.state = 13;
}if (true) break;

case 11:
//C
this.state = 18;
 BA.debugLineNum = 428;BA.debugLine="LogColor($\"No hay fecha: ${c.GetString(\"CUANTOS\"";
Debug.ShouldStop(2048);
parent.__c.runVoidMethod ("LogImpl","51638421",(RemoteObject.concat(RemoteObject.createImmutable("No hay fecha: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))))),RemoteObject.createImmutable(""))),parent.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 429;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 430;BA.debugLine="cmd.Name = \"select_fecha\"";
Debug.ShouldStop(8192);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_fecha"));
 BA.debugLineNum = 431;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")";
Debug.ShouldStop(16384);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("fecha"))));
 BA.debugLineNum = 432;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'Ignore";
Debug.ShouldStop(32768);
parent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("AJUSTAR FECHA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 433;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(65536);
__ref.runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_b4xpage_appear" /*void*/ );
 if (true) break;

case 13:
//C
this.state = 14;
 BA.debugLineNum = 436;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_";
Debug.ShouldStop(524288);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_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("FECHA")}))));
 BA.debugLineNum = 437;BA.debugLine="c.Position =0";
Debug.ShouldStop(1048576);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 438;BA.debugLine="Dim sDate, sTime As String";
Debug.ShouldStop(2097152);
parent._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",parent._sdate);
parent._stime = RemoteObject.createImmutable("");__ref.setField("_stime",parent._stime);
 BA.debugLineNum = 439;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\"";
Debug.ShouldStop(4194304);
parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyyyMMdd"));
 BA.debugLineNum = 440;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(8388608);
__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 445;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then";
Debug.ShouldStop(268435456);
if (true) break;

case 14:
//if
this.state = 17;
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")))),BA.numberCast(double.class, __ref.getField(true,"_sdate" /*RemoteObject*/ )))) { 
this.state = 16;
}if (true) break;

case 16:
//C
this.state = 17;
 BA.debugLineNum = 446;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS";
Debug.ShouldStop(536870912);
parent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("AJUSTAR LA FECHA YA QUE ES MENOR AL SISTEMA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 447;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(1073741824);
__ref.runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_b4xpage_appear" /*void*/ );
 if (true) break;

case 17:
//C
this.state = 18;
;
 if (true) break;

case 18:
//C
this.state = -1;
;
 BA.debugLineNum = 450;BA.debugLine="bu.Initialize";
Debug.ShouldStop(2);
__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.batteryutilities.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 451;BA.debugLine="batterystatus = bu.BatteryInformation";
Debug.ShouldStop(4);
__ref.setField ("_batterystatus" /*RemoteObject*/ ,__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.batteryutilities.class, "_getbatteryinformation" /*RemoteObject*/ ));
 BA.debugLineNum = 454;BA.debugLine="dameUsuario";
Debug.ShouldStop(32);
__ref.runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_dameusuario" /*RemoteObject*/ );
 BA.debugLineNum = 475;BA.debugLine="End Sub";
Debug.ShouldStop(67108864);
if (true) break;

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

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_CloseRequest (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,847);
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 = 848;BA.debugLine="Log(\"closreq\")";
Debug.ShouldStop(32768);
parent.__c.runVoidMethod ("LogImpl","51835009",RemoteObject.createImmutable("closreq"),0);
 BA.debugLineNum = 849;BA.debugLine="Sleep(0)";
Debug.ShouldStop(65536);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_closerequest"),BA.numberCast(int.class, 0));
this.state = 14;
return;
case 14:
//C
this.state = 1;
;
 BA.debugLineNum = 851;BA.debugLine="If p_add_monto.IsInitialized And p_add_monto.Visi";
Debug.ShouldStop(262144);
if (true) break;

case 1:
//if
this.state = 10;
if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { 
this.state = 3;
}else 
{ BA.debugLineNum = 854;BA.debugLine="Else If p_validacion.IsInitialized And p_validaci";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { 
this.state = 5;
}else 
{ BA.debugLineNum = 857;BA.debugLine="Else If P_CIEGO.IsInitialized And P_CIEGO.Visible";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { 
this.state = 7;
}else 
{ BA.debugLineNum = 860;BA.debugLine="Else If p_appUpdate.IsInitialized And p_appUpdate";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { 
this.state = 9;
}}}}
if (true) break;

case 3:
//C
this.state = 10;
 BA.debugLineNum = 852;BA.debugLine="p_add_monto.Visible = False";
Debug.ShouldStop(524288);
__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 853;BA.debugLine="Return False";
Debug.ShouldStop(1048576);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 if (true) break;

case 5:
//C
this.state = 10;
 BA.debugLineNum = 855;BA.debugLine="p_validacion.Visible = False";
Debug.ShouldStop(4194304);
__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 856;BA.debugLine="Return False";
Debug.ShouldStop(8388608);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 if (true) break;

case 7:
//C
this.state = 10;
 BA.debugLineNum = 858;BA.debugLine="MsgboxAsync(\"Debes de terminar el proceso para r";
Debug.ShouldStop(33554432);
parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Debes de terminar el proceso para regresar a la pantalla principal")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 859;BA.debugLine="Return False";
Debug.ShouldStop(67108864);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 if (true) break;

case 9:
//C
this.state = 10;
 BA.debugLineNum = 861;BA.debugLine="p_appUpdate.Visible = False";
Debug.ShouldStop(268435456);
__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 862;BA.debugLine="Return False";
Debug.ShouldStop(536870912);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 if (true) break;
;
 BA.debugLineNum = 864;BA.debugLine="If Not(p_appUpdate.Visible) Then";
Debug.ShouldStop(-2147483648);

case 10:
//if
this.state = 13;
if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"getVisible"))).<Boolean>get().booleanValue()) { 
this.state = 12;
}if (true) break;

case 12:
//C
this.state = 13;
 BA.debugLineNum = 865;BA.debugLine="Log(\"ExitApplication\")";
Debug.ShouldStop(1);
parent.__c.runVoidMethod ("LogImpl","51835026",RemoteObject.createImmutable("ExitApplication"),0);
 BA.debugLineNum = 866;BA.debugLine="ExitApplication";
Debug.ShouldStop(2);
parent.__c.runVoidMethod ("ExitApplication");
 if (true) break;

case 13:
//C
this.state = -1;
;
 BA.debugLineNum = 868;BA.debugLine="Return True";
Debug.ShouldStop(8);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"True")));return;};
 BA.debugLineNum = 869;BA.debugLine="End Sub";
Debug.ShouldStop(16);
if (true) break;

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static void  _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Created (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,137);
if (RapidSub.canDelegate("b4xpage_created")) { __ref.runUserSub(false, "b4xmainpage","b4xpage_created", __ref, _root1); return;}
ResumableSub_B4XPage_Created rsub = new ResumableSub_B4XPage_Created(null,__ref,_root1);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_B4XPage_Created extends BA.ResumableSub {
public ResumableSub_B4XPage_Created(SHARK2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref,RemoteObject _root1) {
this.parent = parent;
this.__ref = __ref;
this._root1 = _root1;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
SHARK2.keymon.com.mx.b4xmainpage parent;
RemoteObject _root1;
RemoteObject _permission = RemoteObject.createImmutable("");
RemoteObject _result = RemoteObject.createImmutable(false);
RemoteObject _sdkversion = RemoteObject.createImmutable(0);
RemoteObject _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions");
RemoteObject _res = RemoteObject.createImmutable(0);

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Created (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,137);
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);
Debug.locals.put("Root1", _root1);
 BA.debugLineNum = 138;BA.debugLine="B4XPages.GetManager.LogEvents = True";
Debug.ShouldStop(512);
parent._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_logevents" /*RemoteObject*/ ,parent.__c.getField(true,"True"));
 BA.debugLineNum = 139;BA.debugLine="Root = Root1";
Debug.ShouldStop(1024);
__ref.setField ("_root" /*RemoteObject*/ ,_root1);
 BA.debugLineNum = 140;BA.debugLine="Root.LoadLayout(\"login\")";
Debug.ShouldStop(2048);
__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("login")),__ref.getField(false, "ba"));
 BA.debugLineNum = 141;BA.debugLine="s.Initialize(Me, \"Subs\")";
Debug.ShouldStop(4096);
__ref.getField(false,"_s" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(RemoteObject.createImmutable("Subs")));
 BA.debugLineNum = 142;BA.debugLine="B4XPages.SetTitle(Me, \"SHARK2\")";
Debug.ShouldStop(8192);
parent._b4xpages.runVoidMethod ("_settitle" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)((RemoteObject.createImmutable("SHARK2"))));
 BA.debugLineNum = 143;BA.debugLine="login.Initialize";
Debug.ShouldStop(16384);
__ref.getField(false,"_login" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 144;BA.debugLine="B4XPages.AddPage(\"Login\", login)";
Debug.ShouldStop(32768);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Login")),(Object)((__ref.getField(false,"_login" /*RemoteObject*/ ))));
 BA.debugLineNum = 145;BA.debugLine="principal.Initialize";
Debug.ShouldStop(65536);
__ref.getField(false,"_principal" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 146;BA.debugLine="B4XPages.AddPage(\"Principal\", principal)";
Debug.ShouldStop(131072);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Principal")),(Object)((__ref.getField(false,"_principal" /*RemoteObject*/ ))));
 BA.debugLineNum = 147;BA.debugLine="clientes.Initialize";
Debug.ShouldStop(262144);
__ref.getField(false,"_clientes" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_clientes.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 148;BA.debugLine="B4XPages.AddPage(\"Clientes\", clientes)";
Debug.ShouldStop(524288);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Clientes")),(Object)((__ref.getField(false,"_clientes" /*RemoteObject*/ ))));
 BA.debugLineNum = 149;BA.debugLine="cliente.Initialize";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cliente" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 150;BA.debugLine="B4XPages.AddPage(\"Cliente\", cliente)";
Debug.ShouldStop(2097152);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Cliente")),(Object)((__ref.getField(false,"_cliente" /*RemoteObject*/ ))));
 BA.debugLineNum = 151;BA.debugLine="productos.Initialize";
Debug.ShouldStop(4194304);
__ref.getField(false,"_productos" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 152;BA.debugLine="B4XPages.AddPage(\"Productos\", productos)";
Debug.ShouldStop(8388608);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Productos")),(Object)((__ref.getField(false,"_productos" /*RemoteObject*/ ))));
 BA.debugLineNum = 153;BA.debugLine="updateAvailable.Initialize";
Debug.ShouldStop(16777216);
__ref.getField(false,"_updateavailable" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_updateavailable.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 154;BA.debugLine="B4XPages.AddPage(\"updateAvailable\", updateAvailab";
Debug.ShouldStop(33554432);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("updateAvailable")),(Object)((__ref.getField(false,"_updateavailable" /*RemoteObject*/ ))));
 BA.debugLineNum = 155;BA.debugLine="mapas.Initialize";
Debug.ShouldStop(67108864);
__ref.getField(false,"_mapas" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_mapas.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 156;BA.debugLine="B4XPages.AddPage(\"Mapas\", mapas)";
Debug.ShouldStop(134217728);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Mapas")),(Object)((__ref.getField(false,"_mapas" /*RemoteObject*/ ))));
 BA.debugLineNum = 157;BA.debugLine="nuevoCliente.Initialize";
Debug.ShouldStop(268435456);
__ref.getField(false,"_nuevocliente" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_nuevocliente.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 158;BA.debugLine="B4XPages.AddPage(\"NuevoCliente\", nuevoCliente)";
Debug.ShouldStop(536870912);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("NuevoCliente")),(Object)((__ref.getField(false,"_nuevocliente" /*RemoteObject*/ ))));
 BA.debugLineNum = 159;BA.debugLine="ticketsDia.Initialize";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_ticketsdia" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_ticketsdia.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 160;BA.debugLine="B4XPages.AddPage(\"TicketsDia\", ticketsDia)";
Debug.ShouldStop(-2147483648);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("TicketsDia")),(Object)((__ref.getField(false,"_ticketsdia" /*RemoteObject*/ ))));
 BA.debugLineNum = 161;BA.debugLine="noVenta.Initialize";
Debug.ShouldStop(1);
__ref.getField(false,"_noventa" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_noventa.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 162;BA.debugLine="B4XPages.AddPage(\"NoVenta\", noVenta)";
Debug.ShouldStop(2);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("NoVenta")),(Object)((__ref.getField(false,"_noventa" /*RemoteObject*/ ))));
 BA.debugLineNum = 163;BA.debugLine="nota.Initialize";
Debug.ShouldStop(4);
__ref.getField(false,"_nota" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_nota.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 164;BA.debugLine="B4XPages.AddPage(\"Nota\", nota)";
Debug.ShouldStop(8);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Nota")),(Object)((__ref.getField(false,"_nota" /*RemoteObject*/ ))));
 BA.debugLineNum = 165;BA.debugLine="pedidos.Initialize";
Debug.ShouldStop(16);
__ref.getField(false,"_pedidos" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_pedidos.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 166;BA.debugLine="B4XPages.AddPage(\"Pedidos\", pedidos)";
Debug.ShouldStop(32);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Pedidos")),(Object)((__ref.getField(false,"_pedidos" /*RemoteObject*/ ))));
 BA.debugLineNum = 167;BA.debugLine="promos.Initialize";
Debug.ShouldStop(64);
__ref.getField(false,"_promos" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 168;BA.debugLine="B4XPages.AddPage(\"Promos\", promos)";
Debug.ShouldStop(128);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Promos")),(Object)((__ref.getField(false,"_promos" /*RemoteObject*/ ))));
 BA.debugLineNum = 169;BA.debugLine="historico.Initialize";
Debug.ShouldStop(256);
__ref.getField(false,"_historico" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_historico.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 170;BA.debugLine="B4XPages.AddPage(\"Historico\", historico)";
Debug.ShouldStop(512);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Historico")),(Object)((__ref.getField(false,"_historico" /*RemoteObject*/ ))));
 BA.debugLineNum = 171;BA.debugLine="tabulador.Initialize";
Debug.ShouldStop(1024);
__ref.getField(false,"_tabulador" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_tabulador.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 172;BA.debugLine="B4XPages.AddPage(\"tabulador\", tabulador)";
Debug.ShouldStop(2048);
parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("tabulador")),(Object)((__ref.getField(false,"_tabulador" /*RemoteObject*/ ))));
 BA.debugLineNum = 175;BA.debugLine="ruta = Starter.ruta";
Debug.ShouldStop(16384);
__ref.setField ("_ruta" /*RemoteObject*/ ,parent._starter._ruta /*RemoteObject*/ );
 BA.debugLineNum = 176;BA.debugLine="Provider.Initialize";
Debug.ShouldStop(32768);
__ref.getField(false,"_provider" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.fileprovider.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 179;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then";
Debug.ShouldStop(262144);
if (true) break;

case 1:
//if
this.state = 4;
if (RemoteObject.solveBoolean("=",parent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),parent.__c.getField(true,"False"))) { 
this.state = 3;
}if (true) break;

case 3:
//C
this.state = 4;
 BA.debugLineNum = 180;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d";
Debug.ShouldStop(524288);
parent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db")));
 BA.debugLineNum = 181;BA.debugLine="LogColor(\"copiamos kmt.db de \"&File.DirAssets &";
Debug.ShouldStop(1048576);
parent.__c.runVoidMethod ("LogImpl","51572908",RemoteObject.concat(RemoteObject.createImmutable("copiamos kmt.db de "),parent.__c.getField(false,"File").runMethod(true,"getDirAssets"),RemoteObject.createImmutable(" a "),__ref.getField(true,"_ruta" /*RemoteObject*/ )),parent.__c.getField(false,"Colors").getField(true,"Green"));
 if (true) break;

case 4:
//C
this.state = 5;
;
 BA.debugLineNum = 185;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)";
Debug.ShouldStop(16777216);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(BA.ObjectToString("kmt.db")),(Object)(parent.__c.getField(true,"True")));
 BA.debugLineNum = 186;BA.debugLine="Subs.guardaAppInfo(skmt)";
Debug.ShouldStop(33554432);
parent._subs.runVoidMethod ("_guardaappinfo" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_skmt" /*RemoteObject*/ )));
 BA.debugLineNum = 188;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(134217728);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS TABULADOR_MONEDAS(VEINTE TEXT, DIEZ TEXT, CINCO TEXT, DOS TEXT, PESO TEXT, CENTAVO TEXT, TOTAL TEXT)")));
 BA.debugLineNum = 189;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(268435456);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS COORDENADAS(LAT TEXT, LONG TEXT, CLIENTE TEXT, CANTIDAD INT)")));
 BA.debugLineNum = 190;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(536870912);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ATIENDE(ATIENDE TEXT, CLIENTE TEXT)")));
 BA.debugLineNum = 191;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(1073741824);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS GIROS_ACTUAL(GIRO TEXT, CLIENTE TEXT)")));
 BA.debugLineNum = 192;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
Debug.ShouldStop(-2147483648);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS TABULADOR_BILLETES(MIL TEXT, QUINIENTOS TEXT, DOCIENTOS TEXT, CIEN TEXT, CINCUENTA TEXT, VEINTE TEXT)")));
 BA.debugLineNum = 193;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CLI";
Debug.ShouldStop(1);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CLIENTES_NUEVOS(CN_ID TEXT, CN_FECHA TEXT, CN_USER TEXT, CN_LAT TEXT, CN_LON TEXT, CN_NOMBRE TEXT, CN_DIRECCION TEXT, CN_FOTO TEXT, CN_ALMACEN TEXT, CN_RUTA TEXT,CN_GIRO TEXT)")));
 BA.debugLineNum = 194;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT";
Debug.ShouldStop(2);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)")));
 BA.debugLineNum = 195;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS POL";
Debug.ShouldStop(4);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS POLIGONO (LAT TEXT, LONG TEXT)")));
 BA.debugLineNum = 196;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS GEO";
Debug.ShouldStop(8);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS GEOCERCA (ACTIVA TEXT)")));
 BA.debugLineNum = 197;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COO";
Debug.ShouldStop(16);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS COORDS_ALMACEN (LAT TEXT, LONG TEXT)")));
 BA.debugLineNum = 198;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
Debug.ShouldStop(32);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_CUOTAS (HC_META6 TEXT, HC_META5 TEXT, HC_META4 TEXT, HC_META3 TEXT, HC_META2 TEXT, HC_META1 TEXT, HC_RUTA TEXT, HC_CUOTA1 TEXT, HC_CUOTA2 TEXT, HC_CUOTA3 TEXT, HC_CUOTA4 TEXT, HC_CUOTA5 TEXT, HC_CUOTA6 TEXT)")));
 BA.debugLineNum = 199;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
Debug.ShouldStop(64);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_GPS (HGDATE TEXT, HGLAT TEXT, HGLON TEXT)")));
 BA.debugLineNum = 200;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
Debug.ShouldStop(128);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_GIRO(GIRO TEXT)")));
 BA.debugLineNum = 201;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PIC";
Debug.ShouldStop(256);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS PICKCIEGO_HECHO(HECHO TEXT)")));
 BA.debugLineNum = 206;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
Debug.ShouldStop(8192);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD (CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS INT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG BLOB, CAT_GP_ALMACEN INT, CAT_GP_DEV INT, CAT_GP_TIPOPROD TEXT, CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD2 TEXT, CAT_GP_PRECIO1 TEXT, CAT_GP_PRECIO2 TEXT, CAT_GP_PRECIO3 TEXT, CAT_GP_PRECIO4 TEXT, CAT_GP_PRECIO5 TEXT, CAT_GP_PRECIO6 TEXT, CAT_GP_PRECIO7 TEXT, CAT_GP_PRECIO8 TEXT, CAT_GP_PRECIO9 TEXT, CAT_GP_PRECIO10 TEXT, CAT_GP_PRECIO11 TEXT, CAT_GP_PRESENTACION1 TEXT, CAT_GP_PRESENTACION2 TEXT, CAT_GP_PRESENTACION3 TEXT, CAT_GP_PRESENTACION4 TEXT, CAT_GP_PRESENTACION5 TEXT, CAT_GP_PRESENTACION6 TEXT, CAT_GP_PRESENTACION7 TEXT, CAT_GP_PRESENTACION8 TEXT, CAT_GP_PRESENTACION9 TEXT, CAT_GP_PRESENTACION10 TEXT, CAT_GP_PRESENTACION11 TEXT, CAT_GP_UMV1 TEXT, CAT_GP_UMV2 TEXT, CAT_GP_UMV3 TEXT, CAT_GP_UMV4 TEXT, CAT_GP_UMV5 TEXT, CAT_GP_UMV6 TEXT, CAT_GP_UMV7 TEXT, CAT_GP_UMV8 TEXT, CAT_GP_UMV9 TEXT, CAT_GP_UMV10 TEXT, CAT_GP_UMV11 TEXT, CAT_GP_DIRIGIDA1 TEXT, CAT_GP_DIRIGIDA2 TEXT, CAT_GP_DIRIGIDA3 TEXT, CAT_GP_DIRIGIDA4 TEXT, CAT_GP_DIRIGIDA5 TEXT, CAT_GP_DIRIGIDA6 TEXT, CAT_GP_DIRIGIDA7 TEXT, CAT_GP_DIRIGIDA8 TEXT, CAT_GP_DIRIGIDA9 TEXT, CAT_GP_DIRIGIDA10 TEXT, CAT_GP_DIRIGIDA11 TEXT)")));
 BA.debugLineNum = 207;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
Debug.ShouldStop(16384);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD2 (CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS INT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG BLOB, CAT_GP_ALMACEN INT, CAT_GP_DEV INT, CAT_GP_TIPOPROD TEXT, CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD2 TEXT, CAT_GP_PRECIO1 TEXT, CAT_GP_PRECIO2 TEXT, CAT_GP_PRECIO3 TEXT, CAT_GP_PRECIO4 TEXT, CAT_GP_PRECIO5 TEXT, CAT_GP_PRECIO6 TEXT, CAT_GP_PRECIO7 TEXT, CAT_GP_PRECIO8 TEXT, CAT_GP_PRECIO9 TEXT, CAT_GP_PRECIO10 TEXT, CAT_GP_PRECIO11 TEXT, CAT_GP_PRESENTACION1 TEXT, CAT_GP_PRESENTACION2 TEXT, CAT_GP_PRESENTACION3 TEXT, CAT_GP_PRESENTACION4 TEXT, CAT_GP_PRESENTACION5 TEXT, CAT_GP_PRESENTACION6 TEXT, CAT_GP_PRESENTACION7 TEXT, CAT_GP_PRESENTACION8 TEXT, CAT_GP_PRESENTACION9 TEXT, CAT_GP_PRESENTACION10 TEXT, CAT_GP_PRESENTACION11 TEXT, CAT_GP_UMV1 TEXT, CAT_GP_UMV2 TEXT, CAT_GP_UMV3 TEXT, CAT_GP_UMV4 TEXT, CAT_GP_UMV5 TEXT, CAT_GP_UMV6 TEXT, CAT_GP_UMV7 TEXT, CAT_GP_UMV8 TEXT, CAT_GP_UMV9 TEXT, CAT_GP_UMV10 TEXT, CAT_GP_UMV11 TEXT, CAT_GP_DIRIGIDA1 TEXT, CAT_GP_DIRIGIDA2 TEXT, CAT_GP_DIRIGIDA3 TEXT, CAT_GP_DIRIGIDA4 TEXT, CAT_GP_DIRIGIDA5 TEXT, CAT_GP_DIRIGIDA6 TEXT, CAT_GP_DIRIGIDA7 TEXT, CAT_GP_DIRIGIDA8 TEXT, CAT_GP_DIRIGIDA9 TEXT, CAT_GP_DIRIGIDA10 TEXT, CAT_GP_DIRIGIDA11 TEXT)")));
 BA.debugLineNum = 212;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
Debug.ShouldStop(524288);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD3 (CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD TEXT, CAT_GP_DEV TEXT, CAT_GP_ALMACEN NUMERIC, CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_PRECIO TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS TEXT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG BLOB)")));
 BA.debugLineNum = 213;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
Debug.ShouldStop(1048576);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD4 (CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD TEXT, CAT_GP_DEV TEXT, CAT_GP_ALMACEN NUMERIC, CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_PRECIO TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS TEXT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG BLOB, CAT_DP_CONVERSION1 TEXT, CAT_DP_PRECIO4 TEXT)")));
 BA.debugLineNum = 214;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
Debug.ShouldStop(2097152);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_STAY_STORE (HSS_CODIGO TEXT, HSS_IN TEXT, HSS_OUT TEXT, HSS_TOT TEXT)")));
 BA.debugLineNum = 215;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
Debug.ShouldStop(4194304);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_STAY_OUT (HSO_INI TEXT, HSO_FIN TEXT)")));
 BA.debugLineNum = 216;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS INV";
Debug.ShouldStop(8388608);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS INVENT_X_ENVIAR (ALMACEN TEXT, PROID TEXT, CANTIDAD TEXT)")));
 BA.debugLineNum = 217;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
Debug.ShouldStop(16777216);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_RESUM_APK (HIST_RA_OBJMES TEXT, HIST_RA_VENTA TEXT, HIST_RA_TENDENCIA TEXT, HIST_RA_ALCANCE TEXT, HISR_RA_DRAOBJ TEXT, HIST_RA_DRAVTA TEXT, HIST_RA_DSOBJ TEXT, HIST_RA_DSVTA TEXT, HIST_RA_VPOOBJ TEXT, HIST_RA_VPOVTA TEXT, HIST_RA_COBCCC TEXT, HIST_RA_CTES TEXT, HIST_RA_ECO TEXT, HIST_RA_VISITPLAN TEXT, HIST_RA_VISIREAL TEXT, HIST_RA_COBVISIT TEXT, HIST_RA_FRECCOMPOBJ TEXT, HIST_RA_FRECCOMREAL TEXT, HIST_RA_VENTAMES1 TEXT, HIST_RA_VENTAMES2 TEXT, HIST_RA_VENTAMES3 TEXT, HIST_RA_VENTAMES4 TEXT, HIST_RA_RECHAZO TEXT, HIST_RA_RECHAZOPORCEN TEXT, HIST_RA_SEMANA1 TEXT, HIST_RA_SEMANA1_DIAS TEXT, HIST_RA_SEMANA1_DRA TEXT, HIST_RA_SEMANA2 TEXT, HIST_RA_SEMANA2_DIAS TEXT, HIST_RA_SEMANA2_DRA TEXT, HIST_RA_SEMANA3 TEXT, HIST_RA_SEMANA3_DIAS TEXT, HIST_RA_SEMANA4 TEXT, HIST_RA_SEMANA3_DRA TEXT, HIST_RA_SEMANA4_DIAS TEXT, HIST_RA_SEMANA4_DRA TEXT, HIST_RA_SEMANA5 TEXT, HIST_RA_SEMANA5_DIAS TEXT, HIST_RA_SEMANA5_DRA TEXT, HIST_RA_SEMANA1_LPT TEXT, HIST_RA_SEMANA2_LPT TEXT, HIST_RA_SEMANA3_LPT TEXT, HIST_RA_SEMANA4_LPT TEXT, HIST_RA_SEMANA5_LPT TEXT, HIST_RA_RUTA TEXT, HIST_RA_IDALMACEN TEXT)")));
 BA.debugLineNum = 219;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
Debug.ShouldStop(67108864);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_GEOCERCA (HGCLIENTE TEXT, HGDATE TEXT, HGLAT TEXT, HGLON TEXT)")));
 BA.debugLineNum = 220;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
Debug.ShouldStop(134217728);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_FACE (HFCLIENTE TEXT, HFALIAS TEXT, HFRUTA TEXT, HFALMACEN TEXT)")));
 BA.debugLineNum = 221;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT";
Debug.ShouldStop(268435456);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)")));
 BA.debugLineNum = 222;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS CATA";
Debug.ShouldStop(536870912);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE VIEW IF NOT EXISTS CATALOGO AS Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD UNION Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD GROUP BY CAT_GP_CLASIF, CAT_GP_ID")));
 BA.debugLineNum = 223;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS tota";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE VIEW IF NOT EXISTS total_marcas AS 	Select  cat_gp_clasif, sum(pe_costo_tot) As total from CATALOGO, pedido where pe_proid = cat_gp_id 	And pe_cliente <> 0 	group by cat_gp_clasif")));
 BA.debugLineNum = 224;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_MARCAS_CUOTAS ( HMC_MARCA TEXT, HMC_TOTAL TEXT)")));
 BA.debugLineNum = 225;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
Debug.ShouldStop(1);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_CODIGO_BARRAS(CODIGOKMTS TEXT, CODIGOB TEXT, LAT TEXT, LON TEXT)")));
 BA.debugLineNum = 226;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ABO";
Debug.ShouldStop(2);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ABONOS (a_usuario TEXT, a_ruta TEXT, a_cliente TEXT, a_abono TEXT, a_fecha TEXT, a_enviado TEXT)")));
 BA.debugLineNum = 227;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COO";
Debug.ShouldStop(4);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS COORDENADAS_GPS (tienda_id TEXT, ruta TEXT, almacen TEXT, latitud TEXT, longitud TEXT, fecha TEXT)")));
 BA.debugLineNum = 228;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
Debug.ShouldStop(8);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_CUESTIONARIO (HC_CLIENTE TEXT)")));
 BA.debugLineNum = 229;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PAG";
Debug.ShouldStop(16);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS PAGARES (PA_ALMACEN TEXT, PA_RUTA TEXT, PA_FECHA TEXT, PA_CAPTURA TEXT, PA_MONTO TEXT, PA_USUARIO TEXT, PA_CLIENTE TEXT)")));
 BA.debugLineNum = 230;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS NOV";
Debug.ShouldStop(32);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS NOVENTA (NV_CLIENTE TEXT, NV_FECHA TEXT, NV_USER TEXT, NV_MOTIVO TEXT, NV_COMM TEXT, NV_LAT TEXT, NV_LON TEXT)")));
 BA.debugLineNum = 231;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PIC";
Debug.ShouldStop(64);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS PICK_CIEGO (PC_ID_PROD TEXT, PC_NOM_PROD TEXT, PC_CANT TEXT, PC_ALMACEN TEXT, PC_RUTA TEXT, PC_FECHA TEXT)")));
 BA.debugLineNum = 232;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENV";
Debug.ShouldStop(128);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ENV_MONTO_LIQ (EML_MONTO TEXT, EML_ALMACEN TEXT, EML_RUTA TEXT, EML_USUARIO TEXT, EML_FECHA_PED TEXT)")));
 BA.debugLineNum = 233;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_ENVIO_OK\", \"INT\"";
Debug.ShouldStop(256);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_ENVIO_OK")),(Object)(RemoteObject.createImmutable("INT")));
 BA.debugLineNum = 234;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CANTC\", \"TEXT\")";
Debug.ShouldStop(512);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_CANTC")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 236;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_DIRIGIDA\", \"TEXT";
Debug.ShouldStop(2048);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_DIRIGIDA")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 237;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_UVM\", \"TEXT\")";
Debug.ShouldStop(4096);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_UVM")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 238;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_PRESENTACION\", \"";
Debug.ShouldStop(8192);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_PRESENTACION")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 240;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_BCAJAS\", \"TEXT\")";
Debug.ShouldStop(32768);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_BCAJAS")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 241;BA.debugLine="Subs.agregaColumna(\"NOVENTA\", \"NV_ENVIO_OK\", \"INT";
Debug.ShouldStop(65536);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("NOVENTA")),(Object)(BA.ObjectToString("NV_ENVIO_OK")),(Object)(RemoteObject.createImmutable("INT")));
 BA.debugLineNum = 242;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_BCREDITO\",";
Debug.ShouldStop(131072);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info")),(Object)(BA.ObjectToString("CAT_CL_BCREDITO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 243;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_TIPOCLIENT";
Debug.ShouldStop(262144);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info")),(Object)(BA.ObjectToString("CAT_CL_TIPOCLIENTE")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 244;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_BCOORDENAD";
Debug.ShouldStop(524288);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info")),(Object)(BA.ObjectToString("CAT_CL_BCOORDENADAS")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 245;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_LIMITECRED";
Debug.ShouldStop(1048576);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info")),(Object)(BA.ObjectToString("CAT_CL_LIMITECREDITO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 246;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_LISTA_PREC";
Debug.ShouldStop(2097152);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info")),(Object)(BA.ObjectToString("CAT_CL_LISTA_PRECIO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 247;BA.debugLine="Subs.agregaColumna(\"kmt_info2\", \"CAT_CL_LISTA_PRE";
Debug.ShouldStop(4194304);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info2")),(Object)(BA.ObjectToString("CAT_CL_LISTA_PRECIO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 248;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_TIPOPR";
Debug.ShouldStop(8388608);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_TIPOPROD2")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 249;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_CONVER";
Debug.ShouldStop(16777216);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_CONVERSION1")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 250;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI";
Debug.ShouldStop(33554432);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA11")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 251;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI";
Debug.ShouldStop(67108864);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA10")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 252;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI";
Debug.ShouldStop(134217728);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA9")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 253;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI";
Debug.ShouldStop(268435456);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA8")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 254;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI";
Debug.ShouldStop(536870912);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA7")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 255;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI";
Debug.ShouldStop(1073741824);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA6")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 256;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI";
Debug.ShouldStop(-2147483648);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA5")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 257;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI";
Debug.ShouldStop(1);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA4")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 258;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI";
Debug.ShouldStop(2);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA3")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 259;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI";
Debug.ShouldStop(4);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA2")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 260;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI";
Debug.ShouldStop(8);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA1")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 261;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV11\"";
Debug.ShouldStop(16);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV11")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 262;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV10\"";
Debug.ShouldStop(32);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV10")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 263;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV9\",";
Debug.ShouldStop(64);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV9")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 264;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV8\",";
Debug.ShouldStop(128);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV8")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 265;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV7\",";
Debug.ShouldStop(256);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV7")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 266;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV6\",";
Debug.ShouldStop(512);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV6")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 267;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV5\",";
Debug.ShouldStop(1024);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV5")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 268;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV4\",";
Debug.ShouldStop(2048);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV4")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 269;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV3\",";
Debug.ShouldStop(4096);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV3")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 270;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV2\",";
Debug.ShouldStop(8192);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV2")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 271;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV1\",";
Debug.ShouldStop(16384);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV1")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 272;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN";
Debug.ShouldStop(32768);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION11")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 273;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN";
Debug.ShouldStop(65536);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION10")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 274;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN";
Debug.ShouldStop(131072);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION9")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 275;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN";
Debug.ShouldStop(262144);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION8")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 276;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN";
Debug.ShouldStop(524288);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION7")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 277;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN";
Debug.ShouldStop(1048576);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION6")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 278;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN";
Debug.ShouldStop(2097152);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION5")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 279;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN";
Debug.ShouldStop(4194304);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION4")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 280;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN";
Debug.ShouldStop(8388608);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION3")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 281;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN";
Debug.ShouldStop(16777216);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION2")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 282;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN";
Debug.ShouldStop(33554432);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION1")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 283;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO";
Debug.ShouldStop(67108864);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO11")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 284;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO";
Debug.ShouldStop(134217728);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO10")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 285;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO";
Debug.ShouldStop(268435456);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO9")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 286;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO";
Debug.ShouldStop(536870912);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO8")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 287;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO";
Debug.ShouldStop(1073741824);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO7")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 288;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO";
Debug.ShouldStop(-2147483648);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO6")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 289;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO";
Debug.ShouldStop(1);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO5")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 290;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO";
Debug.ShouldStop(2);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO4")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 291;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO";
Debug.ShouldStop(4);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO3")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 292;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO";
Debug.ShouldStop(8);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO2")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 293;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO";
Debug.ShouldStop(16);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO1")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 294;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CONVE";
Debug.ShouldStop(32);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD3")),(Object)(BA.ObjectToString("CAT_DP_CONVERSION1")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 295;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_PRECI";
Debug.ShouldStop(64);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD3")),(Object)(BA.ObjectToString("CAT_DP_PRECIO4")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 296;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_DP_CONVE";
Debug.ShouldStop(128);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD2")),(Object)(BA.ObjectToString("CAT_DP_CONVERSION1")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 297;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_DP_PRECI";
Debug.ShouldStop(256);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD2")),(Object)(BA.ObjectToString("CAT_DP_PRECIO4")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 298;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_DP_PRECI";
Debug.ShouldStop(512);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD2")),(Object)(BA.ObjectToString("CAT_DP_PRECIO1")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 299;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_DP_PRECI";
Debug.ShouldStop(1024);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD2")),(Object)(BA.ObjectToString("CAT_DP_PRECIO2")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 300;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD4\", \"CAT_DP_PRECI";
Debug.ShouldStop(2048);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD4")),(Object)(BA.ObjectToString("CAT_DP_PRECIO1")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 301;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD4\", \"CAT_DP_PRECI";
Debug.ShouldStop(4096);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD4")),(Object)(BA.ObjectToString("CAT_DP_PRECIO2")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 302;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_SOLICIT";
Debug.ShouldStop(8192);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_SOLICITA")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 303;BA.debugLine="Subs.agregaColumna(\"ABONOSP\", \"DIA_VENCIMIENTO\",";
Debug.ShouldStop(16384);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("ABONOSP")),(Object)(BA.ObjectToString("DIA_VENCIMIENTO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 304;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_COLONIA";
Debug.ShouldStop(32768);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_COLONIA")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 305;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_TELEFON";
Debug.ShouldStop(65536);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_TELEFONO")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 306;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CP\", \"T";
Debug.ShouldStop(131072);
parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_CP")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 307;BA.debugLine="c=skmt.ExecQuery(\"select  COUNT(*) AS CUANTOS fro";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select  COUNT(*) AS CUANTOS from HIST_STAY_OUT "))));
 BA.debugLineNum = 312;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO POLIGONO(LAT,LONG";
Debug.ShouldStop(8388608);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable((19.481683012377815)),RemoteObject.createImmutable((-99.14063876529508))})))));
 BA.debugLineNum = 313;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO POLIGONO(LAT,LONG";
Debug.ShouldStop(16777216);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable((19.480080935096886)),RemoteObject.createImmutable((-99.15459780214643))})))));
 BA.debugLineNum = 319;BA.debugLine="C.Position = 0";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 320;BA.debugLine="If c.GetString(\"CUANTOS\")  = 0 Then";
Debug.ShouldStop(-2147483648);
if (true) break;

case 5:
//if
this.state = 8;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { 
this.state = 7;
}if (true) break;

case 7:
//C
this.state = 8;
 BA.debugLineNum = 321;BA.debugLine="skmt.ExecNonQuery(\"INSERT INTO HIST_STAY_OUT(HSO";
Debug.ShouldStop(1);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)")));
 if (true) break;

case 8:
//C
this.state = 9;
;
 BA.debugLineNum = 323;BA.debugLine="C.Close";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 327;BA.debugLine="l_version.Text = Application.VersionName";
Debug.ShouldStop(64);
__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.getField(false,"Application").runMethod(true,"getVersionName")));
 BA.debugLineNum = 328;BA.debugLine="l_version.Visible = True";
Debug.ShouldStop(128);
__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True"));
 BA.debugLineNum = 329;BA.debugLine="l_version.BringToFront";
Debug.ShouldStop(256);
__ref.getField(false,"_l_version" /*RemoteObject*/ ).runVoidMethod ("BringToFront");
 BA.debugLineNum = 337;BA.debugLine="montoActual  = 0";
Debug.ShouldStop(65536);
__ref.setField ("_montoactual" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 338;BA.debugLine="clientesTotal = 0";
Debug.ShouldStop(131072);
__ref.setField ("_clientestotal" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 339;BA.debugLine="clientesVenta =  0";
Debug.ShouldStop(262144);
__ref.setField ("_clientesventa" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 340;BA.debugLine="clientesVisitados = 0";
Debug.ShouldStop(524288);
__ref.setField ("_clientesvisitados" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 341;BA.debugLine="almacen = 0";
Debug.ShouldStop(1048576);
__ref.setField ("_almacen" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 342;BA.debugLine="rutaPreventa =  0";
Debug.ShouldStop(2097152);
__ref.setField ("_rutapreventa" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 343;BA.debugLine="p_appUpdate.Visible = False";
Debug.ShouldStop(4194304);
__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 345;BA.debugLine="LogColor(\"Revisa permisos Phone_State\", Colors.Gr";
Debug.ShouldStop(16777216);
parent.__c.runVoidMethod ("LogImpl","51573072",BA.ObjectToString("Revisa permisos Phone_State"),parent.__c.getField(false,"Colors").getField(true,"Green"));
 BA.debugLineNum = 346;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
Debug.ShouldStop(33554432);
parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_ACCESS_FINE_LOCATION")));
 BA.debugLineNum = 347;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
Debug.ShouldStop(67108864);
parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_created"), null);
this.state = 35;
return;
case 35:
//C
this.state = 9;
_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission);
_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result);
;
 BA.debugLineNum = 348;BA.debugLine="If Result Then";
Debug.ShouldStop(134217728);
if (true) break;

case 9:
//if
this.state = 14;
if (_result.<Boolean>get().booleanValue()) { 
this.state = 11;
}else {
this.state = 13;
}if (true) break;

case 11:
//C
this.state = 14;
 BA.debugLineNum = 349;BA.debugLine="Log(\"Con permisos de ubicacion\")";
Debug.ShouldStop(268435456);
parent.__c.runVoidMethod ("LogImpl","51573076",RemoteObject.createImmutable("Con permisos de ubicacion"),0);
 if (true) break;

case 13:
//C
this.state = 14;
 BA.debugLineNum = 351;BA.debugLine="Log(\"SIN permisos de ubicacion\")";
Debug.ShouldStop(1073741824);
parent.__c.runVoidMethod ("LogImpl","51573078",RemoteObject.createImmutable("SIN permisos de ubicacion"),0);
 if (true) break;

case 14:
//C
this.state = 15;
;
 BA.debugLineNum = 353;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
Debug.ShouldStop(1);
parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_ACCESS_COARSE_LOCATION")));
 BA.debugLineNum = 354;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
Debug.ShouldStop(2);
parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_created"), null);
this.state = 36;
return;
case 36:
//C
this.state = 15;
_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission);
_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result);
;
 BA.debugLineNum = 355;BA.debugLine="If Result Then";
Debug.ShouldStop(4);
if (true) break;

case 15:
//if
this.state = 20;
if (_result.<Boolean>get().booleanValue()) { 
this.state = 17;
}else {
this.state = 19;
}if (true) break;

case 17:
//C
this.state = 20;
 BA.debugLineNum = 356;BA.debugLine="Log(\"Con permisos de ubicacion\")";
Debug.ShouldStop(8);
parent.__c.runVoidMethod ("LogImpl","51573083",RemoteObject.createImmutable("Con permisos de ubicacion"),0);
 if (true) break;

case 19:
//C
this.state = 20;
 BA.debugLineNum = 358;BA.debugLine="Log(\"SIN permisos de ubicacion\")";
Debug.ShouldStop(32);
parent.__c.runVoidMethod ("LogImpl","51573085",RemoteObject.createImmutable("SIN permisos de ubicacion"),0);
 if (true) break;

case 20:
//C
this.state = 21;
;
 BA.debugLineNum = 360;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
Debug.ShouldStop(128);
parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_READ_PHONE_STATE")));
 BA.debugLineNum = 361;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
Debug.ShouldStop(256);
parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_created"), null);
this.state = 37;
return;
case 37:
//C
this.state = 21;
_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission);
_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result);
;
 BA.debugLineNum = 362;BA.debugLine="If Result Then";
Debug.ShouldStop(512);
if (true) break;

case 21:
//if
this.state = 24;
if (_result.<Boolean>get().booleanValue()) { 
this.state = 23;
}if (true) break;

case 23:
//C
this.state = 24;
 if (true) break;

case 24:
//C
this.state = 25;
;
 BA.debugLineNum = 376;BA.debugLine="MES1.Initialize(Me, \"MES1\")";
Debug.ShouldStop(8388608);
__ref.getField(false,"_mes1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.manageexternalstorage.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(RemoteObject.createImmutable("MES1")));
 BA.debugLineNum = 378;BA.debugLine="Dim SdkVersion As Int = device.SdkVersion";
Debug.ShouldStop(33554432);
_sdkversion = __ref.getField(false,"_device" /*RemoteObject*/ ).runMethod(true,"getSdkVersion");Debug.locals.put("SdkVersion", _sdkversion);Debug.locals.put("SdkVersion", _sdkversion);
 BA.debugLineNum = 380;BA.debugLine="If SdkVersion < 30 Then";
Debug.ShouldStop(134217728);
if (true) break;

case 25:
//if
this.state = 34;
if (RemoteObject.solveBoolean("<",_sdkversion,BA.numberCast(double.class, 30))) { 
this.state = 27;
}else {
this.state = 29;
}if (true) break;

case 27:
//C
this.state = 34;
 BA.debugLineNum = 382;BA.debugLine="Dim rp As RuntimePermissions";
Debug.ShouldStop(536870912);
_rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions");Debug.locals.put("rp", _rp);
 BA.debugLineNum = 383;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_";
Debug.ShouldStop(1073741824);
_rp.runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(_rp.getField(true,"PERMISSION_WRITE_EXTERNAL_STORAGE")));
 BA.debugLineNum = 384;BA.debugLine="Wait For Activity_PermissionResult (Permission A";
Debug.ShouldStop(-2147483648);
parent.__c.runVoidMethod ("WaitFor","activity_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_created"), null);
this.state = 38;
return;
case 38:
//C
this.state = 34;
_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission);
_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result);
;
 if (true) break;

case 29:
//C
this.state = 30;
 BA.debugLineNum = 389;BA.debugLine="If Not(MES1.HasPermission) Then";
Debug.ShouldStop(16);
if (true) break;

case 30:
//if
this.state = 33;
if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_mes1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.manageexternalstorage.class, "_haspermission" /*RemoteObject*/ ))).<Boolean>get().booleanValue()) { 
this.state = 32;
}if (true) break;

case 32:
//C
this.state = 33;
 BA.debugLineNum = 390;BA.debugLine="MsgboxAsync(\"This app requires access to all fi";
Debug.ShouldStop(32);
parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("This app requires access to all files, please enable the option")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Manage All Files"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 391;BA.debugLine="Wait For Msgbox_Result(Res As Int)";
Debug.ShouldStop(64);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_created"), null);
this.state = 39;
return;
case 39:
//C
this.state = 33;
_res = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Res", _res);
;
 BA.debugLineNum = 393;BA.debugLine="MES1.GetPermission";
Debug.ShouldStop(256);
__ref.getField(false,"_mes1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.manageexternalstorage.class, "_getpermission" /*RemoteObject*/ );
 BA.debugLineNum = 394;BA.debugLine="Wait For MES_StorageAvailable";
Debug.ShouldStop(512);
parent.__c.runVoidMethod ("WaitFor","mes_storageavailable", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_created"), null);
this.state = 40;
return;
case 40:
//C
this.state = 33;
;
 if (true) break;

case 33:
//C
this.state = 34;
;
 if (true) break;

case 34:
//C
this.state = -1;
;
 BA.debugLineNum = 397;BA.debugLine="P_CIEGO.Height = Root.Height";
Debug.ShouldStop(4096);
__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 398;BA.debugLine="P_CIEGO.Width = Root.Width";
Debug.ShouldStop(8192);
__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 399;BA.debugLine="p_validacion.Height = Root.Height";
Debug.ShouldStop(16384);
__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 400;BA.debugLine="p_validacion.Width = Root.Width";
Debug.ShouldStop(32768);
__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 401;BA.debugLine="p_add_monto.Height = Root.Height";
Debug.ShouldStop(65536);
__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 402;BA.debugLine="p_add_monto.Width = Root.Width";
Debug.ShouldStop(131072);
__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 405;BA.debugLine="End Sub";
Debug.ShouldStop(1048576);
if (true) break;

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static void  _b4xpage_permissionresult(RemoteObject __ref,RemoteObject _permission,RemoteObject _result) throws Exception{
}
public static void  _activity_permissionresult(RemoteObject __ref,RemoteObject _permission,RemoteObject _result) throws Exception{
}
public static void  _mes_storageavailable(RemoteObject __ref) throws Exception{
}
public static RemoteObject  _class_globals(RemoteObject __ref) throws Exception{
 //BA.debugLineNum = 25;BA.debugLine="Sub Class_Globals";
 //BA.debugLineNum = 26;BA.debugLine="Dim c2 As Cursor";
b4xmainpage._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",b4xmainpage._c2);
 //BA.debugLineNum = 27;BA.debugLine="Dim sDate,sTime As String";
b4xmainpage._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",b4xmainpage._sdate);
b4xmainpage._stime = RemoteObject.createImmutable("");__ref.setField("_stime",b4xmainpage._stime);
 //BA.debugLineNum = 28;BA.debugLine="Private Root As B4XView";
b4xmainpage._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",b4xmainpage._root);
 //BA.debugLineNum = 29;BA.debugLine="Private xui As XUI";
b4xmainpage._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xmainpage._xui);
 //BA.debugLineNum = 30;BA.debugLine="Dim s As C_Subs";
b4xmainpage._s = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_subs");__ref.setField("_s",b4xmainpage._s);
 //BA.debugLineNum = 31;BA.debugLine="Public login As B4XMainPage";
b4xmainpage._login = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xmainpage");__ref.setField("_login",b4xmainpage._login);
 //BA.debugLineNum = 32;BA.debugLine="Public principal As C_Principal";
b4xmainpage._principal = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_principal");__ref.setField("_principal",b4xmainpage._principal);
 //BA.debugLineNum = 33;BA.debugLine="Public clientes As C_Clientes";
b4xmainpage._clientes = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_clientes");__ref.setField("_clientes",b4xmainpage._clientes);
 //BA.debugLineNum = 34;BA.debugLine="Public cliente As C_Cliente";
b4xmainpage._cliente = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_cliente");__ref.setField("_cliente",b4xmainpage._cliente);
 //BA.debugLineNum = 35;BA.debugLine="Public productos As C_Productos";
b4xmainpage._productos = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_productos");__ref.setField("_productos",b4xmainpage._productos);
 //BA.debugLineNum = 36;BA.debugLine="Public updateAvailable As C_UpdateAvailable";
b4xmainpage._updateavailable = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_updateavailable");__ref.setField("_updateavailable",b4xmainpage._updateavailable);
 //BA.debugLineNum = 37;BA.debugLine="Public mapas As C_Mapas";
b4xmainpage._mapas = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_mapas");__ref.setField("_mapas",b4xmainpage._mapas);
 //BA.debugLineNum = 38;BA.debugLine="Public nuevoCliente As C_NuevoCliente";
b4xmainpage._nuevocliente = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_nuevocliente");__ref.setField("_nuevocliente",b4xmainpage._nuevocliente);
 //BA.debugLineNum = 39;BA.debugLine="Public ticketsDia As C_TicketsDia";
b4xmainpage._ticketsdia = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_ticketsdia");__ref.setField("_ticketsdia",b4xmainpage._ticketsdia);
 //BA.debugLineNum = 40;BA.debugLine="Public noVenta As C_NoVenta";
b4xmainpage._noventa = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_noventa");__ref.setField("_noventa",b4xmainpage._noventa);
 //BA.debugLineNum = 41;BA.debugLine="Public nota As C_Nota";
b4xmainpage._nota = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_nota");__ref.setField("_nota",b4xmainpage._nota);
 //BA.debugLineNum = 42;BA.debugLine="Public pedidos As C_Pedidos";
b4xmainpage._pedidos = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_pedidos");__ref.setField("_pedidos",b4xmainpage._pedidos);
 //BA.debugLineNum = 43;BA.debugLine="Public promos As C_Promos";
b4xmainpage._promos = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_promos");__ref.setField("_promos",b4xmainpage._promos);
 //BA.debugLineNum = 44;BA.debugLine="Public historico As C_Historico";
b4xmainpage._historico = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_historico");__ref.setField("_historico",b4xmainpage._historico);
 //BA.debugLineNum = 45;BA.debugLine="Public Provider As FileProvider";
b4xmainpage._provider = RemoteObject.createNew ("SHARK2.keymon.com.mx.fileprovider");__ref.setField("_provider",b4xmainpage._provider);
 //BA.debugLineNum = 57;BA.debugLine="Dim reqManager As DBRequestManager";
b4xmainpage._reqmanager = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager");__ref.setField("_reqmanager",b4xmainpage._reqmanager);
 //BA.debugLineNum = 58;BA.debugLine="Dim v As String = Application.VersionName";
b4xmainpage._v = b4xmainpage.__c.getField(false,"Application").runMethod(true,"getVersionName");__ref.setField("_v",b4xmainpage._v);
 //BA.debugLineNum = 59;BA.debugLine="Dim ruta As String";
b4xmainpage._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",b4xmainpage._ruta);
 //BA.debugLineNum = 60;BA.debugLine="Dim tgl As Toggle";
b4xmainpage._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",b4xmainpage._tgl);
 //BA.debugLineNum = 61;BA.debugLine="Dim lat_gps, lon_gps As String";
b4xmainpage._lat_gps = RemoteObject.createImmutable("");__ref.setField("_lat_gps",b4xmainpage._lat_gps);
b4xmainpage._lon_gps = RemoteObject.createImmutable("");__ref.setField("_lon_gps",b4xmainpage._lon_gps);
 //BA.debugLineNum = 62;BA.debugLine="Dim usuario As String";
b4xmainpage._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",b4xmainpage._usuario);
 //BA.debugLineNum = 63;BA.debugLine="Dim batt As Int";
b4xmainpage._batt = RemoteObject.createImmutable(0);__ref.setField("_batt",b4xmainpage._batt);
 //BA.debugLineNum = 64;BA.debugLine="Dim skmt As SQL";
b4xmainpage._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_skmt",b4xmainpage._skmt);
 //BA.debugLineNum = 65;BA.debugLine="Dim montoActual, clientesTotal, clientesVenta, cl";
b4xmainpage._montoactual = RemoteObject.createImmutable("");__ref.setField("_montoactual",b4xmainpage._montoactual);
b4xmainpage._clientestotal = RemoteObject.createImmutable("");__ref.setField("_clientestotal",b4xmainpage._clientestotal);
b4xmainpage._clientesventa = RemoteObject.createImmutable("");__ref.setField("_clientesventa",b4xmainpage._clientesventa);
b4xmainpage._clientesvisitados = RemoteObject.createImmutable("");__ref.setField("_clientesvisitados",b4xmainpage._clientesvisitados);
b4xmainpage._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",b4xmainpage._almacen);
b4xmainpage._rutapreventa = RemoteObject.createImmutable("");__ref.setField("_rutapreventa",b4xmainpage._rutapreventa);
 //BA.debugLineNum = 66;BA.debugLine="Dim DBReqServer, fechaRuta As String";
b4xmainpage._dbreqserver = RemoteObject.createImmutable("");__ref.setField("_dbreqserver",b4xmainpage._dbreqserver);
b4xmainpage._fecharuta = RemoteObject.createImmutable("");__ref.setField("_fecharuta",b4xmainpage._fecharuta);
 //BA.debugLineNum = 67;BA.debugLine="Dim Logger As Boolean";
b4xmainpage._logger = RemoteObject.createImmutable(false);__ref.setField("_logger",b4xmainpage._logger);
 //BA.debugLineNum = 68;BA.debugLine="Dim mac_impresora As String";
b4xmainpage._mac_impresora = RemoteObject.createImmutable("");__ref.setField("_mac_impresora",b4xmainpage._mac_impresora);
 //BA.debugLineNum = 69;BA.debugLine="Dim Phn As PhoneId";
b4xmainpage._phn = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.PhoneId");__ref.setField("_phn",b4xmainpage._phn);
 //BA.debugLineNum = 71;BA.debugLine="Dim user As EditText";
b4xmainpage._user = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_user",b4xmainpage._user);
 //BA.debugLineNum = 72;BA.debugLine="Dim pass As EditText";
b4xmainpage._pass = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_pass",b4xmainpage._pass);
 //BA.debugLineNum = 73;BA.debugLine="Public tabulador As C_tabulador";
b4xmainpage._tabulador = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_tabulador");__ref.setField("_tabulador",b4xmainpage._tabulador);
 //BA.debugLineNum = 74;BA.debugLine="Dim c As Cursor";
b4xmainpage._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",b4xmainpage._c);
 //BA.debugLineNum = 75;BA.debugLine="Dim existe As String";
b4xmainpage._existe = RemoteObject.createImmutable("");__ref.setField("_existe",b4xmainpage._existe);
 //BA.debugLineNum = 76;BA.debugLine="Dim paso1 As String";
b4xmainpage._paso1 = RemoteObject.createImmutable("");__ref.setField("_paso1",b4xmainpage._paso1);
 //BA.debugLineNum = 77;BA.debugLine="Private IMEN As Label";
b4xmainpage._imen = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_imen",b4xmainpage._imen);
 //BA.debugLineNum = 78;BA.debugLine="Dim IMEI As String = \"\"";
b4xmainpage._imei = BA.ObjectToString("");__ref.setField("_imei",b4xmainpage._imei);
 //BA.debugLineNum = 79;BA.debugLine="Dim alterno As String";
b4xmainpage._alterno = RemoteObject.createImmutable("");__ref.setField("_alterno",b4xmainpage._alterno);
 //BA.debugLineNum = 80;BA.debugLine="Private b_menu As Button";
b4xmainpage._b_menu = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_menu",b4xmainpage._b_menu);
 //BA.debugLineNum = 81;BA.debugLine="Dim PopupMenu As RSPopupMenu";
b4xmainpage._popupmenu = RemoteObject.createNew ("com.rootsoft.rspopupmenu.RSPopupMenu");__ref.setField("_popupmenu",b4xmainpage._popupmenu);
 //BA.debugLineNum = 82;BA.debugLine="Dim cmd As DBCommand";
b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd);
 //BA.debugLineNum = 83;BA.debugLine="Private PDF As Button";
b4xmainpage._pdf = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_pdf",b4xmainpage._pdf);
 //BA.debugLineNum = 84;BA.debugLine="Private bpv1 As BatteryProgressView";
b4xmainpage._bpv1 = RemoteObject.createNew ("batteryprogressviewwrapper.batteryprogressviewWrapper");__ref.setField("_bpv1",b4xmainpage._bpv1);
 //BA.debugLineNum = 85;BA.debugLine="Dim batterystatus(11) As Int";
b4xmainpage._batterystatus = RemoteObject.createNewArray ("int", new int[] {11}, new Object[]{});__ref.setField("_batterystatus",b4xmainpage._batterystatus);
 //BA.debugLineNum = 86;BA.debugLine="Private bu As BatteryUtilities";
b4xmainpage._bu = RemoteObject.createNew ("SHARK2.keymon.com.mx.batteryutilities");__ref.setField("_bu",b4xmainpage._bu);
 //BA.debugLineNum = 87;BA.debugLine="Private b_apk As Button";
b4xmainpage._b_apk = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_apk",b4xmainpage._b_apk);
 //BA.debugLineNum = 88;BA.debugLine="Private i_engrane As ImageView";
b4xmainpage._i_engrane = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_i_engrane",b4xmainpage._i_engrane);
 //BA.debugLineNum = 89;BA.debugLine="Private p_Main As Panel";
b4xmainpage._p_main = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_main",b4xmainpage._p_main);
 //BA.debugLineNum = 90;BA.debugLine="Private p_appUpdate As Panel";
b4xmainpage._p_appupdate = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_appupdate",b4xmainpage._p_appupdate);
 //BA.debugLineNum = 91;BA.debugLine="Private b_regesar As Button";
b4xmainpage._b_regesar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_regesar",b4xmainpage._b_regesar);
 //BA.debugLineNum = 92;BA.debugLine="Private l_version As Label";
b4xmainpage._l_version = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_version",b4xmainpage._l_version);
 //BA.debugLineNum = 93;BA.debugLine="Private ImageView1 As ImageView";
b4xmainpage._imageview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview1",b4xmainpage._imageview1);
 //BA.debugLineNum = 94;BA.debugLine="Private Label2 As Label";
b4xmainpage._label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label2",b4xmainpage._label2);
 //BA.debugLineNum = 95;BA.debugLine="Private Entrar As Button";
b4xmainpage._entrar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_entrar",b4xmainpage._entrar);
 //BA.debugLineNum = 96;BA.debugLine="Dim tipo_venta As String";
b4xmainpage._tipo_venta = RemoteObject.createImmutable("");__ref.setField("_tipo_venta",b4xmainpage._tipo_venta);
 //BA.debugLineNum = 97;BA.debugLine="Dim bTerminarClicked As Boolean = False";
b4xmainpage._bterminarclicked = b4xmainpage.__c.getField(true,"False");__ref.setField("_bterminarclicked",b4xmainpage._bterminarclicked);
 //BA.debugLineNum = 98;BA.debugLine="Private lv_server As ListView";
b4xmainpage._lv_server = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_server",b4xmainpage._lv_server);
 //BA.debugLineNum = 99;BA.debugLine="Private l_server As Label";
b4xmainpage._l_server = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_server",b4xmainpage._l_server);
 //BA.debugLineNum = 100;BA.debugLine="Private b_enviarbd As Button";
b4xmainpage._b_enviarbd = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_enviarbd",b4xmainpage._b_enviarbd);
 //BA.debugLineNum = 101;BA.debugLine="Private b_importarBD As Button";
b4xmainpage._b_importarbd = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_importarbd",b4xmainpage._b_importarbd);
 //BA.debugLineNum = 102;BA.debugLine="Dim ime As IME";
b4xmainpage._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",b4xmainpage._ime);
 //BA.debugLineNum = 103;BA.debugLine="Dim MES1 As ManageExternalStorage";
b4xmainpage._mes1 = RemoteObject.createNew ("SHARK2.keymon.com.mx.manageexternalstorage");__ref.setField("_mes1",b4xmainpage._mes1);
 //BA.debugLineNum = 104;BA.debugLine="Dim device As Phone";
b4xmainpage._device = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_device",b4xmainpage._device);
 //BA.debugLineNum = 105;BA.debugLine="Private et_server As EditText";
b4xmainpage._et_server = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_server",b4xmainpage._et_server);
 //BA.debugLineNum = 106;BA.debugLine="Private b_guardar As Button";
b4xmainpage._b_guardar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_guardar",b4xmainpage._b_guardar);
 //BA.debugLineNum = 107;BA.debugLine="Private Panel11 As Panel";
b4xmainpage._panel11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel11",b4xmainpage._panel11);
 //BA.debugLineNum = 108;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView";
b4xmainpage._clv_pick_ciego = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_pick_ciego",b4xmainpage._clv_pick_ciego);
 //BA.debugLineNum = 109;BA.debugLine="Private P_PICK_CIEGO As Panel";
b4xmainpage._p_pick_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_pick_ciego",b4xmainpage._p_pick_ciego);
 //BA.debugLineNum = 110;BA.debugLine="Dim ET_PICK_CIEGO As EditText";
b4xmainpage._et_pick_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_pick_ciego",b4xmainpage._et_pick_ciego);
 //BA.debugLineNum = 111;BA.debugLine="Private L_PICK_CIEGO As Label";
b4xmainpage._l_pick_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pick_ciego",b4xmainpage._l_pick_ciego);
 //BA.debugLineNum = 112;BA.debugLine="Private P_CIEGO As Panel";
b4xmainpage._p_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_ciego",b4xmainpage._p_ciego);
 //BA.debugLineNum = 113;BA.debugLine="Dim Panel4 As Panel";
b4xmainpage._panel4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel4",b4xmainpage._panel4);
 //BA.debugLineNum = 114;BA.debugLine="Dim q_buscar As String";
b4xmainpage._q_buscar = RemoteObject.createImmutable("");__ref.setField("_q_buscar",b4xmainpage._q_buscar);
 //BA.debugLineNum = 115;BA.debugLine="Private et_buspc As EditText";
b4xmainpage._et_buspc = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_buspc",b4xmainpage._et_buspc);
 //BA.debugLineNum = 116;BA.debugLine="Dim d As Cursor";
b4xmainpage._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",b4xmainpage._d);
 //BA.debugLineNum = 117;BA.debugLine="Dim a As Cursor";
b4xmainpage._a = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_a",b4xmainpage._a);
 //BA.debugLineNum = 118;BA.debugLine="Dim f As Cursor";
b4xmainpage._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",b4xmainpage._f);
 //BA.debugLineNum = 119;BA.debugLine="Dim idenviar As String";
b4xmainpage._idenviar = RemoteObject.createImmutable("");__ref.setField("_idenviar",b4xmainpage._idenviar);
 //BA.debugLineNum = 120;BA.debugLine="Private et_codigo As EditText";
b4xmainpage._et_codigo = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_codigo",b4xmainpage._et_codigo);
 //BA.debugLineNum = 121;BA.debugLine="Private b_cancelarcodigo As Button";
b4xmainpage._b_cancelarcodigo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancelarcodigo",b4xmainpage._b_cancelarcodigo);
 //BA.debugLineNum = 122;BA.debugLine="Private b_aceptar As Button";
b4xmainpage._b_aceptar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_aceptar",b4xmainpage._b_aceptar);
 //BA.debugLineNum = 123;BA.debugLine="Private p_validacion As Panel";
b4xmainpage._p_validacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_validacion",b4xmainpage._p_validacion);
 //BA.debugLineNum = 124;BA.debugLine="Private b_recarga As Button";
b4xmainpage._b_recarga = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_recarga",b4xmainpage._b_recarga);
 //BA.debugLineNum = 125;BA.debugLine="Dim recarga As String = \"0\"";
b4xmainpage._recarga = BA.ObjectToString("0");__ref.setField("_recarga",b4xmainpage._recarga);
 //BA.debugLineNum = 126;BA.debugLine="Private p_add_monto As Panel";
b4xmainpage._p_add_monto = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_add_monto",b4xmainpage._p_add_monto);
 //BA.debugLineNum = 127;BA.debugLine="Private B_Can_Monto As Button";
b4xmainpage._b_can_monto = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_can_monto",b4xmainpage._b_can_monto);
 //BA.debugLineNum = 128;BA.debugLine="Private B_Aceptar_Monto As Button";
b4xmainpage._b_aceptar_monto = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_aceptar_monto",b4xmainpage._b_aceptar_monto);
 //BA.debugLineNum = 129;BA.debugLine="Private ET_Add_Monto As EditText";
b4xmainpage._et_add_monto = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_add_monto",b4xmainpage._et_add_monto);
 //BA.debugLineNum = 130;BA.debugLine="End Sub";
return RemoteObject.createImmutable("");
}
public static void  _copiadb(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("copiaDB (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,932);
if (RapidSub.canDelegate("copiadb")) { __ref.runUserSub(false, "b4xmainpage","copiadb", __ref); return;}
ResumableSub_copiaDB rsub = new ResumableSub_copiaDB(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_copiaDB extends BA.ResumableSub {
public ResumableSub_copiaDB(SHARK2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
SHARK2.keymon.com.mx.b4xmainpage parent;
RemoteObject _permission = RemoteObject.createImmutable("");
RemoteObject _result = RemoteObject.createImmutable(false);
RemoteObject _thedir = RemoteObject.createImmutable("");

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

    while (true) {
try {

        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
Debug.locals.put("_ref", __ref);
 BA.debugLineNum = 933;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
Debug.ShouldStop(16);
parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_WRITE_EXTERNAL_STORAGE")));
 BA.debugLineNum = 934;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
Debug.ShouldStop(32);
parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "copiadb"), null);
this.state = 18;
return;
case 18:
//C
this.state = 1;
_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission);
_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result);
;
 BA.debugLineNum = 935;BA.debugLine="Dim theDir As String = \"\"";
Debug.ShouldStop(64);
_thedir = BA.ObjectToString("");Debug.locals.put("theDir", _thedir);Debug.locals.put("theDir", _thedir);
 BA.debugLineNum = 936;BA.debugLine="If Result Then";
Debug.ShouldStop(128);
if (true) break;

case 1:
//if
this.state = 17;
if (_result.<Boolean>get().booleanValue()) { 
this.state = 3;
}else {
this.state = 16;
}if (true) break;

case 3:
//C
this.state = 4;
 BA.debugLineNum = 943;BA.debugLine="Dim theDir As String";
Debug.ShouldStop(16384);
_thedir = RemoteObject.createImmutable("");Debug.locals.put("theDir", _thedir);
 BA.debugLineNum = 944;BA.debugLine="Try";
Debug.ShouldStop(32768);
if (true) break;

case 4:
//try
this.state = 9;
this.catchState = 8;
this.state = 6;
if (true) break;

case 6:
//C
this.state = 9;
this.catchState = 8;
 BA.debugLineNum = 945;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")";
Debug.ShouldStop(65536);
parent.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmts")));
 BA.debugLineNum = 946;BA.debugLine="theDir = \"/kmts\"";
Debug.ShouldStop(131072);
_thedir = BA.ObjectToString("/kmts");Debug.locals.put("theDir", _thedir);
 Debug.CheckDeviceExceptions();
if (true) break;

case 8:
//C
this.state = 9;
this.catchState = 0;
 BA.debugLineNum = 948;BA.debugLine="theDir = \"\"";
Debug.ShouldStop(524288);
_thedir = BA.ObjectToString("");Debug.locals.put("theDir", _thedir);
 if (true) break;
if (true) break;
;
 BA.debugLineNum = 950;BA.debugLine="Try";
Debug.ShouldStop(2097152);

case 9:
//try
this.state = 14;
this.catchState = 0;
this.catchState = 13;
this.state = 11;
if (true) break;

case 11:
//C
this.state = 14;
this.catchState = 13;
 BA.debugLineNum = 951;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirInt";
Debug.ShouldStop(4194304);
parent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("kmt.db")),(Object)(RemoteObject.concat(parent.__c.getField(false,"File").runMethod(true,"getDirInternal"),_thedir)),(Object)(RemoteObject.createImmutable("SHARK2_kmt.db")));
 BA.debugLineNum = 952;BA.debugLine="ToastMessageShow(\"Listo, copiado a \" & File.Dir";
Debug.ShouldStop(8388608);
parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Listo, copiado a "),parent.__c.getField(false,"File").runMethod(true,"getDirInternal"),_thedir,RemoteObject.createImmutable("/SHARK2_kmt.db")))),(Object)(parent.__c.getField(true,"False")));
 Debug.CheckDeviceExceptions();
if (true) break;

case 13:
//C
this.state = 14;
this.catchState = 0;
 BA.debugLineNum = 954;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&";
Debug.ShouldStop(33554432);
parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("No se pudo hacer la copia: "),parent.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))))),(Object)(parent.__c.getField(true,"True")));
 if (true) break;
if (true) break;

case 14:
//C
this.state = 17;
this.catchState = 0;
;
 if (true) break;

case 16:
//C
this.state = 17;
 BA.debugLineNum = 957;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)";
Debug.ShouldStop(268435456);
parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Sin permisos")),(Object)(parent.__c.getField(true,"False")));
 if (true) break;

case 17:
//C
this.state = -1;
;
 BA.debugLineNum = 959;BA.debugLine="End Sub";
Debug.ShouldStop(1073741824);
if (true) break;
}} 
       catch (Exception e0) {
			
if (catchState == 0)
    throw e0;
else {
    state = catchState;
BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e0.toString());}
            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static RemoteObject  _createlistitem(RemoteObject __ref,RemoteObject _id_prod,RemoteObject _prod,RemoteObject _cant) throws Exception{
try {
		Debug.PushSubsStack("CreateListItem (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1079);
if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "b4xmainpage","createlistitem", __ref, _id_prod, _prod, _cant);}
RemoteObject _pa = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
Debug.locals.put("Id_prod", _id_prod);
Debug.locals.put("Prod", _prod);
Debug.locals.put("cant", _cant);
 BA.debugLineNum = 1079;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri";
Debug.ShouldStop(4194304);
 BA.debugLineNum = 1080;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")";
Debug.ShouldStop(8388608);
_pa = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_pa = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("pa", _pa);Debug.locals.put("pa", _pa);
 BA.debugLineNum = 1081;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)";
Debug.ShouldStop(16777216);
_pa.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 10)));
 BA.debugLineNum = 1082;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")";
Debug.ShouldStop(33554432);
_pa.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("PANEL_PICK_CIEGO")),__ref.getField(false, "ba"));
 BA.debugLineNum = 1083;BA.debugLine="pa.Height = 55dip";
Debug.ShouldStop(67108864);
_pa.runMethod(true,"setHeight",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55))));
 BA.debugLineNum = 1084;BA.debugLine="pa.Width = 298dip";
Debug.ShouldStop(134217728);
_pa.runMethod(true,"setWidth",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 298))));
 BA.debugLineNum = 1086;BA.debugLine="L_PICK_CIEGO.Text = Id_prod &  CRLF & Prod";
Debug.ShouldStop(536870912);
__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_id_prod,b4xmainpage.__c.getField(true,"CRLF"),_prod)));
 BA.debugLineNum = 1087;BA.debugLine="L_PICK_CIEGO.TextSize = 12";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 12));
 BA.debugLineNum = 1088;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setGravity",b4xmainpage.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(b4xmainpage.__c.getField(false,"Gravity").getField(true,"CENTER_VERTICAL")),(Object)(b4xmainpage.__c.getField(false,"Gravity").getField(true,"CENTER_HORIZONTAL"))));
 BA.debugLineNum = 1089;BA.debugLine="ET_PICK_CIEGO.Text = cant";
Debug.ShouldStop(1);
__ref.getField(false,"_et_pick_ciego" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_cant));
 BA.debugLineNum = 1092;BA.debugLine="Return pa";
Debug.ShouldStop(8);
if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _pa.getObject());
 BA.debugLineNum = 1093;BA.debugLine="End Sub";
Debug.ShouldStop(16);
return RemoteObject.createImmutable(null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _createlistitem2(RemoteObject __ref,RemoteObject _id_prod,RemoteObject _prod) throws Exception{
try {
		Debug.PushSubsStack("CreateListItem2 (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1095);
if (RapidSub.canDelegate("createlistitem2")) { return __ref.runUserSub(false, "b4xmainpage","createlistitem2", __ref, _id_prod, _prod);}
RemoteObject _pa = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
Debug.locals.put("Id_prod", _id_prod);
Debug.locals.put("Prod", _prod);
 BA.debugLineNum = 1095;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str";
Debug.ShouldStop(64);
 BA.debugLineNum = 1096;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")";
Debug.ShouldStop(128);
_pa = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_pa = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("pa", _pa);Debug.locals.put("pa", _pa);
 BA.debugLineNum = 1097;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)";
Debug.ShouldStop(256);
_pa.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 10)));
 BA.debugLineNum = 1098;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")";
Debug.ShouldStop(512);
_pa.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("PANEL_PICK_CIEGO")),__ref.getField(false, "ba"));
 BA.debugLineNum = 1099;BA.debugLine="pa.Height = 55dip";
Debug.ShouldStop(1024);
_pa.runMethod(true,"setHeight",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55))));
 BA.debugLineNum = 1100;BA.debugLine="pa.Width = 298dip";
Debug.ShouldStop(2048);
_pa.runMethod(true,"setWidth",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 298))));
 BA.debugLineNum = 1102;BA.debugLine="L_PICK_CIEGO.Text = Id_prod &  CRLF & Prod";
Debug.ShouldStop(8192);
__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_id_prod,b4xmainpage.__c.getField(true,"CRLF"),_prod)));
 BA.debugLineNum = 1103;BA.debugLine="L_PICK_CIEGO.TextSize = 12";
Debug.ShouldStop(16384);
__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 12));
 BA.debugLineNum = 1104;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT";
Debug.ShouldStop(32768);
__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setGravity",b4xmainpage.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(b4xmainpage.__c.getField(false,"Gravity").getField(true,"CENTER_VERTICAL")),(Object)(b4xmainpage.__c.getField(false,"Gravity").getField(true,"CENTER_HORIZONTAL"))));
 BA.debugLineNum = 1107;BA.debugLine="Return pa";
Debug.ShouldStop(262144);
if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _pa.getObject());
 BA.debugLineNum = 1108;BA.debugLine="End Sub";
Debug.ShouldStop(524288);
return RemoteObject.createImmutable(null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _dameusuario(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("dameUsuario (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,902);
if (RapidSub.canDelegate("dameusuario")) { return __ref.runUserSub(false, "b4xmainpage","dameusuario", __ref);}
 BA.debugLineNum = 902;BA.debugLine="Sub dameUsuario";
Debug.ShouldStop(32);
 BA.debugLineNum = 903;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro";
Debug.ShouldStop(64);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as EXISTE1 from usuarioa where usuario = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")}))));
 BA.debugLineNum = 904;BA.debugLine="c.Position=0";
Debug.ShouldStop(128);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 905;BA.debugLine="existe = c.GetString(\"EXISTE1\")";
Debug.ShouldStop(256);
__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE1"))));
 BA.debugLineNum = 906;BA.debugLine="c.Close";
Debug.ShouldStop(512);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 907;BA.debugLine="If existe > 0 Then";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_existe" /*RemoteObject*/ )),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 908;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));
 BA.debugLineNum = 909;BA.debugLine="c.Position=0";
Debug.ShouldStop(4096);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 910;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(8192);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 }else {
 BA.debugLineNum = 912;BA.debugLine="usuario = \"SINUSUARIO\"";
Debug.ShouldStop(32768);
__ref.setField ("_usuario" /*RemoteObject*/ ,BA.ObjectToString("SINUSUARIO"));
 };
 BA.debugLineNum = 914;BA.debugLine="End Sub";
Debug.ShouldStop(131072);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _entrar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Entrar_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,478);
if (RapidSub.canDelegate("entrar_click")) { return __ref.runUserSub(false, "b4xmainpage","entrar_click", __ref);}
RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.agraham.reflection.Reflection");
RemoteObject _api = RemoteObject.createImmutable(0);
RemoteObject _pp = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone");
RemoteObject _id = RemoteObject.createImmutable(0);
 BA.debugLineNum = 478;BA.debugLine="Sub Entrar_Click";
Debug.ShouldStop(536870912);
 BA.debugLineNum = 479;BA.debugLine="Log(\"|\" & Starter.DBReqServer)";
Debug.ShouldStop(1073741824);
b4xmainpage.__c.runVoidMethod ("LogImpl","51703937",RemoteObject.concat(RemoteObject.createImmutable("|"),b4xmainpage._starter._dbreqserver /*RemoteObject*/ ),0);
 BA.debugLineNum = 480;BA.debugLine="Dim r As Reflector";
Debug.ShouldStop(-2147483648);
_r = RemoteObject.createNew ("anywheresoftware.b4a.agraham.reflection.Reflection");Debug.locals.put("r", _r);
 BA.debugLineNum = 481;BA.debugLine="Dim Api As Int";
Debug.ShouldStop(1);
_api = RemoteObject.createImmutable(0);Debug.locals.put("Api", _api);
 BA.debugLineNum = 482;BA.debugLine="Dim PP As Phone";
Debug.ShouldStop(2);
_pp = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");Debug.locals.put("PP", _pp);
 BA.debugLineNum = 483;BA.debugLine="Api = r.GetStaticField(\"android.os.Build$VERSION\"";
Debug.ShouldStop(4);
_api = BA.numberCast(int.class, _r.runMethod(false,"GetStaticField",(Object)(BA.ObjectToString("android.os.Build$VERSION")),(Object)(RemoteObject.createImmutable("SDK_INT"))));Debug.locals.put("Api", _api);
 BA.debugLineNum = 484;BA.debugLine="If Api < 9 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("<",_api,BA.numberCast(double.class, 9))) { 
 BA.debugLineNum = 486;BA.debugLine="If File.Exists(File.DirInternal, \"__id\") Then";
Debug.ShouldStop(32);
if (b4xmainpage.__c.getField(false,"File").runMethod(true,"Exists",(Object)(b4xmainpage.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("__id"))).<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 487;BA.debugLine="IMEI =  File.ReadString(File.DirInternal, \"__id";
Debug.ShouldStop(64);
__ref.setField ("_imei" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"File").runMethod(true,"ReadString",(Object)(b4xmainpage.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("__id"))));
 BA.debugLineNum = 488;BA.debugLine="Log(1&\"-\"&IMEI)";
Debug.ShouldStop(128);
b4xmainpage.__c.runVoidMethod ("LogImpl","51703946",RemoteObject.concat(RemoteObject.createImmutable(1),RemoteObject.createImmutable("-"),__ref.getField(true,"_imei" /*RemoteObject*/ )),0);
 }else {
 BA.debugLineNum = 490;BA.debugLine="Dim id As Int";
Debug.ShouldStop(512);
_id = RemoteObject.createImmutable(0);Debug.locals.put("id", _id);
 BA.debugLineNum = 491;BA.debugLine="id = Rnd(0x10000000, 0x7FFFFFFF)";
Debug.ShouldStop(1024);
_id = b4xmainpage.__c.runMethod(true,"Rnd",(Object)(BA.numberCast(int.class, ((int)0x10000000))),(Object)(BA.numberCast(int.class, ((int)0x7fffffff))));Debug.locals.put("id", _id);
 BA.debugLineNum = 492;BA.debugLine="File.WriteString(File.DirInternal, \"__id\", id)";
Debug.ShouldStop(2048);
b4xmainpage.__c.getField(false,"File").runVoidMethod ("WriteString",(Object)(b4xmainpage.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("__id")),(Object)(BA.NumberToString(_id)));
 BA.debugLineNum = 493;BA.debugLine="IMEI =  id";
Debug.ShouldStop(4096);
__ref.setField ("_imei" /*RemoteObject*/ ,BA.NumberToString(_id));
 BA.debugLineNum = 494;BA.debugLine="Log(2&\"-\"&IMEI)";
Debug.ShouldStop(8192);
b4xmainpage.__c.runVoidMethod ("LogImpl","51703952",RemoteObject.concat(RemoteObject.createImmutable(2),RemoteObject.createImmutable("-"),__ref.getField(true,"_imei" /*RemoteObject*/ )),0);
 };
 }else {
 BA.debugLineNum = 498;BA.debugLine="IMEI =  r.GetStaticField(\"android.os.Build\", \"SE";
Debug.ShouldStop(131072);
__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString(_r.runMethod(false,"GetStaticField",(Object)(BA.ObjectToString("android.os.Build")),(Object)(RemoteObject.createImmutable("SERIAL")))));
 };
 BA.debugLineNum = 501;BA.debugLine="If IMEI.ToLowerCase = \"unknown\" Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_imei" /*RemoteObject*/ ).runMethod(true,"toLowerCase"),BA.ObjectToString("unknown"))) { 
 BA.debugLineNum = 502;BA.debugLine="IMEI = PP.GetSettings(\"android_id\")";
Debug.ShouldStop(2097152);
__ref.setField ("_imei" /*RemoteObject*/ ,_pp.runMethod(true,"GetSettings",(Object)(RemoteObject.createImmutable("android_id"))));
 };
 BA.debugLineNum = 506;BA.debugLine="If user.Text = \"ALTERNO\" Then";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("ALTERNO"))) { 
 BA.debugLineNum = 507;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,";
Debug.ShouldStop(67108864);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")}))));
 BA.debugLineNum = 508;BA.debugLine="c.Position =0";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 509;BA.debugLine="DBReqServer = c.GetString(\"CAT_CO_CONFIGURACION\"";
Debug.ShouldStop(268435456);
__ref.setField ("_dbreqserver" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CO_CONFIGURACION"))));
 BA.debugLineNum = 510;BA.debugLine="alterno = c.GetString(\"CAT_CO_RESULTADO\")";
Debug.ShouldStop(536870912);
__ref.setField ("_alterno" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CO_RESULTADO"))));
 BA.debugLineNum = 511;BA.debugLine="c.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 512;BA.debugLine="If alterno = 1 Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_alterno" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 513;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_";
Debug.ShouldStop(1);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")})))));
 BA.debugLineNum = 514;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_";
Debug.ShouldStop(2);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")})))));
 }else 
{ BA.debugLineNum = 515;BA.debugLine="Else if alterno = 2 Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_alterno" /*RemoteObject*/ ),BA.NumberToString(2))) { 
 BA.debugLineNum = 516;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_";
Debug.ShouldStop(8);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")})))));
 BA.debugLineNum = 517;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_";
Debug.ShouldStop(16);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")})))));
 }}
;
 BA.debugLineNum = 519;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,";
Debug.ShouldStop(64);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")}))));
 BA.debugLineNum = 520;BA.debugLine="c.Position =0";
Debug.ShouldStop(128);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 521;BA.debugLine="DBReqServer = c.GetString(\"CAT_CO_CONFIGURACION\"";
Debug.ShouldStop(256);
__ref.setField ("_dbreqserver" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CO_CONFIGURACION"))));
 BA.debugLineNum = 522;BA.debugLine="user.Text = DBReqServer";
Debug.ShouldStop(512);
__ref.getField(false,"_user" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_dbreqserver" /*RemoteObject*/ )));
 BA.debugLineNum = 523;BA.debugLine="c.Close";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else 
{ BA.debugLineNum = 525;BA.debugLine="else if user.Text = \"KMTS1\" Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { 
 BA.debugLineNum = 526;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")";
Debug.ShouldStop(8192);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa")));
 BA.debugLineNum = 527;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES";
Debug.ShouldStop(16384);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO USUARIOA VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText"))})))));
 BA.debugLineNum = 528;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")";
Debug.ShouldStop(32768);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen")));
 BA.debugLineNum = 529;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A";
Debug.ShouldStop(65536);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText"))})))));
 BA.debugLineNum = 530;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")";
Debug.ShouldStop(131072);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION")));
 BA.debugLineNum = 531;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO";
Debug.ShouldStop(262144);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO VERSION(NOVERSION) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("2.1"))})))));
 BA.debugLineNum = 532;BA.debugLine="B4XPages.ShowPage(\"Clientes\")";
Debug.ShouldStop(524288);
b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes")));
 }else 
{ BA.debugLineNum = 533;BA.debugLine="else if user.Text = \"BERNA1\" Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("BERNA1"))) { 
 BA.debugLineNum = 534;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")";
Debug.ShouldStop(2097152);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa")));
 BA.debugLineNum = 535;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES";
Debug.ShouldStop(4194304);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO USUARIOA VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.createImmutable("1"))})))));
 BA.debugLineNum = 536;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")";
Debug.ShouldStop(8388608);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen")));
 BA.debugLineNum = 537;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A";
Debug.ShouldStop(16777216);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("1"))})))));
 BA.debugLineNum = 538;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")";
Debug.ShouldStop(33554432);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION")));
 BA.debugLineNum = 539;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO";
Debug.ShouldStop(67108864);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO VERSION(NOVERSION) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("2.1"))})))));
 BA.debugLineNum = 540;BA.debugLine="B4XPages.ShowPage(\"Clientes\")";
Debug.ShouldStop(134217728);
b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes")));
 }else 
{ BA.debugLineNum = 541;BA.debugLine="else if user.Text = \"IMEI\" Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("IMEI"))) { 
 BA.debugLineNum = 542;BA.debugLine="user.Text = IMEI";
Debug.ShouldStop(536870912);
__ref.getField(false,"_user" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_imei" /*RemoteObject*/ )));
 }}}}
;
 BA.debugLineNum = 545;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro";
Debug.ShouldStop(1);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as EXISTE1 from usuarioa where usuario = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")}))));
 BA.debugLineNum = 546;BA.debugLine="c.Position=0";
Debug.ShouldStop(2);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 547;BA.debugLine="existe = c.GetString(\"EXISTE1\")";
Debug.ShouldStop(4);
__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE1"))));
 BA.debugLineNum = 548;BA.debugLine="If existe = 0 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_existe" /*RemoteObject*/ ),BA.NumberToString(0))) { 
 BA.debugLineNum = 549;BA.debugLine="If IMEI = \"\" Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_imei" /*RemoteObject*/ ),BA.ObjectToString(""))) { 
 BA.debugLineNum = 550;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(32);
b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd);
 BA.debugLineNum = 551;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(64);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 552;BA.debugLine="cmd.Name = \"select_usuario_SHARK2 \" 'Antes sele";
Debug.ShouldStop(128);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_usuario_SHARK2 "));
 BA.debugLineNum = 553;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Trim";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"))}));
 BA.debugLineNum = 554;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")";
Debug.ShouldStop(512);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("usuario_10"))));
 }else {
 BA.debugLineNum = 556;BA.debugLine="If IMEI = \"\" Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_imei" /*RemoteObject*/ ),BA.ObjectToString(""))) { 
 BA.debugLineNum = 557;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(4096);
b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd);
 BA.debugLineNum = 558;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(8192);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 559;BA.debugLine="cmd.Name = \"select_usuario_SHARK2\"";
Debug.ShouldStop(16384);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_usuario_SHARK2"));
 BA.debugLineNum = 560;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Tri";
Debug.ShouldStop(32768);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"))}));
 BA.debugLineNum = 561;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")";
Debug.ShouldStop(65536);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("usuario_10"))));
 }else {
 BA.debugLineNum = 563;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(262144);
b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd);
 BA.debugLineNum = 564;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 565;BA.debugLine="cmd.Name = \"select_usuario_SHARK2\" 'Antes sele";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_usuario_SHARK2"));
 BA.debugLineNum = 566;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Tri";
Debug.ShouldStop(2097152);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"))}));
 BA.debugLineNum = 567;BA.debugLine="Log(\"Mandamos: \"&user.Text&\"|\"& pass.Text)";
Debug.ShouldStop(4194304);
b4xmainpage.__c.runVoidMethod ("LogImpl","51704025",RemoteObject.concat(RemoteObject.createImmutable("Mandamos: "),__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("|"),__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText")),0);
 BA.debugLineNum = 568;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")";
Debug.ShouldStop(8388608);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("usuario_10"))));
 };
 };
 BA.debugLineNum = 571;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(67108864);
b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd);
 BA.debugLineNum = 572;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(134217728);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 573;BA.debugLine="cmd.Name = \"select_version_SHARK2\"";
Debug.ShouldStop(268435456);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_version_SHARK2"));
 BA.debugLineNum = 574;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")";
Debug.ShouldStop(536870912);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("version"))));
 }else {
 BA.debugLineNum = 576;BA.debugLine="usuario = user.Text";
Debug.ShouldStop(-2147483648);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 577;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(1);
b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 };
 BA.debugLineNum = 579;BA.debugLine="End Sub";
Debug.ShouldStop(4);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _entrar_longclick(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Entrar_LongClick (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,997);
if (RapidSub.canDelegate("entrar_longclick")) { return __ref.runUserSub(false, "b4xmainpage","entrar_longclick", __ref);}
 BA.debugLineNum = 997;BA.debugLine="Sub Entrar_LongClick";
Debug.ShouldStop(16);
 BA.debugLineNum = 999;BA.debugLine="End Sub";
Debug.ShouldStop(64);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _et_buspc_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{
try {
		Debug.PushSubsStack("et_buspc_TextChanged (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1038);
if (RapidSub.canDelegate("et_buspc_textchanged")) { return __ref.runUserSub(false, "b4xmainpage","et_buspc_textchanged", __ref, _old, _new);}
int _i = 0;
Debug.locals.put("Old", _old);
Debug.locals.put("New", _new);
 BA.debugLineNum = 1038;BA.debugLine="Private Sub et_buspc_TextChanged (Old As String, N";
Debug.ShouldStop(8192);
 BA.debugLineNum = 1039;BA.debugLine="If New = \"\" Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",_new,BA.ObjectToString(""))) { 
 BA.debugLineNum = 1040;BA.debugLine="CLV_PICK_CIEGO.Clear";
Debug.ShouldStop(32768);
__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear");
 }else 
{ BA.debugLineNum = 1041;BA.debugLine="Else If New.Length >= 3 Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("g",_new.runMethod(true,"length"),BA.numberCast(double.class, 3))) { 
 BA.debugLineNum = 1042;BA.debugLine="CLV_PICK_CIEGO.Clear";
Debug.ShouldStop(131072);
__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear");
 BA.debugLineNum = 1044;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\"";
Debug.ShouldStop(524288);
__ref.setField ("_q_buscar" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable("%"),__ref.getField(false,"_et_buspc" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("%")));
 BA.debugLineNum = 1045;BA.debugLine="Log(q_buscar)";
Debug.ShouldStop(1048576);
b4xmainpage.__c.runVoidMethod ("LogImpl","53145735",__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),0);
 BA.debugLineNum = 1046;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"select CAT";
Debug.ShouldStop(2097152);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.createImmutable("select CAT_GP_NOMBRE, CAT_GP_ID , ifnull(PC_CANT,0) AS PC_CANT FROM CAT_GUNAPROD3 INNER JOIN PICK_CIEGO ON PC_ID_PROD = CAT_GP_ID AND PC_NOM_PROD = CAT_GP_NOMBRE WHERE (CAT_GP_NOMBRE LIKE ? OR  CAT_GP_ID  LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"))),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ )}))));
 BA.debugLineNum = 1047;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1050;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(33554432);
{
final int step9 = 1;
final int limit9 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step9 > 0 && _i <= limit9) || (step9 < 0 && _i >= limit9) ;_i = ((int)(0 + _i + step9))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1051;BA.debugLine="c.Position = i";
Debug.ShouldStop(67108864);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1052;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem(c.GetString(";
Debug.ShouldStop(134217728);
__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CANT"))))).getObject()),(Object)(RemoteObject.createImmutable((_i))));
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 1055;BA.debugLine="c.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1057;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"select CA";
Debug.ShouldStop(1);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.createImmutable("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR  CAT_GP_ID  LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'AND CAT_GP_ID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO)"))),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ )}))));
 BA.debugLineNum = 1059;BA.debugLine="For i = 0 To d.RowCount - 1";
Debug.ShouldStop(4);
{
final int step15 = 1;
final int limit15 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step15 > 0 && _i <= limit15) || (step15 < 0 && _i >= limit15) ;_i = ((int)(0 + _i + step15))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1060;BA.debugLine="d.Position = i";
Debug.ShouldStop(8);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1061;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString";
Debug.ShouldStop(16);
__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_createlistitem2" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))).getObject()),(Object)(RemoteObject.createImmutable((_i))));
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 1064;BA.debugLine="d.Close";
Debug.ShouldStop(128);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else 
{ BA.debugLineNum = 1066;BA.debugLine="Else If c.RowCount = 0 Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1067;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"select CA";
Debug.ShouldStop(1024);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.createImmutable("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR  CAT_GP_ID  LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"))),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ )}))));
 BA.debugLineNum = 1069;BA.debugLine="For i = 0 To d.RowCount - 1";
Debug.ShouldStop(4096);
{
final int step22 = 1;
final int limit22 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step22 > 0 && _i <= limit22) || (step22 < 0 && _i >= limit22) ;_i = ((int)(0 + _i + step22))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1070;BA.debugLine="d.Position = i";
Debug.ShouldStop(8192);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1071;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString";
Debug.ShouldStop(16384);
__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_createlistitem2" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))).getObject()),(Object)(RemoteObject.createImmutable((_i))));
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 1074;BA.debugLine="d.Close";
Debug.ShouldStop(131072);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 }}
;
 }}
;
 BA.debugLineNum = 1077;BA.debugLine="End Sub";
Debug.ShouldStop(1048576);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _et_pick_ciego_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{
try {
		Debug.PushSubsStack("ET_PICK_CIEGO_TextChanged (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1110);
if (RapidSub.canDelegate("et_pick_ciego_textchanged")) { return __ref.runUserSub(false, "b4xmainpage","et_pick_ciego_textchanged", __ref, _old, _new);}
RemoteObject _et = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper");
Debug.locals.put("Old", _old);
Debug.locals.put("New", _new);
 BA.debugLineNum = 1110;BA.debugLine="Sub ET_PICK_CIEGO_TextChanged (Old As String, New";
Debug.ShouldStop(2097152);
 BA.debugLineNum = 1111;BA.debugLine="Dim et As EditText = Sender";
Debug.ShouldStop(4194304);
_et = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");
_et = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), b4xmainpage.__c.runMethod(false,"Sender",__ref.getField(false, "ba")));Debug.locals.put("et", _et);Debug.locals.put("et", _et);
 BA.debugLineNum = 1112;BA.debugLine="If New.Length > 4 Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean(">",_new.runMethod(true,"length"),BA.numberCast(double.class, 4))) { 
 BA.debugLineNum = 1113;BA.debugLine="et.Text = Old";
Debug.ShouldStop(16777216);
_et.runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_old));
 };
 BA.debugLineNum = 1115;BA.debugLine="End Sub";
Debug.ShouldStop(67108864);
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 (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,871);
if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "b4xmainpage","gps_locationchanged", __ref, _location1);}
Debug.locals.put("Location1", _location1);
 BA.debugLineNum = 871;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)";
Debug.ShouldStop(64);
 BA.debugLineNum = 872;BA.debugLine="If user.text = \"GPS\" Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("GPS"))) { 
 BA.debugLineNum = 873;BA.debugLine="user.Text=Location1.Latitude";
Debug.ShouldStop(256);
__ref.getField(false,"_user" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_location1.runMethod(true,"getLatitude")));
 BA.debugLineNum = 874;BA.debugLine="pass.text=Location1.Longitude";
Debug.ShouldStop(512);
__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_location1.runMethod(true,"getLongitude")));
 };
 BA.debugLineNum = 876;BA.debugLine="End Sub";
Debug.ShouldStop(2048);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _i_engrane_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("i_engrane_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,975);
if (RapidSub.canDelegate("i_engrane_click")) { return __ref.runUserSub(false, "b4xmainpage","i_engrane_click", __ref);}
 BA.debugLineNum = 975;BA.debugLine="Sub i_engrane_Click";
Debug.ShouldStop(16384);
 BA.debugLineNum = 976;BA.debugLine="lv_server.Clear";
Debug.ShouldStop(32768);
__ref.getField(false,"_lv_server" /*RemoteObject*/ ).runVoidMethod ("Clear");
 BA.debugLineNum = 977;BA.debugLine="ime.HideKeyboard";
Debug.ShouldStop(65536);
__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba"));
 BA.debugLineNum = 978;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.net:1781\")";
Debug.ShouldStop(131072);
__ref.getField(false,"_lv_server" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("http://keymon.net:1781"))));
 BA.debugLineNum = 980;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { 
__ref.getField(false,"_lv_server" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("http://10.0.0.205:1781"))));};
 BA.debugLineNum = 982;BA.debugLine="Log($\"|${Starter.DBReqServer}|\"$)";
Debug.ShouldStop(2097152);
b4xmainpage.__c.runVoidMethod ("LogImpl","52555911",(RemoteObject.concat(RemoteObject.createImmutable("|"),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((b4xmainpage._starter._dbreqserver /*RemoteObject*/ ))),RemoteObject.createImmutable("|"))),0);
 BA.debugLineNum = 984;BA.debugLine="et_server.Text = Starter.DBReqServer";
Debug.ShouldStop(8388608);
__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(b4xmainpage._starter._dbreqserver /*RemoteObject*/ ));
 BA.debugLineNum = 985;BA.debugLine="Subs.panelVisible(p_appUpdate,0,0)";
Debug.ShouldStop(16777216);
b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_appupdate" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 BA.debugLineNum = 986;BA.debugLine="If user.Text.trim = \"KMTS1\" Then b_importarBD.Vis";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"),BA.ObjectToString("KMTS1"))) { 
__ref.getField(false,"_b_importarbd" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"True"));}
else {
__ref.getField(false,"_b_importarbd" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));};
 BA.debugLineNum = 987;BA.debugLine="End Sub";
Debug.ShouldStop(67108864);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _i_engrane_longclick(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("i_engrane_LongClick (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,993);
if (RapidSub.canDelegate("i_engrane_longclick")) { return __ref.runUserSub(false, "b4xmainpage","i_engrane_longclick", __ref);}
 BA.debugLineNum = 993;BA.debugLine="Sub i_engrane_LongClick";
Debug.ShouldStop(1);
 BA.debugLineNum = 994;BA.debugLine="copiaDB";
Debug.ShouldStop(2);
__ref.runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_copiadb" /*void*/ );
 BA.debugLineNum = 995;BA.debugLine="End Sub";
Debug.ShouldStop(4);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{
try {
		Debug.PushSubsStack("Initialize (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,132);
if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xmainpage","initialize", __ref, _ba);}
__ref.runVoidMethodAndSync("innerInitializeHelper", _ba);
Debug.locals.put("ba", _ba);
 BA.debugLineNum = 132;BA.debugLine="Public Sub Initialize";
Debug.ShouldStop(8);
 BA.debugLineNum = 134;BA.debugLine="End Sub";
Debug.ShouldStop(32);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _jobdone(RemoteObject __ref,RemoteObject _job) throws Exception{
try {
		Debug.PushSubsStack("JobDone (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,581);
if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "b4xmainpage","jobdone", __ref, _job);}
RemoteObject _result = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbresult");
RemoteObject _records = null;
RemoteObject _cat_ve_version = RemoteObject.createImmutable("");
RemoteObject _k = RemoteObject.createImmutable("");
RemoteObject _id_almacen = RemoteObject.createImmutable("");
RemoteObject _cuenta = RemoteObject.createImmutable("");
RemoteObject _id = RemoteObject.createImmutable("");
RemoteObject _fecha_hoy = RemoteObject.createImmutable("");
RemoteObject _name = RemoteObject.createImmutable("");
RemoteObject _imei_base = RemoteObject.createImmutable("");
RemoteObject _cat_pa_pass = RemoteObject.createImmutable("");
RemoteObject _valido = RemoteObject.createImmutable("");
Debug.locals.put("Job", _job);
 BA.debugLineNum = 581;BA.debugLine="Sub JobDone(Job As HttpJob)";
Debug.ShouldStop(16);
 BA.debugLineNum = 582;BA.debugLine="Log(\"JOBDONE MAINPAGE\")";
Debug.ShouldStop(32);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769473",RemoteObject.createImmutable("JOBDONE MAINPAGE"),0);
 BA.debugLineNum = 583;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IsInitia";
Debug.ShouldStop(64);
if (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IsInitialized").<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 584;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IndexOf";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("!",b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_job.getField(false,"_tag" /*RemoteObject*/ ))),BA.numberCast(double.class, -(double) (0 + 1)))) { 
 BA.debugLineNum = 585;BA.debugLine="B4XPages.MainPage.reqManager.reqsList.RemoveAt(";
Debug.ShouldStop(256);
b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_job.getField(false,"_tag" /*RemoteObject*/ )))));
 BA.debugLineNum = 586;BA.debugLine="LogColor($\">>>>>> Quitamos ${Job.tag}\"$, Colors";
Debug.ShouldStop(512);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769477",(RemoteObject.concat(RemoteObject.createImmutable(">>>>>> Quitamos "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_job.getField(false,"_tag" /*RemoteObject*/ ))),RemoteObject.createImmutable(""))),b4xmainpage.__c.getField(false,"Colors").getField(true,"Blue"));
 };
 BA.debugLineNum = 588;BA.debugLine="LogColor(\">>>>>> \" & B4XPages.MainPage.reqManage";
Debug.ShouldStop(2048);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769479",RemoteObject.concat(RemoteObject.createImmutable(">>>>>> "),b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(" - "),b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ )),b4xmainpage.__c.getField(false,"Colors").getField(true,"Blue"));
 };
 BA.debugLineNum = 590;BA.debugLine="If Job.Success = False Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),b4xmainpage.__c.getField(true,"False"))) { 
 BA.debugLineNum = 591;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Job.Error";
Debug.ShouldStop(16384);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769482",RemoteObject.concat(RemoteObject.createImmutable("Error: "),_job.getField(false,"_tag" /*RemoteObject*/ ),RemoteObject.createImmutable(" : "),_job.getField(true,"_errormessage" /*RemoteObject*/ )),b4xmainpage.__c.getField(false,"Colors").getField(true,"Red"));
 }else {
 BA.debugLineNum = 593;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
Debug.ShouldStop(65536);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769484",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),b4xmainpage.__c.getField(false,"Colors").getField(true,"Green"));
 BA.debugLineNum = 594;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 595;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(262144);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 596;BA.debugLine="If result.Tag = \"version\" Then 'query tag";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("version")))) { 
 BA.debugLineNum = 597;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(1048576);
{
final RemoteObject group16 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen16 = group16.runMethod(true,"getSize").<Integer>get()
;int index16 = 0;
;
for (; index16 < groupLen16;index16++){
_records = (group16.runMethod(false,"Get",index16));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 598;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")";
Debug.ShouldStop(2097152);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION")));
 BA.debugLineNum = 599;BA.debugLine="Dim CAT_VE_VERSION As String = records(result";
Debug.ShouldStop(4194304);
_cat_ve_version = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VE_VERSION")))))));Debug.locals.put("CAT_VE_VERSION", _cat_ve_version);Debug.locals.put("CAT_VE_VERSION", _cat_ve_version);
 BA.debugLineNum = 600;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVER";
Debug.ShouldStop(8388608);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO VERSION(NOVERSION) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_ve_version)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 BA.debugLineNum = 604;BA.debugLine="If result.Tag = \"select_fechat\" Then 'query tag";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("select_fechat")))) { 
 BA.debugLineNum = 605;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(268435456);
{
final RemoteObject group23 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen23 = group23.runMethod(true,"getSize").<Integer>get()
;int index23 = 0;
;
for (; index23 < groupLen23;index23++){
_records = (group23.runMethod(false,"Get",index23));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 606;BA.debugLine="For Each k As String In result.Columns.Keys";
Debug.ShouldStop(536870912);
{
final RemoteObject group24 = _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys");
final int groupLen24 = group24.runMethod(true,"getSize").<Integer>get()
;int index24 = 0;
;
for (; index24 < groupLen24;index24++){
_k = BA.ObjectToString(group24.runMethod(false,"Get",index24));Debug.locals.put("k", _k);
Debug.locals.put("k", _k);
 BA.debugLineNum = 607;BA.debugLine="Log(\"select_fechat: \" & k & \": \" & records(r";
Debug.ShouldStop(1073741824);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769498",RemoteObject.concat(RemoteObject.createImmutable("select_fechat: "),_k,RemoteObject.createImmutable(": "),_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_k)))))),0);
 }
}Debug.locals.put("k", _k);
;
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 613;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 614;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(32);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 615;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("agencia")))) { 
 BA.debugLineNum = 616;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(128);
{
final RemoteObject group33 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen33 = group33.runMethod(true,"getSize").<Integer>get()
;int index33 = 0;
;
for (; index33 < groupLen33;index33++){
_records = (group33.runMethod(false,"Get",index33));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 617;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col";
Debug.ShouldStop(256);
_id_almacen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("ID_ALMACEN")))))));Debug.locals.put("ID_ALMACEN", _id_almacen);Debug.locals.put("ID_ALMACEN", _id_almacen);
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 622;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 623;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(16384);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 624;BA.debugLine="If result.Tag = \"SelectMontoLiq\" Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("SelectMontoLiq")))) { 
 BA.debugLineNum = 625;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(65536);
{
final RemoteObject group41 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen41 = group41.runMethod(true,"getSize").<Integer>get()
;int index41 = 0;
;
for (; index41 < groupLen41;index41++){
_records = (group41.runMethod(false,"Get",index41));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 626;BA.debugLine="Dim CUENTA As String = records(result.Columns";
Debug.ShouldStop(131072);
_cuenta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CUENTA")))))));Debug.locals.put("CUENTA", _cuenta);Debug.locals.put("CUENTA", _cuenta);
 BA.debugLineNum = 628;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(524288);
b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 629;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(1048576);
__ref.setField ("_sdate" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 630;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(2097152);
__ref.setField ("_stime" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 631;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CA";
Debug.ShouldStop(4194304);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info"))));
 BA.debugLineNum = 632;BA.debugLine="f.Position = 0";
Debug.ShouldStop(8388608);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 633;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID";
Debug.ShouldStop(16777216);
__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));
 BA.debugLineNum = 634;BA.debugLine="a.Position = 0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 636;BA.debugLine="Private c2 As Cursor";
Debug.ShouldStop(134217728);
b4xmainpage._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",b4xmainpage._c2);
 BA.debugLineNum = 637;BA.debugLine="c2=skmt.ExecQuery(\"select USUARIO from usuari";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));
 BA.debugLineNum = 638;BA.debugLine="c2.Position=0";
Debug.ShouldStop(536870912);
__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 639;BA.debugLine="If c2.RowCount > 0 Then c2.GetString(\"USUARIO";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("GetString",(Object)(RemoteObject.createImmutable("USUARIO")));};
 BA.debugLineNum = 641;BA.debugLine="Log(CUENTA & \"----------------------!!\")";
Debug.ShouldStop(1);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769532",RemoteObject.concat(_cuenta,RemoteObject.createImmutable("----------------------!!")),0);
 BA.debugLineNum = 642;BA.debugLine="If CUENTA = \"0\" Then";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",_cuenta,BA.ObjectToString("0"))) { 
 BA.debugLineNum = 644;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E";
Debug.ShouldStop(8);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))),__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))}))));
 BA.debugLineNum = 645;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 647;BA.debugLine="c.Position=0";
Debug.ShouldStop(64);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 648;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(128);
b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd);
 BA.debugLineNum = 649;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 650;BA.debugLine="cmd.Name = \"insert_Monto_Liq_SHARK2\"";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_Monto_Liq_SHARK2"));
 BA.debugLineNum = 651;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_MONTO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO")))),RemoteObject.createImmutable(("VENTA")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_FECHA_PED"))))}));
 BA.debugLineNum = 652;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_Mon_Li";
Debug.ShouldStop(2048);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_Mon_Liq"))));
 BA.debugLineNum = 653;BA.debugLine="MsgboxAsync(\"Monto Enviado\", \"Atención\")";
Debug.ShouldStop(4096);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Monto Enviado")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 };
 BA.debugLineNum = 656;BA.debugLine="c.Close";
Debug.ShouldStop(32768);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else 
{ BA.debugLineNum = 657;BA.debugLine="Else if CUENTA > \"0\" Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cuenta),BA.numberCast(double.class, "0"))) { 
 BA.debugLineNum = 659;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))),__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))}))));
 BA.debugLineNum = 660;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 662;BA.debugLine="c.Position = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 663;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 664;BA.debugLine="cmd.Name = \"update_MontoCuenta_SHARK2\"";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_MontoCuenta_SHARK2"));
 BA.debugLineNum = 665;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_MONTO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO"))))}));
 BA.debugLineNum = 667;BA.debugLine="Log(c.GetString(\"EML_MONTO\")& \" \" & c.GetSt";
Debug.ShouldStop(67108864);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769558",RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_MONTO"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_RUTA"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO")))),0);
 BA.debugLineNum = 668;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_MC\")";
Debug.ShouldStop(134217728);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("update_MC"))));
 BA.debugLineNum = 669;BA.debugLine="MsgboxAsync(\"Se sobre escribio el Monto\", \"";
Debug.ShouldStop(268435456);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Se sobre escribio el Monto")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 };
 BA.debugLineNum = 672;BA.debugLine="c2.Close";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 673;BA.debugLine="c.Close";
Debug.ShouldStop(1);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 }}
;
 BA.debugLineNum = 675;BA.debugLine="f.Close";
Debug.ShouldStop(4);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 676;BA.debugLine="a.Close";
Debug.ShouldStop(8);
__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close");
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 681;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 682;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(512);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 683;BA.debugLine="If result.Tag.As(String).IndexOf(\"PICK_C_\") > -";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_result.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("PICK_C_"))),BA.numberCast(double.class, -(double) (0 + 1)))) { 
 BA.debugLineNum = 685;BA.debugLine="Private id As String= result.Tag";
Debug.ShouldStop(4096);
_id = BA.ObjectToString(_result.getField(false,"Tag" /*RemoteObject*/ ));Debug.locals.put("id", _id);Debug.locals.put("id", _id);
 BA.debugLineNum = 686;BA.debugLine="id = id.SubString(id.IndexOf(\"_\")+3)";
Debug.ShouldStop(8192);
_id = _id.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_id.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("_"))),RemoteObject.createImmutable(3)}, "+",1, 1)));Debug.locals.put("id", _id);
 BA.debugLineNum = 687;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(16384);
{
final RemoteObject group91 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen91 = group91.runMethod(true,"getSize").<Integer>get()
;int index91 = 0;
;
for (; index91 < groupLen91;index91++){
_records = (group91.runMethod(false,"Get",index91));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 688;BA.debugLine="Dim CUENTA As String = records(result.Columns";
Debug.ShouldStop(32768);
_cuenta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CUENTA")))))));Debug.locals.put("CUENTA", _cuenta);Debug.locals.put("CUENTA", _cuenta);
 BA.debugLineNum = 689;BA.debugLine="Log(CUENTA)";
Debug.ShouldStop(65536);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769580",_cuenta,0);
 BA.debugLineNum = 690;BA.debugLine="Log(id)";
Debug.ShouldStop(131072);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769581",_id,0);
 BA.debugLineNum = 691;BA.debugLine="If CUENTA = 0 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",_cuenta,BA.NumberToString(0))) { 
 BA.debugLineNum = 692;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P";
Debug.ShouldStop(524288);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_id}))));
 BA.debugLineNum = 693;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 695;BA.debugLine="c.Position=0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 696;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(8388608);
b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd);
 BA.debugLineNum = 697;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 698;BA.debugLine="cmd.Name = \"insert_PICKCIEGO_SHARK2\"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_PICKCIEGO_SHARK2"));
 BA.debugLineNum = 699;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
Debug.ShouldStop(67108864);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ID_PROD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOM_PROD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),(RemoteObject.createImmutable("VENTA"))}));
 BA.debugLineNum = 700;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_PC\")";
Debug.ShouldStop(134217728);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_PC"))));
 };
 BA.debugLineNum = 703;BA.debugLine="c.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else 
{ BA.debugLineNum = 704;BA.debugLine="Else if CUENTA > 0 Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cuenta),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 705;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P";
Debug.ShouldStop(1);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD= ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_id}))));
 BA.debugLineNum = 706;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 = 708;BA.debugLine="c.Position = 0";
Debug.ShouldStop(8);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 709;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(16);
b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd);
 BA.debugLineNum = 710;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(32);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 711;BA.debugLine="cmd.Name = \"update_PICKCIEGO_SHARK2\"";
Debug.ShouldStop(64);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_PICKCIEGO_SHARK2"));
 BA.debugLineNum = 712;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))";
Debug.ShouldStop(128);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769603",RemoteObject.concat(RemoteObject.createImmutable("FECHA"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),0);
 BA.debugLineNum = 713;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ID_PROD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),(RemoteObject.createImmutable("VENTA"))}));
 BA.debugLineNum = 714;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")";
Debug.ShouldStop(512);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("update_PC"))));
 };
 BA.debugLineNum = 717;BA.debugLine="c.Close";
Debug.ShouldStop(4096);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 }}
;
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 724;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 725;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(1048576);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 726;BA.debugLine="If result.Tag = \"fecha\" Then 'query tag";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("fecha")))) { 
 BA.debugLineNum = 727;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(4194304);
{
final RemoteObject group125 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen125 = group125.runMethod(true,"getSize").<Integer>get()
;int index125 = 0;
;
for (; index125 < groupLen125;index125++){
_records = (group125.runMethod(false,"Get",index125));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 728;BA.debugLine="Dim FECHA_HOY As String = records(result.Colu";
Debug.ShouldStop(8388608);
_fecha_hoy = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("FECHA")))))));Debug.locals.put("FECHA_HOY", _fecha_hoy);Debug.locals.put("FECHA_HOY", _fecha_hoy);
 BA.debugLineNum = 729;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES";
Debug.ShouldStop(16777216);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("FECHA"))})))));
 BA.debugLineNum = 730;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES";
Debug.ShouldStop(33554432);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("FECHA")),(_fecha_hoy)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 735;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 736;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(-2147483648);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 737;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuario")))) { 
 BA.debugLineNum = 738;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(2);
{
final RemoteObject group135 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen135 = group135.runMethod(true,"getSize").<Integer>get()
;int index135 = 0;
;
for (; index135 < groupLen135;index135++){
_records = (group135.runMethod(false,"Get",index135));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 739;BA.debugLine="Dim name As String = records(result.Columns.G";
Debug.ShouldStop(4);
_name = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("USUARIO")))))));Debug.locals.put("name", _name);Debug.locals.put("name", _name);
 BA.debugLineNum = 740;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col";
Debug.ShouldStop(8);
_id_almacen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_AGENCIA")))))));Debug.locals.put("ID_ALMACEN", _id_almacen);Debug.locals.put("ID_ALMACEN", _id_almacen);
 BA.debugLineNum = 741;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu";
Debug.ShouldStop(16);
_imei_base = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_IDTELEFONO")))))));Debug.locals.put("IMEI_BASE", _imei_base);Debug.locals.put("IMEI_BASE", _imei_base);
 BA.debugLineNum = 742;BA.debugLine="Log(records(result.Columns.Get(\"CAT_LO_IDTELE";
Debug.ShouldStop(32);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769633",BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_IDTELEFONO"))))))),0);
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 744;BA.debugLine="paso1 = 1";
Debug.ShouldStop(128);
__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 745;BA.debugLine="ToastMessageShow(name, False)";
Debug.ShouldStop(256);
b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(_name)),(Object)(b4xmainpage.__c.getField(true,"False")));
 BA.debugLineNum = 746;BA.debugLine="Log(\"//////////////////////////  \"&name)";
Debug.ShouldStop(512);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769637",RemoteObject.concat(RemoteObject.createImmutable("//////////////////////////  "),_name),0);
 };
 };
 BA.debugLineNum = 750;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 751;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(16384);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 752;BA.debugLine="If result.Tag = \"usuario_10\" Then 'query tag";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuario_10")))) { 
 BA.debugLineNum = 753;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(65536);
{
final RemoteObject group149 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen149 = group149.runMethod(true,"getSize").<Integer>get()
;int index149 = 0;
;
for (; index149 < groupLen149;index149++){
_records = (group149.runMethod(false,"Get",index149));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 754;BA.debugLine="Dim name As String = records(result.Columns.G";
Debug.ShouldStop(131072);
_name = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("USUARIO")))))));Debug.locals.put("name", _name);Debug.locals.put("name", _name);
 BA.debugLineNum = 755;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col";
Debug.ShouldStop(262144);
_id_almacen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_AGENCIA")))))));Debug.locals.put("ID_ALMACEN", _id_almacen);Debug.locals.put("ID_ALMACEN", _id_almacen);
 BA.debugLineNum = 756;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu";
Debug.ShouldStop(524288);
_imei_base = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_IDTELEFONO")))))));Debug.locals.put("IMEI_BASE", _imei_base);Debug.locals.put("IMEI_BASE", _imei_base);
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 758;BA.debugLine="Log(\"|\"&name&\"|\")";
Debug.ShouldStop(2097152);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769649",RemoteObject.concat(RemoteObject.createImmutable("|"),_name,RemoteObject.createImmutable("|")),0);
 BA.debugLineNum = 759;BA.debugLine="paso1 = 1";
Debug.ShouldStop(4194304);
__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 760;BA.debugLine="IMEI_BASE = \"\"";
Debug.ShouldStop(8388608);
_imei_base = BA.ObjectToString("");Debug.locals.put("IMEI_BASE", _imei_base);
 BA.debugLineNum = 761;BA.debugLine="IMEI = \"\"";
Debug.ShouldStop(16777216);
__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString(""));
 };
 };
 BA.debugLineNum = 765;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 766;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(536870912);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 767;BA.debugLine="If result.Tag = \"contrasena\" Then 'query tag";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("contrasena")))) { 
 BA.debugLineNum = 768;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(-2147483648);
{
final RemoteObject group163 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen163 = group163.runMethod(true,"getSize").<Integer>get()
;int index163 = 0;
;
for (; index163 < groupLen163;index163++){
_records = (group163.runMethod(false,"Get",index163));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 769;BA.debugLine="Dim CAT_PA_PASS As String = records(result.Co";
Debug.ShouldStop(1);
_cat_pa_pass = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_PASS")))))));Debug.locals.put("CAT_PA_PASS", _cat_pa_pass);Debug.locals.put("CAT_PA_PASS", _cat_pa_pass);
 BA.debugLineNum = 770;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",_cat_pa_pass,__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethod(true,"getText"))) { 
 BA.debugLineNum = 771;BA.debugLine="Log(CAT_PA_PASS)";
Debug.ShouldStop(4);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769662",_cat_pa_pass,0);
 BA.debugLineNum = 772;BA.debugLine="p_validacion.Visible = False";
Debug.ShouldStop(8);
__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));
 BA.debugLineNum = 773;BA.debugLine="et_codigo.Text = \"\"";
Debug.ShouldStop(16);
__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 774;BA.debugLine="If recarga = \"0\" Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_recarga" /*RemoteObject*/ ),BA.ObjectToString("0"))) { 
 BA.debugLineNum = 775;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)";
Debug.ShouldStop(64);
b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_ciego" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 }else 
{ BA.debugLineNum = 776;BA.debugLine="Else If recarga = \"1\" Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_recarga" /*RemoteObject*/ ),BA.ObjectToString("1"))) { 
 BA.debugLineNum = 777;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUEN";
Debug.ShouldStop(256);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA")));
 BA.debugLineNum = 778;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUE";
Debug.ShouldStop(512);
b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("1"))})))));
 BA.debugLineNum = 779;BA.debugLine="B4XPages.MainPage.tipo_venta = \"RECARGA\"";
Debug.ShouldStop(1024);
b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("RECARGA"));
 BA.debugLineNum = 780;BA.debugLine="B4XPages.ShowPage(\"Productos\")";
Debug.ShouldStop(2048);
b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos")));
 }}
;
 }else {
 BA.debugLineNum = 784;BA.debugLine="MsgboxAsync(\"Contraseña incorrecta\",\"Atenció";
Debug.ShouldStop(32768);
b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Contraseña incorrecta")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 790;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ruta")))) { 
 BA.debugLineNum = 791;BA.debugLine="Log(\"JOBDONE PRINCIPAL MAINPAGE\")";
Debug.ShouldStop(4194304);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769682",RemoteObject.createImmutable("JOBDONE PRINCIPAL MAINPAGE"),0);
 BA.debugLineNum = 792;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(8388608);
{
final RemoteObject group185 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen185 = group185.runMethod(true,"getSize").<Integer>get()
;int index185 = 0;
;
for (; index185 < groupLen185;index185++){
_records = (group185.runMethod(false,"Get",index185));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 793;BA.debugLine="Dim VALIDO As String = records(result.Columns.";
Debug.ShouldStop(16777216);
_valido = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("VALIDO")))))));Debug.locals.put("VALIDO", _valido);Debug.locals.put("VALIDO", _valido);
 BA.debugLineNum = 794;BA.debugLine="If VALIDO = \"OK\" Then";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",_valido,BA.ObjectToString("OK"))) { 
 BA.debugLineNum = 795;BA.debugLine="Log(VALIDO)";
Debug.ShouldStop(67108864);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769686",_valido,0);
 };
 }
}Debug.locals.put("records", _records);
;
 };
 BA.debugLineNum = 800;BA.debugLine="Job.Release";
Debug.ShouldStop(-2147483648);
_job.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ );
 };
 BA.debugLineNum = 802;BA.debugLine="Log($\"Paso1 = ${paso1} - Name: ${name} - IMEI: ${";
Debug.ShouldStop(2);
b4xmainpage.__c.runVoidMethod ("LogImpl","51769693",(RemoteObject.concat(RemoteObject.createImmutable("Paso1 = "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_paso1" /*RemoteObject*/ )))),RemoteObject.createImmutable(" - Name: "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_name))),RemoteObject.createImmutable(" - IMEI: "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_imei" /*RemoteObject*/ )))),RemoteObject.createImmutable(" - IMEI_BASE: "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_imei_base))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 803;BA.debugLine="If paso1 = 1 Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_paso1" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 804;BA.debugLine="If IMEI = \"\" Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_imei" /*RemoteObject*/ ),BA.ObjectToString(""))) { 
 BA.debugLineNum = 805;BA.debugLine="If user.Text = \"KMTS1\" Then name = \"OKActivo\"";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { 
_name = BA.ObjectToString("OKActivo");Debug.locals.put("name", _name);};
 BA.debugLineNum = 806;BA.debugLine="If name = \"OKActivo\"  Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_name,BA.ObjectToString("OKActivo"))) { 
 BA.debugLineNum = 807;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")";
Debug.ShouldStop(64);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa")));
 BA.debugLineNum = 808;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUE";
Debug.ShouldStop(128);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO USUARIOA VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"))})))));
 BA.debugLineNum = 809;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")";
Debug.ShouldStop(256);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen")));
 BA.debugLineNum = 810;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID";
Debug.ShouldStop(512);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_id_almacen)})))));
 BA.debugLineNum = 811;BA.debugLine="usuario = user.Text";
Debug.ShouldStop(1024);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 812;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(2048);
b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 }else 
{ BA.debugLineNum = 813;BA.debugLine="Else If name  = \"OKExpirado\" Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",_name,BA.ObjectToString("OKExpirado"))) { 
 BA.debugLineNum = 814;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrad";
Debug.ShouldStop(8192);
b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 }else 
{ BA.debugLineNum = 815;BA.debugLine="Else If name = \"OKCancelado\" Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",_name,BA.ObjectToString("OKCancelado"))) { 
 BA.debugLineNum = 816;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administra";
Debug.ShouldStop(32768);
b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 818;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'Ig";
Debug.ShouldStop(131072);
b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 }}}
;
 BA.debugLineNum = 820;BA.debugLine="paso1 = 0";
Debug.ShouldStop(524288);
__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(0));
 }else {
 BA.debugLineNum = 822;BA.debugLine="If name = \"OKActivo\" & IMEI And  IMEI = IMEI_BA";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKActivo"),__ref.getField(true,"_imei" /*RemoteObject*/ ))) && RemoteObject.solveBoolean("=",__ref.getField(true,"_imei" /*RemoteObject*/ ),_imei_base)) { 
 BA.debugLineNum = 823;BA.debugLine="If name = \"OKActivo\" & IMEI Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKActivo"),__ref.getField(true,"_imei" /*RemoteObject*/ )))) { 
 BA.debugLineNum = 824;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")";
Debug.ShouldStop(8388608);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa")));
 BA.debugLineNum = 825;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALU";
Debug.ShouldStop(16777216);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO USUARIOA VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"))})))));
 BA.debugLineNum = 826;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")";
Debug.ShouldStop(33554432);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen")));
 BA.debugLineNum = 827;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(I";
Debug.ShouldStop(67108864);
__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_id_almacen)})))));
 BA.debugLineNum = 828;BA.debugLine="usuario = user.Text";
Debug.ShouldStop(134217728);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 829;BA.debugLine="B4XPages.ShowPage(\"Clientes\")";
Debug.ShouldStop(268435456);
b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes")));
 }else 
{ BA.debugLineNum = 830;BA.debugLine="Else If name  = \"OKExpirado\"& IMEI Then";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKExpirado"),__ref.getField(true,"_imei" /*RemoteObject*/ )))) { 
 BA.debugLineNum = 831;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administra";
Debug.ShouldStop(1073741824);
b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 }else 
{ BA.debugLineNum = 832;BA.debugLine="Else If name = \"OKCancelado\"& IMEI Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKCancelado"),__ref.getField(true,"_imei" /*RemoteObject*/ )))) { 
 BA.debugLineNum = 833;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administr";
Debug.ShouldStop(1);
b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 835;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i";
Debug.ShouldStop(4);
b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 }}}
;
 BA.debugLineNum = 837;BA.debugLine="paso1 = 0";
Debug.ShouldStop(16);
__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(0));
 }else 
{ BA.debugLineNum = 838;BA.debugLine="Else IF  name = \"OKActivo\" Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_name,BA.ObjectToString("OKActivo"))) { 
 BA.debugLineNum = 839;BA.debugLine="Msgbox(\"Telefono no VALIDO!\",\"\") 'ignore";
Debug.ShouldStop(64);
b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Telefono no VALIDO!")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 841;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ig";
Debug.ShouldStop(256);
b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 }}
;
 };
 };
 BA.debugLineNum = 845;BA.debugLine="End Sub";
Debug.ShouldStop(4096);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _lv_server_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{
try {
		Debug.PushSubsStack("lv_server_ItemClick (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1001);
if (RapidSub.canDelegate("lv_server_itemclick")) { return __ref.runUserSub(false, "b4xmainpage","lv_server_itemclick", __ref, _position, _value);}
Debug.locals.put("Position", _position);
Debug.locals.put("Value", _value);
 BA.debugLineNum = 1001;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,";
Debug.ShouldStop(256);
 BA.debugLineNum = 1002;BA.debugLine="Starter.DBReqServer = Value";
Debug.ShouldStop(512);
b4xmainpage._starter._dbreqserver /*RemoteObject*/  = BA.ObjectToString(_value);
 BA.debugLineNum = 1004;BA.debugLine="et_server.Text = Value";
Debug.ShouldStop(2048);
__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_value));
 BA.debugLineNum = 1005;BA.debugLine="Starter.reinicializaReqManager(Value)";
Debug.ShouldStop(4096);
b4xmainpage._starter.runVoidMethod ("_reinicializareqmanager" /*RemoteObject*/ ,(Object)(BA.ObjectToString(_value)));
 BA.debugLineNum = 1007;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)";
Debug.ShouldStop(16384);
b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Servidor modificado")),(Object)(b4xmainpage.__c.getField(true,"False")));
 BA.debugLineNum = 1008;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _muestraprogreso(RemoteObject __ref,RemoteObject _mensaje) throws Exception{
try {
		Debug.PushSubsStack("muestraProgreso (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,966);
if (RapidSub.canDelegate("muestraprogreso")) { return __ref.runUserSub(false, "b4xmainpage","muestraprogreso", __ref, _mensaje);}
Debug.locals.put("mensaje", _mensaje);
 BA.debugLineNum = 966;BA.debugLine="Sub muestraProgreso(mensaje As String)";
Debug.ShouldStop(32);
 BA.debugLineNum = 967;BA.debugLine="ProgressDialogShow(mensaje)";
Debug.ShouldStop(64);
b4xmainpage.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(_mensaje)));
 BA.debugLineNum = 968;BA.debugLine="End Sub";
Debug.ShouldStop(128);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _ocultaprogreso(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("ocultaProgreso (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,971);
if (RapidSub.canDelegate("ocultaprogreso")) { return __ref.runUserSub(false, "b4xmainpage","ocultaprogreso", __ref);}
 BA.debugLineNum = 971;BA.debugLine="Sub ocultaProgreso";
Debug.ShouldStop(1024);
 BA.debugLineNum = 972;BA.debugLine="ProgressDialogHide";
Debug.ShouldStop(2048);
b4xmainpage.__c.runVoidMethod ("ProgressDialogHide");
 BA.debugLineNum = 973;BA.debugLine="End Sub";
Debug.ShouldStop(4096);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_add_monto_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("p_add_monto_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1393);
if (RapidSub.canDelegate("p_add_monto_click")) { return __ref.runUserSub(false, "b4xmainpage","p_add_monto_click", __ref);}
 BA.debugLineNum = 1393;BA.debugLine="Private Sub p_add_monto_Click";
Debug.ShouldStop(65536);
 BA.debugLineNum = 1395;BA.debugLine="End Sub";
Debug.ShouldStop(262144);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_ciego_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("P_CIEGO_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1385);
if (RapidSub.canDelegate("p_ciego_click")) { return __ref.runUserSub(false, "b4xmainpage","p_ciego_click", __ref);}
 BA.debugLineNum = 1385;BA.debugLine="Private Sub P_CIEGO_Click";
Debug.ShouldStop(256);
 BA.debugLineNum = 1387;BA.debugLine="End Sub";
Debug.ShouldStop(1024);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_validacion_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("p_validacion_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1389);
if (RapidSub.canDelegate("p_validacion_click")) { return __ref.runUserSub(false, "b4xmainpage","p_validacion_click", __ref);}
 BA.debugLineNum = 1389;BA.debugLine="Private Sub p_validacion_Click";
Debug.ShouldStop(4096);
 BA.debugLineNum = 1391;BA.debugLine="End Sub";
Debug.ShouldStop(16384);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _pdf_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("PDF_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,891);
if (RapidSub.canDelegate("pdf_click")) { return __ref.runUserSub(false, "b4xmainpage","pdf_click", __ref);}
 BA.debugLineNum = 891;BA.debugLine="Sub PDF_Click";
Debug.ShouldStop(67108864);
 BA.debugLineNum = 893;BA.debugLine="End Sub";
Debug.ShouldStop(268435456);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _popupmenu_dismiss(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("PopupMenu_Dismiss (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,878);
if (RapidSub.canDelegate("popupmenu_dismiss")) { return __ref.runUserSub(false, "b4xmainpage","popupmenu_dismiss", __ref);}
 BA.debugLineNum = 878;BA.debugLine="Sub PopupMenu_Dismiss";
Debug.ShouldStop(8192);
 BA.debugLineNum = 879;BA.debugLine="ToastMessageShow(\"PopupMenu dismissed\", False)";
Debug.ShouldStop(16384);
b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("PopupMenu dismissed")),(Object)(b4xmainpage.__c.getField(true,"False")));
 BA.debugLineNum = 880;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _popupmenu_menuitemclick(RemoteObject __ref,RemoteObject _itemid) throws Exception{
try {
		Debug.PushSubsStack("PopupMenu_MenuItemClick (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,882);
if (RapidSub.canDelegate("popupmenu_menuitemclick")) { return __ref.runUserSub(false, "b4xmainpage","popupmenu_menuitemclick", __ref, _itemid);}
Debug.locals.put("ItemId", _itemid);
 BA.debugLineNum = 882;BA.debugLine="Sub PopupMenu_MenuItemClick (ItemId As Int) As Boo";
Debug.ShouldStop(131072);
 BA.debugLineNum = 883;BA.debugLine="ToastMessageShow(\"Item \" & ItemId & \" clicked.\",";
Debug.ShouldStop(262144);
b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Item "),_itemid,RemoteObject.createImmutable(" clicked.")))),(Object)(b4xmainpage.__c.getField(true,"False")));
 BA.debugLineNum = 884;BA.debugLine="Return False";
Debug.ShouldStop(524288);
if (true) return b4xmainpage.__c.getField(true,"False");
 BA.debugLineNum = 885;BA.debugLine="End Sub";
Debug.ShouldStop(1048576);
return RemoteObject.createImmutable(false);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}