package SHARK2.keymon.com.mx;

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

public class c_principal_subs_0 {


public static RemoteObject  _addtitle(RemoteObject __ref,RemoteObject _title) throws Exception{
try {
		Debug.PushSubsStack("AddTitle (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3243);
if (RapidSub.canDelegate("addtitle")) { return __ref.runUserSub(false, "c_principal","addtitle", __ref, _title);}
RemoteObject _p_marcas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _td = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_principal._titledata");
Debug.locals.put("Title", _title);
 BA.debugLineNum = 3243;BA.debugLine="Sub AddTitle (Title As String)";
Debug.ShouldStop(1024);
 BA.debugLineNum = 3244;BA.debugLine="Dim p_MARCAS As B4XView = xui.CreatePanel(\"\")";
Debug.ShouldStop(2048);
_p_marcas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_p_marcas = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p_MARCAS", _p_marcas);Debug.locals.put("p_MARCAS", _p_marcas);
 BA.debugLineNum = 3245;BA.debugLine="p_MARCAS.SetLayoutAnimated(0, 0, 0, CLV1.AsView.W";
Debug.ShouldStop(4096);
_p_marcas.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_clv1" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(__ref.getField(true,"_titleheight" /*RemoteObject*/ )));
 BA.debugLineNum = 3246;BA.debugLine="p_MARCAS.LoadLayout(\"CellTitle\")";
Debug.ShouldStop(8192);
_p_marcas.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("CellTitle")),__ref.getField(false, "ba"));
 BA.debugLineNum = 3247;BA.debugLine="lblTitle.Text = Title";
Debug.ShouldStop(16384);
__ref.getField(false,"_lbltitle" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_title));
 BA.debugLineNum = 3248;BA.debugLine="Dim td As TitleData";
Debug.ShouldStop(32768);
_td = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_principal._titledata");Debug.locals.put("td", _td);
 BA.debugLineNum = 3249;BA.debugLine="td.Title = Title";
Debug.ShouldStop(65536);
_td.setField ("Title" /*RemoteObject*/ ,_title);
 BA.debugLineNum = 3250;BA.debugLine="CLV1.Add(p_MARCAS, td)";
Debug.ShouldStop(131072);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_add",(Object)(_p_marcas),(Object)((_td)));
 BA.debugLineNum = 3251;BA.debugLine="End Sub";
Debug.ShouldStop(262144);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_comm_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_COMM_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3113);
if (RapidSub.canDelegate("b_comm_click")) { return __ref.runUserSub(false, "c_principal","b_comm_click", __ref);}
 BA.debugLineNum = 3113;BA.debugLine="Sub B_COMM_Click";
Debug.ShouldStop(256);
 BA.debugLineNum = 3114;BA.debugLine="Btn_Ubicar.Visible=False";
Debug.ShouldStop(512);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3115;BA.debugLine="SCROLL_RESDIA.Visible = True";
Debug.ShouldStop(1024);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3116;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"COMIS\")";
Debug.ShouldStop(2048);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("COMIS")),__ref.getField(false, "ba"));
 BA.debugLineNum = 3117;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel_C.Height";
Debug.ShouldStop(4096);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",__ref.getField(false,"_panel_c" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 3118;BA.debugLine="Panel4.Visible = False";
Debug.ShouldStop(8192);
__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3119;BA.debugLine="Panel_C.Visible = True";
Debug.ShouldStop(16384);
__ref.getField(false,"_panel_c" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3122;BA.debugLine="NUEVO.Visible =False";
Debug.ShouldStop(131072);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3123;BA.debugLine="BUSCA.Visible=False";
Debug.ShouldStop(262144);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3124;BA.debugLine="connecta.Visible=False";
Debug.ShouldStop(524288);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3125;BA.debugLine="Subir.Visible=False";
Debug.ShouldStop(1048576);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3126;BA.debugLine="cargar.Visible=False";
Debug.ShouldStop(2097152);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3127;BA.debugLine="Resumen.Visible= False";
Debug.ShouldStop(4194304);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3145;BA.debugLine="End Sub";
Debug.ShouldStop(256);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_mapa_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_mapa_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2578);
if (RapidSub.canDelegate("b_mapa_click")) { return __ref.runUserSub(false, "c_principal","b_mapa_click", __ref);}
 BA.debugLineNum = 2578;BA.debugLine="Sub b_mapa_Click";
Debug.ShouldStop(131072);
 BA.debugLineNum = 2579;BA.debugLine="Log(\"mapClic\")";
Debug.ShouldStop(262144);
c_principal.__c.runVoidMethod ("LogImpl","514286849",RemoteObject.createImmutable("mapClic"),0);
 BA.debugLineNum = 2580;BA.debugLine="B4XPages.GetPage(\"Mapas\")";
Debug.ShouldStop(524288);
c_principal._b4xpages.runVoidMethod ("_getpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Mapas")));
 BA.debugLineNum = 2581;BA.debugLine="End Sub";
Debug.ShouldStop(1048576);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_marcas_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_MARCAS_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3159);
if (RapidSub.canDelegate("b_marcas_click")) { return __ref.runUserSub(false, "c_principal","b_marcas_click", __ref);}
int _i = 0;
 BA.debugLineNum = 3159;BA.debugLine="Sub B_MARCAS_Click";
Debug.ShouldStop(4194304);
 BA.debugLineNum = 3184;BA.debugLine="SCROLL_RESDIA.Visible = False";
Debug.ShouldStop(32768);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3185;BA.debugLine="Panel5.Visible = True";
Debug.ShouldStop(65536);
__ref.getField(false,"_panel5" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3186;BA.debugLine="pnlTitle.Visible = False";
Debug.ShouldStop(131072);
__ref.getField(false,"_pnltitle" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3187;BA.debugLine="pnlTitle.SetLayoutAnimated(0, 0, 0, CLV1.AsView.W";
Debug.ShouldStop(262144);
__ref.getField(false,"_pnltitle" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_clv1" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_titleheight" /*RemoteObject*/ ),__ref.getField(true,"_dividerheight" /*RemoteObject*/ )}, "+",1, 1)));
 BA.debugLineNum = 3188;BA.debugLine="pnlTitle.LoadLayout(\"CellTitle\")";
Debug.ShouldStop(524288);
__ref.getField(false,"_pnltitle" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("CellTitle")),__ref.getField(false, "ba"));
 BA.debugLineNum = 3189;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_GP";
Debug.ShouldStop(1048576);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CAT_GP_CLASIF, SUM(TOTAL) AS TOTAL FROM TOTAL_MARCAS GROUP BY CAT_GP_CLASIF"))));
 BA.debugLineNum = 3190;BA.debugLine="CLV1.Clear";
Debug.ShouldStop(2097152);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_clear");
 BA.debugLineNum = 3191;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 = 3192;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(8388608);
{
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 = 3193;BA.debugLine="c.Position=i";
Debug.ShouldStop(16777216);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3194;BA.debugLine="AddTitle(c.GetString(\"CAT_GP_CLASIF\"))";
Debug.ShouldStop(33554432);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_addtitle" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF")))));
 BA.debugLineNum = 3195;BA.debugLine="If c.GetString(\"CAT_GP_CLASIF\") = \"PROMOS\" Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF"))),BA.ObjectToString("PROMOS"))) { 
 BA.debugLineNum = 3196;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT SUM";
Debug.ShouldStop(134217728);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT SUM(PE_CANT) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID"))));
 BA.debugLineNum = 3197;BA.debugLine="d.Position=0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3198;BA.debugLine="CLV1.AddTextItem(\"CANTIDAD DE PROMOS = \" & d.G";
Debug.ShouldStop(536870912);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("CANTIDAD DE PROMOS = "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))))),(Object)((RemoteObject.createImmutable("1"))));
 BA.debugLineNum = 3199;BA.debugLine="d.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else {
 BA.debugLineNum = 3201;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery2(\"select CO";
Debug.ShouldStop(1);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select COUNT(*) AS CUANTOS from HIST_MARCAS_CUOTAS where HMC_MARCA = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF")))}))));
 BA.debugLineNum = 3202;BA.debugLine="f.Position=0";
Debug.ShouldStop(2);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3203;BA.debugLine="If f.GetString(\"CUANTOS\") > 0 Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3204;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select H";
Debug.ShouldStop(8);
__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select HMC_MARCA, HMC_TOTAL from HIST_MARCAS_CUOTAS where HMC_MARCA = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF")))}))));
 BA.debugLineNum = 3205;BA.debugLine="e.Position=0";
Debug.ShouldStop(16);
__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3206;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT c";
Debug.ShouldStop(32);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT count(distinct(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from cat_gunaprod WHERE CAT_GP_CLASIF =?)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF")))}))));
 BA.debugLineNum = 3207;BA.debugLine="d.Position=0";
Debug.ShouldStop(64);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3208;BA.debugLine="CLV1.AddTextItem(\"TOTAL  PREVENTA = $\" & c.Ge";
Debug.ShouldStop(128);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("TOTAL  PREVENTA = $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))))),(Object)((RemoteObject.createImmutable("1"))));
 BA.debugLineNum = 3209;BA.debugLine="CLV1.AddTextItem(\"M E T A  = $\" & e.GetString";
Debug.ShouldStop(256);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("M E T A  = $"),__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HMC_TOTAL")))))),(Object)((RemoteObject.createImmutable("1"))));
 BA.debugLineNum = 3210;BA.debugLine="CLV1.AddTextItem(\"FALTA  = $\" & (e.GetString(";
Debug.ShouldStop(512);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("FALTA  = $"),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HMC_TOTAL")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))}, "-",1, 0))))),(Object)((RemoteObject.createImmutable("1"))));
 BA.debugLineNum = 3211;BA.debugLine="CLV1.AddTextItem(\"CLIENTES  = \" & d.GetString";
Debug.ShouldStop(1024);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("CLIENTES  = "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))))),(Object)((RemoteObject.createImmutable("1"))));
 BA.debugLineNum = 3212;BA.debugLine="d.Close";
Debug.ShouldStop(2048);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3213;BA.debugLine="e.Close";
Debug.ShouldStop(4096);
__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else {
 BA.debugLineNum = 3215;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT c";
Debug.ShouldStop(16384);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT count(distinct(pe_cliente)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from cat_gunaprod WHERE CAT_GP_CLASIF =?)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF")))}))));
 BA.debugLineNum = 3216;BA.debugLine="d.Position=0";
Debug.ShouldStop(32768);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3217;BA.debugLine="CLV1.AddTextItem(\"TOTAL  PREVENTA = $\" & c.Ge";
Debug.ShouldStop(65536);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("TOTAL  PREVENTA = $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))))),(Object)((RemoteObject.createImmutable("1"))));
 BA.debugLineNum = 3218;BA.debugLine="CLV1.AddTextItem(\"M E T A  = $\" & \"1000\",\"1\")";
Debug.ShouldStop(131072);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("M E T A  = $"),RemoteObject.createImmutable("1000")))),(Object)((RemoteObject.createImmutable("1"))));
 BA.debugLineNum = 3219;BA.debugLine="CLV1.AddTextItem(\"FALTA  = $\" & (1000 - c.Get";
Debug.ShouldStop(262144);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("FALTA  = $"),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1000),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))}, "-",1, 0))))),(Object)((RemoteObject.createImmutable("1"))));
 BA.debugLineNum = 3220;BA.debugLine="CLV1.AddTextItem(\"CLIENTES  = \" & d.GetString";
Debug.ShouldStop(524288);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("CLIENTES  = "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))))),(Object)((RemoteObject.createImmutable("1"))));
 BA.debugLineNum = 3221;BA.debugLine="d.Close";
Debug.ShouldStop(1048576);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 3223;BA.debugLine="f.Close";
Debug.ShouldStop(4194304);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 3227;BA.debugLine="c.Close";
Debug.ShouldStop(67108864);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3228;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HMC_MA";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select HMC_MARCA,  HMC_TOTAL from HIST_MARCAS_CUOTAS where HMC_MARCA  not in (SELECT  CAT_GP_CLASIF FROM TOTAL_MARCAS )"))));
 BA.debugLineNum = 3229;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3230;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(536870912);
{
final int step47 = 1;
final int limit47 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step47 > 0 && _i <= limit47) || (step47 < 0 && _i >= limit47) ;_i = ((int)(0 + _i + step47))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3231;BA.debugLine="c.Position=i";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3232;BA.debugLine="AddTitle(c.GetString(\"HMC_MARCA\"))";
Debug.ShouldStop(-2147483648);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_addtitle" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HMC_MARCA")))));
 BA.debugLineNum = 3233;BA.debugLine="CLV1.AddTextItem(\"TOTAL  PREVENTA = $ 0.00\",\"1\"";
Debug.ShouldStop(1);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)(RemoteObject.createImmutable(("TOTAL  PREVENTA = $ 0.00"))),(Object)((RemoteObject.createImmutable("1"))));
 BA.debugLineNum = 3234;BA.debugLine="CLV1.AddTextItem(\"M E T A  = $\" & C.GetString(\"";
Debug.ShouldStop(2);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("M E T A  = $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HMC_TOTAL")))))),(Object)((RemoteObject.createImmutable("1"))));
 BA.debugLineNum = 3235;BA.debugLine="CLV1.AddTextItem(\"CLIENTES  = 0\",\"1\")";
Debug.ShouldStop(4);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)(RemoteObject.createImmutable(("CLIENTES  = 0"))),(Object)((RemoteObject.createImmutable("1"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 3238;BA.debugLine="c.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3241;BA.debugLine="End Sub";
Debug.ShouldStop(256);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_ok_comiss_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_OK_COMISS_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3147);
if (RapidSub.canDelegate("b_ok_comiss_click")) { return __ref.runUserSub(false, "c_principal","b_ok_comiss_click", __ref);}
 BA.debugLineNum = 3147;BA.debugLine="Sub B_OK_COMISS_Click";
Debug.ShouldStop(1024);
 BA.debugLineNum = 3148;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(2048);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3149;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(4096);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3150;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(8192);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3151;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(16384);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3152;BA.debugLine="P_RESUMEN.Visible=False";
Debug.ShouldStop(32768);
__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3153;BA.debugLine="Panel_C.Visible = False";
Debug.ShouldStop(65536);
__ref.getField(false,"_panel_c" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3154;BA.debugLine="SCROLL_RESDIA.Visible = False";
Debug.ShouldStop(131072);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3155;BA.debugLine="Btn_Ubicar.Visible=True";
Debug.ShouldStop(262144);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3156;BA.debugLine="End Sub";
Debug.ShouldStop(524288);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_ok_panel5_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_OK_PANEL5_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3253);
if (RapidSub.canDelegate("b_ok_panel5_click")) { return __ref.runUserSub(false, "c_principal","b_ok_panel5_click", __ref);}
 BA.debugLineNum = 3253;BA.debugLine="Sub B_OK_PANEL5_Click";
Debug.ShouldStop(1048576);
 BA.debugLineNum = 3254;BA.debugLine="Panel5.Visible = False";
Debug.ShouldStop(2097152);
__ref.getField(false,"_panel5" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3255;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(4194304);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3256;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(8388608);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3257;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(16777216);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3258;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(33554432);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3259;BA.debugLine="P_RESUMEN.Visible=False";
Debug.ShouldStop(67108864);
__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3260;BA.debugLine="Panel4.Visible=False";
Debug.ShouldStop(134217728);
__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3261;BA.debugLine="SCROLL_RESDIA.Visible = False";
Debug.ShouldStop(268435456);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3262;BA.debugLine="Btn_Ubicar.Visible=True";
Debug.ShouldStop(536870912);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3263;BA.debugLine="p_principal.Visible = True";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3265;BA.debugLine="End Sub";
Debug.ShouldStop(1);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_ok_pas_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_OK_PAS_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2702);
if (RapidSub.canDelegate("b_ok_pas_click")) { return __ref.runUserSub(false, "c_principal","b_ok_pas_click", __ref);}
RemoteObject _cn = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
int _gh = 0;
RemoteObject _c12 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
int _i = 0;
RemoteObject _c13 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
 BA.debugLineNum = 2702;BA.debugLine="Sub B_OK_PAS_Click";
Debug.ShouldStop(8192);
 BA.debugLineNum = 2703;BA.debugLine="If CARGA = \"SUBIR\" And S_CP.Text = \"INFO OK\" Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("SUBIR")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("INFO OK"))) { 
 BA.debugLineNum = 2704;BA.debugLine="P1.Visible = False";
Debug.ShouldStop(32768);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2705;BA.debugLine="p_mandaInfo.Visible = False";
Debug.ShouldStop(65536);
__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2706;BA.debugLine="Btn_Ubicar.Visible=True";
Debug.ShouldStop(131072);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2708;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(524288);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2709;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(1048576);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2710;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(2097152);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2711;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(4194304);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2712;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(8388608);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2713;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)";
Debug.ShouldStop(16777216);
c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 }else 
{ BA.debugLineNum = 2714;BA.debugLine="Else If CARGA = \"SUBIR\" And S_CP.Text = \"ERROR\" T";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("SUBIR")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("ERROR"))) { 
 BA.debugLineNum = 2715;BA.debugLine="Msgbox(\"Tiene que subir de nuevo la información\"";
Debug.ShouldStop(67108864);
c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Tiene que subir de nuevo la información")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 2716;BA.debugLine="P1.Visible = False";
Debug.ShouldStop(134217728);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2717;BA.debugLine="p_mandaInfo.Visible = False";
Debug.ShouldStop(268435456);
__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2719;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2720;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2721;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(1);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2722;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(2);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2723;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(4);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2724;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)";
Debug.ShouldStop(8);
c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 }else 
{ BA.debugLineNum = 2725;BA.debugLine="Else if CARGA = \"SUBIR\" And S_CP.Text <> \"INFO OK";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("SUBIR")) && RemoteObject.solveBoolean("!",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("INFO OK"))) { 
 BA.debugLineNum = 2726;BA.debugLine="RES =  Msgbox2(\"Seguro que desea abortar el proc";
Debug.ShouldStop(32);
__ref.setField ("_res" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea abortar el proceso")),(Object)(BA.ObjectToCharSequence("Cierre")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba"))));
 BA.debugLineNum = 2727;BA.debugLine="If RES = DialogResponse.POSITIVE Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_res" /*RemoteObject*/ ),BA.NumberToString(c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
 BA.debugLineNum = 2728;BA.debugLine="P1.Visible = False";
Debug.ShouldStop(128);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2730;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(512);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2731;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(1024);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2732;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(2048);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2733;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(4096);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2734;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(8192);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2735;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)";
Debug.ShouldStop(16384);
c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 BA.debugLineNum = 2736;BA.debugLine="ExitApplication";
Debug.ShouldStop(32768);
c_principal.__c.runVoidMethod ("ExitApplication");
 };
 }}}
;
 BA.debugLineNum = 2739;BA.debugLine="If CARGA = \"CARGAR\" And S_CP.Text = \"LISTO\" And S";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("CARGAR")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO"))) { 
 BA.debugLineNum = 2740;BA.debugLine="P1.Visible = False";
Debug.ShouldStop(524288);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2741;BA.debugLine="p_mandaInfo.Visible = False";
Debug.ShouldStop(1048576);
__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2742;BA.debugLine="p_mandaInfo.Visible = False";
Debug.ShouldStop(2097152);
__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2743;BA.debugLine="Btn_Ubicar.Visible=True";
Debug.ShouldStop(4194304);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2745;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(16777216);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2746;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(33554432);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2747;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(67108864);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2748;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(134217728);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2749;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(268435456);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2750;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)";
Debug.ShouldStop(536870912);
c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 BA.debugLineNum = 2752;BA.debugLine="Dim cn As Cursor = Starter.skmt.ExecQuery(\"SELEC";
Debug.ShouldStop(-2147483648);
_cn = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_cn = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM CLIENTES_NUEVOS"))));Debug.locals.put("cn", _cn);Debug.locals.put("cn", _cn);
 BA.debugLineNum = 2753;BA.debugLine="If cn.RowCount > 0 Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean(">",_cn.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2754;BA.debugLine="For gh = 0 To cn.RowCount -1";
Debug.ShouldStop(2);
{
final int step47 = 1;
final int limit47 = RemoteObject.solve(new RemoteObject[] {_cn.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_gh = 0 ;
for (;(step47 > 0 && _gh <= limit47) || (step47 < 0 && _gh >= limit47) ;_gh = ((int)(0 + _gh + step47))  ) {
Debug.locals.put("gh", _gh);
 BA.debugLineNum = 2755;BA.debugLine="cn.Position = gh";
Debug.ShouldStop(4);
_cn.runMethod(true,"setPosition",BA.numberCast(int.class, _gh));
 BA.debugLineNum = 2756;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in";
Debug.ShouldStop(8);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_GIRO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?) ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {19},new Object[] {(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_ID")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_RUTA")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NOMBRE")))),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LON")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LAT")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_GIRO"))))})))));
 }
}Debug.locals.put("gh", _gh);
;
 };
 BA.debugLineNum = 2760;BA.debugLine="If E_RUTA2.Text <> \"\" Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { 
 BA.debugLineNum = 2761;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN";
Debug.ShouldStop(256);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTA_SUPLENCIA(RS_RUTA) VALUES(?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")})))));
 };
 BA.debugLineNum = 2763;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT";
Debug.ShouldStop(1024);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTAA(RUTAA) VALUES(?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")})))));
 BA.debugLineNum = 2764;BA.debugLine="checaPedido";
Debug.ShouldStop(2048);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_checapedido" /*RemoteObject*/ );
 BA.debugLineNum = 2766;BA.debugLine="Dim c12  As Cursor = Starter.skmt.ExecQuery(\"Sel";
Debug.ShouldStop(8192);
_c12 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c12 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select  PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'PREVENTA'"))));Debug.locals.put("c12", _c12);Debug.locals.put("c12", _c12);
 BA.debugLineNum = 2767;BA.debugLine="If c12.RowCount > 0 Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean(">",_c12.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2768;BA.debugLine="For i = 0 To c12.RowCount - 1";
Debug.ShouldStop(32768);
{
final int step59 = 1;
final int limit59 = RemoteObject.solve(new RemoteObject[] {_c12.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step59 > 0 && _i <= limit59) || (step59 < 0 && _i >= limit59) ;_i = ((int)(0 + _i + step59))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 2769;BA.debugLine="c12.Position = i";
Debug.ShouldStop(65536);
_c12.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 2770;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO";
Debug.ShouldStop(131072);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE CAT_GUNAPROD SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c12.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable("  WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c12.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'")))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 2773;BA.debugLine="c12.Close";
Debug.ShouldStop(1048576);
_c12.runVoidMethod ("Close");
 BA.debugLineNum = 2775;BA.debugLine="Dim c13  As Cursor = Starter.skmt.ExecQuery(\"Sel";
Debug.ShouldStop(4194304);
_c13 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c13 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select  PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'VENTA'"))));Debug.locals.put("c13", _c13);Debug.locals.put("c13", _c13);
 BA.debugLineNum = 2776;BA.debugLine="If c13.RowCount > 0 Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean(">",_c13.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2777;BA.debugLine="For i = 0 To c13.RowCount - 1";
Debug.ShouldStop(16777216);
{
final int step67 = 1;
final int limit67 = RemoteObject.solve(new RemoteObject[] {_c13.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step67 > 0 && _i <= limit67) || (step67 < 0 && _i >= limit67) ;_i = ((int)(0 + _i + step67))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 2778;BA.debugLine="c13.Position = i";
Debug.ShouldStop(33554432);
_c13.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 2779;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO";
Debug.ShouldStop(67108864);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE CAT_GUNAPROD2 SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c13.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable("  WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c13.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'")))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 2782;BA.debugLine="c13.Close";
Debug.ShouldStop(536870912);
_c13.runVoidMethod ("Close");
 BA.debugLineNum = 2784;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(-2147483648);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 }else 
{ BA.debugLineNum = 2785;BA.debugLine="Else if CARGA = \"CARGAR\" And (S_CP.Text <> \"LISTO";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("CARGAR")) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("!",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO")) || RemoteObject.solveBoolean("!",__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO")) || RemoteObject.solveBoolean("!",__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("LISTO")))))) { 
 BA.debugLineNum = 2786;BA.debugLine="RES =  Msgbox2(\"Seguro que desea abortar el proc";
Debug.ShouldStop(2);
__ref.setField ("_res" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea abortar el proceso")),(Object)(BA.ObjectToCharSequence("Cierre")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba"))));
 BA.debugLineNum = 2787;BA.debugLine="If RES = DialogResponse.POSITIVE Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_res" /*RemoteObject*/ ),BA.NumberToString(c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
 BA.debugLineNum = 2788;BA.debugLine="P1.Visible = False";
Debug.ShouldStop(8);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2789;BA.debugLine="p_mandaInfo.Visible = False";
Debug.ShouldStop(16);
__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2791;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(64);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2792;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(128);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2793;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(256);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2794;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(512);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2795;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(1024);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2796;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)";
Debug.ShouldStop(2048);
c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 BA.debugLineNum = 2797;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(4096);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info")));
 BA.debugLineNum = 2798;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(8192);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cod_result")));
 BA.debugLineNum = 2799;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(16384);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from hist_gest")));
 BA.debugLineNum = 2800;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(32768);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod")));
 BA.debugLineNum = 2801;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(65536);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod2")));
 BA.debugLineNum = 2802;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(131072);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod3")));
 BA.debugLineNum = 2803;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(262144);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod4")));
 BA.debugLineNum = 2804;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(524288);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ")));
 BA.debugLineNum = 2805;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(1048576);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from telefonos")));
 BA.debugLineNum = 2806;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(2097152);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS")));
 BA.debugLineNum = 2807;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(4194304);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_PROMOS")));
 BA.debugLineNum = 2808;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(8388608);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_CLIENTE_CANT_PROMOS")));
 BA.debugLineNum = 2809;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(16777216);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROMOS_COMP")));
 BA.debugLineNum = 2810;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(33554432);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_VERIFICACION")));
 BA.debugLineNum = 2811;BA.debugLine="ExitApplication";
Debug.ShouldStop(67108864);
c_principal.__c.runVoidMethod ("ExitApplication");
 };
 }}
;
 BA.debugLineNum = 2814;BA.debugLine="End Sub";
Debug.ShouldStop(536870912);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_ok_res_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_OK_RES_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2836);
if (RapidSub.canDelegate("b_ok_res_click")) { return __ref.runUserSub(false, "c_principal","b_ok_res_click", __ref);}
 BA.debugLineNum = 2836;BA.debugLine="Sub B_OK_RES_Click";
Debug.ShouldStop(524288);
 BA.debugLineNum = 2838;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(2097152);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2839;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(4194304);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2840;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(8388608);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2841;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(16777216);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2842;BA.debugLine="P_RESUMEN.Visible=False";
Debug.ShouldStop(33554432);
__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2843;BA.debugLine="Panel4.Visible = False";
Debug.ShouldStop(67108864);
__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2844;BA.debugLine="SCROLL_RESDIA.Visible = False";
Debug.ShouldStop(134217728);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2845;BA.debugLine="Btn_Ubicar.Visible=True";
Debug.ShouldStop(268435456);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2846;BA.debugLine="p_principal.Visible = True";
Debug.ShouldStop(536870912);
__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2847;BA.debugLine="End Sub";
Debug.ShouldStop(1073741824);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_productos_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_productos_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3418);
if (RapidSub.canDelegate("b_productos_click")) { return __ref.runUserSub(false, "c_principal","b_productos_click", __ref);}
RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
int _i = 0;
RemoteObject _itemtext = RemoteObject.createImmutable("");
 BA.debugLineNum = 3418;BA.debugLine="Private Sub b_productos_Click";
Debug.ShouldStop(33554432);
 BA.debugLineNum = 3420;BA.debugLine="Dim label1 As Label";
Debug.ShouldStop(134217728);
_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1);
 BA.debugLineNum = 3421;BA.debugLine="label1 = lv_prod_Prin.SingleLineLayout.Label";
Debug.ShouldStop(268435456);
_label1 = __ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1);
 BA.debugLineNum = 3422;BA.debugLine="label1.TextSize = 14";
Debug.ShouldStop(536870912);
_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 14));
 BA.debugLineNum = 3423;BA.debugLine="p_prod.Width = Root.Width";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 3424;BA.debugLine="p_prod.Height = Root.Height";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 3425;BA.debugLine="b_regreso.Left = (p_prod.Width - b_regreso.Width)";
Debug.ShouldStop(1);
__ref.getField(false,"_b_regreso" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_b_regreso" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0)));
 BA.debugLineNum = 3426;BA.debugLine="b_regreso.Top = p_prod.Height - b_regreso.Height";
Debug.ShouldStop(2);
__ref.getField(false,"_b_regreso" /*RemoteObject*/ ).runMethod(true,"setTop",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(false,"_b_regreso" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "-",1, 1));
 BA.debugLineNum = 3428;BA.debugLine="p_prod.Visible = True";
Debug.ShouldStop(8);
__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3429;BA.debugLine="p_prod.BringToFront";
Debug.ShouldStop(16);
__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runVoidMethod ("BringToFront");
 BA.debugLineNum = 3432;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel";
Debug.ShouldStop(128);
c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
c_principal._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_GP_NOMBRE AS HVD_PRONOMBRE, IFNULL(cat_gp_almacen, 0) AS HVD_RECHAZOCANT from CAT_GUNAPROD2 WHERE CAT_GP_TIPO <> 'PROMOS' AND CAT_GP_SUBTIPO <> 'PROMOS' order by CAT_GP_NOMBRE asc"))));__ref.setField("_c",c_principal._c);
 BA.debugLineNum = 3434;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C";
Debug.ShouldStop(512);
__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label").runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black"));
 BA.debugLineNum = 3435;BA.debugLine="lv_prod_Prin.Clear";
Debug.ShouldStop(1024);
__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runVoidMethod ("Clear");
 BA.debugLineNum = 3436;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 = 3437;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(4096);
{
final int step14 = 1;
final int limit14 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step14 > 0 && _i <= limit14) || (step14 < 0 && _i >= limit14) ;_i = ((int)(0 + _i + step14))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3438;BA.debugLine="c.Position = i";
Debug.ShouldStop(8192);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3439;BA.debugLine="Dim itemText As String";
Debug.ShouldStop(16384);
_itemtext = RemoteObject.createImmutable("");Debug.locals.put("itemText", _itemtext);
 BA.debugLineNum = 3443;BA.debugLine="itemText = $\"${c.GetString(\"HVD_PRONOMBRE\")} ${";
Debug.ShouldStop(262144);
_itemtext = (RemoteObject.concat(RemoteObject.createImmutable(""),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))))),RemoteObject.createImmutable(" "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(" "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Cantidad: "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))))),RemoteObject.createImmutable("")));Debug.locals.put("itemText", _itemtext);
 BA.debugLineNum = 3444;BA.debugLine="lv_prod_Prin.AddSingleLine(itemText)";
Debug.ShouldStop(524288);
__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(_itemtext)));
 }
}Debug.locals.put("i", _i);
;
 }else {
 BA.debugLineNum = 3449;BA.debugLine="lv_prod_Prin.AddSingleLine(\"No hay datos disponi";
Debug.ShouldStop(16777216);
__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("No hay datos disponibles."))));
 };
 BA.debugLineNum = 3451;BA.debugLine="c.Close";
Debug.ShouldStop(67108864);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3453;BA.debugLine="End Sub";
Debug.ShouldStop(268435456);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_regreso_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_regreso_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3410);
if (RapidSub.canDelegate("b_regreso_click")) { return __ref.runUserSub(false, "c_principal","b_regreso_click", __ref);}
 BA.debugLineNum = 3410;BA.debugLine="Private Sub b_regreso_Click";
Debug.ShouldStop(131072);
 BA.debugLineNum = 3411;BA.debugLine="p_prod.Visible = False";
Debug.ShouldStop(262144);
__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3412;BA.debugLine="End Sub";
Debug.ShouldStop(524288);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_tabulador_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_tabulador_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3316);
if (RapidSub.canDelegate("b_tabulador_click")) { return __ref.runUserSub(false, "c_principal","b_tabulador_click", __ref);}
 BA.debugLineNum = 3316;BA.debugLine="Private Sub b_tabulador_Click";
Debug.ShouldStop(524288);
 BA.debugLineNum = 3317;BA.debugLine="B4XPages.ShowPage(\"tabulador\")";
Debug.ShouldStop(1048576);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("tabulador")));
 BA.debugLineNum = 3318;BA.debugLine="End Sub";
Debug.ShouldStop(2097152);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static void  _b4xpage_appear(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Appear (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,387);
if (RapidSub.canDelegate("b4xpage_appear")) { __ref.runUserSub(false, "c_principal","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.c_principal 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.c_principal parent;
RemoteObject _conven = RemoteObject.createImmutable(0);
RemoteObject _sinven = RemoteObject.createImmutable(0);
RemoteObject _cursor = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cnoventa = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _totclientes = RemoteObject.createImmutable(0);
RemoteObject _fg = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _costo_cred = RemoteObject.createImmutable(0);
RemoteObject _costo_contado = RemoteObject.createImmutable(0);
RemoteObject _resultado = RemoteObject.createImmutable(0);
RemoteObject _pol = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
int _poli = 0;
RemoteObject _coords = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");
int step210;
int limit210;

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Appear (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,387);
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 = 389;BA.debugLine="rd.respaldaPedido";
Debug.ShouldStop(16);
__ref.getField(false,"_rd" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_respaldodiario.class, "_respaldapedido" /*RemoteObject*/ );
 BA.debugLineNum = 390;BA.debugLine="rd.respaldaInventarios";
Debug.ShouldStop(32);
__ref.getField(false,"_rd" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_respaldodiario.class, "_respaldainventarios" /*RemoteObject*/ );
 BA.debugLineNum = 391;BA.debugLine="rd.respaldaPaquetes";
Debug.ShouldStop(64);
__ref.getField(false,"_rd" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_respaldodiario.class, "_respaldapaquetes" /*RemoteObject*/ );
 BA.debugLineNum = 392;BA.debugLine="HORAINGRESO =\"000000\"";
Debug.ShouldStop(128);
__ref.setField ("_horaingreso" /*RemoteObject*/ ,BA.ObjectToString("000000"));
 BA.debugLineNum = 393;BA.debugLine="Btn_Ubicar.Left = (Root.Width/2) - (Btn_Ubicar.Wi";
Debug.ShouldStop(256);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 394;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)";
Debug.ShouldStop(512);
__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 = 395;BA.debugLine="Log(Starter.DBReqServer)";
Debug.ShouldStop(1024);
parent.__c.runVoidMethod ("LogImpl","513697032",parent._starter._dbreqserver /*RemoteObject*/ ,0);
 BA.debugLineNum = 396;BA.debugLine="PASO =0";
Debug.ShouldStop(2048);
__ref.setField ("_paso" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 397;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then";
Debug.ShouldStop(4096);
if (true) break;

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

case 3:
//C
this.state = 4;
 BA.debugLineNum = 398;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS";
Debug.ShouldStop(8192);
if (true) break;

case 4:
//if
this.state = 9;
if (RemoteObject.solveBoolean("!",parent._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
this.state = 6;
;}if (true) break;

case 6:
//C
this.state = 9;
parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(parent.__c.getField(true,"True")));
if (true) break;

case 9:
//C
this.state = 10;
;
 BA.debugLineNum = 399;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent";
Debug.ShouldStop(16384);
parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((parent._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent"))));
 if (true) break;

case 10:
//C
this.state = 11;
;
 BA.debugLineNum = 401;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select count";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).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 = 402;BA.debugLine="c.Position =0";
Debug.ShouldStop(131072);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 403;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then";
Debug.ShouldStop(262144);
if (true) break;

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

case 13:
//C
this.state = 20;
 BA.debugLineNum = 404;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 405;BA.debugLine="cmd.Name = \"select_fecha\"";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_fecha"));
 BA.debugLineNum = 406;BA.debugLine="Log( Starter.DBReqServer)";
Debug.ShouldStop(2097152);
parent.__c.runVoidMethod ("LogImpl","513697043",parent._starter._dbreqserver /*RemoteObject*/ ,0);
 BA.debugLineNum = 407;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")";
Debug.ShouldStop(4194304);
__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 = 408;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'ignore";
Debug.ShouldStop(8388608);
parent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("AJUSTAR FECHA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 409;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(16777216);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 if (true) break;

case 15:
//C
this.state = 16;
 BA.debugLineNum = 411;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT_";
Debug.ShouldStop(67108864);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).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 = 412;BA.debugLine="c.Position=0";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 413;BA.debugLine="Dim sDate,sTime As String";
Debug.ShouldStop(268435456);
parent._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",parent._sdate);
parent._stime = RemoteObject.createImmutable("");__ref.setField("_stime",parent._stime);
 BA.debugLineNum = 414;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\"";
Debug.ShouldStop(536870912);
parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyyyMMdd"));
 BA.debugLineNum = 415;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(1073741824);
__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 416;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then";
Debug.ShouldStop(-2147483648);
if (true) break;

case 16:
//if
this.state = 19;
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 = 18;
}if (true) break;

case 18:
//C
this.state = 19;
 BA.debugLineNum = 417;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS";
Debug.ShouldStop(1);
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 = 418;BA.debugLine="c.Close";
Debug.ShouldStop(2);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 419;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(4);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 if (true) break;

case 19:
//C
this.state = 20;
;
 BA.debugLineNum = 421;BA.debugLine="c.Close";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 if (true) break;

case 20:
//C
this.state = 21;
;
 BA.debugLineNum = 423;BA.debugLine="c.Close";
Debug.ShouldStop(64);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 424;BA.debugLine="If EJECUTANDO =0 Then";
Debug.ShouldStop(128);
if (true) break;

case 21:
//if
this.state = 24;
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ejecutando" /*RemoteObject*/ ),BA.NumberToString(0))) { 
this.state = 23;
}if (true) break;

case 23:
//C
this.state = 24;
 BA.debugLineNum = 425;BA.debugLine="Listo1 = 0";
Debug.ShouldStop(256);
__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 426;BA.debugLine="Listo2 = 0";
Debug.ShouldStop(512);
__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 427;BA.debugLine="Listo3 = 0";
Debug.ShouldStop(1024);
__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 428;BA.debugLine="Listo4 = 0";
Debug.ShouldStop(2048);
__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 429;BA.debugLine="Listo5 = 0";
Debug.ShouldStop(4096);
__ref.setField ("_listo5" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 430;BA.debugLine="inve = 0";
Debug.ShouldStop(8192);
__ref.setField ("_inve" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 431;BA.debugLine="img2.Visible =False";
Debug.ShouldStop(16384);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 if (true) break;

case 24:
//C
this.state = 25;
;
 BA.debugLineNum = 433;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(65536);
parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 434;BA.debugLine="fecha=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(131072);
__ref.setField ("_fecha" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 435;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count(";
Debug.ShouldStop(262144);
__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOS from pedido_cliente WHERE PC_CLIENTE <> 0  AND PC_CLIENTE <> 1"))));
 BA.debugLineNum = 436;BA.debugLine="b.Position=0";
Debug.ShouldStop(524288);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 437;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")";
Debug.ShouldStop(1048576);
__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))));
 BA.debugLineNum = 438;BA.debugLine="b.Close";
Debug.ShouldStop(2097152);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 440;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count(";
Debug.ShouldStop(8388608);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0"))));
 BA.debugLineNum = 441;BA.debugLine="d.Position=0";
Debug.ShouldStop(16777216);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 442;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count(";
Debug.ShouldStop(33554432);
__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_CODIGO <>0 OR CAT_CL_CODIGO <>1 "))));
 BA.debugLineNum = 443;BA.debugLine="e.Position=0";
Debug.ShouldStop(67108864);
__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 444;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count(";
Debug.ShouldStop(134217728);
__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 count(*) as CAT_CL_RUTA from kmt_info WHERE CAT_CL_CODIGO <>0 OR CAT_CL_CODIGO <>1 "))));
 BA.debugLineNum = 445;BA.debugLine="f.Position=0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 446;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")";
Debug.ShouldStop(536870912);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))));
 BA.debugLineNum = 447;BA.debugLine="f.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 448;BA.debugLine="If l_ruta.Text = 0 Then";
Debug.ShouldStop(-2147483648);
if (true) break;

case 25:
//if
this.state = 30;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { 
this.state = 27;
}else {
this.state = 29;
}if (true) break;

case 27:
//C
this.state = 30;
 BA.debugLineNum = 449;BA.debugLine="l_ruta.Text =0";
Debug.ShouldStop(1);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 450;BA.debugLine="p_b_tabulador.Visible = False";
Debug.ShouldStop(2);
__ref.getField(false,"_p_b_tabulador" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 451;BA.debugLine="pnlBtnCobranza.Visible = False";
Debug.ShouldStop(4);
__ref.getField(false,"_pnlbtncobranza" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 if (true) break;

case 29:
//C
this.state = 30;
 BA.debugLineNum = 453;BA.debugLine="p_b_tabulador.Visible = False";
Debug.ShouldStop(16);
__ref.getField(false,"_p_b_tabulador" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 454;BA.debugLine="pnlBtnCobranza.Visible = False";
Debug.ShouldStop(32);
__ref.getField(false,"_pnlbtncobranza" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 455;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C";
Debug.ShouldStop(64);
__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 = 456;BA.debugLine="f.Position=0";
Debug.ShouldStop(128);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 457;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")";
Debug.ShouldStop(256);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))));
 BA.debugLineNum = 458;BA.debugLine="f.Close";
Debug.ShouldStop(512);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 if (true) break;
;
 BA.debugLineNum = 460;BA.debugLine="If Cuantos  = 0 Then";
Debug.ShouldStop(2048);

case 30:
//if
this.state = 43;
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos" /*RemoteObject*/ ),BA.NumberToString(0))) { 
this.state = 32;
}else {
this.state = 34;
}if (true) break;

case 32:
//C
this.state = 43;
 BA.debugLineNum = 461;BA.debugLine="L_MONTOD.Text =0";
Debug.ShouldStop(4096);
__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 462;BA.debugLine="l_cuantosc.Text = 0";
Debug.ShouldStop(8192);
__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 463;BA.debugLine="l_cuantosn.Text = 0";
Debug.ShouldStop(16384);
__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 464;BA.debugLine="L_CUANTOST.Text = 0";
Debug.ShouldStop(32768);
__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 465;BA.debugLine="drop = 0";
Debug.ShouldStop(65536);
__ref.setField ("_drop" /*RemoteObject*/ ,BA.numberCast(double.class, 0));
 BA.debugLineNum = 466;BA.debugLine="l_drop.Text = 0";
Debug.ShouldStop(131072);
__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 467;BA.debugLine="efectiva = 0";
Debug.ShouldStop(262144);
__ref.setField ("_efectiva" /*RemoteObject*/ ,BA.numberCast(double.class, 0));
 BA.debugLineNum = 468;BA.debugLine="l_efectiva.text =0";
Debug.ShouldStop(524288);
__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 469;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")";
Debug.ShouldStop(1048576);
__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_VISITAR")))));
 BA.debugLineNum = 470;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")";
Debug.ShouldStop(2097152);
__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POR_VISITAR")))));
 BA.debugLineNum = 471;BA.debugLine="d.Close";
Debug.ShouldStop(4194304);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 472;BA.debugLine="e.Close";
Debug.ShouldStop(8388608);
__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 473;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count";
Debug.ShouldStop(16777216);
__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CUANTOS from noventa"))));
 BA.debugLineNum = 474;BA.debugLine="b.Position=0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 475;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")";
Debug.ShouldStop(67108864);
__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))));
 BA.debugLineNum = 476;BA.debugLine="b.close";
Debug.ShouldStop(134217728);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 if (true) break;

case 34:
//C
this.state = 35;
 BA.debugLineNum = 478;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select  SUM(";
Debug.ShouldStop(536870912);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select  SUM(PE_COSTO_TOT) as MONTO_DIA, COUNT(DISTINCT(PE_CLIENTE)) AS CLIENTES_DIA  from PEDIDO WHERE PE_CLIENTE <> 0"))));
 BA.debugLineNum = 479;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CUANTOS from noventa"))));
 BA.debugLineNum = 480;BA.debugLine="c.Position=0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 481;BA.debugLine="b.Position=0";
Debug.ShouldStop(1);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 482;BA.debugLine="L_MONTOD.Text = c.GetString(\"MONTO_DIA\")";
Debug.ShouldStop(2);
__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA")))));
 BA.debugLineNum = 483;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")";
Debug.ShouldStop(4);
__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA")))));
 BA.debugLineNum = 485;BA.debugLine="D2=B4XPages.MainPage.skmt.ExecQuery(\"select  COU";
Debug.ShouldStop(16);
__ref.getField(false,"_d2" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select  COUNT(*) AS CUANTOS   from PEDIDO "))));
 BA.debugLineNum = 486;BA.debugLine="D2.Position = 0";
Debug.ShouldStop(32);
__ref.getField(false,"_d2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 487;BA.debugLine="LPT = D2.GetString(\"CUANTOS\") / l_cuantosc.Text";
Debug.ShouldStop(64);
__ref.setField ("_lpt" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_d2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, __ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)));
 BA.debugLineNum = 488;BA.debugLine="D2.Close";
Debug.ShouldStop(128);
__ref.getField(false,"_d2" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 490;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")";
Debug.ShouldStop(512);
__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))));
 BA.debugLineNum = 491;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt";
Debug.ShouldStop(1024);
__ref.setField ("_efectiva" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA")))),BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POR_VISITAR"))))}, "/",0, 0));
 BA.debugLineNum = 492;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)";
Debug.ShouldStop(2048);
__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_efectiva" /*RemoteObject*/ ),RemoteObject.createImmutable(100)}, "*",0, 0)),(Object)(BA.numberCast(int.class, 2)))));
 BA.debugLineNum = 493;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")";
Debug.ShouldStop(4096);
__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_VISITAR")))));
 BA.debugLineNum = 494;BA.debugLine="d.Close";
Debug.ShouldStop(8192);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 495;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")";
Debug.ShouldStop(16384);
__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POR_VISITAR")))));
 BA.debugLineNum = 496;BA.debugLine="L_CUANTOST.Text = l_cuantosc.Text + l_cuantosn.T";
Debug.ShouldStop(32768);
__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"getText"))}, "+",1, 0)));
 BA.debugLineNum = 497;BA.debugLine="drop = L_CUANTOST.Text / l_porvisitar.Text";
Debug.ShouldStop(65536);
__ref.setField ("_drop" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0));
 BA.debugLineNum = 498;BA.debugLine="l_drop.Text = Round(drop * 100)";
Debug.ShouldStop(131072);
__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_drop" /*RemoteObject*/ ),RemoteObject.createImmutable(100)}, "*",0, 0)))));
 BA.debugLineNum = 499;BA.debugLine="If L_CUANTOST.Text < 40 Then";
Debug.ShouldStop(262144);
if (true) break;

case 35:
//if
this.state = 42;
if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 40))) { 
this.state = 37;
}else 
{ BA.debugLineNum = 501;BA.debugLine="Else If L_CUANTOST.Text > =  40  And L_CUANTOST.";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("g",BA.numberCast(double.class, __ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 40)) && RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 50))) { 
this.state = 39;
}else {
this.state = 41;
}}
if (true) break;

case 37:
//C
this.state = 42;
 BA.debugLineNum = 500;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,";
Debug.ShouldStop(524288);
__ref.getField(false,"_imageview3" /*RemoteObject*/ ).runMethod(false,"setBitmap",(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("tache_rojo.png"))).getObject()));
 if (true) break;

case 39:
//C
this.state = 42;
 BA.debugLineNum = 502;BA.debugLine="ImageView3.bitmap = LoadBitmap(File.DirAssets,";
Debug.ShouldStop(2097152);
__ref.getField(false,"_imageview3" /*RemoteObject*/ ).runMethod(false,"setBitmap",(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alerta_amarilla.png"))).getObject()));
 if (true) break;

case 41:
//C
this.state = 42;
 BA.debugLineNum = 504;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,";
Debug.ShouldStop(8388608);
__ref.getField(false,"_imageview3" /*RemoteObject*/ ).runMethod(false,"setBitmap",(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("palomita_verde.png"))).getObject()));
 if (true) break;

case 42:
//C
this.state = 43;
;
 BA.debugLineNum = 514;BA.debugLine="b.Close";
Debug.ShouldStop(2);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 515;BA.debugLine="c.Close";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 if (true) break;

case 43:
//C
this.state = 44;
;
 BA.debugLineNum = 517;BA.debugLine="c.Close";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 518;BA.debugLine="b.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 519;BA.debugLine="e.Close";
Debug.ShouldStop(64);
__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 520;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select  ID_AL";
Debug.ShouldStop(128);
__ref.getField(false,"_c" /*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 = 521;BA.debugLine="C.Position =0";
Debug.ShouldStop(256);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 522;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")";
Debug.ShouldStop(512);
__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))));
 BA.debugLineNum = 523;BA.debugLine="c.Close";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 524;BA.debugLine="bu.Initialize";
Debug.ShouldStop(2048);
__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.batteryutilities.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 525;BA.debugLine="batterystatus = bu.BatteryInformation";
Debug.ShouldStop(4096);
__ref.setField ("_batterystatus" /*RemoteObject*/ ,__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.batteryutilities.class, "_getbatteryinformation" /*RemoteObject*/ ));
 BA.debugLineNum = 528;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari";
Debug.ShouldStop(32768);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa"))));
 BA.debugLineNum = 529;BA.debugLine="c.Position = 0";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 530;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(131072);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 531;BA.debugLine="c.Close";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 540;BA.debugLine="Dim conVen As Int = 0";
Debug.ShouldStop(134217728);
_conven = BA.numberCast(int.class, 0);Debug.locals.put("conVen", _conven);Debug.locals.put("conVen", _conven);
 BA.debugLineNum = 541;BA.debugLine="Dim sinVen As Int = 0";
Debug.ShouldStop(268435456);
_sinven = BA.numberCast(int.class, 0);Debug.locals.put("sinVen", _sinven);Debug.locals.put("sinVen", _sinven);
 BA.debugLineNum = 543;BA.debugLine="Dim cursor As Cursor = Starter.skmt.ExecQuery($\"S";
Debug.ShouldStop(1073741824);
_cursor = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_cursor = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT SUM(PE_COSTO_TOT) AS PE_COSTO_TOT, COUNT(DISTINCT PE_CLIENTE) AS PE_CLIENTE FROM PEDIDO WHERE PE_FOLIO <> 'RECARGA'")))));Debug.locals.put("cursor", _cursor);Debug.locals.put("cursor", _cursor);
 BA.debugLineNum = 544;BA.debugLine="If cursor.RowCount > 0 Then";
Debug.ShouldStop(-2147483648);
if (true) break;

case 44:
//if
this.state = 47;
if (RemoteObject.solveBoolean(">",_cursor.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 46;
}if (true) break;

case 46:
//C
this.state = 47;
 BA.debugLineNum = 545;BA.debugLine="cursor.Position = 0";
Debug.ShouldStop(1);
_cursor.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 546;BA.debugLine="B4XPages.MainPage.montoActual = cursor.GetString";
Debug.ShouldStop(2);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_montoactual" /*RemoteObject*/ ,_cursor.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))));
 BA.debugLineNum = 547;BA.debugLine="B4XPages.MainPage.clientesventa = cursor.GetStri";
Debug.ShouldStop(4);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientesventa" /*RemoteObject*/ ,_cursor.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))));
 BA.debugLineNum = 548;BA.debugLine="conVen = cursor.GetInt(\"PE_CLIENTE\")";
Debug.ShouldStop(8);
_conven = _cursor.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CLIENTE")));Debug.locals.put("conVen", _conven);
 if (true) break;

case 47:
//C
this.state = 48;
;
 BA.debugLineNum = 550;BA.debugLine="Log(\"Clientes con venta: \" & conVen)";
Debug.ShouldStop(32);
parent.__c.runVoidMethod ("LogImpl","513697187",RemoteObject.concat(RemoteObject.createImmutable("Clientes con venta: "),_conven),0);
 BA.debugLineNum = 552;BA.debugLine="Dim cNoVenta As Cursor = Starter.skmt.ExecQuery($";
Debug.ShouldStop(128);
_cnoventa = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_cnoventa = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT COUNT(DISTINCT NV_CLIENTE) AS NV_CLIENTE FROM NOVENTA")))));Debug.locals.put("cNoVenta", _cnoventa);Debug.locals.put("cNoVenta", _cnoventa);
 BA.debugLineNum = 553;BA.debugLine="If cNoVenta.RowCount > 0 Then";
Debug.ShouldStop(256);
if (true) break;

case 48:
//if
this.state = 51;
if (RemoteObject.solveBoolean(">",_cnoventa.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 50;
}if (true) break;

case 50:
//C
this.state = 51;
 BA.debugLineNum = 554;BA.debugLine="cNoVenta.Position = 0";
Debug.ShouldStop(512);
_cnoventa.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 555;BA.debugLine="sinVen = cNoVenta.GetInt(\"NV_CLIENTE\")";
Debug.ShouldStop(1024);
_sinven = _cnoventa.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("NV_CLIENTE")));Debug.locals.put("sinVen", _sinven);
 BA.debugLineNum = 557;BA.debugLine="Log(\"Clientes sin venta: \" & sinVen)";
Debug.ShouldStop(4096);
parent.__c.runVoidMethod ("LogImpl","513697194",RemoteObject.concat(RemoteObject.createImmutable("Clientes sin venta: "),_sinven),0);
 BA.debugLineNum = 559;BA.debugLine="Dim totClientes As Int = sinVen + conVen";
Debug.ShouldStop(16384);
_totclientes = RemoteObject.solve(new RemoteObject[] {_sinven,_conven}, "+",1, 1);Debug.locals.put("totClientes", _totclientes);Debug.locals.put("totClientes", _totclientes);
 BA.debugLineNum = 560;BA.debugLine="Log(\"Total clientes visitados: \" & totClientes)";
Debug.ShouldStop(32768);
parent.__c.runVoidMethod ("LogImpl","513697197",RemoteObject.concat(RemoteObject.createImmutable("Total clientes visitados: "),_totclientes),0);
 if (true) break;

case 51:
//C
this.state = 52;
;
 BA.debugLineNum = 565;BA.debugLine="B4XPages.MainPage.batt = batterystatus(0)";
Debug.ShouldStop(1048576);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_batt" /*RemoteObject*/ ,__ref.getField(false,"_batterystatus" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, 0)));
 BA.debugLineNum = 566;BA.debugLine="B4XPages.MainPage.clientestotal = totClientes";
Debug.ShouldStop(2097152);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientestotal" /*RemoteObject*/ ,BA.NumberToString(_totclientes));
 BA.debugLineNum = 567;BA.debugLine="B4XPages.MainPage.clientesvisitados = l_porvisita";
Debug.ShouldStop(4194304);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientesvisitados" /*RemoteObject*/ ,__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 568;BA.debugLine="B4XPages.MainPage.ALMACEN = ALMACEN";
Debug.ShouldStop(8388608);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_almacen" /*RemoteObject*/ ,__ref.getField(true,"_almacen" /*RemoteObject*/ ));
 BA.debugLineNum = 569;BA.debugLine="B4XPages.MainPage.rutapreventa = l_ruta.Text";
Debug.ShouldStop(16777216);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_rutapreventa" /*RemoteObject*/ ,__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 572;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa"))));
 BA.debugLineNum = 573;BA.debugLine="c.Position = 0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 574;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(536870912);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 575;BA.debugLine="B4XPages.MainPage.usuario = usuario";
Debug.ShouldStop(1073741824);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_usuario" /*RemoteObject*/ ,__ref.getField(true,"_usuario" /*RemoteObject*/ ));
 BA.debugLineNum = 576;BA.debugLine="c.Close";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 578;BA.debugLine="CallSub(Starter, \"ENVIA_ULTIMA_GPS\")";
Debug.ShouldStop(2);
parent.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)((parent._starter.getObject())),(Object)(RemoteObject.createImmutable("ENVIA_ULTIMA_GPS")));
 BA.debugLineNum = 581;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select RS_R";
Debug.ShouldStop(16);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RS_RUTA FROM RUTA_SUPLENCIA"))));
 BA.debugLineNum = 582;BA.debugLine="s.Position = 0";
Debug.ShouldStop(32);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 583;BA.debugLine="If s.RowCount = 0 Then";
Debug.ShouldStop(64);
if (true) break;

case 52:
//if
this.state = 57;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 54;
}else 
{ BA.debugLineNum = 589;BA.debugLine="Else If s.RowCount > 0 Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 56;
}}
if (true) break;

case 54:
//C
this.state = 57;
 BA.debugLineNum = 585;BA.debugLine="Label22.Visible = False";
Debug.ShouldStop(256);
__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 586;BA.debugLine="l_rutasuplencia.Visible = False";
Debug.ShouldStop(512);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 587;BA.debugLine="l_rutasuplencia.Text = \"\"";
Debug.ShouldStop(1024);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(""));
 if (true) break;

case 56:
//C
this.state = 57;
 BA.debugLineNum = 591;BA.debugLine="Label22.Visible = True";
Debug.ShouldStop(16384);
__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True"));
 BA.debugLineNum = 592;BA.debugLine="l_rutasuplencia.Visible = True";
Debug.ShouldStop(32768);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True"));
 BA.debugLineNum = 593;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")";
Debug.ShouldStop(65536);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RS_RUTA")))));
 if (true) break;

case 57:
//C
this.state = 58;
;
 BA.debugLineNum = 596;BA.debugLine="s.Close";
Debug.ShouldStop(524288);
__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 598;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select RUTA";
Debug.ShouldStop(2097152);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA FROM RUTAA"))));
 BA.debugLineNum = 599;BA.debugLine="s.Position = 0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 600;BA.debugLine="If s.RowCount = 0 Then";
Debug.ShouldStop(8388608);
if (true) break;

case 58:
//if
this.state = 63;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 60;
}else 
{ BA.debugLineNum = 605;BA.debugLine="Else If s.RowCount > 0 Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 62;
}}
if (true) break;

case 60:
//C
this.state = 63;
 BA.debugLineNum = 603;BA.debugLine="l_ruta.Text = 0";
Debug.ShouldStop(67108864);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 if (true) break;

case 62:
//C
this.state = 63;
 BA.debugLineNum = 607;BA.debugLine="l_ruta.Text = s.GetString(\"RUTAA\")";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")))));
 if (true) break;
;
 BA.debugLineNum = 611;BA.debugLine="If l_ruta.Text = \"0\" Then";
Debug.ShouldStop(4);

case 63:
//if
this.state = 68;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { 
this.state = 65;
}else {
this.state = 67;
}if (true) break;

case 65:
//C
this.state = 68;
 BA.debugLineNum = 612;BA.debugLine="p_abordo.Visible = False";
Debug.ShouldStop(8);
__ref.getField(false,"_p_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 613;BA.debugLine="b_productos.Visible = False";
Debug.ShouldStop(16);
__ref.getField(false,"_b_productos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 if (true) break;

case 67:
//C
this.state = 68;
 BA.debugLineNum = 615;BA.debugLine="p_abordo.Visible = True";
Debug.ShouldStop(64);
__ref.getField(false,"_p_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True"));
 BA.debugLineNum = 616;BA.debugLine="b_productos.Visible = True";
Debug.ShouldStop(128);
__ref.getField(false,"_b_productos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True"));
 if (true) break;

case 68:
//C
this.state = 69;
;
 BA.debugLineNum = 630;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"SELECT";
Debug.ShouldStop(2097152);
_fg = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_fg = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT IFNULL(SUM(CASE WHEN PE_FOLIO = 'PREVENTA_CREDITO' THEN PE_COSTO_TOT ELSE 0 END), 0) AS COSTO_CRED, IFNULL(SUM(CASE WHEN PE_FOLIO = 'PREVENTA_CONTADO' THEN PE_COSTO_TOT ELSE 0 END), 0) AS COSTO_CONTADO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO IN ('PREVENTA_CREDITO', 'PREVENTA_CONTADO')"))));Debug.locals.put("fg", _fg);Debug.locals.put("fg", _fg);
 BA.debugLineNum = 632;BA.debugLine="fg.Position = 0";
Debug.ShouldStop(8388608);
_fg.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 633;BA.debugLine="Dim COSTO_CRED As Double = fg.GetDouble(\"COSTO_CR";
Debug.ShouldStop(16777216);
_costo_cred = _fg.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("COSTO_CRED")));Debug.locals.put("COSTO_CRED", _costo_cred);Debug.locals.put("COSTO_CRED", _costo_cred);
 BA.debugLineNum = 634;BA.debugLine="Dim COSTO_CONTADO As Double = fg.GetDouble(\"COSTO";
Debug.ShouldStop(33554432);
_costo_contado = _fg.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("COSTO_CONTADO")));Debug.locals.put("COSTO_CONTADO", _costo_contado);Debug.locals.put("COSTO_CONTADO", _costo_contado);
 BA.debugLineNum = 636;BA.debugLine="Log(\"Costo Crédito: \" & COSTO_CRED & \"<<<<<<<<<<<";
Debug.ShouldStop(134217728);
parent.__c.runVoidMethod ("LogImpl","513697273",RemoteObject.concat(RemoteObject.createImmutable("Costo Crédito: "),_costo_cred,RemoteObject.createImmutable("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<")),0);
 BA.debugLineNum = 637;BA.debugLine="Log(\"Costo Contado: \" & COSTO_CONTADO & \"<<<<<<<<";
Debug.ShouldStop(268435456);
parent.__c.runVoidMethod ("LogImpl","513697274",RemoteObject.concat(RemoteObject.createImmutable("Costo Contado: "),_costo_contado,RemoteObject.createImmutable("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<")),0);
 BA.debugLineNum = 639;BA.debugLine="If COSTO_CRED > 0 And COSTO_CRED < 1000 Then";
Debug.ShouldStop(1073741824);
if (true) break;

case 69:
//if
this.state = 76;
if (RemoteObject.solveBoolean(">",_costo_cred,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("<",_costo_cred,BA.numberCast(double.class, 1000))) { 
this.state = 71;
}if (true) break;

case 71:
//C
this.state = 72;
 BA.debugLineNum = 640;BA.debugLine="Msgbox2Async($\"Se ha detectado venta a crédito m";
Debug.ShouldStop(-2147483648);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence((RemoteObject.createImmutable("Se ha detectado venta a crédito menor a $1000 pesos. ¿Desea borrarla?")))),(Object)(BA.ObjectToCharSequence("Venta Mínima de Crédito")),(Object)(BA.ObjectToString("Sí")),(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 = 641;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
Debug.ShouldStop(1);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "b4xpage_appear"), null);
this.state = 89;
return;
case 89:
//C
this.state = 72;
_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado);
;
 BA.debugLineNum = 642;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
Debug.ShouldStop(2);
if (true) break;

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

case 74:
//C
this.state = 75;
 BA.debugLineNum = 643;BA.debugLine="Subs.borraPedidoCredito";
Debug.ShouldStop(4);
parent._subs.runVoidMethod ("_borrapedidocredito" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 if (true) break;

case 75:
//C
this.state = 76;
;
 if (true) break;

case 76:
//C
this.state = 77;
;
 BA.debugLineNum = 647;BA.debugLine="fg.Close";
Debug.ShouldStop(64);
_fg.runVoidMethod ("Close");
 BA.debugLineNum = 649;BA.debugLine="CallSubDelayed(Tracker, \"Track\")";
Debug.ShouldStop(256);
parent.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((parent._tracker.getObject())),(Object)(RemoteObject.createImmutable("Track")));
 BA.debugLineNum = 650;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")";
Debug.ShouldStop(512);
parent.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((parent._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLPSmall")));
 BA.debugLineNum = 651;BA.debugLine="If Tracker.FLP.IsInitialized And Tracker.FLP.GetL";
Debug.ShouldStop(1024);
if (true) break;

case 77:
//if
this.state = 80;
if (RemoteObject.solveBoolean(".",parent._tracker._flp /*RemoteObject*/ .runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized"))) { 
this.state = 79;
}if (true) break;

case 79:
//C
this.state = 80;
 BA.debugLineNum = 652;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK";
Debug.ShouldStop(2048);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude")));
 BA.debugLineNum = 653;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK";
Debug.ShouldStop(4096);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude")));
 BA.debugLineNum = 655;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca";
Debug.ShouldStop(16384);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_gps_locationchanged" /*RemoteObject*/ ,(Object)(parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation")));
 if (true) break;

case 80:
//C
this.state = 81;
;
 BA.debugLineNum = 657;BA.debugLine="lista_punta.Initialize";
Debug.ShouldStop(65536);
__ref.getField(false,"_lista_punta" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 658;BA.debugLine="Dim pol As Cursor = Starter.skmt.ExecQuery(\"SELEC";
Debug.ShouldStop(131072);
_pol = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_pol = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT LAT, LONG FROM POLIGONO"))));Debug.locals.put("pol", _pol);Debug.locals.put("pol", _pol);
 BA.debugLineNum = 659;BA.debugLine="If pol.RowCount > 0 Then";
Debug.ShouldStop(262144);
if (true) break;

case 81:
//if
this.state = 88;
if (RemoteObject.solveBoolean(">",_pol.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 83;
}if (true) break;

case 83:
//C
this.state = 84;
 BA.debugLineNum = 661;BA.debugLine="For poli = 0 To pol.RowCount -1";
Debug.ShouldStop(1048576);
if (true) break;

case 84:
//for
this.state = 87;
step210 = 1;
limit210 = RemoteObject.solve(new RemoteObject[] {_pol.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_poli = 0 ;
Debug.locals.put("poli", _poli);
this.state = 90;
if (true) break;

case 90:
//C
this.state = 87;
if ((step210 > 0 && _poli <= limit210) || (step210 < 0 && _poli >= limit210)) this.state = 86;
if (true) break;

case 91:
//C
this.state = 90;
_poli = ((int)(0 + _poli + step210)) ;
Debug.locals.put("poli", _poli);
if (true) break;

case 86:
//C
this.state = 91;
 BA.debugLineNum = 662;BA.debugLine="pol.Position = poli";
Debug.ShouldStop(2097152);
_pol.runMethod(true,"setPosition",BA.numberCast(int.class, _poli));
 BA.debugLineNum = 663;BA.debugLine="Dim coords As LatLng";
Debug.ShouldStop(4194304);
_coords = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");Debug.locals.put("coords", _coords);
 BA.debugLineNum = 664;BA.debugLine="coords.Initialize(pol.GetString(\"LAT\"), pol.Get";
Debug.ShouldStop(8388608);
_coords.runVoidMethod ("Initialize",(Object)(BA.numberCast(double.class, _pol.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LAT"))))),(Object)(BA.numberCast(double.class, _pol.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LONG"))))));
 BA.debugLineNum = 665;BA.debugLine="lista_punta.Add(coords)";
Debug.ShouldStop(16777216);
__ref.getField(false,"_lista_punta" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_coords.getObject())));
 if (true) break;
if (true) break;

case 87:
//C
this.state = 88;
Debug.locals.put("poli", _poli);
;
 if (true) break;

case 88:
//C
this.state = -1;
;
 BA.debugLineNum = 668;BA.debugLine="checaPedido";
Debug.ShouldStop(134217728);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_checapedido" /*RemoteObject*/ );
 BA.debugLineNum = 670;BA.debugLine="End Sub";
Debug.ShouldStop(536870912);
if (true) break;

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static void  _msgbox_result(RemoteObject __ref,RemoteObject _resultado) throws Exception{
}
public static RemoteObject  _b4xpage_closerequest(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_CloseRequest (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2488);
if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_principal","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.c_principal 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.c_principal parent;

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_CloseRequest (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2488);
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 = 2490;BA.debugLine="If SCROLL_RESDIA.Visible Then";
Debug.ShouldStop(33554432);
if (true) break;

case 1:
//if
this.state = 12;
if (__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"getVisible").<Boolean>get().booleanValue()) { 
this.state = 3;
}else 
{ BA.debugLineNum = 2494;BA.debugLine="Else if p_prod.Visible Then";
Debug.ShouldStop(536870912);
if (__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"getVisible").<Boolean>get().booleanValue()) { 
this.state = 5;
}else 
{ BA.debugLineNum = 2497;BA.debugLine="Else if Panel5.Visible Then";
Debug.ShouldStop(1);
if (__ref.getField(false,"_panel5" /*RemoteObject*/ ).runMethod(true,"getVisible").<Boolean>get().booleanValue()) { 
this.state = 7;
}else 
{ BA.debugLineNum = 2500;BA.debugLine="Else If pnlCobranza.Visible Then";
Debug.ShouldStop(8);
if (__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"getVisible").<Boolean>get().booleanValue()) { 
this.state = 9;
}else {
this.state = 11;
}}}}
if (true) break;

case 3:
//C
this.state = 12;
 BA.debugLineNum = 2491;BA.debugLine="SCROLL_RESDIA.Visible = False";
Debug.ShouldStop(67108864);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 2492;BA.debugLine="B_OK_RES_Click";
Debug.ShouldStop(134217728);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b_ok_res_click" /*RemoteObject*/ );
 BA.debugLineNum = 2493;BA.debugLine="Return False";
Debug.ShouldStop(268435456);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 if (true) break;

case 5:
//C
this.state = 12;
 BA.debugLineNum = 2495;BA.debugLine="p_prod.Visible = False";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 2496;BA.debugLine="Return False";
Debug.ShouldStop(-2147483648);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 if (true) break;

case 7:
//C
this.state = 12;
 BA.debugLineNum = 2498;BA.debugLine="B_OK_PANEL5_Click";
Debug.ShouldStop(2);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b_ok_panel5_click" /*RemoteObject*/ );
 BA.debugLineNum = 2499;BA.debugLine="Return False";
Debug.ShouldStop(4);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 if (true) break;

case 9:
//C
this.state = 12;
 BA.debugLineNum = 2501;BA.debugLine="pnlCobranza.Visible = False";
Debug.ShouldStop(16);
__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 2502;BA.debugLine="Return False";
Debug.ShouldStop(32);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 if (true) break;

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

case 12:
//C
this.state = -1;
;
 BA.debugLineNum = 2506;BA.debugLine="Return False";
Debug.ShouldStop(512);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 BA.debugLineNum = 2507;BA.debugLine="End Sub";
Debug.ShouldStop(1024);
if (true) break;

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static RemoteObject  _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Created (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,254);
if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_principal","b4xpage_created", __ref, _root1);}
RemoteObject _ruta = RemoteObject.createImmutable("");
Debug.locals.put("Root1", _root1);
 BA.debugLineNum = 254;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)";
Debug.ShouldStop(536870912);
 BA.debugLineNum = 255;BA.debugLine="Root = Root1";
Debug.ShouldStop(1073741824);
__ref.setField ("_root" /*RemoteObject*/ ,_root1);
 BA.debugLineNum = 257;BA.debugLine="Root.LoadLayout(\"principal\")";
Debug.ShouldStop(1);
__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("principal")),__ref.getField(false, "ba"));
 BA.debugLineNum = 258;BA.debugLine="rd.Initialize";
Debug.ShouldStop(2);
__ref.getField(false,"_rd" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_respaldodiario.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 259;BA.debugLine="rd.vacuum";
Debug.ShouldStop(4);
__ref.getField(false,"_rd" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_respaldodiario.class, "_vacuum" /*RemoteObject*/ );
 BA.debugLineNum = 260;BA.debugLine="EJECUTANDO=1";
Debug.ShouldStop(8);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 261;BA.debugLine="Dim ruta As String";
Debug.ShouldStop(16);
_ruta = RemoteObject.createImmutable("");Debug.locals.put("ruta", _ruta);
 BA.debugLineNum = 262;BA.debugLine="img2.Visible =False";
Debug.ShouldStop(32);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 263;BA.debugLine="ruta = File.DirInternal";
Debug.ShouldStop(64);
_ruta = c_principal.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("ruta", _ruta);
 BA.debugLineNum = 264;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",c_principal.__c.getField(false,"File").runMethod(true,"Exists",(Object)(_ruta),(Object)(RemoteObject.createImmutable("kmt.db"))),c_principal.__c.getField(true,"False"))) { 
 BA.debugLineNum = 265;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d";
Debug.ShouldStop(256);
c_principal.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(_ruta),(Object)(RemoteObject.createImmutable("kmt.db")));
 };
 BA.debugLineNum = 267;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(1024);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 268;BA.debugLine="fecha=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(2048);
__ref.setField ("_fecha" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 269;BA.debugLine="B4XPages.MainPage.skmt.Initialize(ruta,\"kmt.db\",";
Debug.ShouldStop(4096);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(_ruta),(Object)(BA.ObjectToString("kmt.db")),(Object)(c_principal.__c.getField(true,"True")));
 BA.debugLineNum = 270;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count(";
Debug.ShouldStop(8192);
__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOS from pedido_cliente"))));
 BA.debugLineNum = 271;BA.debugLine="b.Position=0";
Debug.ShouldStop(16384);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 272;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")";
Debug.ShouldStop(32768);
__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))));
 BA.debugLineNum = 273;BA.debugLine="b.Close";
Debug.ShouldStop(65536);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 274;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count(";
Debug.ShouldStop(131072);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0"))));
 BA.debugLineNum = 275;BA.debugLine="d.Position=0";
Debug.ShouldStop(262144);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 276;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count(";
Debug.ShouldStop(524288);
__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as POR_VISITAR from kmt_info"))));
 BA.debugLineNum = 277;BA.debugLine="e.Position=0";
Debug.ShouldStop(1048576);
__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 278;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count(";
Debug.ShouldStop(2097152);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CAT_CL_RUTA from kmt_info"))));
 BA.debugLineNum = 279;BA.debugLine="f.Position=0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 280;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")";
Debug.ShouldStop(8388608);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))));
 BA.debugLineNum = 281;BA.debugLine="f.Close";
Debug.ShouldStop(16777216);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 282;BA.debugLine="If l_ruta.Text = 0 Then";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { 
 BA.debugLineNum = 283;BA.debugLine="l_ruta.Text =0";
Debug.ShouldStop(67108864);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 }else {
 BA.debugLineNum = 285;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C";
Debug.ShouldStop(268435456);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._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 = 286;BA.debugLine="f.Position=0";
Debug.ShouldStop(536870912);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 287;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))));
 BA.debugLineNum = 288;BA.debugLine="f.Close";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 290;BA.debugLine="If Cuantos  = 0 Then";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos" /*RemoteObject*/ ),BA.NumberToString(0))) { 
 BA.debugLineNum = 291;BA.debugLine="L_MONTOD.Text =0";
Debug.ShouldStop(4);
__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 292;BA.debugLine="l_cuantosc.Text = 0";
Debug.ShouldStop(8);
__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 293;BA.debugLine="l_cuantosn.Text = 0";
Debug.ShouldStop(16);
__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 294;BA.debugLine="drop = 0";
Debug.ShouldStop(32);
__ref.setField ("_drop" /*RemoteObject*/ ,BA.numberCast(double.class, 0));
 BA.debugLineNum = 295;BA.debugLine="l_drop.Text = 0";
Debug.ShouldStop(64);
__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 296;BA.debugLine="efectiva = 0";
Debug.ShouldStop(128);
__ref.setField ("_efectiva" /*RemoteObject*/ ,BA.numberCast(double.class, 0));
 BA.debugLineNum = 297;BA.debugLine="l_efectiva.text =0";
Debug.ShouldStop(256);
__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 298;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")";
Debug.ShouldStop(512);
__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_VISITAR")))));
 BA.debugLineNum = 299;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")";
Debug.ShouldStop(1024);
__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POR_VISITAR")))));
 }else {
 BA.debugLineNum = 301;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select  sum(";
Debug.ShouldStop(4096);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select  sum(pc_monto) as MONTO_DIA, count(pc_cliente) AS CLIENTES_DIA  from pedido_cliente where PC_CLIENTE <> 0 AND PC_CLIENTE <> 1"))));
 BA.debugLineNum = 302;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count";
Debug.ShouldStop(8192);
__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CUANTOS from noventa"))));
 BA.debugLineNum = 304;BA.debugLine="c.Position=0";
Debug.ShouldStop(32768);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 305;BA.debugLine="b.Position=0";
Debug.ShouldStop(65536);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 306;BA.debugLine="L_MONTOD.Text = c.GetString(\"MONTO_DIA\")";
Debug.ShouldStop(131072);
__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA")))));
 BA.debugLineNum = 307;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")";
Debug.ShouldStop(262144);
__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA")))));
 BA.debugLineNum = 308;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")";
Debug.ShouldStop(524288);
__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))));
 BA.debugLineNum = 310;BA.debugLine="l_drop.Text = Round2(drop,2)";
Debug.ShouldStop(2097152);
__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(__ref.getField(true,"_drop" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 2)))));
 BA.debugLineNum = 311;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt";
Debug.ShouldStop(4194304);
__ref.setField ("_efectiva" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA")))),BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POR_VISITAR"))))}, "/",0, 0));
 BA.debugLineNum = 312;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)";
Debug.ShouldStop(8388608);
__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_efectiva" /*RemoteObject*/ ),RemoteObject.createImmutable(100)}, "*",0, 0)),(Object)(BA.numberCast(int.class, 2)))));
 BA.debugLineNum = 313;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")";
Debug.ShouldStop(16777216);
__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_VISITAR")))));
 BA.debugLineNum = 314;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")";
Debug.ShouldStop(33554432);
__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POR_VISITAR")))));
 BA.debugLineNum = 315;BA.debugLine="b.Close";
Debug.ShouldStop(67108864);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 316;BA.debugLine="c.Close";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 318;BA.debugLine="d.Close";
Debug.ShouldStop(536870912);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 319;BA.debugLine="e.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 321;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select RS_R";
Debug.ShouldStop(1);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RS_RUTA FROM RUTA_SUPLENCIA"))));
 BA.debugLineNum = 322;BA.debugLine="s.Position = 0";
Debug.ShouldStop(2);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 323;BA.debugLine="If s.RowCount = 0 Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 324;BA.debugLine="Label22.Visible = False";
Debug.ShouldStop(8);
__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 325;BA.debugLine="l_rutasuplencia.Visible = False";
Debug.ShouldStop(16);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 }else 
{ BA.debugLineNum = 326;BA.debugLine="Else If s.RowCount > 0 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 327;BA.debugLine="Label22.Visible = True";
Debug.ShouldStop(64);
__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 328;BA.debugLine="l_rutasuplencia.Visible = True";
Debug.ShouldStop(128);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 329;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")";
Debug.ShouldStop(256);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RS_RUTA")))));
 }}
;
 BA.debugLineNum = 331;BA.debugLine="Starter.Skmt.ExecNonQuery($\"create table if not e";
Debug.ShouldStop(1024);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("create table if not exists kmt_info2 ("),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_gettablecolumnlist" /*RemoteObject*/ ,(Object)(c_principal._starter._skmt /*RemoteObject*/ ),(Object)(RemoteObject.createImmutable("kmt_info")))))),RemoteObject.createImmutable(")")))));
 BA.debugLineNum = 332;BA.debugLine="End Sub";
Debug.ShouldStop(2048);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static void  _btn_ubicar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Btn_Ubicar_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3088);
if (RapidSub.canDelegate("btn_ubicar_click")) { __ref.runUserSub(false, "c_principal","btn_ubicar_click", __ref); return;}
ResumableSub_Btn_Ubicar_Click rsub = new ResumableSub_Btn_Ubicar_Click(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_Btn_Ubicar_Click extends BA.ResumableSub {
public ResumableSub_Btn_Ubicar_Click(SHARK2.keymon.com.mx.c_principal 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.c_principal parent;
RemoteObject _permission = RemoteObject.createImmutable("");
RemoteObject _result = RemoteObject.createImmutable(false);

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("Btn_Ubicar_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3088);
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 = 3089;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA";
Debug.ShouldStop(65536);
__ref.getField(false,"_rp" /*RemoteObject*/ ).runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_rp" /*RemoteObject*/ ).getField(true,"PERMISSION_ACCESS_FINE_LOCATION")));
 BA.debugLineNum = 3090;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
Debug.ShouldStop(131072);
parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "btn_ubicar_click"), null);
this.state = 5;
return;
case 5:
//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 = 3091;BA.debugLine="If Result Then";
Debug.ShouldStop(262144);
if (true) break;

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

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

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

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static void  _b4xpage_permissionresult(RemoteObject __ref,RemoteObject _permission,RemoteObject _result) throws Exception{
}
public static RemoteObject  _btncobranza_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("btnCobranza_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3320);
if (RapidSub.canDelegate("btncobranza_click")) { return __ref.runUserSub(false, "c_principal","btncobranza_click", __ref);}
RemoteObject _ct = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
 BA.debugLineNum = 3320;BA.debugLine="Private Sub btnCobranza_Click";
Debug.ShouldStop(8388608);
 BA.debugLineNum = 3321;BA.debugLine="Log(\"Entrando al Panel de Cobranza\")";
Debug.ShouldStop(16777216);
c_principal.__c.runVoidMethod ("LogImpl","515990785",RemoteObject.createImmutable("Entrando al Panel de Cobranza"),0);
 BA.debugLineNum = 3323;BA.debugLine="pnlCobranza.Width = Root.Width";
Debug.ShouldStop(67108864);
__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 3324;BA.debugLine="pnlCobranza.Height = Root.Height";
Debug.ShouldStop(134217728);
__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 3325;BA.debugLine="pnlCobranza.Left = 0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3326;BA.debugLine="pnlCobranza.Top = 0";
Debug.ShouldStop(536870912);
__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3327;BA.debugLine="pnlCobranza.BringToFront";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runVoidMethod ("BringToFront");
 BA.debugLineNum = 3328;BA.debugLine="pnlCobranza.Visible = True";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3329;BA.debugLine="pnlTotal.Visible = True";
Debug.ShouldStop(1);
__ref.getField(false,"_pnltotal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3330;BA.debugLine="Dim ct As Cursor = B4XPages.MainPage.skmt.ExecQue";
Debug.ShouldStop(2);
_ct = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_ct = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT IFNULL(sum(IFNULL(a.a_abono,0)),0) as suma_abono FROM kmt_info2 ki LEFT JOIN ABONOSP ap ON ki.CAT_CL_CODIGO = ap.CLIENTE LEFT JOIN ABONOS a ON ki.CAT_CL_CODIGO = a.a_cliente WHERE CAST(ap.SALDO_PENDIENTE AS REAL) > 0")))));Debug.locals.put("ct", _ct);Debug.locals.put("ct", _ct);
 BA.debugLineNum = 3331;BA.debugLine="ct.Position = 0";
Debug.ShouldStop(4);
_ct.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3332;BA.debugLine="If ct.RowCount > 0 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean(">",_ct.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3333;BA.debugLine="lblTotal.Text = \"El total abonado es: $\" & ct.ge";
Debug.ShouldStop(16);
__ref.getField(false,"_lbltotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("El total abonado es: $"),_ct.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma_abono"))))));
 };
 BA.debugLineNum = 3335;BA.debugLine="lblVersion.Text = Application.VersionName";
Debug.ShouldStop(64);
__ref.getField(false,"_lblversion" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName")));
 BA.debugLineNum = 3336;BA.debugLine="ct.Close";
Debug.ShouldStop(128);
_ct.runVoidMethod ("Close");
 BA.debugLineNum = 3337;BA.debugLine="CargarDatosCobranza";
Debug.ShouldStop(256);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_cargardatoscobranza" /*RemoteObject*/ );
 BA.debugLineNum = 3338;BA.debugLine="End Sub";
Debug.ShouldStop(512);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _btnregresar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("btnRegresar_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3396);
if (RapidSub.canDelegate("btnregresar_click")) { return __ref.runUserSub(false, "c_principal","btnregresar_click", __ref);}
 BA.debugLineNum = 3396;BA.debugLine="Private Sub btnRegresar_Click";
Debug.ShouldStop(8);
 BA.debugLineNum = 3397;BA.debugLine="pnlCobranza.Visible = False";
Debug.ShouldStop(16);
__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3398;BA.debugLine="End Sub";
Debug.ShouldStop(32);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _busca_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("BUSCA_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2574);
if (RapidSub.canDelegate("busca_click")) { return __ref.runUserSub(false, "c_principal","busca_click", __ref);}
 BA.debugLineNum = 2574;BA.debugLine="Sub BUSCA_Click";
Debug.ShouldStop(8192);
 BA.debugLineNum = 2575;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")";
Debug.ShouldStop(16384);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("TicketsDia")));
 BA.debugLineNum = 2576;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _carga_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("CARGA_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2864);
if (RapidSub.canDelegate("carga_click")) { return __ref.runUserSub(false, "c_principal","carga_click", __ref);}
 BA.debugLineNum = 2864;BA.debugLine="Sub CARGA_Click";
Debug.ShouldStop(32768);
 BA.debugLineNum = 2865;BA.debugLine="B4XPages.ShowPage(\"Productos\")";
Debug.ShouldStop(65536);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos")));
 BA.debugLineNum = 2866;BA.debugLine="End Sub";
Debug.ShouldStop(131072);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _cargar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("cargar_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,1113);
if (RapidSub.canDelegate("cargar_click")) { return __ref.runUserSub(false, "c_principal","cargar_click", __ref);}
RemoteObject _pedidodiaanterior = RemoteObject.createImmutable(false);
RemoteObject _cp = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _fecha2 = null;
RemoteObject _dia = RemoteObject.createImmutable("");
RemoteObject _dia2 = RemoteObject.createImmutable("");
 BA.debugLineNum = 1113;BA.debugLine="Sub cargar_Click";
Debug.ShouldStop(16777216);
 BA.debugLineNum = 1114;BA.debugLine="Dim pedidodiaanterior As Boolean = False";
Debug.ShouldStop(33554432);
_pedidodiaanterior = c_principal.__c.getField(true,"False");Debug.locals.put("pedidodiaanterior", _pedidodiaanterior);Debug.locals.put("pedidodiaanterior", _pedidodiaanterior);
 BA.debugLineNum = 1115;BA.debugLine="Dim cp As Cursor = B4XPages.MainPage.skmt.ExecQue";
Debug.ShouldStop(67108864);
_cp = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_cp = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from PEDIDO"))));Debug.locals.put("cp", _cp);Debug.locals.put("cp", _cp);
 BA.debugLineNum = 1116;BA.debugLine="If cp.RowCount > 0 Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean(">",_cp.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1117;BA.debugLine="cp.Position = 0";
Debug.ShouldStop(268435456);
_cp.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1118;BA.debugLine="Private fecha As String = cp.GetString(\"PE_FECHA";
Debug.ShouldStop(536870912);
c_principal._fecha = _cp.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")));__ref.setField("_fecha",c_principal._fecha);
 BA.debugLineNum = 1119;BA.debugLine="Dim fecha2() As String = Regex.Split(\"/\",fecha)";
Debug.ShouldStop(1073741824);
_fecha2 = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("/")),(Object)(__ref.getField(true,"_fecha" /*RemoteObject*/ )));Debug.locals.put("fecha2", _fecha2);Debug.locals.put("fecha2", _fecha2);
 BA.debugLineNum = 1120;BA.debugLine="Dim dia As String = fecha2(1)";
Debug.ShouldStop(-2147483648);
_dia = _fecha2.getArrayElement(true,BA.numberCast(int.class, 1));Debug.locals.put("dia", _dia);Debug.locals.put("dia", _dia);
 BA.debugLineNum = 1121;BA.debugLine="Log(dia)";
Debug.ShouldStop(1);
c_principal.__c.runVoidMethod ("LogImpl","513959176",_dia,0);
 BA.debugLineNum = 1122;BA.debugLine="Dim dia2 As String = DateTime.GetDayOfMonth(Date";
Debug.ShouldStop(2);
_dia2 = BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"GetDayOfMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));Debug.locals.put("dia2", _dia2);Debug.locals.put("dia2", _dia2);
 BA.debugLineNum = 1123;BA.debugLine="Log(dia & \" , \" & dia2)";
Debug.ShouldStop(4);
c_principal.__c.runVoidMethod ("LogImpl","513959178",RemoteObject.concat(_dia,RemoteObject.createImmutable(" , "),_dia2),0);
 BA.debugLineNum = 1124;BA.debugLine="If dia < dia2 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _dia),BA.numberCast(double.class, _dia2))) { 
 BA.debugLineNum = 1125;BA.debugLine="pedidodiaanterior = True";
Debug.ShouldStop(16);
_pedidodiaanterior = c_principal.__c.getField(true,"True");Debug.locals.put("pedidodiaanterior", _pedidodiaanterior);
 };
 };
 BA.debugLineNum = 1128;BA.debugLine="If Not (pedidodiaanterior) Then";
Debug.ShouldStop(128);
if (c_principal.__c.runMethod(true,"Not",(Object)(_pedidodiaanterior)).<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 1129;BA.debugLine="CARGA = \"CARGAR\"";
Debug.ShouldStop(256);
__ref.setField ("_carga" /*RemoteObject*/ ,BA.ObjectToString("CARGAR"));
 BA.debugLineNum = 1130;BA.debugLine="p_mandaInfo.Width = Root.Width";
Debug.ShouldStop(512);
__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 1131;BA.debugLine="p_mandaInfo.Height = Root.Height";
Debug.ShouldStop(1024);
__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 1132;BA.debugLine="P1.Left = (p_mandaInfo.Width/2) - (P1.Width/2)";
Debug.ShouldStop(2048);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 1133;BA.debugLine="P1.top = (p_mandaInfo.Height/2) - (P1.Height/2)";
Debug.ShouldStop(4096);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 1134;BA.debugLine="img2.Visible =True";
Debug.ShouldStop(8192);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1135;BA.debugLine="L_P_1.Visible = True";
Debug.ShouldStop(16384);
__ref.getField(false,"_l_p_1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1136;BA.debugLine="S_CC.Visible = True";
Debug.ShouldStop(32768);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1137;BA.debugLine="Btn_Ubicar.Visible=False";
Debug.ShouldStop(65536);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1138;BA.debugLine="P1.Visible = True";
Debug.ShouldStop(131072);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1139;BA.debugLine="p_mandaInfo.Visible = True";
Debug.ShouldStop(262144);
__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1140;BA.debugLine="p_principal.Visible = False";
Debug.ShouldStop(524288);
__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1141;BA.debugLine="Subs.panelVisible(P1, 0, 0)";
Debug.ShouldStop(1048576);
c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p1" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 BA.debugLineNum = 1142;BA.debugLine="Subs.centraPanel(P1, Root.Width)";
Debug.ShouldStop(2097152);
c_principal._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 1143;BA.debugLine="Subs.centraPanelV(P1, Root.Height)";
Debug.ShouldStop(4194304);
c_principal._subs.runVoidMethod ("_centrapanelv" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")));
 BA.debugLineNum = 1145;BA.debugLine="NUEVO.Visible =False";
Debug.ShouldStop(16777216);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1146;BA.debugLine="BUSCA.Visible=False";
Debug.ShouldStop(33554432);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1147;BA.debugLine="connecta.Visible=False";
Debug.ShouldStop(67108864);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1148;BA.debugLine="L_P_3.Visible = True";
Debug.ShouldStop(134217728);
__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1149;BA.debugLine="S_CH.Visible = True";
Debug.ShouldStop(268435456);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1150;BA.debugLine="PB1.Visible = True";
Debug.ShouldStop(536870912);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1151;BA.debugLine="Resumen.Visible= False";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1153;BA.debugLine="L_P_1.Text = \"Catalogo de Clientes\"";
Debug.ShouldStop(1);
__ref.getField(false,"_l_p_1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Catalogo de Clientes"));
 BA.debugLineNum = 1154;BA.debugLine="L_P_2.Text = \"Catalogos de Productos\"";
Debug.ShouldStop(2);
__ref.getField(false,"_l_p_2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Catalogos de Productos"));
 BA.debugLineNum = 1155;BA.debugLine="L_P_3.Text = \"Catalogos Historicos\"";
Debug.ShouldStop(4);
__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Catalogos Historicos"));
 BA.debugLineNum = 1156;BA.debugLine="S_CC.Text = \"EN PROCESO\"";
Debug.ShouldStop(8);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO"));
 BA.debugLineNum = 1157;BA.debugLine="S_CH.Text = \"EN PROCESO\"";
Debug.ShouldStop(16);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO"));
 BA.debugLineNum = 1158;BA.debugLine="S_CP.Text = \"EN PROCESO\"";
Debug.ShouldStop(32);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO"));
 BA.debugLineNum = 1159;BA.debugLine="PB1.Progress = 0";
Debug.ShouldStop(64);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1160;BA.debugLine="PB2.Progress = 0";
Debug.ShouldStop(128);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1161;BA.debugLine="EJECUTANDO = 1";
Debug.ShouldStop(256);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1164;BA.debugLine="TOPE = 0";
Debug.ShouldStop(2048);
__ref.setField ("_tope" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 1166;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
Debug.ShouldStop(8192);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTA_SUPLENCIA")));
 BA.debugLineNum = 1167;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
Debug.ShouldStop(16384);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTAA")));
 BA.debugLineNum = 1168;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
Debug.ShouldStop(32768);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM GEOCERCA")));
 BA.debugLineNum = 1169;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
Debug.ShouldStop(65536);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM COORDS_ALMACEN")));
 BA.debugLineNum = 1170;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(131072);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CLIENTE_NUEVO")));
 BA.debugLineNum = 1171;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(262144);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info")));
 BA.debugLineNum = 1172;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(524288);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info2")));
 BA.debugLineNum = 1173;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(1048576);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cod_result")));
 BA.debugLineNum = 1174;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(2097152);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from hist_gest")));
 BA.debugLineNum = 1175;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(4194304);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod")));
 BA.debugLineNum = 1176;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(8388608);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod2")));
 BA.debugLineNum = 1177;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(16777216);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod3")));
 BA.debugLineNum = 1178;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(33554432);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod4")));
 BA.debugLineNum = 1179;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(67108864);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ")));
 BA.debugLineNum = 1180;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(134217728);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from telefonos")));
 BA.debugLineNum = 1181;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(268435456);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS")));
 BA.debugLineNum = 1182;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(536870912);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_PROMOS")));
 BA.debugLineNum = 1183;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(1073741824);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_CLIENTE_CANT_PROMOS")));
 BA.debugLineNum = 1184;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(-2147483648);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROMOS_COMP")));
 BA.debugLineNum = 1185;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(1);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_VERIFICACION")));
 BA.debugLineNum = 1186;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_GIRO\"";
Debug.ShouldStop(2);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_GIRO")));
 BA.debugLineNum = 1187;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
Debug.ShouldStop(4);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM MARCAS_RUTAS")));
 BA.debugLineNum = 1188;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
Debug.ShouldStop(8);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_STAY_STORE")));
 BA.debugLineNum = 1189;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
Debug.ShouldStop(16);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_GEOCERCA")));
 BA.debugLineNum = 1190;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
Debug.ShouldStop(32);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_MARCAS_CUOTAS")));
 BA.debugLineNum = 1192;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
Debug.ShouldStop(128);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ABONOSP")));
 BA.debugLineNum = 1194;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"select co";
Debug.ShouldStop(512);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(CAT_VA_DESCRIPCION) as HoraIngreso from cat_variables where CAT_VA_DESCRIPCION = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("HoraIngreso")}))));
 BA.debugLineNum = 1195;BA.debugLine="c.Position = 0";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1196;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
Debug.ShouldStop(2048);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss"));
 BA.debugLineNum = 1198;BA.debugLine="If c.GetString(\"HoraIngreso\") > 0 Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HoraIngreso")))),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1199;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update ca";
Debug.ShouldStop(16384);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update cat_variables set CAT_VA_VALOR = ?  WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))),RemoteObject.createImmutable("HoraIngreso")})))));
 }else {
 BA.debugLineNum = 1201;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN";
Debug.ShouldStop(65536);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_VALOR,CAT_VA_DESCRIPCION)  VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))),RemoteObject.createImmutable("HoraIngreso")})))));
 };
 BA.debugLineNum = 1203;BA.debugLine="c.Close";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1204;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
Debug.ShouldStop(524288);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss"));
 BA.debugLineNum = 1205;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar";
Debug.ShouldStop(1048576);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa"))));
 BA.debugLineNum = 1206;BA.debugLine="c.Position = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1207;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(4194304);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 1208;BA.debugLine="c.Close";
Debug.ShouldStop(8388608);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1210;BA.debugLine="Dim sDate,sTime As String";
Debug.ShouldStop(33554432);
c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate);
c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime);
 BA.debugLineNum = 1211;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(67108864);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 1212;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(134217728);
__ref.setField ("_sdate" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1213;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(268435456);
__ref.setField ("_stime" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1215;BA.debugLine="Dim P As PhoneId";
Debug.ShouldStop(1073741824);
c_principal._p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.PhoneId");__ref.setField("_p",c_principal._p);
 BA.debugLineNum = 1217;BA.debugLine="imei = \"xxxx\"";
Debug.ShouldStop(1);
__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString("xxxx"));
 BA.debugLineNum = 1218;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(2);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1219;BA.debugLine="cmd.Name =\"insert_drop_SHARK2\"";
Debug.ShouldStop(4);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_SHARK2"));
 BA.debugLineNum = 1220;BA.debugLine="cmd.Parameters = Array As Object(usuario,e_ruta.";
Debug.ShouldStop(8);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_sdate" /*RemoteObject*/ )),(__ref.getField(true,"_imei" /*RemoteObject*/ )),(__ref.getField(true,"_stime" /*RemoteObject*/ )),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("CARGA")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName"))}));
 BA.debugLineNum = 1222;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\")";
Debug.ShouldStop(32);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_noventa"))));
 BA.debugLineNum = 1224;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(128);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1225;BA.debugLine="cmd.Name = \"select_cat_gunaprod_SHARK2\"";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod_SHARK2"));
 BA.debugLineNum = 1226;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1227;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")";
Debug.ShouldStop(1024);
__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("gunaprod"))));
 BA.debugLineNum = 1229;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1230;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_SHARK2\"";
Debug.ShouldStop(8192);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod2_SHARK2"));
 BA.debugLineNum = 1231;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,e_ruta.";
Debug.ShouldStop(16384);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 1232;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod2\")";
Debug.ShouldStop(32768);
__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("gunaprod2"))));
 BA.debugLineNum = 1239;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1240;BA.debugLine="cmd.Name = \"select_coords_almacen_SHARK2\"";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_coords_almacen_SHARK2"));
 BA.debugLineNum = 1241;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1242;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen";
Debug.ShouldStop(33554432);
__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("coords_almacen"))));
 BA.debugLineNum = 1249;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1250;BA.debugLine="cmd.Name = \"select_cat_GIRO_SHARK2\"";
Debug.ShouldStop(2);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_GIRO_SHARK2"));
 BA.debugLineNum = 1251;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"giro\")";
Debug.ShouldStop(4);
__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("giro"))));
 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_paquetes_SHARK2\"";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_paquetes_SHARK2"));
 BA.debugLineNum = 1260;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(2048);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1261;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprodp\")";
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("gunaprodp"))));
 BA.debugLineNum = 1264;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(32768);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1265;BA.debugLine="cmd.Name = \"select_cat_paquetess_SHARK2\"";
Debug.ShouldStop(65536);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_paquetess_SHARK2"));
 BA.debugLineNum = 1266;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1267;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprodp\")";
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("gunaprodp"))));
 BA.debugLineNum = 1269;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1270;BA.debugLine="cmd.Name = \"select_cat_detallepa_SHARK2\"";
Debug.ShouldStop(2097152);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_detallepa_SHARK2"));
 BA.debugLineNum = 1271;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1272;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"detallepaq\")";
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("detallepaq"))));
 BA.debugLineNum = 1274;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1275;BA.debugLine="cmd.Name = \"select_cat_clientes_SHARK2\"";
Debug.ShouldStop(67108864);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_clientes_SHARK2"));
 BA.debugLineNum = 1276;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(134217728);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1277;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")";
Debug.ShouldStop(268435456);
__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("kmt_datos"))));
 BA.debugLineNum = 1279;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1280;BA.debugLine="cmd.Name = \"select_cat_clientes_todos_SHARK2\"";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_clientes_todos_SHARK2"));
 BA.debugLineNum = 1281;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1282;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos_todo";
Debug.ShouldStop(2);
__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("kmt_datos_todos"))));
 BA.debugLineNum = 1284;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(8);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1285;BA.debugLine="cmd.Name = \"select_hist_datos_SHARK2\"";
Debug.ShouldStop(16);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_datos_SHARK2"));
 BA.debugLineNum = 1286;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(32);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1287;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")";
Debug.ShouldStop(64);
__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("hist_datos"))));
 BA.debugLineNum = 1289;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1290;BA.debugLine="cmd.Name = \"select_hist_promos_SHARK2\"";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_promos_SHARK2"));
 BA.debugLineNum = 1291;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1292;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_promos\")";
Debug.ShouldStop(2048);
__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("hist_promos"))));
 BA.debugLineNum = 1299;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1300;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_SHARK2\"";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_cliente_promos_SHARK2"));
 BA.debugLineNum = 1301;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1302;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_cliente_p";
Debug.ShouldStop(2097152);
__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("hist_cliente_promos"))));
 BA.debugLineNum = 1304;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1305;BA.debugLine="cmd.Name = \"select_nom_user_SHARK2\"";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_nom_user_SHARK2"));
 BA.debugLineNum = 1306;BA.debugLine="cmd.Parameters = Array As Object(usuario)";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_usuario" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1307;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"nom_user\")";
Debug.ShouldStop(67108864);
__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("nom_user"))));
 BA.debugLineNum = 1309;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(268435456);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1310;BA.debugLine="cmd.Name = \"select_telefono_SHARK2\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_telefono_SHARK2"));
 BA.debugLineNum = 1311;BA.debugLine="cmd.Parameters = Array As Object(usuario)";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_usuario" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1312;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"telefono\")";
Debug.ShouldStop(-2147483648);
__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("telefono"))));
 BA.debugLineNum = 1320;BA.debugLine="If E_RUTA2.text <> \"\" Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { 
 BA.debugLineNum = 1324;BA.debugLine="E_RUTA2.Visible = False";
Debug.ShouldStop(2048);
__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1325;BA.debugLine="Panel11.Visible = False";
Debug.ShouldStop(4096);
__ref.getField(false,"_panel11" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1327;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16384);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1328;BA.debugLine="cmd.Name = \"select_cat_clientes_SHARK2\"";
Debug.ShouldStop(32768);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_clientes_SHARK2"));
 BA.debugLineNum = 1329;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
Debug.ShouldStop(65536);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1330;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")";
Debug.ShouldStop(131072);
__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("kmt_datos"))));
 BA.debugLineNum = 1332;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1333;BA.debugLine="cmd.Name = \"select_cat_clientes_todos_SHARK2\"";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_clientes_todos_SHARK2"));
 BA.debugLineNum = 1334;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
Debug.ShouldStop(2097152);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1335;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos_tod";
Debug.ShouldStop(4194304);
__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("kmt_datos_todos"))));
 BA.debugLineNum = 1337;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1338;BA.debugLine="cmd.Name = \"select_hist_datos_SHARK2\"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_datos_SHARK2"));
 BA.debugLineNum = 1339;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
Debug.ShouldStop(67108864);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1340;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")";
Debug.ShouldStop(134217728);
__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("hist_datos"))));
 BA.debugLineNum = 1342;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1343;BA.debugLine="cmd.Name = \"select_hist_promos_SHARK2\"";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_promos_SHARK2"));
 BA.debugLineNum = 1344;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1345;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_promos\")";
Debug.ShouldStop(1);
__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("hist_promos"))));
 BA.debugLineNum = 1347;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1348;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_SHARK2\"";
Debug.ShouldStop(8);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_cliente_promos_SHARK2"));
 BA.debugLineNum = 1349;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
Debug.ShouldStop(16);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1350;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_cliente_";
Debug.ShouldStop(32);
__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("hist_cliente_promos"))));
 };
 BA.debugLineNum = 1353;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1354;BA.debugLine="cmd.Name = \"select_promo_comp_SHARK2\"";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_promo_comp_SHARK2"));
 BA.debugLineNum = 1355;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1356;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_comp_prom";
Debug.ShouldStop(2048);
__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("hist_comp_promos"))));
 BA.debugLineNum = 1363;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1364;BA.debugLine="cmd.Name = \"select_fecha\"";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_fecha"));
 BA.debugLineNum = 1365;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1366;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")";
Debug.ShouldStop(2097152);
__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 = 1378;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(2);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1379;BA.debugLine="cmd.Name = \"select_marcas_rutas_SHARK2\"";
Debug.ShouldStop(4);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_marcas_rutas_SHARK2"));
 BA.debugLineNum = 1380;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut";
Debug.ShouldStop(8);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 1381;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"marcas_rutas\")";
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("marcas_rutas"))));
 BA.debugLineNum = 1404;BA.debugLine="cargar.Visible = False";
Debug.ShouldStop(134217728);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1405;BA.debugLine="Subir.Visible = False";
Debug.ShouldStop(268435456);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1406;BA.debugLine="inv.Visible = False";
Debug.ShouldStop(536870912);
__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1407;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias")),(Object)(c_principal.__c.getField(true,"True")));};
 }else {
 BA.debugLineNum = 1409;BA.debugLine="Log(\"XXXX\")";
Debug.ShouldStop(1);
c_principal.__c.runVoidMethod ("LogImpl","513959464",RemoteObject.createImmutable("XXXX"),0);
 BA.debugLineNum = 1410;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten";
Debug.ShouldStop(2);
c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Para poder cargar día no puedes tener venta del día anterior. Por favor haz FIN DIA e intenta nuevamente.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 };
 BA.debugLineNum = 1412;BA.debugLine="End Sub";
Debug.ShouldStop(8);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _cargardatoscobranza(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("CargarDatosCobranza (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3340);
if (RapidSub.canDelegate("cargardatoscobranza")) { return __ref.runUserSub(false, "c_principal","cargardatoscobranza", __ref);}
int _i = 0;
RemoteObject _v = RemoteObject.declareNull("anywheresoftware.b4a.objects.ConcreteViewWrapper");
RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
RemoteObject _pitem = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
RemoteObject _codigo = RemoteObject.createImmutable("");
RemoteObject _nombre = RemoteObject.createImmutable("");
RemoteObject _lblempty = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
 BA.debugLineNum = 3340;BA.debugLine="Private Sub CargarDatosCobranza";
Debug.ShouldStop(2048);
 BA.debugLineNum = 3341;BA.debugLine="For i = pnlCobranza.NumberOfViews - 1 To 0 Step -";
Debug.ShouldStop(4096);
{
final int step1 = -1;
final int limit1 = 0;
_i = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"getNumberOfViews"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue() ;
for (;(step1 > 0 && _i <= limit1) || (step1 < 0 && _i >= limit1) ;_i = ((int)(0 + _i + step1))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3342;BA.debugLine="Dim v As View = pnlCobranza.GetView(i)";
Debug.ShouldStop(8192);
_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.ConcreteViewWrapper");
_v = __ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("v", _v);Debug.locals.put("v", _v);
 BA.debugLineNum = 3343;BA.debugLine="If v Is Label Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("i",_v.getObjectOrNull(), RemoteObject.createImmutable("android.widget.TextView"))) { 
 BA.debugLineNum = 3344;BA.debugLine="Dim lbl As Label = v";
Debug.ShouldStop(32768);
_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");
_lbl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), _v.getObject());Debug.locals.put("lbl", _lbl);Debug.locals.put("lbl", _lbl);
 BA.debugLineNum = 3345;BA.debugLine="If lbl.Text = \"No hay cuentas por cobrar\" Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",_lbl.runMethod(true,"getText"),BA.ObjectToString("No hay cuentas por cobrar"))) { 
 BA.debugLineNum = 3346;BA.debugLine="pnlCobranza.RemoveViewAt(i)";
Debug.ShouldStop(131072);
__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runVoidMethod ("RemoveViewAt",(Object)(BA.numberCast(int.class, _i)));
 };
 };
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 3350;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"SELECT ROW";
Debug.ShouldStop(2097152);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT ROW_NUMBER() OVER (ORDER BY ki.CAT_CL_NOMBRE) AS Secuencia, ki.CAT_CL_CODIGO, ki.CAT_CL_NOMBRE, ap.SALDO_PENDIENTE, IFNULL(a.a_abono,0) as a_abono FROM kmt_info2 ki LEFT JOIN ABONOSP ap ON ki.CAT_CL_CODIGO = ap.CLIENTE LEFT JOIN ABONOS a ON ki.CAT_CL_CODIGO = a.a_cliente WHERE CAST(ap.SALDO_PENDIENTE AS REAL) > 0")))));
 BA.debugLineNum = 3351;BA.debugLine="Log(\"Número de registros: \" & c.RowCount)";
Debug.ShouldStop(4194304);
c_principal.__c.runVoidMethod ("LogImpl","516056331",RemoteObject.concat(RemoteObject.createImmutable("Número de registros: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0);
 BA.debugLineNum = 3353;BA.debugLine="clvCobranza.Clear";
Debug.ShouldStop(16777216);
__ref.getField(false,"_clvcobranza" /*RemoteObject*/ ).runVoidMethod ("_clear");
 BA.debugLineNum = 3355;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(67108864);
{
final int step13 = 1;
final int limit13 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step13 > 0 && _i <= limit13) || (step13 < 0 && _i >= limit13) ;_i = ((int)(0 + _i + step13))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3356;BA.debugLine="c.Position = i";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3358;BA.debugLine="Dim pItem As B4XView = xui.CreatePanel(\"\")";
Debug.ShouldStop(536870912);
_pitem = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_pitem = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("pItem", _pitem);Debug.locals.put("pItem", _pitem);
 BA.debugLineNum = 3359;BA.debugLine="pItem.LoadLayout(\"C_CuentasXCobrar\")";
Debug.ShouldStop(1073741824);
_pitem.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("C_CuentasXCobrar")),__ref.getField(false, "ba"));
 BA.debugLineNum = 3360;BA.debugLine="pItem.SetLayoutAnimated(0, 0, 0, Root.Width, 100";
Debug.ShouldStop(-2147483648);
_pitem.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100)))));
 BA.debugLineNum = 3361;BA.debugLine="pItem.Color = Colors.White";
Debug.ShouldStop(1);
_pitem.runMethod(true,"setColor",c_principal.__c.getField(false,"Colors").getField(true,"White"));
 BA.debugLineNum = 3363;BA.debugLine="pnlContenedorCobranza.SetLayoutAnimated(0, 0, 0,";
Debug.ShouldStop(4);
__ref.getField(false,"_pnlcontenedorcobranza" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_pitem.runMethod(true,"getWidth")),(Object)(_pitem.runMethod(true,"getHeight")));
 BA.debugLineNum = 3364;BA.debugLine="pnlContenedorCobranza.Color = xui.Color_Transpar";
Debug.ShouldStop(8);
__ref.getField(false,"_pnlcontenedorcobranza" /*RemoteObject*/ ).runVoidMethod ("setColor",__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent"));
 BA.debugLineNum = 3366;BA.debugLine="l_Secuencia.Text = c.GetString(\"Secuencia\")";
Debug.ShouldStop(32);
__ref.getField(false,"_l_secuencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("Secuencia")))));
 BA.debugLineNum = 3369;BA.debugLine="Dim codigo As String = c.GetString(\"CAT_CL_CODIG";
Debug.ShouldStop(256);
_codigo = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")));Debug.locals.put("codigo", _codigo);Debug.locals.put("codigo", _codigo);
 BA.debugLineNum = 3370;BA.debugLine="Dim nombre As String = c.GetString(\"CAT_CL_NOMBR";
Debug.ShouldStop(512);
_nombre = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")));Debug.locals.put("nombre", _nombre);Debug.locals.put("nombre", _nombre);
 BA.debugLineNum = 3371;BA.debugLine="If codigo = Null Then codigo = \"\"";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean("n",_codigo)) { 
_codigo = BA.ObjectToString("");Debug.locals.put("codigo", _codigo);};
 BA.debugLineNum = 3372;BA.debugLine="If nombre = Null Then nombre = \"\"";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("n",_nombre)) { 
_nombre = BA.ObjectToString("");Debug.locals.put("nombre", _nombre);};
 BA.debugLineNum = 3373;BA.debugLine="l_Nombre.SingleLine = False";
Debug.ShouldStop(4096);
__ref.getField(false,"_l_nombre" /*RemoteObject*/ ).runVoidMethod ("setSingleLine",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3374;BA.debugLine="l_Nombre.Text = codigo & \" \" & nombre";
Debug.ShouldStop(8192);
__ref.getField(false,"_l_nombre" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_codigo,RemoteObject.createImmutable(" "),_nombre)));
 BA.debugLineNum = 3376;BA.debugLine="l_CuentaXCobrar.Text = \"$\" & NumberFormat(c.GetD";
Debug.ShouldStop(32768);
__ref.getField(false,"_l_cuentaxcobrar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("$"),c_principal.__c.runMethod(true,"NumberFormat",(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2))))));
 BA.debugLineNum = 3377;BA.debugLine="l_Abono.Text = \"$\" & NumberFormat(c.GetDouble(\"a";
Debug.ShouldStop(65536);
__ref.getField(false,"_l_abono" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("$"),c_principal.__c.runMethod(true,"NumberFormat",(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("a_abono")))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2))))));
 BA.debugLineNum = 3379;BA.debugLine="clvCobranza.Add(pItem, \"Item-\" & i)";
Debug.ShouldStop(262144);
__ref.getField(false,"_clvcobranza" /*RemoteObject*/ ).runVoidMethod ("_add",(Object)(_pitem),(Object)((RemoteObject.concat(RemoteObject.createImmutable("Item-"),RemoteObject.createImmutable(_i)))));
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 3382;BA.debugLine="c.Close";
Debug.ShouldStop(2097152);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3383;BA.debugLine="pnlCobranza.Invalidate";
Debug.ShouldStop(4194304);
__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runVoidMethod ("Invalidate");
 BA.debugLineNum = 3385;BA.debugLine="If c.RowCount = 0 Then";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3386;BA.debugLine="Dim lblEmpty As Label";
Debug.ShouldStop(33554432);
_lblempty = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lblEmpty", _lblempty);
 BA.debugLineNum = 3387;BA.debugLine="lblEmpty.Initialize(\"\")";
Debug.ShouldStop(67108864);
_lblempty.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));
 BA.debugLineNum = 3388;BA.debugLine="lblEmpty.Text = \"No hay cuentas por cobrar\"";
Debug.ShouldStop(134217728);
_lblempty.runMethod(true,"setText",BA.ObjectToCharSequence("No hay cuentas por cobrar"));
 BA.debugLineNum = 3389;BA.debugLine="lblEmpty.TextSize = 16";
Debug.ShouldStop(268435456);
_lblempty.runMethod(true,"setTextSize",BA.numberCast(float.class, 16));
 BA.debugLineNum = 3390;BA.debugLine="lblEmpty.TextColor = Colors.Gray";
Debug.ShouldStop(536870912);
_lblempty.runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Gray"));
 BA.debugLineNum = 3391;BA.debugLine="lblEmpty.Gravity = Gravity.CENTER";
Debug.ShouldStop(1073741824);
_lblempty.runMethod(true,"setGravity",c_principal.__c.getField(false,"Gravity").getField(true,"CENTER"));
 BA.debugLineNum = 3392;BA.debugLine="pnlCobranza.AddView(lblEmpty, 0, 100dip, Root.Wi";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_lblempty.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100)))),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)))));
 };
 BA.debugLineNum = 3394;BA.debugLine="End Sub";
Debug.ShouldStop(2);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _checapedido(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("checaPedido (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3280);
if (RapidSub.canDelegate("checapedido")) { return __ref.runUserSub(false, "c_principal","checapedido", __ref);}
RemoteObject _coord = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
int _cor = 0;
 BA.debugLineNum = 3280;BA.debugLine="Sub checaPedido";
Debug.ShouldStop(32768);
 BA.debugLineNum = 3281;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set ge";
Debug.ShouldStop(65536);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info set gestion = 0")));
 BA.debugLineNum = 3282;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL";
Debug.ShouldStop(131072);
c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
c_principal._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE"))));__ref.setField("_c",c_principal._c);
 BA.debugLineNum = 3283;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3284;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g";
Debug.ShouldStop(524288);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info set gestion = 2  WHERE CAT_CL_CODIGO IN (SELECT PC_CLIENTE FROM PEDIDO_CLIENTE)")));
 };
 BA.debugLineNum = 3286;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL";
Debug.ShouldStop(2097152);
c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
c_principal._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT NV_CLIENTE FROM NOVENTA"))));__ref.setField("_c",c_principal._c);
 BA.debugLineNum = 3287;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 = 3288;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g";
Debug.ShouldStop(8388608);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info set gestion = 3  WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA)")));
 };
 BA.debugLineNum = 3291;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(67108864);
_coord = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_coord = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM COORDENADAS"))));Debug.locals.put("coord", _coord);Debug.locals.put("coord", _coord);
 BA.debugLineNum = 3292;BA.debugLine="If coord.RowCount > 0 Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean(">",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3293;BA.debugLine="For cor = 0 To coord.RowCount -1";
Debug.ShouldStop(268435456);
{
final int step12 = 1;
final int limit12 = RemoteObject.solve(new RemoteObject[] {_coord.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_cor = 0 ;
for (;(step12 > 0 && _cor <= limit12) || (step12 < 0 && _cor >= limit12) ;_cor = ((int)(0 + _cor + step12))  ) {
Debug.locals.put("cor", _cor);
 BA.debugLineNum = 3294;BA.debugLine="coord.Position = cor";
Debug.ShouldStop(536870912);
_coord.runMethod(true,"setPosition",BA.numberCast(int.class, _cor));
 BA.debugLineNum = 3295;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km";
Debug.ShouldStop(1073741824);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info set  CAT_CL_LONG = ?, CAT_CL_LAT =?, CAT_CL_BCOORDENADAS = ? where CAT_CL_CODIGO = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LAT")))),(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LONG")))),((RemoteObject.solve(new RemoteObject[] {_coord.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CANTIDAD"))),RemoteObject.createImmutable(1)}, "+",1, 1))),(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))))})))));
 }
}Debug.locals.put("cor", _cor);
;
 };
 BA.debugLineNum = 3299;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(4);
_coord = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_coord = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM ATIENDE"))));Debug.locals.put("coord", _coord);Debug.locals.put("coord", _coord);
 BA.debugLineNum = 3300;BA.debugLine="If coord.RowCount > 0 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean(">",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3301;BA.debugLine="For cor = 0 To coord.RowCount -1";
Debug.ShouldStop(16);
{
final int step19 = 1;
final int limit19 = RemoteObject.solve(new RemoteObject[] {_coord.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_cor = 0 ;
for (;(step19 > 0 && _cor <= limit19) || (step19 < 0 && _cor >= limit19) ;_cor = ((int)(0 + _cor + step19))  ) {
Debug.locals.put("cor", _cor);
 BA.debugLineNum = 3302;BA.debugLine="coord.Position = cor";
Debug.ShouldStop(32);
_coord.runMethod(true,"setPosition",BA.numberCast(int.class, _cor));
 BA.debugLineNum = 3303;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km";
Debug.ShouldStop(64);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info set  CAT_CL_ATIENDE1 = ? where CAT_CL_CODIGO = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ATIENDE")))),(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))))})))));
 }
}Debug.locals.put("cor", _cor);
;
 };
 BA.debugLineNum = 3307;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(1024);
_coord = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_coord = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM GIROS_ACTUAL"))));Debug.locals.put("coord", _coord);Debug.locals.put("coord", _coord);
 BA.debugLineNum = 3308;BA.debugLine="If coord.RowCount > 0 Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean(">",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3309;BA.debugLine="For cor = 0 To coord.RowCount -1";
Debug.ShouldStop(4096);
{
final int step26 = 1;
final int limit26 = RemoteObject.solve(new RemoteObject[] {_coord.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_cor = 0 ;
for (;(step26 > 0 && _cor <= limit26) || (step26 < 0 && _cor >= limit26) ;_cor = ((int)(0 + _cor + step26))  ) {
Debug.locals.put("cor", _cor);
 BA.debugLineNum = 3310;BA.debugLine="coord.Position = cor";
Debug.ShouldStop(8192);
_coord.runMethod(true,"setPosition",BA.numberCast(int.class, _cor));
 BA.debugLineNum = 3311;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km";
Debug.ShouldStop(16384);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info set  CAT_CL_GIRO = ? where CAT_CL_CODIGO = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("GIRO")))),(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))))})))));
 }
}Debug.locals.put("cor", _cor);
;
 };
 BA.debugLineNum = 3314;BA.debugLine="End Sub";
Debug.ShouldStop(131072);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _chkiftableexists(RemoteObject __ref,RemoteObject _db,RemoteObject _table) throws Exception{
try {
		Debug.PushSubsStack("chkIfTableExists (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,334);
if (RapidSub.canDelegate("chkiftableexists")) { return __ref.runUserSub(false, "c_principal","chkiftableexists", __ref, _db, _table);}
RemoteObject _t = RemoteObject.createImmutable(false);
Debug.locals.put("db", _db);
Debug.locals.put("table", _table);
 BA.debugLineNum = 334;BA.debugLine="Sub chkIfTableExists(db As SQL, table As String) A";
Debug.ShouldStop(8192);
 BA.debugLineNum = 335;BA.debugLine="Private t As Boolean = False 'ignore";
Debug.ShouldStop(16384);
_t = c_principal.__c.getField(true,"False");Debug.locals.put("t", _t);Debug.locals.put("t", _t);
 BA.debugLineNum = 336;BA.debugLine="If db.IsInitialized Then";
Debug.ShouldStop(32768);
if (_db.runMethod(true,"IsInitialized").<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 337;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"S";
Debug.ShouldStop(65536);
c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
c_principal._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT name FROM sqlite_master WHERE type='table' AND name='"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_table))),RemoteObject.createImmutable("'"))))));__ref.setField("_c",c_principal._c);
 BA.debugLineNum = 338;BA.debugLine="If c.RowCount > 0 Then t = True";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
_t = c_principal.__c.getField(true,"True");Debug.locals.put("t", _t);};
 BA.debugLineNum = 339;BA.debugLine="c.Close";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 341;BA.debugLine="Return t";
Debug.ShouldStop(1048576);
if (true) return _t;
 BA.debugLineNum = 342;BA.debugLine="End Sub";
Debug.ShouldStop(2097152);
return RemoteObject.createImmutable(false);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _class_globals(RemoteObject __ref) throws Exception{
 //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals";
 //BA.debugLineNum = 2;BA.debugLine="Public rp As RuntimePermissions";
c_principal._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions");__ref.setField("_rp",c_principal._rp);
 //BA.debugLineNum = 3;BA.debugLine="Private Root As B4XView 'ignore";
c_principal._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_principal._root);
 //BA.debugLineNum = 4;BA.debugLine="Private xui As XUI 'ignore";
c_principal._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_principal._xui);
 //BA.debugLineNum = 6;BA.debugLine="Dim rd As C_RespaldoDiario";
c_principal._rd = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_respaldodiario");__ref.setField("_rd",c_principal._rd);
 //BA.debugLineNum = 7;BA.debugLine="Dim reqManager As DBRequestManager";
c_principal._reqmanager = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager");__ref.setField("_reqmanager",c_principal._reqmanager);
 //BA.debugLineNum = 8;BA.debugLine="Dim conectado As String";
c_principal._conectado = RemoteObject.createImmutable("");__ref.setField("_conectado",c_principal._conectado);
 //BA.debugLineNum = 9;BA.debugLine="Dim ime As IME";
c_principal._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",c_principal._ime);
 //BA.debugLineNum = 10;BA.debugLine="Dim t1 As Timer";
c_principal._t1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer");__ref.setField("_t1",c_principal._t1);
 //BA.debugLineNum = 11;BA.debugLine="Dim sb As StringBuilder";
c_principal._sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");__ref.setField("_sb",c_principal._sb);
 //BA.debugLineNum = 12;BA.debugLine="Dim PHONE As Phone";
c_principal._phone = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_phone",c_principal._phone);
 //BA.debugLineNum = 13;BA.debugLine="Dim g As GPS";
c_principal._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_principal._g);
 //BA.debugLineNum = 14;BA.debugLine="Dim trabajar As Button";
c_principal._trabajar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_trabajar",c_principal._trabajar);
 //BA.debugLineNum = 16;BA.debugLine="Dim c As Cursor";
c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_principal._c);
 //BA.debugLineNum = 17;BA.debugLine="Dim d As Cursor";
c_principal._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_principal._d);
 //BA.debugLineNum = 18;BA.debugLine="Dim b As Cursor";
c_principal._b = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_b",c_principal._b);
 //BA.debugLineNum = 19;BA.debugLine="Dim e As Cursor";
c_principal._e = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_e",c_principal._e);
 //BA.debugLineNum = 20;BA.debugLine="Dim f As Cursor";
c_principal._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",c_principal._f);
 //BA.debugLineNum = 21;BA.debugLine="Dim D2 As Cursor";
c_principal._d2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d2",c_principal._d2);
 //BA.debugLineNum = 22;BA.debugLine="Dim lv As ListView";
c_principal._lv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv",c_principal._lv);
 //BA.debugLineNum = 23;BA.debugLine="Dim cargar As Button";
c_principal._cargar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_cargar",c_principal._cargar);
 //BA.debugLineNum = 24;BA.debugLine="Dim pendiente As Button";
c_principal._pendiente = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_pendiente",c_principal._pendiente);
 //BA.debugLineNum = 25;BA.debugLine="Dim foto1() As Byte";
c_principal._foto1 = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});__ref.setField("_foto1",c_principal._foto1);
 //BA.debugLineNum = 26;BA.debugLine="Dim usuario As String";
c_principal._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_principal._usuario);
 //BA.debugLineNum = 27;BA.debugLine="Dim connecta As Button";
c_principal._connecta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_connecta",c_principal._connecta);
 //BA.debugLineNum = 28;BA.debugLine="Dim conn As String";
c_principal._conn = RemoteObject.createImmutable("");__ref.setField("_conn",c_principal._conn);
 //BA.debugLineNum = 29;BA.debugLine="Dim Subir As Button";
c_principal._subir = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_subir",c_principal._subir);
 //BA.debugLineNum = 30;BA.debugLine="Dim cmd As DBCommand";
c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 //BA.debugLineNum = 31;BA.debugLine="Dim TOPE As Int";
c_principal._tope = RemoteObject.createImmutable(0);__ref.setField("_tope",c_principal._tope);
 //BA.debugLineNum = 32;BA.debugLine="Dim COUNT_CLIE As Int";
c_principal._count_clie = RemoteObject.createImmutable(0);__ref.setField("_count_clie",c_principal._count_clie);
 //BA.debugLineNum = 33;BA.debugLine="Dim fecha As String";
c_principal._fecha = RemoteObject.createImmutable("");__ref.setField("_fecha",c_principal._fecha);
 //BA.debugLineNum = 34;BA.debugLine="Dim drop As Double";
c_principal._drop = RemoteObject.createImmutable(0);__ref.setField("_drop",c_principal._drop);
 //BA.debugLineNum = 35;BA.debugLine="Dim efectiva As Double";
c_principal._efectiva = RemoteObject.createImmutable(0);__ref.setField("_efectiva",c_principal._efectiva);
 //BA.debugLineNum = 36;BA.debugLine="Dim L_MONTOD As Label";
c_principal._l_montod = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montod",c_principal._l_montod);
 //BA.debugLineNum = 37;BA.debugLine="Dim l_cuantosc As Label";
c_principal._l_cuantosc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cuantosc",c_principal._l_cuantosc);
 //BA.debugLineNum = 38;BA.debugLine="Dim l_drop As Label";
c_principal._l_drop = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_drop",c_principal._l_drop);
 //BA.debugLineNum = 39;BA.debugLine="Dim l_efectiva As Label";
c_principal._l_efectiva = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efectiva",c_principal._l_efectiva);
 //BA.debugLineNum = 40;BA.debugLine="Dim l_ctast As Label";
c_principal._l_ctast = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ctast",c_principal._l_ctast);
 //BA.debugLineNum = 41;BA.debugLine="Dim BUSCA As Button";
c_principal._busca = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_busca",c_principal._busca);
 //BA.debugLineNum = 42;BA.debugLine="Dim Cuantos As String";
c_principal._cuantos = RemoteObject.createImmutable("");__ref.setField("_cuantos",c_principal._cuantos);
 //BA.debugLineNum = 43;BA.debugLine="Dim l_cuantosn As Label";
c_principal._l_cuantosn = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cuantosn",c_principal._l_cuantosn);
 //BA.debugLineNum = 44;BA.debugLine="Dim e_ruta As EditText";
c_principal._e_ruta = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_e_ruta",c_principal._e_ruta);
 //BA.debugLineNum = 45;BA.debugLine="Dim l_porvisitar As Label";
c_principal._l_porvisitar = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_porvisitar",c_principal._l_porvisitar);
 //BA.debugLineNum = 46;BA.debugLine="Dim b_mapa As Button";
c_principal._b_mapa = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_mapa",c_principal._b_mapa);
 //BA.debugLineNum = 47;BA.debugLine="Dim l_ruta As Label";
c_principal._l_ruta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ruta",c_principal._l_ruta);
 //BA.debugLineNum = 48;BA.debugLine="Dim ALMACEN As String";
c_principal._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",c_principal._almacen);
 //BA.debugLineNum = 49;BA.debugLine="Private img2 As ImageView";
c_principal._img2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_img2",c_principal._img2);
 //BA.debugLineNum = 50;BA.debugLine="Dim Listo1 As String";
c_principal._listo1 = RemoteObject.createImmutable("");__ref.setField("_listo1",c_principal._listo1);
 //BA.debugLineNum = 51;BA.debugLine="Dim Listo2 As String";
c_principal._listo2 = RemoteObject.createImmutable("");__ref.setField("_listo2",c_principal._listo2);
 //BA.debugLineNum = 52;BA.debugLine="Dim Listo3 As String";
c_principal._listo3 = RemoteObject.createImmutable("");__ref.setField("_listo3",c_principal._listo3);
 //BA.debugLineNum = 53;BA.debugLine="Dim Listo4 As String";
c_principal._listo4 = RemoteObject.createImmutable("");__ref.setField("_listo4",c_principal._listo4);
 //BA.debugLineNum = 54;BA.debugLine="Dim Listo5 As String";
c_principal._listo5 = RemoteObject.createImmutable("");__ref.setField("_listo5",c_principal._listo5);
 //BA.debugLineNum = 55;BA.debugLine="Dim EJECUTANDO As String";
c_principal._ejecutando = RemoteObject.createImmutable("");__ref.setField("_ejecutando",c_principal._ejecutando);
 //BA.debugLineNum = 56;BA.debugLine="Dim RES As String";
c_principal._res = RemoteObject.createImmutable("");__ref.setField("_res",c_principal._res);
 //BA.debugLineNum = 57;BA.debugLine="Dim inve As String";
c_principal._inve = RemoteObject.createImmutable("");__ref.setField("_inve",c_principal._inve);
 //BA.debugLineNum = 58;BA.debugLine="Dim cuantos_pedidosc As String";
c_principal._cuantos_pedidosc = RemoteObject.createImmutable("");__ref.setField("_cuantos_pedidosc",c_principal._cuantos_pedidosc);
 //BA.debugLineNum = 59;BA.debugLine="Dim cuantos_pedido As String";
c_principal._cuantos_pedido = RemoteObject.createImmutable("");__ref.setField("_cuantos_pedido",c_principal._cuantos_pedido);
 //BA.debugLineNum = 60;BA.debugLine="Dim cuantos_noventa As String";
c_principal._cuantos_noventa = RemoteObject.createImmutable("");__ref.setField("_cuantos_noventa",c_principal._cuantos_noventa);
 //BA.debugLineNum = 61;BA.debugLine="Dim datos_iguales As String";
c_principal._datos_iguales = RemoteObject.createImmutable("");__ref.setField("_datos_iguales",c_principal._datos_iguales);
 //BA.debugLineNum = 62;BA.debugLine="Dim p As PhoneId";
c_principal._p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.PhoneId");__ref.setField("_p",c_principal._p);
 //BA.debugLineNum = 63;BA.debugLine="Dim imei As String";
c_principal._imei = RemoteObject.createImmutable("");__ref.setField("_imei",c_principal._imei);
 //BA.debugLineNum = 65;BA.debugLine="Private inv As Button";
c_principal._inv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_inv",c_principal._inv);
 //BA.debugLineNum = 66;BA.debugLine="Private P1 As Panel";
c_principal._p1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p1",c_principal._p1);
 //BA.debugLineNum = 67;BA.debugLine="Private CLAVE As EditText";
c_principal._clave = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_clave",c_principal._clave);
 //BA.debugLineNum = 68;BA.debugLine="Private B_OK_PAS As Button";
c_principal._b_ok_pas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_ok_pas",c_principal._b_ok_pas);
 //BA.debugLineNum = 69;BA.debugLine="Dim PASO As String";
c_principal._paso = RemoteObject.createImmutable("");__ref.setField("_paso",c_principal._paso);
 //BA.debugLineNum = 70;BA.debugLine="Private USUARIO1 As EditText";
c_principal._usuario1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_usuario1",c_principal._usuario1);
 //BA.debugLineNum = 71;BA.debugLine="Dim connecta1 As Double";
c_principal._connecta1 = RemoteObject.createImmutable(0);__ref.setField("_connecta1",c_principal._connecta1);
 //BA.debugLineNum = 72;BA.debugLine="Dim armafolio As String";
c_principal._armafolio = RemoteObject.createImmutable("");__ref.setField("_armafolio",c_principal._armafolio);
 //BA.debugLineNum = 73;BA.debugLine="Private NUEVO As Button";
c_principal._nuevo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_nuevo",c_principal._nuevo);
 //BA.debugLineNum = 74;BA.debugLine="Private S_CC As Label";
c_principal._s_cc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_s_cc",c_principal._s_cc);
 //BA.debugLineNum = 75;BA.debugLine="Private S_CP As Label";
c_principal._s_cp = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_s_cp",c_principal._s_cp);
 //BA.debugLineNum = 76;BA.debugLine="Private S_CH As Label";
c_principal._s_ch = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_s_ch",c_principal._s_ch);
 //BA.debugLineNum = 77;BA.debugLine="Private PB2 As ProgressBar";
c_principal._pb2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ProgressBarWrapper");__ref.setField("_pb2",c_principal._pb2);
 //BA.debugLineNum = 78;BA.debugLine="Private PB1 As ProgressBar";
c_principal._pb1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ProgressBarWrapper");__ref.setField("_pb1",c_principal._pb1);
 //BA.debugLineNum = 79;BA.debugLine="Private L_P_1 As Label";
c_principal._l_p_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_p_1",c_principal._l_p_1);
 //BA.debugLineNum = 80;BA.debugLine="Private L_P_2 As Label";
c_principal._l_p_2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_p_2",c_principal._l_p_2);
 //BA.debugLineNum = 81;BA.debugLine="Private L_P_3 As Label";
c_principal._l_p_3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_p_3",c_principal._l_p_3);
 //BA.debugLineNum = 82;BA.debugLine="Private CARGA As String";
c_principal._carga = RemoteObject.createImmutable("");__ref.setField("_carga",c_principal._carga);
 //BA.debugLineNum = 83;BA.debugLine="Private PORCENTAJE As String";
c_principal._porcentaje = RemoteObject.createImmutable("");__ref.setField("_porcentaje",c_principal._porcentaje);
 //BA.debugLineNum = 84;BA.debugLine="Private P_RESUMEN As Panel";
c_principal._p_resumen = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_resumen",c_principal._p_resumen);
 //BA.debugLineNum = 85;BA.debugLine="Private B_OK_RES As Button";
c_principal._b_ok_res = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_ok_res",c_principal._b_ok_res);
 //BA.debugLineNum = 86;BA.debugLine="Private Resumen As Button";
c_principal._resumen = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_resumen",c_principal._resumen);
 //BA.debugLineNum = 87;BA.debugLine="Private L_CUANTOST As Label";
c_principal._l_cuantost = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cuantost",c_principal._l_cuantost);
 //BA.debugLineNum = 88;BA.debugLine="Private img3 As ImageView";
c_principal._img3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_img3",c_principal._img3);
 //BA.debugLineNum = 89;BA.debugLine="Private ImageView3 As ImageView";
c_principal._imageview3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview3",c_principal._imageview3);
 //BA.debugLineNum = 90;BA.debugLine="Private ImageView5 As ImageView";
c_principal._imageview5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview5",c_principal._imageview5);
 //BA.debugLineNum = 91;BA.debugLine="Private L_TICKPROM As Label";
c_principal._l_tickprom = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_tickprom",c_principal._l_tickprom);
 //BA.debugLineNum = 92;BA.debugLine="Private L_MARCAS As ListView";
c_principal._l_marcas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_l_marcas",c_principal._l_marcas);
 //BA.debugLineNum = 93;BA.debugLine="Private ImageView9 As ImageView";
c_principal._imageview9 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview9",c_principal._imageview9);
 //BA.debugLineNum = 94;BA.debugLine="Private E_RUTA2 As EditText";
c_principal._e_ruta2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_e_ruta2",c_principal._e_ruta2);
 //BA.debugLineNum = 95;BA.debugLine="Private resdia As ImageView";
c_principal._resdia = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_resdia",c_principal._resdia);
 //BA.debugLineNum = 96;BA.debugLine="Private hacer_ped As ImageView";
c_principal._hacer_ped = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_hacer_ped",c_principal._hacer_ped);
 //BA.debugLineNum = 97;BA.debugLine="Private nvo_cliente As ImageView";
c_principal._nvo_cliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_nvo_cliente",c_principal._nvo_cliente);
 //BA.debugLineNum = 98;BA.debugLine="Private tickets_dia As ImageView";
c_principal._tickets_dia = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_tickets_dia",c_principal._tickets_dia);
 //BA.debugLineNum = 99;BA.debugLine="Private l_monto_ks As Label";
c_principal._l_monto_ks = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_ks",c_principal._l_monto_ks);
 //BA.debugLineNum = 100;BA.debugLine="Private l_monto_kp As Label";
c_principal._l_monto_kp = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_kp",c_principal._l_monto_kp);
 //BA.debugLineNum = 101;BA.debugLine="Private l_monto_k As Label";
c_principal._l_monto_k = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_k",c_principal._l_monto_k);
 //BA.debugLineNum = 102;BA.debugLine="Private l_monto_c1 As Label";
c_principal._l_monto_c1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_c1",c_principal._l_monto_c1);
 //BA.debugLineNum = 103;BA.debugLine="Private l_monto_c2 As Label";
c_principal._l_monto_c2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_c2",c_principal._l_monto_c2);
 //BA.debugLineNum = 104;BA.debugLine="Private l_monto_c3 As Label";
c_principal._l_monto_c3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_c3",c_principal._l_monto_c3);
 //BA.debugLineNum = 105;BA.debugLine="Private l_encuesta As Label";
c_principal._l_encuesta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_encuesta",c_principal._l_encuesta);
 //BA.debugLineNum = 106;BA.debugLine="Private bpv1 As BatteryProgressView";
c_principal._bpv1 = RemoteObject.createNew ("batteryprogressviewwrapper.batteryprogressviewWrapper");__ref.setField("_bpv1",c_principal._bpv1);
 //BA.debugLineNum = 107;BA.debugLine="Dim batterystatus(11) As Int";
c_principal._batterystatus = RemoteObject.createNewArray ("int", new int[] {11}, new Object[]{});__ref.setField("_batterystatus",c_principal._batterystatus);
 //BA.debugLineNum = 108;BA.debugLine="Private bu As BatteryUtilities";
c_principal._bu = RemoteObject.createNew ("SHARK2.keymon.com.mx.batteryutilities");__ref.setField("_bu",c_principal._bu);
 //BA.debugLineNum = 109;BA.debugLine="Private L_NES As Label";
c_principal._l_nes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_nes",c_principal._l_nes);
 //BA.debugLineNum = 110;BA.debugLine="Private L_REAL As Label";
c_principal._l_real = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_real",c_principal._l_real);
 //BA.debugLineNum = 111;BA.debugLine="Private L_ALCANCE As Label";
c_principal._l_alcance = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_alcance",c_principal._l_alcance);
 //BA.debugLineNum = 112;BA.debugLine="Private L_VPLAN As Label";
c_principal._l_vplan = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vplan",c_principal._l_vplan);
 //BA.debugLineNum = 113;BA.debugLine="Private L_VREAL As Label";
c_principal._l_vreal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vreal",c_principal._l_vreal);
 //BA.debugLineNum = 114;BA.debugLine="Private L_EFEC_VIS As Label";
c_principal._l_efec_vis = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efec_vis",c_principal._l_efec_vis);
 //BA.debugLineNum = 115;BA.debugLine="Private L_VISITCC As Label";
c_principal._l_visitcc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_visitcc",c_principal._l_visitcc);
 //BA.debugLineNum = 116;BA.debugLine="Private L_EFEC_PV As Label";
c_principal._l_efec_pv = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efec_pv",c_principal._l_efec_pv);
 //BA.debugLineNum = 117;BA.debugLine="Private L_EFEC_PURA As Label";
c_principal._l_efec_pura = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efec_pura",c_principal._l_efec_pura);
 //BA.debugLineNum = 118;BA.debugLine="Private L_CTE_PROMO As Label";
c_principal._l_cte_promo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cte_promo",c_principal._l_cte_promo);
 //BA.debugLineNum = 119;BA.debugLine="Private L_REDEN_PROMO As Label";
c_principal._l_reden_promo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_reden_promo",c_principal._l_reden_promo);
 //BA.debugLineNum = 120;BA.debugLine="Private L_LIN_TICK As Label";
c_principal._l_lin_tick = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_lin_tick",c_principal._l_lin_tick);
 //BA.debugLineNum = 121;BA.debugLine="Private SCROLL_RESDIA As ScrollView";
c_principal._scroll_resdia = RemoteObject.createNew ("anywheresoftware.b4a.objects.ScrollViewWrapper");__ref.setField("_scroll_resdia",c_principal._scroll_resdia);
 //BA.debugLineNum = 122;BA.debugLine="Private L_ACUMULADO As Label";
c_principal._l_acumulado = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_acumulado",c_principal._l_acumulado);
 //BA.debugLineNum = 123;BA.debugLine="Private L_UNILEVER As Label";
c_principal._l_unilever = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_unilever",c_principal._l_unilever);
 //BA.debugLineNum = 124;BA.debugLine="Private L_RECHAZOP As Label";
c_principal._l_rechazop = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_rechazop",c_principal._l_rechazop);
 //BA.debugLineNum = 125;BA.debugLine="Private L_RECHAZOM As Label";
c_principal._l_rechazom = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_rechazom",c_principal._l_rechazom);
 //BA.debugLineNum = 126;BA.debugLine="Private L_VTA_3MES As Label";
c_principal._l_vta_3mes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vta_3mes",c_principal._l_vta_3mes);
 //BA.debugLineNum = 127;BA.debugLine="Private L_VTA_2MES As Label";
c_principal._l_vta_2mes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vta_2mes",c_principal._l_vta_2mes);
 //BA.debugLineNum = 128;BA.debugLine="Private L_VTA_1MES As Label";
c_principal._l_vta_1mes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vta_1mes",c_principal._l_vta_1mes);
 //BA.debugLineNum = 129;BA.debugLine="Private L_MES_PY As Label";
c_principal._l_mes_py = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_mes_py",c_principal._l_mes_py);
 //BA.debugLineNum = 130;BA.debugLine="Private L_FREC_DE_CREAL As Label";
c_principal._l_frec_de_creal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_frec_de_creal",c_principal._l_frec_de_creal);
 //BA.debugLineNum = 131;BA.debugLine="Private L_FREC_DE_COBJ As Label";
c_principal._l_frec_de_cobj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_frec_de_cobj",c_principal._l_frec_de_cobj);
 //BA.debugLineNum = 132;BA.debugLine="Private L_COB_VISIT As Label";
c_principal._l_cob_visit = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cob_visit",c_principal._l_cob_visit);
 //BA.debugLineNum = 133;BA.debugLine="Private L_VISIT_REAL As Label";
c_principal._l_visit_real = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_visit_real",c_principal._l_visit_real);
 //BA.debugLineNum = 134;BA.debugLine="Private L_VISIT_PLAN As Label";
c_principal._l_visit_plan = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_visit_plan",c_principal._l_visit_plan);
 //BA.debugLineNum = 135;BA.debugLine="Private L_ECO As Label";
c_principal._l_eco = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_eco",c_principal._l_eco);
 //BA.debugLineNum = 136;BA.debugLine="Private L_COB_CCC As Label";
c_principal._l_cob_ccc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cob_ccc",c_principal._l_cob_ccc);
 //BA.debugLineNum = 137;BA.debugLine="Private L_CTES As Label";
c_principal._l_ctes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ctes",c_principal._l_ctes);
 //BA.debugLineNum = 138;BA.debugLine="Private L_VPO_VTA As Label";
c_principal._l_vpo_vta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vpo_vta",c_principal._l_vpo_vta);
 //BA.debugLineNum = 139;BA.debugLine="Private L_VPO_OBJ As Label";
c_principal._l_vpo_obj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vpo_obj",c_principal._l_vpo_obj);
 //BA.debugLineNum = 140;BA.debugLine="Private L_DS_VTA As Label";
c_principal._l_ds_vta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ds_vta",c_principal._l_ds_vta);
 //BA.debugLineNum = 141;BA.debugLine="Private L_DS_OBJ As Label";
c_principal._l_ds_obj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ds_obj",c_principal._l_ds_obj);
 //BA.debugLineNum = 142;BA.debugLine="Private L_DRA_VTA As Label";
c_principal._l_dra_vta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_dra_vta",c_principal._l_dra_vta);
 //BA.debugLineNum = 143;BA.debugLine="Private L_DRA_OBJ As Label";
c_principal._l_dra_obj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_dra_obj",c_principal._l_dra_obj);
 //BA.debugLineNum = 144;BA.debugLine="Private L_ALCANCEM As Label";
c_principal._l_alcancem = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_alcancem",c_principal._l_alcancem);
 //BA.debugLineNum = 145;BA.debugLine="Private L_TENDENCIA As Label";
c_principal._l_tendencia = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_tendencia",c_principal._l_tendencia);
 //BA.debugLineNum = 146;BA.debugLine="Private L_VTA_ACUM As Label";
c_principal._l_vta_acum = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vta_acum",c_principal._l_vta_acum);
 //BA.debugLineNum = 147;BA.debugLine="Private L_OBJ_MES As Label";
c_principal._l_obj_mes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_obj_mes",c_principal._l_obj_mes);
 //BA.debugLineNum = 148;BA.debugLine="Private L_DS_OBJD As Label";
c_principal._l_ds_objd = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ds_objd",c_principal._l_ds_objd);
 //BA.debugLineNum = 149;BA.debugLine="Private L_DS_VTAD As Label";
c_principal._l_ds_vtad = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ds_vtad",c_principal._l_ds_vtad);
 //BA.debugLineNum = 150;BA.debugLine="Private LPT As String";
c_principal._lpt = RemoteObject.createImmutable("");__ref.setField("_lpt",c_principal._lpt);
 //BA.debugLineNum = 151;BA.debugLine="Private STEYIN As String";
c_principal._steyin = RemoteObject.createImmutable("");__ref.setField("_steyin",c_principal._steyin);
 //BA.debugLineNum = 152;BA.debugLine="Private STEYOUT As String";
c_principal._steyout = RemoteObject.createImmutable("");__ref.setField("_steyout",c_principal._steyout);
 //BA.debugLineNum = 153;BA.debugLine="Private L_PRIO As Label";
c_principal._l_prio = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prio",c_principal._l_prio);
 //BA.debugLineNum = 154;BA.debugLine="Private L_SECUND As Label";
c_principal._l_secund = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_secund",c_principal._l_secund);
 //BA.debugLineNum = 155;BA.debugLine="Private L_COMP As Label";
c_principal._l_comp = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_comp",c_principal._l_comp);
 //BA.debugLineNum = 156;BA.debugLine="Private stay_hh As String";
c_principal._stay_hh = RemoteObject.createImmutable("");__ref.setField("_stay_hh",c_principal._stay_hh);
 //BA.debugLineNum = 157;BA.debugLine="Private stay_mi As String";
c_principal._stay_mi = RemoteObject.createImmutable("");__ref.setField("_stay_mi",c_principal._stay_mi);
 //BA.debugLineNum = 158;BA.debugLine="Private stay_ss As String";
c_principal._stay_ss = RemoteObject.createImmutable("");__ref.setField("_stay_ss",c_principal._stay_ss);
 //BA.debugLineNum = 159;BA.debugLine="Dim sDate,sTime As String";
c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate);
c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime);
 //BA.debugLineNum = 160;BA.debugLine="Dim HORAINGRESO As String";
c_principal._horaingreso = RemoteObject.createImmutable("");__ref.setField("_horaingreso",c_principal._horaingreso);
 //BA.debugLineNum = 161;BA.debugLine="Private L_QUALA As Label";
c_principal._l_quala = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_quala",c_principal._l_quala);
 //BA.debugLineNum = 162;BA.debugLine="Private L_FERRERO As Label";
c_principal._l_ferrero = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ferrero",c_principal._l_ferrero);
 //BA.debugLineNum = 163;BA.debugLine="Private L_SANMARCOS As Label";
c_principal._l_sanmarcos = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_sanmarcos",c_principal._l_sanmarcos);
 //BA.debugLineNum = 164;BA.debugLine="Private L_CAMPARI As Label";
c_principal._l_campari = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_campari",c_principal._l_campari);
 //BA.debugLineNum = 165;BA.debugLine="Private L_IBERIA As Label";
c_principal._l_iberia = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_iberia",c_principal._l_iberia);
 //BA.debugLineNum = 166;BA.debugLine="Private L_BEPENSA As Label";
c_principal._l_bepensa = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_bepensa",c_principal._l_bepensa);
 //BA.debugLineNum = 167;BA.debugLine="Private L_SCJ As Label";
c_principal._l_scj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_scj",c_principal._l_scj);
 //BA.debugLineNum = 168;BA.debugLine="Private L_MEDJ As Label";
c_principal._l_medj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_medj",c_principal._l_medj);
 //BA.debugLineNum = 169;BA.debugLine="Private L_DURACELL As Label";
c_principal._l_duracell = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_duracell",c_principal._l_duracell);
 //BA.debugLineNum = 170;BA.debugLine="Private L_GUNA As Label";
c_principal._l_guna = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_guna",c_principal._l_guna);
 //BA.debugLineNum = 171;BA.debugLine="Private L_KIMB As Label";
c_principal._l_kimb = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_kimb",c_principal._l_kimb);
 //BA.debugLineNum = 172;BA.debugLine="Private L_TRESM As Label";
c_principal._l_tresm = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_tresm",c_principal._l_tresm);
 //BA.debugLineNum = 173;BA.debugLine="Private L_REDB As Label";
c_principal._l_redb = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_redb",c_principal._l_redb);
 //BA.debugLineNum = 174;BA.debugLine="Private Btn_Ubicar As Button";
c_principal._btn_ubicar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_btn_ubicar",c_principal._btn_ubicar);
 //BA.debugLineNum = 175;BA.debugLine="Private B_COMM As Button";
c_principal._b_comm = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_comm",c_principal._b_comm);
 //BA.debugLineNum = 176;BA.debugLine="Private L_TOTAL_MM As Label";
c_principal._l_total_mm = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_mm",c_principal._l_total_mm);
 //BA.debugLineNum = 177;BA.debugLine="Private L_TOTAL_VIVE As Label";
c_principal._l_total_vive = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_vive",c_principal._l_total_vive);
 //BA.debugLineNum = 178;BA.debugLine="Private L_TOTAL_GUNA As Label";
c_principal._l_total_guna = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_guna",c_principal._l_total_guna);
 //BA.debugLineNum = 179;BA.debugLine="Private L_TOTAL_BA As Label";
c_principal._l_total_ba = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_ba",c_principal._l_total_ba);
 //BA.debugLineNum = 180;BA.debugLine="Private L_TOTAL_COMIS As Label";
c_principal._l_total_comis = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_comis",c_principal._l_total_comis);
 //BA.debugLineNum = 181;BA.debugLine="Private L_TOTAL_MM_1 As Label";
c_principal._l_total_mm_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_mm_1",c_principal._l_total_mm_1);
 //BA.debugLineNum = 182;BA.debugLine="Private L_TOTAL_VIVE_1 As Label";
c_principal._l_total_vive_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_vive_1",c_principal._l_total_vive_1);
 //BA.debugLineNum = 183;BA.debugLine="Private L_TOTAL_GUNA_1 As Label";
c_principal._l_total_guna_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_guna_1",c_principal._l_total_guna_1);
 //BA.debugLineNum = 184;BA.debugLine="Private L_TOTAL_BA_1 As Label";
c_principal._l_total_ba_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_ba_1",c_principal._l_total_ba_1);
 //BA.debugLineNum = 185;BA.debugLine="Private L_TOTAL_COMIS_1 As Label";
c_principal._l_total_comis_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_comis_1",c_principal._l_total_comis_1);
 //BA.debugLineNum = 186;BA.debugLine="Private B_OK_COMISS As Button";
c_principal._b_ok_comiss = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_ok_comiss",c_principal._b_ok_comiss);
 //BA.debugLineNum = 187;BA.debugLine="Private Panel_C As Panel";
c_principal._panel_c = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel_c",c_principal._panel_c);
 //BA.debugLineNum = 188;BA.debugLine="Private TitleHeight As Int = 50dip";
c_principal._titleheight = c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)));__ref.setField("_titleheight",c_principal._titleheight);
 //BA.debugLineNum = 189;BA.debugLine="Private Title2Height As Int = 100dip";
c_principal._title2height = c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100)));__ref.setField("_title2height",c_principal._title2height);
 //BA.debugLineNum = 190;BA.debugLine="Private DividerHeight As Int = 5dip";
c_principal._dividerheight = c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)));__ref.setField("_dividerheight",c_principal._dividerheight);
 //BA.debugLineNum = 191;BA.debugLine="Private CLV1 As CustomListView";
c_principal._clv1 = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv1",c_principal._clv1);
 //BA.debugLineNum = 192;BA.debugLine="Private pnlTitle As B4XView";
c_principal._pnltitle = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_pnltitle",c_principal._pnltitle);
 //BA.debugLineNum = 193;BA.debugLine="Private xui As XUI";
c_principal._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_principal._xui);
 //BA.debugLineNum = 194;BA.debugLine="Type TitleData (Title As String)";
;
 //BA.debugLineNum = 195;BA.debugLine="Private B_MARCAS As Button";
c_principal._b_marcas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_marcas",c_principal._b_marcas);
 //BA.debugLineNum = 196;BA.debugLine="Private Panel5 As Panel";
c_principal._panel5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel5",c_principal._panel5);
 //BA.debugLineNum = 197;BA.debugLine="Private lblTitle As Label";
c_principal._lbltitle = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lbltitle",c_principal._lbltitle);
 //BA.debugLineNum = 198;BA.debugLine="Private B_OK_PANEL5 As Button";
c_principal._b_ok_panel5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_ok_panel5",c_principal._b_ok_panel5);
 //BA.debugLineNum = 199;BA.debugLine="Private p_principal As Panel";
c_principal._p_principal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_principal",c_principal._p_principal);
 //BA.debugLineNum = 200;BA.debugLine="Private p_mandaInfo As Panel";
c_principal._p_mandainfo = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_mandainfo",c_principal._p_mandainfo);
 //BA.debugLineNum = 201;BA.debugLine="Dim s As Cursor";
c_principal._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_principal._s);
 //BA.debugLineNum = 202;BA.debugLine="Private Label22 As Label";
c_principal._label22 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label22",c_principal._label22);
 //BA.debugLineNum = 203;BA.debugLine="Private l_rutasuplencia As Label";
c_principal._l_rutasuplencia = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_rutasuplencia",c_principal._l_rutasuplencia);
 //BA.debugLineNum = 204;BA.debugLine="Dim userpiezas As String";
c_principal._userpiezas = RemoteObject.createImmutable("");__ref.setField("_userpiezas",c_principal._userpiezas);
 //BA.debugLineNum = 205;BA.debugLine="Private b_abordo As Button";
c_principal._b_abordo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_abordo",c_principal._b_abordo);
 //BA.debugLineNum = 206;BA.debugLine="Private L_ABORDO As Label";
c_principal._l_abordo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_abordo",c_principal._l_abordo);
 //BA.debugLineNum = 207;BA.debugLine="Private L_VENTA As Label";
c_principal._l_venta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_venta",c_principal._l_venta);
 //BA.debugLineNum = 208;BA.debugLine="Private L_PREVENTA As Label";
c_principal._l_preventa = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_preventa",c_principal._l_preventa);
 //BA.debugLineNum = 209;BA.debugLine="Private p_abordo As Panel";
c_principal._p_abordo = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_abordo",c_principal._p_abordo);
 //BA.debugLineNum = 210;BA.debugLine="Private Panel11 As Panel";
c_principal._panel11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel11",c_principal._panel11);
 //BA.debugLineNum = 211;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView";
c_principal._clv_pick_ciego = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_pick_ciego",c_principal._clv_pick_ciego);
 //BA.debugLineNum = 212;BA.debugLine="Private P_PICK_CIEGO As Panel";
c_principal._p_pick_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_pick_ciego",c_principal._p_pick_ciego);
 //BA.debugLineNum = 213;BA.debugLine="Dim ET_PICK_CIEGO As EditText";
c_principal._et_pick_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_pick_ciego",c_principal._et_pick_ciego);
 //BA.debugLineNum = 214;BA.debugLine="Private L_PICK_CIEGO As Label";
c_principal._l_pick_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pick_ciego",c_principal._l_pick_ciego);
 //BA.debugLineNum = 215;BA.debugLine="Private P_CIEGO As Panel";
c_principal._p_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_ciego",c_principal._p_ciego);
 //BA.debugLineNum = 216;BA.debugLine="Dim Panel4 As Panel";
c_principal._panel4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel4",c_principal._panel4);
 //BA.debugLineNum = 217;BA.debugLine="Dim q_buscar As String";
c_principal._q_buscar = RemoteObject.createImmutable("");__ref.setField("_q_buscar",c_principal._q_buscar);
 //BA.debugLineNum = 218;BA.debugLine="Private et_buspc As EditText";
c_principal._et_buspc = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_buspc",c_principal._et_buspc);
 //BA.debugLineNum = 219;BA.debugLine="Private b_tabulador As Button";
c_principal._b_tabulador = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_tabulador",c_principal._b_tabulador);
 //BA.debugLineNum = 220;BA.debugLine="Private p_b_tabulador As Panel";
c_principal._p_b_tabulador = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_b_tabulador",c_principal._p_b_tabulador);
 //BA.debugLineNum = 221;BA.debugLine="Private pnlCobranza As Panel";
c_principal._pnlcobranza = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnlcobranza",c_principal._pnlcobranza);
 //BA.debugLineNum = 222;BA.debugLine="Private clvCobranza As CustomListView";
c_principal._clvcobranza = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clvcobranza",c_principal._clvcobranza);
 //BA.debugLineNum = 223;BA.debugLine="Private pnlBtnCobranza As Panel";
c_principal._pnlbtncobranza = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnlbtncobranza",c_principal._pnlbtncobranza);
 //BA.debugLineNum = 224;BA.debugLine="Private btnCobranza As Button";
c_principal._btncobranza = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_btncobranza",c_principal._btncobranza);
 //BA.debugLineNum = 225;BA.debugLine="Private pnlBtnRegresar As Panel";
c_principal._pnlbtnregresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnlbtnregresar",c_principal._pnlbtnregresar);
 //BA.debugLineNum = 226;BA.debugLine="Private btnRegresar As Button";
c_principal._btnregresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_btnregresar",c_principal._btnregresar);
 //BA.debugLineNum = 227;BA.debugLine="Private l_Secuencia As Label";
c_principal._l_secuencia = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_secuencia",c_principal._l_secuencia);
 //BA.debugLineNum = 228;BA.debugLine="Dim pnlContenedorCobranza As Panel";
c_principal._pnlcontenedorcobranza = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnlcontenedorcobranza",c_principal._pnlcontenedorcobranza);
 //BA.debugLineNum = 229;BA.debugLine="Private l_Nombre As Label";
c_principal._l_nombre = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_nombre",c_principal._l_nombre);
 //BA.debugLineNum = 230;BA.debugLine="Private l_CuentaXCobrar As Label";
c_principal._l_cuentaxcobrar = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cuentaxcobrar",c_principal._l_cuentaxcobrar);
 //BA.debugLineNum = 231;BA.debugLine="Private l_Abono As Label";
c_principal._l_abono = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_abono",c_principal._l_abono);
 //BA.debugLineNum = 232;BA.debugLine="Private pnlCabecero As Panel";
c_principal._pnlcabecero = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnlcabecero",c_principal._pnlcabecero);
 //BA.debugLineNum = 233;BA.debugLine="Private lblAbono As Label";
c_principal._lblabono = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lblabono",c_principal._lblabono);
 //BA.debugLineNum = 234;BA.debugLine="Private lblSaldo As Label";
c_principal._lblsaldo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lblsaldo",c_principal._lblsaldo);
 //BA.debugLineNum = 235;BA.debugLine="Private lblCliente As Label";
c_principal._lblcliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lblcliente",c_principal._lblcliente);
 //BA.debugLineNum = 236;BA.debugLine="Private lblSec As Label";
c_principal._lblsec = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lblsec",c_principal._lblsec);
 //BA.debugLineNum = 237;BA.debugLine="Private pnlTotal As Panel";
c_principal._pnltotal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnltotal",c_principal._pnltotal);
 //BA.debugLineNum = 238;BA.debugLine="Private lblTotal As Label";
c_principal._lbltotal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lbltotal",c_principal._lbltotal);
 //BA.debugLineNum = 239;BA.debugLine="Private lblVersion As Label";
c_principal._lblversion = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lblversion",c_principal._lblversion);
 //BA.debugLineNum = 240;BA.debugLine="Dim lista_punta As List";
c_principal._lista_punta = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_lista_punta",c_principal._lista_punta);
 //BA.debugLineNum = 241;BA.debugLine="Private p_prod As Panel";
c_principal._p_prod = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_prod",c_principal._p_prod);
 //BA.debugLineNum = 242;BA.debugLine="Private lv_prod_Prin As ListView";
c_principal._lv_prod_prin = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_prod_prin",c_principal._lv_prod_prin);
 //BA.debugLineNum = 243;BA.debugLine="Private b_regreso As Button";
c_principal._b_regreso = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_regreso",c_principal._b_regreso);
 //BA.debugLineNum = 244;BA.debugLine="Private b_productos As Button";
c_principal._b_productos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_productos",c_principal._b_productos);
 //BA.debugLineNum = 246;BA.debugLine="End Sub";
return RemoteObject.createImmutable("");
}
public static RemoteObject  _connecta_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("connecta_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2509);
if (RapidSub.canDelegate("connecta_click")) { return __ref.runUserSub(false, "c_principal","connecta_click", __ref);}
 BA.debugLineNum = 2509;BA.debugLine="Sub connecta_Click";
Debug.ShouldStop(4096);
 BA.debugLineNum = 2510;BA.debugLine="Log( Starter.DBReqServer)";
Debug.ShouldStop(8192);
c_principal.__c.runVoidMethod ("LogImpl","514155777",c_principal._starter._dbreqserver /*RemoteObject*/ ,0);
 BA.debugLineNum = 2511;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)";
Debug.ShouldStop(16384);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_principal._starter._dbreqserver /*RemoteObject*/ ));
 BA.debugLineNum = 2512;BA.debugLine="ime.HideKeyboard";
Debug.ShouldStop(32768);
__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba"));
 BA.debugLineNum = 2513;BA.debugLine="connecta1 = connecta1 + 1";
Debug.ShouldStop(65536);
__ref.setField ("_connecta1" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_connecta1" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 0));
 BA.debugLineNum = 2515;BA.debugLine="imei = \"xxxx\"";
Debug.ShouldStop(262144);
__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString("xxxx"));
 BA.debugLineNum = 2516;BA.debugLine="conn = \"1\"";
Debug.ShouldStop(524288);
__ref.setField ("_conn" /*RemoteObject*/ ,BA.ObjectToString("1"));
 BA.debugLineNum = 2536;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(128);
c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 2537;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 2539;BA.debugLine="cmd.Name = \"select_ruta_SHARK23\"";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_ruta_SHARK23"));
 BA.debugLineNum = 2540;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta.";
Debug.ShouldStop(2048);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 2542;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")";
Debug.ShouldStop(8192);
__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("ruta"))));
 BA.debugLineNum = 2544;BA.debugLine="If e_ruta.Text = \"KMTS1\" Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { 
 BA.debugLineNum = 2545;BA.debugLine="cargar.Visible = True";
Debug.ShouldStop(65536);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2546;BA.debugLine="Subir.Visible = True";
Debug.ShouldStop(131072);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2547;BA.debugLine="e_ruta.Text = \"\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 };
 BA.debugLineNum = 2550;BA.debugLine="If e_ruta.Text = \"BERNA1\" Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("BERNA1"))) { 
 BA.debugLineNum = 2551;BA.debugLine="cargar.Visible = True";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2552;BA.debugLine="Subir.Visible = True";
Debug.ShouldStop(8388608);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2553;BA.debugLine="e_ruta.Text = \"\"";
Debug.ShouldStop(16777216);
__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 };
 BA.debugLineNum = 2556;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)";
Debug.ShouldStop(134217728);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Validando Conexión.")),(Object)(c_principal.__c.getField(true,"True")));
 BA.debugLineNum = 2572;BA.debugLine="End Sub";
Debug.ShouldStop(2048);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _e_ruta_enterpressed(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("e_ruta_EnterPressed (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2583);
if (RapidSub.canDelegate("e_ruta_enterpressed")) { return __ref.runUserSub(false, "c_principal","e_ruta_enterpressed", __ref);}
 BA.debugLineNum = 2583;BA.debugLine="Sub e_ruta_EnterPressed";
Debug.ShouldStop(4194304);
 BA.debugLineNum = 2584;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("FIN DIA"))) { 
 BA.debugLineNum = 2585;BA.debugLine="RES =  Msgbox2(\"Seguro que desea hacer el cierre";
Debug.ShouldStop(16777216);
__ref.setField ("_res" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea hacer el cierre todos los datos se borraran?")),(Object)(BA.ObjectToCharSequence("Cierre")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba"))));
 BA.debugLineNum = 2586;BA.debugLine="If RES = DialogResponse.POSITIVE Then";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_res" /*RemoteObject*/ ),BA.NumberToString(c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
 BA.debugLineNum = 2587;BA.debugLine="e_ruta.Text = \"\"";
Debug.ShouldStop(67108864);
__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 2588;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_GIRO";
Debug.ShouldStop(134217728);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_GIRO")));
 BA.debugLineNum = 2589;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(268435456);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CLIENTE_NUEVO")));
 BA.debugLineNum = 2590;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(536870912);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM GEOCERCA")));
 BA.debugLineNum = 2591;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(1073741824);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ATIENDE")));
 BA.debugLineNum = 2592;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(-2147483648);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM GIROS_ACTUAL")));
 BA.debugLineNum = 2593;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(1);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM COORDS_ALMACEN")));
 BA.debugLineNum = 2594;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(2);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from COORDENADAS")));
 BA.debugLineNum = 2595;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(4);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PICKCIEGO_HECHO")));
 BA.debugLineNum = 2596;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(8);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente")));
 BA.debugLineNum = 2597;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(16);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido")));
 BA.debugLineNum = 2598;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(32);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PAGARES")));
 BA.debugLineNum = 2599;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(64);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from noventa")));
 BA.debugLineNum = 2600;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(128);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from clie_act")));
 BA.debugLineNum = 2601;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(256);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info")));
 BA.debugLineNum = 2602;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(512);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info2")));
 BA.debugLineNum = 2603;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(1024);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod")));
 BA.debugLineNum = 2604;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(2048);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod2")));
 BA.debugLineNum = 2605;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(4096);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod3")));
 BA.debugLineNum = 2606;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(8192);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod4")));
 BA.debugLineNum = 2607;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(16384);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ")));
 BA.debugLineNum = 2608;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(32768);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS")));
 BA.debugLineNum = 2609;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
Debug.ShouldStop(65536);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VERIFICACION")));
 BA.debugLineNum = 2610;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(131072);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_ENCUESTA")));
 BA.debugLineNum = 2611;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(262144);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_STAY_OUT")));
 BA.debugLineNum = 2612;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(524288);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_GPS")));
 BA.debugLineNum = 2613;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(1048576);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_FACE")));
 BA.debugLineNum = 2614;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"INSERT INT";
Debug.ShouldStop(2097152);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)")));
 BA.debugLineNum = 2615;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(4194304);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_CODIGO_BARRAS")));
 BA.debugLineNum = 2616;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(8388608);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ABONOSP")));
 BA.debugLineNum = 2617;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(16777216);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ABONOS")));
 BA.debugLineNum = 2618;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(33554432);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM PICK_CIEGO")));
 BA.debugLineNum = 2619;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(67108864);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTA_SUPLENCIA")));
 BA.debugLineNum = 2620;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(134217728);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTAA")));
 BA.debugLineNum = 2621;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(268435456);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM CLIENTES_NUEVOS")));
 BA.debugLineNum = 2622;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO";
Debug.ShouldStop(536870912);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM TABULADOR_MONEDAS")));
 BA.debugLineNum = 2623;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO";
Debug.ShouldStop(1073741824);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM TABULADOR_BILLETES")));
 BA.debugLineNum = 2624;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO";
Debug.ShouldStop(-2147483648);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ENV_MONTO_LIQ")));
 BA.debugLineNum = 2625;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(1);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 BA.debugLineNum = 2626;BA.debugLine="l_rutasuplencia.Visible = False";
Debug.ShouldStop(2);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2627;BA.debugLine="Label22.Visible = False";
Debug.ShouldStop(4);
__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2628;BA.debugLine="l_rutasuplencia.Text = \"\"";
Debug.ShouldStop(8);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(""));
 };
 };
 BA.debugLineNum = 2631;BA.debugLine="If e_ruta.Text = \"IWL\" Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("IWL"))) { 
 BA.debugLineNum = 2633;BA.debugLine="NUEVO.Visible =False";
Debug.ShouldStop(256);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2634;BA.debugLine="BUSCA.Visible=False";
Debug.ShouldStop(512);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2635;BA.debugLine="connecta.Visible=False";
Debug.ShouldStop(1024);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2636;BA.debugLine="img3.Visible =True";
Debug.ShouldStop(2048);
__ref.getField(false,"_img3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2637;BA.debugLine="Resumen.Visible= False";
Debug.ShouldStop(4096);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 };
 BA.debugLineNum = 2639;BA.debugLine="If e_ruta.Text = \"SUPLENCIA\" Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("SUPLENCIA"))) { 
 BA.debugLineNum = 2640;BA.debugLine="E_RUTA2.Visible = True";
Debug.ShouldStop(32768);
__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2641;BA.debugLine="Panel11.Visible = True";
Debug.ShouldStop(65536);
__ref.getField(false,"_panel11" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2643;BA.debugLine="e_ruta.Text= \"\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 };
 BA.debugLineNum = 2645;BA.debugLine="End Sub";
Debug.ShouldStop(1048576);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _e_ruta_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{
try {
		Debug.PushSubsStack("e_ruta_TextChanged (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3097);
if (RapidSub.canDelegate("e_ruta_textchanged")) { return __ref.runUserSub(false, "c_principal","e_ruta_textchanged", __ref, _old, _new);}
RemoteObject _validchars = RemoteObject.createImmutable("");
Debug.locals.put("Old", _old);
Debug.locals.put("New", _new);
 BA.debugLineNum = 3097;BA.debugLine="Sub e_ruta_TextChanged (Old As String, New As Stri";
Debug.ShouldStop(16777216);
 BA.debugLineNum = 3098;BA.debugLine="Dim validChars As String =\"ABCDEFGHIJKLMNOPQRSTUV";
Debug.ShouldStop(33554432);
_validchars = BA.ObjectToString("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 ");Debug.locals.put("validChars", _validchars);Debug.locals.put("validChars", _validchars);
 BA.debugLineNum = 3100;BA.debugLine="If Old <> \"KMTS1\" Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("!",_old,BA.ObjectToString("KMTS1"))) { 
 BA.debugLineNum = 3102;BA.debugLine="Try";
Debug.ShouldStop(536870912);
try { BA.debugLineNum = 3103;BA.debugLine="If validChars.Contains(New.SubString(New.Length";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",_validchars.runMethod(true,"contains",(Object)(_new.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_new.runMethod(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1))))),c_principal.__c.getField(true,"False"))) { 
 BA.debugLineNum = 3104;BA.debugLine="e_ruta.Text = New.SubString2(0, New.Length-1)";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_new.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {_new.runMethod(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1)))));
 BA.debugLineNum = 3105;BA.debugLine="e_ruta.SelectionStart = e_ruta.Text.Length";
Debug.ShouldStop(1);
__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"setSelectionStart",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length"));
 };
 Debug.CheckDeviceExceptions();
} 
       catch (Exception e9) {
			BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 3108;BA.debugLine="Log(LastException)";
Debug.ShouldStop(8);
c_principal.__c.runVoidMethod ("LogImpl","515335435",BA.ObjectToString(c_principal.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0);
 };
 };
 BA.debugLineNum = 3111;BA.debugLine="End Sub";
Debug.ShouldStop(64);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _gettablecolumnlist(RemoteObject __ref,RemoteObject _db,RemoteObject _table) throws Exception{
try {
		Debug.PushSubsStack("getTableColumnList (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,366);
if (RapidSub.canDelegate("gettablecolumnlist")) { return __ref.runUserSub(false, "c_principal","gettablecolumnlist", __ref, _db, _table);}
RemoteObject _l = RemoteObject.createImmutable("");
int _i = 0;
Debug.locals.put("db", _db);
Debug.locals.put("table", _table);
 BA.debugLineNum = 366;BA.debugLine="Sub getTableColumnList(db As SQL, table As String)";
Debug.ShouldStop(8192);
 BA.debugLineNum = 367;BA.debugLine="Private l As String = \"\"";
Debug.ShouldStop(16384);
_l = BA.ObjectToString("");Debug.locals.put("l", _l);Debug.locals.put("l", _l);
 BA.debugLineNum = 368;BA.debugLine="If chkIfTableExists(db, table) Then";
Debug.ShouldStop(32768);
if (__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_chkiftableexists" /*RemoteObject*/ ,(Object)(_db),(Object)(_table)).<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 369;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"p";
Debug.ShouldStop(65536);
c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
c_principal._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("pragma table_info("),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_table))),RemoteObject.createImmutable(")"))))));__ref.setField("_c",c_principal._c);
 BA.debugLineNum = 370;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 371;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(262144);
{
final int step5 = 1;
final int limit5 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 372;BA.debugLine="c.Position = i";
Debug.ShouldStop(524288);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 373;BA.debugLine="If l.Length = 0 Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",_l.runMethod(true,"length"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 374;BA.debugLine="l = $\"${c.GetString(\"name\")} ${c.GetString(\"t";
Debug.ShouldStop(2097152);
_l = (RemoteObject.concat(RemoteObject.createImmutable(""),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("name")))))),RemoteObject.createImmutable(" "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("type")))))),RemoteObject.createImmutable("")));Debug.locals.put("l", _l);
 }else {
 BA.debugLineNum = 376;BA.debugLine="l = $\"${l}, ${c.GetString(\"name\")} ${c.GetStr";
Debug.ShouldStop(8388608);
_l = (RemoteObject.concat(RemoteObject.createImmutable(""),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_l))),RemoteObject.createImmutable(", "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("name")))))),RemoteObject.createImmutable(" "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("type")))))),RemoteObject.createImmutable("")));Debug.locals.put("l", _l);
 };
 }
}Debug.locals.put("i", _i);
;
 };
 }else {
 BA.debugLineNum = 381;BA.debugLine="Return \"No existe la tabla.\"";
Debug.ShouldStop(268435456);
if (true) return BA.ObjectToString("No existe la tabla.");
 };
 BA.debugLineNum = 383;BA.debugLine="c.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 384;BA.debugLine="Return l";
Debug.ShouldStop(-2147483648);
if (true) return _l;
 BA.debugLineNum = 385;BA.debugLine="End Sub";
Debug.ShouldStop(1);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _gettablecolumnlistname(RemoteObject __ref,RemoteObject _db,RemoteObject _table) throws Exception{
try {
		Debug.PushSubsStack("getTableColumnListName (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,345);
if (RapidSub.canDelegate("gettablecolumnlistname")) { return __ref.runUserSub(false, "c_principal","gettablecolumnlistname", __ref, _db, _table);}
RemoteObject _l = RemoteObject.createImmutable("");
int _i = 0;
Debug.locals.put("db", _db);
Debug.locals.put("table", _table);
 BA.debugLineNum = 345;BA.debugLine="Sub getTableColumnListName(db As SQL, table As Str";
Debug.ShouldStop(16777216);
 BA.debugLineNum = 346;BA.debugLine="Private l As String = \"\"";
Debug.ShouldStop(33554432);
_l = BA.ObjectToString("");Debug.locals.put("l", _l);Debug.locals.put("l", _l);
 BA.debugLineNum = 347;BA.debugLine="If chkIfTableExists(db, table) Then";
Debug.ShouldStop(67108864);
if (__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_chkiftableexists" /*RemoteObject*/ ,(Object)(_db),(Object)(_table)).<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 348;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"p";
Debug.ShouldStop(134217728);
c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
c_principal._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("pragma table_info("),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_table))),RemoteObject.createImmutable(")"))))));__ref.setField("_c",c_principal._c);
 BA.debugLineNum = 349;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 350;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(536870912);
{
final int step5 = 1;
final int limit5 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 351;BA.debugLine="c.Position = i";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 352;BA.debugLine="If l.Length = 0 Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",_l.runMethod(true,"length"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 353;BA.debugLine="l = $\"${c.GetString(\"name\")}\"$";
Debug.ShouldStop(1);
_l = (RemoteObject.concat(RemoteObject.createImmutable(""),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("name")))))),RemoteObject.createImmutable("")));Debug.locals.put("l", _l);
 }else {
 BA.debugLineNum = 355;BA.debugLine="l = $\"${l}, ${c.GetString(\"name\")}\"$";
Debug.ShouldStop(4);
_l = (RemoteObject.concat(RemoteObject.createImmutable(""),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_l))),RemoteObject.createImmutable(", "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("name")))))),RemoteObject.createImmutable("")));Debug.locals.put("l", _l);
 };
 }
}Debug.locals.put("i", _i);
;
 };
 }else {
 BA.debugLineNum = 360;BA.debugLine="Return \"No existe la tabla.\"";
Debug.ShouldStop(128);
if (true) return BA.ObjectToString("No existe la tabla.");
 };
 BA.debugLineNum = 362;BA.debugLine="c.Close";
Debug.ShouldStop(512);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 363;BA.debugLine="Return l";
Debug.ShouldStop(1024);
if (true) return _l;
 BA.debugLineNum = 364;BA.debugLine="End Sub";
Debug.ShouldStop(2048);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{
try {
		Debug.PushSubsStack("GPS_LocationChanged (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3084);
if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_principal","gps_locationchanged", __ref, _location1);}
Debug.locals.put("Location1", _location1);
 BA.debugLineNum = 3084;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)";
Debug.ShouldStop(2048);
 BA.debugLineNum = 3086;BA.debugLine="End Sub";
Debug.ShouldStop(8192);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _hacer_ped_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("hacer_ped_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3058);
if (RapidSub.canDelegate("hacer_ped_click")) { return __ref.runUserSub(false, "c_principal","hacer_ped_click", __ref);}
 BA.debugLineNum = 3058;BA.debugLine="Sub hacer_ped_Click";
Debug.ShouldStop(131072);
 BA.debugLineNum = 3059;BA.debugLine="B4XPages.ShowPage(\"Clientes\")";
Debug.ShouldStop(262144);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes")));
 BA.debugLineNum = 3060;BA.debugLine="End Sub";
Debug.ShouldStop(524288);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{
try {
		Debug.PushSubsStack("Initialize (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,249);
if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_principal","initialize", __ref, _ba);}
__ref.runVoidMethodAndSync("innerInitializeHelper", _ba);
Debug.locals.put("ba", _ba);
 BA.debugLineNum = 249;BA.debugLine="Public Sub Initialize As Object";
Debug.ShouldStop(16777216);
 BA.debugLineNum = 250;BA.debugLine="Return Me";
Debug.ShouldStop(33554432);
if (true) return __ref;
 BA.debugLineNum = 251;BA.debugLine="End Sub";
Debug.ShouldStop(67108864);
return RemoteObject.createImmutable(null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _inv_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("inv_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2647);
if (RapidSub.canDelegate("inv_click")) { return __ref.runUserSub(false, "c_principal","inv_click", __ref);}
 BA.debugLineNum = 2647;BA.debugLine="Sub inv_Click";
Debug.ShouldStop(4194304);
 BA.debugLineNum = 2648;BA.debugLine="img2.Visible =True";
Debug.ShouldStop(8388608);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2649;BA.debugLine="EJECUTANDO = 1";
Debug.ShouldStop(16777216);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 2650;BA.debugLine="inve = 1";
Debug.ShouldStop(33554432);
__ref.setField ("_inve" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 2651;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(67108864);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod")));
 BA.debugLineNum = 2652;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(134217728);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod2")));
 BA.debugLineNum = 2653;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(268435456);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ")));
 BA.debugLineNum = 2654;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari";
Debug.ShouldStop(536870912);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa"))));
 BA.debugLineNum = 2655;BA.debugLine="c.Position = 0";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2656;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(-2147483648);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 2657;BA.debugLine="c.Close";
Debug.ShouldStop(1);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2658;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(2);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 2659;BA.debugLine="cmd.Name = \"select_cat_gunaprod_SHARK2\"";
Debug.ShouldStop(4);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod_SHARK2"));
 BA.debugLineNum = 2660;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(8);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 2661;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")";
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("gunaprod"))));
 BA.debugLineNum = 2662;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(32);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 2663;BA.debugLine="cmd.Name = \"select_cat_paquetes_SHARK2\"";
Debug.ShouldStop(64);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_paquetes_SHARK2"));
 BA.debugLineNum = 2664;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(128);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 2665;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprodp\")";
Debug.ShouldStop(256);
__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("gunaprodp"))));
 BA.debugLineNum = 2667;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 2668;BA.debugLine="cmd.Name = \"select_cat_detallepa_SHARK2\"";
Debug.ShouldStop(2048);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_detallepa_SHARK2"));
 BA.debugLineNum = 2669;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 2670;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"detallepaq\")";
Debug.ShouldStop(8192);
__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("detallepaq"))));
 BA.debugLineNum = 2672;BA.debugLine="cargar.Visible = False";
Debug.ShouldStop(32768);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2673;BA.debugLine="Subir.Visible = False";
Debug.ShouldStop(65536);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2674;BA.debugLine="connecta.Visible = True";
Debug.ShouldStop(131072);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2675;BA.debugLine="inv.Visible = False";
Debug.ShouldStop(262144);
__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2676;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este";
Debug.ShouldStop(524288);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias")),(Object)(c_principal.__c.getField(true,"True")));
 BA.debugLineNum = 2677;BA.debugLine="End Sub";
Debug.ShouldStop(1048576);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _iv_abordo_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("iv_abordo_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3273);
if (RapidSub.canDelegate("iv_abordo_click")) { return __ref.runUserSub(false, "c_principal","iv_abordo_click", __ref);}
 BA.debugLineNum = 3273;BA.debugLine="Private Sub iv_abordo_Click";
Debug.ShouldStop(256);
 BA.debugLineNum = 3274;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")";
Debug.ShouldStop(512);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA")));
 BA.debugLineNum = 3275;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V";
Debug.ShouldStop(1024);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("0"))})))));
 BA.debugLineNum = 3276;BA.debugLine="B4XPages.MainPage.tipo_venta = \"ABORDO\"";
Debug.ShouldStop(2048);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("ABORDO"));
 BA.debugLineNum = 3277;BA.debugLine="B4XPages.ShowPage(\"Productos\")";
Debug.ShouldStop(4096);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos")));
 BA.debugLineNum = 3278;BA.debugLine="End Sub";
Debug.ShouldStop(8192);
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 (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,1414);
if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_principal","jobdone", __ref, _job);}
RemoteObject _result = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbresult");
RemoteObject _records = null;
RemoteObject _k = RemoteObject.createImmutable("");
RemoteObject _n = RemoteObject.createImmutable("");
RemoteObject _giro = RemoteObject.createImmutable("");
RemoteObject _cat_cl_codigo = RemoteObject.createImmutable("");
RemoteObject _cat_cl_ruta = RemoteObject.createImmutable("");
RemoteObject _cat_cl_nombre = RemoteObject.createImmutable("");
RemoteObject _cat_cl_atiende1 = RemoteObject.createImmutable("");
RemoteObject _cat_cl_atiente2 = RemoteObject.createImmutable("");
RemoteObject _cat_cl_telefono = RemoteObject.createImmutable("");
RemoteObject _cat_cl_email = RemoteObject.createImmutable("");
RemoteObject _cat_cl_calle = RemoteObject.createImmutable("");
RemoteObject _cat_cl_noext = RemoteObject.createImmutable("");
RemoteObject _cat_cl_noint = RemoteObject.createImmutable("");
RemoteObject _cat_cl_calle1 = RemoteObject.createImmutable("");
RemoteObject _cat_cl_calle2 = RemoteObject.createImmutable("");
RemoteObject _cat_cl_colonia = RemoteObject.createImmutable("");
RemoteObject _cat_cl_muni = RemoteObject.createImmutable("");
RemoteObject _cat_cl_edo = RemoteObject.createImmutable("");
RemoteObject _cat_cl_cp = RemoteObject.createImmutable("");
RemoteObject _cat_cl_long = RemoteObject.createImmutable("");
RemoteObject _cat_cl_lat = RemoteObject.createImmutable("");
RemoteObject _cat_cl_mtocompra = RemoteObject.createImmutable("");
RemoteObject _cat_cl_num_seriefisico = RemoteObject.createImmutable("");
RemoteObject _cat_cl_bcredito = RemoteObject.createImmutable("");
RemoteObject _cat_cl_limitecredito = RemoteObject.createImmutable("");
RemoteObject _cat_cl_giro = RemoteObject.createImmutable("");
RemoteObject _cat_cl_tipocliente = RemoteObject.createImmutable("");
RemoteObject _cat_cl_bcoordenadas = RemoteObject.createImmutable("");
RemoteObject _resultado = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbresult");
RemoteObject _piezasexiste = RemoteObject.createImmutable(0);
RemoteObject _pcnoarts = RemoteObject.createImmutable("");
RemoteObject _pcmonto = RemoteObject.createImmutable("");
RemoteObject _cat_cl_dias_visita = RemoteObject.createImmutable("");
RemoteObject _hist_ra_objmes = RemoteObject.createImmutable("");
RemoteObject _hist_ra_venta = RemoteObject.createImmutable("");
RemoteObject _hist_ra_tendencia = RemoteObject.createImmutable("");
RemoteObject _hist_ra_alcance = RemoteObject.createImmutable("");
RemoteObject _hisr_ra_draobj = RemoteObject.createImmutable("");
RemoteObject _hist_ra_dravta = RemoteObject.createImmutable("");
RemoteObject _hist_ra_dsobj = RemoteObject.createImmutable("");
RemoteObject _hist_ra_dsvta = RemoteObject.createImmutable("");
RemoteObject _hist_ra_vpoobj = RemoteObject.createImmutable("");
RemoteObject _hist_ra_vpovta = RemoteObject.createImmutable("");
RemoteObject _hist_ra_ctes = RemoteObject.createImmutable("");
RemoteObject _hist_ra_cobccc = RemoteObject.createImmutable("");
RemoteObject _hist_ra_eco = RemoteObject.createImmutable("");
RemoteObject _hist_ra_visitplan = RemoteObject.createImmutable("");
RemoteObject _hist_ra_visireal = RemoteObject.createImmutable("");
RemoteObject _hist_ra_cobvisit = RemoteObject.createImmutable("");
RemoteObject _hist_ra_freccompobj = RemoteObject.createImmutable("");
RemoteObject _hist_ra_freccomreal = RemoteObject.createImmutable("");
RemoteObject _hist_ra_ventames1 = RemoteObject.createImmutable("");
RemoteObject _hist_ra_ventames2 = RemoteObject.createImmutable("");
RemoteObject _hist_ra_ventames3 = RemoteObject.createImmutable("");
RemoteObject _hist_ra_ventames4 = RemoteObject.createImmutable("");
RemoteObject _hist_ra_rechazo = RemoteObject.createImmutable("");
RemoteObject _hist_ra_rechazoporcen = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana1 = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana1_dias = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana1_dra = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana2 = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana2_dias = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana2_dra = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana3 = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana3_dias = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana3_dra = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana4 = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana4_dias = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana4_dra = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana5 = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana5_dias = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana5_dra = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana1_lpt = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana2_lpt = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana3_lpt = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana4_lpt = RemoteObject.createImmutable("");
RemoteObject _hist_ra_semana5_lpt = RemoteObject.createImmutable("");
RemoteObject _hist_ra_ruta = RemoteObject.createImmutable("");
RemoteObject _hist_ra_idalmacen = RemoteObject.createImmutable("");
RemoteObject _hp_cliente = RemoteObject.createImmutable("");
RemoteObject _hp_codigo_promocion = RemoteObject.createImmutable("");
RemoteObject _hccp_cliente = RemoteObject.createImmutable("");
RemoteObject _hccp_promo = RemoteObject.createImmutable("");
RemoteObject _hccp_cant = RemoteObject.createImmutable("");
RemoteObject _cat_al_geocerca = RemoteObject.createImmutable("");
RemoteObject _cat_al_latitud = RemoteObject.createImmutable("");
RemoteObject _cat_al_longitud = RemoteObject.createImmutable("");
RemoteObject _hmc_marca = RemoteObject.createImmutable("");
RemoteObject _hmc_total = RemoteObject.createImmutable("");
RemoteObject _cat_pa_id = RemoteObject.createImmutable("");
RemoteObject _cat_pa_maxprom = RemoteObject.createImmutable("");
RemoteObject _cat_pa_maxpromrec = RemoteObject.createImmutable("");
RemoteObject _cat_pa_maxpromclie = RemoteObject.createImmutable("");
RemoteObject _cat_ve_idprod = RemoteObject.createImmutable("");
RemoteObject _cat_ve_nombre = RemoteObject.createImmutable("");
RemoteObject _cat_ve_orden = RemoteObject.createImmutable("");
RemoteObject _hvd_marca = RemoteObject.createImmutable("");
RemoteObject _clientes = RemoteObject.createImmutable("");
RemoteObject _hc_ruta = RemoteObject.createImmutable("");
RemoteObject _hc_cuota1 = RemoteObject.createImmutable("");
RemoteObject _hc_cuota2 = RemoteObject.createImmutable("");
RemoteObject _hc_cuota3 = RemoteObject.createImmutable("");
RemoteObject _hc_cuota4 = RemoteObject.createImmutable("");
RemoteObject _hc_cuota5 = RemoteObject.createImmutable("");
RemoteObject _hc_cuota6 = RemoteObject.createImmutable("");
RemoteObject _hc_meta1 = RemoteObject.createImmutable("");
RemoteObject _hc_meta2 = RemoteObject.createImmutable("");
RemoteObject _hc_meta3 = RemoteObject.createImmutable("");
RemoteObject _hc_meta4 = RemoteObject.createImmutable("");
RemoteObject _hc_meta5 = RemoteObject.createImmutable("");
RemoteObject _hc_meta6 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_id = RemoteObject.createImmutable("");
RemoteObject _cat_gp_nombre = RemoteObject.createImmutable("");
RemoteObject _cat_gp_imp1 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_imp2 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_clasif = RemoteObject.createImmutable("");
RemoteObject _cat_gp_sts = RemoteObject.createImmutable("");
RemoteObject _cat_gp_tipo = RemoteObject.createImmutable("");
RemoteObject _cat_gp_subtipo = RemoteObject.createImmutable("");
RemoteObject _cat_gp_img = null;
RemoteObject _cat_gp_almacen = RemoteObject.createImmutable(0);
RemoteObject _cat_gp_dev = RemoteObject.createImmutable("");
RemoteObject _cat_gp_tipoprod = RemoteObject.createImmutable(0);
RemoteObject _cat_gp_iniciativa = RemoteObject.createImmutable(0);
RemoteObject _cat_gp_tipoprod2 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_precio1 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_precio2 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_precio3 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_precio4 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_precio5 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_precio6 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_precio7 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_precio8 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_precio9 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_precio10 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_precio11 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_presentacion1 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_presentacion2 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_presentacion3 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_presentacion4 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_presentacion5 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_presentacion6 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_presentacion7 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_presentacion8 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_presentacion9 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_presentacion10 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_presentacion11 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_umv1 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_umv2 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_umv3 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_umv4 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_umv5 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_umv6 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_umv7 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_umv8 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_umv9 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_umv10 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_umv11 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_dirigida1 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_dirigida2 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_dirigida3 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_dirigida4 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_dirigida5 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_dirigida6 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_dirigida7 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_dirigida8 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_dirigida9 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_dirigida10 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_dirigida11 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_precio = RemoteObject.createImmutable("");
RemoteObject _cat_dp_precio4 = RemoteObject.createImmutable(0f);
RemoteObject _cat_dp_conversion1 = RemoteObject.createImmutable(0);
RemoteObject _cat_dp_almacen = RemoteObject.createImmutable("");
RemoteObject _cat_dp_id = RemoteObject.createImmutable("");
RemoteObject _cat_dp_idprod = RemoteObject.createImmutable("");
RemoteObject _cat_dp_tipo = RemoteObject.createImmutable("");
RemoteObject _cat_dp_pzas = RemoteObject.createImmutable("");
RemoteObject _cat_dp_usuario = RemoteObject.createImmutable("");
RemoteObject _cat_dp_fecha = RemoteObject.createImmutable("");
RemoteObject _cat_dp_regalo = RemoteObject.createImmutable("");
RemoteObject _cat_dp_clasif = RemoteObject.createImmutable("");
RemoteObject _cat_dp_precio = RemoteObject.createImmutable("");
RemoteObject _cat_dp_precio_simptos = RemoteObject.createImmutable("");
RemoteObject _hvd_cliente = RemoteObject.createImmutable("");
RemoteObject _hvd_pronombre = RemoteObject.createImmutable("");
RemoteObject _hvd_cant = RemoteObject.createImmutable("");
RemoteObject _hvd_costo_tot = RemoteObject.createImmutable("");
RemoteObject _cat_va_descripcion = RemoteObject.createImmutable("");
RemoteObject _cat_va_valor = RemoteObject.createImmutable("");
RemoteObject _cuantosp = RemoteObject.createImmutable(0);
RemoteObject _cuantosc = RemoteObject.createImmutable(0);
RemoteObject _cuantosn = RemoteObject.createImmutable(0);
RemoteObject _cat_ve_version = RemoteObject.createImmutable("");
RemoteObject _valido = RemoteObject.createImmutable("");
RemoteObject _name2 = RemoteObject.createImmutable("");
RemoteObject _fecha_hoy = RemoteObject.createImmutable("");
RemoteObject _idcliente = RemoteObject.createImmutable("");
RemoteObject _telefono = RemoteObject.createImmutable("");
RemoteObject _index = RemoteObject.createImmutable(0);
RemoteObject _nombre_user = RemoteObject.createImmutable("");
Debug.locals.put("Job", _job);
 BA.debugLineNum = 1414;BA.debugLine="Sub JobDone(Job As HttpJob)";
Debug.ShouldStop(32);
 BA.debugLineNum = 1415;BA.debugLine="Log(\"JOBDONE PRINCIPAL\")";
Debug.ShouldStop(64);
c_principal.__c.runVoidMethod ("LogImpl","514024705",RemoteObject.createImmutable("JOBDONE PRINCIPAL"),0);
 BA.debugLineNum = 1416;BA.debugLine="If reqManager.reqsList.IsInitialized Then 'Si ten";
Debug.ShouldStop(128);
if (__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IsInitialized").<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 1417;BA.debugLine="If reqManager.reqsList.IndexOf(Job.tag) <> -1 Th";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("!",__ref.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 = 1418;BA.debugLine="reqManager.reqsList.RemoveAt(reqManager.reqsLis";
Debug.ShouldStop(512);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_job.getField(false,"_tag" /*RemoteObject*/ )))));
 BA.debugLineNum = 1419;BA.debugLine="LogColor($\">>>>>> Quitamos ${Job.tag}\"$, Colors";
Debug.ShouldStop(1024);
c_principal.__c.runVoidMethod ("LogImpl","514024709",(RemoteObject.concat(RemoteObject.createImmutable(">>>>>> Quitamos "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_job.getField(false,"_tag" /*RemoteObject*/ ))),RemoteObject.createImmutable(""))),c_principal.__c.getField(false,"Colors").getField(true,"Blue"));
 };
 BA.debugLineNum = 1421;BA.debugLine="LogColor(\">>>>>> \" & reqManager.reqsList.Size &";
Debug.ShouldStop(4096);
c_principal.__c.runVoidMethod ("LogImpl","514024711",RemoteObject.concat(RemoteObject.createImmutable(">>>>>> "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(" - "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ )),c_principal.__c.getField(false,"Colors").getField(true,"Blue"));
 };
 BA.debugLineNum = 1423;BA.debugLine="If Job.Success = False Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_principal.__c.getField(true,"False"))) { 
 BA.debugLineNum = 1424;BA.debugLine="Log(\"ERROR\")";
Debug.ShouldStop(32768);
c_principal.__c.runVoidMethod ("LogImpl","514024714",RemoteObject.createImmutable("ERROR"),0);
 BA.debugLineNum = 1425;BA.debugLine="LogColor(\"Error: \" & reqManager.HandleJob(Job).t";
Debug.ShouldStop(65536);
c_principal.__c.runVoidMethod ("LogImpl","514024715",RemoteObject.concat(RemoteObject.createImmutable("Error: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(" : "),_job.getField(true,"_errormessage" /*RemoteObject*/ )),c_principal.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 1426;BA.debugLine="Log(\"ex\")";
Debug.ShouldStop(131072);
c_principal.__c.runVoidMethod ("LogImpl","514024716",RemoteObject.createImmutable("ex"),0);
 BA.debugLineNum = 1427;BA.debugLine="Log(2)";
Debug.ShouldStop(262144);
c_principal.__c.runVoidMethod ("LogImpl","514024717",BA.NumberToString(2),0);
 }else {
 BA.debugLineNum = 1430;BA.debugLine="Log(3)";
Debug.ShouldStop(2097152);
c_principal.__c.runVoidMethod ("LogImpl","514024720",BA.NumberToString(3),0);
 BA.debugLineNum = 1431;BA.debugLine="Log(ALMACEN)";
Debug.ShouldStop(4194304);
c_principal.__c.runVoidMethod ("LogImpl","514024721",__ref.getField(true,"_almacen" /*RemoteObject*/ ),0);
 BA.debugLineNum = 1432;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
Debug.ShouldStop(8388608);
c_principal.__c.runVoidMethod ("LogImpl","514024722",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")),c_principal.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 160)),(Object)(BA.numberCast(int.class, 0))));
 BA.debugLineNum = 1434;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1435;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(67108864);
_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 = 1436;BA.debugLine="If RESULT.Tag = \"update_gps\" Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("update_gps")))) { 
 BA.debugLineNum = 1437;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(268435456);
{
final RemoteObject group21 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen21 = group21.runMethod(true,"getSize").<Integer>get()
;int index21 = 0;
;
for (; index21 < groupLen21;index21++){
_records = (group21.runMethod(false,"Get",index21));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1438;BA.debugLine="Log(\"==========================REGISTROS=\"&RE";
Debug.ShouldStop(536870912);
c_principal.__c.runVoidMethod ("LogImpl","514024728",RemoteObject.concat(RemoteObject.createImmutable("==========================REGISTROS="),_result.getField(false,"Rows" /*RemoteObject*/ )),0);
 BA.debugLineNum = 1439;BA.debugLine="For Each k As String In RESULT.Columns.Keys";
Debug.ShouldStop(1073741824);
{
final RemoteObject group23 = _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys");
final int groupLen23 = group23.runMethod(true,"getSize").<Integer>get()
;int index23 = 0;
;
for (; index23 < groupLen23;index23++){
_k = BA.ObjectToString(group23.runMethod(false,"Get",index23));Debug.locals.put("k", _k);
Debug.locals.put("k", _k);
 BA.debugLineNum = 1440;BA.debugLine="Log(RESULT.Tag & \": \" & k & \": \" & records(R";
Debug.ShouldStop(-2147483648);
c_principal.__c.runVoidMethod ("LogImpl","514024730",RemoteObject.concat(_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(": "),_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 = 1444;BA.debugLine="If RESULT.Tag = \"ins_pedidos\" Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ins_pedidos")))) { 
 BA.debugLineNum = 1445;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(16);
{
final RemoteObject group29 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen29 = group29.runMethod(true,"getSize").<Integer>get()
;int index29 = 0;
;
for (; index29 < groupLen29;index29++){
_records = (group29.runMethod(false,"Get",index29));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1446;BA.debugLine="Log(\"==========================REGISTROS=\"&RE";
Debug.ShouldStop(32);
c_principal.__c.runVoidMethod ("LogImpl","514024736",RemoteObject.concat(RemoteObject.createImmutable("==========================REGISTROS="),_result.getField(false,"Rows" /*RemoteObject*/ )),0);
 BA.debugLineNum = 1447;BA.debugLine="For Each k As String In RESULT.Columns.Keys";
Debug.ShouldStop(64);
{
final RemoteObject group31 = _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys");
final int groupLen31 = group31.runMethod(true,"getSize").<Integer>get()
;int index31 = 0;
;
for (; index31 < groupLen31;index31++){
_k = BA.ObjectToString(group31.runMethod(false,"Get",index31));Debug.locals.put("k", _k);
Debug.locals.put("k", _k);
 BA.debugLineNum = 1448;BA.debugLine="Log(RESULT.Tag & \": \" & k & \": \" & records(R";
Debug.ShouldStop(128);
c_principal.__c.runVoidMethod ("LogImpl","514024738",RemoteObject.concat(_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(": "),_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 = 1452;BA.debugLine="If RESULT.Tag = \"usuarioA\" Then 'query tag";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuarioA")))) { 
 BA.debugLineNum = 1453;BA.debugLine="Private n As String = \"Sin Usuario\"";
Debug.ShouldStop(4096);
_n = BA.ObjectToString("Sin Usuario");Debug.locals.put("n", _n);Debug.locals.put("n", _n);
 BA.debugLineNum = 1454;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(8192);
{
final RemoteObject group38 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen38 = group38.runMethod(true,"getSize").<Integer>get()
;int index38 = 0;
;
for (; index38 < groupLen38;index38++){
_records = (group38.runMethod(false,"Get",index38));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1455;BA.debugLine="n = records(RESULT.Columns.Get(\"USUARIO\"))";
Debug.ShouldStop(16384);
_n = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("USUARIO")))))));Debug.locals.put("n", _n);
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1457;BA.debugLine="LogColor(\"**************************\"&n, Color";
Debug.ShouldStop(65536);
c_principal.__c.runVoidMethod ("LogImpl","514024747",RemoteObject.concat(RemoteObject.createImmutable("**************************"),_n),c_principal.__c.getField(false,"Colors").getField(true,"Green"));
 BA.debugLineNum = 1458;BA.debugLine="If n = \"OKActivo\"  Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",_n,BA.ObjectToString("OKActivo"))) { 
 BA.debugLineNum = 1459;BA.debugLine="Log(\"Usuario guardado en BD es 'Valido'\")";
Debug.ShouldStop(262144);
c_principal.__c.runVoidMethod ("LogImpl","514024749",RemoteObject.createImmutable("Usuario guardado en BD es 'Valido'"),0);
 }else 
{ BA.debugLineNum = 1460;BA.debugLine="Else If n  = \"OKExpirado\" Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",_n,BA.ObjectToString("OKExpirado"))) { 
 BA.debugLineNum = 1461;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administra";
Debug.ShouldStop(1048576);
c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 BA.debugLineNum = 1462;BA.debugLine="B4XPages.ShowPage(\"B4XMainPage\")";
Debug.ShouldStop(2097152);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("B4XMainPage")));
 }else 
{ BA.debugLineNum = 1463;BA.debugLine="Else If n = \"OKCancelado\" Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",_n,BA.ObjectToString("OKCancelado"))) { 
 BA.debugLineNum = 1464;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administr";
Debug.ShouldStop(8388608);
c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 BA.debugLineNum = 1465;BA.debugLine="B4XPages.ShowPage(\"B4XMainPage\")";
Debug.ShouldStop(16777216);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("B4XMainPage")));
 }else {
 BA.debugLineNum = 1467;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i";
Debug.ShouldStop(67108864);
c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 BA.debugLineNum = 1468;BA.debugLine="B4XPages.ShowPage(\"B4XMainPage\")";
Debug.ShouldStop(134217728);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("B4XMainPage")));
 }}}
;
 BA.debugLineNum = 1470;BA.debugLine="Log(\"*****************  \"&n)";
Debug.ShouldStop(536870912);
c_principal.__c.runVoidMethod ("LogImpl","514024760",RemoteObject.concat(RemoteObject.createImmutable("*****************  "),_n),0);
 };
 };
 BA.debugLineNum = 1474;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1475;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(4);
_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 = 1476;BA.debugLine="If RESULT.Tag = \"giro\" Then 'query tag";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("giro")))) { 
 BA.debugLineNum = 1477;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(16);
{
final RemoteObject group60 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen60 = group60.runMethod(true,"getSize").<Integer>get()
;int index60 = 0;
;
for (; index60 < groupLen60;index60++){
_records = (group60.runMethod(false,"Get",index60));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1478;BA.debugLine="Dim giro  As String = records(RESULT.Columns.";
Debug.ShouldStop(32);
_giro = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GR_DESC")))))));Debug.locals.put("giro", _giro);Debug.locals.put("giro", _giro);
 BA.debugLineNum = 1480;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G";
Debug.ShouldStop(128);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GIRO(GIRO) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_giro)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1482;BA.debugLine="If PB2.Progress = 0 Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1483;BA.debugLine="PB2.Progress = 30";
Debug.ShouldStop(1024);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 1484;BA.debugLine="S_CP.Text = \"CARGANDO\"";
Debug.ShouldStop(2048);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 1485;BA.debugLine="ELSE If PB2.Progress = 30 Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 1486;BA.debugLine="PB2.Progress = 60";
Debug.ShouldStop(8192);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 1487;BA.debugLine="ELSE IF PB2.Progress = 60 Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 1488;BA.debugLine="PB2.Progress = 100";
Debug.ShouldStop(32768);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 1489;BA.debugLine="S_CP.Text = \"LISTO\"";
Debug.ShouldStop(65536);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 BA.debugLineNum = 1491;BA.debugLine="Listo3 =1";
Debug.ShouldStop(262144);
__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1492;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 1493;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(1048576);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 BA.debugLineNum = 1494;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(2097152);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1495;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(4194304);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }else 
{ BA.debugLineNum = 1496;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_inve" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 1497;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(16777216);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 BA.debugLineNum = 1498;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(33554432);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1499;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(67108864);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }}
;
 };
 };
 BA.debugLineNum = 1505;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1506;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(2);
_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 = 1507;BA.debugLine="If RESULT.Tag = \"kmt_datos\" Then 'query tag";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("kmt_datos")))) { 
 BA.debugLineNum = 1508;BA.debugLine="S_CC.TEXT = \"CARGANDO\"";
Debug.ShouldStop(8);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 BA.debugLineNum = 1509;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(16);
{
final RemoteObject group89 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen89 = group89.runMethod(true,"getSize").<Integer>get()
;int index89 = 0;
;
for (; index89 < groupLen89;index89++){
_records = (group89.runMethod(false,"Get",index89));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1510;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT.";
Debug.ShouldStop(32);
_cat_cl_codigo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CODIGO")))))));Debug.locals.put("CAT_CL_CODIGO", _cat_cl_codigo);Debug.locals.put("CAT_CL_CODIGO", _cat_cl_codigo);
 BA.debugLineNum = 1511;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co";
Debug.ShouldStop(64);
_cat_cl_ruta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_RUTA")))))));Debug.locals.put("CAT_CL_RUTA", _cat_cl_ruta);Debug.locals.put("CAT_CL_RUTA", _cat_cl_ruta);
 BA.debugLineNum = 1512;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT.";
Debug.ShouldStop(128);
_cat_cl_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOMBRE")))))));Debug.locals.put("CAT_CL_NOMBRE", _cat_cl_nombre);Debug.locals.put("CAT_CL_NOMBRE", _cat_cl_nombre);
 BA.debugLineNum = 1513;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL";
Debug.ShouldStop(256);
_cat_cl_atiende1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_ATIENDE1")))))));Debug.locals.put("CAT_CL_ATIENDE1", _cat_cl_atiende1);Debug.locals.put("CAT_CL_ATIENDE1", _cat_cl_atiende1);
 BA.debugLineNum = 1514;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL";
Debug.ShouldStop(512);
_cat_cl_atiente2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_ATIENTE2")))))));Debug.locals.put("CAT_CL_ATIENTE2", _cat_cl_atiente2);Debug.locals.put("CAT_CL_ATIENTE2", _cat_cl_atiente2);
 BA.debugLineNum = 1515;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL";
Debug.ShouldStop(1024);
_cat_cl_telefono = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_TELEFONO")))))));Debug.locals.put("CAT_CL_TELEFONO", _cat_cl_telefono);Debug.locals.put("CAT_CL_TELEFONO", _cat_cl_telefono);
 BA.debugLineNum = 1516;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C";
Debug.ShouldStop(2048);
_cat_cl_email = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_EMAIL")))))));Debug.locals.put("CAT_CL_EMAIL", _cat_cl_email);Debug.locals.put("CAT_CL_EMAIL", _cat_cl_email);
 BA.debugLineNum = 1517;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C";
Debug.ShouldStop(4096);
_cat_cl_calle = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE")))))));Debug.locals.put("CAT_CL_CALLE", _cat_cl_calle);Debug.locals.put("CAT_CL_CALLE", _cat_cl_calle);
 BA.debugLineNum = 1518;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C";
Debug.ShouldStop(8192);
_cat_cl_noext = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOEXT")))))));Debug.locals.put("CAT_CL_NOEXT", _cat_cl_noext);Debug.locals.put("CAT_CL_NOEXT", _cat_cl_noext);
 BA.debugLineNum = 1519;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C";
Debug.ShouldStop(16384);
_cat_cl_noint = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOINT")))))));Debug.locals.put("CAT_CL_NOINT", _cat_cl_noint);Debug.locals.put("CAT_CL_NOINT", _cat_cl_noint);
 BA.debugLineNum = 1520;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT.";
Debug.ShouldStop(32768);
_cat_cl_calle1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE1")))))));Debug.locals.put("CAT_CL_CALLE1", _cat_cl_calle1);Debug.locals.put("CAT_CL_CALLE1", _cat_cl_calle1);
 BA.debugLineNum = 1521;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT.";
Debug.ShouldStop(65536);
_cat_cl_calle2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE2")))))));Debug.locals.put("CAT_CL_CALLE2", _cat_cl_calle2);Debug.locals.put("CAT_CL_CALLE2", _cat_cl_calle2);
 BA.debugLineNum = 1522;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT";
Debug.ShouldStop(131072);
_cat_cl_colonia = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_COLONIA")))))));Debug.locals.put("CAT_CL_COLONIA", _cat_cl_colonia);Debug.locals.put("CAT_CL_COLONIA", _cat_cl_colonia);
 BA.debugLineNum = 1523;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co";
Debug.ShouldStop(262144);
_cat_cl_muni = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_MUNI")))))));Debug.locals.put("CAT_CL_MUNI", _cat_cl_muni);Debug.locals.put("CAT_CL_MUNI", _cat_cl_muni);
 BA.debugLineNum = 1524;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col";
Debug.ShouldStop(524288);
_cat_cl_edo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_EDO")))))));Debug.locals.put("CAT_CL_EDO", _cat_cl_edo);Debug.locals.put("CAT_CL_EDO", _cat_cl_edo);
 BA.debugLineNum = 1525;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu";
Debug.ShouldStop(1048576);
_cat_cl_cp = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CP")))))));Debug.locals.put("CAT_CL_CP", _cat_cl_cp);Debug.locals.put("CAT_CL_CP", _cat_cl_cp);
 BA.debugLineNum = 1526;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co";
Debug.ShouldStop(2097152);
_cat_cl_long = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LONG")))))));Debug.locals.put("CAT_CL_LONG", _cat_cl_long);Debug.locals.put("CAT_CL_LONG", _cat_cl_long);
 BA.debugLineNum = 1527;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col";
Debug.ShouldStop(4194304);
_cat_cl_lat = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LAT")))))));Debug.locals.put("CAT_CL_LAT", _cat_cl_lat);Debug.locals.put("CAT_CL_LAT", _cat_cl_lat);
 BA.debugLineNum = 1528;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU";
Debug.ShouldStop(8388608);
_cat_cl_mtocompra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_MTOCOMPRA")))))));Debug.locals.put("CAT_CL_MTOCOMPRA", _cat_cl_mtocompra);Debug.locals.put("CAT_CL_MTOCOMPRA", _cat_cl_mtocompra);
 BA.debugLineNum = 1529;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record";
Debug.ShouldStop(16777216);
_cat_cl_num_seriefisico = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO")))))));Debug.locals.put("CAT_CL_NUM_SERIEFISICO", _cat_cl_num_seriefisico);Debug.locals.put("CAT_CL_NUM_SERIEFISICO", _cat_cl_num_seriefisico);
 BA.debugLineNum = 1530;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL";
Debug.ShouldStop(33554432);
_cat_cl_bcredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_BCREDITO")))))));Debug.locals.put("CAT_CL_BCREDITO", _cat_cl_bcredito);Debug.locals.put("CAT_CL_BCREDITO", _cat_cl_bcredito);
 BA.debugLineNum = 1531;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records(";
Debug.ShouldStop(67108864);
_cat_cl_limitecredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LIMITECREDITO")))))));Debug.locals.put("CAT_CL_LIMITECREDITO", _cat_cl_limitecredito);Debug.locals.put("CAT_CL_LIMITECREDITO", _cat_cl_limitecredito);
 BA.debugLineNum = 1532;BA.debugLine="Dim CAT_CL_GIRO As String = records(RESULT.Co";
Debug.ShouldStop(134217728);
_cat_cl_giro = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_GIRO")))))));Debug.locals.put("CAT_CL_GIRO", _cat_cl_giro);Debug.locals.put("CAT_CL_GIRO", _cat_cl_giro);
 BA.debugLineNum = 1534;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE";
Debug.ShouldStop(536870912);
_cat_cl_tipocliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE")))))));Debug.locals.put("CAT_CL_TIPOCLIENTE", _cat_cl_tipocliente);Debug.locals.put("CAT_CL_TIPOCLIENTE", _cat_cl_tipocliente);
 BA.debugLineNum = 1536;BA.debugLine="Dim CAT_CL_BCOORDENADAS As String = 0";
Debug.ShouldStop(-2147483648);
_cat_cl_bcoordenadas = BA.NumberToString(0);Debug.locals.put("CAT_CL_BCOORDENADAS", _cat_cl_bcoordenadas);Debug.locals.put("CAT_CL_BCOORDENADAS", _cat_cl_bcoordenadas);
 BA.debugLineNum = 1537;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(1);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO, gestion,CAT_CL_BCOORDENADAS, CAT_CL_GIRO,CAT_CL_TIPOCLIENTE) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ,?,0,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {25},new Object[] {(_cat_cl_codigo),(_cat_cl_ruta),(_cat_cl_nombre),(_cat_cl_atiende1),(_cat_cl_atiente2),(_cat_cl_telefono),(_cat_cl_email),(_cat_cl_calle),(_cat_cl_noext),(_cat_cl_noint),(_cat_cl_calle1),(_cat_cl_calle2),(_cat_cl_colonia),(_cat_cl_muni),(_cat_cl_edo),(_cat_cl_cp),(_cat_cl_long),(_cat_cl_lat),(_cat_cl_mtocompra),(_cat_cl_num_seriefisico),(_cat_cl_bcredito),(_cat_cl_limitecredito),(_cat_cl_bcoordenadas),(_cat_cl_giro),(_cat_cl_tipocliente)})))));
 BA.debugLineNum = 1538;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(2);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_STAY_STORE(HSS_CODIGO,  HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_cl_codigo)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1540;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in";
Debug.ShouldStop(8);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0) ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {18},new Object[] {RemoteObject.createImmutable(("0")),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(("VENTA ABORDO")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("NULL")),RemoteObject.createImmutable(("null")),(RemoteObject.createImmutable("NULL"))})))));
 BA.debugLineNum = 1541;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in";
Debug.ShouldStop(16);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0) ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {18},new Object[] {RemoteObject.createImmutable(("1")),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(("VENTA RECARGA")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("NULL")),RemoteObject.createImmutable(("null")),(RemoteObject.createImmutable("NULL"))})))));
 BA.debugLineNum = 1542;BA.debugLine="Listo1 = 1";
Debug.ShouldStop(32);
__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1543;BA.debugLine="S_CC.Text = \"LISTO\"";
Debug.ShouldStop(64);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 BA.debugLineNum = 1544;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Catalogo Clientes Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));};
 BA.debugLineNum = 1545;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 1546;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(512);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 BA.debugLineNum = 1547;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(1024);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1548;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(2048);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 };
 };
 BA.debugLineNum = 1553;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1554;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo";
Debug.ShouldStop(131072);
_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado);
 BA.debugLineNum = 1555;BA.debugLine="If resultado.Tag = \"piezas\" Then 'query tag";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",_resultado.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("piezas")))) { 
 BA.debugLineNum = 1557;BA.debugLine="Dim piezasexiste As Int";
Debug.ShouldStop(1048576);
_piezasexiste = RemoteObject.createImmutable(0);Debug.locals.put("piezasexiste", _piezasexiste);
 BA.debugLineNum = 1559;BA.debugLine="For Each records() As Object In resultado.Rows";
Debug.ShouldStop(4194304);
{
final RemoteObject group134 = _resultado.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen134 = group134.runMethod(true,"getSize").<Integer>get()
;int index134 = 0;
;
for (; index134 < groupLen134;index134++){
_records = (group134.runMethod(false,"Get",index134));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1561;BA.debugLine="piezasexiste = records(resultado.Columns.Get(";
Debug.ShouldStop(16777216);
_piezasexiste = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COUNT(*)")))))));Debug.locals.put("piezasexiste", _piezasexiste);
 BA.debugLineNum = 1562;BA.debugLine="Log(piezasexiste)";
Debug.ShouldStop(33554432);
c_principal.__c.runVoidMethod ("LogImpl","514024852",BA.NumberToString(_piezasexiste),0);
 BA.debugLineNum = 1563;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(67108864);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 1564;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
Debug.ShouldStop(134217728);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss"));
 BA.debugLineNum = 1565;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(268435456);
__ref.setField ("_sdate" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1566;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(536870912);
__ref.setField ("_stime" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1568;BA.debugLine="If piezasexiste =  0 Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",_piezasexiste,BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1570;BA.debugLine="Dim PCNoArts As String";
Debug.ShouldStop(2);
_pcnoarts = RemoteObject.createImmutable("");Debug.locals.put("PCNoArts", _pcnoarts);
 BA.debugLineNum = 1571;BA.debugLine="Dim PCMonto As String";
Debug.ShouldStop(4);
_pcmonto = RemoteObject.createImmutable("");Debug.locals.put("PCMonto", _pcmonto);
 BA.debugLineNum = 1572;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"SELEC";
Debug.ShouldStop(8);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ? AND PC_CLIENTE <> 1")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(true,"_userpiezas" /*RemoteObject*/ )}))));
 BA.debugLineNum = 1574;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 = 1575;BA.debugLine="c.Position = 0";
Debug.ShouldStop(64);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1576;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")";
Debug.ShouldStop(128);
_pcnoarts = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")));Debug.locals.put("PCNoArts", _pcnoarts);
 BA.debugLineNum = 1577;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")";
Debug.ShouldStop(256);
_pcmonto = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")));Debug.locals.put("PCMonto", _pcmonto);
 };
 BA.debugLineNum = 1580;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(2048);
c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 1581;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1582;BA.debugLine="cmd.Name = \"insert_HVC_SHARK2\"";
Debug.ShouldStop(8192);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_HVC_SHARK2"));
 BA.debugLineNum = 1583;BA.debugLine="cmd.Parameters = Array As Object((sDate & \"";
Debug.ShouldStop(16384);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {6},new Object[] {((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),(__ref.getField(true,"_userpiezas" /*RemoteObject*/ )),(_pcnoarts),(_pcmonto),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 1584;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insert_hvc\"";
Debug.ShouldStop(32768);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insert_hvc"))));
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1596;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1597;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(268435456);
_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 = 1598;BA.debugLine="If RESULT.Tag = \"kmt_datos_todos\" Then 'query t";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("kmt_datos_todos")))) { 
 BA.debugLineNum = 1599;BA.debugLine="S_CC.TEXT = \"CARGANDO\"";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 BA.debugLineNum = 1600;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 = 1601;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT.";
Debug.ShouldStop(1);
_cat_cl_codigo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CODIGO")))))));Debug.locals.put("CAT_CL_CODIGO", _cat_cl_codigo);Debug.locals.put("CAT_CL_CODIGO", _cat_cl_codigo);
 BA.debugLineNum = 1602;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co";
Debug.ShouldStop(2);
_cat_cl_ruta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_RUTA")))))));Debug.locals.put("CAT_CL_RUTA", _cat_cl_ruta);Debug.locals.put("CAT_CL_RUTA", _cat_cl_ruta);
 BA.debugLineNum = 1603;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT.";
Debug.ShouldStop(4);
_cat_cl_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOMBRE")))))));Debug.locals.put("CAT_CL_NOMBRE", _cat_cl_nombre);Debug.locals.put("CAT_CL_NOMBRE", _cat_cl_nombre);
 BA.debugLineNum = 1604;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL";
Debug.ShouldStop(8);
_cat_cl_atiende1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_ATIENDE1")))))));Debug.locals.put("CAT_CL_ATIENDE1", _cat_cl_atiende1);Debug.locals.put("CAT_CL_ATIENDE1", _cat_cl_atiende1);
 BA.debugLineNum = 1605;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL";
Debug.ShouldStop(16);
_cat_cl_atiente2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_ATIENTE2")))))));Debug.locals.put("CAT_CL_ATIENTE2", _cat_cl_atiente2);Debug.locals.put("CAT_CL_ATIENTE2", _cat_cl_atiente2);
 BA.debugLineNum = 1606;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL";
Debug.ShouldStop(32);
_cat_cl_telefono = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_TELEFONO")))))));Debug.locals.put("CAT_CL_TELEFONO", _cat_cl_telefono);Debug.locals.put("CAT_CL_TELEFONO", _cat_cl_telefono);
 BA.debugLineNum = 1607;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C";
Debug.ShouldStop(64);
_cat_cl_email = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_EMAIL")))))));Debug.locals.put("CAT_CL_EMAIL", _cat_cl_email);Debug.locals.put("CAT_CL_EMAIL", _cat_cl_email);
 BA.debugLineNum = 1608;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C";
Debug.ShouldStop(128);
_cat_cl_calle = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE")))))));Debug.locals.put("CAT_CL_CALLE", _cat_cl_calle);Debug.locals.put("CAT_CL_CALLE", _cat_cl_calle);
 BA.debugLineNum = 1609;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C";
Debug.ShouldStop(256);
_cat_cl_noext = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOEXT")))))));Debug.locals.put("CAT_CL_NOEXT", _cat_cl_noext);Debug.locals.put("CAT_CL_NOEXT", _cat_cl_noext);
 BA.debugLineNum = 1610;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C";
Debug.ShouldStop(512);
_cat_cl_noint = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NOINT")))))));Debug.locals.put("CAT_CL_NOINT", _cat_cl_noint);Debug.locals.put("CAT_CL_NOINT", _cat_cl_noint);
 BA.debugLineNum = 1611;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT.";
Debug.ShouldStop(1024);
_cat_cl_calle1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE1")))))));Debug.locals.put("CAT_CL_CALLE1", _cat_cl_calle1);Debug.locals.put("CAT_CL_CALLE1", _cat_cl_calle1);
 BA.debugLineNum = 1612;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT.";
Debug.ShouldStop(2048);
_cat_cl_calle2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CALLE2")))))));Debug.locals.put("CAT_CL_CALLE2", _cat_cl_calle2);Debug.locals.put("CAT_CL_CALLE2", _cat_cl_calle2);
 BA.debugLineNum = 1613;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT";
Debug.ShouldStop(4096);
_cat_cl_colonia = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_COLONIA")))))));Debug.locals.put("CAT_CL_COLONIA", _cat_cl_colonia);Debug.locals.put("CAT_CL_COLONIA", _cat_cl_colonia);
 BA.debugLineNum = 1614;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co";
Debug.ShouldStop(8192);
_cat_cl_muni = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_MUNI")))))));Debug.locals.put("CAT_CL_MUNI", _cat_cl_muni);Debug.locals.put("CAT_CL_MUNI", _cat_cl_muni);
 BA.debugLineNum = 1615;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col";
Debug.ShouldStop(16384);
_cat_cl_edo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_EDO")))))));Debug.locals.put("CAT_CL_EDO", _cat_cl_edo);Debug.locals.put("CAT_CL_EDO", _cat_cl_edo);
 BA.debugLineNum = 1616;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu";
Debug.ShouldStop(32768);
_cat_cl_cp = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CP")))))));Debug.locals.put("CAT_CL_CP", _cat_cl_cp);Debug.locals.put("CAT_CL_CP", _cat_cl_cp);
 BA.debugLineNum = 1617;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co";
Debug.ShouldStop(65536);
_cat_cl_long = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LONG")))))));Debug.locals.put("CAT_CL_LONG", _cat_cl_long);Debug.locals.put("CAT_CL_LONG", _cat_cl_long);
 BA.debugLineNum = 1618;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col";
Debug.ShouldStop(131072);
_cat_cl_lat = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LAT")))))));Debug.locals.put("CAT_CL_LAT", _cat_cl_lat);Debug.locals.put("CAT_CL_LAT", _cat_cl_lat);
 BA.debugLineNum = 1619;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU";
Debug.ShouldStop(262144);
_cat_cl_mtocompra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_MTOCOMPRA")))))));Debug.locals.put("CAT_CL_MTOCOMPRA", _cat_cl_mtocompra);Debug.locals.put("CAT_CL_MTOCOMPRA", _cat_cl_mtocompra);
 BA.debugLineNum = 1620;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record";
Debug.ShouldStop(524288);
_cat_cl_num_seriefisico = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO")))))));Debug.locals.put("CAT_CL_NUM_SERIEFISICO", _cat_cl_num_seriefisico);Debug.locals.put("CAT_CL_NUM_SERIEFISICO", _cat_cl_num_seriefisico);
 BA.debugLineNum = 1621;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL";
Debug.ShouldStop(1048576);
_cat_cl_bcredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_BCREDITO")))))));Debug.locals.put("CAT_CL_BCREDITO", _cat_cl_bcredito);Debug.locals.put("CAT_CL_BCREDITO", _cat_cl_bcredito);
 BA.debugLineNum = 1622;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records(";
Debug.ShouldStop(2097152);
_cat_cl_limitecredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LIMITECREDITO")))))));Debug.locals.put("CAT_CL_LIMITECREDITO", _cat_cl_limitecredito);Debug.locals.put("CAT_CL_LIMITECREDITO", _cat_cl_limitecredito);
 BA.debugLineNum = 1623;BA.debugLine="Dim CAT_CL_DIAS_VISITA As String = records(RE";
Debug.ShouldStop(4194304);
_cat_cl_dias_visita = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_DIAS_VISITA")))))));Debug.locals.put("CAT_CL_DIAS_VISITA", _cat_cl_dias_visita);Debug.locals.put("CAT_CL_DIAS_VISITA", _cat_cl_dias_visita);
 BA.debugLineNum = 1624;BA.debugLine="Dim CAT_CL_GIRO As String = records(RESULT.Co";
Debug.ShouldStop(8388608);
_cat_cl_giro = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_GIRO")))))));Debug.locals.put("CAT_CL_GIRO", _cat_cl_giro);Debug.locals.put("CAT_CL_GIRO", _cat_cl_giro);
 BA.debugLineNum = 1625;BA.debugLine="Dim CAT_CL_GIRO As String = records(RESULT.Co";
Debug.ShouldStop(16777216);
_cat_cl_giro = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_GIRO")))))));Debug.locals.put("CAT_CL_GIRO", _cat_cl_giro);Debug.locals.put("CAT_CL_GIRO", _cat_cl_giro);
 BA.debugLineNum = 1626;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(33554432);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info2(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_DIAS_VISITA, CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO,CAT_CL_GIRO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0, ?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {24},new Object[] {(_cat_cl_codigo),(_cat_cl_ruta),(_cat_cl_nombre),(_cat_cl_atiende1),(_cat_cl_atiente2),(_cat_cl_telefono),(_cat_cl_email),(_cat_cl_calle),(_cat_cl_noext),(_cat_cl_noint),(_cat_cl_calle1),(_cat_cl_calle2),(_cat_cl_colonia),(_cat_cl_muni),(_cat_cl_edo),(_cat_cl_cp),(_cat_cl_long),(_cat_cl_lat),(_cat_cl_mtocompra),(_cat_cl_num_seriefisico),(_cat_cl_dias_visita),(_cat_cl_bcredito),(_cat_cl_limitecredito),(_cat_cl_giro)})))));
 BA.debugLineNum = 1627;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(67108864);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_STAY_STORE(HSS_CODIGO,  HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_cl_codigo)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1629;BA.debugLine="Listo1 = 1";
Debug.ShouldStop(268435456);
__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1630;BA.debugLine="S_CC.Text = \"LISTO\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 BA.debugLineNum = 1631;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Catalogo Clientes Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));};
 BA.debugLineNum = 1632;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 1633;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(1);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 BA.debugLineNum = 1634;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(2);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1635;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(4);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 };
 };
 BA.debugLineNum = 1640;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1641;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(256);
_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 = 1642;BA.debugLine="If RESULT.Tag = \"resum_apk\" Then 'query tag";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("resum_apk")))) { 
 BA.debugLineNum = 1643;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(1024);
{
final RemoteObject group205 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen205 = group205.runMethod(true,"getSize").<Integer>get()
;int index205 = 0;
;
for (; index205 < groupLen205;index205++){
_records = (group205.runMethod(false,"Get",index205));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1644;BA.debugLine="Dim HIST_RA_OBJMES As String = records(RESULT";
Debug.ShouldStop(2048);
_hist_ra_objmes = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_OBJMES")))))));Debug.locals.put("HIST_RA_OBJMES", _hist_ra_objmes);Debug.locals.put("HIST_RA_OBJMES", _hist_ra_objmes);
 BA.debugLineNum = 1645;BA.debugLine="Dim HIST_RA_VENTA As String = records(RESULT.";
Debug.ShouldStop(4096);
_hist_ra_venta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VENTA")))))));Debug.locals.put("HIST_RA_VENTA", _hist_ra_venta);Debug.locals.put("HIST_RA_VENTA", _hist_ra_venta);
 BA.debugLineNum = 1646;BA.debugLine="Dim HIST_RA_TENDENCIA As String = records(RES";
Debug.ShouldStop(8192);
_hist_ra_tendencia = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_TENDENCIA")))))));Debug.locals.put("HIST_RA_TENDENCIA", _hist_ra_tendencia);Debug.locals.put("HIST_RA_TENDENCIA", _hist_ra_tendencia);
 BA.debugLineNum = 1647;BA.debugLine="Dim HIST_RA_ALCANCE As String = records(RESUL";
Debug.ShouldStop(16384);
_hist_ra_alcance = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_ALCANCE")))))));Debug.locals.put("HIST_RA_ALCANCE", _hist_ra_alcance);Debug.locals.put("HIST_RA_ALCANCE", _hist_ra_alcance);
 BA.debugLineNum = 1648;BA.debugLine="Dim HISR_RA_DRAOBJ As String = records(RESULT";
Debug.ShouldStop(32768);
_hisr_ra_draobj = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HISR_RA_DRAOBJ")))))));Debug.locals.put("HISR_RA_DRAOBJ", _hisr_ra_draobj);Debug.locals.put("HISR_RA_DRAOBJ", _hisr_ra_draobj);
 BA.debugLineNum = 1649;BA.debugLine="Dim HIST_RA_DRAVTA As String = records(RESULT";
Debug.ShouldStop(65536);
_hist_ra_dravta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_DRAVTA")))))));Debug.locals.put("HIST_RA_DRAVTA", _hist_ra_dravta);Debug.locals.put("HIST_RA_DRAVTA", _hist_ra_dravta);
 BA.debugLineNum = 1650;BA.debugLine="Dim HIST_RA_DSOBJ As String = records(RESULT.";
Debug.ShouldStop(131072);
_hist_ra_dsobj = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_DSOBJ")))))));Debug.locals.put("HIST_RA_DSOBJ", _hist_ra_dsobj);Debug.locals.put("HIST_RA_DSOBJ", _hist_ra_dsobj);
 BA.debugLineNum = 1651;BA.debugLine="Dim HIST_RA_DSVTA As String = records(RESULT.";
Debug.ShouldStop(262144);
_hist_ra_dsvta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_DSVTA")))))));Debug.locals.put("HIST_RA_DSVTA", _hist_ra_dsvta);Debug.locals.put("HIST_RA_DSVTA", _hist_ra_dsvta);
 BA.debugLineNum = 1652;BA.debugLine="Dim HIST_RA_VPOOBJ As String = records(RESULT";
Debug.ShouldStop(524288);
_hist_ra_vpoobj = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VPOOBJ")))))));Debug.locals.put("HIST_RA_VPOOBJ", _hist_ra_vpoobj);Debug.locals.put("HIST_RA_VPOOBJ", _hist_ra_vpoobj);
 BA.debugLineNum = 1653;BA.debugLine="Dim HIST_RA_VPOVTA As String = records(RESULT";
Debug.ShouldStop(1048576);
_hist_ra_vpovta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VPOVTA")))))));Debug.locals.put("HIST_RA_VPOVTA", _hist_ra_vpovta);Debug.locals.put("HIST_RA_VPOVTA", _hist_ra_vpovta);
 BA.debugLineNum = 1654;BA.debugLine="Dim HIST_RA_CTES As String = records(RESULT.C";
Debug.ShouldStop(2097152);
_hist_ra_ctes = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_CTES")))))));Debug.locals.put("HIST_RA_CTES", _hist_ra_ctes);Debug.locals.put("HIST_RA_CTES", _hist_ra_ctes);
 BA.debugLineNum = 1655;BA.debugLine="Dim HIST_RA_COBCCC As String = records(RESULT";
Debug.ShouldStop(4194304);
_hist_ra_cobccc = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_COBCCC")))))));Debug.locals.put("HIST_RA_COBCCC", _hist_ra_cobccc);Debug.locals.put("HIST_RA_COBCCC", _hist_ra_cobccc);
 BA.debugLineNum = 1656;BA.debugLine="Dim HIST_RA_ECO As String = records(RESULT.Co";
Debug.ShouldStop(8388608);
_hist_ra_eco = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_ECO")))))));Debug.locals.put("HIST_RA_ECO", _hist_ra_eco);Debug.locals.put("HIST_RA_ECO", _hist_ra_eco);
 BA.debugLineNum = 1657;BA.debugLine="Dim HIST_RA_VISITPLAN As String = records(RES";
Debug.ShouldStop(16777216);
_hist_ra_visitplan = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VISITPLAN")))))));Debug.locals.put("HIST_RA_VISITPLAN", _hist_ra_visitplan);Debug.locals.put("HIST_RA_VISITPLAN", _hist_ra_visitplan);
 BA.debugLineNum = 1658;BA.debugLine="Dim HIST_RA_VISIREAL As String = records(RESU";
Debug.ShouldStop(33554432);
_hist_ra_visireal = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VISIREAL")))))));Debug.locals.put("HIST_RA_VISIREAL", _hist_ra_visireal);Debug.locals.put("HIST_RA_VISIREAL", _hist_ra_visireal);
 BA.debugLineNum = 1659;BA.debugLine="Dim HIST_RA_COBVISIT As String = records(RESU";
Debug.ShouldStop(67108864);
_hist_ra_cobvisit = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_COBVISIT")))))));Debug.locals.put("HIST_RA_COBVISIT", _hist_ra_cobvisit);Debug.locals.put("HIST_RA_COBVISIT", _hist_ra_cobvisit);
 BA.debugLineNum = 1660;BA.debugLine="Dim HIST_RA_FRECCOMPOBJ As String = records(R";
Debug.ShouldStop(134217728);
_hist_ra_freccompobj = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_FRECCOMPOBJ")))))));Debug.locals.put("HIST_RA_FRECCOMPOBJ", _hist_ra_freccompobj);Debug.locals.put("HIST_RA_FRECCOMPOBJ", _hist_ra_freccompobj);
 BA.debugLineNum = 1661;BA.debugLine="Dim HIST_RA_FRECCOMREAL As String = records(R";
Debug.ShouldStop(268435456);
_hist_ra_freccomreal = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_FRECCOMREAL")))))));Debug.locals.put("HIST_RA_FRECCOMREAL", _hist_ra_freccomreal);Debug.locals.put("HIST_RA_FRECCOMREAL", _hist_ra_freccomreal);
 BA.debugLineNum = 1662;BA.debugLine="Dim HIST_RA_VENTAMES1 As String = records(RES";
Debug.ShouldStop(536870912);
_hist_ra_ventames1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VENTAMES1")))))));Debug.locals.put("HIST_RA_VENTAMES1", _hist_ra_ventames1);Debug.locals.put("HIST_RA_VENTAMES1", _hist_ra_ventames1);
 BA.debugLineNum = 1663;BA.debugLine="Dim HIST_RA_VENTAMES2 As String = records(RES";
Debug.ShouldStop(1073741824);
_hist_ra_ventames2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VENTAMES2")))))));Debug.locals.put("HIST_RA_VENTAMES2", _hist_ra_ventames2);Debug.locals.put("HIST_RA_VENTAMES2", _hist_ra_ventames2);
 BA.debugLineNum = 1664;BA.debugLine="Dim HIST_RA_VENTAMES3 As String = records(RES";
Debug.ShouldStop(-2147483648);
_hist_ra_ventames3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VENTAMES3")))))));Debug.locals.put("HIST_RA_VENTAMES3", _hist_ra_ventames3);Debug.locals.put("HIST_RA_VENTAMES3", _hist_ra_ventames3);
 BA.debugLineNum = 1665;BA.debugLine="Dim HIST_RA_VENTAMES4 As String = records(RES";
Debug.ShouldStop(1);
_hist_ra_ventames4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VENTAMES4")))))));Debug.locals.put("HIST_RA_VENTAMES4", _hist_ra_ventames4);Debug.locals.put("HIST_RA_VENTAMES4", _hist_ra_ventames4);
 BA.debugLineNum = 1666;BA.debugLine="Dim HIST_RA_RECHAZO As String = records(RESUL";
Debug.ShouldStop(2);
_hist_ra_rechazo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_RECHAZO")))))));Debug.locals.put("HIST_RA_RECHAZO", _hist_ra_rechazo);Debug.locals.put("HIST_RA_RECHAZO", _hist_ra_rechazo);
 BA.debugLineNum = 1667;BA.debugLine="Dim HIST_RA_RECHAZOPORCEN As String = records";
Debug.ShouldStop(4);
_hist_ra_rechazoporcen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_RECHAZOPORCEN")))))));Debug.locals.put("HIST_RA_RECHAZOPORCEN", _hist_ra_rechazoporcen);Debug.locals.put("HIST_RA_RECHAZOPORCEN", _hist_ra_rechazoporcen);
 BA.debugLineNum = 1668;BA.debugLine="Dim HIST_RA_SEMANA1 As String = records(RESUL";
Debug.ShouldStop(8);
_hist_ra_semana1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA1")))))));Debug.locals.put("HIST_RA_SEMANA1", _hist_ra_semana1);Debug.locals.put("HIST_RA_SEMANA1", _hist_ra_semana1);
 BA.debugLineNum = 1669;BA.debugLine="Dim HIST_RA_SEMANA1_DIAS As String = records(";
Debug.ShouldStop(16);
_hist_ra_semana1_dias = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA1_DIAS")))))));Debug.locals.put("HIST_RA_SEMANA1_DIAS", _hist_ra_semana1_dias);Debug.locals.put("HIST_RA_SEMANA1_DIAS", _hist_ra_semana1_dias);
 BA.debugLineNum = 1670;BA.debugLine="Dim HIST_RA_SEMANA1_DRA As String = records(R";
Debug.ShouldStop(32);
_hist_ra_semana1_dra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA1_DRA")))))));Debug.locals.put("HIST_RA_SEMANA1_DRA", _hist_ra_semana1_dra);Debug.locals.put("HIST_RA_SEMANA1_DRA", _hist_ra_semana1_dra);
 BA.debugLineNum = 1671;BA.debugLine="Dim HIST_RA_SEMANA2 As String = records(RESUL";
Debug.ShouldStop(64);
_hist_ra_semana2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA2")))))));Debug.locals.put("HIST_RA_SEMANA2", _hist_ra_semana2);Debug.locals.put("HIST_RA_SEMANA2", _hist_ra_semana2);
 BA.debugLineNum = 1672;BA.debugLine="Dim HIST_RA_SEMANA2_DIAS As String = records(";
Debug.ShouldStop(128);
_hist_ra_semana2_dias = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA2_DIAS")))))));Debug.locals.put("HIST_RA_SEMANA2_DIAS", _hist_ra_semana2_dias);Debug.locals.put("HIST_RA_SEMANA2_DIAS", _hist_ra_semana2_dias);
 BA.debugLineNum = 1673;BA.debugLine="Dim HIST_RA_SEMANA2_DRA As String = records(R";
Debug.ShouldStop(256);
_hist_ra_semana2_dra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA2_DRA")))))));Debug.locals.put("HIST_RA_SEMANA2_DRA", _hist_ra_semana2_dra);Debug.locals.put("HIST_RA_SEMANA2_DRA", _hist_ra_semana2_dra);
 BA.debugLineNum = 1674;BA.debugLine="Dim HIST_RA_SEMANA3 As String = records(RESUL";
Debug.ShouldStop(512);
_hist_ra_semana3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA3")))))));Debug.locals.put("HIST_RA_SEMANA3", _hist_ra_semana3);Debug.locals.put("HIST_RA_SEMANA3", _hist_ra_semana3);
 BA.debugLineNum = 1675;BA.debugLine="Dim HIST_RA_SEMANA3_DIAS As String = records(";
Debug.ShouldStop(1024);
_hist_ra_semana3_dias = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA3_DIAS")))))));Debug.locals.put("HIST_RA_SEMANA3_DIAS", _hist_ra_semana3_dias);Debug.locals.put("HIST_RA_SEMANA3_DIAS", _hist_ra_semana3_dias);
 BA.debugLineNum = 1676;BA.debugLine="Dim HIST_RA_SEMANA3_DRA As String = records(R";
Debug.ShouldStop(2048);
_hist_ra_semana3_dra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA3_DRA")))))));Debug.locals.put("HIST_RA_SEMANA3_DRA", _hist_ra_semana3_dra);Debug.locals.put("HIST_RA_SEMANA3_DRA", _hist_ra_semana3_dra);
 BA.debugLineNum = 1677;BA.debugLine="Dim HIST_RA_SEMANA4 As String = records(RESUL";
Debug.ShouldStop(4096);
_hist_ra_semana4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA4")))))));Debug.locals.put("HIST_RA_SEMANA4", _hist_ra_semana4);Debug.locals.put("HIST_RA_SEMANA4", _hist_ra_semana4);
 BA.debugLineNum = 1678;BA.debugLine="Dim HIST_RA_SEMANA4_DIAS As String = records(";
Debug.ShouldStop(8192);
_hist_ra_semana4_dias = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA4_DIAS")))))));Debug.locals.put("HIST_RA_SEMANA4_DIAS", _hist_ra_semana4_dias);Debug.locals.put("HIST_RA_SEMANA4_DIAS", _hist_ra_semana4_dias);
 BA.debugLineNum = 1679;BA.debugLine="Dim HIST_RA_SEMANA4_DRA As String = records(R";
Debug.ShouldStop(16384);
_hist_ra_semana4_dra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA4_DRA")))))));Debug.locals.put("HIST_RA_SEMANA4_DRA", _hist_ra_semana4_dra);Debug.locals.put("HIST_RA_SEMANA4_DRA", _hist_ra_semana4_dra);
 BA.debugLineNum = 1680;BA.debugLine="Dim HIST_RA_SEMANA5 As String = records(RESUL";
Debug.ShouldStop(32768);
_hist_ra_semana5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA5")))))));Debug.locals.put("HIST_RA_SEMANA5", _hist_ra_semana5);Debug.locals.put("HIST_RA_SEMANA5", _hist_ra_semana5);
 BA.debugLineNum = 1681;BA.debugLine="Dim HIST_RA_SEMANA5_DIAS As String = records(";
Debug.ShouldStop(65536);
_hist_ra_semana5_dias = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA5_DIAS")))))));Debug.locals.put("HIST_RA_SEMANA5_DIAS", _hist_ra_semana5_dias);Debug.locals.put("HIST_RA_SEMANA5_DIAS", _hist_ra_semana5_dias);
 BA.debugLineNum = 1682;BA.debugLine="Dim HIST_RA_SEMANA5_DRA As String = records(R";
Debug.ShouldStop(131072);
_hist_ra_semana5_dra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA5_DRA")))))));Debug.locals.put("HIST_RA_SEMANA5_DRA", _hist_ra_semana5_dra);Debug.locals.put("HIST_RA_SEMANA5_DRA", _hist_ra_semana5_dra);
 BA.debugLineNum = 1683;BA.debugLine="Dim HIST_RA_SEMANA1_LPT As String = records(R";
Debug.ShouldStop(262144);
_hist_ra_semana1_lpt = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA1_LPT")))))));Debug.locals.put("HIST_RA_SEMANA1_LPT", _hist_ra_semana1_lpt);Debug.locals.put("HIST_RA_SEMANA1_LPT", _hist_ra_semana1_lpt);
 BA.debugLineNum = 1684;BA.debugLine="Dim HIST_RA_SEMANA2_LPT As String = records(R";
Debug.ShouldStop(524288);
_hist_ra_semana2_lpt = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA2_LPT")))))));Debug.locals.put("HIST_RA_SEMANA2_LPT", _hist_ra_semana2_lpt);Debug.locals.put("HIST_RA_SEMANA2_LPT", _hist_ra_semana2_lpt);
 BA.debugLineNum = 1685;BA.debugLine="Dim HIST_RA_SEMANA3_LPT As String = records(R";
Debug.ShouldStop(1048576);
_hist_ra_semana3_lpt = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA3_LPT")))))));Debug.locals.put("HIST_RA_SEMANA3_LPT", _hist_ra_semana3_lpt);Debug.locals.put("HIST_RA_SEMANA3_LPT", _hist_ra_semana3_lpt);
 BA.debugLineNum = 1686;BA.debugLine="Dim HIST_RA_SEMANA4_LPT As String = records(R";
Debug.ShouldStop(2097152);
_hist_ra_semana4_lpt = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA4_LPT")))))));Debug.locals.put("HIST_RA_SEMANA4_LPT", _hist_ra_semana4_lpt);Debug.locals.put("HIST_RA_SEMANA4_LPT", _hist_ra_semana4_lpt);
 BA.debugLineNum = 1687;BA.debugLine="Dim HIST_RA_SEMANA5_LPT As String = records(R";
Debug.ShouldStop(4194304);
_hist_ra_semana5_lpt = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA5_LPT")))))));Debug.locals.put("HIST_RA_SEMANA5_LPT", _hist_ra_semana5_lpt);Debug.locals.put("HIST_RA_SEMANA5_LPT", _hist_ra_semana5_lpt);
 BA.debugLineNum = 1688;BA.debugLine="Dim HIST_RA_RUTA As String = records(RESULT.C";
Debug.ShouldStop(8388608);
_hist_ra_ruta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_RUTA")))))));Debug.locals.put("HIST_RA_RUTA", _hist_ra_ruta);Debug.locals.put("HIST_RA_RUTA", _hist_ra_ruta);
 BA.debugLineNum = 1689;BA.debugLine="Dim HIST_RA_IDALMACEN As String = records(RES";
Debug.ShouldStop(16777216);
_hist_ra_idalmacen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_IDALMACEN")))))));Debug.locals.put("HIST_RA_IDALMACEN", _hist_ra_idalmacen);Debug.locals.put("HIST_RA_IDALMACEN", _hist_ra_idalmacen);
 BA.debugLineNum = 1691;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(67108864);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_RESUM_APK(HIST_RA_OBJMES,HIST_RA_VENTA,HIST_RA_TENDENCIA,HIST_RA_ALCANCE,HISR_RA_DRAOBJ,HIST_RA_DRAVTA,HIST_RA_DSOBJ,HIST_RA_DSVTA,HIST_RA_VPOOBJ,HIST_RA_VPOVTA,HIST_RA_CTES,HIST_RA_COBCCC,HIST_RA_ECO,HIST_RA_VISITPLAN,HIST_RA_VISIREAL,HIST_RA_COBVISIT,HIST_RA_FRECCOMPOBJ,HIST_RA_FRECCOMREAL,HIST_RA_VENTAMES1,HIST_RA_VENTAMES2,HIST_RA_VENTAMES3,HIST_RA_VENTAMES4,HIST_RA_RECHAZO,HIST_RA_RECHAZOPORCEN,HIST_RA_SEMANA1,HIST_RA_SEMANA1_DIAS,HIST_RA_SEMANA1_DRA,HIST_RA_SEMANA2,HIST_RA_SEMANA2_DIAS,HIST_RA_SEMANA2_DRA,HIST_RA_SEMANA3,HIST_RA_SEMANA3_DIAS,HIST_RA_SEMANA3_DRA,HIST_RA_SEMANA4,HIST_RA_SEMANA4_DIAS,HIST_RA_SEMANA4_DRA,HIST_RA_SEMANA5,HIST_RA_SEMANA5_DIAS,HIST_RA_SEMANA5_DRA,HIST_RA_SEMANA1_LPT,HIST_RA_SEMANA2_LPT,HIST_RA_SEMANA3_LPT,HIST_RA_SEMANA4_LPT,HIST_RA_SEMANA5_LPT,HIST_RA_RUTA,HIST_RA_IDALMACEN) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {46},new Object[] {(_hist_ra_objmes),(_hist_ra_venta),(_hist_ra_tendencia),(_hist_ra_alcance),(_hisr_ra_draobj),(_hist_ra_dravta),(_hist_ra_dsobj),(_hist_ra_dsvta),(_hist_ra_vpoobj),(_hist_ra_vpovta),(_hist_ra_ctes),(_hist_ra_cobccc),(_hist_ra_eco),(_hist_ra_visitplan),(_hist_ra_visireal),(_hist_ra_cobvisit),(_hist_ra_freccompobj),(_hist_ra_freccomreal),(_hist_ra_ventames1),(_hist_ra_ventames2),(_hist_ra_ventames3),(_hist_ra_ventames4),(_hist_ra_rechazo),(_hist_ra_rechazoporcen),(_hist_ra_semana1),(_hist_ra_semana1_dias),(_hist_ra_semana1_dra),(_hist_ra_semana2),(_hist_ra_semana2_dias),(_hist_ra_semana2_dra),(_hist_ra_semana3),(_hist_ra_semana3_dias),(_hist_ra_semana3_dra),(_hist_ra_semana4),(_hist_ra_semana4_dias),(_hist_ra_semana4_dra),(_hist_ra_semana5),(_hist_ra_semana5_dias),(_hist_ra_semana5_dra),(_hist_ra_semana1_lpt),(_hist_ra_semana2_lpt),(_hist_ra_semana3_lpt),(_hist_ra_semana4_lpt),(_hist_ra_semana5_lpt),(_hist_ra_ruta),(_hist_ra_idalmacen)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1694;BA.debugLine="Listo1 = 1";
Debug.ShouldStop(536870912);
__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1695;BA.debugLine="S_CC.Text = \"LISTO\"";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 BA.debugLineNum = 1696;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Catalogo Resumen Actualizado.")),(Object)(c_principal.__c.getField(true,"True")));};
 };
 };
 BA.debugLineNum = 1700;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1701;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(16);
_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 = 1702;BA.debugLine="If RESULT.Tag = \"hist_promos\" Then 'query tag";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_promos")))) { 
 BA.debugLineNum = 1703;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(64);
{
final RemoteObject group262 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen262 = group262.runMethod(true,"getSize").<Integer>get()
;int index262 = 0;
;
for (; index262 < groupLen262;index262++){
_records = (group262.runMethod(false,"Get",index262));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1704;BA.debugLine="Dim HP_CLIENTE As String = records(RESULT.Col";
Debug.ShouldStop(128);
_hp_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HP_CLIENTE")))))));Debug.locals.put("HP_CLIENTE", _hp_cliente);Debug.locals.put("HP_CLIENTE", _hp_cliente);
 BA.debugLineNum = 1705;BA.debugLine="Dim HP_CODIGO_PROMOCION As String = records(R";
Debug.ShouldStop(256);
_hp_codigo_promocion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HP_CODIGO_PROMOCION")))))));Debug.locals.put("HP_CODIGO_PROMOCION", _hp_codigo_promocion);Debug.locals.put("HP_CODIGO_PROMOCION", _hp_codigo_promocion);
 BA.debugLineNum = 1706;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(512);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_PROMOS(HP_CLIENTE, HP_CODIGO_PROMOCION) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_hp_cliente),(_hp_codigo_promocion)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1708;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Historico Promociones Actualizado.")),(Object)(c_principal.__c.getField(true,"True")));};
 BA.debugLineNum = 1709;BA.debugLine="If PB1.Progress = 0 Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1710;BA.debugLine="PB1.Progress = 30";
Debug.ShouldStop(8192);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 1711;BA.debugLine="S_CH.Text = \"CARGANDO\"";
Debug.ShouldStop(16384);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 1712;BA.debugLine="ELSE If PB1.Progress = 30 Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 1713;BA.debugLine="PB1.Progress = 60";
Debug.ShouldStop(65536);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 1714;BA.debugLine="ELSE IF PB1.Progress = 60 Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 1715;BA.debugLine="PB1.Progress = 100";
Debug.ShouldStop(262144);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 1716;BA.debugLine="S_CH.Text = \"LISTO\"";
Debug.ShouldStop(524288);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 };
 };
 BA.debugLineNum = 1721;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1722;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(33554432);
_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 = 1723;BA.debugLine="If RESULT.Tag = \"hist_cliente_promos\" Then 'que";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_cliente_promos")))) { 
 BA.debugLineNum = 1724;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(134217728);
{
final RemoteObject group282 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen282 = group282.runMethod(true,"getSize").<Integer>get()
;int index282 = 0;
;
for (; index282 < groupLen282;index282++){
_records = (group282.runMethod(false,"Get",index282));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1725;BA.debugLine="Dim HCCP_CLIENTE As String = records(RESULT.C";
Debug.ShouldStop(268435456);
_hccp_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCCP_CLIENTE")))))));Debug.locals.put("HCCP_CLIENTE", _hccp_cliente);Debug.locals.put("HCCP_CLIENTE", _hccp_cliente);
 BA.debugLineNum = 1726;BA.debugLine="Dim HCCP_PROMO As String = records(RESULT.Col";
Debug.ShouldStop(536870912);
_hccp_promo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCCP_PROMO")))))));Debug.locals.put("HCCP_PROMO", _hccp_promo);Debug.locals.put("HCCP_PROMO", _hccp_promo);
 BA.debugLineNum = 1727;BA.debugLine="Dim HCCP_CANT As String = records(RESULT.Colu";
Debug.ShouldStop(1073741824);
_hccp_cant = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCCP_CANT")))))));Debug.locals.put("HCCP_CANT", _hccp_cant);Debug.locals.put("HCCP_CANT", _hccp_cant);
 BA.debugLineNum = 1728;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(-2147483648);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_CLIENTE_CANT_PROMOS(HCCP_CLIENTE, HCCP_PROMO, HCCP_CANT) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_hccp_cliente),(_hccp_promo),(_hccp_cant)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1730;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(" Historico Clientes Promociones Actualizado.")),(Object)(c_principal.__c.getField(true,"True")));};
 };
 };
 BA.debugLineNum = 1734;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1735;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(64);
_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 = 1736;BA.debugLine="If RESULT.Tag = \"GEOCERCA\" Then 'query tag";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("GEOCERCA")))) { 
 BA.debugLineNum = 1737;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(256);
{
final RemoteObject group294 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen294 = group294.runMethod(true,"getSize").<Integer>get()
;int index294 = 0;
;
for (; index294 < groupLen294;index294++){
_records = (group294.runMethod(false,"Get",index294));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1738;BA.debugLine="Dim CAT_AL_GEOCERCA As String = records(RESUL";
Debug.ShouldStop(512);
_cat_al_geocerca = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_GEOCERCA")))))));Debug.locals.put("CAT_AL_GEOCERCA", _cat_al_geocerca);Debug.locals.put("CAT_AL_GEOCERCA", _cat_al_geocerca);
 BA.debugLineNum = 1739;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(1024);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO GEOCERCA(ACTIVA) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_al_geocerca)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1744;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1745;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(65536);
_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 = 1746;BA.debugLine="If RESULT.Tag = \"coords_almacen\" Then 'query ta";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("coords_almacen")))) { 
 BA.debugLineNum = 1747;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(262144);
{
final RemoteObject group303 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen303 = group303.runMethod(true,"getSize").<Integer>get()
;int index303 = 0;
;
for (; index303 < groupLen303;index303++){
_records = (group303.runMethod(false,"Get",index303));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1748;BA.debugLine="Dim CAT_AL_LATITUD As String = records(RESULT";
Debug.ShouldStop(524288);
_cat_al_latitud = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LATITUD")))))));Debug.locals.put("CAT_AL_LATITUD", _cat_al_latitud);Debug.locals.put("CAT_AL_LATITUD", _cat_al_latitud);
 BA.debugLineNum = 1749;BA.debugLine="Dim CAT_AL_LONGITUD As String = records(RESUL";
Debug.ShouldStop(1048576);
_cat_al_longitud = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LONGITUD")))))));Debug.locals.put("CAT_AL_LONGITUD", _cat_al_longitud);Debug.locals.put("CAT_AL_LONGITUD", _cat_al_longitud);
 BA.debugLineNum = 1750;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(2097152);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO COORDS_ALMACEN(LAT,LONG) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cat_al_latitud),(_cat_al_longitud)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1755;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1756;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(134217728);
_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 = 1757;BA.debugLine="If RESULT.Tag = \"HIST_MARCAS_CUOTAS\" Then 'quer";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("HIST_MARCAS_CUOTAS")))) { 
 BA.debugLineNum = 1758;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(536870912);
{
final RemoteObject group313 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen313 = group313.runMethod(true,"getSize").<Integer>get()
;int index313 = 0;
;
for (; index313 < groupLen313;index313++){
_records = (group313.runMethod(false,"Get",index313));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1759;BA.debugLine="Dim HMC_MARCA As String = records(RESULT.Colu";
Debug.ShouldStop(1073741824);
_hmc_marca = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HMC_MARCA")))))));Debug.locals.put("HMC_MARCA", _hmc_marca);Debug.locals.put("HMC_MARCA", _hmc_marca);
 BA.debugLineNum = 1760;BA.debugLine="Dim HMC_TOTAL As String = records(RESULT.Colu";
Debug.ShouldStop(-2147483648);
_hmc_total = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HMC_TOTAL")))))));Debug.locals.put("HMC_TOTAL", _hmc_total);Debug.locals.put("HMC_TOTAL", _hmc_total);
 BA.debugLineNum = 1761;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(1);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_MARCAS_CUOTAS(HMC_MARCA, HMC_TOTAL) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_hmc_marca),(_hmc_total)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1763;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(" Historico Marcas")),(Object)(c_principal.__c.getField(true,"True")));};
 };
 };
 BA.debugLineNum = 1767;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1768;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(128);
_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 = 1769;BA.debugLine="If RESULT.Tag = \"hist_comp_promos\" Then 'query";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_comp_promos")))) { 
 BA.debugLineNum = 1770;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(512);
{
final RemoteObject group324 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen324 = group324.runMethod(true,"getSize").<Integer>get()
;int index324 = 0;
;
for (; index324 < groupLen324;index324++){
_records = (group324.runMethod(false,"Get",index324));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1771;BA.debugLine="Dim CAT_PA_ID As String = records(RESULT.Colu";
Debug.ShouldStop(1024);
_cat_pa_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_ID")))))));Debug.locals.put("CAT_PA_ID", _cat_pa_id);Debug.locals.put("CAT_PA_ID", _cat_pa_id);
 BA.debugLineNum = 1772;BA.debugLine="Dim CAT_PA_MAXPROM As String = records(RESULT";
Debug.ShouldStop(2048);
_cat_pa_maxprom = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_MAXPROM")))))));Debug.locals.put("CAT_PA_MAXPROM", _cat_pa_maxprom);Debug.locals.put("CAT_PA_MAXPROM", _cat_pa_maxprom);
 BA.debugLineNum = 1773;BA.debugLine="Dim CAT_PA_MAXPROMREC As String = records(RES";
Debug.ShouldStop(4096);
_cat_pa_maxpromrec = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_MAXPROMREC")))))));Debug.locals.put("CAT_PA_MAXPROMREC", _cat_pa_maxpromrec);Debug.locals.put("CAT_PA_MAXPROMREC", _cat_pa_maxpromrec);
 BA.debugLineNum = 1774;BA.debugLine="Dim CAT_PA_MAXPROMCLIE As String = records(RE";
Debug.ShouldStop(8192);
_cat_pa_maxpromclie = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_MAXPROMCLIE")))))));Debug.locals.put("CAT_PA_MAXPROMCLIE", _cat_pa_maxpromclie);Debug.locals.put("CAT_PA_MAXPROMCLIE", _cat_pa_maxpromclie);
 BA.debugLineNum = 1775;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(16384);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROMOS_COMP(CAT_PA_ID, CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE) VALUES (?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(_cat_pa_id),(_cat_pa_maxprom),(_cat_pa_maxpromrec),(_cat_pa_maxpromclie)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1777;BA.debugLine="If PB1.Progress = 0 Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1778;BA.debugLine="PB1.Progress = 30";
Debug.ShouldStop(131072);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 1779;BA.debugLine="S_CH.Text = \"CARGANDO\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 1780;BA.debugLine="ELSE If PB1.Progress = 30 Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 1781;BA.debugLine="PB1.Progress = 60";
Debug.ShouldStop(1048576);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 1782;BA.debugLine="ELSE IF PB1.Progress = 60 Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 1783;BA.debugLine="PB1.Progress = 100";
Debug.ShouldStop(4194304);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 1784;BA.debugLine="S_CH.Text = \"LISTO\"";
Debug.ShouldStop(8388608);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 };
 };
 BA.debugLineNum = 1789;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1790;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 = 1791;BA.debugLine="If RESULT.Tag = \"cat_verificacion\" Then 'query";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("cat_verificacion")))) { 
 BA.debugLineNum = 1792;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(-2147483648);
{
final RemoteObject group345 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen345 = group345.runMethod(true,"getSize").<Integer>get()
;int index345 = 0;
;
for (; index345 < groupLen345;index345++){
_records = (group345.runMethod(false,"Get",index345));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1793;BA.debugLine="Dim CAT_VE_IDPROD As String = records(RESULT.";
Debug.ShouldStop(1);
_cat_ve_idprod = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VE_IDPROD")))))));Debug.locals.put("CAT_VE_IDPROD", _cat_ve_idprod);Debug.locals.put("CAT_VE_IDPROD", _cat_ve_idprod);
 BA.debugLineNum = 1794;BA.debugLine="Dim CAT_VE_NOMBRE As String = records(RESULT.";
Debug.ShouldStop(2);
_cat_ve_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VE_NOMBRE")))))));Debug.locals.put("CAT_VE_NOMBRE", _cat_ve_nombre);Debug.locals.put("CAT_VE_NOMBRE", _cat_ve_nombre);
 BA.debugLineNum = 1795;BA.debugLine="Dim CAT_VE_ORDEN As String = records(RESULT.C";
Debug.ShouldStop(4);
_cat_ve_orden = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VE_ORDEN")))))));Debug.locals.put("CAT_VE_ORDEN", _cat_ve_orden);Debug.locals.put("CAT_VE_ORDEN", _cat_ve_orden);
 BA.debugLineNum = 1796;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(8);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VERIFICACION(CAT_VE_IDPROD, CAT_VE_NOMBRE,CAT_VE_ORDEN) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_cat_ve_idprod),(_cat_ve_nombre),(_cat_ve_orden)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1801;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1802;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 = 1803;BA.debugLine="If RESULT.Tag = \"marcas_rutas\" Then 'query tag";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("marcas_rutas")))) { 
 BA.debugLineNum = 1804;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(2048);
{
final RemoteObject group356 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen356 = group356.runMethod(true,"getSize").<Integer>get()
;int index356 = 0;
;
for (; index356 < groupLen356;index356++){
_records = (group356.runMethod(false,"Get",index356));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1805;BA.debugLine="Dim HVD_MARCA As String = records(RESULT.Colu";
Debug.ShouldStop(4096);
_hvd_marca = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_MARCA")))))));Debug.locals.put("HVD_MARCA", _hvd_marca);Debug.locals.put("HVD_MARCA", _hvd_marca);
 BA.debugLineNum = 1806;BA.debugLine="Dim CLIENTES As String = records(RESULT.Colum";
Debug.ShouldStop(8192);
_clientes = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CLIENTES")))))));Debug.locals.put("CLIENTES", _clientes);Debug.locals.put("CLIENTES", _clientes);
 BA.debugLineNum = 1807;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(16384);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO MARCAS_RUTAS(HVD_MARCA, CLIENTES) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_hvd_marca),(_clientes)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1813;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1814;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(2097152);
_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 = 1815;BA.debugLine="If RESULT.Tag = \"CUOTAS\" Then 'query tag";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("CUOTAS")))) { 
 BA.debugLineNum = 1816;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(8388608);
{
final RemoteObject group366 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen366 = group366.runMethod(true,"getSize").<Integer>get()
;int index366 = 0;
;
for (; index366 < groupLen366;index366++){
_records = (group366.runMethod(false,"Get",index366));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1817;BA.debugLine="Dim HC_RUTA As String = records(RESULT.Column";
Debug.ShouldStop(16777216);
_hc_ruta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_RUTA")))))));Debug.locals.put("HC_RUTA", _hc_ruta);Debug.locals.put("HC_RUTA", _hc_ruta);
 BA.debugLineNum = 1818;BA.debugLine="Dim HC_CUOTA1 As String = records(RESULT.Colu";
Debug.ShouldStop(33554432);
_hc_cuota1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_CUOTA1")))))));Debug.locals.put("HC_CUOTA1", _hc_cuota1);Debug.locals.put("HC_CUOTA1", _hc_cuota1);
 BA.debugLineNum = 1819;BA.debugLine="Dim HC_CUOTA2 As String = records(RESULT.Colu";
Debug.ShouldStop(67108864);
_hc_cuota2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_CUOTA2")))))));Debug.locals.put("HC_CUOTA2", _hc_cuota2);Debug.locals.put("HC_CUOTA2", _hc_cuota2);
 BA.debugLineNum = 1820;BA.debugLine="Dim HC_CUOTA3 As String = records(RESULT.Colu";
Debug.ShouldStop(134217728);
_hc_cuota3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_CUOTA3")))))));Debug.locals.put("HC_CUOTA3", _hc_cuota3);Debug.locals.put("HC_CUOTA3", _hc_cuota3);
 BA.debugLineNum = 1821;BA.debugLine="Dim HC_CUOTA4 As String = records(RESULT.Colu";
Debug.ShouldStop(268435456);
_hc_cuota4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_CUOTA4")))))));Debug.locals.put("HC_CUOTA4", _hc_cuota4);Debug.locals.put("HC_CUOTA4", _hc_cuota4);
 BA.debugLineNum = 1822;BA.debugLine="Dim HC_CUOTA5 As String = records(RESULT.Colu";
Debug.ShouldStop(536870912);
_hc_cuota5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_CUOTA5")))))));Debug.locals.put("HC_CUOTA5", _hc_cuota5);Debug.locals.put("HC_CUOTA5", _hc_cuota5);
 BA.debugLineNum = 1823;BA.debugLine="Dim HC_CUOTA6 As String = records(RESULT.Colu";
Debug.ShouldStop(1073741824);
_hc_cuota6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_CUOTA6")))))));Debug.locals.put("HC_CUOTA6", _hc_cuota6);Debug.locals.put("HC_CUOTA6", _hc_cuota6);
 BA.debugLineNum = 1824;BA.debugLine="Dim HC_META1 As String = records(RESULT.Colum";
Debug.ShouldStop(-2147483648);
_hc_meta1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_META1")))))));Debug.locals.put("HC_META1", _hc_meta1);Debug.locals.put("HC_META1", _hc_meta1);
 BA.debugLineNum = 1825;BA.debugLine="Dim HC_META2 As String = records(RESULT.Colum";
Debug.ShouldStop(1);
_hc_meta2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_META2")))))));Debug.locals.put("HC_META2", _hc_meta2);Debug.locals.put("HC_META2", _hc_meta2);
 BA.debugLineNum = 1826;BA.debugLine="Dim HC_META3 As String = records(RESULT.Colum";
Debug.ShouldStop(2);
_hc_meta3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_META3")))))));Debug.locals.put("HC_META3", _hc_meta3);Debug.locals.put("HC_META3", _hc_meta3);
 BA.debugLineNum = 1827;BA.debugLine="Dim HC_META4 As String = records(RESULT.Colum";
Debug.ShouldStop(4);
_hc_meta4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_META4")))))));Debug.locals.put("HC_META4", _hc_meta4);Debug.locals.put("HC_META4", _hc_meta4);
 BA.debugLineNum = 1828;BA.debugLine="Dim HC_META5 As String = records(RESULT.Colum";
Debug.ShouldStop(8);
_hc_meta5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_META5")))))));Debug.locals.put("HC_META5", _hc_meta5);Debug.locals.put("HC_META5", _hc_meta5);
 BA.debugLineNum = 1829;BA.debugLine="Dim HC_META6 As String = records(RESULT.Colum";
Debug.ShouldStop(16);
_hc_meta6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_META6")))))));Debug.locals.put("HC_META6", _hc_meta6);Debug.locals.put("HC_META6", _hc_meta6);
 BA.debugLineNum = 1830;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(32);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_CUOTAS(HC_RUTA, HC_CUOTA1,HC_CUOTA2,HC_CUOTA3,HC_CUOTA4,HC_CUOTA5,HC_CUOTA6,HC_META1,HC_META2,HC_META3,HC_META4,HC_META5,HC_META6) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {13},new Object[] {(_hc_ruta),(_hc_cuota1),(_hc_cuota2),(_hc_cuota3),(_hc_cuota4),(_hc_cuota5),(_hc_cuota6),(_hc_meta1),(_hc_meta2),(_hc_meta3),(_hc_meta4),(_hc_meta5),(_hc_meta6)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1850;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1851;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(67108864);
_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 = 1852;BA.debugLine="If RESULT.Tag = \"gunaprod\" Then 'query tag";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprod")))) { 
 BA.debugLineNum = 1853;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("<",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));};
 BA.debugLineNum = 1854;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(536870912);
{
final RemoteObject group388 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen388 = group388.runMethod(true,"getSize").<Integer>get()
;int index388 = 0;
;
for (; index388 < groupLen388;index388++){
_records = (group388.runMethod(false,"Get",index388));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1855;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
Debug.ShouldStop(1073741824);
_cat_gp_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_ID")))))));Debug.locals.put("CAT_GP_ID", _cat_gp_id);Debug.locals.put("CAT_GP_ID", _cat_gp_id);
 BA.debugLineNum = 1856;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
Debug.ShouldStop(-2147483648);
_cat_gp_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_NOMBRE")))))));Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);
 BA.debugLineNum = 1857;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
Debug.ShouldStop(1);
_cat_gp_imp1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMP1")))))));Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);
 BA.debugLineNum = 1858;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
Debug.ShouldStop(2);
_cat_gp_imp2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMP2")))))));Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);
 BA.debugLineNum = 1859;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
Debug.ShouldStop(4);
_cat_gp_clasif = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_CLASIF")))))));Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);
 BA.debugLineNum = 1860;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
Debug.ShouldStop(8);
_cat_gp_sts = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_STS")))))));Debug.locals.put("CAT_GP_STS", _cat_gp_sts);Debug.locals.put("CAT_GP_STS", _cat_gp_sts);
 BA.debugLineNum = 1861;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
Debug.ShouldStop(16);
_cat_gp_tipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_TIPO")))))));Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);
 BA.debugLineNum = 1862;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
Debug.ShouldStop(32);
_cat_gp_subtipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_SUBTIPO")))))));Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);
 BA.debugLineNum = 1863;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
Debug.ShouldStop(64);
_cat_gp_img = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMG")))))));Debug.locals.put("CAT_GP_IMG", _cat_gp_img);Debug.locals.put("CAT_GP_IMG", _cat_gp_img);
 BA.debugLineNum = 1864;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
Debug.ShouldStop(128);
_cat_gp_almacen = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_ALMACEN")))))));Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);
 BA.debugLineNum = 1865;BA.debugLine="Dim CAT_GP_DEV As String = records(RESULT.Col";
Debug.ShouldStop(256);
_cat_gp_dev = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DEV")))))));Debug.locals.put("CAT_GP_DEV", _cat_gp_dev);Debug.locals.put("CAT_GP_DEV", _cat_gp_dev);
 BA.debugLineNum = 1866;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
Debug.ShouldStop(512);
_cat_gp_tipoprod = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_TIPOPROD")))))));Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);
 BA.debugLineNum = 1867;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT";
Debug.ShouldStop(1024);
_cat_gp_iniciativa = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_INICIATIVA")))))));Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);
 BA.debugLineNum = 1869;BA.debugLine="Dim CAT_GP_TIPOPROD2 As String = 0";
Debug.ShouldStop(4096);
_cat_gp_tipoprod2 = BA.NumberToString(0);Debug.locals.put("CAT_GP_TIPOPROD2", _cat_gp_tipoprod2);Debug.locals.put("CAT_GP_TIPOPROD2", _cat_gp_tipoprod2);
 BA.debugLineNum = 1872;BA.debugLine="Dim CAT_GP_PRECIO1 As String = records(RESULT";
Debug.ShouldStop(32768);
_cat_gp_precio1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO1")))))));Debug.locals.put("CAT_GP_PRECIO1", _cat_gp_precio1);Debug.locals.put("CAT_GP_PRECIO1", _cat_gp_precio1);
 BA.debugLineNum = 1873;BA.debugLine="Dim CAT_GP_PRECIO2 As String = records(RESULT";
Debug.ShouldStop(65536);
_cat_gp_precio2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO2")))))));Debug.locals.put("CAT_GP_PRECIO2", _cat_gp_precio2);Debug.locals.put("CAT_GP_PRECIO2", _cat_gp_precio2);
 BA.debugLineNum = 1874;BA.debugLine="Dim CAT_GP_PRECIO3 As String = records(RESULT";
Debug.ShouldStop(131072);
_cat_gp_precio3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO3")))))));Debug.locals.put("CAT_GP_PRECIO3", _cat_gp_precio3);Debug.locals.put("CAT_GP_PRECIO3", _cat_gp_precio3);
 BA.debugLineNum = 1875;BA.debugLine="Dim CAT_GP_PRECIO4 As String = records(RESULT";
Debug.ShouldStop(262144);
_cat_gp_precio4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO4")))))));Debug.locals.put("CAT_GP_PRECIO4", _cat_gp_precio4);Debug.locals.put("CAT_GP_PRECIO4", _cat_gp_precio4);
 BA.debugLineNum = 1876;BA.debugLine="Dim CAT_GP_PRECIO5 As String = records(RESULT";
Debug.ShouldStop(524288);
_cat_gp_precio5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO5")))))));Debug.locals.put("CAT_GP_PRECIO5", _cat_gp_precio5);Debug.locals.put("CAT_GP_PRECIO5", _cat_gp_precio5);
 BA.debugLineNum = 1877;BA.debugLine="Dim CAT_GP_PRECIO6 As String = records(RESULT";
Debug.ShouldStop(1048576);
_cat_gp_precio6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO6")))))));Debug.locals.put("CAT_GP_PRECIO6", _cat_gp_precio6);Debug.locals.put("CAT_GP_PRECIO6", _cat_gp_precio6);
 BA.debugLineNum = 1878;BA.debugLine="Dim CAT_GP_PRECIO7 As String = records(RESULT";
Debug.ShouldStop(2097152);
_cat_gp_precio7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO7")))))));Debug.locals.put("CAT_GP_PRECIO7", _cat_gp_precio7);Debug.locals.put("CAT_GP_PRECIO7", _cat_gp_precio7);
 BA.debugLineNum = 1879;BA.debugLine="Dim CAT_GP_PRECIO8 As String = records(RESULT";
Debug.ShouldStop(4194304);
_cat_gp_precio8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO8")))))));Debug.locals.put("CAT_GP_PRECIO8", _cat_gp_precio8);Debug.locals.put("CAT_GP_PRECIO8", _cat_gp_precio8);
 BA.debugLineNum = 1880;BA.debugLine="Dim CAT_GP_PRECIO9 As String = records(RESULT";
Debug.ShouldStop(8388608);
_cat_gp_precio9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO9")))))));Debug.locals.put("CAT_GP_PRECIO9", _cat_gp_precio9);Debug.locals.put("CAT_GP_PRECIO9", _cat_gp_precio9);
 BA.debugLineNum = 1881;BA.debugLine="Dim CAT_GP_PRECIO10 As String = records(RESUL";
Debug.ShouldStop(16777216);
_cat_gp_precio10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO10")))))));Debug.locals.put("CAT_GP_PRECIO10", _cat_gp_precio10);Debug.locals.put("CAT_GP_PRECIO10", _cat_gp_precio10);
 BA.debugLineNum = 1882;BA.debugLine="Dim CAT_GP_PRECIO11 As String = records(RESUL";
Debug.ShouldStop(33554432);
_cat_gp_precio11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO11")))))));Debug.locals.put("CAT_GP_PRECIO11", _cat_gp_precio11);Debug.locals.put("CAT_GP_PRECIO11", _cat_gp_precio11);
 BA.debugLineNum = 1885;BA.debugLine="Dim CAT_GP_PRESENTACION1 As String = records(";
Debug.ShouldStop(268435456);
_cat_gp_presentacion1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION1")))))));Debug.locals.put("CAT_GP_PRESENTACION1", _cat_gp_presentacion1);Debug.locals.put("CAT_GP_PRESENTACION1", _cat_gp_presentacion1);
 BA.debugLineNum = 1886;BA.debugLine="Dim CAT_GP_PRESENTACION2 As String = records(";
Debug.ShouldStop(536870912);
_cat_gp_presentacion2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION2")))))));Debug.locals.put("CAT_GP_PRESENTACION2", _cat_gp_presentacion2);Debug.locals.put("CAT_GP_PRESENTACION2", _cat_gp_presentacion2);
 BA.debugLineNum = 1887;BA.debugLine="Dim CAT_GP_PRESENTACION3 As String = records(";
Debug.ShouldStop(1073741824);
_cat_gp_presentacion3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION3")))))));Debug.locals.put("CAT_GP_PRESENTACION3", _cat_gp_presentacion3);Debug.locals.put("CAT_GP_PRESENTACION3", _cat_gp_presentacion3);
 BA.debugLineNum = 1888;BA.debugLine="Dim CAT_GP_PRESENTACION4 As String = records(";
Debug.ShouldStop(-2147483648);
_cat_gp_presentacion4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION4")))))));Debug.locals.put("CAT_GP_PRESENTACION4", _cat_gp_presentacion4);Debug.locals.put("CAT_GP_PRESENTACION4", _cat_gp_presentacion4);
 BA.debugLineNum = 1889;BA.debugLine="Dim CAT_GP_PRESENTACION5 As String = records(";
Debug.ShouldStop(1);
_cat_gp_presentacion5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION5")))))));Debug.locals.put("CAT_GP_PRESENTACION5", _cat_gp_presentacion5);Debug.locals.put("CAT_GP_PRESENTACION5", _cat_gp_presentacion5);
 BA.debugLineNum = 1890;BA.debugLine="Dim CAT_GP_PRESENTACION6 As String = records(";
Debug.ShouldStop(2);
_cat_gp_presentacion6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION6")))))));Debug.locals.put("CAT_GP_PRESENTACION6", _cat_gp_presentacion6);Debug.locals.put("CAT_GP_PRESENTACION6", _cat_gp_presentacion6);
 BA.debugLineNum = 1891;BA.debugLine="Dim CAT_GP_PRESENTACION7 As String = records(";
Debug.ShouldStop(4);
_cat_gp_presentacion7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION7")))))));Debug.locals.put("CAT_GP_PRESENTACION7", _cat_gp_presentacion7);Debug.locals.put("CAT_GP_PRESENTACION7", _cat_gp_presentacion7);
 BA.debugLineNum = 1892;BA.debugLine="Dim CAT_GP_PRESENTACION8 As String = records(";
Debug.ShouldStop(8);
_cat_gp_presentacion8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION8")))))));Debug.locals.put("CAT_GP_PRESENTACION8", _cat_gp_presentacion8);Debug.locals.put("CAT_GP_PRESENTACION8", _cat_gp_presentacion8);
 BA.debugLineNum = 1893;BA.debugLine="Dim CAT_GP_PRESENTACION9 As String = records(";
Debug.ShouldStop(16);
_cat_gp_presentacion9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION9")))))));Debug.locals.put("CAT_GP_PRESENTACION9", _cat_gp_presentacion9);Debug.locals.put("CAT_GP_PRESENTACION9", _cat_gp_presentacion9);
 BA.debugLineNum = 1894;BA.debugLine="Dim CAT_GP_PRESENTACION10 As String = records";
Debug.ShouldStop(32);
_cat_gp_presentacion10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION10")))))));Debug.locals.put("CAT_GP_PRESENTACION10", _cat_gp_presentacion10);Debug.locals.put("CAT_GP_PRESENTACION10", _cat_gp_presentacion10);
 BA.debugLineNum = 1895;BA.debugLine="Dim CAT_GP_PRESENTACION11 As String = records";
Debug.ShouldStop(64);
_cat_gp_presentacion11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION11")))))));Debug.locals.put("CAT_GP_PRESENTACION11", _cat_gp_presentacion11);Debug.locals.put("CAT_GP_PRESENTACION11", _cat_gp_presentacion11);
 BA.debugLineNum = 1898;BA.debugLine="Dim CAT_GP_UMV1 As String = records(RESULT.Co";
Debug.ShouldStop(512);
_cat_gp_umv1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV1")))))));Debug.locals.put("CAT_GP_UMV1", _cat_gp_umv1);Debug.locals.put("CAT_GP_UMV1", _cat_gp_umv1);
 BA.debugLineNum = 1899;BA.debugLine="Dim CAT_GP_UMV2 As String = records(RESULT.Co";
Debug.ShouldStop(1024);
_cat_gp_umv2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV2")))))));Debug.locals.put("CAT_GP_UMV2", _cat_gp_umv2);Debug.locals.put("CAT_GP_UMV2", _cat_gp_umv2);
 BA.debugLineNum = 1900;BA.debugLine="Dim CAT_GP_UMV3 As String = records(RESULT.Co";
Debug.ShouldStop(2048);
_cat_gp_umv3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV3")))))));Debug.locals.put("CAT_GP_UMV3", _cat_gp_umv3);Debug.locals.put("CAT_GP_UMV3", _cat_gp_umv3);
 BA.debugLineNum = 1901;BA.debugLine="Dim CAT_GP_UMV4 As String = records(RESULT.Co";
Debug.ShouldStop(4096);
_cat_gp_umv4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV4")))))));Debug.locals.put("CAT_GP_UMV4", _cat_gp_umv4);Debug.locals.put("CAT_GP_UMV4", _cat_gp_umv4);
 BA.debugLineNum = 1902;BA.debugLine="Dim CAT_GP_UMV5 As String = records(RESULT.Co";
Debug.ShouldStop(8192);
_cat_gp_umv5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV5")))))));Debug.locals.put("CAT_GP_UMV5", _cat_gp_umv5);Debug.locals.put("CAT_GP_UMV5", _cat_gp_umv5);
 BA.debugLineNum = 1903;BA.debugLine="Dim CAT_GP_UMV6 As String = records(RESULT.Co";
Debug.ShouldStop(16384);
_cat_gp_umv6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV6")))))));Debug.locals.put("CAT_GP_UMV6", _cat_gp_umv6);Debug.locals.put("CAT_GP_UMV6", _cat_gp_umv6);
 BA.debugLineNum = 1904;BA.debugLine="Dim CAT_GP_UMV7 As String = records(RESULT.Co";
Debug.ShouldStop(32768);
_cat_gp_umv7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV7")))))));Debug.locals.put("CAT_GP_UMV7", _cat_gp_umv7);Debug.locals.put("CAT_GP_UMV7", _cat_gp_umv7);
 BA.debugLineNum = 1905;BA.debugLine="Dim CAT_GP_UMV8 As String = records(RESULT.Co";
Debug.ShouldStop(65536);
_cat_gp_umv8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV8")))))));Debug.locals.put("CAT_GP_UMV8", _cat_gp_umv8);Debug.locals.put("CAT_GP_UMV8", _cat_gp_umv8);
 BA.debugLineNum = 1906;BA.debugLine="Dim CAT_GP_UMV9 As String = records(RESULT.Co";
Debug.ShouldStop(131072);
_cat_gp_umv9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV9")))))));Debug.locals.put("CAT_GP_UMV9", _cat_gp_umv9);Debug.locals.put("CAT_GP_UMV9", _cat_gp_umv9);
 BA.debugLineNum = 1907;BA.debugLine="Dim CAT_GP_UMV10 As String = records(RESULT.C";
Debug.ShouldStop(262144);
_cat_gp_umv10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV10")))))));Debug.locals.put("CAT_GP_UMV10", _cat_gp_umv10);Debug.locals.put("CAT_GP_UMV10", _cat_gp_umv10);
 BA.debugLineNum = 1908;BA.debugLine="Dim CAT_GP_UMV11 As String = records(RESULT.C";
Debug.ShouldStop(524288);
_cat_gp_umv11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV11")))))));Debug.locals.put("CAT_GP_UMV11", _cat_gp_umv11);Debug.locals.put("CAT_GP_UMV11", _cat_gp_umv11);
 BA.debugLineNum = 1911;BA.debugLine="Dim CAT_GP_DIRIGIDA1 As String = records(RESU";
Debug.ShouldStop(4194304);
_cat_gp_dirigida1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA1")))))));Debug.locals.put("CAT_GP_DIRIGIDA1", _cat_gp_dirigida1);Debug.locals.put("CAT_GP_DIRIGIDA1", _cat_gp_dirigida1);
 BA.debugLineNum = 1912;BA.debugLine="Dim CAT_GP_DIRIGIDA2 As String = records(RESU";
Debug.ShouldStop(8388608);
_cat_gp_dirigida2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA2")))))));Debug.locals.put("CAT_GP_DIRIGIDA2", _cat_gp_dirigida2);Debug.locals.put("CAT_GP_DIRIGIDA2", _cat_gp_dirigida2);
 BA.debugLineNum = 1913;BA.debugLine="Dim CAT_GP_DIRIGIDA3 As String = records(RESU";
Debug.ShouldStop(16777216);
_cat_gp_dirigida3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA3")))))));Debug.locals.put("CAT_GP_DIRIGIDA3", _cat_gp_dirigida3);Debug.locals.put("CAT_GP_DIRIGIDA3", _cat_gp_dirigida3);
 BA.debugLineNum = 1914;BA.debugLine="Dim CAT_GP_DIRIGIDA4 As String = records(RESU";
Debug.ShouldStop(33554432);
_cat_gp_dirigida4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA4")))))));Debug.locals.put("CAT_GP_DIRIGIDA4", _cat_gp_dirigida4);Debug.locals.put("CAT_GP_DIRIGIDA4", _cat_gp_dirigida4);
 BA.debugLineNum = 1915;BA.debugLine="Dim CAT_GP_DIRIGIDA5 As String = records(RESU";
Debug.ShouldStop(67108864);
_cat_gp_dirigida5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA5")))))));Debug.locals.put("CAT_GP_DIRIGIDA5", _cat_gp_dirigida5);Debug.locals.put("CAT_GP_DIRIGIDA5", _cat_gp_dirigida5);
 BA.debugLineNum = 1916;BA.debugLine="Dim CAT_GP_DIRIGIDA6 As String = records(RESU";
Debug.ShouldStop(134217728);
_cat_gp_dirigida6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA6")))))));Debug.locals.put("CAT_GP_DIRIGIDA6", _cat_gp_dirigida6);Debug.locals.put("CAT_GP_DIRIGIDA6", _cat_gp_dirigida6);
 BA.debugLineNum = 1917;BA.debugLine="Dim CAT_GP_DIRIGIDA7 As String = records(RESU";
Debug.ShouldStop(268435456);
_cat_gp_dirigida7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA7")))))));Debug.locals.put("CAT_GP_DIRIGIDA7", _cat_gp_dirigida7);Debug.locals.put("CAT_GP_DIRIGIDA7", _cat_gp_dirigida7);
 BA.debugLineNum = 1918;BA.debugLine="Dim CAT_GP_DIRIGIDA8 As String = records(RESU";
Debug.ShouldStop(536870912);
_cat_gp_dirigida8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA8")))))));Debug.locals.put("CAT_GP_DIRIGIDA8", _cat_gp_dirigida8);Debug.locals.put("CAT_GP_DIRIGIDA8", _cat_gp_dirigida8);
 BA.debugLineNum = 1919;BA.debugLine="Dim CAT_GP_DIRIGIDA9 As String = records(RESU";
Debug.ShouldStop(1073741824);
_cat_gp_dirigida9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA9")))))));Debug.locals.put("CAT_GP_DIRIGIDA9", _cat_gp_dirigida9);Debug.locals.put("CAT_GP_DIRIGIDA9", _cat_gp_dirigida9);
 BA.debugLineNum = 1920;BA.debugLine="Dim CAT_GP_DIRIGIDA10 As String = records(RES";
Debug.ShouldStop(-2147483648);
_cat_gp_dirigida10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA10")))))));Debug.locals.put("CAT_GP_DIRIGIDA10", _cat_gp_dirigida10);Debug.locals.put("CAT_GP_DIRIGIDA10", _cat_gp_dirigida10);
 BA.debugLineNum = 1921;BA.debugLine="Dim CAT_GP_DIRIGIDA11 As String = records(RES";
Debug.ShouldStop(1);
_cat_gp_dirigida11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA11")))))));Debug.locals.put("CAT_GP_DIRIGIDA11", _cat_gp_dirigida11);Debug.locals.put("CAT_GP_DIRIGIDA11", _cat_gp_dirigida11);
 BA.debugLineNum = 1924;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T";
Debug.ShouldStop(8);
_cat_gp_nombre = _cat_gp_nombre.runMethod(true,"trim");Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);
 BA.debugLineNum = 1925;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(16);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD(CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_IMP1, CAT_GP_IMP2, CAT_GP_CLASIF, CAT_GP_STS, CAT_GP_TIPO, CAT_GP_SUBTIPO, CAT_GP_IMG, CAT_GP_ALMACEN, CAT_GP_DEV, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA, CAT_GP_TIPOPROD2, CAT_GP_PRECIO1, CAT_GP_PRECIO2, CAT_GP_PRECIO3, CAT_GP_PRECIO4, CAT_GP_PRECIO5, CAT_GP_PRECIO6, CAT_GP_PRECIO7, CAT_GP_PRECIO8, CAT_GP_PRECIO9, CAT_GP_PRECIO10, CAT_GP_PRECIO11, CAT_GP_PRESENTACION1, CAT_GP_PRESENTACION2, CAT_GP_PRESENTACION3, CAT_GP_PRESENTACION4, CAT_GP_PRESENTACION5, CAT_GP_PRESENTACION6, CAT_GP_PRESENTACION7, CAT_GP_PRESENTACION8, CAT_GP_PRESENTACION9, CAT_GP_PRESENTACION10, CAT_GP_PRESENTACION11, CAT_GP_UMV1, CAT_GP_UMV2, CAT_GP_UMV3, CAT_GP_UMV4, CAT_GP_UMV5, CAT_GP_UMV6, CAT_GP_UMV7, CAT_GP_UMV8, CAT_GP_UMV9, CAT_GP_UMV10, CAT_GP_UMV11, CAT_GP_DIRIGIDA1, CAT_GP_DIRIGIDA2, CAT_GP_DIRIGIDA3, CAT_GP_DIRIGIDA4, CAT_GP_DIRIGIDA5, CAT_GP_DIRIGIDA6, CAT_GP_DIRIGIDA7, CAT_GP_DIRIGIDA8, CAT_GP_DIRIGIDA9, CAT_GP_DIRIGIDA10, CAT_GP_DIRIGIDA11) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {58},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_dev),(_cat_gp_tipoprod),(_cat_gp_iniciativa),(_cat_gp_tipoprod2),(_cat_gp_precio1),(_cat_gp_precio2),(_cat_gp_precio3),(_cat_gp_precio4),(_cat_gp_precio5),(_cat_gp_precio6),(_cat_gp_precio7),(_cat_gp_precio8),(_cat_gp_precio9),(_cat_gp_precio10),(_cat_gp_precio11),(_cat_gp_presentacion1),(_cat_gp_presentacion2),(_cat_gp_presentacion3),(_cat_gp_presentacion4),(_cat_gp_presentacion5),(_cat_gp_presentacion6),(_cat_gp_presentacion7),(_cat_gp_presentacion8),(_cat_gp_presentacion9),(_cat_gp_presentacion10),(_cat_gp_presentacion11),(_cat_gp_umv1),(_cat_gp_umv2),(_cat_gp_umv3),(_cat_gp_umv4),(_cat_gp_umv5),(_cat_gp_umv6),(_cat_gp_umv7),(_cat_gp_umv8),(_cat_gp_umv9),(_cat_gp_umv10),(_cat_gp_umv11),(_cat_gp_dirigida1),(_cat_gp_dirigida2),(_cat_gp_dirigida3),(_cat_gp_dirigida4),(_cat_gp_dirigida5),(_cat_gp_dirigida6),(_cat_gp_dirigida7),(_cat_gp_dirigida8),(_cat_gp_dirigida9),(_cat_gp_dirigida10),(_cat_gp_dirigida11)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1928;BA.debugLine="Listo2=1";
Debug.ShouldStop(128);
__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1929;BA.debugLine="If PB2.Progress = 0 Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1930;BA.debugLine="PB2.Progress = 30";
Debug.ShouldStop(512);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 1931;BA.debugLine="S_CP.Text = \"CARGANDO\"";
Debug.ShouldStop(1024);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 1932;BA.debugLine="ELSE If PB2.Progress = 30 Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 1933;BA.debugLine="PB2.Progress = 60";
Debug.ShouldStop(4096);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 1934;BA.debugLine="ELSE IF PB2.Progress = 60 Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 1935;BA.debugLine="PB2.Progress = 100";
Debug.ShouldStop(16384);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 1936;BA.debugLine="S_CP.Text = \"LISTO\"";
Debug.ShouldStop(32768);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 BA.debugLineNum = 1938;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Productos Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));};
 BA.debugLineNum = 1939;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 1940;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(524288);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 BA.debugLineNum = 1941;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(1048576);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1942;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(2097152);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 };
 };
 BA.debugLineNum = 1947;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1948;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(134217728);
_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 = 1949;BA.debugLine="If RESULT.Tag = \"gunaprod3\" Then 'query tag";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprod3")))) { 
 BA.debugLineNum = 1950;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("<",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));};
 BA.debugLineNum = 1951;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(1073741824);
{
final RemoteObject group472 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen472 = group472.runMethod(true,"getSize").<Integer>get()
;int index472 = 0;
;
for (; index472 < groupLen472;index472++){
_records = (group472.runMethod(false,"Get",index472));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1952;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
Debug.ShouldStop(-2147483648);
_cat_gp_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_ID")))))));Debug.locals.put("CAT_GP_ID", _cat_gp_id);Debug.locals.put("CAT_GP_ID", _cat_gp_id);
 BA.debugLineNum = 1953;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
Debug.ShouldStop(1);
_cat_gp_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_NOMBRE")))))));Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);
 BA.debugLineNum = 1954;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
Debug.ShouldStop(2);
_cat_gp_imp1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMP1")))))));Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);
 BA.debugLineNum = 1955;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
Debug.ShouldStop(4);
_cat_gp_imp2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMP2")))))));Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);
 BA.debugLineNum = 1956;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT.";
Debug.ShouldStop(8);
_cat_gp_precio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO")))))));Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio);Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio);
 BA.debugLineNum = 1957;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
Debug.ShouldStop(16);
_cat_gp_clasif = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_CLASIF")))))));Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);
 BA.debugLineNum = 1958;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
Debug.ShouldStop(32);
_cat_gp_sts = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_STS")))))));Debug.locals.put("CAT_GP_STS", _cat_gp_sts);Debug.locals.put("CAT_GP_STS", _cat_gp_sts);
 BA.debugLineNum = 1959;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
Debug.ShouldStop(64);
_cat_gp_tipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_TIPO")))))));Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);
 BA.debugLineNum = 1960;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
Debug.ShouldStop(128);
_cat_gp_subtipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_SUBTIPO")))))));Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);
 BA.debugLineNum = 1961;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
Debug.ShouldStop(256);
_cat_gp_img = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMG")))))));Debug.locals.put("CAT_GP_IMG", _cat_gp_img);Debug.locals.put("CAT_GP_IMG", _cat_gp_img);
 BA.debugLineNum = 1962;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
Debug.ShouldStop(512);
_cat_gp_almacen = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_ALMACEN")))))));Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);
 BA.debugLineNum = 1964;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
Debug.ShouldStop(2048);
_cat_gp_tipoprod = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_TIPOPROD")))))));Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);
 BA.debugLineNum = 1965;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT";
Debug.ShouldStop(4096);
_cat_gp_iniciativa = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_INICIATIVA")))))));Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);
 BA.debugLineNum = 1966;BA.debugLine="Dim CAT_DP_PRECIO4 As Float = records(RESULT.";
Debug.ShouldStop(8192);
_cat_dp_precio4 = BA.numberCast(float.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO4")))))));Debug.locals.put("CAT_DP_PRECIO4", _cat_dp_precio4);Debug.locals.put("CAT_DP_PRECIO4", _cat_dp_precio4);
 BA.debugLineNum = 1967;BA.debugLine="Dim CAT_DP_CONVERSION1 As Int = records(RESUL";
Debug.ShouldStop(16384);
_cat_dp_conversion1 = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_CONVERSION1")))))));Debug.locals.put("CAT_DP_CONVERSION1", _cat_dp_conversion1);Debug.locals.put("CAT_DP_CONVERSION1", _cat_dp_conversion1);
 BA.debugLineNum = 1970;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T";
Debug.ShouldStop(131072);
_cat_gp_nombre = _cat_gp_nombre.runMethod(true,"trim");Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);
 BA.debugLineNum = 1971;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(262144);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD3(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_GP_INICIATIVA,CAT_DP_PRECIO4,CAT_DP_CONVERSION1) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {15},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_precio),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_tipoprod),(_cat_gp_iniciativa),(_cat_dp_precio4),(_cat_dp_conversion1)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1976;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1977;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(16777216);
_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 = 1978;BA.debugLine="If RESULT.Tag = \"gunaprod2\" Then 'query tag";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprod2")))) { 
 BA.debugLineNum = 1979;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("<",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));};
 BA.debugLineNum = 1980;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(134217728);
{
final RemoteObject group497 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen497 = group497.runMethod(true,"getSize").<Integer>get()
;int index497 = 0;
;
for (; index497 < groupLen497;index497++){
_records = (group497.runMethod(false,"Get",index497));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1981;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
Debug.ShouldStop(268435456);
_cat_gp_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_ID")))))));Debug.locals.put("CAT_GP_ID", _cat_gp_id);Debug.locals.put("CAT_GP_ID", _cat_gp_id);
 BA.debugLineNum = 1982;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
Debug.ShouldStop(536870912);
_cat_gp_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_NOMBRE")))))));Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);
 BA.debugLineNum = 1983;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
Debug.ShouldStop(1073741824);
_cat_gp_imp1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMP1")))))));Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);
 BA.debugLineNum = 1984;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
Debug.ShouldStop(-2147483648);
_cat_gp_imp2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMP2")))))));Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);
 BA.debugLineNum = 1985;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
Debug.ShouldStop(1);
_cat_gp_clasif = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_CLASIF")))))));Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);
 BA.debugLineNum = 1986;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
Debug.ShouldStop(2);
_cat_gp_sts = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_STS")))))));Debug.locals.put("CAT_GP_STS", _cat_gp_sts);Debug.locals.put("CAT_GP_STS", _cat_gp_sts);
 BA.debugLineNum = 1987;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
Debug.ShouldStop(4);
_cat_gp_tipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_TIPO")))))));Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);
 BA.debugLineNum = 1988;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
Debug.ShouldStop(8);
_cat_gp_subtipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_SUBTIPO")))))));Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);
 BA.debugLineNum = 1989;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
Debug.ShouldStop(16);
_cat_gp_img = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMG")))))));Debug.locals.put("CAT_GP_IMG", _cat_gp_img);Debug.locals.put("CAT_GP_IMG", _cat_gp_img);
 BA.debugLineNum = 1990;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
Debug.ShouldStop(32);
_cat_gp_almacen = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_ALMACEN")))))));Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);
 BA.debugLineNum = 1991;BA.debugLine="Dim CAT_GP_DEV As String = records(RESULT.Col";
Debug.ShouldStop(64);
_cat_gp_dev = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DEV")))))));Debug.locals.put("CAT_GP_DEV", _cat_gp_dev);Debug.locals.put("CAT_GP_DEV", _cat_gp_dev);
 BA.debugLineNum = 1992;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
Debug.ShouldStop(128);
_cat_gp_tipoprod = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_TIPOPROD")))))));Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);
 BA.debugLineNum = 1993;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT";
Debug.ShouldStop(256);
_cat_gp_iniciativa = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_INICIATIVA")))))));Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);
 BA.debugLineNum = 1994;BA.debugLine="Dim CAT_GP_TIPOPROD2 As String = records(RESU";
Debug.ShouldStop(512);
_cat_gp_tipoprod2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_TIPOPROD2")))))));Debug.locals.put("CAT_GP_TIPOPROD2", _cat_gp_tipoprod2);Debug.locals.put("CAT_GP_TIPOPROD2", _cat_gp_tipoprod2);
 BA.debugLineNum = 1997;BA.debugLine="Dim CAT_GP_PRECIO1 As String = records(RESULT";
Debug.ShouldStop(4096);
_cat_gp_precio1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO1")))))));Debug.locals.put("CAT_GP_PRECIO1", _cat_gp_precio1);Debug.locals.put("CAT_GP_PRECIO1", _cat_gp_precio1);
 BA.debugLineNum = 1998;BA.debugLine="Dim CAT_GP_PRECIO2 As String = records(RESULT";
Debug.ShouldStop(8192);
_cat_gp_precio2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO2")))))));Debug.locals.put("CAT_GP_PRECIO2", _cat_gp_precio2);Debug.locals.put("CAT_GP_PRECIO2", _cat_gp_precio2);
 BA.debugLineNum = 1999;BA.debugLine="Dim CAT_GP_PRECIO3 As String = records(RESULT";
Debug.ShouldStop(16384);
_cat_gp_precio3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO3")))))));Debug.locals.put("CAT_GP_PRECIO3", _cat_gp_precio3);Debug.locals.put("CAT_GP_PRECIO3", _cat_gp_precio3);
 BA.debugLineNum = 2000;BA.debugLine="Dim CAT_GP_PRECIO4 As String = records(RESULT";
Debug.ShouldStop(32768);
_cat_gp_precio4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO4")))))));Debug.locals.put("CAT_GP_PRECIO4", _cat_gp_precio4);Debug.locals.put("CAT_GP_PRECIO4", _cat_gp_precio4);
 BA.debugLineNum = 2001;BA.debugLine="Dim CAT_GP_PRECIO5 As String = records(RESULT";
Debug.ShouldStop(65536);
_cat_gp_precio5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO5")))))));Debug.locals.put("CAT_GP_PRECIO5", _cat_gp_precio5);Debug.locals.put("CAT_GP_PRECIO5", _cat_gp_precio5);
 BA.debugLineNum = 2002;BA.debugLine="Dim CAT_GP_PRECIO6 As String = records(RESULT";
Debug.ShouldStop(131072);
_cat_gp_precio6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO6")))))));Debug.locals.put("CAT_GP_PRECIO6", _cat_gp_precio6);Debug.locals.put("CAT_GP_PRECIO6", _cat_gp_precio6);
 BA.debugLineNum = 2003;BA.debugLine="Dim CAT_GP_PRECIO7 As String = records(RESULT";
Debug.ShouldStop(262144);
_cat_gp_precio7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO7")))))));Debug.locals.put("CAT_GP_PRECIO7", _cat_gp_precio7);Debug.locals.put("CAT_GP_PRECIO7", _cat_gp_precio7);
 BA.debugLineNum = 2004;BA.debugLine="Dim CAT_GP_PRECIO8 As String = records(RESULT";
Debug.ShouldStop(524288);
_cat_gp_precio8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO8")))))));Debug.locals.put("CAT_GP_PRECIO8", _cat_gp_precio8);Debug.locals.put("CAT_GP_PRECIO8", _cat_gp_precio8);
 BA.debugLineNum = 2005;BA.debugLine="Dim CAT_GP_PRECIO9 As String = records(RESULT";
Debug.ShouldStop(1048576);
_cat_gp_precio9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO9")))))));Debug.locals.put("CAT_GP_PRECIO9", _cat_gp_precio9);Debug.locals.put("CAT_GP_PRECIO9", _cat_gp_precio9);
 BA.debugLineNum = 2006;BA.debugLine="Dim CAT_GP_PRECIO10 As String = records(RESUL";
Debug.ShouldStop(2097152);
_cat_gp_precio10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO10")))))));Debug.locals.put("CAT_GP_PRECIO10", _cat_gp_precio10);Debug.locals.put("CAT_GP_PRECIO10", _cat_gp_precio10);
 BA.debugLineNum = 2007;BA.debugLine="Dim CAT_GP_PRECIO11 As String = records(RESUL";
Debug.ShouldStop(4194304);
_cat_gp_precio11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO11")))))));Debug.locals.put("CAT_GP_PRECIO11", _cat_gp_precio11);Debug.locals.put("CAT_GP_PRECIO11", _cat_gp_precio11);
 BA.debugLineNum = 2010;BA.debugLine="Dim CAT_GP_PRESENTACION1 As String = records(";
Debug.ShouldStop(33554432);
_cat_gp_presentacion1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION1")))))));Debug.locals.put("CAT_GP_PRESENTACION1", _cat_gp_presentacion1);Debug.locals.put("CAT_GP_PRESENTACION1", _cat_gp_presentacion1);
 BA.debugLineNum = 2011;BA.debugLine="Dim CAT_GP_PRESENTACION2 As String = records(";
Debug.ShouldStop(67108864);
_cat_gp_presentacion2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION2")))))));Debug.locals.put("CAT_GP_PRESENTACION2", _cat_gp_presentacion2);Debug.locals.put("CAT_GP_PRESENTACION2", _cat_gp_presentacion2);
 BA.debugLineNum = 2012;BA.debugLine="Dim CAT_GP_PRESENTACION3 As String = records(";
Debug.ShouldStop(134217728);
_cat_gp_presentacion3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION3")))))));Debug.locals.put("CAT_GP_PRESENTACION3", _cat_gp_presentacion3);Debug.locals.put("CAT_GP_PRESENTACION3", _cat_gp_presentacion3);
 BA.debugLineNum = 2013;BA.debugLine="Dim CAT_GP_PRESENTACION4 As String = records(";
Debug.ShouldStop(268435456);
_cat_gp_presentacion4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION4")))))));Debug.locals.put("CAT_GP_PRESENTACION4", _cat_gp_presentacion4);Debug.locals.put("CAT_GP_PRESENTACION4", _cat_gp_presentacion4);
 BA.debugLineNum = 2014;BA.debugLine="Dim CAT_GP_PRESENTACION5 As String = records(";
Debug.ShouldStop(536870912);
_cat_gp_presentacion5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION5")))))));Debug.locals.put("CAT_GP_PRESENTACION5", _cat_gp_presentacion5);Debug.locals.put("CAT_GP_PRESENTACION5", _cat_gp_presentacion5);
 BA.debugLineNum = 2015;BA.debugLine="Dim CAT_GP_PRESENTACION6 As String = records(";
Debug.ShouldStop(1073741824);
_cat_gp_presentacion6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION6")))))));Debug.locals.put("CAT_GP_PRESENTACION6", _cat_gp_presentacion6);Debug.locals.put("CAT_GP_PRESENTACION6", _cat_gp_presentacion6);
 BA.debugLineNum = 2016;BA.debugLine="Dim CAT_GP_PRESENTACION7 As String = records(";
Debug.ShouldStop(-2147483648);
_cat_gp_presentacion7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION7")))))));Debug.locals.put("CAT_GP_PRESENTACION7", _cat_gp_presentacion7);Debug.locals.put("CAT_GP_PRESENTACION7", _cat_gp_presentacion7);
 BA.debugLineNum = 2017;BA.debugLine="Dim CAT_GP_PRESENTACION8 As String = records(";
Debug.ShouldStop(1);
_cat_gp_presentacion8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION8")))))));Debug.locals.put("CAT_GP_PRESENTACION8", _cat_gp_presentacion8);Debug.locals.put("CAT_GP_PRESENTACION8", _cat_gp_presentacion8);
 BA.debugLineNum = 2018;BA.debugLine="Dim CAT_GP_PRESENTACION9 As String = records(";
Debug.ShouldStop(2);
_cat_gp_presentacion9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION9")))))));Debug.locals.put("CAT_GP_PRESENTACION9", _cat_gp_presentacion9);Debug.locals.put("CAT_GP_PRESENTACION9", _cat_gp_presentacion9);
 BA.debugLineNum = 2019;BA.debugLine="Dim CAT_GP_PRESENTACION10 As String = records";
Debug.ShouldStop(4);
_cat_gp_presentacion10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION10")))))));Debug.locals.put("CAT_GP_PRESENTACION10", _cat_gp_presentacion10);Debug.locals.put("CAT_GP_PRESENTACION10", _cat_gp_presentacion10);
 BA.debugLineNum = 2020;BA.debugLine="Dim CAT_GP_PRESENTACION11 As String = records";
Debug.ShouldStop(8);
_cat_gp_presentacion11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION11")))))));Debug.locals.put("CAT_GP_PRESENTACION11", _cat_gp_presentacion11);Debug.locals.put("CAT_GP_PRESENTACION11", _cat_gp_presentacion11);
 BA.debugLineNum = 2023;BA.debugLine="Dim CAT_GP_UMV1 As String = records(RESULT.Co";
Debug.ShouldStop(64);
_cat_gp_umv1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV1")))))));Debug.locals.put("CAT_GP_UMV1", _cat_gp_umv1);Debug.locals.put("CAT_GP_UMV1", _cat_gp_umv1);
 BA.debugLineNum = 2024;BA.debugLine="Dim CAT_GP_UMV2 As String = records(RESULT.Co";
Debug.ShouldStop(128);
_cat_gp_umv2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV2")))))));Debug.locals.put("CAT_GP_UMV2", _cat_gp_umv2);Debug.locals.put("CAT_GP_UMV2", _cat_gp_umv2);
 BA.debugLineNum = 2025;BA.debugLine="Dim CAT_GP_UMV3 As String = records(RESULT.Co";
Debug.ShouldStop(256);
_cat_gp_umv3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV3")))))));Debug.locals.put("CAT_GP_UMV3", _cat_gp_umv3);Debug.locals.put("CAT_GP_UMV3", _cat_gp_umv3);
 BA.debugLineNum = 2026;BA.debugLine="Dim CAT_GP_UMV4 As String = records(RESULT.Co";
Debug.ShouldStop(512);
_cat_gp_umv4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV4")))))));Debug.locals.put("CAT_GP_UMV4", _cat_gp_umv4);Debug.locals.put("CAT_GP_UMV4", _cat_gp_umv4);
 BA.debugLineNum = 2027;BA.debugLine="Dim CAT_GP_UMV5 As String = records(RESULT.Co";
Debug.ShouldStop(1024);
_cat_gp_umv5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV5")))))));Debug.locals.put("CAT_GP_UMV5", _cat_gp_umv5);Debug.locals.put("CAT_GP_UMV5", _cat_gp_umv5);
 BA.debugLineNum = 2028;BA.debugLine="Dim CAT_GP_UMV6 As String = records(RESULT.Co";
Debug.ShouldStop(2048);
_cat_gp_umv6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV6")))))));Debug.locals.put("CAT_GP_UMV6", _cat_gp_umv6);Debug.locals.put("CAT_GP_UMV6", _cat_gp_umv6);
 BA.debugLineNum = 2029;BA.debugLine="Dim CAT_GP_UMV7 As String = records(RESULT.Co";
Debug.ShouldStop(4096);
_cat_gp_umv7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV7")))))));Debug.locals.put("CAT_GP_UMV7", _cat_gp_umv7);Debug.locals.put("CAT_GP_UMV7", _cat_gp_umv7);
 BA.debugLineNum = 2030;BA.debugLine="Dim CAT_GP_UMV8 As String = records(RESULT.Co";
Debug.ShouldStop(8192);
_cat_gp_umv8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV8")))))));Debug.locals.put("CAT_GP_UMV8", _cat_gp_umv8);Debug.locals.put("CAT_GP_UMV8", _cat_gp_umv8);
 BA.debugLineNum = 2031;BA.debugLine="Dim CAT_GP_UMV9 As String = records(RESULT.Co";
Debug.ShouldStop(16384);
_cat_gp_umv9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV9")))))));Debug.locals.put("CAT_GP_UMV9", _cat_gp_umv9);Debug.locals.put("CAT_GP_UMV9", _cat_gp_umv9);
 BA.debugLineNum = 2032;BA.debugLine="Dim CAT_GP_UMV10 As String = records(RESULT.C";
Debug.ShouldStop(32768);
_cat_gp_umv10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV10")))))));Debug.locals.put("CAT_GP_UMV10", _cat_gp_umv10);Debug.locals.put("CAT_GP_UMV10", _cat_gp_umv10);
 BA.debugLineNum = 2033;BA.debugLine="Dim CAT_GP_UMV11 As String = records(RESULT.C";
Debug.ShouldStop(65536);
_cat_gp_umv11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV11")))))));Debug.locals.put("CAT_GP_UMV11", _cat_gp_umv11);Debug.locals.put("CAT_GP_UMV11", _cat_gp_umv11);
 BA.debugLineNum = 2036;BA.debugLine="Dim CAT_GP_DIRIGIDA1 As String = records(RESU";
Debug.ShouldStop(524288);
_cat_gp_dirigida1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA1")))))));Debug.locals.put("CAT_GP_DIRIGIDA1", _cat_gp_dirigida1);Debug.locals.put("CAT_GP_DIRIGIDA1", _cat_gp_dirigida1);
 BA.debugLineNum = 2037;BA.debugLine="Dim CAT_GP_DIRIGIDA2 As String = records(RESU";
Debug.ShouldStop(1048576);
_cat_gp_dirigida2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA2")))))));Debug.locals.put("CAT_GP_DIRIGIDA2", _cat_gp_dirigida2);Debug.locals.put("CAT_GP_DIRIGIDA2", _cat_gp_dirigida2);
 BA.debugLineNum = 2038;BA.debugLine="Dim CAT_GP_DIRIGIDA3 As String = records(RESU";
Debug.ShouldStop(2097152);
_cat_gp_dirigida3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA3")))))));Debug.locals.put("CAT_GP_DIRIGIDA3", _cat_gp_dirigida3);Debug.locals.put("CAT_GP_DIRIGIDA3", _cat_gp_dirigida3);
 BA.debugLineNum = 2039;BA.debugLine="Dim CAT_GP_DIRIGIDA4 As String = records(RESU";
Debug.ShouldStop(4194304);
_cat_gp_dirigida4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA4")))))));Debug.locals.put("CAT_GP_DIRIGIDA4", _cat_gp_dirigida4);Debug.locals.put("CAT_GP_DIRIGIDA4", _cat_gp_dirigida4);
 BA.debugLineNum = 2040;BA.debugLine="Dim CAT_GP_DIRIGIDA5 As String = records(RESU";
Debug.ShouldStop(8388608);
_cat_gp_dirigida5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA5")))))));Debug.locals.put("CAT_GP_DIRIGIDA5", _cat_gp_dirigida5);Debug.locals.put("CAT_GP_DIRIGIDA5", _cat_gp_dirigida5);
 BA.debugLineNum = 2041;BA.debugLine="Dim CAT_GP_DIRIGIDA6 As String = records(RESU";
Debug.ShouldStop(16777216);
_cat_gp_dirigida6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA6")))))));Debug.locals.put("CAT_GP_DIRIGIDA6", _cat_gp_dirigida6);Debug.locals.put("CAT_GP_DIRIGIDA6", _cat_gp_dirigida6);
 BA.debugLineNum = 2042;BA.debugLine="Dim CAT_GP_DIRIGIDA7 As String = records(RESU";
Debug.ShouldStop(33554432);
_cat_gp_dirigida7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA7")))))));Debug.locals.put("CAT_GP_DIRIGIDA7", _cat_gp_dirigida7);Debug.locals.put("CAT_GP_DIRIGIDA7", _cat_gp_dirigida7);
 BA.debugLineNum = 2043;BA.debugLine="Dim CAT_GP_DIRIGIDA8 As String = records(RESU";
Debug.ShouldStop(67108864);
_cat_gp_dirigida8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA8")))))));Debug.locals.put("CAT_GP_DIRIGIDA8", _cat_gp_dirigida8);Debug.locals.put("CAT_GP_DIRIGIDA8", _cat_gp_dirigida8);
 BA.debugLineNum = 2044;BA.debugLine="Dim CAT_GP_DIRIGIDA9 As String = records(RESU";
Debug.ShouldStop(134217728);
_cat_gp_dirigida9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA9")))))));Debug.locals.put("CAT_GP_DIRIGIDA9", _cat_gp_dirigida9);Debug.locals.put("CAT_GP_DIRIGIDA9", _cat_gp_dirigida9);
 BA.debugLineNum = 2045;BA.debugLine="Dim CAT_GP_DIRIGIDA10 As String = records(RES";
Debug.ShouldStop(268435456);
_cat_gp_dirigida10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA10")))))));Debug.locals.put("CAT_GP_DIRIGIDA10", _cat_gp_dirigida10);Debug.locals.put("CAT_GP_DIRIGIDA10", _cat_gp_dirigida10);
 BA.debugLineNum = 2046;BA.debugLine="Dim CAT_GP_DIRIGIDA11 As String = records(RES";
Debug.ShouldStop(536870912);
_cat_gp_dirigida11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA11")))))));Debug.locals.put("CAT_GP_DIRIGIDA11", _cat_gp_dirigida11);Debug.locals.put("CAT_GP_DIRIGIDA11", _cat_gp_dirigida11);
 BA.debugLineNum = 2049;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T";
Debug.ShouldStop(1);
_cat_gp_nombre = _cat_gp_nombre.runMethod(true,"trim");Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);
 BA.debugLineNum = 2050;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(2);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_IMP1, CAT_GP_IMP2, CAT_GP_CLASIF, CAT_GP_STS, CAT_GP_TIPO, CAT_GP_SUBTIPO, CAT_GP_IMG, CAT_GP_ALMACEN, CAT_GP_DEV, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA, CAT_GP_TIPOPROD2, CAT_GP_PRECIO1, CAT_GP_PRECIO2, CAT_GP_PRECIO3, CAT_GP_PRECIO4, CAT_GP_PRECIO5, CAT_GP_PRECIO6, CAT_GP_PRECIO7, CAT_GP_PRECIO8, CAT_GP_PRECIO9, CAT_GP_PRECIO10, CAT_GP_PRECIO11, CAT_GP_PRESENTACION1, CAT_GP_PRESENTACION2, CAT_GP_PRESENTACION3, CAT_GP_PRESENTACION4, CAT_GP_PRESENTACION5, CAT_GP_PRESENTACION6, CAT_GP_PRESENTACION7, CAT_GP_PRESENTACION8, CAT_GP_PRESENTACION9, CAT_GP_PRESENTACION10, CAT_GP_PRESENTACION11, CAT_GP_UMV1, CAT_GP_UMV2, CAT_GP_UMV3, CAT_GP_UMV4, CAT_GP_UMV5, CAT_GP_UMV6, CAT_GP_UMV7, CAT_GP_UMV8, CAT_GP_UMV9, CAT_GP_UMV10, CAT_GP_UMV11, CAT_GP_DIRIGIDA1, CAT_GP_DIRIGIDA2, CAT_GP_DIRIGIDA3, CAT_GP_DIRIGIDA4, CAT_GP_DIRIGIDA5, CAT_GP_DIRIGIDA6, CAT_GP_DIRIGIDA7, CAT_GP_DIRIGIDA8, CAT_GP_DIRIGIDA9, CAT_GP_DIRIGIDA10, CAT_GP_DIRIGIDA11) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {58},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_dev),(_cat_gp_tipoprod),(_cat_gp_iniciativa),(_cat_gp_tipoprod2),(_cat_gp_precio1),(_cat_gp_precio2),(_cat_gp_precio3),(_cat_gp_precio4),(_cat_gp_precio5),(_cat_gp_precio6),(_cat_gp_precio7),(_cat_gp_precio8),(_cat_gp_precio9),(_cat_gp_precio10),(_cat_gp_precio11),(_cat_gp_presentacion1),(_cat_gp_presentacion2),(_cat_gp_presentacion3),(_cat_gp_presentacion4),(_cat_gp_presentacion5),(_cat_gp_presentacion6),(_cat_gp_presentacion7),(_cat_gp_presentacion8),(_cat_gp_presentacion9),(_cat_gp_presentacion10),(_cat_gp_presentacion11),(_cat_gp_umv1),(_cat_gp_umv2),(_cat_gp_umv3),(_cat_gp_umv4),(_cat_gp_umv5),(_cat_gp_umv6),(_cat_gp_umv7),(_cat_gp_umv8),(_cat_gp_umv9),(_cat_gp_umv10),(_cat_gp_umv11),(_cat_gp_dirigida1),(_cat_gp_dirigida2),(_cat_gp_dirigida3),(_cat_gp_dirigida4),(_cat_gp_dirigida5),(_cat_gp_dirigida6),(_cat_gp_dirigida7),(_cat_gp_dirigida8),(_cat_gp_dirigida9),(_cat_gp_dirigida10),(_cat_gp_dirigida11)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2053;BA.debugLine="Listo2=1";
Debug.ShouldStop(16);
__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 2054;BA.debugLine="If PB2.Progress = 0 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2055;BA.debugLine="PB2.Progress = 30";
Debug.ShouldStop(64);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 2056;BA.debugLine="S_CP.Text = \"CARGANDO\"";
Debug.ShouldStop(128);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 2057;BA.debugLine="ELSE If PB2.Progress = 30 Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 2058;BA.debugLine="PB2.Progress = 60";
Debug.ShouldStop(512);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 2059;BA.debugLine="ELSE IF PB2.Progress = 60 Then";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 2060;BA.debugLine="PB2.Progress = 100";
Debug.ShouldStop(2048);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2061;BA.debugLine="S_CP.Text = \"LISTO\"";
Debug.ShouldStop(4096);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 BA.debugLineNum = 2063;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Productos Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));};
 BA.debugLineNum = 2064;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 2065;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(65536);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 BA.debugLineNum = 2066;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(131072);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2067;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(262144);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 };
 };
 BA.debugLineNum = 2072;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2073;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(16777216);
_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 = 2074;BA.debugLine="If RESULT.Tag = \"gunaprodp\" Then 'query tag";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprodp")))) { 
 BA.debugLineNum = 2075;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(67108864);
{
final RemoteObject group580 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen580 = group580.runMethod(true,"getSize").<Integer>get()
;int index580 = 0;
;
for (; index580 < groupLen580;index580++){
_records = (group580.runMethod(false,"Get",index580));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2076;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
Debug.ShouldStop(134217728);
_cat_gp_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ID")))))));Debug.locals.put("CAT_GP_ID", _cat_gp_id);Debug.locals.put("CAT_GP_ID", _cat_gp_id);
 BA.debugLineNum = 2077;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
Debug.ShouldStop(268435456);
_cat_gp_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_NOMBRE")))))));Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);
 BA.debugLineNum = 2078;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
Debug.ShouldStop(536870912);
_cat_gp_imp1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP1")))))));Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);
 BA.debugLineNum = 2079;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
Debug.ShouldStop(1073741824);
_cat_gp_imp2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP2")))))));Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);
 BA.debugLineNum = 2080;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT.";
Debug.ShouldStop(-2147483648);
_cat_gp_precio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_PRECIO")))))));Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio);Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio);
 BA.debugLineNum = 2081;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
Debug.ShouldStop(1);
_cat_gp_clasif = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_CLASIF")))))));Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);
 BA.debugLineNum = 2082;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
Debug.ShouldStop(2);
_cat_gp_sts = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_STS")))))));Debug.locals.put("CAT_GP_STS", _cat_gp_sts);Debug.locals.put("CAT_GP_STS", _cat_gp_sts);
 BA.debugLineNum = 2083;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
Debug.ShouldStop(4);
_cat_gp_tipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_TIPO")))))));Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);
 BA.debugLineNum = 2084;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
Debug.ShouldStop(8);
_cat_gp_subtipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_SUBTIPO")))))));Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);
 BA.debugLineNum = 2085;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
Debug.ShouldStop(16);
_cat_gp_img = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMG")))))));Debug.locals.put("CAT_GP_IMG", _cat_gp_img);Debug.locals.put("CAT_GP_IMG", _cat_gp_img);
 BA.debugLineNum = 2086;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
Debug.ShouldStop(32);
_cat_gp_almacen = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ALMACEN")))))));Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);
 BA.debugLineNum = 2087;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
Debug.ShouldStop(64);
_cat_gp_tipoprod = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_TIPOPROD")))))));Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);
 BA.debugLineNum = 2088;BA.debugLine="CAT_GP_TIPOPROD = \"5\"";
Debug.ShouldStop(128);
_cat_gp_tipoprod = BA.numberCast(int.class, "5");Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);
 BA.debugLineNum = 2089;BA.debugLine="If CAT_GP_ID = \"PAQUNI003\" Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_cat_gp_id,BA.ObjectToString("PAQUNI003"))) { 
 BA.debugLineNum = 2090;BA.debugLine="CAT_GP_ALMACEN = 60";
Debug.ShouldStop(512);
_cat_gp_almacen = BA.numberCast(int.class, 60);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);
 };
 BA.debugLineNum = 2093;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T";
Debug.ShouldStop(4096);
_cat_gp_nombre = _cat_gp_nombre.runMethod(true,"trim");Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);
 BA.debugLineNum = 2094;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(8192);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO1,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_precio),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_tipoprod)})))));
 BA.debugLineNum = 2095;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(16384);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO1,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_precio),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_tipoprod)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2099;BA.debugLine="If PB2.Progress = 0 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2100;BA.debugLine="PB2.Progress = 30";
Debug.ShouldStop(524288);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 2101;BA.debugLine="S_CP.Text = \"CARGANDO\"";
Debug.ShouldStop(1048576);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 2102;BA.debugLine="ELSE If PB2.Progress = 30 Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 2103;BA.debugLine="PB2.Progress = 60";
Debug.ShouldStop(4194304);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 2104;BA.debugLine="ELSE IF PB2.Progress = 60 Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 2105;BA.debugLine="PB2.Progress = 100";
Debug.ShouldStop(16777216);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2106;BA.debugLine="S_CP.Text = \"LISTO\"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 BA.debugLineNum = 2108;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Promociones  Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));};
 BA.debugLineNum = 2109;BA.debugLine="Listo4=1";
Debug.ShouldStop(268435456);
__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 2110;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 2111;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(1073741824);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 BA.debugLineNum = 2112;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2113;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(1);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }else 
{ BA.debugLineNum = 2114;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_inve" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 2115;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(4);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 BA.debugLineNum = 2116;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(8);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2117;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(16);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }}
;
 };
 };
 BA.debugLineNum = 2122;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2123;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(1024);
_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 = 2124;BA.debugLine="If RESULT.Tag = \"gunaprodps\" Then 'query tag";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprodps")))) { 
 BA.debugLineNum = 2125;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(4096);
{
final RemoteObject group626 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen626 = group626.runMethod(true,"getSize").<Integer>get()
;int index626 = 0;
;
for (; index626 < groupLen626;index626++){
_records = (group626.runMethod(false,"Get",index626));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2127;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
Debug.ShouldStop(16384);
_cat_gp_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ID")))))));Debug.locals.put("CAT_GP_ID", _cat_gp_id);Debug.locals.put("CAT_GP_ID", _cat_gp_id);
 BA.debugLineNum = 2128;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
Debug.ShouldStop(32768);
_cat_gp_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_NOMBRE")))))));Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);
 BA.debugLineNum = 2129;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
Debug.ShouldStop(65536);
_cat_gp_imp1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP1")))))));Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);
 BA.debugLineNum = 2130;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
Debug.ShouldStop(131072);
_cat_gp_imp2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP2")))))));Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);
 BA.debugLineNum = 2131;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT.";
Debug.ShouldStop(262144);
_cat_gp_precio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_PRECIO")))))));Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio);Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio);
 BA.debugLineNum = 2132;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
Debug.ShouldStop(524288);
_cat_gp_clasif = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_CLASIF")))))));Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);
 BA.debugLineNum = 2133;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
Debug.ShouldStop(1048576);
_cat_gp_sts = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_STS")))))));Debug.locals.put("CAT_GP_STS", _cat_gp_sts);Debug.locals.put("CAT_GP_STS", _cat_gp_sts);
 BA.debugLineNum = 2134;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
Debug.ShouldStop(2097152);
_cat_gp_tipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_TIPO")))))));Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);
 BA.debugLineNum = 2135;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
Debug.ShouldStop(4194304);
_cat_gp_subtipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_SUBTIPO")))))));Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);
 BA.debugLineNum = 2136;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
Debug.ShouldStop(8388608);
_cat_gp_img = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMG")))))));Debug.locals.put("CAT_GP_IMG", _cat_gp_img);Debug.locals.put("CAT_GP_IMG", _cat_gp_img);
 BA.debugLineNum = 2137;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
Debug.ShouldStop(16777216);
_cat_gp_almacen = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ALMACEN")))))));Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);
 BA.debugLineNum = 2138;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
Debug.ShouldStop(33554432);
_cat_gp_tipoprod = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_TIPOPROD")))))));Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);
 BA.debugLineNum = 2139;BA.debugLine="Log(\"XXXXXXXX gunaprodps XXXXXXXX  \" & record";
Debug.ShouldStop(67108864);
c_principal.__c.runVoidMethod ("LogImpl","514025429",RemoteObject.concat(RemoteObject.createImmutable("XXXXXXXX gunaprodps XXXXXXXX  "),_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ID")))))),RemoteObject.createImmutable("|"),_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP1"))))))),0);
 BA.debugLineNum = 2140;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T";
Debug.ShouldStop(134217728);
_cat_gp_nombre = _cat_gp_nombre.runMethod(true,"trim");Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);
 BA.debugLineNum = 2141;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(268435456);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO1,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_precio),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_tipoprod)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2145;BA.debugLine="If PB2.Progress = 0 Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2146;BA.debugLine="PB2.Progress = 30";
Debug.ShouldStop(2);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 2147;BA.debugLine="S_CP.Text = \"CARGANDO\"";
Debug.ShouldStop(4);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 BA.debugLineNum = 2148;BA.debugLine="Log(\"C4\")";
Debug.ShouldStop(8);
c_principal.__c.runVoidMethod ("LogImpl","514025438",RemoteObject.createImmutable("C4"),0);
 }else 
{ BA.debugLineNum = 2149;BA.debugLine="ELSE If PB2.Progress = 30 Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 2150;BA.debugLine="PB2.Progress = 60";
Debug.ShouldStop(32);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 2151;BA.debugLine="ELSE IF PB2.Progress = 60 Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 2152;BA.debugLine="PB2.Progress = 100";
Debug.ShouldStop(128);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2153;BA.debugLine="S_CP.Text = \"LISTO\"";
Debug.ShouldStop(256);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 BA.debugLineNum = 2154;BA.debugLine="Log(\"3\")";
Debug.ShouldStop(512);
c_principal.__c.runVoidMethod ("LogImpl","514025444",RemoteObject.createImmutable("3"),0);
 }}}
;
 BA.debugLineNum = 2156;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Promociones especiales  Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));};
 BA.debugLineNum = 2158;BA.debugLine="Listo4=1";
Debug.ShouldStop(8192);
__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 2159;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 2160;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(32768);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 BA.debugLineNum = 2161;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(65536);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2162;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(131072);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }else 
{ BA.debugLineNum = 2163;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_inve" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 2164;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(524288);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 BA.debugLineNum = 2165;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(1048576);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2166;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(2097152);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }}
;
 };
 };
 BA.debugLineNum = 2171;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2172;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(134217728);
_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 = 2173;BA.debugLine="If RESULT.Tag = \"detallepaq\" Then 'query tag";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("detallepaq")))) { 
 BA.debugLineNum = 2174;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(536870912);
{
final RemoteObject group670 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen670 = group670.runMethod(true,"getSize").<Integer>get()
;int index670 = 0;
;
for (; index670 < groupLen670;index670++){
_records = (group670.runMethod(false,"Get",index670));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2175;BA.debugLine="Dim CAT_DP_ALMACEN  As String = records(RESUL";
Debug.ShouldStop(1073741824);
_cat_dp_almacen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_ALMACEN")))))));Debug.locals.put("CAT_DP_ALMACEN", _cat_dp_almacen);Debug.locals.put("CAT_DP_ALMACEN", _cat_dp_almacen);
 BA.debugLineNum = 2176;BA.debugLine="Dim CAT_DP_ID As String = records(RESULT.Colu";
Debug.ShouldStop(-2147483648);
_cat_dp_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_ID")))))));Debug.locals.put("CAT_DP_ID", _cat_dp_id);Debug.locals.put("CAT_DP_ID", _cat_dp_id);
 BA.debugLineNum = 2177;BA.debugLine="Dim CAT_DP_IDPROD As String = records(RESULT.";
Debug.ShouldStop(1);
_cat_dp_idprod = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IDPROD")))))));Debug.locals.put("CAT_DP_IDPROD", _cat_dp_idprod);Debug.locals.put("CAT_DP_IDPROD", _cat_dp_idprod);
 BA.debugLineNum = 2178;BA.debugLine="Dim CAT_DP_TIPO As String = records(RESULT.Co";
Debug.ShouldStop(2);
_cat_dp_tipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_TIPO")))))));Debug.locals.put("CAT_DP_TIPO", _cat_dp_tipo);Debug.locals.put("CAT_DP_TIPO", _cat_dp_tipo);
 BA.debugLineNum = 2179;BA.debugLine="Dim CAT_DP_PZAS As String = records(RESULT.Co";
Debug.ShouldStop(4);
_cat_dp_pzas = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PZAS")))))));Debug.locals.put("CAT_DP_PZAS", _cat_dp_pzas);Debug.locals.put("CAT_DP_PZAS", _cat_dp_pzas);
 BA.debugLineNum = 2180;BA.debugLine="Dim CAT_DP_USUARIO  As String = records(RESUL";
Debug.ShouldStop(8);
_cat_dp_usuario = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_USUARIO")))))));Debug.locals.put("CAT_DP_USUARIO", _cat_dp_usuario);Debug.locals.put("CAT_DP_USUARIO", _cat_dp_usuario);
 BA.debugLineNum = 2181;BA.debugLine="Dim CAT_DP_FECHA As String = records(RESULT.C";
Debug.ShouldStop(16);
_cat_dp_fecha = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_FECHA")))))));Debug.locals.put("CAT_DP_FECHA", _cat_dp_fecha);Debug.locals.put("CAT_DP_FECHA", _cat_dp_fecha);
 BA.debugLineNum = 2182;BA.debugLine="Dim CAT_DP_REGALO  As String = records(RESULT";
Debug.ShouldStop(32);
_cat_dp_regalo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_REGALO")))))));Debug.locals.put("CAT_DP_REGALO", _cat_dp_regalo);Debug.locals.put("CAT_DP_REGALO", _cat_dp_regalo);
 BA.debugLineNum = 2183;BA.debugLine="Dim CAT_DP_CLASIF  As String = records(RESULT";
Debug.ShouldStop(64);
_cat_dp_clasif = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_CLASIF")))))));Debug.locals.put("CAT_DP_CLASIF", _cat_dp_clasif);Debug.locals.put("CAT_DP_CLASIF", _cat_dp_clasif);
 BA.debugLineNum = 2184;BA.debugLine="Dim CAT_DP_PRECIO As String = records(RESULT.";
Debug.ShouldStop(128);
_cat_dp_precio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO")))))));Debug.locals.put("CAT_DP_PRECIO", _cat_dp_precio);Debug.locals.put("CAT_DP_PRECIO", _cat_dp_precio);
 BA.debugLineNum = 2185;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records";
Debug.ShouldStop(256);
_cat_dp_precio_simptos = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO_SIMPTOS")))))));Debug.locals.put("CAT_DP_PRECIO_SIMPTOS", _cat_dp_precio_simptos);Debug.locals.put("CAT_DP_PRECIO_SIMPTOS", _cat_dp_precio_simptos);
 BA.debugLineNum = 2186;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(512);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_DETALLES_PAQ(CAT_DP_ALMACEN,CAT_DP_ID,CAT_DP_IDPROD,CAT_DP_TIPO,CAT_DP_PZAS,CAT_DP_USUARIO,CAT_DP_FECHA,CAT_DP_REGALO,CAT_DP_CLASIF,CAT_DP_PRECIO,CAT_DP_PRECIO_SIMPTOS) VALUES (?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(_cat_dp_almacen),(_cat_dp_id),(_cat_dp_idprod),(_cat_dp_tipo),(_cat_dp_pzas),(_cat_dp_usuario),(_cat_dp_fecha),(_cat_dp_regalo),(_cat_dp_clasif),(_cat_dp_precio),(_cat_dp_precio_simptos)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2188;BA.debugLine="If PB2.Progress = 0 Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2189;BA.debugLine="PB2.Progress = 30";
Debug.ShouldStop(4096);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 2190;BA.debugLine="S_CP.Text = \"CARGANDO\"";
Debug.ShouldStop(8192);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 2191;BA.debugLine="ELSE If PB2.Progress = 30 Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 2192;BA.debugLine="PB2.Progress = 60";
Debug.ShouldStop(32768);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 2193;BA.debugLine="ELSE IF PB2.Progress = 60 Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 2194;BA.debugLine="PB2.Progress = 100";
Debug.ShouldStop(131072);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2195;BA.debugLine="S_CP.Text = \"LISTO\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 BA.debugLineNum = 2197;BA.debugLine="Listo3 =1";
Debug.ShouldStop(1048576);
__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 2198;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 2199;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(4194304);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 BA.debugLineNum = 2200;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(8388608);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2201;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(16777216);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }else 
{ BA.debugLineNum = 2202;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_inve" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 2203;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(67108864);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 BA.debugLineNum = 2204;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(134217728);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2205;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(268435456);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }}
;
 };
 };
 BA.debugLineNum = 2211;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2212;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(8);
_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 = 2213;BA.debugLine="If RESULT.Tag = \"hist_datos\" Then 'query tag";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_datos")))) { 
 BA.debugLineNum = 2214;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(32);
{
final RemoteObject group708 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen708 = group708.runMethod(true,"getSize").<Integer>get()
;int index708 = 0;
;
for (; index708 < groupLen708;index708++){
_records = (group708.runMethod(false,"Get",index708));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2215;BA.debugLine="Dim HVD_CLIENTE As String = records(RESULT.Co";
Debug.ShouldStop(64);
_hvd_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CLIENTE")))))));Debug.locals.put("HVD_CLIENTE", _hvd_cliente);Debug.locals.put("HVD_CLIENTE", _hvd_cliente);
 BA.debugLineNum = 2216;BA.debugLine="Dim HVD_PRONOMBRE As String = records(RESULT.";
Debug.ShouldStop(128);
_hvd_pronombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_PRONOMBRE")))))));Debug.locals.put("HVD_PRONOMBRE", _hvd_pronombre);Debug.locals.put("HVD_PRONOMBRE", _hvd_pronombre);
 BA.debugLineNum = 2217;BA.debugLine="Dim HVD_CANT As String = records(RESULT.Colum";
Debug.ShouldStop(256);
_hvd_cant = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CANT")))))));Debug.locals.put("HVD_CANT", _hvd_cant);Debug.locals.put("HVD_CANT", _hvd_cant);
 BA.debugLineNum = 2218;BA.debugLine="Dim HVD_COSTO_TOT As String = records(RESULT.";
Debug.ShouldStop(512);
_hvd_costo_tot = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_COSTO_TOT")))))));Debug.locals.put("HVD_COSTO_TOT", _hvd_costo_tot);Debug.locals.put("HVD_COSTO_TOT", _hvd_costo_tot);
 BA.debugLineNum = 2219;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(1024);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT) VALUES (?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(_hvd_cliente),(_hvd_pronombre),(_hvd_cant),(_hvd_costo_tot)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2221;BA.debugLine="Listo3 =1";
Debug.ShouldStop(4096);
__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 2222;BA.debugLine="If PB1.Progress = 0 Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2223;BA.debugLine="PB1.Progress = 30";
Debug.ShouldStop(16384);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 2224;BA.debugLine="S_CH.Text = \"CARGANDO\"";
Debug.ShouldStop(32768);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 2225;BA.debugLine="ELSE If PB1.Progress = 30 Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 2226;BA.debugLine="PB1.Progress = 60";
Debug.ShouldStop(131072);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 2227;BA.debugLine="ELSE IF PB1.Progress = 60 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 2228;BA.debugLine="PB1.Progress = 100";
Debug.ShouldStop(524288);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2229;BA.debugLine="S_CH.Text = \"LISTO\"";
Debug.ShouldStop(1048576);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 BA.debugLineNum = 2231;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Venta historico Actualizado.")),(Object)(c_principal.__c.getField(true,"True")));};
 BA.debugLineNum = 2232;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 2233;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(16777216);
__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ );
 BA.debugLineNum = 2234;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(33554432);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2235;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(67108864);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 };
 };
 BA.debugLineNum = 2240;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2241;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(1);
_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 = 2242;BA.debugLine="If RESULT.Tag = \"variables\" Then 'query tag";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("variables")))) { 
 BA.debugLineNum = 2243;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(4);
{
final RemoteObject group736 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen736 = group736.runMethod(true,"getSize").<Integer>get()
;int index736 = 0;
;
for (; index736 < groupLen736;index736++){
_records = (group736.runMethod(false,"Get",index736));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2244;BA.debugLine="Dim Cat_Va_Descripcion As String = records(RE";
Debug.ShouldStop(8);
_cat_va_descripcion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VA_DESCRIPCION")))))));Debug.locals.put("Cat_Va_Descripcion", _cat_va_descripcion);Debug.locals.put("Cat_Va_Descripcion", _cat_va_descripcion);
 BA.debugLineNum = 2245;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C";
Debug.ShouldStop(16);
_cat_va_valor = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VA_VALOR")))))));Debug.locals.put("Cat_Va_Valor", _cat_va_valor);Debug.locals.put("Cat_Va_Valor", _cat_va_valor);
 BA.debugLineNum = 2246;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(32);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cat_va_descripcion),(_cat_va_valor)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2251;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2252;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(2048);
_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 = 2253;BA.debugLine="If RESULT.Tag = \"CUESTIONARIO\" Then 'query tag";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("CUESTIONARIO")))) { 
 BA.debugLineNum = 2254;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(8192);
{
final RemoteObject group746 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen746 = group746.runMethod(true,"getSize").<Integer>get()
;int index746 = 0;
;
for (; index746 < groupLen746;index746++){
_records = (group746.runMethod(false,"Get",index746));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2255;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C";
Debug.ShouldStop(16384);
_cat_va_valor = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VALOR")))))));Debug.locals.put("Cat_Va_Valor", _cat_va_valor);Debug.locals.put("Cat_Va_Valor", _cat_va_valor);
 BA.debugLineNum = 2256;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE";
Debug.ShouldStop(32768);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("CUESTIONARIO"))})))));
 BA.debugLineNum = 2257;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(65536);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("CUESTIONARIO")),(_cat_va_valor)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2262;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2263;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(4194304);
_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 = 2264;BA.debugLine="If RESULT.Tag = \"valida_pedido\" Then 'query tag";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_pedido")))) { 
 BA.debugLineNum = 2265;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(16777216);
{
final RemoteObject group756 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen756 = group756.runMethod(true,"getSize").<Integer>get()
;int index756 = 0;
;
for (; index756 < groupLen756;index756++){
_records = (group756.runMethod(false,"Get",index756));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2266;BA.debugLine="Dim CUANTOSP As Int = records(RESULT.Columns.";
Debug.ShouldStop(33554432);
_cuantosp = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CUANTOSP")))))));Debug.locals.put("CUANTOSP", _cuantosp);Debug.locals.put("CUANTOSP", _cuantosp);
 BA.debugLineNum = 2267;BA.debugLine="If cuantos_pedido <= CUANTOSP Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("k",BA.numberCast(double.class, __ref.getField(true,"_cuantos_pedido" /*RemoteObject*/ )),BA.numberCast(double.class, _cuantosp))) { 
 BA.debugLineNum = 2269;BA.debugLine="datos_iguales = \"ok\"";
Debug.ShouldStop(268435456);
__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok"));
 BA.debugLineNum = 2270;BA.debugLine="S_CP.Text = \"INFO OK\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("INFO OK"));
 }else {
 BA.debugLineNum = 2272;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("No se cargo bien la info P. Sync Nuevamente"),_cuantosp,RemoteObject.createImmutable(" "),__ref.getField(true,"_cuantos_pedido" /*RemoteObject*/ )))),(Object)(c_principal.__c.getField(true,"True")));};
 BA.debugLineNum = 2273;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-2)\"";
Debug.ShouldStop(1);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ENVIAR DATOS (K-2)"));
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2279;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2280;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(128);
_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 = 2281;BA.debugLine="If RESULT.Tag = \"valida_pedidoc\" Then 'query ta";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_pedidoc")))) { 
 BA.debugLineNum = 2282;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(512);
{
final RemoteObject group771 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen771 = group771.runMethod(true,"getSize").<Integer>get()
;int index771 = 0;
;
for (; index771 < groupLen771;index771++){
_records = (group771.runMethod(false,"Get",index771));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2283;BA.debugLine="Dim CUANTOSC As Int = records(RESULT.Columns.";
Debug.ShouldStop(1024);
_cuantosc = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CUANTOSC")))))));Debug.locals.put("CUANTOSC", _cuantosc);Debug.locals.put("CUANTOSC", _cuantosc);
 BA.debugLineNum = 2284;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos_pedidosc" /*RemoteObject*/ ),BA.NumberToString(_cuantosc))) { 
 BA.debugLineNum = 2286;BA.debugLine="datos_iguales = \"ok\"";
Debug.ShouldStop(8192);
__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok"));
 }else {
 BA.debugLineNum = 2288;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("No se cargo bien la info C. Sync Nuevamente"),_cuantosc,RemoteObject.createImmutable(" "),__ref.getField(true,"_cuantos_pedidosc" /*RemoteObject*/ )))),(Object)(c_principal.__c.getField(true,"True")));};
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2294;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2295;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(4194304);
_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 = 2296;BA.debugLine="If RESULT.Tag = \"valida_noventa\" Then 'query ta";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_noventa")))) { 
 BA.debugLineNum = 2297;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(16777216);
{
final RemoteObject group784 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen784 = group784.runMethod(true,"getSize").<Integer>get()
;int index784 = 0;
;
for (; index784 < groupLen784;index784++){
_records = (group784.runMethod(false,"Get",index784));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2298;BA.debugLine="Dim CUANTOSN As Int = records(RESULT.Columns.";
Debug.ShouldStop(33554432);
_cuantosn = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CUANTOSN")))))));Debug.locals.put("CUANTOSN", _cuantosn);Debug.locals.put("CUANTOSN", _cuantosn);
 BA.debugLineNum = 2299;BA.debugLine="If cuantos_noventa = CUANTOSN Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos_noventa" /*RemoteObject*/ ),BA.NumberToString(_cuantosn))) { 
 BA.debugLineNum = 2301;BA.debugLine="datos_iguales = \"ok\"";
Debug.ShouldStop(268435456);
__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok"));
 }else {
 BA.debugLineNum = 2303;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("No se cargo bien la info N. Sync Nuevamente"),_cuantosn,RemoteObject.createImmutable(" "),__ref.getField(true,"_cuantos_noventa" /*RemoteObject*/ )))),(Object)(c_principal.__c.getField(true,"True")));};
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2309;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2310;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 = 2311;BA.debugLine="If RESULT.Tag = \"ins_pedido\" Then 'query tag";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ins_pedido")))) { 
 BA.debugLineNum = 2312;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(128);
{
final RemoteObject group797 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen797 = group797.runMethod(true,"getSize").<Integer>get()
;int index797 = 0;
;
for (; index797 < groupLen797;index797++){
_records = (group797.runMethod(false,"Get",index797));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2313;BA.debugLine="PB2.Progress = PB2.Progress + 5";
Debug.ShouldStop(256);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),RemoteObject.createImmutable(5)}, "+",1, 1));
 BA.debugLineNum = 2314;BA.debugLine="S_CP.Text = \"SUBIENDO\"";
Debug.ShouldStop(512);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SUBIENDO"));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2316;BA.debugLine="PB2.Progress = 100";
Debug.ShouldStop(2048);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2317;BA.debugLine="S_CP.Text = \"REVISANDO ...\"";
Debug.ShouldStop(4096);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("REVISANDO ..."));
 BA.debugLineNum = 2318;BA.debugLine="Log(\"5\")";
Debug.ShouldStop(8192);
c_principal.__c.runVoidMethod ("LogImpl","514025608",RemoteObject.createImmutable("5"),0);
 };
 };
 BA.debugLineNum = 2322;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2323;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 = 2324;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 = 2325;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(1048576);
{
final RemoteObject group809 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen809 = group809.runMethod(true,"getSize").<Integer>get()
;int index809 = 0;
;
for (; index809 < groupLen809;index809++){
_records = (group809.runMethod(false,"Get",index809));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2326;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f";
Debug.ShouldStop(2097152);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION")));
 BA.debugLineNum = 2327;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 = 2328;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(8388608);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO VERSION(NOVERSION) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_ve_version)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2333;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2334;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 = 2335;BA.debugLine="If RESULT.Tag = \"count_cli\" Then 'query tag";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("count_cli")))) { 
 BA.debugLineNum = 2336;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(-2147483648);
{
final RemoteObject group819 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen819 = group819.runMethod(true,"getSize").<Integer>get()
;int index819 = 0;
;
for (; index819 < groupLen819;index819++){
_records = (group819.runMethod(false,"Get",index819));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2337;BA.debugLine="COUNT_CLIE = records(RESULT.Columns.Get(\"COUN";
Debug.ShouldStop(1);
__ref.setField ("_count_clie" /*RemoteObject*/ ,BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COUNT_CLIE"))))))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2342;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2343;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(64);
_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 = 2344;BA.debugLine="If RESULT.Tag = \"ruta\" Then 'query tag";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ruta")))) { 
 BA.debugLineNum = 2345;BA.debugLine="Log(\"JOBDONE PRINCIPAL RUTA\")";
Debug.ShouldStop(256);
c_principal.__c.runVoidMethod ("LogImpl","514025635",RemoteObject.createImmutable("JOBDONE PRINCIPAL RUTA"),0);
 BA.debugLineNum = 2346;BA.debugLine="Log(RESULT.Rows.Size)";
Debug.ShouldStop(512);
c_principal.__c.runVoidMethod ("LogImpl","514025636",BA.NumberToString(_result.getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),0);
 BA.debugLineNum = 2347;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(1024);
{
final RemoteObject group829 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen829 = group829.runMethod(true,"getSize").<Integer>get()
;int index829 = 0;
;
for (; index829 < groupLen829;index829++){
_records = (group829.runMethod(false,"Get",index829));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2348;BA.debugLine="Dim VALIDO As String = records(RESULT.Columns";
Debug.ShouldStop(2048);
_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 = 2349;BA.debugLine="Log(\"|\"&VALIDO)";
Debug.ShouldStop(4096);
c_principal.__c.runVoidMethod ("LogImpl","514025639",RemoteObject.concat(RemoteObject.createImmutable("|"),_valido),0);
 BA.debugLineNum = 2350;BA.debugLine="If VALIDO = \"OK\" Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_valido,BA.ObjectToString("OK"))) { 
 BA.debugLineNum = 2351;BA.debugLine="cargar.Visible = True";
Debug.ShouldStop(16384);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2352;BA.debugLine="Subir.Visible = True";
Debug.ShouldStop(32768);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2353;BA.debugLine="inv.Visible = True";
Debug.ShouldStop(65536);
__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2354;BA.debugLine="connecta.Visible = False";
Debug.ShouldStop(131072);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2355;BA.debugLine="If conn = \"1\" Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_conn" /*RemoteObject*/ ),BA.ObjectToString("1"))) { 
 BA.debugLineNum = 2356;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se";
Debug.ShouldStop(524288);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Existe Conexión con el Servidor.")),(Object)(c_principal.__c.getField(true,"True")));
 };
 }else {
 BA.debugLineNum = 2359;BA.debugLine="cargar.Visible = False";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2360;BA.debugLine="Subir.Visible = False";
Debug.ShouldStop(8388608);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2361;BA.debugLine="inv.Visible = False";
Debug.ShouldStop(16777216);
__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2362;BA.debugLine="connecta.Visible = False";
Debug.ShouldStop(33554432);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2363;BA.debugLine="ToastMessageShow(\"Ruta invalida.\" , True)";
Debug.ShouldStop(67108864);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Ruta invalida.")),(Object)(c_principal.__c.getField(true,"True")));
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2369;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2370;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(2);
_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 = 2371;BA.debugLine="If RESULT.Tag = \"usuario\" Then 'query tag";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuario")))) { 
 BA.debugLineNum = 2372;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(8);
{
final RemoteObject group853 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen853 = group853.runMethod(true,"getSize").<Integer>get()
;int index853 = 0;
;
for (; index853 < groupLen853;index853++){
_records = (group853.runMethod(false,"Get",index853));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2373;BA.debugLine="Dim name2 As String = records(RESULT.Columns.";
Debug.ShouldStop(16);
_name2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("VALIDO")))))));Debug.locals.put("name2", _name2);Debug.locals.put("name2", _name2);
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2375;BA.debugLine="If name2 = \"OK\" Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",_name2,BA.ObjectToString("OK"))) { 
 BA.debugLineNum = 2376;BA.debugLine="PASO = 1";
Debug.ShouldStop(128);
__ref.setField ("_paso" /*RemoteObject*/ ,BA.NumberToString(1));
 };
 BA.debugLineNum = 2378;BA.debugLine="P1.Visible = False";
Debug.ShouldStop(512);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2379;BA.debugLine="p_mandaInfo.Visible = False";
Debug.ShouldStop(1024);
__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 };
 };
 BA.debugLineNum = 2383;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2384;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(32768);
_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 = 2385;BA.debugLine="If RESULT.Tag = \"fecha\" Then 'query tag";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("fecha")))) { 
 BA.debugLineNum = 2386;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(131072);
{
final RemoteObject group866 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen866 = group866.runMethod(true,"getSize").<Integer>get()
;int index866 = 0;
;
for (; index866 < groupLen866;index866++){
_records = (group866.runMethod(false,"Get",index866));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2387;BA.debugLine="Dim FECHA_HOY As String = records(RESULT.Colu";
Debug.ShouldStop(262144);
_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 = 2388;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete";
Debug.ShouldStop(524288);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("FECHA"))})))));
 BA.debugLineNum = 2389;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(1048576);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__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 = 2432;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2433;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo";
Debug.ShouldStop(1);
_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 = 2434;BA.debugLine="If RESULT.Tag = \"ins_cuestionario\" Then 'query t";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ins_cuestionario")))) { 
 BA.debugLineNum = 2435;BA.debugLine="Subs.logJobDoneResultados(RESULT)";
Debug.ShouldStop(4);
c_principal._subs.runVoidMethod ("_logjobdoneresultados" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_result));
 };
 BA.debugLineNum = 2438;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo";
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 = 2439;BA.debugLine="If RESULT.Tag = \"test\" Then 'query tag";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("test")))) { 
 BA.debugLineNum = 2440;BA.debugLine="Log(\">>>>>>>>>>>>>  TEST\")";
Debug.ShouldStop(128);
c_principal.__c.runVoidMethod ("LogImpl","514025730",RemoteObject.createImmutable(">>>>>>>>>>>>>  TEST"),0);
 BA.debugLineNum = 2441;BA.debugLine="Subs.logJobDoneResultados(RESULT)";
Debug.ShouldStop(256);
c_principal._subs.runVoidMethod ("_logjobdoneresultados" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_result));
 };
 BA.debugLineNum = 2444;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo";
Debug.ShouldStop(2048);
_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 = 2445;BA.debugLine="If RESULT.Tag = \"clientes_cuestionario\" Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("clientes_cuestionario")))) { 
 BA.debugLineNum = 2446;BA.debugLine="Log(\"Entramos a clientes_cuestionario - Regs:\"";
Debug.ShouldStop(8192);
c_principal.__c.runVoidMethod ("LogImpl","514025736",RemoteObject.concat(RemoteObject.createImmutable("Entramos a clientes_cuestionario - Regs:"),_result.getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),0);
 BA.debugLineNum = 2447;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_CUE";
Debug.ShouldStop(16384);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_CUESTIONARIO")));
 BA.debugLineNum = 2448;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(32768);
{
final RemoteObject group888 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen888 = group888.runMethod(true,"getSize").<Integer>get()
;int index888 = 0;
;
for (; index888 < groupLen888;index888++){
_records = (group888.runMethod(false,"Get",index888));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2449;BA.debugLine="Dim idCliente As String = records(RESULT.Colum";
Debug.ShouldStop(65536);
_idcliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_CLIENTE")))))));Debug.locals.put("idCliente", _idcliente);Debug.locals.put("idCliente", _idcliente);
 BA.debugLineNum = 2450;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_C";
Debug.ShouldStop(131072);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_CUESTIONARIO(HC_CLIENTE) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_idcliente)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2455;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2456;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo";
Debug.ShouldStop(8388608);
_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 = 2457;BA.debugLine="If RESULT.Tag = \"telefono\" Then 'query tag";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("telefono")))) { 
 BA.debugLineNum = 2459;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(67108864);
{
final RemoteObject group897 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen897 = group897.runMethod(true,"getSize").<Integer>get()
;int index897 = 0;
;
for (; index897 < groupLen897;index897++){
_records = (group897.runMethod(false,"Get",index897));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2460;BA.debugLine="Dim TELEFONO As String = \"\"";
Debug.ShouldStop(134217728);
_telefono = BA.ObjectToString("");Debug.locals.put("TELEFONO", _telefono);Debug.locals.put("TELEFONO", _telefono);
 BA.debugLineNum = 2462;BA.debugLine="If RESULT.Columns.Get(\"CAT_LO_IDTELEFONO\") <>";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("N",_result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_IDTELEFONO")))))) { 
 BA.debugLineNum = 2463;BA.debugLine="Dim index As Int = RESULT.Columns.Get(\"CAT_LO";
Debug.ShouldStop(1073741824);
_index = BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_IDTELEFONO")))));Debug.locals.put("index", _index);Debug.locals.put("index", _index);
 BA.debugLineNum = 2464;BA.debugLine="If records(index) <> Null Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("N",_records.getArrayElement(false,_index))) { 
 BA.debugLineNum = 2465;BA.debugLine="TELEFONO = records(index)";
Debug.ShouldStop(1);
_telefono = BA.ObjectToString(_records.getArrayElement(false,_index));Debug.locals.put("TELEFONO", _telefono);
 };
 };
 BA.debugLineNum = 2469;BA.debugLine="If TELEFONO <> \"\" Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("!",_telefono,BA.ObjectToString(""))) { 
 BA.debugLineNum = 2470;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE";
Debug.ShouldStop(32);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("TELEFONO"))})))));
 BA.debugLineNum = 2471;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(64);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("TELEFONO")),(_telefono)})))));
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2477;BA.debugLine="If resultado.Tag = \"nom_user\" Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",_resultado.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("nom_user")))) { 
 BA.debugLineNum = 2478;BA.debugLine="For Each records() As Object In resultado.Rows";
Debug.ShouldStop(8192);
{
final RemoteObject group913 = _resultado.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen913 = group913.runMethod(true,"getSize").<Integer>get()
;int index913 = 0;
;
for (; index913 < groupLen913;index913++){
_records = (group913.runMethod(false,"Get",index913));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2479;BA.debugLine="Dim nombre_user As String = records(resultado.C";
Debug.ShouldStop(16384);
_nombre_user = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_NOMBRE")))))));Debug.locals.put("nombre_user", _nombre_user);Debug.locals.put("nombre_user", _nombre_user);
 BA.debugLineNum = 2480;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FR";
Debug.ShouldStop(32768);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("nom_usuario"))})))));
 BA.debugLineNum = 2481;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN";
Debug.ShouldStop(65536);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("nom_usuario")),(_nombre_user)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 BA.debugLineNum = 2485;BA.debugLine="Job.Release";
Debug.ShouldStop(1048576);
_job.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ );
 BA.debugLineNum = 2486;BA.debugLine="End Sub";
Debug.ShouldStop(2097152);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _mapfragment1_longclick(RemoteObject __ref,RemoteObject _mpoint) throws Exception{
try {
		Debug.PushSubsStack("MapFragment1_LongClick (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,698);
if (RapidSub.canDelegate("mapfragment1_longclick")) { return __ref.runUserSub(false, "c_principal","mapfragment1_longclick", __ref, _mpoint);}
RemoteObject _dentro = RemoteObject.createImmutable(false);
Debug.locals.put("mPoint", _mpoint);
 BA.debugLineNum = 698;BA.debugLine="Sub MapFragment1_LongClick (mPoint As LatLng)";
Debug.ShouldStop(33554432);
 BA.debugLineNum = 700;BA.debugLine="If lista_punta.Size > 0 Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_lista_punta" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 701;BA.debugLine="Dim dentro As Boolean = PointInPolygon(mPoint, l";
Debug.ShouldStop(268435456);
_dentro = __ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_pointinpolygon" /*RemoteObject*/ ,(Object)(_mpoint),(Object)(__ref.getField(false,"_lista_punta" /*RemoteObject*/ )));Debug.locals.put("dentro", _dentro);Debug.locals.put("dentro", _dentro);
 BA.debugLineNum = 703;BA.debugLine="If dentro Then";
Debug.ShouldStop(1073741824);
if (_dentro.<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 704;BA.debugLine="ToastMessageShow(\"El punto está DENTRO del polí";
Debug.ShouldStop(-2147483648);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("El punto está DENTRO del polígono")),(Object)(c_principal.__c.getField(true,"True")));
 }else {
 BA.debugLineNum = 706;BA.debugLine="ToastMessageShow(\"El punto está FUERA del políg";
Debug.ShouldStop(2);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("El punto está FUERA del polígono")),(Object)(c_principal.__c.getField(true,"True")));
 };
 };
 BA.debugLineNum = 709;BA.debugLine="End Sub";
Debug.ShouldStop(16);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _nuevo_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("NUEVO_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2816);
if (RapidSub.canDelegate("nuevo_click")) { return __ref.runUserSub(false, "c_principal","nuevo_click", __ref);}
RemoteObject _mpoint = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");
 BA.debugLineNum = 2816;BA.debugLine="Sub NUEVO_Click";
Debug.ShouldStop(-2147483648);
 BA.debugLineNum = 2820;BA.debugLine="Dim mPoint As LatLng";
Debug.ShouldStop(8);
_mpoint = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");Debug.locals.put("mPoint", _mpoint);
 BA.debugLineNum = 2821;BA.debugLine="mPoint.Initialize(B4XPages.MainPage.lat_gps, B4XP";
Debug.ShouldStop(16);
_mpoint.runVoidMethod ("Initialize",(Object)(BA.numberCast(double.class, c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))),(Object)(BA.numberCast(double.class, c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))));
 BA.debugLineNum = 2828;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")";
Debug.ShouldStop(2048);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("NuevoCliente")));
 BA.debugLineNum = 2834;BA.debugLine="End Sub";
Debug.ShouldStop(131072);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _nvo_cliente_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("nvo_cliente_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3062);
if (RapidSub.canDelegate("nvo_cliente_click")) { return __ref.runUserSub(false, "c_principal","nvo_cliente_click", __ref);}
RemoteObject _mpoint = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");
 BA.debugLineNum = 3062;BA.debugLine="Sub nvo_cliente_Click";
Debug.ShouldStop(2097152);
 BA.debugLineNum = 3065;BA.debugLine="Dim mPoint As LatLng";
Debug.ShouldStop(16777216);
_mpoint = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");Debug.locals.put("mPoint", _mpoint);
 BA.debugLineNum = 3066;BA.debugLine="mPoint.Initialize(B4XPages.MainPage.lat_gps, B4XP";
Debug.ShouldStop(33554432);
_mpoint.runVoidMethod ("Initialize",(Object)(BA.numberCast(double.class, c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))),(Object)(BA.numberCast(double.class, c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))));
 BA.debugLineNum = 3073;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")";
Debug.ShouldStop(1);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("NuevoCliente")));
 BA.debugLineNum = 3078;BA.debugLine="End Sub";
Debug.ShouldStop(32);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_mandainfo_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("p_mandaInfo_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3269);
if (RapidSub.canDelegate("p_mandainfo_click")) { return __ref.runUserSub(false, "c_principal","p_mandainfo_click", __ref);}
 BA.debugLineNum = 3269;BA.debugLine="Private Sub p_mandaInfo_Click";
Debug.ShouldStop(16);
 BA.debugLineNum = 3271;BA.debugLine="End Sub";
Debug.ShouldStop(64);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_prod_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("p_prod_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3414);
if (RapidSub.canDelegate("p_prod_click")) { return __ref.runUserSub(false, "c_principal","p_prod_click", __ref);}
 BA.debugLineNum = 3414;BA.debugLine="Private Sub p_prod_Click";
Debug.ShouldStop(2097152);
 BA.debugLineNum = 3416;BA.debugLine="End Sub";
Debug.ShouldStop(8388608);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_resumen_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("P_RESUMEN_click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2860);
if (RapidSub.canDelegate("p_resumen_click")) { return __ref.runUserSub(false, "c_principal","p_resumen_click", __ref);}
 BA.debugLineNum = 2860;BA.debugLine="Sub P_RESUMEN_click";
Debug.ShouldStop(2048);
 BA.debugLineNum = 2862;BA.debugLine="End Sub";
Debug.ShouldStop(8192);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _pnlcobranza_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("pnlCobranza_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3400);
if (RapidSub.canDelegate("pnlcobranza_click")) { return __ref.runUserSub(false, "c_principal","pnlcobranza_click", __ref);}
 BA.debugLineNum = 3400;BA.debugLine="Private Sub pnlCobranza_Click";
Debug.ShouldStop(128);
 BA.debugLineNum = 3402;BA.debugLine="End Sub";
Debug.ShouldStop(512);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _pointinpolygon(RemoteObject __ref,RemoteObject _point,RemoteObject _polygon) throws Exception{
try {
		Debug.PushSubsStack("PointInPolygon (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,672);
if (RapidSub.canDelegate("pointinpolygon")) { return __ref.runUserSub(false, "c_principal","pointinpolygon", __ref, _point, _polygon);}
RemoteObject _x = RemoteObject.createImmutable(0);
RemoteObject _y = RemoteObject.createImmutable(0);
RemoteObject _inside = RemoteObject.createImmutable(false);
int _i = 0;
RemoteObject _j = RemoteObject.createImmutable(0);
RemoteObject _p1_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");
RemoteObject _p2_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");
RemoteObject _xi = RemoteObject.createImmutable(0);
RemoteObject _yi = RemoteObject.createImmutable(0);
RemoteObject _xj = RemoteObject.createImmutable(0);
RemoteObject _yj = RemoteObject.createImmutable(0);
RemoteObject _intersect = RemoteObject.createImmutable(false);
Debug.locals.put("point", _point);
Debug.locals.put("polygon", _polygon);
 BA.debugLineNum = 672;BA.debugLine="Sub PointInPolygon(point As LatLng, polygon As Lis";
Debug.ShouldStop(-2147483648);
 BA.debugLineNum = 673;BA.debugLine="Dim x As Double = point.Longitude";
Debug.ShouldStop(1);
_x = _point.runMethod(true,"getLongitude");Debug.locals.put("x", _x);Debug.locals.put("x", _x);
 BA.debugLineNum = 674;BA.debugLine="Dim y As Double = point.Latitude";
Debug.ShouldStop(2);
_y = _point.runMethod(true,"getLatitude");Debug.locals.put("y", _y);Debug.locals.put("y", _y);
 BA.debugLineNum = 676;BA.debugLine="Dim inside As Boolean = False";
Debug.ShouldStop(8);
_inside = c_principal.__c.getField(true,"False");Debug.locals.put("inside", _inside);Debug.locals.put("inside", _inside);
 BA.debugLineNum = 677;BA.debugLine="For i = 0 To polygon.Size - 1";
Debug.ShouldStop(16);
{
final int step4 = 1;
final int limit4 = RemoteObject.solve(new RemoteObject[] {_polygon.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 678;BA.debugLine="Dim j As Int = (i + 1) Mod polygon.Size";
Debug.ShouldStop(32);
_j = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1)),_polygon.runMethod(true,"getSize")}, "%",0, 1);Debug.locals.put("j", _j);Debug.locals.put("j", _j);
 BA.debugLineNum = 679;BA.debugLine="Dim p1_1 As LatLng = polygon.Get(i)";
Debug.ShouldStop(64);
_p1_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");
_p1_1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"), _polygon.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("p1_1", _p1_1);Debug.locals.put("p1_1", _p1_1);
 BA.debugLineNum = 680;BA.debugLine="Dim p2_1 As LatLng = polygon.Get(j)";
Debug.ShouldStop(128);
_p2_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");
_p2_1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"), _polygon.runMethod(false,"Get",(Object)(_j)));Debug.locals.put("p2_1", _p2_1);Debug.locals.put("p2_1", _p2_1);
 BA.debugLineNum = 682;BA.debugLine="Dim xi As Double = p1_1.Longitude";
Debug.ShouldStop(512);
_xi = _p1_1.runMethod(true,"getLongitude");Debug.locals.put("xi", _xi);Debug.locals.put("xi", _xi);
 BA.debugLineNum = 683;BA.debugLine="Dim yi As Double = p1_1.Latitude";
Debug.ShouldStop(1024);
_yi = _p1_1.runMethod(true,"getLatitude");Debug.locals.put("yi", _yi);Debug.locals.put("yi", _yi);
 BA.debugLineNum = 684;BA.debugLine="Dim xj As Double = p2_1.Longitude";
Debug.ShouldStop(2048);
_xj = _p2_1.runMethod(true,"getLongitude");Debug.locals.put("xj", _xj);Debug.locals.put("xj", _xj);
 BA.debugLineNum = 685;BA.debugLine="Dim yj As Double = p2_1.Latitude";
Debug.ShouldStop(4096);
_yj = _p2_1.runMethod(true,"getLatitude");Debug.locals.put("yj", _yj);Debug.locals.put("yj", _yj);
 BA.debugLineNum = 687;BA.debugLine="Dim intersect As Boolean = ((yi > y) <> (yj > y)";
Debug.ShouldStop(16384);
_intersect = BA.ObjectToBoolean(RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("!",RemoteObject.createImmutable((RemoteObject.solveBoolean(">",_yi,_y))),BA.ObjectToBoolean((RemoteObject.solveBoolean(">",_yj,_y))))))) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("<",_x,RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_xj,_xi}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {_y,_yi}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {_yj,_yi}, "-",1, 0)),_xi}, "*/+",1, 0))))));Debug.locals.put("intersect", _intersect);Debug.locals.put("intersect", _intersect);
 BA.debugLineNum = 688;BA.debugLine="If intersect Then";
Debug.ShouldStop(32768);
if (_intersect.<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 689;BA.debugLine="inside = Not(inside)";
Debug.ShouldStop(65536);
_inside = c_principal.__c.runMethod(true,"Not",(Object)(_inside));Debug.locals.put("inside", _inside);
 };
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 693;BA.debugLine="Return inside";
Debug.ShouldStop(1048576);
if (true) return _inside;
 BA.debugLineNum = 696;BA.debugLine="End Sub";
Debug.ShouldStop(8388608);
return RemoteObject.createImmutable(false);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _resdia_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("resdia_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2868);
if (RapidSub.canDelegate("resdia_click")) { return __ref.runUserSub(false, "c_principal","resdia_click", __ref);}
int _i = 0;
RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
RemoteObject _cuantos_obj = RemoteObject.createImmutable("");
 BA.debugLineNum = 2868;BA.debugLine="Sub resdia_Click";
Debug.ShouldStop(524288);
 BA.debugLineNum = 2869;BA.debugLine="p_principal.Visible = False";
Debug.ShouldStop(1048576);
__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2870;BA.debugLine="Btn_Ubicar.Visible=False";
Debug.ShouldStop(2097152);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2871;BA.debugLine="SCROLL_RESDIA.Visible = True";
Debug.ShouldStop(4194304);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2872;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"RESDIA\")";
Debug.ShouldStop(8388608);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("RESDIA")),__ref.getField(false, "ba"));
 BA.debugLineNum = 2873;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel4.Height";
Debug.ShouldStop(16777216);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 2874;BA.debugLine="Panel4.Visible = True";
Debug.ShouldStop(33554432);
__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2876;BA.debugLine="NUEVO.Visible =False";
Debug.ShouldStop(134217728);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2877;BA.debugLine="BUSCA.Visible=False";
Debug.ShouldStop(268435456);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2878;BA.debugLine="connecta.Visible=False";
Debug.ShouldStop(536870912);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2879;BA.debugLine="Subir.Visible=False";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2880;BA.debugLine="cargar.Visible=False";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2881;BA.debugLine="Resumen.Visible= False";
Debug.ShouldStop(1);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2883;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select COUNT";
Debug.ShouldStop(4);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select COUNT(*) AS CUANTOS FROM HIST_ENCUESTA WHERE  HE_TIPO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("TELEFONO")}))));
 BA.debugLineNum = 2884;BA.debugLine="d.Position = 0";
Debug.ShouldStop(8);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2885;BA.debugLine="l_encuesta.Text = d.GetString(\"CUANTOS\")";
Debug.ShouldStop(16);
__ref.getField(false,"_l_encuesta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))));
 BA.debugLineNum = 2886;BA.debugLine="d.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2888;BA.debugLine="L_MARCAS.CLEAR";
Debug.ShouldStop(128);
__ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runVoidMethod ("Clear");
 BA.debugLineNum = 2889;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select disti";
Debug.ShouldStop(256);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select distinct HE_CLIE AS CLIENTE FROM HIST_ENCUESTA WHERE  HE_TIPO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("TELEFONO")}))));
 BA.debugLineNum = 2890;BA.debugLine="If D.RowCount>0 Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2891;BA.debugLine="For i=0 To D.RowCount -1";
Debug.ShouldStop(1024);
{
final int step20 = 1;
final int limit20 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step20 > 0 && _i <= limit20) || (step20 < 0 && _i >= limit20) ;_i = ((int)(0 + _i + step20))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 2892;BA.debugLine="D.Position=i";
Debug.ShouldStop(2048);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 2893;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select  HE";
Debug.ShouldStop(4096);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select  HE_RES from HIST_ENCUESTA where  HE_CLIE = ?  AND HE_TIPO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))),RemoteObject.createImmutable("TELEFONO")}))));
 BA.debugLineNum = 2894;BA.debugLine="c.Position = 0";
Debug.ShouldStop(8192);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2895;BA.debugLine="Dim label1 As Label";
Debug.ShouldStop(16384);
_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1);
 BA.debugLineNum = 2896;BA.debugLine="label1 = L_MARCAS.TwoLinesLayout.Label";
Debug.ShouldStop(32768);
_label1 = __ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1);
 BA.debugLineNum = 2897;BA.debugLine="label1.TextSize = 13";
Debug.ShouldStop(65536);
_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 13));
 BA.debugLineNum = 2898;BA.debugLine="label1.TextColor = Colors.Black";
Debug.ShouldStop(131072);
_label1.runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black"));
 BA.debugLineNum = 2899;BA.debugLine="Dim label2 As Label";
Debug.ShouldStop(262144);
_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2);
 BA.debugLineNum = 2900;BA.debugLine="label2 = L_MARCAS.TwoLinesLayout.SecondLabel";
Debug.ShouldStop(524288);
_label2 = __ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2);
 BA.debugLineNum = 2901;BA.debugLine="label2.TextSize = 13";
Debug.ShouldStop(1048576);
_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 13));
 BA.debugLineNum = 2902;BA.debugLine="label2.TextColor = Colors.Black";
Debug.ShouldStop(2097152);
_label2.runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black"));
 BA.debugLineNum = 2903;BA.debugLine="L_MARCAS.AddTwoLines(d.GetString(\"CLIENTE\"),\"TE";
Debug.ShouldStop(4194304);
__ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("TELEFONO :"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_RES")))))));
 BA.debugLineNum = 2904;BA.debugLine="c.Close";
Debug.ShouldStop(8388608);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 2907;BA.debugLine="d.Close";
Debug.ShouldStop(67108864);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2909;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select  sum(";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select  sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPO = ? )")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("RTEC")}))));
 BA.debugLineNum = 2910;BA.debugLine="c.Position = 0";
Debug.ShouldStop(536870912);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2911;BA.debugLine="l_monto_k.Text = c.GetString(\"MONTO_DIA\")";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_l_monto_k" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA")))));
 BA.debugLineNum = 2912;BA.debugLine="If l_monto_k.Text = \"null\" Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_monto_k" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { 
 BA.debugLineNum = 2913;BA.debugLine="l_monto_k.Text = \"0\"";
Debug.ShouldStop(1);
__ref.getField(false,"_l_monto_k" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 };
 BA.debugLineNum = 2915;BA.debugLine="c.Close";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2917;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select  sum(";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select  sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPO = ? )")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PING")}))));
 BA.debugLineNum = 2918;BA.debugLine="c.Position = 0";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2919;BA.debugLine="l_monto_kp.Text = c.GetString(\"MONTO_DIA\")";
Debug.ShouldStop(64);
__ref.getField(false,"_l_monto_kp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA")))));
 BA.debugLineNum = 2920;BA.debugLine="If l_monto_kp.Text = \"null\" Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_monto_kp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { 
 BA.debugLineNum = 2921;BA.debugLine="l_monto_kp.Text = \"0\"";
Debug.ShouldStop(256);
__ref.getField(false,"_l_monto_kp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 };
 BA.debugLineNum = 2923;BA.debugLine="c.Close";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2933;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select  sum(P";
Debug.ShouldStop(1048576);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select  sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 "))));
 BA.debugLineNum = 2934;BA.debugLine="c.Position = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2935;BA.debugLine="l_monto_ks.Text = Subs.traeTotalCliente";
Debug.ShouldStop(4194304);
__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal._subs.runMethod(true,"_traetotalcliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))));
 BA.debugLineNum = 2937;BA.debugLine="If l_monto_ks.Text = \"null\" Then";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { 
 BA.debugLineNum = 2938;BA.debugLine="l_monto_ks.Text = \"0\"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 };
 BA.debugLineNum = 2940;BA.debugLine="c.Close";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2941;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select  sum(";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select  sum(PE_COSTO_TOT) As PREVENTA from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")}))));
 BA.debugLineNum = 2942;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 = 2943;BA.debugLine="c.Position = 0";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2944;BA.debugLine="L_PREVENTA.Text = Subs.traeTotalClientepreventa";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_l_preventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal._subs.runMethod(true,"_traetotalclientepreventa" /*RemoteObject*/ ,__ref.getField(false, "ba"))));
 BA.debugLineNum = 2945;BA.debugLine="If L_PREVENTA.TEXT = \"null\" Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_preventa" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { 
 BA.debugLineNum = 2946;BA.debugLine="L_PREVENTA.Text = \"0\"";
Debug.ShouldStop(2);
__ref.getField(false,"_l_preventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 };
 };
 BA.debugLineNum = 2949;BA.debugLine="c.Close";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2950;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select  sum(";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select  sum(PE_COSTO_TOT) As VENTA from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTA")}))));
 BA.debugLineNum = 2951;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2952;BA.debugLine="c.Position = 0";
Debug.ShouldStop(128);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2953;BA.debugLine="L_VENTA.Text = Subs.traeTotalClienteventa";
Debug.ShouldStop(256);
__ref.getField(false,"_l_venta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal._subs.runMethod(true,"_traetotalclienteventa" /*RemoteObject*/ ,__ref.getField(false, "ba"))));
 BA.debugLineNum = 2954;BA.debugLine="If L_VENTA.TEXT = \"null\" Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_venta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { 
 BA.debugLineNum = 2955;BA.debugLine="L_VENTA.Text = \"0\"";
Debug.ShouldStop(1024);
__ref.getField(false,"_l_venta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 };
 };
 BA.debugLineNum = 2958;BA.debugLine="c.Close";
Debug.ShouldStop(8192);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2959;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select  sum(";
Debug.ShouldStop(16384);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select  sum(PE_COSTO_TOT) As ABORDO from pedido where PE_FOLIO = ? AND PE_CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("ABORDO"),RemoteObject.createImmutable("0")}))));
 BA.debugLineNum = 2960;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 = 2961;BA.debugLine="c.Position = 0";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2962;BA.debugLine="L_ABORDO.Text = Subs.traeTotalClienteabordo";
Debug.ShouldStop(131072);
__ref.getField(false,"_l_abordo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal._subs.runMethod(true,"_traetotalclienteabordo" /*RemoteObject*/ ,__ref.getField(false, "ba"))));
 BA.debugLineNum = 2963;BA.debugLine="If L_ABORDO.TEXT = \"null\" Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_abordo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { 
 BA.debugLineNum = 2964;BA.debugLine="L_ABORDO.Text = \"0\"";
Debug.ShouldStop(524288);
__ref.getField(false,"_l_abordo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 };
 };
 BA.debugLineNum = 2967;BA.debugLine="c.Close";
Debug.ShouldStop(4194304);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2968;BA.debugLine="Dim cuantos_obj As String";
Debug.ShouldStop(8388608);
_cuantos_obj = RemoteObject.createImmutable("");Debug.locals.put("cuantos_obj", _cuantos_obj);
 BA.debugLineNum = 2969;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select  count";
Debug.ShouldStop(16777216);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select  count(*) AS TOTAL from HIST_MARCAS_CUOTAS   "))));
 BA.debugLineNum = 2970;BA.debugLine="c.Position = 0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2971;BA.debugLine="cuantos_obj = c.GetString(\"TOTAL\")";
Debug.ShouldStop(67108864);
_cuantos_obj = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")));Debug.locals.put("cuantos_obj", _cuantos_obj);
 BA.debugLineNum = 2972;BA.debugLine="c.Close";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2974;BA.debugLine="If cuantos_obj > 0 Then";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cuantos_obj),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2975;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select  SUM(";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select  SUM( HMC_TOTAL) AS TOTAL from HIST_MARCAS_CUOTAS   "))));
 BA.debugLineNum = 2976;BA.debugLine="c.Position = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2977;BA.debugLine="L_NES.Text = c.GetString(\"TOTAL\")";
Debug.ShouldStop(1);
__ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))));
 BA.debugLineNum = 2978;BA.debugLine="c.Close";
Debug.ShouldStop(2);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 2980;BA.debugLine="L_REAL.Text = l_monto_ks.Text";
Debug.ShouldStop(8);
__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"getText")));
 BA.debugLineNum = 2981;BA.debugLine="L_ALCANCE.Text = Round2((L_NES.Text / L_REAL.Text";
Debug.ShouldStop(16);
__ref.getField(false,"_l_alcance" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "/+",1, 0))),(Object)(BA.numberCast(int.class, 2)))));
 BA.debugLineNum = 2982;BA.debugLine="L_VPLAN.Text = l_porvisitar.Text";
Debug.ShouldStop(32);
__ref.getField(false,"_l_vplan" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText")));
 BA.debugLineNum = 2983;BA.debugLine="L_VREAL.Text = L_CUANTOST.text";
Debug.ShouldStop(64);
__ref.getField(false,"_l_vreal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")));
 BA.debugLineNum = 2984;BA.debugLine="L_EFEC_VIS.Text = Round2(L_VREAL.text / L_VPLAN.T";
Debug.ShouldStop(128);
__ref.getField(false,"_l_efec_vis" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_vreal" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_vplan" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2)))));
 BA.debugLineNum = 2985;BA.debugLine="L_VISITCC.Text = l_cuantosc.text";
Debug.ShouldStop(256);
__ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText")));
 BA.debugLineNum = 2986;BA.debugLine="L_EFEC_PV.Text = Round2(L_VISITCC.Text / L_VREAL.";
Debug.ShouldStop(512);
__ref.getField(false,"_l_efec_pv" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_vreal" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2)))));
 BA.debugLineNum = 2987;BA.debugLine="L_EFEC_PURA.Text = Round2(L_VISITCC.Text / L_VPLA";
Debug.ShouldStop(1024);
__ref.getField(false,"_l_efec_pura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_vplan" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2)))));
 BA.debugLineNum = 2988;BA.debugLine="L_LIN_TICK.Text = LPT";
Debug.ShouldStop(2048);
__ref.getField(false,"_l_lin_tick" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_lpt" /*RemoteObject*/ )));
 BA.debugLineNum = 2989;BA.debugLine="If l_monto_ks.Text <> \"0\" Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { 
 BA.debugLineNum = 2991;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select  COU";
Debug.ShouldStop(16384);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select  COUNT(DISTINCT(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS =  ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(true,"_almacen" /*RemoteObject*/ )}))));
 BA.debugLineNum = 2992;BA.debugLine="c.Position = 0";
Debug.ShouldStop(32768);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2993;BA.debugLine="L_CTE_PROMO.Text = c.GetString(\"CUANTOS\")";
Debug.ShouldStop(65536);
__ref.getField(false,"_l_cte_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))));
 BA.debugLineNum = 2994;BA.debugLine="c.Close";
Debug.ShouldStop(131072);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2995;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum(";
Debug.ShouldStop(262144);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where  CAT_GP_TIPOPROD = ?) ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PRIORITARIO")}))));
 BA.debugLineNum = 2996;BA.debugLine="d.Position = 0";
Debug.ShouldStop(524288);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3003;BA.debugLine="Log(\"|\"&d.GetString(\"MONTO_DIA\")&\"|\")";
Debug.ShouldStop(67108864);
c_principal.__c.runVoidMethod ("LogImpl","514942343",RemoteObject.concat(RemoteObject.createImmutable("|"),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))),RemoteObject.createImmutable("|")),0);
 BA.debugLineNum = 3005;BA.debugLine="L_PRIO.Text = d.GetString(\"MONTO_DIA\")";
Debug.ShouldStop(268435456);
__ref.getField(false,"_l_prio" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA")))));
 BA.debugLineNum = 3006;BA.debugLine="d.Close";
Debug.ShouldStop(536870912);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3008;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum(";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where  CAT_GP_TIPOPROD = ?) ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("ESTRATEGICO")}))));
 BA.debugLineNum = 3009;BA.debugLine="d.Position = 0";
Debug.ShouldStop(1);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3010;BA.debugLine="L_SECUND.Text =d.GetString(\"MONTO_DIA\")";
Debug.ShouldStop(2);
__ref.getField(false,"_l_secund" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA")))));
 BA.debugLineNum = 3011;BA.debugLine="d.Close";
Debug.ShouldStop(4);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3013;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum(";
Debug.ShouldStop(16);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where  CAT_GP_TIPOPROD = ?) ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("COMPLEMENTARIO")}))));
 BA.debugLineNum = 3014;BA.debugLine="d.Position = 0";
Debug.ShouldStop(32);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3015;BA.debugLine="L_COMP.Text =d.GetString(\"MONTO_DIA\")";
Debug.ShouldStop(64);
__ref.getField(false,"_l_comp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA")))));
 BA.debugLineNum = 3016;BA.debugLine="d.Close";
Debug.ShouldStop(128);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else {
 BA.debugLineNum = 3018;BA.debugLine="L_PRIO.Text = \"0\"";
Debug.ShouldStop(512);
__ref.getField(false,"_l_prio" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 BA.debugLineNum = 3019;BA.debugLine="L_SECUND.Text = \"0\"";
Debug.ShouldStop(1024);
__ref.getField(false,"_l_secund" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 BA.debugLineNum = 3020;BA.debugLine="L_COMP.Text = \"0\"";
Debug.ShouldStop(2048);
__ref.getField(false,"_l_comp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 };
 BA.debugLineNum = 3023;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select  COUNT";
Debug.ShouldStop(16384);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select  COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID "))));
 BA.debugLineNum = 3024;BA.debugLine="c.Position = 0";
Debug.ShouldStop(32768);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3025;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3026;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select  sum(";
Debug.ShouldStop(131072);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select  sum(pe_cant) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID "))));
 BA.debugLineNum = 3027;BA.debugLine="d.Position = 0";
Debug.ShouldStop(262144);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3028;BA.debugLine="L_CTE_PROMO.Text = d.GetString(\"CUANTOS\")";
Debug.ShouldStop(524288);
__ref.getField(false,"_l_cte_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))));
 BA.debugLineNum = 3029;BA.debugLine="d.Close";
Debug.ShouldStop(1048576);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3030;BA.debugLine="L_REDEN_PROMO.TEXT = Round2(L_VISITCC.Text / L_C";
Debug.ShouldStop(2097152);
__ref.getField(false,"_l_reden_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_cte_promo" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2)))));
 }else {
 BA.debugLineNum = 3032;BA.debugLine="L_CTE_PROMO.Text = 0";
Debug.ShouldStop(8388608);
__ref.getField(false,"_l_cte_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3033;BA.debugLine="L_REDEN_PROMO.Text = 0";
Debug.ShouldStop(16777216);
__ref.getField(false,"_l_reden_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3035;BA.debugLine="c.Close";
Debug.ShouldStop(67108864);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3036;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select  COUNT";
Debug.ShouldStop(134217728);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select  COUNT(*) AS CUANTOS FROM PEDIDO "))));
 BA.debugLineNum = 3037;BA.debugLine="d.Position = 0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3038;BA.debugLine="L_LIN_TICK.Text = Round2(d.GetString(\"CUANTOS\") /";
Debug.ShouldStop(536870912);
__ref.getField(false,"_l_lin_tick" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, __ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2)))));
 BA.debugLineNum = 3039;BA.debugLine="d.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3041;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select  count";
Debug.ShouldStop(1);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select  count(*) as CUANTOS  from HIST_CUOTAS "))));
 BA.debugLineNum = 3042;BA.debugLine="d.Position = 0";
Debug.ShouldStop(2);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3043;BA.debugLine="If d.GetString(\"CUANTOS\") > 0 Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { 
 }else {
 BA.debugLineNum = 3051;BA.debugLine="l_monto_c1.Text = 4000";
Debug.ShouldStop(1024);
__ref.getField(false,"_l_monto_c1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(4000));
 BA.debugLineNum = 3052;BA.debugLine="l_monto_c2.Text = 2000";
Debug.ShouldStop(2048);
__ref.getField(false,"_l_monto_c2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(2000));
 BA.debugLineNum = 3053;BA.debugLine="l_monto_c3.Text = 1000";
Debug.ShouldStop(4096);
__ref.getField(false,"_l_monto_c3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(1000));
 };
 BA.debugLineNum = 3055;BA.debugLine="d.Close";
Debug.ShouldStop(16384);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3056;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _resumen_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Resumen_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2849);
if (RapidSub.canDelegate("resumen_click")) { return __ref.runUserSub(false, "c_principal","resumen_click", __ref);}
 BA.debugLineNum = 2849;BA.debugLine="Sub Resumen_Click";
Debug.ShouldStop(1);
 BA.debugLineNum = 2850;BA.debugLine="P_RESUMEN.Visible = True";
Debug.ShouldStop(2);
__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2858;BA.debugLine="End Sub";
Debug.ShouldStop(512);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _subir_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Subir_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,712);
if (RapidSub.canDelegate("subir_click")) { return __ref.runUserSub(false, "c_principal","subir_click", __ref);}
int _i = 0;
RemoteObject _dia = RemoteObject.createImmutable(0);
RemoteObject _dialetra = RemoteObject.createImmutable("");
RemoteObject _pcnoarts = RemoteObject.createImmutable("");
RemoteObject _pcmonto = RemoteObject.createImmutable("");
 BA.debugLineNum = 712;BA.debugLine="Sub Subir_Click";
Debug.ShouldStop(128);
 BA.debugLineNum = 713;BA.debugLine="CARGA = \"SUBIR\"";
Debug.ShouldStop(256);
__ref.setField ("_carga" /*RemoteObject*/ ,BA.ObjectToString("SUBIR"));
 BA.debugLineNum = 714;BA.debugLine="p_mandaInfo.Width = Root.Width";
Debug.ShouldStop(512);
__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 715;BA.debugLine="p_mandaInfo.Height = Root.Height";
Debug.ShouldStop(1024);
__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 716;BA.debugLine="P1.Visible = True";
Debug.ShouldStop(2048);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 717;BA.debugLine="P1.Left = (p_mandaInfo.Width/2) - (P1.Width/2)";
Debug.ShouldStop(4096);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 718;BA.debugLine="P1.top = (p_mandaInfo.Height/2) - (P1.Height/2)";
Debug.ShouldStop(8192);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 719;BA.debugLine="p_mandaInfo.Visible = True";
Debug.ShouldStop(16384);
__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 720;BA.debugLine="P1.BringToFront";
Debug.ShouldStop(32768);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runVoidMethod ("BringToFront");
 BA.debugLineNum = 721;BA.debugLine="p_mandaInfo.BringToFront";
Debug.ShouldStop(65536);
__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runVoidMethod ("BringToFront");
 BA.debugLineNum = 723;BA.debugLine="NUEVO.Visible =False";
Debug.ShouldStop(262144);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 724;BA.debugLine="BUSCA.Visible=False";
Debug.ShouldStop(524288);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 725;BA.debugLine="connecta.Visible=False";
Debug.ShouldStop(1048576);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 726;BA.debugLine="Subir.Visible=False";
Debug.ShouldStop(2097152);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 727;BA.debugLine="cargar.Visible=False";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 728;BA.debugLine="L_P_1.Visible = False";
Debug.ShouldStop(8388608);
__ref.getField(false,"_l_p_1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 729;BA.debugLine="S_CC.Visible = False";
Debug.ShouldStop(16777216);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 730;BA.debugLine="L_P_3.Visible = False";
Debug.ShouldStop(33554432);
__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 731;BA.debugLine="S_CH.Visible = False";
Debug.ShouldStop(67108864);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 732;BA.debugLine="PB1.Visible = False";
Debug.ShouldStop(134217728);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 733;BA.debugLine="Resumen.Visible= False";
Debug.ShouldStop(268435456);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 734;BA.debugLine="L_P_2.Text = \"Envio de Pedidos\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_l_p_2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Envio de Pedidos"));
 BA.debugLineNum = 735;BA.debugLine="L_P_3.Text = \"Envio de Pedidos\"";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Envio de Pedidos"));
 BA.debugLineNum = 736;BA.debugLine="S_CH.Text = \"EN PROCESO\"";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO"));
 BA.debugLineNum = 737;BA.debugLine="S_CP.Text = \"EN PROCESO\"";
Debug.ShouldStop(1);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO"));
 BA.debugLineNum = 738;BA.debugLine="PB1.Progress = 0";
Debug.ShouldStop(2);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0));
 BA.debugLineNum = 739;BA.debugLine="PB2.Progress = 0";
Debug.ShouldStop(4);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0));
 BA.debugLineNum = 745;BA.debugLine="PASO = 1";
Debug.ShouldStop(256);
__ref.setField ("_paso" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 747;BA.debugLine="If PASO = 1 Then";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_paso" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 748;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fro";
Debug.ShouldStop(2048);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from PEDIDO WHERE PE_PRONOMBRE = ? ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("N/A"))})))));
 BA.debugLineNum = 749;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
Debug.ShouldStop(4096);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE not In (select PE_CLIENTE from pedido)")));
 BA.debugLineNum = 750;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar";
Debug.ShouldStop(8192);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa"))));
 BA.debugLineNum = 751;BA.debugLine="c.Position = 0";
Debug.ShouldStop(16384);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 752;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(32768);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 753;BA.debugLine="c.Close";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 754;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HGDAT";
Debug.ShouldStop(131072);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HGDATE, HGLAT, HGLON from HIST_GPS"))));
 BA.debugLineNum = 755;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 756;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(524288);
{
final int step37 = 1;
final int limit37 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step37 > 0 && _i <= limit37) || (step37 < 0 && _i >= limit37) ;_i = ((int)(0 + _i + step37))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 757;BA.debugLine="c.Position=i";
Debug.ShouldStop(1048576);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 758;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(2097152);
c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 759;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 760;BA.debugLine="cmd.Name = \"UPDATE_SHARK2_ACTUAL2_GPS\"";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("UPDATE_SHARK2_ACTUAL2_GPS"));
 BA.debugLineNum = 761;BA.debugLine="cmd.Parameters = Array As String(B4XPages.Main";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,(RemoteObject.createNewArray("String",new int[] {12},new Object[] {c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_montoactual" /*RemoteObject*/ ),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_clientestotal" /*RemoteObject*/ ),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_clientesventa" /*RemoteObject*/ ),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_clientesvisitados" /*RemoteObject*/ ),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ),BA.NumberToString(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_batt" /*RemoteObject*/ )),BA.NumberToString(0),BA.NumberToString(0),BA.NumberToString(0),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_almacen" /*RemoteObject*/ ),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_rutapreventa" /*RemoteObject*/ )})));
 BA.debugLineNum = 762;BA.debugLine="reqManager.ExecuteCommand(cmd , \"update_gps\")";
Debug.ShouldStop(33554432);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("update_gps"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 765;BA.debugLine="c.Close";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 835;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CN_ID, CN_FECHA";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CN_ID, CN_FECHA , CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_FOTO, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA, CN_COLONIA, CN_TELEFONO, CN_CP FROM CLIENTES_NUEVOS"))));
 BA.debugLineNum = 836;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 837;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(16);
{
final int step49 = 1;
final int limit49 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step49 > 0 && _i <= limit49) || (step49 < 0 && _i >= limit49) ;_i = ((int)(0 + _i + step49))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 838;BA.debugLine="c.Position = i";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 839;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTim";
Debug.ShouldStop(64);
_dia = c_principal.__c.getField(false,"DateTime").runMethod(true,"GetDayOfWeek",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("dia", _dia);Debug.locals.put("dia", _dia);
 BA.debugLineNum = 840;BA.debugLine="If dia = 2  Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 2))) { 
 BA.debugLineNum = 841;BA.debugLine="Dim dialetra As String = \"LUNES\"";
Debug.ShouldStop(256);
_dialetra = BA.ObjectToString("LUNES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 842;BA.debugLine="Else If dia = 3  Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 3))) { 
 BA.debugLineNum = 843;BA.debugLine="Dim dialetra As String = \"MARTES\"";
Debug.ShouldStop(1024);
_dialetra = BA.ObjectToString("MARTES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 844;BA.debugLine="Else If dia = 4  Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 4))) { 
 BA.debugLineNum = 845;BA.debugLine="Dim dialetra As String = \"MIERCOLES\"";
Debug.ShouldStop(4096);
_dialetra = BA.ObjectToString("MIERCOLES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 846;BA.debugLine="Else If dia = 5  Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 5))) { 
 BA.debugLineNum = 847;BA.debugLine="Dim dialetra As String = \"JUEVES\"";
Debug.ShouldStop(16384);
_dialetra = BA.ObjectToString("JUEVES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 848;BA.debugLine="Else If dia = 6  Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 6))) { 
 BA.debugLineNum = 849;BA.debugLine="Dim dialetra As String = \"VIERNES\"";
Debug.ShouldStop(65536);
_dialetra = BA.ObjectToString("VIERNES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 850;BA.debugLine="Else If dia = 7  Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 7))) { 
 BA.debugLineNum = 851;BA.debugLine="Dim dialetra As String = \"SABADO\"";
Debug.ShouldStop(262144);
_dialetra = BA.ObjectToString("SABADO");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }}}}}}
;
 BA.debugLineNum = 853;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(1048576);
c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 854;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(2097152);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 855;BA.debugLine="cmd.Name = \"insert_clientesnuevos_SHARK24\"";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_clientesnuevos_SHARK24"));
 BA.debugLineNum = 856;BA.debugLine="Log(c.GetString(\"CN_ID\")&\"    ,\"& c.GetString(";
Debug.ShouldStop(8388608);
c_principal.__c.runVoidMethod ("LogImpl","513893776",RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_ID"))),RemoteObject.createImmutable("    ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_FECHA"))),RemoteObject.createImmutable("    ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_USER"))),RemoteObject.createImmutable("    ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LAT"))),RemoteObject.createImmutable("    ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LON"))),RemoteObject.createImmutable("    ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NOMBRE"))),RemoteObject.createImmutable("    ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_DIRECCION"))),RemoteObject.createImmutable("    ,"),__ref.getField(true,"_almacen" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_RUTA"))),RemoteObject.createImmutable("    ,"),RemoteObject.createImmutable("En espera"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_GIRO"))),RemoteObject.createImmutable("    ,"),_dialetra,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_SOLICITA"))),RemoteObject.createImmutable("    ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_COLONIA"))),RemoteObject.createImmutable("    ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_TELEFONO")))),0);
 BA.debugLineNum = 857;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {16},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_ID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_USER")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LAT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LON")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_DIRECCION")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_RUTA")))),RemoteObject.createImmutable(("En espera")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_GIRO")))),(_dialetra),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_SOLICITA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_COLONIA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_TELEFONO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CP"))))}));
 BA.debugLineNum = 858;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_clientes";
Debug.ShouldStop(33554432);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_clientesn"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 861;BA.debugLine="c.Close";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 877;BA.debugLine="Dim PCNoArts As String";
Debug.ShouldStop(4096);
_pcnoarts = RemoteObject.createImmutable("");Debug.locals.put("PCNoArts", _pcnoarts);
 BA.debugLineNum = 878;BA.debugLine="Dim PCMonto As String";
Debug.ShouldStop(8192);
_pcmonto = RemoteObject.createImmutable("");Debug.locals.put("PCMonto", _pcmonto);
 BA.debugLineNum = 879;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT PC_";
Debug.ShouldStop(16384);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT, PC_COSTO_SIN, PC_RUTA, PC_ALMACEN, PC_FACTURA FROM PEDIDO_CLIENTE WHERE PC_CLIENTE <> '1' "))));
 BA.debugLineNum = 880;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery(\"SELECT COU";
Debug.ShouldStop(32768);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) as CUANTOS_PEDIDOSC FROM PEDIDO_CLIENTE WHERE PC_CLIENTE <> 1 "))));
 BA.debugLineNum = 881;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 882;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(131072);
{
final int step79 = 1;
final int limit79 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step79 > 0 && _i <= limit79) || (step79 < 0 && _i >= limit79) ;_i = ((int)(0 + _i + step79))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 883;BA.debugLine="c.Position = i";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 884;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(524288);
c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 885;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 886;BA.debugLine="cmd.Name = \"insert_pedidos_SHARK2\"";
Debug.ShouldStop(2097152);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedidos_SHARK2"));
 BA.debugLineNum = 887;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")";
Debug.ShouldStop(4194304);
_pcnoarts = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")));Debug.locals.put("PCNoArts", _pcnoarts);
 BA.debugLineNum = 888;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")";
Debug.ShouldStop(8388608);
_pcmonto = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")));Debug.locals.put("PCMonto", _pcmonto);
 BA.debugLineNum = 889;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_USER")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_LON")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_LAT")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE")))))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FACTURA"))))}));
 BA.debugLineNum = 890;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedidos\")";
Debug.ShouldStop(33554432);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedidos"))));
 BA.debugLineNum = 891;BA.debugLine="Log(\">>>>>>  INSERT PEDIDO_CLIENTE\")";
Debug.ShouldStop(67108864);
c_principal.__c.runVoidMethod ("LogImpl","513893811",RemoteObject.createImmutable(">>>>>>  INSERT PEDIDO_CLIENTE"),0);
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 894;BA.debugLine="c.Close";
Debug.ShouldStop(536870912);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 895;BA.debugLine="d.Position = 0";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 896;BA.debugLine="cuantos_pedidosc = d.GetString(\"CUANTOS_PEDIDOSC";
Debug.ShouldStop(-2147483648);
__ref.setField ("_cuantos_pedidosc" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_PEDIDOSC"))));
 BA.debugLineNum = 897;BA.debugLine="d.Close";
Debug.ShouldStop(1);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 900;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT PE_";
Debug.ShouldStop(8);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, PE_CANTC, PE_BCAJAS, PE_DIRIGIDA, PE_PRESENTACION, PE_UVM FROM PEDIDO WHERE PE_FOLIO <> 'RECARGA'"))));
 BA.debugLineNum = 901;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery(\"SELECT COU";
Debug.ShouldStop(16);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO"))));
 BA.debugLineNum = 902;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 = 903;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(64);
{
final int step98 = 1;
final int limit98 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step98 > 0 && _i <= limit98) || (step98 < 0 && _i >= limit98) ;_i = ((int)(0 + _i + step98))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 904;BA.debugLine="c.Position = i";
Debug.ShouldStop(128);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 905;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(256);
c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 906;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 907;BA.debugLine="cmd.Name = \"insert_pedido4_SHARK2\" 'CON TOTALE";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido4_SHARK2"));
 BA.debugLineNum = 909;BA.debugLine="If c.GetString(\"PE_FOLIO\") = \"PREVENTA_CONTADO";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("PREVENTA_CONTADO"))) { 
 BA.debugLineNum = 910;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,c.Ge";
Debug.ShouldStop(8192);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {18},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))}, "/",0, 0))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),RemoteObject.createImmutable(("PREVENTA")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DIRIGIDA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRESENTACION")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))}));
 }else 
{ BA.debugLineNum = 911;BA.debugLine="Else If c.GetString(\"PE_FOLIO\") = \"PREVENTA_CR";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("PREVENTA_CREDITO"))) { 
 BA.debugLineNum = 912;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,c.Ge";
Debug.ShouldStop(32768);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {18},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))}, "/",0, 0))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),RemoteObject.createImmutable(("PREVENTA")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DIRIGIDA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRESENTACION")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))}));
 }else 
{ BA.debugLineNum = 913;BA.debugLine="Else If c.GetString(\"PE_FOLIO\") = \"ABORDO\" The";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("ABORDO"))) { 
 BA.debugLineNum = 914;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,c.Ge";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {18},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))}, "/",0, 0))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),RemoteObject.createImmutable(("ABORDO")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DIRIGIDA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRESENTACION")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))}));
 }else {
 BA.debugLineNum = 916;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,c.Ge";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {18},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))}, "/",0, 0))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),RemoteObject.createImmutable(("VENTA")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DIRIGIDA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRESENTACION")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))}));
 }}}
;
 BA.debugLineNum = 918;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP";
Debug.ShouldStop(2097152);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("ins_pedidosPendientes_prods_"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),RemoteObject.createImmutable("_"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable(""))))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 921;BA.debugLine="c.Close";
Debug.ShouldStop(16777216);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 922;BA.debugLine="d.Position=0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 923;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")";
Debug.ShouldStop(67108864);
__ref.setField ("_cuantos_pedido" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_PEDIDO"))));
 BA.debugLineNum = 924;BA.debugLine="d.Close";
Debug.ShouldStop(134217728);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 927;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT  NV_C";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT  NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON FROM NOVENTA"))));
 BA.debugLineNum = 928;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"SELECT  COUN";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT  COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))));
 BA.debugLineNum = 929;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 930;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(2);
{
final int step122 = 1;
final int limit122 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step122 > 0 && _i <= limit122) || (step122 < 0 && _i >= limit122) ;_i = ((int)(0 + _i + step122))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 931;BA.debugLine="c.Position=i";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 932;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(8);
c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 933;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 934;BA.debugLine="cmd.Name = \"insert_noventa_SHARK2\"";
Debug.ShouldStop(32);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_noventa_SHARK2"));
 BA.debugLineNum = 935;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
Debug.ShouldStop(64);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_USER")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_MOTIVO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_COMM")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_LAT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_LON")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_CLIENTE"))))))}));
 BA.debugLineNum = 936;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\"";
Debug.ShouldStop(128);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_noventa"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 939;BA.debugLine="c.Close";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 940;BA.debugLine="d.Position=0";
Debug.ShouldStop(2048);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 941;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")";
Debug.ShouldStop(4096);
__ref.setField ("_cuantos_noventa" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_NOVENTA"))));
 BA.debugLineNum = 942;BA.debugLine="d.Close";
Debug.ShouldStop(8192);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 998;BA.debugLine="c.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1064;BA.debugLine="t1.Initialize(\"T1\", 30000) ' 1000 = 1 second";
Debug.ShouldStop(128);
__ref.getField(false,"_t1" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("T1")),(Object)(BA.numberCast(long.class, 30000)));
 BA.debugLineNum = 1065;BA.debugLine="t1.Enabled = True";
Debug.ShouldStop(256);
__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1066;BA.debugLine="Dim sDate,sTime As String";
Debug.ShouldStop(512);
c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate);
c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime);
 BA.debugLineNum = 1067;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(1024);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 1068;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(2048);
__ref.setField ("_sdate" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1069;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(4096);
__ref.setField ("_stime" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1070;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(8192);
c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 1071;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16384);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1072;BA.debugLine="cmd.Name =\"insert_drop_SHARK2\"";
Debug.ShouldStop(32768);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_SHARK2"));
 BA.debugLineNum = 1073;BA.debugLine="cmd.Parameters = Array As Object(usuario,l_ruta.";
Debug.ShouldStop(65536);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(("ENVIO")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName"))}));
 BA.debugLineNum = 1074;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\")";
Debug.ShouldStop(131072);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_noventa"))));
 BA.debugLineNum = 1075;BA.debugLine="img2.Visible =True";
Debug.ShouldStop(262144);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1076;BA.debugLine="PORCENTAJE = Round(100/ (cuantos_noventa + cuant";
Debug.ShouldStop(524288);
__ref.setField ("_porcentaje" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(100),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_cuantos_noventa" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_cuantos_pedido" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_cuantos_pedidosc" /*RemoteObject*/ )),RemoteObject.createImmutable(1)}, "+++",3, 0))}, "/",0, 0)))));
 BA.debugLineNum = 1077;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias "),__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")))),(Object)(c_principal.__c.getField(true,"True")));};
 };
 BA.debugLineNum = 1110;BA.debugLine="End Sub";
Debug.ShouldStop(2097152);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _t1_tick(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("t1_tick (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2679);
if (RapidSub.canDelegate("t1_tick")) { return __ref.runUserSub(false, "c_principal","t1_tick", __ref);}
 BA.debugLineNum = 2679;BA.debugLine="Sub t1_tick";
Debug.ShouldStop(4194304);
 BA.debugLineNum = 2680;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 2681;BA.debugLine="cmd.Name = \"select_cuantos_pedido_SHARK2\"";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_pedido_SHARK2"));
 BA.debugLineNum = 2682;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 2683;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedido\")";
Debug.ShouldStop(67108864);
__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("valida_pedido"))));
 BA.debugLineNum = 2685;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(268435456);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 2686;BA.debugLine="cmd.Name = \"select_cuantos_noventa_SHARK2\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_noventa_SHARK2"));
 BA.debugLineNum = 2687;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 2688;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_noventa\"";
Debug.ShouldStop(-2147483648);
__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("valida_noventa"))));
 BA.debugLineNum = 2690;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(2);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 2691;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc_SHARK2\"";
Debug.ShouldStop(4);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_pedidoc_SHARK2"));
 BA.debugLineNum = 2692;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
Debug.ShouldStop(8);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 2693;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedidoc\"";
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("valida_pedidoc"))));
 BA.debugLineNum = 2695;BA.debugLine="If PB2.Progress = 0 Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2696;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-1)\"";
Debug.ShouldStop(128);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ENVIAR DATOS (K-1)"));
 };
 BA.debugLineNum = 2698;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(512);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2699;BA.debugLine="t1.Enabled = False";
Debug.ShouldStop(1024);
__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2700;BA.debugLine="End Sub";
Debug.ShouldStop(2048);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _tickets_dia_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("tickets_dia_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3080);
if (RapidSub.canDelegate("tickets_dia_click")) { return __ref.runUserSub(false, "c_principal","tickets_dia_click", __ref);}
 BA.debugLineNum = 3080;BA.debugLine="Sub tickets_dia_Click";
Debug.ShouldStop(128);
 BA.debugLineNum = 3081;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")";
Debug.ShouldStop(256);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("TicketsDia")));
 BA.debugLineNum = 3082;BA.debugLine="End Sub";
Debug.ShouldStop(512);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}