package gunav2.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",3,__ref.getField(false, "ba"),__ref,3915);
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("gunav2.keymon.com.mx.c_principal._titledata");
Debug.locals.put("Title", _title);
 BA.debugLineNum = 3915;BA.debugLine="Sub AddTitle (Title As String)";
Debug.ShouldStop(1024);
 BA.debugLineNum = 3916;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 = 3917;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 = 3918;BA.debugLine="p_marcas.LoadLayout(\"CellTitle\")";
Debug.ShouldStop(8192);
_p_marcas.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("CellTitle")),__ref.getField(false, "ba"));
 BA.debugLineNum = 3919;BA.debugLine="lblTitle.Text = Title";
Debug.ShouldStop(16384);
__ref.getField(false,"_lbltitle" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_title));
 BA.debugLineNum = 3920;BA.debugLine="Dim td As TitleData";
Debug.ShouldStop(32768);
_td = RemoteObject.createNew ("gunav2.keymon.com.mx.c_principal._titledata");Debug.locals.put("td", _td);
 BA.debugLineNum = 3921;BA.debugLine="td.Title = Title";
Debug.ShouldStop(65536);
_td.setField ("Title" /*RemoteObject*/ ,_title);
 BA.debugLineNum = 3922;BA.debugLine="CLV1.Add(p_marcas, td)";
Debug.ShouldStop(131072);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_add",(Object)(_p_marcas),(Object)((_td)));
 BA.debugLineNum = 3923;BA.debugLine="End Sub";
Debug.ShouldStop(262144);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_abordo_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_abordo_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3965);
if (RapidSub.canDelegate("b_abordo_click")) { return __ref.runUserSub(false, "c_principal","b_abordo_click", __ref);}
 BA.debugLineNum = 3965;BA.debugLine="Private Sub b_abordo_Click";
Debug.ShouldStop(268435456);
 BA.debugLineNum = 3966;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from cuentaa\"$";
Debug.ShouldStop(536870912);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("delete from cuentaa"))));
 BA.debugLineNum = 3967;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into cuentaa (";
Debug.ShouldStop(1073741824);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("insert into cuentaa (cuenta) values ('0')"))));
 BA.debugLineNum = 3968;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
Debug.ShouldStop(-2147483648);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente")));
 BA.debugLineNum = 3969;BA.debugLine="End Sub";
Debug.ShouldStop(1);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_clientesvisitados_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_clientesvisitados_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3975);
if (RapidSub.canDelegate("b_clientesvisitados_click")) { return __ref.runUserSub(false, "c_principal","b_clientesvisitados_click", __ref);}
 BA.debugLineNum = 3975;BA.debugLine="Private Sub b_clientesvisitados_Click";
Debug.ShouldStop(64);
 BA.debugLineNum = 3976;BA.debugLine="tickets_dia_Click";
Debug.ShouldStop(128);
__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_tickets_dia_click" /*RemoteObject*/ );
 BA.debugLineNum = 3977;BA.debugLine="End Sub";
Debug.ShouldStop(256);
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",3,__ref.getField(false, "ba"),__ref,3796);
if (RapidSub.canDelegate("b_comm_click")) { return __ref.runUserSub(false, "c_principal","b_comm_click", __ref);}
 BA.debugLineNum = 3796;BA.debugLine="Sub B_COMM_Click";
Debug.ShouldStop(524288);
 BA.debugLineNum = 3797;BA.debugLine="Btn_Ubicar.Visible=False";
Debug.ShouldStop(1048576);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3798;BA.debugLine="SCROLL_RESDIA.Visible = True";
Debug.ShouldStop(2097152);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3799;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"COMIS\")";
Debug.ShouldStop(4194304);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("COMIS")),__ref.getField(false, "ba"));
 BA.debugLineNum = 3800;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel_C.Height";
Debug.ShouldStop(8388608);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",__ref.getField(false,"_panel_c" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 3801;BA.debugLine="Panel4.Visible = False";
Debug.ShouldStop(16777216);
__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3802;BA.debugLine="Panel_C.Visible = True";
Debug.ShouldStop(33554432);
__ref.getField(false,"_panel_c" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3803;BA.debugLine="Panel_C.Width = Root.Width * 0.90";
Debug.ShouldStop(67108864);
__ref.getField(false,"_panel_c" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.90)}, "*",0, 0)));
 BA.debugLineNum = 3807;BA.debugLine="NUEVO.Visible =False";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3808;BA.debugLine="BUSCA.Visible=False";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3809;BA.debugLine="connecta.Visible=False";
Debug.ShouldStop(1);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3810;BA.debugLine="Subir.Visible=False";
Debug.ShouldStop(2);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3811;BA.debugLine="cargar.Visible=False";
Debug.ShouldStop(4);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3812;BA.debugLine="Resumen.Visible= False";
Debug.ShouldStop(8);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3814;BA.debugLine="If l_ruta.Text <> 0 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { 
 BA.debugLineNum = 3815;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HCM_T";
Debug.ShouldStop(64);
__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 HCM_TOTAL_V, HCM_TOTAL_VIVE, HCM_TOTAL_GUNA,	HCM_TOTAL_BEB from HIST_COMISIONES_MOVIL"))));
 BA.debugLineNum = 3816;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3817;BA.debugLine="c.Position = 0";
Debug.ShouldStop(256);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3818;BA.debugLine="L_TOTAL_BA.Text = c.GetString(\"HCM_TOTAL_BEB\")";
Debug.ShouldStop(512);
__ref.getField(false,"_l_total_ba" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HCM_TOTAL_BEB")))));
 BA.debugLineNum = 3819;BA.debugLine="L_TOTAL_GUNA.Text = c.GetString(\"HCM_TOTAL_GUNA";
Debug.ShouldStop(1024);
__ref.getField(false,"_l_total_guna" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HCM_TOTAL_GUNA")))));
 BA.debugLineNum = 3820;BA.debugLine="L_TOTAL_MM.Text = c.GetString(\"HCM_TOTAL_V\")";
Debug.ShouldStop(2048);
__ref.getField(false,"_l_total_mm" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HCM_TOTAL_V")))));
 BA.debugLineNum = 3821;BA.debugLine="L_TOTAL_VIVE.Text = c.GetString(\"HCM_TOTAL_VIVE";
Debug.ShouldStop(4096);
__ref.getField(false,"_l_total_vive" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HCM_TOTAL_VIVE")))));
 BA.debugLineNum = 3822;BA.debugLine="c.Close";
Debug.ShouldStop(8192);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3823;BA.debugLine="L_TOTAL_COMIS.Text = 0";
Debug.ShouldStop(16384);
__ref.getField(false,"_l_total_comis" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 }else {
 BA.debugLineNum = 3826;BA.debugLine="L_TOTAL_BA.Text = 0";
Debug.ShouldStop(131072);
__ref.getField(false,"_l_total_ba" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3827;BA.debugLine="L_TOTAL_GUNA.Text = 0";
Debug.ShouldStop(262144);
__ref.getField(false,"_l_total_guna" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3828;BA.debugLine="L_TOTAL_MM.Text = 0";
Debug.ShouldStop(524288);
__ref.getField(false,"_l_total_mm" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3829;BA.debugLine="L_TOTAL_VIVE.Text = 0";
Debug.ShouldStop(1048576);
__ref.getField(false,"_l_total_vive" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3830;BA.debugLine="L_TOTAL_COMIS.Text = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_l_total_comis" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3833;BA.debugLine="End Sub";
Debug.ShouldStop(16777216);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_hacerpedido_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_hacerpedido_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3987);
if (RapidSub.canDelegate("b_hacerpedido_click")) { return __ref.runUserSub(false, "c_principal","b_hacerpedido_click", __ref);}
 BA.debugLineNum = 3987;BA.debugLine="Private Sub b_hacerpedido_Click";
Debug.ShouldStop(262144);
 BA.debugLineNum = 3988;BA.debugLine="hacer_ped_Click";
Debug.ShouldStop(524288);
__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_hacer_ped_click" /*RemoteObject*/ );
 BA.debugLineNum = 3989;BA.debugLine="End Sub";
Debug.ShouldStop(1048576);
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",3,__ref.getField(false, "ba"),__ref,2954);
if (RapidSub.canDelegate("b_mapa_click")) { return __ref.runUserSub(false, "c_principal","b_mapa_click", __ref);}
 BA.debugLineNum = 2954;BA.debugLine="Sub b_mapa_Click";
Debug.ShouldStop(512);
 BA.debugLineNum = 2956;BA.debugLine="B4XPages.GetPage(\"Mapas\")";
Debug.ShouldStop(2048);
c_principal._b4xpages.runVoidMethod ("_getpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Mapas")));
 BA.debugLineNum = 2957;BA.debugLine="End Sub";
Debug.ShouldStop(4096);
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",3,__ref.getField(false, "ba"),__ref,3848);
if (RapidSub.canDelegate("b_marcas_click")) { return __ref.runUserSub(false, "c_principal","b_marcas_click", __ref);}
int _i = 0;
 BA.debugLineNum = 3848;BA.debugLine="Sub B_MARCAS_Click";
Debug.ShouldStop(128);
 BA.debugLineNum = 3849;BA.debugLine="SCROLL_RESDIA.Visible = True";
Debug.ShouldStop(256);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3850;BA.debugLine="p_sombra.Width = Root.Width";
Debug.ShouldStop(512);
__ref.getField(false,"_p_sombra" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 3851;BA.debugLine="p_sombra.Height = Root.Height";
Debug.ShouldStop(1024);
__ref.getField(false,"_p_sombra" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 3852;BA.debugLine="Subs.panelVisible(p_sombra, 0, 0)";
Debug.ShouldStop(2048);
c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_sombra" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)));
 BA.debugLineNum = 3853;BA.debugLine="p_marcasRes.Visible = True";
Debug.ShouldStop(4096);
__ref.getField(false,"_p_marcasres" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3854;BA.debugLine="p_marcasRes.Height = Root.Height * 0.8";
Debug.ShouldStop(8192);
__ref.getField(false,"_p_marcasres" /*RemoteObject*/ ).runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.8)}, "*",0, 0)));
 BA.debugLineNum = 3855;BA.debugLine="p_marcasRes.BringToFront";
Debug.ShouldStop(16384);
__ref.getField(false,"_p_marcasres" /*RemoteObject*/ ).runVoidMethod ("BringToFront");
 BA.debugLineNum = 3857;BA.debugLine="pnlTitle.Visible = False";
Debug.ShouldStop(65536);
__ref.getField(false,"_pnltitle" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3861;BA.debugLine="B_OK_PANEL5.Top = p_marcasRes.Height - (B_OK_PANE";
Debug.ShouldStop(1048576);
__ref.getField(false,"_b_ok_panel5" /*RemoteObject*/ ).runMethod(true,"setTop",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_marcasres" /*RemoteObject*/ ).runMethod(true,"getHeight"),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_b_ok_panel5" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "+",1, 1))}, "-",1, 1));
 BA.debugLineNum = 3862;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_GP";
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 CAT_GP_CLASIF, SUM(TOTAL) AS TOTAL FROM TOTAL_MARCAS GROUP BY CAT_GP_CLASIF"))));
 BA.debugLineNum = 3863;BA.debugLine="CLV1.Clear";
Debug.ShouldStop(4194304);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_clear");
 BA.debugLineNum = 3864;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3865;BA.debugLine="For i=0 To c.RowCount - 1";
Debug.ShouldStop(16777216);
{
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 = 3866;BA.debugLine="c.Position=i";
Debug.ShouldStop(33554432);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3867;BA.debugLine="AddTitle(c.GetString(\"CAT_GP_CLASIF\"))";
Debug.ShouldStop(67108864);
__ref.runClassMethod (gunav2.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 = 3868;BA.debugLine="If c.GetString(\"CAT_GP_CLASIF\") = \"PROMOS\" Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF"))),BA.ObjectToString("PROMOS"))) { 
 BA.debugLineNum = 3869;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT SUM";
Debug.ShouldStop(268435456);
__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 = 3870;BA.debugLine="d.Position=0";
Debug.ShouldStop(536870912);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3871;BA.debugLine="CLV1.AddTextItem(\"CANTIDAD DE PROMOS = \" & d.G";
Debug.ShouldStop(1073741824);
__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 = 3872;BA.debugLine="d.Close";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else {
 BA.debugLineNum = 3874;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery2(\"select CO";
Debug.ShouldStop(2);
__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 = 3875;BA.debugLine="f.Position=0";
Debug.ShouldStop(4);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3876;BA.debugLine="If f.GetString(\"CUANTOS\") > 0 Then";
Debug.ShouldStop(8);
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 = 3877;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select H";
Debug.ShouldStop(16);
__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 = 3878;BA.debugLine="e.Position=0";
Debug.ShouldStop(32);
__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3879;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"SELECT";
Debug.ShouldStop(64);
__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)((RemoteObject.concat(RemoteObject.createImmutable("SELECT count(distinct(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" 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 = 3880;BA.debugLine="d.Position=0";
Debug.ShouldStop(128);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3881;BA.debugLine="CLV1.AddTextItem(\"TOTAL  PREVENTA = $\" & c.Ge";
Debug.ShouldStop(256);
__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 = 3882;BA.debugLine="CLV1.AddTextItem(\"META MES= $\" & e.GetString(";
Debug.ShouldStop(512);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("META MES= $"),__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HMC_TOTAL")))))),(Object)((RemoteObject.createImmutable("1"))));
 BA.debugLineNum = 3883;BA.debugLine="CLV1.AddTextItem(\"META DIA= $\" & Round(e.GetS";
Debug.ShouldStop(1024);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("META DIA= $"),c_principal.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HMC_TOTAL")))),RemoteObject.createImmutable(25)}, "/",0, 0)))))),(Object)((RemoteObject.createImmutable("1"))));
 BA.debugLineNum = 3884;BA.debugLine="CLV1.AddTextItem(\"FALTA DIA= $\" & Round((e.Ge";
Debug.ShouldStop(2048);
__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("FALTA DIA= $"),c_principal.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HMC_TOTAL")))),RemoteObject.createImmutable(25)}, "/",0, 0)),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))}, "-",1, 0)))))),(Object)((RemoteObject.createImmutable("1"))));
 BA.debugLineNum = 3885;BA.debugLine="CLV1.AddTextItem(\"CLIENTES  = \" & d.GetString";
Debug.ShouldStop(4096);
__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 = 3886;BA.debugLine="d.Close";
Debug.ShouldStop(8192);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3887;BA.debugLine="e.Close";
Debug.ShouldStop(16384);
__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else {
 BA.debugLineNum = 3889;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"SELECT";
Debug.ShouldStop(65536);
__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)((RemoteObject.concat(RemoteObject.createImmutable("SELECT count(distinct(pe_cliente)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" 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 = 3890;BA.debugLine="d.Position=0";
Debug.ShouldStop(131072);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3891;BA.debugLine="CLV1.AddTextItem(\"TOTAL  PREVENTA = $\" & c.Ge";
Debug.ShouldStop(262144);
__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 = 3892;BA.debugLine="CLV1.AddTextItem(\"M E T A  = $\" & \"1000\",\"1\")";
Debug.ShouldStop(524288);
__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 = 3893;BA.debugLine="CLV1.AddTextItem(\"FALTA  = $\" & (1000 - c.Get";
Debug.ShouldStop(1048576);
__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 = 3894;BA.debugLine="CLV1.AddTextItem(\"CLIENTES  = \" & d.GetString";
Debug.ShouldStop(2097152);
__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 = 3895;BA.debugLine="d.Close";
Debug.ShouldStop(4194304);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 3897;BA.debugLine="f.Close";
Debug.ShouldStop(16777216);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 3901;BA.debugLine="c.Close";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3913;BA.debugLine="End Sub";
Debug.ShouldStop(256);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_nuevocliente_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_nuevocliente_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3983);
if (RapidSub.canDelegate("b_nuevocliente_click")) { return __ref.runUserSub(false, "c_principal","b_nuevocliente_click", __ref);}
 BA.debugLineNum = 3983;BA.debugLine="Private Sub b_nuevocliente_Click";
Debug.ShouldStop(16384);
 BA.debugLineNum = 3984;BA.debugLine="nvo_cliente_Click";
Debug.ShouldStop(32768);
__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_nvo_cliente_click" /*RemoteObject*/ );
 BA.debugLineNum = 3985;BA.debugLine="End Sub";
Debug.ShouldStop(65536);
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",3,__ref.getField(false, "ba"),__ref,3835);
if (RapidSub.canDelegate("b_ok_comiss_click")) { return __ref.runUserSub(false, "c_principal","b_ok_comiss_click", __ref);}
 BA.debugLineNum = 3835;BA.debugLine="Sub B_OK_COMISS_Click";
Debug.ShouldStop(67108864);
 BA.debugLineNum = 3836;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(134217728);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3837;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(268435456);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3838;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(536870912);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3839;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3840;BA.debugLine="P_RESUMEN.Visible=False";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3841;BA.debugLine="Panel_C.Visible = False";
Debug.ShouldStop(1);
__ref.getField(false,"_panel_c" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3842;BA.debugLine="SCROLL_RESDIA.Visible = False";
Debug.ShouldStop(2);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3843;BA.debugLine="Btn_Ubicar.Visible=True";
Debug.ShouldStop(4);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3844;BA.debugLine="p_principal.Visible = True";
Debug.ShouldStop(8);
__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3845;BA.debugLine="SCROLL_RESDIA.Panel.RemoveAllViews";
Debug.ShouldStop(16);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runVoidMethod ("RemoveAllViews");
 BA.debugLineNum = 3846;BA.debugLine="End Sub";
Debug.ShouldStop(32);
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",3,__ref.getField(false, "ba"),__ref,3925);
if (RapidSub.canDelegate("b_ok_panel5_click")) { return __ref.runUserSub(false, "c_principal","b_ok_panel5_click", __ref);}
 BA.debugLineNum = 3925;BA.debugLine="Sub B_OK_PANEL5_Click";
Debug.ShouldStop(1048576);
 BA.debugLineNum = 3926;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(2097152);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3927;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(4194304);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3928;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(8388608);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3929;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(16777216);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3930;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 = 3931;BA.debugLine="Panel4.Visible = False";
Debug.ShouldStop(67108864);
__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3932;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 = 3933;BA.debugLine="p_marcasRes.Visible = False";
Debug.ShouldStop(268435456);
__ref.getField(false,"_p_marcasres" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3934;BA.debugLine="p_sombra.Visible = False";
Debug.ShouldStop(536870912);
__ref.getField(false,"_p_sombra" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3935;BA.debugLine="Btn_Ubicar.Visible=True";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3936;BA.debugLine="p_principal.Visible = True";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3937;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",3,__ref.getField(false, "ba"),__ref,3117);
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 _c11 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
int _i = 0;
RemoteObject _c12 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _c13 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
 BA.debugLineNum = 3117;BA.debugLine="Sub B_OK_PAS_Click";
Debug.ShouldStop(4096);
 BA.debugLineNum = 3118;BA.debugLine="If CARGA = \"SUBIR\" And S_CP.Text = \"INFO OK\" Then";
Debug.ShouldStop(8192);
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 = 3119;BA.debugLine="P1.Visible = False";
Debug.ShouldStop(16384);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3120;BA.debugLine="Btn_Ubicar.Visible=True";
Debug.ShouldStop(32768);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3122;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(131072);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3123;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(262144);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3124;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(524288);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3125;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(1048576);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3126;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(2097152);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3127;BA.debugLine="CARGA = \"\"";
Debug.ShouldStop(4194304);
__ref.setField ("_carga" /*RemoteObject*/ ,BA.ObjectToString(""));
 BA.debugLineNum = 3129;BA.debugLine="E_RUTA2.Text = \"\"";
Debug.ShouldStop(16777216);
__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 3130;BA.debugLine="e_ruta.Text = \"\"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 3131;BA.debugLine="Label4.Visible = True";
Debug.ShouldStop(67108864);
__ref.getField(false,"_label4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3132;BA.debugLine="l_ruta.Visible = True";
Debug.ShouldStop(134217728);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3133;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(268435456);
__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 }else 
{ BA.debugLineNum = 3134;BA.debugLine="Else If CARGA = \"SUBIR\" And S_CP.Text = \"ERROR\" T";
Debug.ShouldStop(536870912);
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 = 3135;BA.debugLine="Msgbox(\"Tiene que subir de nuevo la información\"";
Debug.ShouldStop(1073741824);
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 = 3136;BA.debugLine="P1.Visible = False";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3138;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(2);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3139;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(4);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3140;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(8);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3141;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(16);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3142;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(32);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 }else 
{ BA.debugLineNum = 3144;BA.debugLine="Else if CARGA = \"SUBIR\" And S_CP.Text <> \"INFO OK";
Debug.ShouldStop(128);
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 = 3145;BA.debugLine="RES =  Msgbox2(\"Seguro que desa abortar el proce";
Debug.ShouldStop(256);
__ref.setField ("_res" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desa 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 = 3146;BA.debugLine="If RES = DialogResponse.POSITIVE Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_res" /*RemoteObject*/ ),BA.NumberToString(c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
 BA.debugLineNum = 3147;BA.debugLine="P1.Visible = False";
Debug.ShouldStop(1024);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3149;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(4096);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3150;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(8192);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3151;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(16384);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3152;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(32768);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3153;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(65536);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3154;BA.debugLine="l_visitartotal.Visible = True";
Debug.ShouldStop(131072);
__ref.getField(false,"_l_visitartotal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3155;BA.debugLine="de.Visible = True";
Debug.ShouldStop(262144);
__ref.getField(false,"_de" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3156;BA.debugLine="l_faltan.Visible = True";
Debug.ShouldStop(524288);
__ref.getField(false,"_l_faltan" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3157;BA.debugLine="l_visitas.Visible = True";
Debug.ShouldStop(1048576);
__ref.getField(false,"_l_visitas" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3159;BA.debugLine="ExitApplication";
Debug.ShouldStop(4194304);
c_principal.__c.runVoidMethod ("ExitApplication");
 };
 }}}
;
 BA.debugLineNum = 3162;BA.debugLine="If CARGA = \"CARGAR\" And S_CP.Text = \"LISTO\" And S";
Debug.ShouldStop(33554432);
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 = 3163;BA.debugLine="P1.Visible = False";
Debug.ShouldStop(67108864);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3164;BA.debugLine="Btn_Ubicar.Visible=True";
Debug.ShouldStop(134217728);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3166;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(536870912);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3167;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3168;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3169;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(1);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3170;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(2);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3172;BA.debugLine="Label4.Visible = True";
Debug.ShouldStop(8);
__ref.getField(false,"_label4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3173;BA.debugLine="l_ruta.Visible = True";
Debug.ShouldStop(16);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3174;BA.debugLine="l_visitartotal.Visible = True";
Debug.ShouldStop(32);
__ref.getField(false,"_l_visitartotal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3175;BA.debugLine="de.Visible = True";
Debug.ShouldStop(64);
__ref.getField(false,"_de" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3176;BA.debugLine="l_faltan.Visible = True";
Debug.ShouldStop(128);
__ref.getField(false,"_l_faltan" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3177;BA.debugLine="l_visitas.Visible = True";
Debug.ShouldStop(256);
__ref.getField(false,"_l_visitas" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3178;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(512);
__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 BA.debugLineNum = 3180;BA.debugLine="Dim cn As Cursor = Starter.skmt.ExecQuery(\"SELEC";
Debug.ShouldStop(2048);
_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 = 3181;BA.debugLine="If cn.RowCount > 0 Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean(">",_cn.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3182;BA.debugLine="For gh = 0 To cn.RowCount -1";
Debug.ShouldStop(8192);
{
final int step56 = 1;
final int limit56 = RemoteObject.solve(new RemoteObject[] {_cn.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_gh = 0 ;
for (;(step56 > 0 && _gh <= limit56) || (step56 < 0 && _gh >= limit56) ;_gh = ((int)(0 + _gh + step56))  ) {
Debug.locals.put("gh", _gh);
 BA.debugLineNum = 3183;BA.debugLine="cn.Position = gh";
Debug.ShouldStop(16384);
_cn.runMethod(true,"setPosition",BA.numberCast(int.class, _gh));
 BA.debugLineNum = 3184;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in";
Debug.ShouldStop(32768);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info3(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,CAT_CL_NUMEROINT,CAT_CL_NUMEROEXT,CAT_CL_REFERENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?,?,?,?) ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {22},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")),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CALLE1")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CALLE2")))),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")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NUMEROINT")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NUMEROEXT")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_REFERENCIA"))))})))));
 }
}Debug.locals.put("gh", _gh);
;
 };
 BA.debugLineNum = 3188;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
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("String",new int[] {1},new Object[] {RemoteObject.createImmutable("CARGA_DIA")})))));
 BA.debugLineNum = 3189;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT";
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(("CARGA_DIA")),RemoteObject.createImmutable((1))})))));
 BA.debugLineNum = 3190;BA.debugLine="If E_RUTA2.Visible = True Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"True"))) { 
 BA.debugLineNum = 3191;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim";
Debug.ShouldStop(4194304);
__ref.getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_mandabitacora" /*RemoteObject*/ ,(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(Object)(c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.ObjectToString("Carga día suplencia")),(Object)(BA.ObjectToString("")),(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(Object)(BA.ObjectToString("2")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable("")));
 }else {
 BA.debugLineNum = 3193;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim";
Debug.ShouldStop(16777216);
__ref.getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_mandabitacora" /*RemoteObject*/ ,(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(Object)(c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.ObjectToString("Carga día")),(Object)(BA.ObjectToString("")),(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(Object)(BA.ObjectToString("2")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable("")));
 };
 BA.debugLineNum = 3195;BA.debugLine="Dim c11  As Cursor = Starter.skmt.ExecQuery(\"Sel";
Debug.ShouldStop(67108864);
_c11 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c11 = 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("c11", _c11);Debug.locals.put("c11", _c11);
 BA.debugLineNum = 3196;BA.debugLine="If c11.RowCount > 0 Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean(">",_c11.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3197;BA.debugLine="For i = 0 To c11.RowCount - 1";
Debug.ShouldStop(268435456);
{
final int step70 = 1;
final int limit70 = RemoteObject.solve(new RemoteObject[] {_c11.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step70 > 0 && _i <= limit70) || (step70 < 0 && _i >= limit70) ;_i = ((int)(0 + _i + step70))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3198;BA.debugLine="c11.Position = i";
Debug.ShouldStop(536870912);
_c11.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3199;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO";
Debug.ShouldStop(1073741824);
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)((_c11.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable("  WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c11.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'")))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 3202;BA.debugLine="c11.Close";
Debug.ShouldStop(2);
_c11.runVoidMethod ("Close");
 BA.debugLineNum = 3204;BA.debugLine="Dim c12  As Cursor = Starter.skmt.ExecQuery(\"Sel";
Debug.ShouldStop(8);
_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 = 'ABORDO'"))));Debug.locals.put("c12", _c12);Debug.locals.put("c12", _c12);
 BA.debugLineNum = 3205;BA.debugLine="If c12.RowCount > 0 Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean(">",_c12.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3206;BA.debugLine="For i = 0 To c12.RowCount - 1";
Debug.ShouldStop(32);
{
final int step78 = 1;
final int limit78 = RemoteObject.solve(new RemoteObject[] {_c12.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step78 > 0 && _i <= limit78) || (step78 < 0 && _i >= limit78) ;_i = ((int)(0 + _i + step78))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3207;BA.debugLine="c12.Position = i";
Debug.ShouldStop(64);
_c12.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3208;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO";
Debug.ShouldStop(128);
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 = 3211;BA.debugLine="c12.Close";
Debug.ShouldStop(1024);
_c12.runVoidMethod ("Close");
 BA.debugLineNum = 3213;BA.debugLine="Dim c13  As Cursor = Starter.skmt.ExecQuery(\"Sel";
Debug.ShouldStop(4096);
_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 = 3214;BA.debugLine="If c13.RowCount > 0 Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean(">",_c13.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3215;BA.debugLine="For i = 0 To c13.RowCount - 1";
Debug.ShouldStop(16384);
{
final int step86 = 1;
final int limit86 = RemoteObject.solve(new RemoteObject[] {_c13.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step86 > 0 && _i <= limit86) || (step86 < 0 && _i >= limit86) ;_i = ((int)(0 + _i + step86))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3216;BA.debugLine="c13.Position = i";
Debug.ShouldStop(32768);
_c13.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3217;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO";
Debug.ShouldStop(65536);
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 = 3220;BA.debugLine="c13.Close";
Debug.ShouldStop(524288);
_c13.runVoidMethod ("Close");
 BA.debugLineNum = 3224;BA.debugLine="checaPedido";
Debug.ShouldStop(8388608);
__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_checapedido" /*RemoteObject*/ );
 }else 
{ BA.debugLineNum = 3225;BA.debugLine="Else if CARGA = \"CARGAR\" And (S_CP.Text <> \"LISTO";
Debug.ShouldStop(16777216);
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 = 3226;BA.debugLine="RES =  Msgbox2(\"Seguro que desa abortar el proce";
Debug.ShouldStop(33554432);
__ref.setField ("_res" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desa 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 = 3227;BA.debugLine="If RES = DialogResponse.POSITIVE Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_res" /*RemoteObject*/ ),BA.NumberToString(c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
 BA.debugLineNum = 3228;BA.debugLine="P1.Visible = False";
Debug.ShouldStop(134217728);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3230;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(536870912);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3231;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3232;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3233;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(1);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3234;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(2);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3236;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(8);
__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 BA.debugLineNum = 3237;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 kmt_info3")));
 BA.debugLineNum = 3238;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 cod_result")));
 BA.debugLineNum = 3239;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 hist_gest")));
 BA.debugLineNum = 3240;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 cat_gunaprod")));
 BA.debugLineNum = 3241;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 CAT_DETALLES_PAQ")));
 BA.debugLineNum = 3242;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 telefonos")));
 BA.debugLineNum = 3243;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 HIST_VENTAS")));
 BA.debugLineNum = 3244;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 HIST_PROMOS")));
 BA.debugLineNum = 3245;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 HIST_CLIENTE_CANT_PROMOS")));
 BA.debugLineNum = 3246;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 PROMOS_COMP")));
 BA.debugLineNum = 3247;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_VERIFICACION")));
 BA.debugLineNum = 3248;BA.debugLine="ExitApplication";
Debug.ShouldStop(32768);
c_principal.__c.runVoidMethod ("ExitApplication");
 };
 }}
;
 BA.debugLineNum = 3251;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Or Subs.traeT";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",c_principal._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("VENTA")) || RemoteObject.solveBoolean("=",c_principal._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("ABORDO"))) { 
 BA.debugLineNum = 3252;BA.debugLine="If l_ruta.Text <> \"0\" Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { 
 BA.debugLineNum = 3253;BA.debugLine="Log(888 & \"|\" & l_ruta.Text & \"|\")";
Debug.ShouldStop(1048576);
c_principal.__c.runVoidMethod ("LogImpl","04391048",RemoteObject.concat(RemoteObject.createImmutable(888),RemoteObject.createImmutable("|"),__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("|")),0);
 BA.debugLineNum = 3254;BA.debugLine="b_abordo.Visible = False";
Debug.ShouldStop(2097152);
__ref.getField(false,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 };
 }else {
 BA.debugLineNum = 3257;BA.debugLine="b_abordo.Visible = False";
Debug.ShouldStop(16777216);
__ref.getField(false,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 };
 BA.debugLineNum = 3259;BA.debugLine="End Sub";
Debug.ShouldStop(67108864);
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",3,__ref.getField(false, "ba"),__ref,3265);
if (RapidSub.canDelegate("b_ok_res_click")) { return __ref.runUserSub(false, "c_principal","b_ok_res_click", __ref);}
 BA.debugLineNum = 3265;BA.debugLine="Sub B_OK_RES_Click";
Debug.ShouldStop(1);
 BA.debugLineNum = 3267;BA.debugLine="NUEVO.Visible =True";
Debug.ShouldStop(4);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3268;BA.debugLine="BUSCA.Visible=True";
Debug.ShouldStop(8);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3269;BA.debugLine="connecta.Visible=True";
Debug.ShouldStop(16);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3270;BA.debugLine="Resumen.Visible= True";
Debug.ShouldStop(32);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3271;BA.debugLine="P_RESUMEN.Visible=False";
Debug.ShouldStop(64);
__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3272;BA.debugLine="Panel4.Visible = False";
Debug.ShouldStop(128);
__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3273;BA.debugLine="SCROLL_RESDIA.Visible = False";
Debug.ShouldStop(256);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3274;BA.debugLine="Btn_Ubicar.Visible=True";
Debug.ShouldStop(512);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3275;BA.debugLine="p_principal.Visible = True";
Debug.ShouldStop(1024);
__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3276;BA.debugLine="End Sub";
Debug.ShouldStop(2048);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_resdia_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_resdia_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3991);
if (RapidSub.canDelegate("b_resdia_click")) { return __ref.runUserSub(false, "c_principal","b_resdia_click", __ref);}
 BA.debugLineNum = 3991;BA.debugLine="Private Sub b_resdia_Click";
Debug.ShouldStop(4194304);
 BA.debugLineNum = 3992;BA.debugLine="resdia_Click";
Debug.ShouldStop(8388608);
__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_resdia_click" /*RemoteObject*/ );
 BA.debugLineNum = 3993;BA.debugLine="End Sub";
Debug.ShouldStop(16777216);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_traec_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_traec_click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3995);
if (RapidSub.canDelegate("b_traec_click")) { return __ref.runUserSub(false, "c_principal","b_traec_click", __ref);}
 BA.debugLineNum = 3995;BA.debugLine="Private Sub B_traec_click";
Debug.ShouldStop(67108864);
 BA.debugLineNum = 3996;BA.debugLine="B4XPages.ShowPage(\"Clientes_Completos\")";
Debug.ShouldStop(134217728);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes_Completos")));
 BA.debugLineNum = 3997;BA.debugLine="End Sub";
Debug.ShouldStop(268435456);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_ubicar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_ubicar_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3979);
if (RapidSub.canDelegate("b_ubicar_click")) { return __ref.runUserSub(false, "c_principal","b_ubicar_click", __ref);}
 BA.debugLineNum = 3979;BA.debugLine="Private Sub b_ubicar_Click";
Debug.ShouldStop(1024);
 BA.debugLineNum = 3980;BA.debugLine="Btn_Ubicar_Click";
Debug.ShouldStop(2048);
__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_btn_ubicar_click" /*RemoteObject*/ );
 BA.debugLineNum = 3981;BA.debugLine="End Sub";
Debug.ShouldStop(4096);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b4xpage_appear(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Appear (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,382);
if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_principal","b4xpage_appear", __ref);}
RemoteObject _totalcisitas = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _visitasfaltantes = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _s3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _total7 = RemoteObject.createImmutable("");
int _i = 0;
RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
 BA.debugLineNum = 382;BA.debugLine="Sub B4XPage_Appear";
Debug.ShouldStop(536870912);
 BA.debugLineNum = 386;BA.debugLine="p_principal.Visible = True";
Debug.ShouldStop(2);
__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 387;BA.debugLine="E_RUTA2.Text = \"\"";
Debug.ShouldStop(4);
__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 388;BA.debugLine="p_ruta2.Visible = False";
Debug.ShouldStop(8);
__ref.getField(false,"_p_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 389;BA.debugLine="E_RUTA2.Visible = False";
Debug.ShouldStop(16);
__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 390;BA.debugLine="p_somvra_2.Visible = False";
Debug.ShouldStop(32);
__ref.getField(false,"_p_somvra_2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 391;BA.debugLine="Subs.validaPromoProcterPRO3009";
Debug.ShouldStop(64);
c_principal._subs.runVoidMethod ("_validapromoprocterpro3009" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 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 = (Panel4.Width/2) - (Btn_Ubicar.";
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,"_panel4" /*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 = 395;BA.debugLine="PASO = 0";
Debug.ShouldStop(1024);
__ref.setField ("_paso" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 396;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then";
Debug.ShouldStop(2048);
if (c_principal.__c.runMethod(true,"Not",(Object)(c_principal._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 397;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_principal.__c.getField(true,"True")));};
 BA.debugLineNum = 398;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent";
Debug.ShouldStop(8192);
c_principal.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_principal._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent"))));
 };
 BA.debugLineNum = 400;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select count";
Debug.ShouldStop(32768);
__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(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("FECHA")}))));
 BA.debugLineNum = 401;BA.debugLine="c.Position = 0";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 402;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { 
 BA.debugLineNum = 403;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 404;BA.debugLine="cmd.Name = \"select_fecha\"";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_fecha"));
 BA.debugLineNum = 405;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(1048576);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 406;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'ignore";
Debug.ShouldStop(2097152);
c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("AJUSTAR FECHA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 407;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(4194304);
__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 }else {
 BA.debugLineNum = 409;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"select CA";
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,"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 = 410;BA.debugLine="c.Position = 0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 411;BA.debugLine="Dim sDate, sTime As String";
Debug.ShouldStop(67108864);
c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate);
c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime);
 BA.debugLineNum = 412;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\"";
Debug.ShouldStop(134217728);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyyyMMdd"));
 BA.debugLineNum = 413;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 = 414;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then";
Debug.ShouldStop(536870912);
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*/ )))) { 
 BA.debugLineNum = 415;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS";
Debug.ShouldStop(1073741824);
c_principal.__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 = 416;BA.debugLine="c.Close";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 417;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(1);
__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 };
 BA.debugLineNum = 419;BA.debugLine="c.Close";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 421;BA.debugLine="c.Close";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 422;BA.debugLine="If EJECUTANDO = 0 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ejecutando" /*RemoteObject*/ ),BA.NumberToString(0))) { 
 BA.debugLineNum = 423;BA.debugLine="Listo1 = 0";
Debug.ShouldStop(64);
__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 424;BA.debugLine="Listo2 = 0";
Debug.ShouldStop(128);
__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 425;BA.debugLine="Listo3 = 0";
Debug.ShouldStop(256);
__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 426;BA.debugLine="Listo4 = 0";
Debug.ShouldStop(512);
__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 427;BA.debugLine="Listo5 = 0";
Debug.ShouldStop(1024);
__ref.setField ("_listo5" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 428;BA.debugLine="inve = 0";
Debug.ShouldStop(2048);
__ref.setField ("_inve" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 429;BA.debugLine="img2.Visible =False";
Debug.ShouldStop(4096);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 };
 BA.debugLineNum = 431;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(16384);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 432;BA.debugLine="fecha=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(32768);
__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 = 433;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count(";
Debug.ShouldStop(65536);
__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 = 434;BA.debugLine="b.Position = 0";
Debug.ShouldStop(131072);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 435;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")";
Debug.ShouldStop(262144);
__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))));
 BA.debugLineNum = 436;BA.debugLine="b.Close";
Debug.ShouldStop(524288);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 437;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageSh";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { 
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(__ref.getField(true,"_cuantos" /*RemoteObject*/ ))),(Object)(c_principal.__c.getField(true,"True")));};
 BA.debugLineNum = 438;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count(";
Debug.ShouldStop(2097152);
__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_info3 where gestion = 0"))));
 BA.debugLineNum = 439;BA.debugLine="d.Position=0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 440;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count(";
Debug.ShouldStop(8388608);
__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_info3"))));
 BA.debugLineNum = 441;BA.debugLine="e.Position=0";
Debug.ShouldStop(16777216);
__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 442;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count(";
Debug.ShouldStop(33554432);
__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_info3"))));
 BA.debugLineNum = 443;BA.debugLine="f.Position=0";
Debug.ShouldStop(67108864);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 444;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")";
Debug.ShouldStop(134217728);
__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 = 445;BA.debugLine="f.Close";
Debug.ShouldStop(268435456);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 446;BA.debugLine="If l_ruta.Text = 0 Then";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { 
 BA.debugLineNum = 447;BA.debugLine="l_ruta.Text =0";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 448;BA.debugLine="l_visitas.Text = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_l_visitas" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 449;BA.debugLine="l_faltan.Text = 0";
Debug.ShouldStop(1);
__ref.getField(false,"_l_faltan" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 }else {
 BA.debugLineNum = 451;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select disti";
Debug.ShouldStop(4);
__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 distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))));
 BA.debugLineNum = 452;BA.debugLine="f.Position=0";
Debug.ShouldStop(8);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 453;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")";
Debug.ShouldStop(16);
__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 = 454;BA.debugLine="f.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 456;BA.debugLine="Dim totalcisitas As Cursor = Starter.skmt.ExecQu";
Debug.ShouldStop(128);
_totalcisitas = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_totalcisitas = 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 COUNT(*) AS CUENTA FROM KMT_INFO3 where cat_cl_codigo <> 0"))));Debug.locals.put("totalcisitas", _totalcisitas);Debug.locals.put("totalcisitas", _totalcisitas);
 BA.debugLineNum = 457;BA.debugLine="totalcisitas.Position = 0";
Debug.ShouldStop(256);
_totalcisitas.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 458;BA.debugLine="l_visitas.Text = totalcisitas.GetInt(\"CUENTA\")";
Debug.ShouldStop(512);
__ref.getField(false,"_l_visitas" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_totalcisitas.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CUENTA")))));
 BA.debugLineNum = 459;BA.debugLine="Dim visitasfaltantes As Cursor = Starter.skmt.Ex";
Debug.ShouldStop(1024);
_visitasfaltantes = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_visitasfaltantes = 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 COUNT(*) AS CUENTA FROM KMT_INFO3 WHERE gestion = 0 and cat_cl_codigo <> 0"))));Debug.locals.put("visitasfaltantes", _visitasfaltantes);Debug.locals.put("visitasfaltantes", _visitasfaltantes);
 BA.debugLineNum = 460;BA.debugLine="visitasfaltantes.Position = 0";
Debug.ShouldStop(2048);
_visitasfaltantes.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 461;BA.debugLine="l_faltan.Text = visitasfaltantes.GetInt(\"CUENTA\"";
Debug.ShouldStop(4096);
__ref.getField(false,"_l_faltan" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_visitasfaltantes.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CUENTA")))));
 };
 BA.debugLineNum = 463;BA.debugLine="If Cuantos = 0 Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos" /*RemoteObject*/ ),BA.NumberToString(0))) { 
 BA.debugLineNum = 464;BA.debugLine="L_MONTOD.Text =0";
Debug.ShouldStop(32768);
__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 465;BA.debugLine="l_cuantosc.Text = 0";
Debug.ShouldStop(65536);
__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 466;BA.debugLine="l_cuantosn.Text = 0";
Debug.ShouldStop(131072);
__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 467;BA.debugLine="L_CUANTOST.Text = 0";
Debug.ShouldStop(262144);
__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 468;BA.debugLine="drop = 0";
Debug.ShouldStop(524288);
__ref.setField ("_drop" /*RemoteObject*/ ,BA.numberCast(double.class, 0));
 BA.debugLineNum = 469;BA.debugLine="l_drop.Text = 0";
Debug.ShouldStop(1048576);
__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 470;BA.debugLine="efectiva = 0";
Debug.ShouldStop(2097152);
__ref.setField ("_efectiva" /*RemoteObject*/ ,BA.numberCast(double.class, 0));
 BA.debugLineNum = 471;BA.debugLine="l_efectiva.text =0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 472;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")";
Debug.ShouldStop(8388608);
__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 = 473;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")";
Debug.ShouldStop(16777216);
__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 = 474;BA.debugLine="d.Close";
Debug.ShouldStop(33554432);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 475;BA.debugLine="e.Close";
Debug.ShouldStop(67108864);
__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 476;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count";
Debug.ShouldStop(134217728);
__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( distinct NV_CLIENTE) as CUANTOS from noventa"))));
 BA.debugLineNum = 477;BA.debugLine="b.Position=0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 478;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")";
Debug.ShouldStop(536870912);
__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 = 479;BA.debugLine="b.close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else {
 BA.debugLineNum = 481;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(P";
Debug.ShouldStop(1);
__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, COUNT(DISTINCT(PE_CLIENTE)) AS CLIENTES_DIA from PEDIDO"))));
 BA.debugLineNum = 482;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count";
Debug.ShouldStop(2);
__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( distinct NV_CLIENTE) as CUANTOS from noventa"))));
 BA.debugLineNum = 483;BA.debugLine="c.Position=0";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 484;BA.debugLine="b.Position=0";
Debug.ShouldStop(8);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 485;BA.debugLine="L_MONTOD.Text = NumberFormat2(c.GetDouble(\"MONTO";
Debug.ShouldStop(16);
__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("MONTO_DIA")))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))));
 BA.debugLineNum = 486;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")";
Debug.ShouldStop(32);
__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 = 487;BA.debugLine="D2=B4XPages.MainPage.skmt.ExecQuery(\"select  COU";
Debug.ShouldStop(64);
__ref.getField(false,"_d2" /*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 = 488;BA.debugLine="D2.Position = 0";
Debug.ShouldStop(128);
__ref.getField(false,"_d2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 489;BA.debugLine="LPT = D2.GetString(\"CUANTOS\") / l_cuantosc.Text";
Debug.ShouldStop(256);
__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 = 490;BA.debugLine="D2.Close";
Debug.ShouldStop(512);
__ref.getField(false,"_d2" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 491;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")";
Debug.ShouldStop(1024);
__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 = 492;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt";
Debug.ShouldStop(2048);
__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 = 493;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)";
Debug.ShouldStop(4096);
__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 = 494;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")";
Debug.ShouldStop(8192);
__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 = 495;BA.debugLine="d.Close";
Debug.ShouldStop(16384);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 496;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")";
Debug.ShouldStop(32768);
__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 = 497;BA.debugLine="L_CUANTOST.Text = l_cuantosc.Text + l_cuantosn.T";
Debug.ShouldStop(65536);
__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 = 498;BA.debugLine="drop = L_CUANTOST.Text / l_porvisitar.Text";
Debug.ShouldStop(131072);
__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 = 499;BA.debugLine="l_drop.Text = Round(drop * 100)";
Debug.ShouldStop(262144);
__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_drop" /*RemoteObject*/ ),RemoteObject.createImmutable(100)}, "*",0, 0)))));
 BA.debugLineNum = 500;BA.debugLine="If L_CUANTOST.Text < 40 Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 40))) { 
 BA.debugLineNum = 501;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,";
Debug.ShouldStop(1048576);
__ref.getField(false,"_imageview3" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("tache_rojo.png"))).getObject()));
 }else 
{ BA.debugLineNum = 502;BA.debugLine="Else If L_CUANTOST.Text > =  40  And L_CUANTOST.";
Debug.ShouldStop(2097152);
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))) { 
 BA.debugLineNum = 503;BA.debugLine="ImageView3.bitmap = LoadBitmap(File.DirAssets,";
Debug.ShouldStop(4194304);
__ref.getField(false,"_imageview3" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alerta_amarilla.png"))).getObject()));
 }else {
 BA.debugLineNum = 505;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,";
Debug.ShouldStop(16777216);
__ref.getField(false,"_imageview3" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("palomita_verde.png"))).getObject()));
 }}
;
 BA.debugLineNum = 507;BA.debugLine="Log(\"|\" & c.GetString(\"MONTO_DIA\") & \"|\")";
Debug.ShouldStop(67108864);
c_principal.__c.runVoidMethod ("LogImpl","03473533",RemoteObject.concat(RemoteObject.createImmutable("|"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))),RemoteObject.createImmutable("|")),0);
 BA.debugLineNum = 508;BA.debugLine="Log(\"|\" & c.GetString(\"CLIENTES_DIA\") & \"|\")";
Debug.ShouldStop(134217728);
c_principal.__c.runVoidMethod ("LogImpl","03473534",RemoteObject.concat(RemoteObject.createImmutable("|"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA"))),RemoteObject.createImmutable("|")),0);
 BA.debugLineNum = 517;BA.debugLine="b.Close";
Debug.ShouldStop(16);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 518;BA.debugLine="c.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 520;BA.debugLine="c.Close";
Debug.ShouldStop(128);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 521;BA.debugLine="b.Close";
Debug.ShouldStop(256);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 522;BA.debugLine="e.Close";
Debug.ShouldStop(512);
__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 523;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select  ID_AL";
Debug.ShouldStop(1024);
__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  ID_ALMACEN from CAT_ALMACEN"))));
 BA.debugLineNum = 524;BA.debugLine="C.Position =0";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 525;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")";
Debug.ShouldStop(4096);
__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))));
 BA.debugLineNum = 526;BA.debugLine="c.Close";
Debug.ShouldStop(8192);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 527;BA.debugLine="bu.Initialize";
Debug.ShouldStop(16384);
__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.batteryutilities.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 528;BA.debugLine="batterystatus = bu.BatteryInformation";
Debug.ShouldStop(32768);
__ref.setField ("_batterystatus" /*RemoteObject*/ ,__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.batteryutilities.class, "_getbatteryinformation" /*RemoteObject*/ ));
 BA.debugLineNum = 529;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari";
Debug.ShouldStop(65536);
__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 = 530;BA.debugLine="c.Position = 0";
Debug.ShouldStop(131072);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 531;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(262144);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 532;BA.debugLine="c.Close";
Debug.ShouldStop(524288);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 534;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(2097152);
_s3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s3 = 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 distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s3", _s3);Debug.locals.put("s3", _s3);
 BA.debugLineNum = 536;BA.debugLine="If s3.RowCount > 0 Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean(">",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 537;BA.debugLine="Private total7 As String = 0";
Debug.ShouldStop(16777216);
_total7 = BA.NumberToString(0);Debug.locals.put("total7", _total7);Debug.locals.put("total7", _total7);
 BA.debugLineNum = 538;BA.debugLine="For i = 0 To s3.RowCount - 1";
Debug.ShouldStop(33554432);
{
final int step141 = 1;
final int limit141 = RemoteObject.solve(new RemoteObject[] {_s3.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step141 > 0 && _i <= limit141) || (step141 < 0 && _i >= limit141) ;_i = ((int)(0 + _i + step141))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 539;BA.debugLine="s3.Position = i";
Debug.ShouldStop(67108864);
_s3.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 541;BA.debugLine="total7 = total7 + Subs.calculaTotalConPromoXRan";
Debug.ShouldStop(268435456);
_total7 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total7),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total7", _total7);
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 546;BA.debugLine="B4XPages.MainPage.montoActual = NumberFormat2(to";
Debug.ShouldStop(2);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_montoactual" /*RemoteObject*/ ,c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total7)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))));
 }else {
 BA.debugLineNum = 548;BA.debugLine="B4XPages.MainPage.montoActual = 0";
Debug.ShouldStop(8);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_montoactual" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 BA.debugLineNum = 552;BA.debugLine="B4XPages.MainPage.clientestotal = L_CUANTOST.Text";
Debug.ShouldStop(128);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientestotal" /*RemoteObject*/ ,__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 553;BA.debugLine="B4XPages.MainPage.clientesventa =  l_cuantosc.Tex";
Debug.ShouldStop(256);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientesventa" /*RemoteObject*/ ,__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 554;BA.debugLine="B4XPages.MainPage.clientesvisitados = l_porvisita";
Debug.ShouldStop(512);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientesvisitados" /*RemoteObject*/ ,__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 555;BA.debugLine="B4XPages.MainPage.ALMACEN = ALMACEN";
Debug.ShouldStop(1024);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_almacen" /*RemoteObject*/ ,__ref.getField(true,"_almacen" /*RemoteObject*/ ));
 BA.debugLineNum = 556;BA.debugLine="B4XPages.MainPage.rutapreventa =  l_ruta.text";
Debug.ShouldStop(2048);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_rutapreventa" /*RemoteObject*/ ,__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 559;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari";
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 usuario from usuarioa"))));
 BA.debugLineNum = 560;BA.debugLine="c.Position = 0";
Debug.ShouldStop(32768);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 561;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(65536);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 562;BA.debugLine="B4XPages.MainPage.usuario = usuario";
Debug.ShouldStop(131072);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_usuario" /*RemoteObject*/ ,__ref.getField(true,"_usuario" /*RemoteObject*/ ));
 BA.debugLineNum = 563;BA.debugLine="c.Close";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 565;BA.debugLine="CallSub(Starter, \"ENVIA_ULTIMA_GPS\")";
Debug.ShouldStop(1048576);
c_principal.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)((c_principal._starter.getObject())),(Object)(RemoteObject.createImmutable("ENVIA_ULTIMA_GPS")));
 BA.debugLineNum = 569;BA.debugLine="Private s As Cursor = B4XPages.MainPage.skmt.Exec";
Debug.ShouldStop(16777216);
_s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s = 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 count(RS_RUTA) as cuenta, RS_RUTA FROM RUTA_SUPLENCIA"))));Debug.locals.put("s", _s);Debug.locals.put("s", _s);
 BA.debugLineNum = 570;BA.debugLine="s.Position = 0";
Debug.ShouldStop(33554432);
_s.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 571;BA.debugLine="If s.GetString(\"cuenta\") = 0 Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",_s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuenta"))),BA.NumberToString(0))) { 
 BA.debugLineNum = 572;BA.debugLine="Label22.Visible = False";
Debug.ShouldStop(134217728);
__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 573;BA.debugLine="l_rutasuplencia.Visible = False";
Debug.ShouldStop(268435456);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 574;BA.debugLine="l_rutasuplencia.Text = \"\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(""));
 }else 
{ BA.debugLineNum = 575;BA.debugLine="Else If s.GetString(\"cuenta\") > 0 Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuenta")))),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 576;BA.debugLine="Label22.Visible = True";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 577;BA.debugLine="l_rutasuplencia.Visible = True";
Debug.ShouldStop(1);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 578;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")";
Debug.ShouldStop(2);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RS_RUTA")))));
 }}
;
 BA.debugLineNum = 580;BA.debugLine="End Sub";
Debug.ShouldStop(8);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b4xpage_closerequest(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_CloseRequest (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,2845);
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(gunav2.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;
gunav2.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",3,__ref.getField(false, "ba"),__ref,2845);
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 = 2847;BA.debugLine="If SCROLL_RESDIA.Visible Then";
Debug.ShouldStop(1073741824);
if (true) break;

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

case 3:
//C
this.state = 6;
 BA.debugLineNum = 2848;BA.debugLine="SCROLL_RESDIA.Visible = False";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 2849;BA.debugLine="B_OK_RES_Click";
Debug.ShouldStop(1);
__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_b_ok_res_click" /*RemoteObject*/ );
 BA.debugLineNum = 2850;BA.debugLine="Return False";
Debug.ShouldStop(2);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 if (true) break;

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

case 6:
//C
this.state = -1;
;
 BA.debugLineNum = 2854;BA.debugLine="Return False";
Debug.ShouldStop(32);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 BA.debugLineNum = 2855;BA.debugLine="End Sub";
Debug.ShouldStop(64);
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",3,__ref.getField(false, "ba"),__ref,268);
if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_principal","b4xpage_created", __ref, _root1);}
RemoteObject _ruta = RemoteObject.createImmutable("");
RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
Debug.locals.put("Root1", _root1);
 BA.debugLineNum = 268;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)";
Debug.ShouldStop(2048);
 BA.debugLineNum = 269;BA.debugLine="Root = Root1";
Debug.ShouldStop(4096);
__ref.setField ("_root" /*RemoteObject*/ ,_root1);
 BA.debugLineNum = 270;BA.debugLine="bitacora.Initialize(\"bitacora\", \"bitacora\", Root,";
Debug.ShouldStop(8192);
__ref.getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(("bitacora"))),(Object)(BA.ObjectToString("bitacora")),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ )),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ )),(Object)(c_principal._starter._reqmanager /*RemoteObject*/ ));
 BA.debugLineNum = 272;BA.debugLine="Root.LoadLayout(\"principal\")";
Debug.ShouldStop(32768);
__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("principal")),__ref.getField(false, "ba"));
 BA.debugLineNum = 273;BA.debugLine="SCROLL_RESDIA.Width = Root.Width";
Debug.ShouldStop(65536);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 274;BA.debugLine="SCROLL_RESDIA.Height = Root.Height";
Debug.ShouldStop(131072);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 275;BA.debugLine="B_OK_RES.color = Colors.Red";
Debug.ShouldStop(262144);
__ref.getField(false,"_b_ok_res" /*RemoteObject*/ ).runVoidMethod ("setColor",c_principal.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 276;BA.debugLine="B_OK_RES.TextColor = Colors.White";
Debug.ShouldStop(524288);
__ref.getField(false,"_b_ok_res" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"White"));
 BA.debugLineNum = 277;BA.debugLine="l_version.Left = Root.Width - l_version.Width";
Debug.ShouldStop(1048576);
__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"setLeft",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "-",1, 1));
 BA.debugLineNum = 278;BA.debugLine="l_version.Text = Application.VersionName";
Debug.ShouldStop(2097152);
__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName")));
 BA.debugLineNum = 279;BA.debugLine="EJECUTANDO=1";
Debug.ShouldStop(4194304);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 280;BA.debugLine="Dim ruta As String";
Debug.ShouldStop(8388608);
_ruta = RemoteObject.createImmutable("");Debug.locals.put("ruta", _ruta);
 BA.debugLineNum = 281;BA.debugLine="img2.Visible =False";
Debug.ShouldStop(16777216);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 282;BA.debugLine="ruta = File.DirInternal";
Debug.ShouldStop(33554432);
_ruta = c_principal.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("ruta", _ruta);
 BA.debugLineNum = 283;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then";
Debug.ShouldStop(67108864);
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 = 284;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d";
Debug.ShouldStop(134217728);
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 = 286;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(536870912);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 287;BA.debugLine="fecha=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(1073741824);
__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 = 288;BA.debugLine="B4XPages.MainPage.skmt.Initialize(ruta,\"kmt.db\",";
Debug.ShouldStop(-2147483648);
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 = 289;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count(";
Debug.ShouldStop(1);
__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 = 290;BA.debugLine="b.Position=0";
Debug.ShouldStop(2);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 291;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")";
Debug.ShouldStop(4);
__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))));
 BA.debugLineNum = 292;BA.debugLine="b.Close";
Debug.ShouldStop(8);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 293;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count(";
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 TOTAL_VISITAR from kmt_info3 where gestion = 0"))));
 BA.debugLineNum = 294;BA.debugLine="d.Position=0";
Debug.ShouldStop(32);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 295;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count(";
Debug.ShouldStop(64);
__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_info3"))));
 BA.debugLineNum = 296;BA.debugLine="e.Position=0";
Debug.ShouldStop(128);
__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 297;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count(";
Debug.ShouldStop(256);
__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_info3"))));
 BA.debugLineNum = 298;BA.debugLine="f.Position=0";
Debug.ShouldStop(512);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 299;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")";
Debug.ShouldStop(1024);
__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 = 300;BA.debugLine="f.Close";
Debug.ShouldStop(2048);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 301;BA.debugLine="b_abordo.Left = (Root.Width / 2) - (b_abordo.Widt";
Debug.ShouldStop(4096);
__ref.getField(false,"_b_abordo" /*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,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 302;BA.debugLine="p_principal.Width = Root.Width : p_principal.Heig";
Debug.ShouldStop(8192);
__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 302;BA.debugLine="p_principal.Width = Root.Width : p_principal.Heig";
Debug.ShouldStop(8192);
__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 310;BA.debugLine="If l_ruta.Text = 0 Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { 
 BA.debugLineNum = 311;BA.debugLine="l_ruta.Text = 0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 }else 
{ BA.debugLineNum = 312;BA.debugLine="Else If l_ruta.Text > 0 Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 313;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select disti";
Debug.ShouldStop(16777216);
__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 distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)"))));
 BA.debugLineNum = 314;BA.debugLine="f.Position=0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 315;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")";
Debug.ShouldStop(67108864);
__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 = 316;BA.debugLine="f.Close";
Debug.ShouldStop(134217728);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 }}
;
 BA.debugLineNum = 319;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Or Subs.traeT";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",c_principal._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("VENTA")) || RemoteObject.solveBoolean("=",c_principal._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("ABORDO"))) { 
 BA.debugLineNum = 320;BA.debugLine="If l_ruta.Text <> \"0\" Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { 
 BA.debugLineNum = 321;BA.debugLine="Log(999 & \"|\" & l_ruta.Text & \"|\")";
Debug.ShouldStop(1);
c_principal.__c.runVoidMethod ("LogImpl","03407925",RemoteObject.concat(RemoteObject.createImmutable(999),RemoteObject.createImmutable("|"),__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("|")),0);
 BA.debugLineNum = 322;BA.debugLine="b_abordo.Visible = False";
Debug.ShouldStop(2);
__ref.getField(false,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 };
 }else {
 BA.debugLineNum = 325;BA.debugLine="b_abordo.Visible = False";
Debug.ShouldStop(16);
__ref.getField(false,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 };
 BA.debugLineNum = 332;BA.debugLine="If Cuantos  = 0 Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos" /*RemoteObject*/ ),BA.NumberToString(0))) { 
 BA.debugLineNum = 333;BA.debugLine="L_MONTOD.Text =0";
Debug.ShouldStop(4096);
__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 334;BA.debugLine="l_cuantosc.Text = 0";
Debug.ShouldStop(8192);
__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 335;BA.debugLine="l_cuantosn.Text = 0";
Debug.ShouldStop(16384);
__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 336;BA.debugLine="drop = 0";
Debug.ShouldStop(32768);
__ref.setField ("_drop" /*RemoteObject*/ ,BA.numberCast(double.class, 0));
 BA.debugLineNum = 337;BA.debugLine="l_drop.Text = 0";
Debug.ShouldStop(65536);
__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 338;BA.debugLine="efectiva = 0";
Debug.ShouldStop(131072);
__ref.setField ("_efectiva" /*RemoteObject*/ ,BA.numberCast(double.class, 0));
 BA.debugLineNum = 339;BA.debugLine="l_efectiva.text =0";
Debug.ShouldStop(262144);
__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 340;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")";
Debug.ShouldStop(524288);
__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 = 341;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")";
Debug.ShouldStop(1048576);
__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 = 343;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select  sum(";
Debug.ShouldStop(4194304);
__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 "))));
 BA.debugLineNum = 344;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count";
Debug.ShouldStop(8388608);
__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(distinct NV_CLIENTE) as CUANTOS from noventa"))));
 BA.debugLineNum = 346;BA.debugLine="c.Position=0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 347;BA.debugLine="b.Position=0";
Debug.ShouldStop(67108864);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 348;BA.debugLine="L_MONTOD.Text = NumberFormat2(c.GetDouble(\"MONTO";
Debug.ShouldStop(134217728);
__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("MONTO_DIA")))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))));
 BA.debugLineNum = 349;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")";
Debug.ShouldStop(268435456);
__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 = 350;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")";
Debug.ShouldStop(536870912);
__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 = 351;BA.debugLine="drop = c.GetString(\"MONTO_DIA\") / c.GetString(\"C";
Debug.ShouldStop(1073741824);
__ref.setField ("_drop" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA"))))}, "/",0, 0));
 BA.debugLineNum = 352;BA.debugLine="l_drop.Text = Round2(drop,2)";
Debug.ShouldStop(-2147483648);
__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 = 353;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt";
Debug.ShouldStop(1);
__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 = 354;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)";
Debug.ShouldStop(2);
__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 = 355;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")";
Debug.ShouldStop(4);
__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 = 356;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")";
Debug.ShouldStop(8);
__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 = 357;BA.debugLine="b.Close";
Debug.ShouldStop(16);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 358;BA.debugLine="c.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 360;BA.debugLine="d.Close";
Debug.ShouldStop(128);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 361;BA.debugLine="e.Close";
Debug.ShouldStop(256);
__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 362;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop";
Debug.ShouldStop(512);
c_principal.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_principal._firebasemessaging.getObject())),(Object)(RemoteObject.createImmutable("SubscribeToTopics")));
 BA.debugLineNum = 364;BA.debugLine="Private s As Cursor = B4XPages.MainPage.skmt.Exec";
Debug.ShouldStop(2048);
_s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s = 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 count(RS_RUTA) as cuenta, RS_RUTA FROM RUTA_SUPLENCIA"))));Debug.locals.put("s", _s);Debug.locals.put("s", _s);
 BA.debugLineNum = 365;BA.debugLine="s.Position = 0";
Debug.ShouldStop(4096);
_s.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 366;BA.debugLine="If s.GetString(\"cuenta\") = 0 Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuenta"))),BA.NumberToString(0))) { 
 BA.debugLineNum = 367;BA.debugLine="Label22.Visible = False";
Debug.ShouldStop(16384);
__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 368;BA.debugLine="l_rutasuplencia.Visible = False";
Debug.ShouldStop(32768);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 }else 
{ BA.debugLineNum = 369;BA.debugLine="Else If s.GetString(\"cuenta\") > 0 Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuenta")))),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 370;BA.debugLine="Label22.Visible = True";
Debug.ShouldStop(131072);
__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 371;BA.debugLine="l_rutasuplencia.Visible = True";
Debug.ShouldStop(262144);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 372;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")";
Debug.ShouldStop(524288);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RS_RUTA")))));
 }}
;
 BA.debugLineNum = 374;BA.debugLine="p_transparenteActualizacion.Width = Root.Width";
Debug.ShouldStop(2097152);
__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 375;BA.debugLine="p_transparenteActualizacion.Height = Root.Height";
Debug.ShouldStop(4194304);
__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 376;BA.debugLine="Subs.centraPanel(p_forzarActualizacion, p_transpa";
Debug.ShouldStop(8388608);
c_principal._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_forzaractualizacion" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 378;BA.debugLine="End Sub";
Debug.ShouldStop(33554432);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _btn_ubicar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Btn_Ubicar_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3764);
if (RapidSub.canDelegate("btn_ubicar_click")) { return __ref.runUserSub(false, "c_principal","btn_ubicar_click", __ref);}
 BA.debugLineNum = 3764;BA.debugLine="Sub Btn_Ubicar_Click";
Debug.ShouldStop(524288);
 BA.debugLineNum = 3765;BA.debugLine="StartActivity(MAPA_RUTAS)";
Debug.ShouldStop(1048576);
c_principal.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_principal._mapa_rutas.getObject())));
 BA.debugLineNum = 3766;BA.debugLine="End Sub";
Debug.ShouldStop(2097152);
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",3,__ref.getField(false, "ba"),__ref,2950);
if (RapidSub.canDelegate("busca_click")) { return __ref.runUserSub(false, "c_principal","busca_click", __ref);}
 BA.debugLineNum = 2950;BA.debugLine="Sub BUSCA_Click";
Debug.ShouldStop(32);
 BA.debugLineNum = 2951;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")";
Debug.ShouldStop(64);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("TicketsDia")));
 BA.debugLineNum = 2952;BA.debugLine="End Sub";
Debug.ShouldStop(128);
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",3,__ref.getField(false, "ba"),__ref,3293);
if (RapidSub.canDelegate("carga_click")) { return __ref.runUserSub(false, "c_principal","carga_click", __ref);}
 BA.debugLineNum = 3293;BA.debugLine="Sub CARGA_Click";
Debug.ShouldStop(268435456);
 BA.debugLineNum = 3294;BA.debugLine="B4XPages.ShowPage(\"Productos\")";
Debug.ShouldStop(536870912);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos")));
 BA.debugLineNum = 3295;BA.debugLine="End Sub";
Debug.ShouldStop(1073741824);
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",3,__ref.getField(false, "ba"),__ref,1138);
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 _fecha5 = null;
RemoteObject _dia = RemoteObject.createImmutable("");
RemoteObject _mescom = RemoteObject.createImmutable("");
RemoteObject _mescom2 = RemoteObject.createImmutable("");
RemoteObject _diacom = RemoteObject.createImmutable("");
RemoteObject _diacom2 = RemoteObject.createImmutable("");
RemoteObject _dia2 = RemoteObject.createImmutable("");
RemoteObject _i = RemoteObject.createImmutable(0);
RemoteObject _sup = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _i2 = RemoteObject.createImmutable(0);
 BA.debugLineNum = 1138;BA.debugLine="Sub cargar_Click";
Debug.ShouldStop(131072);
 BA.debugLineNum = 1140;BA.debugLine="Dim pedidodiaanterior As Boolean = False";
Debug.ShouldStop(524288);
_pedidodiaanterior = c_principal.__c.getField(true,"False");Debug.locals.put("pedidodiaanterior", _pedidodiaanterior);Debug.locals.put("pedidodiaanterior", _pedidodiaanterior);
 BA.debugLineNum = 1141;BA.debugLine="Dim cp As Cursor = B4XPages.MainPage.skmt.ExecQue";
Debug.ShouldStop(1048576);
_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 = 1142;BA.debugLine="If cp.RowCount > 0 Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean(">",_cp.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1143;BA.debugLine="cp.Position = 0";
Debug.ShouldStop(4194304);
_cp.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1144;BA.debugLine="Private fecha As String = cp.GetString(\"PE_FECHA";
Debug.ShouldStop(8388608);
c_principal._fecha = _cp.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")));__ref.setField("_fecha",c_principal._fecha);
 BA.debugLineNum = 1145;BA.debugLine="Dim fecha2() As String = Regex.Split(\"/\",fecha)";
Debug.ShouldStop(16777216);
_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 = 1146;BA.debugLine="Dim fecha5() As String = Regex.Split(\"\\:\",fecha2";
Debug.ShouldStop(33554432);
_fecha5 = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\:")),(Object)(_fecha2.getArrayElement(true,BA.numberCast(int.class, 2))));Debug.locals.put("fecha5", _fecha5);Debug.locals.put("fecha5", _fecha5);
 BA.debugLineNum = 1147;BA.debugLine="Dim dia As String = fecha5(0).SubString2(0,4)&fe";
Debug.ShouldStop(67108864);
_dia = RemoteObject.concat(_fecha5.getArrayElement(true,BA.numberCast(int.class, 0)).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 4))),_fecha2.getArrayElement(true,BA.numberCast(int.class, 0)),_fecha2.getArrayElement(true,BA.numberCast(int.class, 1)));Debug.locals.put("dia", _dia);Debug.locals.put("dia", _dia);
 BA.debugLineNum = 1148;BA.debugLine="Log(fecha5(0))";
Debug.ShouldStop(134217728);
c_principal.__c.runVoidMethod ("LogImpl","03670026",_fecha5.getArrayElement(true,BA.numberCast(int.class, 0)),0);
 BA.debugLineNum = 1149;BA.debugLine="Log(dia)";
Debug.ShouldStop(268435456);
c_principal.__c.runVoidMethod ("LogImpl","03670027",_dia,0);
 BA.debugLineNum = 1150;BA.debugLine="Dim mescom As String = DateTime.GetMonth(DateTim";
Debug.ShouldStop(536870912);
_mescom = BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"GetMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));Debug.locals.put("mescom", _mescom);Debug.locals.put("mescom", _mescom);
 BA.debugLineNum = 1151;BA.debugLine="Dim mescom2 As String";
Debug.ShouldStop(1073741824);
_mescom2 = RemoteObject.createImmutable("");Debug.locals.put("mescom2", _mescom2);
 BA.debugLineNum = 1152;BA.debugLine="If mescom.Length = 1 Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",_mescom.runMethod(true,"length"),BA.numberCast(double.class, 1))) { 
 BA.debugLineNum = 1153;BA.debugLine="mescom2 = \"0\"&DateTime.GetMonth(DateTime.Now)";
Debug.ShouldStop(1);
_mescom2 = RemoteObject.concat(RemoteObject.createImmutable("0"),c_principal.__c.getField(false,"DateTime").runMethod(true,"GetMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));Debug.locals.put("mescom2", _mescom2);
 }else {
 BA.debugLineNum = 1155;BA.debugLine="mescom2 = DateTime.GetMonth(DateTime.Now)";
Debug.ShouldStop(4);
_mescom2 = BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"GetMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));Debug.locals.put("mescom2", _mescom2);
 };
 BA.debugLineNum = 1158;BA.debugLine="Dim diacom As String = DateTime.GetDayOfMonth(Da";
Debug.ShouldStop(32);
_diacom = BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"GetDayOfMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));Debug.locals.put("diacom", _diacom);Debug.locals.put("diacom", _diacom);
 BA.debugLineNum = 1159;BA.debugLine="Log(DateTime.GetMonth(DateTime.Now))";
Debug.ShouldStop(64);
c_principal.__c.runVoidMethod ("LogImpl","03670037",BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"GetMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))),0);
 BA.debugLineNum = 1160;BA.debugLine="Dim diacom2 As String";
Debug.ShouldStop(128);
_diacom2 = RemoteObject.createImmutable("");Debug.locals.put("diacom2", _diacom2);
 BA.debugLineNum = 1161;BA.debugLine="If diacom.Length = 1 Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_diacom.runMethod(true,"length"),BA.numberCast(double.class, 1))) { 
 BA.debugLineNum = 1162;BA.debugLine="diacom2 = \"0\"&DateTime.GetDayOfMonth(DateTime.N";
Debug.ShouldStop(512);
_diacom2 = RemoteObject.concat(RemoteObject.createImmutable("0"),c_principal.__c.getField(false,"DateTime").runMethod(true,"GetDayOfMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));Debug.locals.put("diacom2", _diacom2);
 }else {
 BA.debugLineNum = 1164;BA.debugLine="diacom2 = DateTime.GetDayOfMonth(DateTime.Now)";
Debug.ShouldStop(2048);
_diacom2 = BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"GetDayOfMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));Debug.locals.put("diacom2", _diacom2);
 };
 BA.debugLineNum = 1168;BA.debugLine="Dim dia2 As String = DateTime.GetYear(DateTime.N";
Debug.ShouldStop(32768);
_dia2 = RemoteObject.concat(c_principal.__c.getField(false,"DateTime").runMethod(true,"GetYear",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))),_mescom2,_diacom2);Debug.locals.put("dia2", _dia2);Debug.locals.put("dia2", _dia2);
 BA.debugLineNum = 1169;BA.debugLine="Log(dia & \" , \" & dia2)";
Debug.ShouldStop(65536);
c_principal.__c.runVoidMethod ("LogImpl","03670047",RemoteObject.concat(_dia,RemoteObject.createImmutable(" , "),_dia2),0);
 BA.debugLineNum = 1170;BA.debugLine="Log(\"SI PASO\")";
Debug.ShouldStop(131072);
c_principal.__c.runVoidMethod ("LogImpl","03670048",RemoteObject.createImmutable("SI PASO"),0);
 BA.debugLineNum = 1171;BA.debugLine="If dia < dia2 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _dia),BA.numberCast(double.class, _dia2))) { 
 BA.debugLineNum = 1172;BA.debugLine="pedidodiaanterior = True";
Debug.ShouldStop(524288);
_pedidodiaanterior = c_principal.__c.getField(true,"True");Debug.locals.put("pedidodiaanterior", _pedidodiaanterior);
 };
 };
 BA.debugLineNum = 1175;BA.debugLine="If Not (pedidodiaanterior) Then";
Debug.ShouldStop(4194304);
if (c_principal.__c.runMethod(true,"Not",(Object)(_pedidodiaanterior)).<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 1178;BA.debugLine="Private i As Int = Regex.Replace(\"[^0-9.]\", e_ru";
Debug.ShouldStop(33554432);
_i = BA.numberCast(int.class, c_principal.__c.getField(false,"Regex").runMethod(true,"Replace",(Object)(BA.ObjectToString("[^0-9.]")),(Object)(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(RemoteObject.createImmutable(""))));Debug.locals.put("i", _i);Debug.locals.put("i", _i);
 BA.debugLineNum = 1179;BA.debugLine="e_ruta.text = i";
Debug.ShouldStop(67108864);
__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_i));
 BA.debugLineNum = 1181;BA.debugLine="Private sup As Cursor = Starter.skmt.ExecQuery(\"";
Debug.ShouldStop(268435456);
_sup = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_sup = 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 RS_RUTA FROM RUTA_SUPLENCIA"))));Debug.locals.put("sup", _sup);Debug.locals.put("sup", _sup);
 BA.debugLineNum = 1182;BA.debugLine="If E_RUTA2.Visible = False And E_RUTA2.text = \"\"";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("")) && RemoteObject.solveBoolean(">",_sup.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1183;BA.debugLine="sup.Position = 0";
Debug.ShouldStop(1073741824);
_sup.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1184;BA.debugLine="E_RUTA2.text = sup.GetString(\"RS_RUTA\")";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_sup.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RS_RUTA")))));
 BA.debugLineNum = 1185;BA.debugLine="E_RUTA2.Visible = True";
Debug.ShouldStop(1);
__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 };
 BA.debugLineNum = 1188;BA.debugLine="If E_RUTA2.Visible = True Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"True"))) { 
 BA.debugLineNum = 1189;BA.debugLine="Private i2 As Int = Regex.Replace(\"[^0-9.]\", E_";
Debug.ShouldStop(16);
_i2 = BA.numberCast(int.class, c_principal.__c.getField(false,"Regex").runMethod(true,"Replace",(Object)(BA.ObjectToString("[^0-9.]")),(Object)(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(RemoteObject.createImmutable(""))));Debug.locals.put("i2", _i2);Debug.locals.put("i2", _i2);
 BA.debugLineNum = 1190;BA.debugLine="E_RUTA2.text = i2";
Debug.ShouldStop(32);
__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_i2));
 BA.debugLineNum = 1191;BA.debugLine="Rut_Rep = e_ruta.Text & \" \" & E_RUTA2.Text";
Debug.ShouldStop(64);
__ref.setField ("_rut_rep" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable(" "),__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")));
 }else {
 BA.debugLineNum = 1193;BA.debugLine="Rut_Rep = e_ruta.Text";
Debug.ShouldStop(256);
__ref.setField ("_rut_rep" /*RemoteObject*/ ,__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"));
 };
 BA.debugLineNum = 1195;BA.debugLine="Log(Rut_Rep)";
Debug.ShouldStop(1024);
c_principal.__c.runVoidMethod ("LogImpl","03670073",__ref.getField(true,"_rut_rep" /*RemoteObject*/ ),0);
 BA.debugLineNum = 1196;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS";
Debug.ShouldStop(2048);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))})))));
 BA.debugLineNum = 1197;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
Debug.ShouldStop(4096);
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("String",new int[] {1},new Object[] {RemoteObject.createImmutable("CARGA_DIA")})))));
 BA.debugLineNum = 1198;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
Debug.ShouldStop(8192);
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("String",new int[] {1},new Object[] {RemoteObject.createImmutable("pasword")})))));
 BA.debugLineNum = 1199;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
Debug.ShouldStop(16384);
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("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")})))));
 BA.debugLineNum = 1200;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
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("String",new int[] {1},new Object[] {RemoteObject.createImmutable("LATITUD")})))));
 BA.debugLineNum = 1201;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
Debug.ShouldStop(65536);
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("String",new int[] {1},new Object[] {RemoteObject.createImmutable("GEOCERCA")})))));
 BA.debugLineNum = 1202;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
Debug.ShouldStop(131072);
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("String",new int[] {1},new Object[] {RemoteObject.createImmutable("LONGITUD")})))));
 BA.debugLineNum = 1203;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS";
Debug.ShouldStop(262144);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))})))));
 BA.debugLineNum = 1204;BA.debugLine="CARGA = \"CARGAR\"";
Debug.ShouldStop(524288);
__ref.setField ("_carga" /*RemoteObject*/ ,BA.ObjectToString("CARGAR"));
 BA.debugLineNum = 1206;BA.debugLine="L_P_1.Visible = True";
Debug.ShouldStop(2097152);
__ref.getField(false,"_l_p_1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1207;BA.debugLine="S_CC.Visible = True";
Debug.ShouldStop(4194304);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1208;BA.debugLine="Btn_Ubicar.Visible=False";
Debug.ShouldStop(8388608);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1210;BA.debugLine="p_principal.Visible = False";
Debug.ShouldStop(33554432);
__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1211;BA.debugLine="Subs.panelVisible(P1, 0, 0)";
Debug.ShouldStop(67108864);
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 = 1212;BA.debugLine="Subs.centraPanel(P1, Root.Width)";
Debug.ShouldStop(134217728);
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 = 1213;BA.debugLine="Subs.centraPanelV(P1, Root.Height)";
Debug.ShouldStop(268435456);
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 = 1214;BA.debugLine="Label4.Visible = False";
Debug.ShouldStop(536870912);
__ref.getField(false,"_label4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1215;BA.debugLine="l_ruta.Visible = False";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1216;BA.debugLine="Label22.Visible = False";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1217;BA.debugLine="l_rutasuplencia.Visible = False";
Debug.ShouldStop(1);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1218;BA.debugLine="l_visitartotal.Visible = False";
Debug.ShouldStop(2);
__ref.getField(false,"_l_visitartotal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1219;BA.debugLine="de.Visible = False";
Debug.ShouldStop(4);
__ref.getField(false,"_de" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1220;BA.debugLine="l_faltan.Visible = False";
Debug.ShouldStop(8);
__ref.getField(false,"_l_faltan" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1221;BA.debugLine="l_visitas.Visible = False";
Debug.ShouldStop(16);
__ref.getField(false,"_l_visitas" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1223;BA.debugLine="NUEVO.Visible =False";
Debug.ShouldStop(64);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1224;BA.debugLine="BUSCA.Visible=False";
Debug.ShouldStop(128);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1225;BA.debugLine="connecta.Visible=False";
Debug.ShouldStop(256);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1226;BA.debugLine="L_P_3.Visible = True";
Debug.ShouldStop(512);
__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1227;BA.debugLine="S_CH.Visible = True";
Debug.ShouldStop(1024);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1228;BA.debugLine="PB1.Visible = True";
Debug.ShouldStop(2048);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1229;BA.debugLine="Resumen.Visible= False";
Debug.ShouldStop(4096);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1231;BA.debugLine="L_P_1.Text = \"Catalogo de Clientes\"";
Debug.ShouldStop(16384);
__ref.getField(false,"_l_p_1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Catalogo de Clientes"));
 BA.debugLineNum = 1232;BA.debugLine="L_P_2.Text = \"Catalogos de Productos\"";
Debug.ShouldStop(32768);
__ref.getField(false,"_l_p_2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Catalogos de Productos"));
 BA.debugLineNum = 1233;BA.debugLine="L_P_3.Text = \"Catalogos Historicos\"";
Debug.ShouldStop(65536);
__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Catalogos Historicos"));
 BA.debugLineNum = 1234;BA.debugLine="S_CC.Text = \"EN PROCESO\"";
Debug.ShouldStop(131072);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO"));
 BA.debugLineNum = 1235;BA.debugLine="S_CH.Text = \"EN PROCESO\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO"));
 BA.debugLineNum = 1236;BA.debugLine="S_CP.Text = \"EN PROCESO\"";
Debug.ShouldStop(524288);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO"));
 BA.debugLineNum = 1237;BA.debugLine="PB1.Progress = 0";
Debug.ShouldStop(1048576);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1238;BA.debugLine="PB2.Progress = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1239;BA.debugLine="EJECUTANDO = 1";
Debug.ShouldStop(4194304);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1242;BA.debugLine="TOPE = 0";
Debug.ShouldStop(33554432);
__ref.setField ("_tope" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 1245;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 kmt_info3")));
 BA.debugLineNum = 1246;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 PROMO_ESP")));
 BA.debugLineNum = 1247;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 cod_result")));
 BA.debugLineNum = 1248;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 ABONOSP")));
 BA.debugLineNum = 1249;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 hist_gest")));
 BA.debugLineNum = 1250;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
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 cat_gunaprod")));
 BA.debugLineNum = 1251;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 cat_gunaprod2")));
 BA.debugLineNum = 1252;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 CAT_DETALLES_PAQ")));
 BA.debugLineNum = 1253;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 telefonos")));
 BA.debugLineNum = 1254;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_VENTAS")));
 BA.debugLineNum = 1255;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
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 HIST_PROMOS")));
 BA.debugLineNum = 1256;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 HIST_CLIENTE_CANT_PROMOS")));
 BA.debugLineNum = 1257;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
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 PROMOS_COMP")));
 BA.debugLineNum = 1258;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
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 CAT_VERIFICACION")));
 BA.debugLineNum = 1259;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
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_PROMOS_DESCUENTOS")));
 BA.debugLineNum = 1260;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
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 MARCAS_RUTAS")));
 BA.debugLineNum = 1261;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 HIST_STAY_STORE")));
 BA.debugLineNum = 1262;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 HIST_GEOCERCA")));
 BA.debugLineNum = 1263;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 HIST_MARCAS_CUOTAS")));
 BA.debugLineNum = 1264;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 HIST_ENCUESTA_CLIENTE")));
 BA.debugLineNum = 1265;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 CAT_ENCUESTA_PREGUNTA")));
 BA.debugLineNum = 1266;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 CAT_CATCLIENTESTODOS")));
 BA.debugLineNum = 1267;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 hist_ventastodos")));
 BA.debugLineNum = 1269;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"select co";
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,"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 = 1270;BA.debugLine="c.Position = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1271;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
Debug.ShouldStop(4194304);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss"));
 BA.debugLineNum = 1273;BA.debugLine="If c.GetString(\"HoraIngreso\") > 0 Then";
Debug.ShouldStop(16777216);
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 = 1274;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update ca";
Debug.ShouldStop(33554432);
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 = 1276;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN";
Debug.ShouldStop(134217728);
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 = 1278;BA.debugLine="c.Close";
Debug.ShouldStop(536870912);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1279;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
Debug.ShouldStop(1073741824);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss"));
 BA.debugLineNum = 1280;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar";
Debug.ShouldStop(-2147483648);
__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 = 1281;BA.debugLine="c.Position = 0";
Debug.ShouldStop(1);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1282;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(2);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 1283;BA.debugLine="c.Close";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1285;BA.debugLine="Dim sDate,sTime As String";
Debug.ShouldStop(16);
c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate);
c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime);
 BA.debugLineNum = 1286;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(32);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 1287;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(64);
__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 = 1288;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(128);
__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 = 1289;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1290;BA.debugLine="cmd.Name = \"select_planLealtad_GUNA\"";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_planLealtad_GUNA"));
 BA.debugLineNum = 1291;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
Debug.ShouldStop(1024);
__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 = 1292;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(2048);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("planLealtad"))));
 BA.debugLineNum = 1294;BA.debugLine="Subs.guardaVariable(\"RUTA\", e_ruta.text)";
Debug.ShouldStop(8192);
c_principal._subs.runVoidMethod ("_guardavariable" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("RUTA")),(Object)(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")));
 BA.debugLineNum = 1296;BA.debugLine="Dim P As PhoneId";
Debug.ShouldStop(32768);
c_principal._p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.PhoneId");__ref.setField("_p",c_principal._p);
 BA.debugLineNum = 1297;BA.debugLine="imei = \"\"";
Debug.ShouldStop(65536);
__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString(""));
 BA.debugLineNum = 1298;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1299;BA.debugLine="cmd.Name =\"insert_drop_GV2_3\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_GV2_3"));
 BA.debugLineNum = 1300;BA.debugLine="cmd.Parameters = Array As Object(usuario,e_ruta.";
Debug.ShouldStop(524288);
__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 = 1301;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
Debug.ShouldStop(1048576);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_drop"))));
 BA.debugLineNum = 1303;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1304;BA.debugLine="cmd.Name = \"select_TipoVenta\"";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_TipoVenta"));
 BA.debugLineNum = 1305;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
Debug.ShouldStop(16777216);
__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 = 1306;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(33554432);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("tipoVenta"))));
 BA.debugLineNum = 1308;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(134217728);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1309;BA.debugLine="cmd.Name = \"select_cat_GIRO_GUNA\"";
Debug.ShouldStop(268435456);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_GIRO_GUNA"));
 BA.debugLineNum = 1310;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(536870912);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1312;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1313;BA.debugLine="cmd.Name = \"select_coments_GUNA\"";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_coments_GUNA"));
 BA.debugLineNum = 1314;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
Debug.ShouldStop(2);
__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 = 1315;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(4);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("coments"))));
 BA.debugLineNum = 1322;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1323;BA.debugLine="cmd.Name = \"traeFechaFotosGuna\"";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("traeFechaFotosGuna"));
 BA.debugLineNum = 1324;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 = 1325;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(4096);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("traeFechaFotosGuna"))));
 BA.debugLineNum = 1327;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16384);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1328;BA.debugLine="cmd.Name = \"traecodigosGUNA\"";
Debug.ShouldStop(32768);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("traecodigosGUNA"));
 BA.debugLineNum = 1329;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(65536);
__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 = 1330;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(131072);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("traecodigos"))));
 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_objetivosbat_GUNA_VN\"";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_objetivosbat_GUNA_VN"));
 BA.debugLineNum = 1334;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
Debug.ShouldStop(2097152);
__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 = 1335;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(4194304);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("objetivos"))));
 BA.debugLineNum = 1338;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1339;BA.debugLine="cmd.Name = \"select_cat_gunaprod_GV2\"";
Debug.ShouldStop(67108864);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod_GV2"));
 BA.debugLineNum = 1340;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(134217728);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1341;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(268435456);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1343;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1344;BA.debugLine="cmd.Name = \"Select_promo_descuento_guna\"";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("Select_promo_descuento_guna"));
 BA.debugLineNum = 1345;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1346;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(2);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("promodesp"))));
 BA.debugLineNum = 1348;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(8);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1349;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_GV2\"";
Debug.ShouldStop(16);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod2_GV2"));
 BA.debugLineNum = 1350;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
Debug.ShouldStop(32);
__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 = 1351;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(64);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1353;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1354;BA.debugLine="cmd.Name = \"select_abonosp_GUNA_pre\"";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_abonosp_GUNA_pre"));
 BA.debugLineNum = 1355;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1356;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(2048);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("select_abonosp"))));
 BA.debugLineNum = 1358;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(8192);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1359;BA.debugLine="cmd.Name = \"select_HIST_ESPECIAL_GUNA\"";
Debug.ShouldStop(16384);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_HIST_ESPECIAL_GUNA"));
 BA.debugLineNum = 1361;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(65536);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("histespecial"))));
 BA.debugLineNum = 1368;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1369;BA.debugLine="cmd.Name = \"select_cat_paquetes_GV6\"";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_paquetes_GV6"));
 BA.debugLineNum = 1370;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1371;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(67108864);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1373;BA.debugLine="If ALMACEN = 32 Then 'Or ALMACEN = 6";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(32))) { 
 BA.debugLineNum = 1375;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1376;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA\"";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_promoesp_GUNA"));
 BA.debugLineNum = 1377;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1378;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(2);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("promoesp"))));
 };
 BA.debugLineNum = 1382;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(87)) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(6))) { 
 BA.debugLineNum = 1384;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(128);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1385;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA2\"";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_promoesp_GUNA2"));
 BA.debugLineNum = 1386;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 = 1387;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(1024);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("promoesp"))));
 };
 BA.debugLineNum = 1391;BA.debugLine="If ALMACEN = 88 Or ALMACEN = 6 Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(88)) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.NumberToString(6))) { 
 BA.debugLineNum = 1393;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(65536);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1394;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA3\"";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_promoesp_GUNA3"));
 BA.debugLineNum = 1395;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1396;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(524288);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("promoesp"))));
 };
 BA.debugLineNum = 1400;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1401;BA.debugLine="cmd.Name = \"select_cat_paquetess_GV2\"";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_paquetess_GV2"));
 BA.debugLineNum = 1402;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1403;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(67108864);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1405;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(268435456);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1406;BA.debugLine="cmd.Name = \"select_cat_detallepa_GV2\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_detallepa_GV2"));
 BA.debugLineNum = 1407;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1408;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(-2147483648);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1410;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(2);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1411;BA.debugLine="cmd.Name = \"select_cat_clientes2_guna_GV2\" '####";
Debug.ShouldStop(4);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_clientes2_guna_GV2"));
 BA.debugLineNum = 1412;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(8);
__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 = 1413;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(16);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1415;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(64);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1416;BA.debugLine="cmd.Name = \"select_preventa_futura\"";
Debug.ShouldStop(128);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_preventa_futura"));
 BA.debugLineNum = 1417;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(256);
__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 = 1418;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(512);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("KMT_VENTAFUTURA"))));
 BA.debugLineNum = 1420;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(2048);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1421;BA.debugLine="cmd.Name = \"select_hist_datos_GV2_3\"";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_datos_GV2_3"));
 BA.debugLineNum = 1422;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(8192);
__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 = 1423;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(16384);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1425;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(65536);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1426;BA.debugLine="cmd.Name = \"select_hist_promos_GV2\"";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_promos_GV2"));
 BA.debugLineNum = 1427;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(262144);
__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 = 1428;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(524288);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1430;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(2097152);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1431;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_GV2\"";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_cliente_promos_GV2"));
 BA.debugLineNum = 1432;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(8388608);
__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 = 1433;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(16777216);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1435;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(67108864);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1436;BA.debugLine="cmd.Name = \"select_HIST_MARCAS_CUOTAS\"";
Debug.ShouldStop(134217728);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_HIST_MARCAS_CUOTAS"));
 BA.debugLineNum = 1437;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut";
Debug.ShouldStop(268435456);
__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 = 1438;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(536870912);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("HIST_MARCAS_CUOTAS"))));
 BA.debugLineNum = 1440;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1441;BA.debugLine="cmd.Name = \"select_cat_encuesta_p_GUNA\"";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_encuesta_p_GUNA"));
 BA.debugLineNum = 1442;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN,e_ruta";
Debug.ShouldStop(2);
__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 = 1443;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(4);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("carga_encuesta"))));
 BA.debugLineNum = 1445;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1446;BA.debugLine="cmd.Name = \"select_cat_clientes_guna_todos\"";
Debug.ShouldStop(32);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_clientes_guna_todos"));
 BA.debugLineNum = 1447;BA.debugLine="cmd.Parameters = Array As Object( e_ruta.text,AL";
Debug.ShouldStop(64);
__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 = 1448;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(128);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("kmt_CAT_CATCLIENTESTODOS"))));
 BA.debugLineNum = 1450;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1451;BA.debugLine="cmd.Name = \"select_hist_ventastodos_guna\"";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_ventastodos_guna"));
 BA.debugLineNum = 1452;BA.debugLine="cmd.Parameters = Array As Object( e_ruta.text,AL";
Debug.ShouldStop(2048);
__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 = 1453;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(4096);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_ventastodos"))));
 BA.debugLineNum = 1460;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1461;BA.debugLine="cmd.Name = \"SELECT_HIST_PRODPROM_GUNA\"";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("SELECT_HIST_PRODPROM_GUNA"));
 BA.debugLineNum = 1462;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
Debug.ShouldStop(2097152);
__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 = 1463;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(4194304);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("HIST_PROM"))));
 BA.debugLineNum = 1467;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(67108864);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1468;BA.debugLine="cmd.Name = \"selectPromo2265JulAgo_Guna\"";
Debug.ShouldStop(134217728);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("selectPromo2265JulAgo_Guna"));
 BA.debugLineNum = 1469;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(268435456);
__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 = 1470;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(536870912);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_pro2265"))));
 BA.debugLineNum = 1477;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1478;BA.debugLine="cmd.Name = \"selectPromo3054Jul-Sep_Guna\"";
Debug.ShouldStop(32);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("selectPromo3054Jul-Sep_Guna"));
 BA.debugLineNum = 1479;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(64);
__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 = 1480;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(128);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_pro3054"))));
 BA.debugLineNum = 1484;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(2048);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1485;BA.debugLine="cmd.Name = \"selectPromo3055Jul-Sep_Guna\"";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("selectPromo3055Jul-Sep_Guna"));
 BA.debugLineNum = 1486;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(8192);
__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 = 1487;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(16384);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_pro3055"))));
 BA.debugLineNum = 1490;BA.debugLine="If E_RUTA2.text <> \"\" Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { 
 BA.debugLineNum = 1491;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN";
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 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 = 1492;BA.debugLine="E_RUTA2.Visible = False";
Debug.ShouldStop(524288);
__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1493;BA.debugLine="p_ruta2.Visible = False";
Debug.ShouldStop(1048576);
__ref.getField(false,"_p_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1494;BA.debugLine="p_somvra_2.Visible = False";
Debug.ShouldStop(2097152);
__ref.getField(false,"_p_somvra_2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1496;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1497;BA.debugLine="cmd.Name = \"select_cat_clientes2_guna_GV2\" '###";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_clientes2_guna_GV2"));
 BA.debugLineNum = 1498;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
Debug.ShouldStop(33554432);
__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 = 1499;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(67108864);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("kmt_datos2"))));
 BA.debugLineNum = 1501;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(268435456);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1502;BA.debugLine="cmd.Name = \"select_hist_datos_GV2_3\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_datos_GV2_3"));
 BA.debugLineNum = 1503;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1504;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(-2147483648);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1506;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(2);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1507;BA.debugLine="cmd.Name = \"select_hist_promos_GV2\"";
Debug.ShouldStop(4);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_promos_GV2"));
 BA.debugLineNum = 1508;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
Debug.ShouldStop(8);
__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 = 1509;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(16);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1511;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(64);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1512;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_GV2\"";
Debug.ShouldStop(128);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_cliente_promos_GV2"));
 BA.debugLineNum = 1513;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
Debug.ShouldStop(256);
__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 = 1514;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(512);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1516;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(2048);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1517;BA.debugLine="cmd.Name = \"SELECT_HIST_PRODPROM_GUNA\"";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("SELECT_HIST_PRODPROM_GUNA"));
 BA.debugLineNum = 1518;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,E_RUTA";
Debug.ShouldStop(8192);
__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_ruta2" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 1519;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(16384);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("HIST_PROM"))));
 };
 BA.debugLineNum = 1522;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1523;BA.debugLine="cmd.Name = \"select_promo_comp_GV2\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_promo_comp_GV2"));
 BA.debugLineNum = 1524;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1525;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(1048576);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1527;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1528;BA.debugLine="cmd.Name = \"select_coordenadas_GUNA\"";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_coordenadas_GUNA"));
 BA.debugLineNum = 1529;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 = 1530;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(33554432);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("coordenadas"))));
 BA.debugLineNum = 1532;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(134217728);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1533;BA.debugLine="cmd.Name = \"select_PASS_GUNA\"";
Debug.ShouldStop(268435456);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_PASS_GUNA"));
 BA.debugLineNum = 1534;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1535;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(1073741824);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("password"))));
 BA.debugLineNum = 1542;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(32);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1543;BA.debugLine="cmd.Name = \"select_fecha\"";
Debug.ShouldStop(64);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_fecha"));
 BA.debugLineNum = 1544;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(128);
__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 = 1545;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(256);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1552;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(32768);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1553;BA.debugLine="cmd.Name = \"select_marcas_rutas\"";
Debug.ShouldStop(65536);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_marcas_rutas"));
 BA.debugLineNum = 1554;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut";
Debug.ShouldStop(131072);
__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 = 1555;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(262144);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1557;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1558;BA.debugLine="cmd.Name = \"select_CUEST2_GV2\"";
Debug.ShouldStop(2097152);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_CUEST2_GV2"));
 BA.debugLineNum = 1559;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 = 1560;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(8388608);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("CUESTIONARIO"))));
 BA.debugLineNum = 1573;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1574;BA.debugLine="cmd.Name = \"select_comis_cedex\"";
Debug.ShouldStop(32);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_comis_cedex"));
 BA.debugLineNum = 1575;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN,e_ruta";
Debug.ShouldStop(64);
__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 = 1576;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(128);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("COMISIONES"))));
 BA.debugLineNum = 1578;BA.debugLine="cargar.Visible = False";
Debug.ShouldStop(512);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1579;BA.debugLine="Subir.Visible = False";
Debug.ShouldStop(1024);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1580;BA.debugLine="inv.Visible = False";
Debug.ShouldStop(2048);
__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1581;BA.debugLine="E_RUTA2.Visible = False";
Debug.ShouldStop(4096);
__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1582;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS";
Debug.ShouldStop(8192);
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 = 1585;BA.debugLine="Log(\"XXXX\")";
Debug.ShouldStop(65536);
c_principal.__c.runVoidMethod ("LogImpl","03670463",RemoteObject.createImmutable("XXXX"),0);
 BA.debugLineNum = 1586;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten";
Debug.ShouldStop(131072);
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 = 1588;BA.debugLine="End Sub";
Debug.ShouldStop(524288);
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",3,__ref.getField(false, "ba"),__ref,3999);
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 = 3999;BA.debugLine="Sub checaPedido";
Debug.ShouldStop(1073741824);
 BA.debugLineNum = 4000;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL";
Debug.ShouldStop(-2147483648);
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 = 4001;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 = 4002;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set";
Debug.ShouldStop(2);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info3 set gestion = 2  WHERE CAT_CL_CODIGO IN (SELECT PC_CLIENTE FROM PEDIDO_CLIENTE)")));
 };
 BA.debugLineNum = 4004;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL";
Debug.ShouldStop(8);
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 = 4005;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 4006;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set";
Debug.ShouldStop(32);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info3 set gestion = 3  WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA)")));
 };
 BA.debugLineNum = 4009;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_";
Debug.ShouldStop(256);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_ID IN (SELECT CAT_PD_PRODUCTO FROM CAT_PROMOS_DESCUENTOS) ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("PRIORITARIO"))})))));
 BA.debugLineNum = 4012;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(2048);
_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 = 4013;BA.debugLine="If coord.RowCount > 0 Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean(">",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 4014;BA.debugLine="For cor = 0 To coord.RowCount -1";
Debug.ShouldStop(8192);
{
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 = 4015;BA.debugLine="coord.Position = cor";
Debug.ShouldStop(16384);
_coord.runMethod(true,"setPosition",BA.numberCast(int.class, _cor));
 BA.debugLineNum = 4016;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km";
Debug.ShouldStop(32768);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info3 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 = 4020;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(524288);
_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 TELEFONO"))));Debug.locals.put("coord", _coord);Debug.locals.put("coord", _coord);
 BA.debugLineNum = 4021;BA.debugLine="If coord.RowCount > 0 Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean(">",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 4022;BA.debugLine="For cor = 0 To coord.RowCount -1";
Debug.ShouldStop(2097152);
{
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 = 4023;BA.debugLine="coord.Position = cor";
Debug.ShouldStop(4194304);
_coord.runMethod(true,"setPosition",BA.numberCast(int.class, _cor));
 BA.debugLineNum = 4024;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km";
Debug.ShouldStop(8388608);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info3 set  CAT_CL_TELEFONO = ? 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("TELEFONO")))),(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))))})))));
 }
}Debug.locals.put("cor", _cor);
;
 };
 BA.debugLineNum = 4028;BA.debugLine="End Sub";
Debug.ShouldStop(134217728);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _class_globals(RemoteObject __ref) throws Exception{
 //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals";
 //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore";
c_principal._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_principal._root);
 //BA.debugLineNum = 3;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 = 4;BA.debugLine="Dim conectado As String";
c_principal._conectado = RemoteObject.createImmutable("");__ref.setField("_conectado",c_principal._conectado);
 //BA.debugLineNum = 5;BA.debugLine="Dim t1, t2 As Timer";
c_principal._t1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer");__ref.setField("_t1",c_principal._t1);
c_principal._t2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer");__ref.setField("_t2",c_principal._t2);
 //BA.debugLineNum = 6;BA.debugLine="Dim sb As StringBuilder";
c_principal._sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");__ref.setField("_sb",c_principal._sb);
 //BA.debugLineNum = 7;BA.debugLine="Dim PHONE As Phone";
c_principal._phone = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_phone",c_principal._phone);
 //BA.debugLineNum = 8;BA.debugLine="Dim g As GPS";
c_principal._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_principal._g);
 //BA.debugLineNum = 9;BA.debugLine="Dim trabajar As Button";
c_principal._trabajar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_trabajar",c_principal._trabajar);
 //BA.debugLineNum = 11;BA.debugLine="Dim c As Cursor";
c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_principal._c);
 //BA.debugLineNum = 12;BA.debugLine="Dim d As Cursor";
c_principal._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_principal._d);
 //BA.debugLineNum = 13;BA.debugLine="Dim b As Cursor";
c_principal._b = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_b",c_principal._b);
 //BA.debugLineNum = 14;BA.debugLine="Dim e As Cursor";
c_principal._e = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_e",c_principal._e);
 //BA.debugLineNum = 15;BA.debugLine="Dim f As Cursor";
c_principal._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",c_principal._f);
 //BA.debugLineNum = 16;BA.debugLine="Dim ro As Cursor";
c_principal._ro = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_ro",c_principal._ro);
 //BA.debugLineNum = 17;BA.debugLine="Dim D2 As Cursor";
c_principal._d2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d2",c_principal._d2);
 //BA.debugLineNum = 18;BA.debugLine="Dim lv As ListView";
c_principal._lv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv",c_principal._lv);
 //BA.debugLineNum = 19;BA.debugLine="Dim cargar As Button";
c_principal._cargar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_cargar",c_principal._cargar);
 //BA.debugLineNum = 20;BA.debugLine="Dim pendiente As Button";
c_principal._pendiente = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_pendiente",c_principal._pendiente);
 //BA.debugLineNum = 21;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 = 22;BA.debugLine="Dim usuario As String";
c_principal._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_principal._usuario);
 //BA.debugLineNum = 23;BA.debugLine="Dim connecta As Button";
c_principal._connecta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_connecta",c_principal._connecta);
 //BA.debugLineNum = 24;BA.debugLine="Dim conn As String";
c_principal._conn = RemoteObject.createImmutable("");__ref.setField("_conn",c_principal._conn);
 //BA.debugLineNum = 25;BA.debugLine="Dim Subir As Button";
c_principal._subir = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_subir",c_principal._subir);
 //BA.debugLineNum = 26;BA.debugLine="Dim cmd As DBCommand";
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 //BA.debugLineNum = 27;BA.debugLine="Dim TOPE As Int";
c_principal._tope = RemoteObject.createImmutable(0);__ref.setField("_tope",c_principal._tope);
 //BA.debugLineNum = 28;BA.debugLine="Dim COUNT_CLIE As Int";
c_principal._count_clie = RemoteObject.createImmutable(0);__ref.setField("_count_clie",c_principal._count_clie);
 //BA.debugLineNum = 29;BA.debugLine="Dim fecha As String";
c_principal._fecha = RemoteObject.createImmutable("");__ref.setField("_fecha",c_principal._fecha);
 //BA.debugLineNum = 30;BA.debugLine="Dim drop As Double";
c_principal._drop = RemoteObject.createImmutable(0);__ref.setField("_drop",c_principal._drop);
 //BA.debugLineNum = 31;BA.debugLine="Dim efectiva As Double";
c_principal._efectiva = RemoteObject.createImmutable(0);__ref.setField("_efectiva",c_principal._efectiva);
 //BA.debugLineNum = 33;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 = 34;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 = 35;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 = 36;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 = 37;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 = 38;BA.debugLine="Dim BUSCA As Button";
c_principal._busca = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_busca",c_principal._busca);
 //BA.debugLineNum = 39;BA.debugLine="Dim Cuantos As String";
c_principal._cuantos = RemoteObject.createImmutable("");__ref.setField("_cuantos",c_principal._cuantos);
 //BA.debugLineNum = 40;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 = 41;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 = 42;BA.debugLine="Dim Rut_Rep As String";
c_principal._rut_rep = RemoteObject.createImmutable("");__ref.setField("_rut_rep",c_principal._rut_rep);
 //BA.debugLineNum = 43;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 = 44;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 = 45;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 = 46;BA.debugLine="Dim ALMACEN As String";
c_principal._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",c_principal._almacen);
 //BA.debugLineNum = 47;BA.debugLine="Private img2 As ImageView";
c_principal._img2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_img2",c_principal._img2);
 //BA.debugLineNum = 48;BA.debugLine="Dim Listo1 As String";
c_principal._listo1 = RemoteObject.createImmutable("");__ref.setField("_listo1",c_principal._listo1);
 //BA.debugLineNum = 49;BA.debugLine="Dim Listo2 As String";
c_principal._listo2 = RemoteObject.createImmutable("");__ref.setField("_listo2",c_principal._listo2);
 //BA.debugLineNum = 50;BA.debugLine="Dim Listo3 As String";
c_principal._listo3 = RemoteObject.createImmutable("");__ref.setField("_listo3",c_principal._listo3);
 //BA.debugLineNum = 51;BA.debugLine="Dim Listo4 As String";
c_principal._listo4 = RemoteObject.createImmutable("");__ref.setField("_listo4",c_principal._listo4);
 //BA.debugLineNum = 52;BA.debugLine="Dim Listo5 As String";
c_principal._listo5 = RemoteObject.createImmutable("");__ref.setField("_listo5",c_principal._listo5);
 //BA.debugLineNum = 53;BA.debugLine="Dim EJECUTANDO As String";
c_principal._ejecutando = RemoteObject.createImmutable("");__ref.setField("_ejecutando",c_principal._ejecutando);
 //BA.debugLineNum = 54;BA.debugLine="Dim RES As String";
c_principal._res = RemoteObject.createImmutable("");__ref.setField("_res",c_principal._res);
 //BA.debugLineNum = 55;BA.debugLine="Dim inve As String";
c_principal._inve = RemoteObject.createImmutable("");__ref.setField("_inve",c_principal._inve);
 //BA.debugLineNum = 56;BA.debugLine="Dim cuantos_pedidosc As String";
c_principal._cuantos_pedidosc = RemoteObject.createImmutable("");__ref.setField("_cuantos_pedidosc",c_principal._cuantos_pedidosc);
 //BA.debugLineNum = 57;BA.debugLine="Dim cuantos_pedido As String";
c_principal._cuantos_pedido = RemoteObject.createImmutable("");__ref.setField("_cuantos_pedido",c_principal._cuantos_pedido);
 //BA.debugLineNum = 58;BA.debugLine="Dim cuantos_noventa As String";
c_principal._cuantos_noventa = RemoteObject.createImmutable("");__ref.setField("_cuantos_noventa",c_principal._cuantos_noventa);
 //BA.debugLineNum = 59;BA.debugLine="Dim datos_iguales As String";
c_principal._datos_iguales = RemoteObject.createImmutable("");__ref.setField("_datos_iguales",c_principal._datos_iguales);
 //BA.debugLineNum = 60;BA.debugLine="Dim p As PhoneId";
c_principal._p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.PhoneId");__ref.setField("_p",c_principal._p);
 //BA.debugLineNum = 61;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 = 90;BA.debugLine="Private ImageView3 As ImageView";
c_principal._imageview3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview3",c_principal._imageview3);
 //BA.debugLineNum = 91;BA.debugLine="Private ImageView5 As ImageView";
c_principal._imageview5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview5",c_principal._imageview5);
 //BA.debugLineNum = 92;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 = 93;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 = 94;BA.debugLine="Private p_ruta2 As Panel";
c_principal._p_ruta2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_ruta2",c_principal._p_ruta2);
 //BA.debugLineNum = 95;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 = 96;BA.debugLine="Private resdia As ImageView";
c_principal._resdia = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_resdia",c_principal._resdia);
 //BA.debugLineNum = 97;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 = 98;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 = 99;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 = 101;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 = 102;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 = 103;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 = 105;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 = 106;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 = 107;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 = 109;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 = 112;BA.debugLine="Private bpv1 As BatteryProgressView";
c_principal._bpv1 = RemoteObject.createNew ("batteryprogressviewwrapper.batteryprogressviewWrapper");__ref.setField("_bpv1",c_principal._bpv1);
 //BA.debugLineNum = 113;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 = 114;BA.debugLine="Private bu As BatteryUtilities";
c_principal._bu = RemoteObject.createNew ("gunav2.keymon.com.mx.batteryutilities");__ref.setField("_bu",c_principal._bu);
 //BA.debugLineNum = 117;BA.debugLine="Private Panel4 As Panel";
c_principal._panel4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel4",c_principal._panel4);
 //BA.debugLineNum = 118;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 = 119;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 = 120;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 = 121;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 = 122;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 = 123;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 = 124;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 = 125;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 = 126;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 = 127;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 = 128;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 = 129;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 = 130;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 = 131;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 = 132;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 = 133;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 = 134;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 = 135;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 = 136;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 = 137;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 = 138;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 = 139;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 = 140;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 = 141;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 = 142;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 = 143;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 = 144;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 = 145;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 = 146;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 = 147;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 = 148;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 = 149;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 = 150;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 = 151;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 = 152;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 = 153;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 = 154;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 = 155;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 = 156;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 = 157;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 = 158;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 = 159;BA.debugLine="Private LPT As String";
c_principal._lpt = RemoteObject.createImmutable("");__ref.setField("_lpt",c_principal._lpt);
 //BA.debugLineNum = 160;BA.debugLine="Private STEYIN As String";
c_principal._steyin = RemoteObject.createImmutable("");__ref.setField("_steyin",c_principal._steyin);
 //BA.debugLineNum = 161;BA.debugLine="Private STEYOUT As String";
c_principal._steyout = RemoteObject.createImmutable("");__ref.setField("_steyout",c_principal._steyout);
 //BA.debugLineNum = 163;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 = 164;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 = 165;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 = 168;BA.debugLine="Private stay_hh As String";
c_principal._stay_hh = RemoteObject.createImmutable("");__ref.setField("_stay_hh",c_principal._stay_hh);
 //BA.debugLineNum = 169;BA.debugLine="Private stay_mi As String";
c_principal._stay_mi = RemoteObject.createImmutable("");__ref.setField("_stay_mi",c_principal._stay_mi);
 //BA.debugLineNum = 170;BA.debugLine="Private stay_ss As String";
c_principal._stay_ss = RemoteObject.createImmutable("");__ref.setField("_stay_ss",c_principal._stay_ss);
 //BA.debugLineNum = 172;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 = 173;BA.debugLine="Dim HORAINGRESO As String";
c_principal._horaingreso = RemoteObject.createImmutable("");__ref.setField("_horaingreso",c_principal._horaingreso);
 //BA.debugLineNum = 175;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 = 176;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 = 177;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 = 178;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 = 179;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 = 180;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 = 181;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 = 182;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 = 183;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 = 184;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 = 185;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 = 186;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 = 187;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 = 188;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 = 189;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 = 190;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 = 191;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 = 192;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 = 193;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 = 194;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 = 195;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 = 196;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 = 197;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 = 198;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 = 199;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 = 200;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 = 201;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 = 203;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 = 204;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 = 206;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 = 207;BA.debugLine="Private CLV1 As CustomListView";
c_principal._clv1 = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv1",c_principal._clv1);
 //BA.debugLineNum = 208;BA.debugLine="Private pnlTitle As B4XView";
c_principal._pnltitle = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_pnltitle",c_principal._pnltitle);
 //BA.debugLineNum = 209;BA.debugLine="Private xui As XUI";
c_principal._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_principal._xui);
 //BA.debugLineNum = 210;BA.debugLine="Type TitleData (Title As String)";
;
 //BA.debugLineNum = 212;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 = 213;BA.debugLine="Private lblTitle As Label";
c_principal._lbltitle = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lbltitle",c_principal._lbltitle);
 //BA.debugLineNum = 214;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 = 215;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 = 217;BA.debugLine="Private teclado As IME";
c_principal._teclado = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_teclado",c_principal._teclado);
 //BA.debugLineNum = 218;BA.debugLine="Private panel5 As Panel";
c_principal._panel5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel5",c_principal._panel5);
 //BA.debugLineNum = 219;BA.debugLine="Private panel_5 As Panel";
c_principal._panel_5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel_5",c_principal._panel_5);
 //BA.debugLineNum = 220;BA.debugLine="Private p_marcasRes As Panel";
c_principal._p_marcasres = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_marcasres",c_principal._p_marcasres);
 //BA.debugLineNum = 221;BA.debugLine="Private p_sombra As Panel";
c_principal._p_sombra = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_sombra",c_principal._p_sombra);
 //BA.debugLineNum = 223;BA.debugLine="Private Label22 As Label";
c_principal._label22 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label22",c_principal._label22);
 //BA.debugLineNum = 224;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 = 225;BA.debugLine="Dim l_ru_pri As Label";
c_principal._l_ru_pri = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ru_pri",c_principal._l_ru_pri);
 //BA.debugLineNum = 226;BA.debugLine="Private l_ru_sup As Label";
c_principal._l_ru_sup = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ru_sup",c_principal._l_ru_sup);
 //BA.debugLineNum = 227;BA.debugLine="Private Label4 As Label";
c_principal._label4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label4",c_principal._label4);
 //BA.debugLineNum = 228;BA.debugLine="Private Label2 As Label";
c_principal._label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label2",c_principal._label2);
 //BA.debugLineNum = 229;BA.debugLine="Private Label25 As Label";
c_principal._label25 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label25",c_principal._label25);
 //BA.debugLineNum = 230;BA.debugLine="Dim p_transparenteActualizacion As Panel";
c_principal._p_transparenteactualizacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_transparenteactualizacion",c_principal._p_transparenteactualizacion);
 //BA.debugLineNum = 231;BA.debugLine="Private p_forzarActualizacion As Panel";
c_principal._p_forzaractualizacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_forzaractualizacion",c_principal._p_forzaractualizacion);
 //BA.debugLineNum = 232;BA.debugLine="Dim l_forzarActualizacion As Label";
c_principal._l_forzaractualizacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_forzaractualizacion",c_principal._l_forzaractualizacion);
 //BA.debugLineNum = 233;BA.debugLine="Dim tipo_venta As String = Subs.traeTipoVentaDeBD";
c_principal._tipo_venta = c_principal._subs.runMethod(true,"_traetipoventadebd" /*RemoteObject*/ ,__ref.getField(false, "ba"));__ref.setField("_tipo_venta",c_principal._tipo_venta);
 //BA.debugLineNum = 234;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 = 235;BA.debugLine="Dim bitacora As C_Bitacora";
c_principal._bitacora = RemoteObject.createNew ("gunav2.keymon.com.mx.c_bitacora");__ref.setField("_bitacora",c_principal._bitacora);
 //BA.debugLineNum = 236;BA.debugLine="Private l_version As Label";
c_principal._l_version = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_version",c_principal._l_version);
 //BA.debugLineNum = 237;BA.debugLine="Dim contadorSubir As Int = 0";
c_principal._contadorsubir = BA.numberCast(int.class, 0);__ref.setField("_contadorsubir",c_principal._contadorsubir);
 //BA.debugLineNum = 239;BA.debugLine="Private p_somvra_2 As Panel";
c_principal._p_somvra_2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_somvra_2",c_principal._p_somvra_2);
 //BA.debugLineNum = 240;BA.debugLine="Private b_resdia As Button";
c_principal._b_resdia = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_resdia",c_principal._b_resdia);
 //BA.debugLineNum = 241;BA.debugLine="Private b_hacerpedido As Button";
c_principal._b_hacerpedido = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_hacerpedido",c_principal._b_hacerpedido);
 //BA.debugLineNum = 242;BA.debugLine="Private b_nuevocliente As Button";
c_principal._b_nuevocliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_nuevocliente",c_principal._b_nuevocliente);
 //BA.debugLineNum = 243;BA.debugLine="Private b_clientesvisitados As Button";
c_principal._b_clientesvisitados = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_clientesvisitados",c_principal._b_clientesvisitados);
 //BA.debugLineNum = 244;BA.debugLine="Private l_futura As Label";
c_principal._l_futura = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_futura",c_principal._l_futura);
 //BA.debugLineNum = 245;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 = 246;BA.debugLine="Private l_preacordada As Label";
c_principal._l_preacordada = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_preacordada",c_principal._l_preacordada);
 //BA.debugLineNum = 247;BA.debugLine="Private l_prevtotal As Label";
c_principal._l_prevtotal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prevtotal",c_principal._l_prevtotal);
 //BA.debugLineNum = 248;BA.debugLine="Private Label13 As Label";
c_principal._label13 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label13",c_principal._label13);
 //BA.debugLineNum = 249;BA.debugLine="Private Label19 As Label";
c_principal._label19 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label19",c_principal._label19);
 //BA.debugLineNum = 250;BA.debugLine="Private Label21 As Label";
c_principal._label21 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label21",c_principal._label21);
 //BA.debugLineNum = 251;BA.debugLine="Private Label33 As Label";
c_principal._label33 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label33",c_principal._label33);
 //BA.debugLineNum = 252;BA.debugLine="Private Label35 As Label";
c_principal._label35 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label35",c_principal._label35);
 //BA.debugLineNum = 253;BA.debugLine="Private Label43 As Label";
c_principal._label43 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label43",c_principal._label43);
 //BA.debugLineNum = 254;BA.debugLine="Private Label51 As Label";
c_principal._label51 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label51",c_principal._label51);
 //BA.debugLineNum = 255;BA.debugLine="Private l_faltan As Label";
c_principal._l_faltan = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_faltan",c_principal._l_faltan);
 //BA.debugLineNum = 256;BA.debugLine="Private l_visitas As Label";
c_principal._l_visitas = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_visitas",c_principal._l_visitas);
 //BA.debugLineNum = 257;BA.debugLine="Private l_visitartotal As Label";
c_principal._l_visitartotal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_visitartotal",c_principal._l_visitartotal);
 //BA.debugLineNum = 258;BA.debugLine="Private de As Label";
c_principal._de = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_de",c_principal._de);
 //BA.debugLineNum = 259;BA.debugLine="Private B_traec As Button";
c_principal._b_traec = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_traec",c_principal._b_traec);
 //BA.debugLineNum = 260;BA.debugLine="End Sub";
return RemoteObject.createImmutable("");
}
public static void  _connecta_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("connecta_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,2857);
if (RapidSub.canDelegate("connecta_click")) { __ref.runUserSub(false, "c_principal","connecta_click", __ref); return;}
ResumableSub_connecta_Click rsub = new ResumableSub_connecta_Click(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_connecta_Click extends BA.ResumableSub {
public ResumableSub_connecta_Click(gunav2.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;
gunav2.keymon.com.mx.c_principal parent;
RemoteObject _revisaactualizacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map");
RemoteObject _i = RemoteObject.createImmutable(0);
RemoteObject _usrt = RemoteObject.createImmutable("");
RemoteObject _passt = RemoteObject.createImmutable("");

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("connecta_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,2857);
Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals;

    while (true) {
try {

        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
Debug.locals.put("_ref", __ref);
 BA.debugLineNum = 2858;BA.debugLine="Log(\">>> REVISAMOS ACTUALIZACION\")";
Debug.ShouldStop(512);
parent.__c.runVoidMethod ("LogImpl","03932161",RemoteObject.createImmutable(">>> REVISAMOS ACTUALIZACION"),0);
 BA.debugLineNum = 2859;BA.debugLine="Private revisaActualizacion As Map = Subs.revisaF";
Debug.ShouldStop(1024);
_revisaactualizacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");
_revisaactualizacion = parent._subs.runMethod(false,"_revisaforzaractualizacion" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("revisaActualizacion", _revisaactualizacion);Debug.locals.put("revisaActualizacion", _revisaactualizacion);
 BA.debugLineNum = 2860;BA.debugLine="Log(revisaActualizacion)";
Debug.ShouldStop(2048);
parent.__c.runVoidMethod ("LogImpl","03932163",BA.ObjectToString(_revisaactualizacion),0);
 BA.debugLineNum = 2861;BA.debugLine="If E_RUTA2.Text = e_ruta.Text And e_ruta.Text <>";
Debug.ShouldStop(4096);
if (true) break;

case 1:
//if
this.state = 40;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")) && RemoteObject.solveBoolean("!",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { 
this.state = 3;
}else {
this.state = 5;
}if (true) break;

case 3:
//C
this.state = 40;
 BA.debugLineNum = 2862;BA.debugLine="Msgbox(\"La ruta principal y la de suplencia NO p";
Debug.ShouldStop(8192);
parent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("La ruta principal y la de suplencia NO pueden ser la misma.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ERROR"))),__ref.getField(false, "ba"));
 if (true) break;

case 5:
//C
this.state = 6;
 BA.debugLineNum = 2864;BA.debugLine="If e_ruta.Text = \"KMTS1\" Then";
Debug.ShouldStop(32768);
if (true) break;

case 6:
//if
this.state = 39;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { 
this.state = 8;
}else {
this.state = 10;
}if (true) break;

case 8:
//C
this.state = 39;
 BA.debugLineNum = 2865;BA.debugLine="cargar.Visible = True";
Debug.ShouldStop(65536);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True"));
 BA.debugLineNum = 2866;BA.debugLine="Subir.Visible = True";
Debug.ShouldStop(131072);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True"));
 BA.debugLineNum = 2867;BA.debugLine="e_ruta.Text = \"\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 2868;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me, Sta";
Debug.ShouldStop(524288);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(parent._starter._server /*RemoteObject*/ ));
 if (true) break;

case 10:
//C
this.state = 11;
 BA.debugLineNum = 2870;BA.debugLine="If revisaActualizacion.Get(\"forzar\") = 1 Then '";
Debug.ShouldStop(2097152);
if (true) break;

case 11:
//if
this.state = 38;
if (RemoteObject.solveBoolean("=",_revisaactualizacion.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("forzar")))),RemoteObject.createImmutable((1)))) { 
this.state = 13;
}else 
{ BA.debugLineNum = 2882;BA.debugLine="else if revisaActualizacion.Get(\"forzar\") = 2 T";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",_revisaactualizacion.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("forzar")))),RemoteObject.createImmutable((2)))) { 
this.state = 15;
}else {
this.state = 17;
}}
if (true) break;

case 13:
//C
this.state = 38;
 BA.debugLineNum = 2875;BA.debugLine="l_forzarActualizacion.TextColor = Colors.black";
Debug.ShouldStop(67108864);
__ref.getField(false,"_l_forzaractualizacion" /*RemoteObject*/ ).runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black"));
 BA.debugLineNum = 2876;BA.debugLine="l_forzarActualizacion.Text = \"Hay una nueva ac";
Debug.ShouldStop(134217728);
__ref.getField(false,"_l_forzaractualizacion" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Hay una nueva actualización para la aplicación, por favor revise que tenga DATOS y espere mientras se descarga."));
 BA.debugLineNum = 2877;BA.debugLine="p_transparenteActualizacion.Visible = True";
Debug.ShouldStop(268435456);
__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True"));
 BA.debugLineNum = 2878;BA.debugLine="p_transparenteActualizacion.BringToFront";
Debug.ShouldStop(536870912);
__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runVoidMethod ("BringToFront");
 BA.debugLineNum = 2879;BA.debugLine="Starter.nuevoLink = $\"https://keymon.net/movil";
Debug.ShouldStop(1073741824);
parent._starter._nuevolink /*RemoteObject*/  = (RemoteObject.concat(RemoteObject.createImmutable("https://keymon.net/movil/guna/GP_"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_revisaactualizacion.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nuevaVersion")))))),RemoteObject.createImmutable(".apk")));
 BA.debugLineNum = 2880;BA.debugLine="Log(\"Descargar: GP_\" & Starter.newApp.appLink)";
Debug.ShouldStop(-2147483648);
parent.__c.runVoidMethod ("LogImpl","03932183",RemoteObject.concat(RemoteObject.createImmutable("Descargar: GP_"),parent._starter._newapp /*RemoteObject*/ .getField(true,"appLink" /*RemoteObject*/ )),0);
 BA.debugLineNum = 2881;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")";
Debug.ShouldStop(1);
parent.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((parent._appupdater.getObject())),(Object)(RemoteObject.createImmutable("download_newApk")));
 if (true) break;

case 15:
//C
this.state = 38;
 BA.debugLineNum = 2883;BA.debugLine="l_forzarActualizacion.TextColor = Colors.red";
Debug.ShouldStop(4);
__ref.getField(false,"_l_forzaractualizacion" /*RemoteObject*/ ).runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 2884;BA.debugLine="l_forzarActualizacion.Text = \"Es necesaria una";
Debug.ShouldStop(8);
__ref.getField(false,"_l_forzaractualizacion" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Es necesaria una conexión a internet, por favor revise su conexión y vuelva a intentar."));
 BA.debugLineNum = 2885;BA.debugLine="p_transparenteActualizacion.Visible = True";
Debug.ShouldStop(16);
__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True"));
 BA.debugLineNum = 2886;BA.debugLine="p_transparenteActualizacion.BringToFront";
Debug.ShouldStop(32);
__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runVoidMethod ("BringToFront");
 BA.debugLineNum = 2887;BA.debugLine="Sleep(4500)";
Debug.ShouldStop(64);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "connecta_click"),BA.numberCast(int.class, 4500));
this.state = 41;
return;
case 41:
//C
this.state = 38;
;
 BA.debugLineNum = 2888;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuario";
Debug.ShouldStop(128);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa")));
 BA.debugLineNum = 2889;BA.debugLine="p_transparenteActualizacion.Visible = False";
Debug.ShouldStop(256);
__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 2890;BA.debugLine="B4XPages.ShowPage(\"Login\")";
Debug.ShouldStop(512);
parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Login")));
 if (true) break;

case 17:
//C
this.state = 18;
 BA.debugLineNum = 2892;BA.debugLine="Try";
Debug.ShouldStop(2048);
if (true) break;

case 18:
//try
this.state = 37;
this.catchState = 36;
this.state = 20;
if (true) break;

case 20:
//C
this.state = 21;
this.catchState = 36;
 BA.debugLineNum = 2893;BA.debugLine="Private i As Int = Regex.Replace(\"[^0-9.]\", e";
Debug.ShouldStop(4096);
_i = BA.numberCast(int.class, parent.__c.getField(false,"Regex").runMethod(true,"Replace",(Object)(BA.ObjectToString("[^0-9.]")),(Object)(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(RemoteObject.createImmutable(""))));Debug.locals.put("i", _i);Debug.locals.put("i", _i);
 BA.debugLineNum = 2894;BA.debugLine="Log($\"|${i}|\"$)";
Debug.ShouldStop(8192);
parent.__c.runVoidMethod ("LogImpl","03932197",(RemoteObject.concat(RemoteObject.createImmutable("|"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_i))),RemoteObject.createImmutable("|"))),0);
 BA.debugLineNum = 2895;BA.debugLine="e_ruta.text = i";
Debug.ShouldStop(16384);
__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_i));
 BA.debugLineNum = 2896;BA.debugLine="p_transparenteActualizacion.Visible = False";
Debug.ShouldStop(32768);
__ref.getField(false,"_p_transparenteactualizacion" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 2897;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me, S";
Debug.ShouldStop(65536);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(parent._starter._server /*RemoteObject*/ ));
 BA.debugLineNum = 2898;BA.debugLine="teclado.HideKeyboard";
Debug.ShouldStop(131072);
__ref.getField(false,"_teclado" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba"));
 BA.debugLineNum = 2899;BA.debugLine="connecta1 = connecta1 + 1";
Debug.ShouldStop(262144);
__ref.setField ("_connecta1" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_connecta1" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 0));
 BA.debugLineNum = 2901;BA.debugLine="conn = \"1\"";
Debug.ShouldStop(1048576);
__ref.setField ("_conn" /*RemoteObject*/ ,BA.ObjectToString("1"));
 BA.debugLineNum = 2902;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(2097152);
parent._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",parent._cmd);
 BA.debugLineNum = 2903;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 2904;BA.debugLine="cmd.Name = \"select_version_GV2\"";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_version_GV2"));
 BA.debugLineNum = 2905;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd";
Debug.ShouldStop(16777216);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("version"))));
 BA.debugLineNum = 2907;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US";
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,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO, PASS from usuarioa"))));
 BA.debugLineNum = 2908;BA.debugLine="c.Position=0";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2909;BA.debugLine="If c.RowCount > 0  And c.GetString(\"USUARIO\")";
Debug.ShouldStop(268435456);
if (true) break;

case 21:
//if
this.state = 24;
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))),BA.ObjectToString("KMTS1"))) { 
this.state = 23;
}if (true) break;

case 23:
//C
this.state = 24;
 BA.debugLineNum = 2910;BA.debugLine="Private usrT As String = c.GetString(\"USUARI";
Debug.ShouldStop(536870912);
_usrt = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")));Debug.locals.put("usrT", _usrt);Debug.locals.put("usrT", _usrt);
 BA.debugLineNum = 2911;BA.debugLine="Private passT As String = c.GetString(\"PASS\"";
Debug.ShouldStop(1073741824);
_passt = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PASS")));Debug.locals.put("passT", _passt);Debug.locals.put("passT", _passt);
 BA.debugLineNum = 2912;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 2913;BA.debugLine="cmd.Name = \"select_usuario_guna_GV2_10\"";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_usuario_guna_GV2_10"));
 BA.debugLineNum = 2914;BA.debugLine="cmd.Parameters = Array As Object(usrT, passT";
Debug.ShouldStop(2);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_usrt),(_passt)}));
 BA.debugLineNum = 2915;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cm";
Debug.ShouldStop(4);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("usuarioA"))));
 if (true) break;

case 24:
//C
this.state = 25;
;
 BA.debugLineNum = 2917;BA.debugLine="c.Close";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2918;BA.debugLine="If e_ruta.Text = \"BERNA1\" Then";
Debug.ShouldStop(32);
if (true) break;

case 25:
//if
this.state = 28;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("BERNA1"))) { 
this.state = 27;
}if (true) break;

case 27:
//C
this.state = 28;
 BA.debugLineNum = 2919;BA.debugLine="cargar.Visible = True";
Debug.ShouldStop(64);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True"));
 BA.debugLineNum = 2920;BA.debugLine="Subir.Visible = True";
Debug.ShouldStop(128);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True"));
 BA.debugLineNum = 2921;BA.debugLine="e_ruta.Text = \"\"";
Debug.ShouldStop(256);
__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 if (true) break;

case 28:
//C
this.state = 29;
;
 BA.debugLineNum = 2923;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True";
Debug.ShouldStop(1024);
parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Validando Conexión.")),(Object)(parent.__c.getField(true,"True")));
 BA.debugLineNum = 2924;BA.debugLine="If connecta1 / 2  = 1 Then";
Debug.ShouldStop(2048);
if (true) break;

case 29:
//if
this.state = 34;
if (RemoteObject.solveBoolean("=",RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_connecta1" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0),BA.numberCast(double.class, 1))) { 
this.state = 31;
}else {
this.state = 33;
}if (true) break;

case 31:
//C
this.state = 34;
 BA.debugLineNum = 2930;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me,";
Debug.ShouldStop(131072);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(parent._starter._server /*RemoteObject*/ ));
 if (true) break;

case 33:
//C
this.state = 34;
 BA.debugLineNum = 2937;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me,";
Debug.ShouldStop(16777216);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(parent._starter._server /*RemoteObject*/ ));
 if (true) break;

case 34:
//C
this.state = 37;
;
 Debug.CheckDeviceExceptions();
if (true) break;

case 36:
//C
this.state = 37;
this.catchState = 0;
 BA.debugLineNum = 2940;BA.debugLine="Log(LastException)";
Debug.ShouldStop(134217728);
parent.__c.runVoidMethod ("LogImpl","03932243",BA.ObjectToString(parent.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0);
 if (true) break;
if (true) break;

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

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

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

case 40:
//C
this.state = -1;
;
 BA.debugLineNum = 2948;BA.debugLine="End Sub";
Debug.ShouldStop(8);
if (true) break;
}} 
       catch (Exception e0) {
			
if (catchState == 0)
    throw e0;
else {
    state = catchState;
BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e0.toString());}
            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static RemoteObject  _connecta_longclick(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("connecta_LongClick (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,2808);
if (RapidSub.canDelegate("connecta_longclick")) { return __ref.runUserSub(false, "c_principal","connecta_longclick", __ref);}
int _i = 0;
RemoteObject _dia = RemoteObject.createImmutable(0);
RemoteObject _dialetra = RemoteObject.createImmutable("");
 BA.debugLineNum = 2808;BA.debugLine="Private Sub connecta_LongClick";
Debug.ShouldStop(8388608);
 BA.debugLineNum = 2816;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CN_ID, CN_FECHA";
Debug.ShouldStop(-2147483648);
__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 = 2817;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 = 2818;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(2);
{
final int step3 = 1;
final int limit3 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3) ;_i = ((int)(0 + _i + step3))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 2819;BA.debugLine="c.Position = i";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 2820;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTime";
Debug.ShouldStop(8);
_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 = 2821;BA.debugLine="If dia = 2  Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 2))) { 
 BA.debugLineNum = 2822;BA.debugLine="Dim dialetra As String = \"LUNES\"";
Debug.ShouldStop(32);
_dialetra = BA.ObjectToString("LUNES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 2823;BA.debugLine="Else If dia = 3  Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 3))) { 
 BA.debugLineNum = 2824;BA.debugLine="Dim dialetra As String = \"MARTES\"";
Debug.ShouldStop(128);
_dialetra = BA.ObjectToString("MARTES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 2825;BA.debugLine="Else If dia = 4  Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 4))) { 
 BA.debugLineNum = 2826;BA.debugLine="Dim dialetra As String = \"MIERCOLES\"";
Debug.ShouldStop(512);
_dialetra = BA.ObjectToString("MIERCOLES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 2827;BA.debugLine="Else If dia = 5  Then";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 5))) { 
 BA.debugLineNum = 2828;BA.debugLine="Dim dialetra As String = \"JUEVES\"";
Debug.ShouldStop(2048);
_dialetra = BA.ObjectToString("JUEVES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 2829;BA.debugLine="Else If dia = 6  Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 6))) { 
 BA.debugLineNum = 2830;BA.debugLine="Dim dialetra As String = \"VIERNES\"";
Debug.ShouldStop(8192);
_dialetra = BA.ObjectToString("VIERNES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 2831;BA.debugLine="Else If dia = 7  Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 7))) { 
 BA.debugLineNum = 2832;BA.debugLine="Dim dialetra As String = \"SABADO\"";
Debug.ShouldStop(32768);
_dialetra = BA.ObjectToString("SABADO");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }}}}}}
;
 BA.debugLineNum = 2834;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(131072);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 2835;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 2836;BA.debugLine="cmd.Name = \"insert_clientesnuevos_GUNA\"";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_clientesnuevos_GUNA"));
 BA.debugLineNum = 2837;BA.debugLine="Log(c.GetString(\"CN_ID\")&\"    ,\"& c.GetString(\"";
Debug.ShouldStop(1048576);
c_principal.__c.runVoidMethod ("LogImpl","03801117",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 = 2838;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C";
Debug.ShouldStop(2097152);
__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 = 2839;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
Debug.ShouldStop(4194304);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 2842;BA.debugLine="c.Close";
Debug.ShouldStop(33554432);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2843;BA.debugLine="End Sub";
Debug.ShouldStop(67108864);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _e_ruta_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("e_ruta_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3939);
if (RapidSub.canDelegate("e_ruta_click")) { return __ref.runUserSub(false, "c_principal","e_ruta_click", __ref);}
RemoteObject _revisaactualizacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map");
 BA.debugLineNum = 3939;BA.debugLine="Sub e_ruta_Click";
Debug.ShouldStop(4);
 BA.debugLineNum = 3940;BA.debugLine="Private revisaActualizacion As Map = Subs.revisaF";
Debug.ShouldStop(8);
_revisaactualizacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");
_revisaactualizacion = c_principal._subs.runMethod(false,"_revisaforzaractualizacion" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("revisaActualizacion", _revisaactualizacion);Debug.locals.put("revisaActualizacion", _revisaactualizacion);
 BA.debugLineNum = 3941;BA.debugLine="Log(\"revisaActualizacion = \" & revisaActualizacio";
Debug.ShouldStop(16);
c_principal.__c.runVoidMethod ("LogImpl","05636098",RemoteObject.concat(RemoteObject.createImmutable("revisaActualizacion = "),_revisaactualizacion),0);
 BA.debugLineNum = 3942;BA.debugLine="If revisaActualizacion.Get(\"forzar\") = 2 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_revisaactualizacion.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("forzar")))),RemoteObject.createImmutable((2)))) { 
 BA.debugLineNum = 3943;BA.debugLine="LogColor(\"No hay info de versión para actualizar";
Debug.ShouldStop(64);
c_principal.__c.runVoidMethod ("LogImpl","05636100",BA.ObjectToString("No hay info de versión para actualizar en CAT_VARIABLES, traemos la información!"),c_principal.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 3944;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(128);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 3945;BA.debugLine="cmd.Name = \"selectVersionAppGuna\"";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("selectVersionAppGuna"));
 BA.debugLineNum = 3946;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 = 3947;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
Debug.ShouldStop(1024);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("traeVersion"))));
 };
 BA.debugLineNum = 3949;BA.debugLine="End Sub";
Debug.ShouldStop(4096);
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",3,__ref.getField(false, "ba"),__ref,3023);
if (RapidSub.canDelegate("e_ruta_enterpressed")) { return __ref.runUserSub(false, "c_principal","e_ruta_enterpressed", __ref);}
 BA.debugLineNum = 3023;BA.debugLine="Sub e_ruta_EnterPressed";
Debug.ShouldStop(16384);
 BA.debugLineNum = 3024;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("FIN DIA"))) { 
 BA.debugLineNum = 3025;BA.debugLine="RES = Msgbox2(\"Seguro que desea hacer el cierre?";
Debug.ShouldStop(65536);
__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 borrarán.")),(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 = 3026;BA.debugLine="If RES = DialogResponse.POSITIVE Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_res" /*RemoteObject*/ ),BA.NumberToString(c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
 BA.debugLineNum = 3027;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim";
Debug.ShouldStop(262144);
__ref.getField(false,"_bitacora" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.c_bitacora.class, "_mandabitacora" /*RemoteObject*/ ,(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(Object)(c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.ObjectToString("Fin Día")),(Object)(BA.ObjectToString("")),(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_principal._subs.runMethod(true,"_fechanormal" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(Object)(BA.ObjectToString("2")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable("")));
 BA.debugLineNum = 3028;BA.debugLine="Label22.Visible = False";
Debug.ShouldStop(524288);
__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3029;BA.debugLine="l_rutasuplencia.Visible = False";
Debug.ShouldStop(1048576);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3030;BA.debugLine="l_rutasuplencia.Text = \"\"";
Debug.ShouldStop(2097152);
__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 3031;BA.debugLine="b_abordo.Visible = False";
Debug.ShouldStop(4194304);
__ref.getField(false,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3032;BA.debugLine="t2.Initialize(\"t2\", 1000)  ' 1000 ms = 1 segund";
Debug.ShouldStop(8388608);
__ref.getField(false,"_t2" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("t2")),(Object)(BA.numberCast(long.class, 1000)));
 BA.debugLineNum = 3033;BA.debugLine="t2.Enabled = True";
Debug.ShouldStop(16777216);
__ref.getField(false,"_t2" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"True"));
 };
 };
 BA.debugLineNum = 3037;BA.debugLine="If e_ruta.Text = \"IWL\" Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("IWL"))) { 
 BA.debugLineNum = 3039;BA.debugLine="NUEVO.Visible =False";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3040;BA.debugLine="BUSCA.Visible=False";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3041;BA.debugLine="connecta.Visible=False";
Debug.ShouldStop(1);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3042;BA.debugLine="img3.Visible =True";
Debug.ShouldStop(2);
__ref.getField(false,"_img3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3043;BA.debugLine="Resumen.Visible= False";
Debug.ShouldStop(4);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 };
 BA.debugLineNum = 3046;BA.debugLine="If e_ruta.Text = \"SUPLENCIA\" Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("SUPLENCIA"))) { 
 BA.debugLineNum = 3047;BA.debugLine="e_ruta.Text = \"\"";
Debug.ShouldStop(64);
__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 3048;BA.debugLine="E_RUTA2.Visible = True";
Debug.ShouldStop(128);
__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3049;BA.debugLine="p_ruta2.Visible = True";
Debug.ShouldStop(256);
__ref.getField(false,"_p_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3050;BA.debugLine="p_somvra_2.Visible = False";
Debug.ShouldStop(512);
__ref.getField(false,"_p_somvra_2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 };
 BA.debugLineNum = 3052;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_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{
try {
		Debug.PushSubsStack("e_ruta_TextChanged (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3769);
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 = 3769;BA.debugLine="Sub e_ruta_TextChanged (Old As String, New As Stri";
Debug.ShouldStop(16777216);
 BA.debugLineNum = 3770;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 = 3772;BA.debugLine="If Old <> \"KMTS1\" Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("!",_old,BA.ObjectToString("KMTS1"))) { 
 BA.debugLineNum = 3774;BA.debugLine="Try";
Debug.ShouldStop(536870912);
try { BA.debugLineNum = 3775;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 = 3776;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 = 3777;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 = 3783;BA.debugLine="End Sub";
Debug.ShouldStop(64);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _e_ruta2_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{
try {
		Debug.PushSubsStack("e_ruta2_TextChanged (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3785);
if (RapidSub.canDelegate("e_ruta2_textchanged")) { return __ref.runUserSub(false, "c_principal","e_ruta2_textchanged", __ref, _old, _new);}
Debug.locals.put("Old", _old);
Debug.locals.put("New", _new);
 BA.debugLineNum = 3785;BA.debugLine="Sub e_ruta2_TextChanged (Old As String, New As Str";
Debug.ShouldStop(256);
 BA.debugLineNum = 3788;BA.debugLine="If New = e_ruta.text And New <> \"\" Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",_new,__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")) && RemoteObject.solveBoolean("!",_new,BA.ObjectToString(""))) { 
 BA.debugLineNum = 3789;BA.debugLine="cargar.Enabled = False";
Debug.ShouldStop(4096);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3790;BA.debugLine="ToastMessageShow(\"Las rutas NO PUEDEN ser iguale";
Debug.ShouldStop(8192);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Las rutas NO PUEDEN ser iguales!!")),(Object)(c_principal.__c.getField(true,"False")));
 }else {
 BA.debugLineNum = 3792;BA.debugLine="cargar.Enabled = True";
Debug.ShouldStop(32768);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"True"));
 };
 BA.debugLineNum = 3794;BA.debugLine="End Sub";
Debug.ShouldStop(131072);
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",3,__ref.getField(false, "ba"),__ref,3760);
if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_principal","gps_locationchanged", __ref, _location1);}
Debug.locals.put("Location1", _location1);
 BA.debugLineNum = 3760;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)";
Debug.ShouldStop(32768);
 BA.debugLineNum = 3762;BA.debugLine="End Sub";
Debug.ShouldStop(131072);
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",3,__ref.getField(false, "ba"),__ref,3748);
if (RapidSub.canDelegate("hacer_ped_click")) { return __ref.runUserSub(false, "c_principal","hacer_ped_click", __ref);}
 BA.debugLineNum = 3748;BA.debugLine="Sub hacer_ped_Click";
Debug.ShouldStop(8);
 BA.debugLineNum = 3749;BA.debugLine="B4XPages.ShowPage(\"Clientes\")";
Debug.ShouldStop(16);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes")));
 BA.debugLineNum = 3750;BA.debugLine="End Sub";
Debug.ShouldStop(32);
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",3,__ref.getField(false, "ba"),__ref,263);
if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_principal","initialize", __ref, _ba);}
__ref.runVoidMethodAndSync("innerInitializeHelper", _ba);
Debug.locals.put("ba", _ba);
 BA.debugLineNum = 263;BA.debugLine="Public Sub Initialize As Object";
Debug.ShouldStop(64);
 BA.debugLineNum = 264;BA.debugLine="Return Me";
Debug.ShouldStop(128);
if (true) return __ref;
 BA.debugLineNum = 265;BA.debugLine="End Sub";
Debug.ShouldStop(256);
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",3,__ref.getField(false, "ba"),__ref,3054);
if (RapidSub.canDelegate("inv_click")) { return __ref.runUserSub(false, "c_principal","inv_click", __ref);}
 BA.debugLineNum = 3054;BA.debugLine="Sub inv_Click";
Debug.ShouldStop(8192);
 BA.debugLineNum = 3055;BA.debugLine="img2.Visible =True";
Debug.ShouldStop(16384);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3056;BA.debugLine="EJECUTANDO = 1";
Debug.ShouldStop(32768);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 3057;BA.debugLine="inve = 1";
Debug.ShouldStop(65536);
__ref.setField ("_inve" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 3058;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 cat_gunaprod")));
 BA.debugLineNum = 3059;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 cat_gunaprod2")));
 BA.debugLineNum = 3060;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 CAT_DETALLES_PAQ")));
 BA.debugLineNum = 3061;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari";
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 = 3062;BA.debugLine="c.Position = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3063;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 = 3064;BA.debugLine="c.Close";
Debug.ShouldStop(8388608);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3065;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 3066;BA.debugLine="cmd.Name = \"select_cat_gunaprod_GV2\"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod_GV2"));
 BA.debugLineNum = 3067;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(67108864);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 3068;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
Debug.ShouldStop(134217728);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 3069;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(268435456);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 3070;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_GV2\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod2_GV2"));
 BA.debugLineNum = 3071;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta.";
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,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 3072;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
Debug.ShouldStop(-2147483648);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 3073;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 3074;BA.debugLine="cmd.Name = \"select_cat_paquetes_GV2\"";
Debug.ShouldStop(2);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_paquetes_GV2"));
 BA.debugLineNum = 3075;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(4);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 3076;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
Debug.ShouldStop(8);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 3078;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(32);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 3079;BA.debugLine="cmd.Name = \"select_cat_detallepa_GV2\"";
Debug.ShouldStop(64);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_detallepa_GV2"));
 BA.debugLineNum = 3080;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 = 3081;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
Debug.ShouldStop(256);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 3083;BA.debugLine="cargar.Visible = False";
Debug.ShouldStop(1024);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3084;BA.debugLine="Subir.Visible = False";
Debug.ShouldStop(2048);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3085;BA.debugLine="connecta.Visible = True";
Debug.ShouldStop(4096);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3086;BA.debugLine="inv.Visible = False";
Debug.ShouldStop(8192);
__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3087;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este";
Debug.ShouldStop(16384);
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 = 3088;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
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",3,__ref.getField(false, "ba"),__ref,1592);
if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_principal","jobdone", __ref, _job);}
RemoteObject _result = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbresult");
RemoteObject _n = RemoteObject.createImmutable("");
RemoteObject _records = null;
RemoteObject _codigo = RemoteObject.createImmutable("");
RemoteObject _fotos = RemoteObject.createImmutable("");
RemoteObject _bandera = RemoteObject.createImmutable("");
RemoteObject _fot = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _giro = RemoteObject.createImmutable("");
RemoteObject _nota = RemoteObject.createImmutable("");
RemoteObject _cliente = RemoteObject.createImmutable("");
RemoteObject _saldo_pendiente = RemoteObject.createImmutable("");
RemoteObject _fecha_pagare = RemoteObject.createImmutable("");
RemoteObject _result1 = RemoteObject.declareNull("gunav2.keymon.com.mx.dbrequestmanager._dbresult");
RemoteObject _cuantosencuesta = RemoteObject.createImmutable("");
RemoteObject _foto = null;
RemoteObject _codigocredito = RemoteObject.createImmutable("");
RemoteObject _banderacredito = RemoteObject.createImmutable("");
RemoteObject _clientecredito = RemoteObject.createImmutable("");
RemoteObject _hdsgf = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
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_foto = null;
RemoteObject _cat_cl_mtocompra = RemoteObject.createImmutable("");
RemoteObject _cat_cl_num_seriefisico = RemoteObject.createImmutable("");
RemoteObject _cat_cl_tipocliente = RemoteObject.createImmutable("");
RemoteObject _cat_cl_limitecredito = RemoteObject.createImmutable("");
RemoteObject _cat_cl_diascredito = RemoteObject.createImmutable("");
RemoteObject _cat_cl_clasificador4 = RemoteObject.createImmutable("");
RemoteObject _cat_cl_clasificador3 = RemoteObject.createImmutable("");
RemoteObject _cat_cl_clasificador2 = RemoteObject.createImmutable("");
RemoteObject _cat_cl_bcredito = RemoteObject.createImmutable("");
RemoteObject _cat_cl_tipo_ruta = RemoteObject.createImmutable("");
RemoteObject _cat_cl_dias_visita = RemoteObject.createImmutable("");
RemoteObject _hp_cliente = RemoteObject.createImmutable("");
RemoteObject _hp_codigo_promocion = RemoteObject.createImmutable("");
RemoteObject _promocion = RemoteObject.createImmutable("");
RemoteObject _hccp_cliente = RemoteObject.createImmutable("");
RemoteObject _hccp_promo = RemoteObject.createImmutable("");
RemoteObject _hccp_cant = RemoteObject.createImmutable("");
RemoteObject _cat_pd_almacen = RemoteObject.createImmutable("");
RemoteObject _cat_pd_cod_promo = RemoteObject.createImmutable("");
RemoteObject _cat_pd_rango = RemoteObject.createImmutable("");
RemoteObject _cat_pd_rango2 = RemoteObject.createImmutable("");
RemoteObject _cat_pd_vigencia = RemoteObject.createImmutable("");
RemoteObject _cat_pd_descuento = RemoteObject.createImmutable("");
RemoteObject _cat_pd_producto = RemoteObject.createImmutable("");
RemoteObject _cat_pd_tier = RemoteObject.createImmutable("");
RemoteObject _hvd_cliente2 = RemoteObject.createImmutable("");
RemoteObject _hmc_marca = RemoteObject.createImmutable("");
RemoteObject _hmc_total = RemoteObject.createImmutable("");
RemoteObject _latitud = RemoteObject.createImmutable("");
RemoteObject _longitud = RemoteObject.createImmutable("");
RemoteObject _geocerca = RemoteObject.createImmutable("");
RemoteObject _password = RemoteObject.createImmutable("");
RemoteObject _cat_ru_ventaf = 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 _hvd_marca = RemoteObject.createImmutable("");
RemoteObject _clientes = RemoteObject.createImmutable("");
RemoteObject _hcm_total_v = RemoteObject.createImmutable("");
RemoteObject _hcm_total_vive = RemoteObject.createImmutable("");
RemoteObject _hcm_total_guna = RemoteObject.createImmutable("");
RemoteObject _hcm_total_beb = RemoteObject.createImmutable("");
RemoteObject _hec_cliente = RemoteObject.createImmutable("");
RemoteObject _hec_modulo = RemoteObject.createImmutable("");
RemoteObject _cat_pe_id = RemoteObject.createImmutable("");
RemoteObject _cat_pe_idpromo = RemoteObject.createImmutable("");
RemoteObject _cat_pe_monto = RemoteObject.createImmutable("");
RemoteObject _he_cliente = 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_precio = 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_listaprecio = RemoteObject.createImmutable("");
RemoteObject _cat_gp_conversion3 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_conversion2 = RemoteObject.createImmutable("");
RemoteObject _cat_gp_codpromo = RemoteObject.createImmutable("");
RemoteObject _cat_pa_bsegmenta = RemoteObject.createImmutable("");
RemoteObject _cat_pa_segmentav = RemoteObject.createImmutable("");
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 _cont = RemoteObject.createImmutable(0);
RemoteObject _hvd_cliente = RemoteObject.createImmutable("");
RemoteObject _hvd_pronombre = RemoteObject.createImmutable("");
RemoteObject _hvd_cant = RemoteObject.createImmutable("");
RemoteObject _hvd_costo_tot = RemoteObject.createImmutable("");
RemoteObject _hvd_fecha = RemoteObject.createImmutable("");
RemoteObject _cat_va_descripcion = RemoteObject.createImmutable("");
RemoteObject _cat_va_valor = RemoteObject.createImmutable("");
RemoteObject _cat_ep_id = RemoteObject.createImmutable("");
RemoteObject _cat_ep_idtipopregunta = RemoteObject.createImmutable("");
RemoteObject _cat_ce_descripcion = RemoteObject.createImmutable("");
RemoteObject _cat_ep_pregunta = RemoteObject.createImmutable("");
RemoteObject _cat_ep_res1_pred = RemoteObject.createImmutable("");
RemoteObject _cat_ep_res2_pred = RemoteObject.createImmutable("");
RemoteObject _cat_ep_res3_pred = RemoteObject.createImmutable("");
RemoteObject _cat_ep_orden_pregunta = 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 _version = RemoteObject.createImmutable("");
RemoteObject _actualizaraplicacion = RemoteObject.createImmutable("");
RemoteObject _tipoventa = RemoteObject.createImmutable("");
RemoteObject _pl_cliente = RemoteObject.createImmutable("");
RemoteObject _pl_bandera = RemoteObject.createImmutable("");
RemoteObject _comentario = RemoteObject.createImmutable("");
RemoteObject _clientecom = RemoteObject.createImmutable("");
RemoteObject _cob_volumen = RemoteObject.createImmutable("");
RemoteObject _cob_marcae = RemoteObject.createImmutable("");
RemoteObject _cob_portafolio = RemoteObject.createImmutable("");
RemoteObject _cob_objpp = RemoteObject.createImmutable("");
RemoteObject _cob_gev = RemoteObject.createImmutable("");
Debug.locals.put("Job", _job);
 BA.debugLineNum = 1592;BA.debugLine="Sub JobDone(Job As HttpJob)";
Debug.ShouldStop(8388608);
 BA.debugLineNum = 1593;BA.debugLine="B4XPages.MainPage.reqManager.trackNext(Job)";
Debug.ShouldStop(16777216);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_tracknext" /*RemoteObject*/ ,(Object)(_job));
 BA.debugLineNum = 1594;BA.debugLine="Log(\"JOBDONE PRINCIPAL\")";
Debug.ShouldStop(33554432);
c_principal.__c.runVoidMethod ("LogImpl","03735554",RemoteObject.createImmutable("JOBDONE PRINCIPAL"),0);
 BA.debugLineNum = 1600;BA.debugLine="If Job.Success = False Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_principal.__c.getField(true,"False"))) { 
 BA.debugLineNum = 1601;BA.debugLine="If Job.ErrorMessage <> \"STREAM\" Then LogColor(\"E";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("!",_job.getField(true,"_errormessage" /*RemoteObject*/ ),BA.ObjectToString("STREAM"))) { 
c_principal.__c.runVoidMethod ("LogImpl","03735561",RemoteObject.concat(RemoteObject.createImmutable("Error: "),_job.getField(false,"_tag" /*RemoteObject*/ ),RemoteObject.createImmutable(" : "),c_principal._subs.runMethod(true,"_parsehttperror" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_job.getField(true,"_errormessage" /*RemoteObject*/ )))),c_principal.__c.getField(false,"Colors").getField(true,"Red"));};
 BA.debugLineNum = 1603;BA.debugLine="If Job.ErrorMessage = \"STREAM\" Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_errormessage" /*RemoteObject*/ ),BA.ObjectToString("STREAM"))) { 
 BA.debugLineNum = 1604;BA.debugLine="If CARGA = \"SUBIR\" Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("SUBIR"))) { 
 BA.debugLineNum = 1605;BA.debugLine="PB2.Progress = PB2.Progress + PORCENTAJE";
Debug.ShouldStop(16);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, __ref.getField(true,"_porcentaje" /*RemoteObject*/ ))}, "+",1, 0)));
 BA.debugLineNum = 1606;BA.debugLine="S_CP.Text = \"SUBIENDO\"";
Debug.ShouldStop(32);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SUBIENDO"));
 BA.debugLineNum = 1607;BA.debugLine="If PB2.Progress > 99 Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 99))) { 
 BA.debugLineNum = 1608;BA.debugLine="S_CP.Text = \"VALIDANDO\"";
Debug.ShouldStop(128);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("VALIDANDO"));
 };
 };
 };
 }else {
 BA.debugLineNum = 1613;BA.debugLine="LogColor(\"JobDone: '\" & B4XPages.MainPage.reqMan";
Debug.ShouldStop(4096);
c_principal.__c.runVoidMethod ("LogImpl","03735573",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),c_principal.__c.getField(false,"Colors").getField(true,"Green"));
 BA.debugLineNum = 1615;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1616;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(32768);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 1617;BA.debugLine="If RESULT.Tag = \"usuarioA\" Then 'query tag";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuarioA")))) { 
 BA.debugLineNum = 1618;BA.debugLine="Private n As String = \"Sin Usuario\"";
Debug.ShouldStop(131072);
_n = BA.ObjectToString("Sin Usuario");Debug.locals.put("n", _n);Debug.locals.put("n", _n);
 BA.debugLineNum = 1619;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(262144);
{
final RemoteObject group20 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen20 = group20.runMethod(true,"getSize").<Integer>get()
;int index20 = 0;
;
for (; index20 < groupLen20;index20++){
_records = (group20.runMethod(false,"Get",index20));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1620;BA.debugLine="n = records(RESULT.Columns.Get(\"USUARIO\"))";
Debug.ShouldStop(524288);
_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 = 1622;BA.debugLine="LogColor(\"**************************  \" & n, C";
Debug.ShouldStop(2097152);
c_principal.__c.runVoidMethod ("LogImpl","03735582",RemoteObject.concat(RemoteObject.createImmutable("**************************  "),_n),c_principal.__c.getField(false,"Colors").getField(true,"Green"));
 BA.debugLineNum = 1623;BA.debugLine="If n = \"OKActivo\"  Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",_n,BA.ObjectToString("OKActivo"))) { 
 BA.debugLineNum = 1624;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(8388608);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 1625;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1626;BA.debugLine="cmd.Name = \"select_ruta_GV2_70_14\"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_ruta_GV2_70_14"));
 BA.debugLineNum = 1627;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,e_ru";
Debug.ShouldStop(67108864);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_usuario" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1628;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd";
Debug.ShouldStop(134217728);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("ruta"))));
 }else {
 BA.debugLineNum = 1631;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i";
Debug.ShouldStop(1073741824);
c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 BA.debugLineNum = 1632;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f";
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 usuarioa")));
 BA.debugLineNum = 1633;BA.debugLine="ExitApplication";
Debug.ShouldStop(1);
c_principal.__c.runVoidMethod ("ExitApplication");
 };
 };
 };
 BA.debugLineNum = 1639;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1640;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(128);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 1641;BA.debugLine="If RESULT.Tag = \"FOTO\" Then 'query tag";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("FOTO")))) { 
 BA.debugLineNum = 1643;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(1024);
{
final RemoteObject group40 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen40 = group40.runMethod(true,"getSize").<Integer>get()
;int index40 = 0;
;
for (; index40 < groupLen40;index40++){
_records = (group40.runMethod(false,"Get",index40));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1646;BA.debugLine="Dim CODIGO As String = records(RESULT.Columns";
Debug.ShouldStop(8192);
_codigo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_FOTO")))))));Debug.locals.put("CODIGO", _codigo);Debug.locals.put("CODIGO", _codigo);
 BA.debugLineNum = 1647;BA.debugLine="Dim FOTOS As String = records(RESULT.Columns.";
Debug.ShouldStop(16384);
_fotos = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLIENTE")))))));Debug.locals.put("FOTOS", _fotos);Debug.locals.put("FOTOS", _fotos);
 BA.debugLineNum = 1648;BA.debugLine="Dim BANDERA As String = records(RESULT.Column";
Debug.ShouldStop(32768);
_bandera = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_BFOTO")))))));Debug.locals.put("BANDERA", _bandera);Debug.locals.put("BANDERA", _bandera);
 BA.debugLineNum = 1650;BA.debugLine="Dim fot As Cursor = Starter.skmt.ExecQuery($\"";
Debug.ShouldStop(131072);
_fot = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_fot = 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 * FROM FOTOS WHERE CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_codigo))),RemoteObject.createImmutable("'"))))));Debug.locals.put("fot", _fot);Debug.locals.put("fot", _fot);
 BA.debugLineNum = 1651;BA.debugLine="If fot.RowCount = 0 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",_fot.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1652;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO FOTO";
Debug.ShouldStop(524288);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO FOTOS(CLIENTE,FOTO,MOVIMIENTO) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_codigo),(_fotos),(_bandera)})))));
 }else {
 BA.debugLineNum = 1654;BA.debugLine="fot.Position = 0";
Debug.ShouldStop(2097152);
_fot.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1655;BA.debugLine="If fot.GetString(\"MOVIMIENTO\") > BANDERA The";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _fot.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MOVIMIENTO")))),BA.numberCast(double.class, _bandera))) { 
 BA.debugLineNum = 1656;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE FOTOS SE";
Debug.ShouldStop(8388608);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE FOTOS SET FOTO = ?, MOVIMIENTO = ? IN (SELECT CUENTA FROM CUENTAA)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_fotos),(_bandera)})))));
 };
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1664;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1665;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(1);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 1666;BA.debugLine="If RESULT.Tag = \"giro\" Then 'query tag";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("giro")))) { 
 BA.debugLineNum = 1667;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(4);
{
final RemoteObject group59 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen59 = group59.runMethod(true,"getSize").<Integer>get()
;int index59 = 0;
;
for (; index59 < groupLen59;index59++){
_records = (group59.runMethod(false,"Get",index59));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1668;BA.debugLine="Dim giro  As String = records(RESULT.Columns.";
Debug.ShouldStop(8);
_giro = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GR_DESCRIPCION")))))));Debug.locals.put("giro", _giro);Debug.locals.put("giro", _giro);
 BA.debugLineNum = 1670;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G";
Debug.ShouldStop(32);
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 = 1676;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1677;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(4096);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 1678;BA.debugLine="If RESULT.Tag = \"select_abonosp\" Then 'query ta";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("select_abonosp")))) { 
 BA.debugLineNum = 1679;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr";
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 ABONOSP")));
 BA.debugLineNum = 1680;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(32768);
{
final RemoteObject group69 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen69 = group69.runMethod(true,"getSize").<Integer>get()
;int index69 = 0;
;
for (; index69 < groupLen69;index69++){
_records = (group69.runMethod(false,"Get",index69));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1681;BA.debugLine="Dim NOTA As String = records(RESULT.Columns.G";
Debug.ShouldStop(65536);
_nota = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("NOTA")))))));Debug.locals.put("NOTA", _nota);Debug.locals.put("NOTA", _nota);
 BA.debugLineNum = 1682;BA.debugLine="Dim CLIENTE As String = records(RESULT.Column";
Debug.ShouldStop(131072);
_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CLIENTE")))))));Debug.locals.put("CLIENTE", _cliente);Debug.locals.put("CLIENTE", _cliente);
 BA.debugLineNum = 1683;BA.debugLine="Dim SALDO_PENDIENTE As String = records(RESUL";
Debug.ShouldStop(262144);
_saldo_pendiente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("SALDO_PENDIENTE")))))));Debug.locals.put("SALDO_PENDIENTE", _saldo_pendiente);Debug.locals.put("SALDO_PENDIENTE", _saldo_pendiente);
 BA.debugLineNum = 1685;BA.debugLine="Dim FECHA_PAGARE As String = records(RESULT.C";
Debug.ShouldStop(1048576);
_fecha_pagare = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("FECHA_PREVENTA")))))));Debug.locals.put("FECHA_PAGARE", _fecha_pagare);Debug.locals.put("FECHA_PAGARE", _fecha_pagare);
 BA.debugLineNum = 1686;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ABONO";
Debug.ShouldStop(2097152);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO ABONOSP(NOTA,CLIENTE,SALDO_PENDIENTE,FECHA) VALUES (?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(_nota),(_cliente),(_saldo_pendiente),(_fecha_pagare)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1691;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1692;BA.debugLine="Dim result1 As DBResult = B4XPages.MainPage.req";
Debug.ShouldStop(134217728);
_result1 = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result1", _result1);Debug.locals.put("result1", _result1);
 BA.debugLineNum = 1693;BA.debugLine="If result1.Tag = \"CHECAENCUESTA\" Then 'query ta";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",_result1.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("CHECAENCUESTA")))) { 
 BA.debugLineNum = 1694;BA.debugLine="For Each records() As Object In result1.Rows";
Debug.ShouldStop(536870912);
{
final RemoteObject group81 = _result1.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen81 = group81.runMethod(true,"getSize").<Integer>get()
;int index81 = 0;
;
for (; index81 < groupLen81;index81++){
_records = (group81.runMethod(false,"Get",index81));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1695;BA.debugLine="Dim CUANTOSENCUESTA As String = records(resul";
Debug.ShouldStop(1073741824);
_cuantosencuesta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result1.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CUANTOS")))))));Debug.locals.put("CUANTOSENCUESTA", _cuantosencuesta);Debug.locals.put("CUANTOSENCUESTA", _cuantosencuesta);
 BA.debugLineNum = 1696;BA.debugLine="Log(CUANTOSENCUESTA)";
Debug.ShouldStop(-2147483648);
c_principal.__c.runVoidMethod ("LogImpl","03735656",_cuantosencuesta,0);
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1698;BA.debugLine="Dim sDate,sTime As String";
Debug.ShouldStop(2);
c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate);
c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime);
 BA.debugLineNum = 1699;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(4);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 1700;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(8);
__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 = 1701;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(16);
__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 = 1702;BA.debugLine="If CUANTOSENCUESTA = \"0\" Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_cuantosencuesta,BA.ObjectToString("0"))) { 
 BA.debugLineNum = 1703;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(64);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1704;BA.debugLine="cmd.Name =\"insert_drop_GV2_4\"";
Debug.ShouldStop(128);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_GV2_4"));
 BA.debugLineNum = 1705;BA.debugLine="cmd.Parameters = Array As Object(usuario,B4XP";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {13},new Object[] {(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_principal" /*RemoteObject*/ ).getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_sdate" /*RemoteObject*/ )),RemoteObject.createImmutable(("")),(__ref.getField(true,"_stime" /*RemoteObject*/ )),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("ENCUESTA")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName")),(c_principal._starter._encuesta /*RemoteObject*/ )}));
 BA.debugLineNum = 1706;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
Debug.ShouldStop(512);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_drop"))));
 };
 };
 };
 BA.debugLineNum = 1711;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1712;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(32768);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 1713;BA.debugLine="If RESULT.Tag = \"traeFechaFotosGuna\" Then 'quer";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("traeFechaFotosGuna")))) { 
 BA.debugLineNum = 1714;BA.debugLine="Subs.logJobDoneResultados(RESULT)";
Debug.ShouldStop(131072);
c_principal._subs.runVoidMethod ("_logjobdoneresultados" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_result));
 BA.debugLineNum = 1716;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(524288);
{
final RemoteObject group101 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen101 = group101.runMethod(true,"getSize").<Integer>get()
;int index101 = 0;
;
for (; index101 < groupLen101;index101++){
_records = (group101.runMethod(false,"Get",index101));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1717;BA.debugLine="Private fecha As String = records(RESULT.Colu";
Debug.ShouldStop(1048576);
c_principal._fecha = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_FOTO_FECHA")))))));__ref.setField("_fecha",c_principal._fecha);
 BA.debugLineNum = 1718;BA.debugLine="Private CLIENTE As String = records(RESULT.Co";
Debug.ShouldStop(2097152);
_cliente = 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("CLIENTE", _cliente);Debug.locals.put("CLIENTE", _cliente);
 BA.debugLineNum = 1719;BA.debugLine="Private f As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(4194304);
c_principal._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
c_principal._f = 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 * from fotos where cliente = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("' and fecha = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_fecha" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))));__ref.setField("_f",c_principal._f);
 BA.debugLineNum = 1720;BA.debugLine="Log(\"==> EXISTE LA FOTO:\" & f.RowCount)";
Debug.ShouldStop(8388608);
c_principal.__c.runVoidMethod ("LogImpl","03735680",RemoteObject.concat(RemoteObject.createImmutable("==> EXISTE LA FOTO:"),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0);
 BA.debugLineNum = 1721;BA.debugLine="If f.RowCount = 0 Then";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1722;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1723;BA.debugLine="cmd.Name = \"traeFotoGuna\"";
Debug.ShouldStop(67108864);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("traeFotoGuna"));
 BA.debugLineNum = 1724;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_";
Debug.ShouldStop(134217728);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(_cliente)}));
 BA.debugLineNum = 1725;BA.debugLine="Log(\"BUSCAMOS FOTO: \" & ALMACEN &\"|\" & e_rut";
Debug.ShouldStop(268435456);
c_principal.__c.runVoidMethod ("LogImpl","03735685",RemoteObject.concat(RemoteObject.createImmutable("BUSCAMOS FOTO: "),__ref.getField(true,"_almacen" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("|"),_cliente),0);
 BA.debugLineNum = 1726;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cm";
Debug.ShouldStop(536870912);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("traeFotoGuna_"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable(""))))));
 BA.debugLineNum = 1727;BA.debugLine="Log($\"==>>  traeFotoGuna_${CLIENTE}\"$)";
Debug.ShouldStop(1073741824);
c_principal.__c.runVoidMethod ("LogImpl","03735687",(RemoteObject.concat(RemoteObject.createImmutable("==>>  traeFotoGuna_"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable(""))),0);
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1769;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1770;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(512);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 1771;BA.debugLine="If RESULT.Tag.As(String).Contains(\"traeFotoGuna";
Debug.ShouldStop(1024);
if ((BA.ObjectToString(_result.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"contains",(Object)(RemoteObject.createImmutable("traeFotoGuna_"))).<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 1772;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(2048);
{
final RemoteObject group120 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen120 = group120.runMethod(true,"getSize").<Integer>get()
;int index120 = 0;
;
for (; index120 < groupLen120;index120++){
_records = (group120.runMethod(false,"Get",index120));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1773;BA.debugLine="Private FOTO() As Byte = records(RESULT.Colum";
Debug.ShouldStop(4096);
_foto = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_FOTO")))))));Debug.locals.put("FOTO", _foto);Debug.locals.put("FOTO", _foto);
 BA.debugLineNum = 1774;BA.debugLine="Private CLIENTE As String = records(RESULT.Co";
Debug.ShouldStop(8192);
_cliente = 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("CLIENTE", _cliente);Debug.locals.put("CLIENTE", _cliente);
 BA.debugLineNum = 1775;BA.debugLine="Private fecha As String = records(RESULT.Colu";
Debug.ShouldStop(16384);
c_principal._fecha = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_FOTO_FECHA")))))));__ref.setField("_fecha",c_principal._fecha);
 BA.debugLineNum = 1776;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE from FOTOS";
Debug.ShouldStop(32768);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("DELETE from FOTOS where CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("'")))));
 BA.debugLineNum = 1777;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO FOTOS";
Debug.ShouldStop(65536);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO FOTOS(CLIENTE,FOTO,FECHA) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_cliente),(_foto),(__ref.getField(true,"_fecha" /*RemoteObject*/ ))})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1782;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1783;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(4194304);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 1784;BA.debugLine="If RESULT.Tag.As(String).Contains(\"traecodigos\"";
Debug.ShouldStop(8388608);
if ((BA.ObjectToString(_result.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"contains",(Object)(RemoteObject.createImmutable("traecodigos"))).<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 1785;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(16777216);
{
final RemoteObject group132 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen132 = group132.runMethod(true,"getSize").<Integer>get()
;int index132 = 0;
;
for (; index132 < groupLen132;index132++){
_records = (group132.runMethod(false,"Get",index132));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1786;BA.debugLine="Private CODIGOCREDITO As String = records(RES";
Debug.ShouldStop(33554432);
_codigocredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLABE")))))));Debug.locals.put("CODIGOCREDITO", _codigocredito);Debug.locals.put("CODIGOCREDITO", _codigocredito);
 BA.debugLineNum = 1787;BA.debugLine="Private BANDERACREDITO As String = records(RE";
Debug.ShouldStop(67108864);
_banderacredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CTA")))))));Debug.locals.put("BANDERACREDITO", _banderacredito);Debug.locals.put("BANDERACREDITO", _banderacredito);
 BA.debugLineNum = 1788;BA.debugLine="Private CLIENTECREDITO As String = records(RE";
Debug.ShouldStop(134217728);
_clientecredito = 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("CLIENTECREDITO", _clientecredito);Debug.locals.put("CLIENTECREDITO", _clientecredito);
 BA.debugLineNum = 1790;BA.debugLine="If l_ruta.Text = \"0\" Then";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { 
 BA.debugLineNum = 1791;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CODI";
Debug.ShouldStop(1073741824);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CODIGOS_CREDITO(CODIGO,BANDERA,CLIENTE) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_codigocredito),(_banderacredito),(_clientecredito)})))));
 }else {
 BA.debugLineNum = 1793;BA.debugLine="Private hdsgf As Cursor = Starter.skmt.ExecQ";
Debug.ShouldStop(1);
_hdsgf = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_hdsgf = 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 * FROM CODIGOS_CREDITO where CODIGO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_codigocredito))),RemoteObject.createImmutable("' and BANDERA = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_banderacredito))),RemoteObject.createImmutable("' and CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clientecredito))),RemoteObject.createImmutable("' "))))));Debug.locals.put("hdsgf", _hdsgf);Debug.locals.put("hdsgf", _hdsgf);
 BA.debugLineNum = 1794;BA.debugLine="If hdsgf.RowCount = 0 Then";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",_hdsgf.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1795;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO COD";
Debug.ShouldStop(4);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CODIGOS_CREDITO(CODIGO,BANDERA,CLIENTE) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_codigocredito),(_banderacredito),(_clientecredito)})))));
 }else {
 BA.debugLineNum = 1797;BA.debugLine="Log(\"NO ENTRO\")";
Debug.ShouldStop(16);
c_principal.__c.runVoidMethod ("LogImpl","03735757",RemoteObject.createImmutable("NO ENTRO"),0);
 };
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1807;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1808;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(32768);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 1809;BA.debugLine="If RESULT.Tag = \"kmt_datos\" Then 'query tag";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("kmt_datos")))) { 
 BA.debugLineNum = 1810;BA.debugLine="S_CC.TEXT = \"CARGANDO\"";
Debug.ShouldStop(131072);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 BA.debugLineNum = 1811;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(262144);
{
final RemoteObject group153 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen153 = group153.runMethod(true,"getSize").<Integer>get()
;int index153 = 0;
;
for (; index153 < groupLen153;index153++){
_records = (group153.runMethod(false,"Get",index153));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1812;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT.";
Debug.ShouldStop(524288);
_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 = 1813;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co";
Debug.ShouldStop(1048576);
_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 = 1814;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT.";
Debug.ShouldStop(2097152);
_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 = 1815;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL";
Debug.ShouldStop(4194304);
_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 = 1816;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL";
Debug.ShouldStop(8388608);
_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 = 1817;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL";
Debug.ShouldStop(16777216);
_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 = 1818;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C";
Debug.ShouldStop(33554432);
_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 = 1819;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C";
Debug.ShouldStop(67108864);
_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 = 1820;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C";
Debug.ShouldStop(134217728);
_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 = 1821;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C";
Debug.ShouldStop(268435456);
_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 = 1822;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT.";
Debug.ShouldStop(536870912);
_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 = 1823;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT.";
Debug.ShouldStop(1073741824);
_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 = 1824;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT";
Debug.ShouldStop(-2147483648);
_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 = 1825;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co";
Debug.ShouldStop(1);
_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 = 1826;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col";
Debug.ShouldStop(2);
_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 = 1827;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu";
Debug.ShouldStop(4);
_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 = 1828;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co";
Debug.ShouldStop(8);
_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 = 1829;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col";
Debug.ShouldStop(16);
_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 = 1830;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(RESULT.Co";
Debug.ShouldStop(32);
_cat_cl_foto = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_FOTO")))))));Debug.locals.put("CAT_CL_FOTO", _cat_cl_foto);Debug.locals.put("CAT_CL_FOTO", _cat_cl_foto);
 BA.debugLineNum = 1831;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU";
Debug.ShouldStop(64);
_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 = 1832;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record";
Debug.ShouldStop(128);
_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 = 1833;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE";
Debug.ShouldStop(256);
_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 = 1834;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records(";
Debug.ShouldStop(512);
_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 = 1835;BA.debugLine="Dim CAT_CL_DIASCREDITO As String = records(RE";
Debug.ShouldStop(1024);
_cat_cl_diascredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_DIASCREDITO")))))));Debug.locals.put("CAT_CL_DIASCREDITO", _cat_cl_diascredito);Debug.locals.put("CAT_CL_DIASCREDITO", _cat_cl_diascredito);
 BA.debugLineNum = 1836;BA.debugLine="Dim CAT_CL_CLASIFICADOR4 As String = records(";
Debug.ShouldStop(2048);
_cat_cl_clasificador4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLASIFICADOR4")))))));Debug.locals.put("CAT_CL_CLASIFICADOR4", _cat_cl_clasificador4);Debug.locals.put("CAT_CL_CLASIFICADOR4", _cat_cl_clasificador4);
 BA.debugLineNum = 1837;BA.debugLine="Dim CAT_CL_CLASIFICADOR3 As String = records(";
Debug.ShouldStop(4096);
_cat_cl_clasificador3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLASIFICADOR3")))))));Debug.locals.put("CAT_CL_CLASIFICADOR3", _cat_cl_clasificador3);Debug.locals.put("CAT_CL_CLASIFICADOR3", _cat_cl_clasificador3);
 BA.debugLineNum = 1838;BA.debugLine="Dim CAT_CL_CLASIFICADOR2 As String = records(";
Debug.ShouldStop(8192);
_cat_cl_clasificador2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLASIFICADOR2")))))));Debug.locals.put("CAT_CL_CLASIFICADOR2", _cat_cl_clasificador2);Debug.locals.put("CAT_CL_CLASIFICADOR2", _cat_cl_clasificador2);
 BA.debugLineNum = 1842;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL";
Debug.ShouldStop(131072);
_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 = 1843;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 kmt_info3(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_BCREDITO,CAT_CL_TIPOCLIENTE,FOTO,CAT_CL_LIMITECREDITO,CAT_CL_DIASCREDITO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR2,CAT_CL_CLASIFICADOR4) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {28},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_tipocliente),(_cat_cl_foto),(_cat_cl_limitecredito),(_cat_cl_diascredito),(_cat_cl_clasificador3),(_cat_cl_clasificador2),(_cat_cl_clasificador4)})))));
 BA.debugLineNum = 1845;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 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 = 1847;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I";
Debug.ShouldStop(4194304);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info3(CAT_CL_CODIGO, CAT_CL_RUTA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_NUM_SERIEFISICO) VALUES (?,?,?,0,0,0)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {RemoteObject.createImmutable(("0")),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.createImmutable("ABORDO"))})))));
 BA.debugLineNum = 1848;BA.debugLine="Listo1 = 1";
Debug.ShouldStop(8388608);
__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1849;BA.debugLine="S_CC.Text = \"LISTO\"";
Debug.ShouldStop(16777216);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 BA.debugLineNum = 1851;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(67108864);
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 = 1853;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(268435456);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1854;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(536870912);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 };
 };
 BA.debugLineNum = 1860;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1861;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(16);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 1862;BA.debugLine="If RESULT.Tag = \"kmt_CAT_CATCLIENTESTODOS\" Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("kmt_CAT_CATCLIENTESTODOS")))) { 
 BA.debugLineNum = 1864;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(128);
{
final RemoteObject group197 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen197 = group197.runMethod(true,"getSize").<Integer>get()
;int index197 = 0;
;
for (; index197 < groupLen197;index197++){
_records = (group197.runMethod(false,"Get",index197));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1865;BA.debugLine="Dim CAT_CL_TIPO_RUTA As String = records(RESU";
Debug.ShouldStop(256);
_cat_cl_tipo_ruta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_TIPO_RUTA")))))));Debug.locals.put("CAT_CL_TIPO_RUTA", _cat_cl_tipo_ruta);Debug.locals.put("CAT_CL_TIPO_RUTA", _cat_cl_tipo_ruta);
 BA.debugLineNum = 1866;BA.debugLine="Dim CAT_CL_DIAS_VISITA As String = records(RE";
Debug.ShouldStop(512);
_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 = 1867;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT.";
Debug.ShouldStop(1024);
_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 = 1869;BA.debugLine="Dim CAT_CL_CLASIFICADOR3 As String = records(";
Debug.ShouldStop(4096);
_cat_cl_clasificador3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLASIFICADOR3")))))));Debug.locals.put("CAT_CL_CLASIFICADOR3", _cat_cl_clasificador3);Debug.locals.put("CAT_CL_CLASIFICADOR3", _cat_cl_clasificador3);
 BA.debugLineNum = 1870;BA.debugLine="Dim CAT_CL_CLASIFICADOR4 As String = records(";
Debug.ShouldStop(8192);
_cat_cl_clasificador4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLASIFICADOR4")))))));Debug.locals.put("CAT_CL_CLASIFICADOR4", _cat_cl_clasificador4);Debug.locals.put("CAT_CL_CLASIFICADOR4", _cat_cl_clasificador4);
 BA.debugLineNum = 1871;BA.debugLine="Dim CAT_CL_CLASIFICADOR2 As String = records(";
Debug.ShouldStop(16384);
_cat_cl_clasificador2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_CLASIFICADOR2")))))));Debug.locals.put("CAT_CL_CLASIFICADOR2", _cat_cl_clasificador2);Debug.locals.put("CAT_CL_CLASIFICADOR2", _cat_cl_clasificador2);
 BA.debugLineNum = 1872;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co";
Debug.ShouldStop(32768);
_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 = 1873;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT.";
Debug.ShouldStop(65536);
_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 = 1874;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL";
Debug.ShouldStop(131072);
_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 = 1875;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL";
Debug.ShouldStop(262144);
_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 = 1876;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL";
Debug.ShouldStop(524288);
_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 = 1877;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C";
Debug.ShouldStop(1048576);
_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 = 1878;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C";
Debug.ShouldStop(2097152);
_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 = 1879;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C";
Debug.ShouldStop(4194304);
_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 = 1880;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C";
Debug.ShouldStop(8388608);
_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 = 1881;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT.";
Debug.ShouldStop(16777216);
_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 = 1882;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT.";
Debug.ShouldStop(33554432);
_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 = 1883;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT";
Debug.ShouldStop(67108864);
_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 = 1884;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co";
Debug.ShouldStop(134217728);
_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 = 1885;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col";
Debug.ShouldStop(268435456);
_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 = 1886;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu";
Debug.ShouldStop(536870912);
_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 = 1887;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co";
Debug.ShouldStop(1073741824);
_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 = 1888;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col";
Debug.ShouldStop(-2147483648);
_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 = 1889;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU";
Debug.ShouldStop(1);
_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 = 1890;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record";
Debug.ShouldStop(2);
_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 = 1891;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL";
Debug.ShouldStop(4);
_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 = 1892;BA.debugLine="Dim CAT_CL_DIASCREDITO As String = records(RE";
Debug.ShouldStop(8);
_cat_cl_diascredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_DIASCREDITO")))))));Debug.locals.put("CAT_CL_DIASCREDITO", _cat_cl_diascredito);Debug.locals.put("CAT_CL_DIASCREDITO", _cat_cl_diascredito);
 BA.debugLineNum = 1893;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE";
Debug.ShouldStop(16);
_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 = 1894;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records(";
Debug.ShouldStop(32);
_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 = 1899;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL";
Debug.ShouldStop(1024);
_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 = 1900;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(2048);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_CATCLIENTESTODOS(CAT_CL_TIPO_RUTA,CAT_CL_DIAS_VISITA,CAT_CL_CODIGO,CAT_CL_FOTO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR4,CAT_CL_CLASIFICADOR2,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_DIASCREDITO,CAT_CL_TIPOCLIENTE,CAT_CL_LIMITECREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {30},new Object[] {(_cat_cl_tipo_ruta),(_cat_cl_dias_visita),(_cat_cl_codigo),(_cat_cl_foto),(_cat_cl_clasificador3),(_cat_cl_clasificador4),(_cat_cl_clasificador2),(_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_diascredito),(_cat_cl_tipocliente),(_cat_cl_limitecredito)})))));
 BA.debugLineNum = 1902;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 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 = 1909;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1910;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(2097152);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 1911;BA.debugLine="If RESULT.Tag = \"kmt_datos2\" Then 'query tag";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("kmt_datos2")))) { 
 BA.debugLineNum = 1912;BA.debugLine="S_CC.TEXT = \"CARGANDO\"";
Debug.ShouldStop(8388608);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 BA.debugLineNum = 1913;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(16777216);
{
final RemoteObject group237 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen237 = group237.runMethod(true,"getSize").<Integer>get()
;int index237 = 0;
;
for (; index237 < groupLen237;index237++){
_records = (group237.runMethod(false,"Get",index237));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1914;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT.";
Debug.ShouldStop(33554432);
_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 = 1915;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co";
Debug.ShouldStop(67108864);
_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 = 1916;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT.";
Debug.ShouldStop(134217728);
_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 = 1917;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL";
Debug.ShouldStop(268435456);
_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 = 1918;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL";
Debug.ShouldStop(536870912);
_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 = 1919;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL";
Debug.ShouldStop(1073741824);
_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 = 1920;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C";
Debug.ShouldStop(-2147483648);
_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 = 1921;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C";
Debug.ShouldStop(1);
_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 = 1922;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C";
Debug.ShouldStop(2);
_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 = 1923;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C";
Debug.ShouldStop(4);
_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 = 1924;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT.";
Debug.ShouldStop(8);
_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 = 1925;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT.";
Debug.ShouldStop(16);
_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 = 1926;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT";
Debug.ShouldStop(32);
_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 = 1927;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co";
Debug.ShouldStop(64);
_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 = 1928;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col";
Debug.ShouldStop(128);
_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 = 1929;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu";
Debug.ShouldStop(256);
_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 = 1930;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co";
Debug.ShouldStop(512);
_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 = 1931;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col";
Debug.ShouldStop(1024);
_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 = 1932;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU";
Debug.ShouldStop(2048);
_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 = 1933;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record";
Debug.ShouldStop(4096);
_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 = 1934;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE";
Debug.ShouldStop(8192);
_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 = 1935;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(RESULT.Co";
Debug.ShouldStop(16384);
_cat_cl_foto = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_FOTO")))))));Debug.locals.put("CAT_CL_FOTO", _cat_cl_foto);Debug.locals.put("CAT_CL_FOTO", _cat_cl_foto);
 BA.debugLineNum = 1938;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL";
Debug.ShouldStop(131072);
_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 = 1939;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 kmt_info3(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_BCREDITO,CAT_CL_TIPOCLIENTE,FOTO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {23},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_tipocliente),(_cat_cl_foto)})))));
 BA.debugLineNum = 1942;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 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 = 1944;BA.debugLine="Listo1 = 1";
Debug.ShouldStop(8388608);
__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1945;BA.debugLine="S_CC.Text = \"LISTO\"";
Debug.ShouldStop(16777216);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 BA.debugLineNum = 1947;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(67108864);
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 = 1949;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(268435456);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1950;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(536870912);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 };
 };
 BA.debugLineNum = 2014;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2015;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(1073741824);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2016;BA.debugLine="If RESULT.Tag = \"hist_promos\" Then 'query tag";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_promos")))) { 
 BA.debugLineNum = 2017;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(1);
{
final RemoteObject group275 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen275 = group275.runMethod(true,"getSize").<Integer>get()
;int index275 = 0;
;
for (; index275 < groupLen275;index275++){
_records = (group275.runMethod(false,"Get",index275));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2018;BA.debugLine="Dim HP_CLIENTE As String = records(RESULT.Col";
Debug.ShouldStop(2);
_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 = 2019;BA.debugLine="Dim HP_CODIGO_PROMOCION As String = records(R";
Debug.ShouldStop(4);
_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 = 2020;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 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 = 2023;BA.debugLine="If PB1.Progress = 0 Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2024;BA.debugLine="PB1.Progress = 30";
Debug.ShouldStop(128);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 2025;BA.debugLine="S_CH.Text = \"CARGANDO\"";
Debug.ShouldStop(256);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 2026;BA.debugLine="ELSE If PB1.Progress = 30 Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 2027;BA.debugLine="PB1.Progress = 60";
Debug.ShouldStop(1024);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 2028;BA.debugLine="ELSE IF PB1.Progress = 60 Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 2029;BA.debugLine="PB1.Progress = 100";
Debug.ShouldStop(4096);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2030;BA.debugLine="S_CH.Text = \"LISTO\"";
Debug.ShouldStop(8192);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 };
 };
 BA.debugLineNum = 2035;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2036;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(524288);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2037;BA.debugLine="If RESULT.Tag = \"histespecial\" Then 'query tag";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("histespecial")))) { 
 BA.debugLineNum = 2038;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(2097152);
{
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 = 2039;BA.debugLine="Dim CLIENTE As String = records(RESULT.Column";
Debug.ShouldStop(4194304);
_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CLIENTE")))))));Debug.locals.put("CLIENTE", _cliente);Debug.locals.put("CLIENTE", _cliente);
 BA.debugLineNum = 2040;BA.debugLine="Dim PROMOCION As String = records(RESULT.Colu";
Debug.ShouldStop(8388608);
_promocion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("PRMOCION")))))));Debug.locals.put("PROMOCION", _promocion);Debug.locals.put("PROMOCION", _promocion);
 BA.debugLineNum = 2041;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(16777216);
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[] {(_cliente),(_promocion)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2044;BA.debugLine="If PB1.Progress = 0 Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2045;BA.debugLine="PB1.Progress = 30";
Debug.ShouldStop(268435456);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 2046;BA.debugLine="S_CH.Text = \"CARGANDO\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 2047;BA.debugLine="ELSE If PB1.Progress = 30 Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 2048;BA.debugLine="PB1.Progress = 60";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 2049;BA.debugLine="ELSE IF PB1.Progress = 60 Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 2050;BA.debugLine="PB1.Progress = 100";
Debug.ShouldStop(2);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2051;BA.debugLine="S_CH.Text = \"LISTO\"";
Debug.ShouldStop(4);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 };
 };
 BA.debugLineNum = 2056;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2057;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(256);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2058;BA.debugLine="If RESULT.Tag = \"hist_cliente_promos\" Then 'que";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_cliente_promos")))) { 
 BA.debugLineNum = 2059;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(1024);
{
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 = 2060;BA.debugLine="Dim HCCP_CLIENTE As String = records(RESULT.C";
Debug.ShouldStop(2048);
_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 = 2061;BA.debugLine="Dim HCCP_PROMO As String = records(RESULT.Col";
Debug.ShouldStop(4096);
_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 = 2062;BA.debugLine="Dim HCCP_CANT As String = records(RESULT.Colu";
Debug.ShouldStop(8192);
_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 = 2063;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 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 = 2069;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2070;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(2097152);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2071;BA.debugLine="If RESULT.Tag = \"promodesp\" Then 'query tag";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("promodesp")))) { 
 BA.debugLineNum = 2072;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(8388608);
{
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 = 2073;BA.debugLine="Dim CAT_PD_ALMACEN As String = records(RESULT";
Debug.ShouldStop(16777216);
_cat_pd_almacen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_ALMACEN")))))));Debug.locals.put("CAT_PD_ALMACEN", _cat_pd_almacen);Debug.locals.put("CAT_PD_ALMACEN", _cat_pd_almacen);
 BA.debugLineNum = 2074;BA.debugLine="Dim CAT_PD_COD_PROMO As String = records(RESU";
Debug.ShouldStop(33554432);
_cat_pd_cod_promo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_COD_PROMO")))))));Debug.locals.put("CAT_PD_COD_PROMO", _cat_pd_cod_promo);Debug.locals.put("CAT_PD_COD_PROMO", _cat_pd_cod_promo);
 BA.debugLineNum = 2075;BA.debugLine="Dim CAT_PD_RANGO As String = records(RESULT.C";
Debug.ShouldStop(67108864);
_cat_pd_rango = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_RANGO")))))));Debug.locals.put("CAT_PD_RANGO", _cat_pd_rango);Debug.locals.put("CAT_PD_RANGO", _cat_pd_rango);
 BA.debugLineNum = 2076;BA.debugLine="Dim CAT_PD_RANGO2 As String = records(RESULT.";
Debug.ShouldStop(134217728);
_cat_pd_rango2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_RANGO2")))))));Debug.locals.put("CAT_PD_RANGO2", _cat_pd_rango2);Debug.locals.put("CAT_PD_RANGO2", _cat_pd_rango2);
 BA.debugLineNum = 2077;BA.debugLine="Dim CAT_PD_VIGENCIA As String = records(RESUL";
Debug.ShouldStop(268435456);
_cat_pd_vigencia = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_VIGENCIA")))))));Debug.locals.put("CAT_PD_VIGENCIA", _cat_pd_vigencia);Debug.locals.put("CAT_PD_VIGENCIA", _cat_pd_vigencia);
 BA.debugLineNum = 2078;BA.debugLine="Dim CAT_PD_DESCUENTO As String = records(RESU";
Debug.ShouldStop(536870912);
_cat_pd_descuento = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_DESCUENTO")))))));Debug.locals.put("CAT_PD_DESCUENTO", _cat_pd_descuento);Debug.locals.put("CAT_PD_DESCUENTO", _cat_pd_descuento);
 BA.debugLineNum = 2079;BA.debugLine="Dim CAT_PD_PRODUCTO As String = records(RESUL";
Debug.ShouldStop(1073741824);
_cat_pd_producto = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_PRODUCTO")))))));Debug.locals.put("CAT_PD_PRODUCTO", _cat_pd_producto);Debug.locals.put("CAT_PD_PRODUCTO", _cat_pd_producto);
 BA.debugLineNum = 2080;BA.debugLine="Dim CAT_PD_TIER As String = records(RESULT.Co";
Debug.ShouldStop(-2147483648);
_cat_pd_tier = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PD_TIER")))))));Debug.locals.put("CAT_PD_TIER", _cat_pd_tier);Debug.locals.put("CAT_PD_TIER", _cat_pd_tier);
 BA.debugLineNum = 2081;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 CAT_PROMOS_DESCUENTOS(CAT_PD_ALMACEN, CAT_PD_COD_PROMO, CAT_PD_RANGO, CAT_PD_VIGENCIA, CAT_PD_DESCUENTO, CAT_PD_PRODUCTO, CAT_PD_TIER,CAT_PD_RANGO2) VALUES (?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(_cat_pd_almacen),(_cat_pd_cod_promo),(_cat_pd_rango),(_cat_pd_vigencia),(_cat_pd_descuento),(_cat_pd_producto),(_cat_pd_tier),(_cat_pd_rango2)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2086;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2087;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(64);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2088;BA.debugLine="If RESULT.Tag = \"HIST_PROM\" Then 'query tag";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("HIST_PROM")))) { 
 BA.debugLineNum = 2090;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(512);
{
final RemoteObject group340 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen340 = group340.runMethod(true,"getSize").<Integer>get()
;int index340 = 0;
;
for (; index340 < groupLen340;index340++){
_records = (group340.runMethod(false,"Get",index340));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2091;BA.debugLine="Dim HVD_CLIENTE2 As String = records(RESULT.C";
Debug.ShouldStop(1024);
_hvd_cliente2 = 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_CLIENTE2", _hvd_cliente2);Debug.locals.put("HVD_CLIENTE2", _hvd_cliente2);
 BA.debugLineNum = 2092;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(2048);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROMO_ESP(HVD_CLIENTE) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_hvd_cliente2)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2098;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2099;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(262144);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2100;BA.debugLine="If RESULT.Tag = \"HIST_MARCAS_CUOTAS\" Then 'quer";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("HIST_MARCAS_CUOTAS")))) { 
 BA.debugLineNum = 2101;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(1048576);
{
final RemoteObject group349 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen349 = group349.runMethod(true,"getSize").<Integer>get()
;int index349 = 0;
;
for (; index349 < groupLen349;index349++){
_records = (group349.runMethod(false,"Get",index349));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2102;BA.debugLine="Dim HMC_MARCA As String = records(RESULT.Colu";
Debug.ShouldStop(2097152);
_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 = 2103;BA.debugLine="Dim HMC_TOTAL As String = records(RESULT.Colu";
Debug.ShouldStop(4194304);
_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 = 2104;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 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 = 2110;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2111;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(1073741824);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2112;BA.debugLine="If RESULT.Tag = \"coordenadas\" Then 'query tag";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("coordenadas")))) { 
 BA.debugLineNum = 2113;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(1);
{
final RemoteObject group359 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen359 = group359.runMethod(true,"getSize").<Integer>get()
;int index359 = 0;
;
for (; index359 < groupLen359;index359++){
_records = (group359.runMethod(false,"Get",index359));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2114;BA.debugLine="Dim latitud As String = records(RESULT.Column";
Debug.ShouldStop(2);
_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("latitud", _latitud);Debug.locals.put("latitud", _latitud);
 BA.debugLineNum = 2115;BA.debugLine="Dim longitud As String = records(RESULT.Colum";
Debug.ShouldStop(4);
_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("longitud", _longitud);Debug.locals.put("longitud", _longitud);
 BA.debugLineNum = 2116;BA.debugLine="Dim GEOCERCA As String = records(RESULT.Colum";
Debug.ShouldStop(8);
_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("GEOCERCA", _geocerca);Debug.locals.put("GEOCERCA", _geocerca);
 BA.debugLineNum = 2117;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_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(("LATITUD")),(_latitud)})))));
 BA.debugLineNum = 2118;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[] {RemoteObject.createImmutable(("LONGITUD")),(_longitud)})))));
 BA.debugLineNum = 2119;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(("GEOCERCA")),(_geocerca)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2125;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2126;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(8192);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2127;BA.debugLine="If RESULT.Tag = \"password\" Then 'query tag";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("password")))) { 
 BA.debugLineNum = 2128;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(32768);
{
final RemoteObject group372 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen372 = group372.runMethod(true,"getSize").<Integer>get()
;int index372 = 0;
;
for (; index372 < groupLen372;index372++){
_records = (group372.runMethod(false,"Get",index372));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2129;BA.debugLine="Dim password As String = records(RESULT.Colum";
Debug.ShouldStop(65536);
_password = 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("password", _password);Debug.locals.put("password", _password);
 BA.debugLineNum = 2130;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(131072);
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(("pasword")),(_password)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2136;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2137;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(16777216);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2138;BA.debugLine="If RESULT.Tag = \"KMT_VENTAFUTURA\" Then 'query t";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("KMT_VENTAFUTURA")))) { 
 BA.debugLineNum = 2139;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(67108864);
{
final RemoteObject group381 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen381 = group381.runMethod(true,"getSize").<Integer>get()
;int index381 = 0;
;
for (; index381 < groupLen381;index381++){
_records = (group381.runMethod(false,"Get",index381));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2140;BA.debugLine="Dim CAT_RU_VENTAF As String = records(RESULT.";
Debug.ShouldStop(134217728);
_cat_ru_ventaf = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_RU_VENTAF")))))));Debug.locals.put("CAT_RU_VENTAF", _cat_ru_ventaf);Debug.locals.put("CAT_RU_VENTAF", _cat_ru_ventaf);
 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_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(("VENTAFUTURA")),(_cat_ru_ventaf)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2148;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2149;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(16);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2150;BA.debugLine="If RESULT.Tag = \"hist_comp_promos\" Then 'query";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_comp_promos")))) { 
 BA.debugLineNum = 2151;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(64);
{
final RemoteObject group390 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen390 = group390.runMethod(true,"getSize").<Integer>get()
;int index390 = 0;
;
for (; index390 < groupLen390;index390++){
_records = (group390.runMethod(false,"Get",index390));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2152;BA.debugLine="Dim CAT_PA_ID As String = records(RESULT.Colu";
Debug.ShouldStop(128);
_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 = 2153;BA.debugLine="Dim CAT_PA_MAXPROM As String = records(RESULT";
Debug.ShouldStop(256);
_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 = 2154;BA.debugLine="Dim CAT_PA_MAXPROMREC As String = records(RES";
Debug.ShouldStop(512);
_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 = 2155;BA.debugLine="Dim CAT_PA_MAXPROMCLIE As String = records(RE";
Debug.ShouldStop(1024);
_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 = 2156;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(2048);
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 = 2158;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 = 2159;BA.debugLine="PB1.Progress = 30";
Debug.ShouldStop(16384);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 2160;BA.debugLine="S_CH.Text = \"CARGANDO\"";
Debug.ShouldStop(32768);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 2161;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 = 2162;BA.debugLine="PB1.Progress = 60";
Debug.ShouldStop(131072);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 2163;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 = 2164;BA.debugLine="PB1.Progress = 100";
Debug.ShouldStop(524288);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2165;BA.debugLine="S_CH.Text = \"LISTO\"";
Debug.ShouldStop(1048576);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 };
 };
 BA.debugLineNum = 2182;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2183;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(64);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2184;BA.debugLine="If RESULT.Tag = \"marcas_rutas\" Then 'query tag";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("marcas_rutas")))) { 
 BA.debugLineNum = 2185;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(256);
{
final RemoteObject group411 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen411 = group411.runMethod(true,"getSize").<Integer>get()
;int index411 = 0;
;
for (; index411 < groupLen411;index411++){
_records = (group411.runMethod(false,"Get",index411));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2186;BA.debugLine="Dim HVD_MARCA As String = records(RESULT.Colu";
Debug.ShouldStop(512);
_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 = 2187;BA.debugLine="Dim CLIENTES As String = records(RESULT.Colum";
Debug.ShouldStop(1024);
_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 = 2188;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(2048);
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 = 2217;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2218;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(512);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2219;BA.debugLine="If RESULT.Tag = \"COMISIONES\" Then 'query tag";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("COMISIONES")))) { 
 BA.debugLineNum = 2220;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(2048);
{
final RemoteObject group421 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen421 = group421.runMethod(true,"getSize").<Integer>get()
;int index421 = 0;
;
for (; index421 < groupLen421;index421++){
_records = (group421.runMethod(false,"Get",index421));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2221;BA.debugLine="Dim HCM_TOTAL_V As String = records(RESULT.Co";
Debug.ShouldStop(4096);
_hcm_total_v = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCM_TOTAL_V")))))));Debug.locals.put("HCM_TOTAL_V", _hcm_total_v);Debug.locals.put("HCM_TOTAL_V", _hcm_total_v);
 BA.debugLineNum = 2222;BA.debugLine="Dim HCM_TOTAL_VIVE As String = records(RESULT";
Debug.ShouldStop(8192);
_hcm_total_vive = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCM_TOTAL_VIVE")))))));Debug.locals.put("HCM_TOTAL_VIVE", _hcm_total_vive);Debug.locals.put("HCM_TOTAL_VIVE", _hcm_total_vive);
 BA.debugLineNum = 2223;BA.debugLine="Dim HCM_TOTAL_GUNA As String = records(RESULT";
Debug.ShouldStop(16384);
_hcm_total_guna = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCM_TOTAL_GUNA")))))));Debug.locals.put("HCM_TOTAL_GUNA", _hcm_total_guna);Debug.locals.put("HCM_TOTAL_GUNA", _hcm_total_guna);
 BA.debugLineNum = 2224;BA.debugLine="Dim HCM_TOTAL_BEB As String = records(RESULT.";
Debug.ShouldStop(32768);
_hcm_total_beb = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCM_TOTAL_BEB")))))));Debug.locals.put("HCM_TOTAL_BEB", _hcm_total_beb);Debug.locals.put("HCM_TOTAL_BEB", _hcm_total_beb);
 BA.debugLineNum = 2225;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 HIST_COMISIONES_MOVIL (HCM_TOTAL_V , HCM_TOTAL_VIVE , HCM_TOTAL_GUNA ,	HCM_TOTAL_BEB) VALUES (?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(_hcm_total_v),(_hcm_total_vive),(_hcm_total_guna),(_hcm_total_beb)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2230;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2231;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(4194304);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2232;BA.debugLine="If RESULT.Tag = \"ENCUESTA_CLIENTE\" Then 'query";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ENCUESTA_CLIENTE")))) { 
 BA.debugLineNum = 2233;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(16777216);
{
final RemoteObject group433 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen433 = group433.runMethod(true,"getSize").<Integer>get()
;int index433 = 0;
;
for (; index433 < groupLen433;index433++){
_records = (group433.runMethod(false,"Get",index433));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2234;BA.debugLine="Dim HEC_CLIENTE As String = records(RESULT.Co";
Debug.ShouldStop(33554432);
_hec_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HEC_CLIENTE")))))));Debug.locals.put("HEC_CLIENTE", _hec_cliente);Debug.locals.put("HEC_CLIENTE", _hec_cliente);
 BA.debugLineNum = 2235;BA.debugLine="Dim HEC_MODULO As String = records(RESULT.Col";
Debug.ShouldStop(67108864);
_hec_modulo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HEC_MODULO")))))));Debug.locals.put("HEC_MODULO", _hec_modulo);Debug.locals.put("HEC_MODULO", _hec_modulo);
 BA.debugLineNum = 2236;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(134217728);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_ENCUESTA_CLIENTE (HEC_CLIENTE , HEC_MODULO) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_hec_cliente),(_hec_modulo)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2241;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2242;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(2);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2243;BA.debugLine="If RESULT.Tag = \"promoesp\" Then 'query tag";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("promoesp")))) { 
 BA.debugLineNum = 2244;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr";
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 CAT_PROMO_ESP")));
 BA.debugLineNum = 2245;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(16);
{
final RemoteObject group444 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen444 = group444.runMethod(true,"getSize").<Integer>get()
;int index444 = 0;
;
for (; index444 < groupLen444;index444++){
_records = (group444.runMethod(false,"Get",index444));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2246;BA.debugLine="Dim CAT_PE_ID As String = records(RESULT.Colu";
Debug.ShouldStop(32);
_cat_pe_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PE_ID")))))));Debug.locals.put("CAT_PE_ID", _cat_pe_id);Debug.locals.put("CAT_PE_ID", _cat_pe_id);
 BA.debugLineNum = 2247;BA.debugLine="Dim CAT_PE_IDPROMO As String = records(RESULT";
Debug.ShouldStop(64);
_cat_pe_idpromo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PE_IDPROMO")))))));Debug.locals.put("CAT_PE_IDPROMO", _cat_pe_idpromo);Debug.locals.put("CAT_PE_IDPROMO", _cat_pe_idpromo);
 BA.debugLineNum = 2248;BA.debugLine="Dim CAT_PE_MONTO As String = records(RESULT.C";
Debug.ShouldStop(128);
_cat_pe_monto = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PE_MONTO")))))));Debug.locals.put("CAT_PE_MONTO", _cat_pe_monto);Debug.locals.put("CAT_PE_MONTO", _cat_pe_monto);
 BA.debugLineNum = 2249;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
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 CAT_PROMO_ESP(CAT_PE_ID, CAT_PE_IDPROMO, CAT_PE_MONTO) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_cat_pe_id),(_cat_pe_idpromo),(_cat_pe_monto)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2255;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2256;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(32768);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2257;BA.debugLine="If RESULT.Tag = \"HIST_ENCUESTA2\" Then 'query ta";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("HIST_ENCUESTA2")))) { 
 BA.debugLineNum = 2258;BA.debugLine="B4XPages.MainPage.skmt.BeginTransaction";
Debug.ShouldStop(131072);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("BeginTransaction");
 BA.debugLineNum = 2259;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(262144);
{
final RemoteObject group456 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen456 = group456.runMethod(true,"getSize").<Integer>get()
;int index456 = 0;
;
for (; index456 < groupLen456;index456++){
_records = (group456.runMethod(false,"Get",index456));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2260;BA.debugLine="Dim HE_CLIENTE As String = records(RESULT.Col";
Debug.ShouldStop(524288);
_he_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HE_CLIENTE")))))));Debug.locals.put("HE_CLIENTE", _he_cliente);Debug.locals.put("HE_CLIENTE", _he_cliente);
 BA.debugLineNum = 2261;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 HIST_ENCUESTA2(HE_CLIENTE) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_he_cliente)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2263;BA.debugLine="B4XPages.MainPage.skmt.TransactionSuccessful";
Debug.ShouldStop(4194304);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("TransactionSuccessful");
 BA.debugLineNum = 2264;BA.debugLine="B4XPages.MainPage.skmt.EndTransaction";
Debug.ShouldStop(8388608);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("EndTransaction");
 };
 };
 BA.debugLineNum = 2268;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2269;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(268435456);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2270;BA.debugLine="If RESULT.Tag = \"gunaprod\" Then 'query tag";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprod")))) { 
 BA.debugLineNum = 2271;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND";
Debug.ShouldStop(1073741824);
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 = 2272;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(-2147483648);
{
final RemoteObject group468 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen468 = group468.runMethod(true,"getSize").<Integer>get()
;int index468 = 0;
;
for (; index468 < groupLen468;index468++){
_records = (group468.runMethod(false,"Get",index468));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2273;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
Debug.ShouldStop(1);
_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 = 2274;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
Debug.ShouldStop(2);
_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 = 2275;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
Debug.ShouldStop(4);
_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 = 2276;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
Debug.ShouldStop(8);
_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 = 2277;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT.";
Debug.ShouldStop(16);
_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 = 2278;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
Debug.ShouldStop(32);
_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 = 2279;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
Debug.ShouldStop(64);
_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 = 2280;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
Debug.ShouldStop(128);
_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 = 2281;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
Debug.ShouldStop(256);
_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 = 2282;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
Debug.ShouldStop(512);
_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 = 2283;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
Debug.ShouldStop(1024);
_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 = 2284;BA.debugLine="Dim CAT_GP_DEV As String = records(RESULT.Col";
Debug.ShouldStop(2048);
_cat_gp_dev = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_DEV")))))));Debug.locals.put("CAT_GP_DEV", _cat_gp_dev);Debug.locals.put("CAT_GP_DEV", _cat_gp_dev);
 BA.debugLineNum = 2285;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
Debug.ShouldStop(4096);
_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 = 2286;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT";
Debug.ShouldStop(8192);
_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_GP_INICIATIVA")))))));Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);
 BA.debugLineNum = 2287;BA.debugLine="Dim CAT_LISTAPRECIO As String = records(RESUL";
Debug.ShouldStop(16384);
_cat_listaprecio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LISTAPRECIO")))))));Debug.locals.put("CAT_LISTAPRECIO", _cat_listaprecio);Debug.locals.put("CAT_LISTAPRECIO", _cat_listaprecio);
 BA.debugLineNum = 2288;BA.debugLine="Dim CAT_GP_CONVERSION3 As String = records(RE";
Debug.ShouldStop(32768);
_cat_gp_conversion3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_CONVERSION3")))))));Debug.locals.put("CAT_GP_CONVERSION3", _cat_gp_conversion3);Debug.locals.put("CAT_GP_CONVERSION3", _cat_gp_conversion3);
 BA.debugLineNum = 2289;BA.debugLine="Dim CAT_GP_CONVERSION2 As String = records(RE";
Debug.ShouldStop(65536);
_cat_gp_conversion2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_CONVERSION2")))))));Debug.locals.put("CAT_GP_CONVERSION2", _cat_gp_conversion2);Debug.locals.put("CAT_GP_CONVERSION2", _cat_gp_conversion2);
 BA.debugLineNum = 2293;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_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_GP_INICIATIVA,CAT_LISTAPRECIO, CAT_GP_DEV, CAT_GP_CONVERSION3,CAT_GP_CONVERSION2) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {17},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_listaprecio),(_cat_gp_dev),(_cat_gp_conversion3),(_cat_gp_conversion2)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2295;BA.debugLine="Listo2=1";
Debug.ShouldStop(4194304);
__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 2296;BA.debugLine="If PB2.Progress = 0 Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2297;BA.debugLine="PB2.Progress = 30";
Debug.ShouldStop(16777216);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 2298;BA.debugLine="S_CP.Text = \"CARGANDO\"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 2299;BA.debugLine="ELSE If PB2.Progress = 30 Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 2300;BA.debugLine="PB2.Progress = 60";
Debug.ShouldStop(134217728);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 2301;BA.debugLine="ELSE IF PB2.Progress = 60 Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 2302;BA.debugLine="PB2.Progress = 100";
Debug.ShouldStop(536870912);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2303;BA.debugLine="S_CP.Text = \"LISTO\"";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 BA.debugLineNum = 2306;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(2);
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 = 2308;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(8);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2309;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(16);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 };
 };
 BA.debugLineNum = 2314;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2315;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(1024);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2316;BA.debugLine="If RESULT.Tag = \"gunaprod2\" Then 'query tag";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprod2")))) { 
 BA.debugLineNum = 2317;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND";
Debug.ShouldStop(4096);
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 = 2318;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(8192);
{
final RemoteObject group508 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen508 = group508.runMethod(true,"getSize").<Integer>get()
;int index508 = 0;
;
for (; index508 < groupLen508;index508++){
_records = (group508.runMethod(false,"Get",index508));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2319;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 = 2320;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 = 2321;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 = 2322;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 = 2323;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 = 2324;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 = 2325;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 = 2326;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 = 2327;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 = 2328;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 = 2329;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 = 2331;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
Debug.ShouldStop(67108864);
_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 = 2332;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT";
Debug.ShouldStop(134217728);
_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_GP_INICIATIVA")))))));Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);
 BA.debugLineNum = 2333;BA.debugLine="Dim CAT_GP_CODPROMO As String = records(RESUL";
Debug.ShouldStop(268435456);
_cat_gp_codpromo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_CODPROMO")))))));Debug.locals.put("CAT_GP_CODPROMO", _cat_gp_codpromo);Debug.locals.put("CAT_GP_CODPROMO", _cat_gp_codpromo);
 BA.debugLineNum = 2336;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 CAT_GUNAPROD2(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_GP_CODPROMO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {14},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_gp_codpromo)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2338;BA.debugLine="Listo2=1";
Debug.ShouldStop(2);
__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 2339;BA.debugLine="If PB2.Progress = 0 Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2340;BA.debugLine="PB2.Progress = 30";
Debug.ShouldStop(8);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 2341;BA.debugLine="S_CP.Text = \"CARGANDO\"";
Debug.ShouldStop(16);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 2342;BA.debugLine="ELSE If PB2.Progress = 30 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 2343;BA.debugLine="PB2.Progress = 60";
Debug.ShouldStop(64);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 2344;BA.debugLine="ELSE IF PB2.Progress = 60 Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 2345;BA.debugLine="PB2.Progress = 100";
Debug.ShouldStop(256);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2346;BA.debugLine="S_CP.Text = \"LISTO\"";
Debug.ShouldStop(512);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 BA.debugLineNum = 2349;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(4096);
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 = 2351;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(16384);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2352;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(32768);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 };
 };
 BA.debugLineNum = 2357;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2358;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(2097152);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2359;BA.debugLine="If RESULT.Tag = \"gunaprodp\" Then 'query tag";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprodp")))) { 
 BA.debugLineNum = 2360;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(8388608);
{
final RemoteObject group544 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen544 = group544.runMethod(true,"getSize").<Integer>get()
;int index544 = 0;
;
for (; index544 < groupLen544;index544++){
_records = (group544.runMethod(false,"Get",index544));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2361;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
Debug.ShouldStop(16777216);
_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 = 2362;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
Debug.ShouldStop(33554432);
_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 = 2363;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
Debug.ShouldStop(67108864);
_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 = 2364;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
Debug.ShouldStop(134217728);
_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 = 2365;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT.";
Debug.ShouldStop(268435456);
_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 = 2366;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
Debug.ShouldStop(536870912);
_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 = 2367;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
Debug.ShouldStop(1073741824);
_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 = 2368;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
Debug.ShouldStop(-2147483648);
_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 = 2369;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
Debug.ShouldStop(1);
_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 = 2370;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
Debug.ShouldStop(2);
_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 = 2371;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
Debug.ShouldStop(4);
_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 = 2372;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
Debug.ShouldStop(8);
_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 = 2373;BA.debugLine="Dim CAT_PA_BSEGMENTA As String = records(RESU";
Debug.ShouldStop(16);
_cat_pa_bsegmenta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_BSEGMENTA")))))));Debug.locals.put("CAT_PA_BSEGMENTA", _cat_pa_bsegmenta);Debug.locals.put("CAT_PA_BSEGMENTA", _cat_pa_bsegmenta);
 BA.debugLineNum = 2374;BA.debugLine="Dim CAT_PA_SEGMENTAV As String = records(RESU";
Debug.ShouldStop(32);
_cat_pa_segmentav = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_SEGMENTAV")))))));Debug.locals.put("CAT_PA_SEGMENTAV", _cat_pa_segmentav);Debug.locals.put("CAT_PA_SEGMENTAV", _cat_pa_segmentav);
 BA.debugLineNum = 2375;BA.debugLine="CAT_GP_TIPOPROD = \"5\"";
Debug.ShouldStop(64);
_cat_gp_tipoprod = BA.numberCast(int.class, "5");Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);
 BA.debugLineNum = 2376;BA.debugLine="If CAT_GP_ID = \"PAQUNI003\" Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",_cat_gp_id,BA.ObjectToString("PAQUNI003"))) { 
 BA.debugLineNum = 2377;BA.debugLine="CAT_GP_ALMACEN = 60";
Debug.ShouldStop(256);
_cat_gp_almacen = BA.numberCast(int.class, 60);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);
 };
 BA.debugLineNum = 2379;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 CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_PA_BSEGMENTA,CAT_PA_SEGMENTAV) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {14},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_pa_bsegmenta),(_cat_pa_segmentav)})))));
 BA.debugLineNum = 2383;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_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_PA_BSEGMENTA,CAT_PA_SEGMENTAV) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {14},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_pa_bsegmenta),(_cat_pa_segmentav)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2386;BA.debugLine="If PB2.Progress = 0 Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2387;BA.debugLine="PB2.Progress = 30";
Debug.ShouldStop(262144);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 2388;BA.debugLine="S_CP.Text = \"CARGANDO\"";
Debug.ShouldStop(524288);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 2389;BA.debugLine="ELSE If PB2.Progress = 30 Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 2390;BA.debugLine="PB2.Progress = 60";
Debug.ShouldStop(2097152);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 2391;BA.debugLine="ELSE IF PB2.Progress = 60 Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 2392;BA.debugLine="PB2.Progress = 100";
Debug.ShouldStop(8388608);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2393;BA.debugLine="S_CP.Text = \"LISTO\"";
Debug.ShouldStop(16777216);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 BA.debugLineNum = 2396;BA.debugLine="Listo4=1";
Debug.ShouldStop(134217728);
__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 2397;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(268435456);
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 = 2399;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2400;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(-2147483648);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }else 
{ BA.debugLineNum = 2401;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1";
Debug.ShouldStop(1);
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 = 2403;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(4);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2404;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(8);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }}
;
 };
 };
 BA.debugLineNum = 2409;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2410;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(512);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2411;BA.debugLine="If RESULT.Tag = \"gunaprodps\" Then 'query tag";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprodps")))) { 
 BA.debugLineNum = 2412;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(2048);
{
final RemoteObject group588 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen588 = group588.runMethod(true,"getSize").<Integer>get()
;int index588 = 0;
;
for (; index588 < groupLen588;index588++){
_records = (group588.runMethod(false,"Get",index588));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2413;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
Debug.ShouldStop(4096);
_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 = 2414;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
Debug.ShouldStop(8192);
_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 = 2415;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
Debug.ShouldStop(16384);
_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 = 2416;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
Debug.ShouldStop(32768);
_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 = 2417;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT.";
Debug.ShouldStop(65536);
_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 = 2418;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
Debug.ShouldStop(131072);
_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 = 2419;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
Debug.ShouldStop(262144);
_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 = 2420;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
Debug.ShouldStop(524288);
_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 = 2421;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
Debug.ShouldStop(1048576);
_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 = 2422;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
Debug.ShouldStop(2097152);
_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 = 2423;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
Debug.ShouldStop(4194304);
_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 = 2424;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
Debug.ShouldStop(8388608);
_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 = 2425;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(16777216);
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_PRECIO,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 = 2427;BA.debugLine="If PB2.Progress = 0 Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2428;BA.debugLine="PB2.Progress = 30";
Debug.ShouldStop(134217728);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 2429;BA.debugLine="S_CP.Text = \"CARGANDO\"";
Debug.ShouldStop(268435456);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 2431;BA.debugLine="ELSE If PB2.Progress = 30 Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 2432;BA.debugLine="PB2.Progress = 60";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 2433;BA.debugLine="ELSE IF PB2.Progress = 60 Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 2434;BA.debugLine="PB2.Progress = 100";
Debug.ShouldStop(2);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2435;BA.debugLine="S_CP.Text = \"LISTO\"";
Debug.ShouldStop(4);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 BA.debugLineNum = 2439;BA.debugLine="Listo4=1";
Debug.ShouldStop(64);
__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 2440;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(128);
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 = 2442;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(512);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2443;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(1024);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }else 
{ BA.debugLineNum = 2444;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1";
Debug.ShouldStop(2048);
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 = 2446;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(8192);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2447;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(16384);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }}
;
 };
 };
 BA.debugLineNum = 2452;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2453;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(1048576);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2454;BA.debugLine="If RESULT.Tag = \"detallepaq\" Then 'query tag";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("detallepaq")))) { 
 BA.debugLineNum = 2455;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(4194304);
{
final RemoteObject group625 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen625 = group625.runMethod(true,"getSize").<Integer>get()
;int index625 = 0;
;
for (; index625 < groupLen625;index625++){
_records = (group625.runMethod(false,"Get",index625));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2456;BA.debugLine="Dim CAT_DP_ALMACEN  As String = records(RESUL";
Debug.ShouldStop(8388608);
_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 = 2457;BA.debugLine="Dim CAT_DP_ID As String = records(RESULT.Colu";
Debug.ShouldStop(16777216);
_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 = 2458;BA.debugLine="Dim CAT_DP_IDPROD As String = records(RESULT.";
Debug.ShouldStop(33554432);
_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 = 2459;BA.debugLine="Dim CAT_DP_TIPO As String = records(RESULT.Co";
Debug.ShouldStop(67108864);
_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 = 2460;BA.debugLine="Dim CAT_DP_PZAS As String = records(RESULT.Co";
Debug.ShouldStop(134217728);
_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 = 2461;BA.debugLine="Dim CAT_DP_USUARIO  As String = records(RESUL";
Debug.ShouldStop(268435456);
_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 = 2462;BA.debugLine="Dim CAT_DP_FECHA As String = records(RESULT.C";
Debug.ShouldStop(536870912);
_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 = 2463;BA.debugLine="Dim CAT_DP_REGALO  As String = records(RESULT";
Debug.ShouldStop(1073741824);
_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 = 2464;BA.debugLine="Dim CAT_DP_CLASIF  As String = records(RESULT";
Debug.ShouldStop(-2147483648);
_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 = 2465;BA.debugLine="Dim CAT_DP_PRECIO As String = records(RESULT.";
Debug.ShouldStop(1);
_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 = 2466;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records";
Debug.ShouldStop(2);
_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 = 2467;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(4);
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 = 2469;BA.debugLine="If PB2.Progress = 0 Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2470;BA.debugLine="PB2.Progress = 30";
Debug.ShouldStop(32);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 2471;BA.debugLine="S_CP.Text = \"CARGANDO\"";
Debug.ShouldStop(64);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 2472;BA.debugLine="ELSE If PB2.Progress = 30 Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 2473;BA.debugLine="PB2.Progress = 60";
Debug.ShouldStop(256);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 2474;BA.debugLine="ELSE IF PB2.Progress = 60 Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 2475;BA.debugLine="PB2.Progress = 100";
Debug.ShouldStop(1024);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2476;BA.debugLine="S_CP.Text = \"LISTO\"";
Debug.ShouldStop(2048);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 BA.debugLineNum = 2478;BA.debugLine="Listo3 =1";
Debug.ShouldStop(8192);
__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 2479;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 = 2481;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(65536);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2482;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(131072);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }else 
{ BA.debugLineNum = 2483;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 = 2485;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(1048576);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2486;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(2097152);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }}
;
 };
 };
 BA.debugLineNum = 2491;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2492;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(134217728);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2493;BA.debugLine="If RESULT.Tag = \"hist_datos\" Then 'query tag";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_datos")))) { 
 BA.debugLineNum = 2494;BA.debugLine="Dim cont As Int = 0";
Debug.ShouldStop(536870912);
_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 2495;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(1073741824);
{
final RemoteObject group662 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen662 = group662.runMethod(true,"getSize").<Integer>get()
;int index662 = 0;
;
for (; index662 < groupLen662;index662++){
_records = (group662.runMethod(false,"Get",index662));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2496;BA.debugLine="cont = cont +1";
Debug.ShouldStop(-2147483648);
_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 2497;BA.debugLine="Dim HVD_CLIENTE As String = records(RESULT.Co";
Debug.ShouldStop(1);
_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 = 2498;BA.debugLine="Dim HVD_PRONOMBRE As String = records(RESULT.";
Debug.ShouldStop(2);
_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 = 2499;BA.debugLine="Dim HVD_CANT As String = records(RESULT.Colum";
Debug.ShouldStop(4);
_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 = 2500;BA.debugLine="Dim HVD_COSTO_TOT As String = records(RESULT.";
Debug.ShouldStop(8);
_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 = 2501;BA.debugLine="Dim HVD_FECHA As String = records(RESULT.Colu";
Debug.ShouldStop(16);
_hvd_fecha = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_FECHA")))))));Debug.locals.put("HVD_FECHA", _hvd_fecha);Debug.locals.put("HVD_FECHA", _hvd_fecha);
 BA.debugLineNum = 2503;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 HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA) VALUES (?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(_hvd_cliente),(_hvd_pronombre),(_hvd_cant),(_hvd_costo_tot),(_hvd_fecha)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2505;BA.debugLine="Listo3 =1";
Debug.ShouldStop(256);
__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 2506;BA.debugLine="If PB1.Progress = 0 Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2507;BA.debugLine="PB1.Progress = 30";
Debug.ShouldStop(1024);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30));
 BA.debugLineNum = 2508;BA.debugLine="S_CH.Text = \"CARGANDO\"";
Debug.ShouldStop(2048);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));
 }else 
{ BA.debugLineNum = 2509;BA.debugLine="ELSE If PB1.Progress = 30 Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { 
 BA.debugLineNum = 2510;BA.debugLine="PB1.Progress = 60";
Debug.ShouldStop(8192);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60));
 }else 
{ BA.debugLineNum = 2511;BA.debugLine="ELSE IF PB1.Progress = 60 Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { 
 BA.debugLineNum = 2512;BA.debugLine="PB1.Progress = 100";
Debug.ShouldStop(32768);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2513;BA.debugLine="S_CH.Text = \"LISTO\"";
Debug.ShouldStop(65536);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO"));
 }}}
;
 BA.debugLineNum = 2516;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 = 2518;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(2097152);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2519;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(4194304);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 };
 };
 BA.debugLineNum = 2524;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2525;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(268435456);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2526;BA.debugLine="If RESULT.Tag = \"hist_ventastodos\" Then 'query";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_ventastodos")))) { 
 BA.debugLineNum = 2528;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(-2147483648);
{
final RemoteObject group690 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen690 = group690.runMethod(true,"getSize").<Integer>get()
;int index690 = 0;
;
for (; index690 < groupLen690;index690++){
_records = (group690.runMethod(false,"Get",index690));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2530;BA.debugLine="Dim HVD_CLIENTE As String = records(RESULT.Co";
Debug.ShouldStop(2);
_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 = 2531;BA.debugLine="Dim HVD_PRONOMBRE As String = records(RESULT.";
Debug.ShouldStop(4);
_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 = 2532;BA.debugLine="Dim HVD_CANT As String = records(RESULT.Colum";
Debug.ShouldStop(8);
_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 = 2533;BA.debugLine="Dim HVD_COSTO_TOT As String = records(RESULT.";
Debug.ShouldStop(16);
_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 = 2534;BA.debugLine="Dim HVD_FECHA As String = records(RESULT.Colu";
Debug.ShouldStop(32);
_hvd_fecha = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_FECHA")))))));Debug.locals.put("HVD_FECHA", _hvd_fecha);Debug.locals.put("HVD_FECHA", _hvd_fecha);
 BA.debugLineNum = 2535;BA.debugLine="Log(HVD_CLIENTE&\"--\"&HVD_PRONOMBRE&\"--\"&HVD_C";
Debug.ShouldStop(64);
c_principal.__c.runVoidMethod ("LogImpl","03736495",RemoteObject.concat(_hvd_cliente,RemoteObject.createImmutable("--"),_hvd_pronombre,RemoteObject.createImmutable("--"),_hvd_cant,RemoteObject.createImmutable("--"),_hvd_costo_tot),0);
 BA.debugLineNum = 2536;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(128);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO hist_ventastodos(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA) VALUES (?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(_hvd_cliente),(_hvd_pronombre),(_hvd_cant),(_hvd_costo_tot),(_hvd_fecha)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2542;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2543;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(16384);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2544;BA.debugLine="If RESULT.Tag = \"variables\" Then 'query tag";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("variables")))) { 
 BA.debugLineNum = 2545;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(65536);
{
final RemoteObject group704 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen704 = group704.runMethod(true,"getSize").<Integer>get()
;int index704 = 0;
;
for (; index704 < groupLen704;index704++){
_records = (group704.runMethod(false,"Get",index704));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2546;BA.debugLine="Dim Cat_Va_Descripcion As String = records(RE";
Debug.ShouldStop(131072);
_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 = 2547;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C";
Debug.ShouldStop(262144);
_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 = 2548;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(524288);
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 = 2553;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2554;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(33554432);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2555;BA.debugLine="If RESULT.Tag = \"CUESTIONARIO\" Then 'query tag";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("CUESTIONARIO")))) { 
 BA.debugLineNum = 2556;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(134217728);
{
final RemoteObject group714 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen714 = group714.runMethod(true,"getSize").<Integer>get()
;int index714 = 0;
;
for (; index714 < groupLen714;index714++){
_records = (group714.runMethod(false,"Get",index714));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2557;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C";
Debug.ShouldStop(268435456);
_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 = 2558;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE";
Debug.ShouldStop(536870912);
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 = 2559;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(1073741824);
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 = 2564;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2565;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(16);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2566;BA.debugLine="If RESULT.Tag = \"carga_encuesta\" Then 'query ta";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("carga_encuesta")))) { 
 BA.debugLineNum = 2567;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(64);
{
final RemoteObject group724 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen724 = group724.runMethod(true,"getSize").<Integer>get()
;int index724 = 0;
;
for (; index724 < groupLen724;index724++){
_records = (group724.runMethod(false,"Get",index724));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2568;BA.debugLine="Dim CAT_EP_ID As String = records(RESULT.COLU";
Debug.ShouldStop(128);
_cat_ep_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_ID")))))));Debug.locals.put("CAT_EP_ID", _cat_ep_id);Debug.locals.put("CAT_EP_ID", _cat_ep_id);
 BA.debugLineNum = 2569;BA.debugLine="Dim CAT_EP_IDTIPOPREGUNTA As String = records";
Debug.ShouldStop(256);
_cat_ep_idtipopregunta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_IDTIPOPREGUNTA")))))));Debug.locals.put("CAT_EP_IDTIPOPREGUNTA", _cat_ep_idtipopregunta);Debug.locals.put("CAT_EP_IDTIPOPREGUNTA", _cat_ep_idtipopregunta);
 BA.debugLineNum = 2570;BA.debugLine="Dim CAT_CE_DESCRIPCION As String = records(RE";
Debug.ShouldStop(512);
_cat_ce_descripcion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CE_DESCRIPCION")))))));Debug.locals.put("CAT_CE_DESCRIPCION", _cat_ce_descripcion);Debug.locals.put("CAT_CE_DESCRIPCION", _cat_ce_descripcion);
 BA.debugLineNum = 2571;BA.debugLine="Dim CAT_EP_PREGUNTA As String = records(RESUL";
Debug.ShouldStop(1024);
_cat_ep_pregunta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_PREGUNTA")))))));Debug.locals.put("CAT_EP_PREGUNTA", _cat_ep_pregunta);Debug.locals.put("CAT_EP_PREGUNTA", _cat_ep_pregunta);
 BA.debugLineNum = 2572;BA.debugLine="Dim CAT_EP_RES1_PRED As String = records(RESU";
Debug.ShouldStop(2048);
_cat_ep_res1_pred = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_RES1_PRED")))))));Debug.locals.put("CAT_EP_RES1_PRED", _cat_ep_res1_pred);Debug.locals.put("CAT_EP_RES1_PRED", _cat_ep_res1_pred);
 BA.debugLineNum = 2573;BA.debugLine="Dim CAT_EP_RES2_PRED As String = records(RESU";
Debug.ShouldStop(4096);
_cat_ep_res2_pred = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_RES2_PRED")))))));Debug.locals.put("CAT_EP_RES2_PRED", _cat_ep_res2_pred);Debug.locals.put("CAT_EP_RES2_PRED", _cat_ep_res2_pred);
 BA.debugLineNum = 2574;BA.debugLine="Dim CAT_EP_RES3_PRED As String = records(RESU";
Debug.ShouldStop(8192);
_cat_ep_res3_pred = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_RES3_PRED")))))));Debug.locals.put("CAT_EP_RES3_PRED", _cat_ep_res3_pred);Debug.locals.put("CAT_EP_RES3_PRED", _cat_ep_res3_pred);
 BA.debugLineNum = 2575;BA.debugLine="Dim CAT_EP_ORDEN_PREGUNTA As String = records";
Debug.ShouldStop(16384);
_cat_ep_orden_pregunta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_EP_ORDEN_PREGUNTA")))))));Debug.locals.put("CAT_EP_ORDEN_PREGUNTA", _cat_ep_orden_pregunta);Debug.locals.put("CAT_EP_ORDEN_PREGUNTA", _cat_ep_orden_pregunta);
 BA.debugLineNum = 2576;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(32768);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ENCUESTA_PREGUNTA (CAT_EP_ID ,CAT_EP_IDTIPOPREGUNTA ,CAT_CE_DESCRIPCION ,CAT_EP_PREGUNTA ,CAT_EP_RES1_PRED ,CAT_EP_RES2_PRED ,CAT_EP_RES3_PRED ,CAT_EP_ORDEN_PREGUNTA ) VALUES (?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(_cat_ep_id),(_cat_ep_idtipopregunta),(_cat_ce_descripcion),(_cat_ep_pregunta),(_cat_ep_res1_pred),(_cat_ep_res2_pred),(_cat_ep_res3_pred),(_cat_ep_orden_pregunta)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2581;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2582;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(2097152);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2583;BA.debugLine="If RESULT.Tag = \"valida_pedido\" Then 'query tag";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_pedido")))) { 
 BA.debugLineNum = 2584;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(8388608);
{
final RemoteObject group740 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen740 = group740.runMethod(true,"getSize").<Integer>get()
;int index740 = 0;
;
for (; index740 < groupLen740;index740++){
_records = (group740.runMethod(false,"Get",index740));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2585;BA.debugLine="Dim CUANTOSP As Int = records(RESULT.Columns.";
Debug.ShouldStop(16777216);
_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 = 2588;BA.debugLine="If cuantos_pedido < = CUANTOSP Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("k",BA.numberCast(double.class, __ref.getField(true,"_cuantos_pedido" /*RemoteObject*/ )),BA.numberCast(double.class, _cuantosp))) { 
 BA.debugLineNum = 2590;BA.debugLine="datos_iguales = \"ok\"";
Debug.ShouldStop(536870912);
__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok"));
 BA.debugLineNum = 2591;BA.debugLine="S_CP.Text = \"INFO OK\"";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("INFO OK"));
 BA.debugLineNum = 2592;BA.debugLine="B_OK_PAS.Text = \"OK\"";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_b_ok_pas" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("OK"));
 }else {
 BA.debugLineNum = 2594;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess";
Debug.ShouldStop(2);
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 = 2595;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-2)\"";
Debug.ShouldStop(4);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ENVIAR DATOS (K-2)"));
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2601;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2602;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(512);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2603;BA.debugLine="If RESULT.Tag = \"valida_pedidoc\" Then 'query ta";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_pedidoc")))) { 
 BA.debugLineNum = 2604;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(2048);
{
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 = 2605;BA.debugLine="Dim CUANTOSC As Int = records(RESULT.Columns.";
Debug.ShouldStop(4096);
_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 = 2606;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos_pedidosc" /*RemoteObject*/ ),BA.NumberToString(_cuantosc))) { 
 BA.debugLineNum = 2608;BA.debugLine="datos_iguales = \"ok\"";
Debug.ShouldStop(32768);
__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok"));
 }else {
 BA.debugLineNum = 2610;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess";
Debug.ShouldStop(131072);
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 = 2616;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2617;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(16777216);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2618;BA.debugLine="If RESULT.Tag = \"valida_noventa\" Then 'query ta";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_noventa")))) { 
 BA.debugLineNum = 2619;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(67108864);
{
final RemoteObject group769 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen769 = group769.runMethod(true,"getSize").<Integer>get()
;int index769 = 0;
;
for (; index769 < groupLen769;index769++){
_records = (group769.runMethod(false,"Get",index769));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2620;BA.debugLine="Dim CUANTOSN As Int = records(RESULT.Columns.";
Debug.ShouldStop(134217728);
_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 = 2621;BA.debugLine="If cuantos_noventa = CUANTOSN Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos_noventa" /*RemoteObject*/ ),BA.NumberToString(_cuantosn))) { 
 BA.debugLineNum = 2623;BA.debugLine="datos_iguales = \"ok\"";
Debug.ShouldStop(1073741824);
__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok"));
 }else {
 BA.debugLineNum = 2625;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess";
Debug.ShouldStop(1);
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 = 2631;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2632;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(128);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2633;BA.debugLine="If RESULT.Tag = \"ins_pedido\" Then 'query tag";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ins_pedido")))) { 
 BA.debugLineNum = 2634;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(512);
{
final RemoteObject group782 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen782 = group782.runMethod(true,"getSize").<Integer>get()
;int index782 = 0;
;
for (; index782 < groupLen782;index782++){
_records = (group782.runMethod(false,"Get",index782));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2635;BA.debugLine="PB2.Progress = PB2.Progress + 5";
Debug.ShouldStop(1024);
__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 = 2636;BA.debugLine="S_CP.Text = \"SUBIENDO\"";
Debug.ShouldStop(2048);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SUBIENDO"));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2638;BA.debugLine="PB2.Progress = 100";
Debug.ShouldStop(8192);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100));
 BA.debugLineNum = 2639;BA.debugLine="S_CP.Text = \"ENVIANDO\"";
Debug.ShouldStop(16384);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ENVIANDO"));
 };
 };
 BA.debugLineNum = 2644;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2645;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(1048576);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2646;BA.debugLine="If RESULT.Tag = \"version\" Then 'query tag";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("version")))) { 
 BA.debugLineNum = 2647;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(4194304);
{
final RemoteObject group793 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen793 = group793.runMethod(true,"getSize").<Integer>get()
;int index793 = 0;
;
for (; index793 < groupLen793;index793++){
_records = (group793.runMethod(false,"Get",index793));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2648;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f";
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 VERSION")));
 BA.debugLineNum = 2649;BA.debugLine="Dim CAT_VE_VERSION As String = records(RESULT";
Debug.ShouldStop(16777216);
_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 = 2650;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 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 = 2655;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2656;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(-2147483648);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2657;BA.debugLine="If RESULT.Tag = \"count_cli\" Then 'query tag";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("count_cli")))) { 
 BA.debugLineNum = 2658;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(2);
{
final RemoteObject group803 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen803 = group803.runMethod(true,"getSize").<Integer>get()
;int index803 = 0;
;
for (; index803 < groupLen803;index803++){
_records = (group803.runMethod(false,"Get",index803));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2659;BA.debugLine="COUNT_CLIE = records(RESULT.Columns.Get(\"COUN";
Debug.ShouldStop(4);
__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 = 2664;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2665;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(256);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2666;BA.debugLine="If RESULT.Tag = \"ruta\" Then 'query tag";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ruta")))) { 
 BA.debugLineNum = 2667;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(1024);
{
final RemoteObject group811 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen811 = group811.runMethod(true,"getSize").<Integer>get()
;int index811 = 0;
;
for (; index811 < groupLen811;index811++){
_records = (group811.runMethod(false,"Get",index811));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2668;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 = 2669;BA.debugLine="If VALIDO = \"OK\" Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",_valido,BA.ObjectToString("OK"))) { 
 BA.debugLineNum = 2670;BA.debugLine="cargar.Visible = True";
Debug.ShouldStop(8192);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2671;BA.debugLine="Subir.Visible = True";
Debug.ShouldStop(16384);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2672;BA.debugLine="inv.Visible = True";
Debug.ShouldStop(32768);
__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2673;BA.debugLine="connecta.Visible = False";
Debug.ShouldStop(65536);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2674;BA.debugLine="If conn = \"1\" Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_conn" /*RemoteObject*/ ),BA.ObjectToString("1"))) { 
 BA.debugLineNum = 2675;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se";
Debug.ShouldStop(262144);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Existe Conexión con el Servidor.")),(Object)(c_principal.__c.getField(true,"True")));
 };
 }else {
 BA.debugLineNum = 2678;BA.debugLine="cargar.Visible = False";
Debug.ShouldStop(2097152);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2679;BA.debugLine="Subir.Visible = False";
Debug.ShouldStop(4194304);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2680;BA.debugLine="inv.Visible = False";
Debug.ShouldStop(8388608);
__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2681;BA.debugLine="connecta.Visible = False";
Debug.ShouldStop(16777216);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2682;BA.debugLine="ToastMessageShow(\"Ruta invalida.\" , True)";
Debug.ShouldStop(33554432);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Ruta invalida.")),(Object)(c_principal.__c.getField(true,"True")));
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 2688;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2689;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(1);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2690;BA.debugLine="If RESULT.Tag = \"usuario\" Then 'query tag";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuario")))) { 
 BA.debugLineNum = 2691;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(4);
{
final RemoteObject group834 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen834 = group834.runMethod(true,"getSize").<Integer>get()
;int index834 = 0;
;
for (; index834 < groupLen834;index834++){
_records = (group834.runMethod(false,"Get",index834));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2692;BA.debugLine="Dim name2 As String = records(RESULT.Columns.";
Debug.ShouldStop(8);
_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 = 2694;BA.debugLine="If name2 = \"OK\" Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",_name2,BA.ObjectToString("OK"))) { 
 BA.debugLineNum = 2695;BA.debugLine="PASO = 1";
Debug.ShouldStop(64);
__ref.setField ("_paso" /*RemoteObject*/ ,BA.NumberToString(1));
 };
 BA.debugLineNum = 2697;BA.debugLine="P1.Visible = False";
Debug.ShouldStop(256);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 };
 };
 BA.debugLineNum = 2701;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2702;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(8192);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2703;BA.debugLine="If RESULT.Tag = \"fecha\" Then 'query tag";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("fecha")))) { 
 BA.debugLineNum = 2704;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(32768);
{
final RemoteObject group846 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen846 = group846.runMethod(true,"getSize").<Integer>get()
;int index846 = 0;
;
for (; index846 < groupLen846;index846++){
_records = (group846.runMethod(false,"Get",index846));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2705;BA.debugLine="Dim FECHA_HOY As String = records(RESULT.Colu";
Debug.ShouldStop(65536);
_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 = 2706;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete";
Debug.ShouldStop(131072);
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 = 2707;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_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 = 2712;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 2713;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
Debug.ShouldStop(16777216);
_result = c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result);
 BA.debugLineNum = 2722;BA.debugLine="If RESULT.Tag = \"hist_pro2265\" Then 'query tag";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_pro2265")))) { 
 BA.debugLineNum = 2723;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR";
Debug.ShouldStop(4);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_PRO2265")));
 BA.debugLineNum = 2724;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(8);
{
final RemoteObject group857 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen857 = group857.runMethod(true,"getSize").<Integer>get()
;int index857 = 0;
;
for (; index857 < groupLen857;index857++){
_records = (group857.runMethod(false,"Get",index857));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2725;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_";
Debug.ShouldStop(16);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_PRO2265(H_IDCLIENTE) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CLIENTE"))))))})))));
 }
}Debug.locals.put("records", _records);
;
 };
 BA.debugLineNum = 2728;BA.debugLine="If RESULT.Tag = \"hist_pro3054\" Then 'query tag";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_pro3054")))) { 
 BA.debugLineNum = 2729;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR";
Debug.ShouldStop(256);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_PRO3054")));
 BA.debugLineNum = 2730;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(512);
{
final RemoteObject group863 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen863 = group863.runMethod(true,"getSize").<Integer>get()
;int index863 = 0;
;
for (; index863 < groupLen863;index863++){
_records = (group863.runMethod(false,"Get",index863));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2731;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_";
Debug.ShouldStop(1024);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_PRO3054(H_IDCLIENTE) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CLIENTE"))))))})))));
 }
}Debug.locals.put("records", _records);
;
 };
 BA.debugLineNum = 2734;BA.debugLine="If RESULT.Tag = \"hist_pro3055\" Then 'query tag";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_pro3055")))) { 
 BA.debugLineNum = 2735;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR";
Debug.ShouldStop(16384);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_PRO3055")));
 BA.debugLineNum = 2736;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(32768);
{
final RemoteObject group869 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen869 = group869.runMethod(true,"getSize").<Integer>get()
;int index869 = 0;
;
for (; index869 < groupLen869;index869++){
_records = (group869.runMethod(false,"Get",index869));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2737;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_";
Debug.ShouldStop(65536);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_PRO3055(H_IDCLIENTE) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CLIENTE"))))))})))));
 }
}Debug.locals.put("records", _records);
;
 };
 BA.debugLineNum = 2740;BA.debugLine="If RESULT.Tag = \"traeVersion\" Then 'query tag";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("traeVersion")))) { 
 BA.debugLineNum = 2741;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(1048576);
{
final RemoteObject group874 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen874 = group874.runMethod(true,"getSize").<Integer>get()
;int index874 = 0;
;
for (; index874 < groupLen874;index874++){
_records = (group874.runMethod(false,"Get",index874));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2742;BA.debugLine="Private version As String =  records(RESULT.C";
Debug.ShouldStop(2097152);
_version = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_VERSION")))))));Debug.locals.put("version", _version);Debug.locals.put("version", _version);
 BA.debugLineNum = 2743;BA.debugLine="Private actualizarAplicacion As String =  rec";
Debug.ShouldStop(4194304);
_actualizaraplicacion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_ACTUALIZACION")))))));Debug.locals.put("actualizarAplicacion", _actualizaraplicacion);Debug.locals.put("actualizarAplicacion", _actualizaraplicacion);
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2745;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA";
Debug.ShouldStop(16777216);
c_principal._starter._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("VERSION_NUEVA"))})))));
 BA.debugLineNum = 2746;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA";
Debug.ShouldStop(33554432);
c_principal._starter._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(("VERSION_NUEVA")),(_version)})))));
 BA.debugLineNum = 2747;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA";
Debug.ShouldStop(67108864);
c_principal._starter._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("FORZAR_ACTUALIZACION"))})))));
 BA.debugLineNum = 2748;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA";
Debug.ShouldStop(134217728);
c_principal._starter._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(("FORZAR_ACTUALIZACION")),(_actualizaraplicacion)})))));
 BA.debugLineNum = 2749;BA.debugLine="Log($\">>>>  GUARDAMOS NUEVA VERSION: ${version";
Debug.ShouldStop(268435456);
c_principal.__c.runVoidMethod ("LogImpl","03736709",(RemoteObject.concat(RemoteObject.createImmutable(">>>>  GUARDAMOS NUEVA VERSION: "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_version))),RemoteObject.createImmutable(", "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_actualizaraplicacion))),RemoteObject.createImmutable(""))),0);
 };
 BA.debugLineNum = 2751;BA.debugLine="If RESULT.Tag = \"tipoVenta\" Then 'query tag";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("tipoVenta")))) { 
 BA.debugLineNum = 2752;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(-2147483648);
{
final RemoteObject group885 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen885 = group885.runMethod(true,"getSize").<Integer>get()
;int index885 = 0;
;
for (; index885 < groupLen885;index885++){
_records = (group885.runMethod(false,"Get",index885));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2753;BA.debugLine="Private tipoVenta As String =  records(RESULT";
Debug.ShouldStop(1);
_tipoventa = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_RU_CATEGORIA")))))));Debug.locals.put("tipoVenta", _tipoventa);Debug.locals.put("tipoVenta", _tipoventa);
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 2755;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA";
Debug.ShouldStop(4);
c_principal._starter._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("TIPO_VENTA"))})))));
 BA.debugLineNum = 2756;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA";
Debug.ShouldStop(8);
c_principal._starter._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(("TIPO_VENTA")),(_tipoventa)})))));
 BA.debugLineNum = 2757;BA.debugLine="Log($\">>>>  GUARDAMOS TIPO_VENTA: ${tipoVenta}";
Debug.ShouldStop(16);
c_principal.__c.runVoidMethod ("LogImpl","03736717",(RemoteObject.concat(RemoteObject.createImmutable(">>>>  GUARDAMOS TIPO_VENTA: "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipoventa))),RemoteObject.createImmutable(""))),0);
 };
 BA.debugLineNum = 2759;BA.debugLine="If RESULT.Tag = \"planLealtad\" Then 'query tag";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("planLealtad")))) { 
 BA.debugLineNum = 2760;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR";
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 PLAN_LEALTAD WHERE DESCARGADO = 1")));
 BA.debugLineNum = 2761;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(256);
{
final RemoteObject group894 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen894 = group894.runMethod(true,"getSize").<Integer>get()
;int index894 = 0;
;
for (; index894 < groupLen894;index894++){
_records = (group894.runMethod(false,"Get",index894));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2762;BA.debugLine="Dim PL_CLIENTE As String = records(RESULT.Col";
Debug.ShouldStop(512);
_pl_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("TMP_PL_CLIENTE")))))));Debug.locals.put("PL_CLIENTE", _pl_cliente);Debug.locals.put("PL_CLIENTE", _pl_cliente);
 BA.debugLineNum = 2763;BA.debugLine="Dim PL_BANDERA As String = records(RESULT.Col";
Debug.ShouldStop(1024);
_pl_bandera = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("TMP_PL_BANDERA")))))));Debug.locals.put("PL_BANDERA", _pl_bandera);Debug.locals.put("PL_BANDERA", _pl_bandera);
 BA.debugLineNum = 2764;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
Debug.ShouldStop(2048);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PLAN_LEALTAD(PL_CLIENTE, PL_BANDERA, DESCARGADO) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_pl_cliente),(_pl_bandera),RemoteObject.createImmutable((1))})))));
 }
}Debug.locals.put("records", _records);
;
 };
 BA.debugLineNum = 2768;BA.debugLine="If RESULT.Tag = \"coments\" Then 'query tag";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("coments")))) { 
 BA.debugLineNum = 2769;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR";
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 COMENTARIOS WHERE DESCARGADO = 1")));
 BA.debugLineNum = 2770;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(131072);
{
final RemoteObject group902 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen902 = group902.runMethod(true,"getSize").<Integer>get()
;int index902 = 0;
;
for (; index902 < groupLen902;index902++){
_records = (group902.runMethod(false,"Get",index902));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2771;BA.debugLine="Dim COMENTARIO As String = records(RESULT.Col";
Debug.ShouldStop(262144);
_comentario = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("TMP_COM_COMENTARIO")))))));Debug.locals.put("COMENTARIO", _comentario);Debug.locals.put("COMENTARIO", _comentario);
 BA.debugLineNum = 2772;BA.debugLine="Dim CLIENTECOM As String = records(RESULT.Col";
Debug.ShouldStop(524288);
_clientecom = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("TMP_COM_CLIENTE")))))));Debug.locals.put("CLIENTECOM", _clientecom);Debug.locals.put("CLIENTECOM", _clientecom);
 BA.debugLineNum = 2773;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 COMENTARIOS(COMENTARTIO, CLIENTE, DESCARGADO) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_comentario),(_clientecom),RemoteObject.createImmutable((1))})))));
 }
}Debug.locals.put("records", _records);
;
 };
 BA.debugLineNum = 2777;BA.debugLine="If RESULT.Tag = \"objetivos\" Then 'query tag";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("objetivos")))) { 
 BA.debugLineNum = 2778;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR";
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_OBJETIVO_BAT")));
 BA.debugLineNum = 2779;BA.debugLine="For Each records() As Object In RESULT.Rows";
Debug.ShouldStop(67108864);
{
final RemoteObject group910 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen910 = group910.runMethod(true,"getSize").<Integer>get()
;int index910 = 0;
;
for (; index910 < groupLen910;index910++){
_records = (group910.runMethod(false,"Get",index910));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 2780;BA.debugLine="Dim COB_VOLUMEN As String = records(RESULT.Co";
Debug.ShouldStop(134217728);
_cob_volumen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COB_VOLUMEN")))))));Debug.locals.put("COB_VOLUMEN", _cob_volumen);Debug.locals.put("COB_VOLUMEN", _cob_volumen);
 BA.debugLineNum = 2781;BA.debugLine="Dim COB_MARCAE As String = records(RESULT.Col";
Debug.ShouldStop(268435456);
_cob_marcae = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COB_MARCAE")))))));Debug.locals.put("COB_MARCAE", _cob_marcae);Debug.locals.put("COB_MARCAE", _cob_marcae);
 BA.debugLineNum = 2782;BA.debugLine="Dim COB_PORTAFOLIO As String = records(RESULT";
Debug.ShouldStop(536870912);
_cob_portafolio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COB_PORTAFOLIO")))))));Debug.locals.put("COB_PORTAFOLIO", _cob_portafolio);Debug.locals.put("COB_PORTAFOLIO", _cob_portafolio);
 BA.debugLineNum = 2783;BA.debugLine="Dim COB_OBJPP As String = records(RESULT.Colu";
Debug.ShouldStop(1073741824);
_cob_objpp = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COB_OBJPP")))))));Debug.locals.put("COB_OBJPP", _cob_objpp);Debug.locals.put("COB_OBJPP", _cob_objpp);
 BA.debugLineNum = 2784;BA.debugLine="Dim COB_GEV As String = records(RESULT.Column";
Debug.ShouldStop(-2147483648);
_cob_gev = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COB_GEV")))))));Debug.locals.put("COB_GEV", _cob_gev);Debug.locals.put("COB_GEV", _cob_gev);
 BA.debugLineNum = 2785;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 CAT_OBJETIVO_BAT(COB_VOLUMEN, COB_MARCAE, COB_PORTAFOLIO, COB_OBJPP, COB_GEV) VALUES (?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(_cob_volumen),(_cob_marcae),(_cob_portafolio),(_cob_objpp),(_cob_gev)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 };
 BA.debugLineNum = 2791;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IsInitia";
Debug.ShouldStop(64);
if (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IsInitialized").<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 2792;BA.debugLine="LogColor($\"REQUESTS: ${B4XPages.MainPage.reqMana";
Debug.ShouldStop(128);
c_principal.__c.runVoidMethod ("LogImpl","03736752",(RemoteObject.concat(RemoteObject.createImmutable("REQUESTS: "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"getSize")))),RemoteObject.createImmutable(""))),c_principal.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 2794;BA.debugLine="If 	B4XPages.MainPage.reqManager.reqsList.Size =";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("SUBIR"))) { 
 BA.debugLineNum = 2795;BA.debugLine="t1.Enabled = False";
Debug.ShouldStop(1024);
__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2796;BA.debugLine="t1.Initialize(\"T1\", 3000) ' 1000 = 1 second";
Debug.ShouldStop(2048);
__ref.getField(false,"_t1" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("T1")),(Object)(BA.numberCast(long.class, 3000)));
 BA.debugLineNum = 2798;BA.debugLine="If contadorSubir < 3 Then ' Si no hacen click e";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("<",__ref.getField(true,"_contadorsubir" /*RemoteObject*/ ),BA.numberCast(double.class, 3))) { 
 BA.debugLineNum = 2799;BA.debugLine="t1.Enabled = True";
Debug.ShouldStop(16384);
__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2800;BA.debugLine="Log(\"TIMER ENABLED\")";
Debug.ShouldStop(32768);
c_principal.__c.runVoidMethod ("LogImpl","03736760",RemoteObject.createImmutable("TIMER ENABLED"),0);
 };
 BA.debugLineNum = 2802;BA.debugLine="contadorSubir = contadorSubir + 1";
Debug.ShouldStop(131072);
__ref.setField ("_contadorsubir" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_contadorsubir" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1));
 };
 };
 BA.debugLineNum = 2805;BA.debugLine="Job.Release";
Debug.ShouldStop(1048576);
_job.runClassMethod (gunav2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ );
 BA.debugLineNum = 2806;BA.debugLine="End Sub";
Debug.ShouldStop(2097152);
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",3,__ref.getField(false, "ba"),__ref,3261);
if (RapidSub.canDelegate("nuevo_click")) { return __ref.runUserSub(false, "c_principal","nuevo_click", __ref);}
 BA.debugLineNum = 3261;BA.debugLine="Sub NUEVO_Click";
Debug.ShouldStop(268435456);
 BA.debugLineNum = 3262;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")";
Debug.ShouldStop(536870912);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("NuevoCliente")));
 BA.debugLineNum = 3263;BA.debugLine="End Sub";
Debug.ShouldStop(1073741824);
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",3,__ref.getField(false, "ba"),__ref,3752);
if (RapidSub.canDelegate("nvo_cliente_click")) { return __ref.runUserSub(false, "c_principal","nvo_cliente_click", __ref);}
 BA.debugLineNum = 3752;BA.debugLine="Sub nvo_cliente_Click";
Debug.ShouldStop(128);
 BA.debugLineNum = 3753;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")";
Debug.ShouldStop(256);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("NuevoCliente")));
 BA.debugLineNum = 3754;BA.debugLine="End Sub";
Debug.ShouldStop(512);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_marcasres_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("p_marcasRes_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3953);
if (RapidSub.canDelegate("p_marcasres_click")) { return __ref.runUserSub(false, "c_principal","p_marcasres_click", __ref);}
 BA.debugLineNum = 3953;BA.debugLine="Private Sub p_marcasRes_Click";
Debug.ShouldStop(65536);
 BA.debugLineNum = 3955;BA.debugLine="End Sub";
Debug.ShouldStop(262144);
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",3,__ref.getField(false, "ba"),__ref,3289);
if (RapidSub.canDelegate("p_resumen_click")) { return __ref.runUserSub(false, "c_principal","p_resumen_click", __ref);}
 BA.debugLineNum = 3289;BA.debugLine="Sub P_RESUMEN_click";
Debug.ShouldStop(16777216);
 BA.debugLineNum = 3291;BA.debugLine="End Sub";
Debug.ShouldStop(67108864);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_sombra_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("p_sombra_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3957);
if (RapidSub.canDelegate("p_sombra_click")) { return __ref.runUserSub(false, "c_principal","p_sombra_click", __ref);}
 BA.debugLineNum = 3957;BA.debugLine="Private Sub p_sombra_Click";
Debug.ShouldStop(1048576);
 BA.debugLineNum = 3959;BA.debugLine="End Sub";
Debug.ShouldStop(4194304);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_transparenteactualizacion_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("p_transparenteActualizacion_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3961);
if (RapidSub.canDelegate("p_transparenteactualizacion_click")) { return __ref.runUserSub(false, "c_principal","p_transparenteactualizacion_click", __ref);}
 BA.debugLineNum = 3961;BA.debugLine="Private Sub p_transparenteActualizacion_Click";
Debug.ShouldStop(16777216);
 BA.debugLineNum = 3963;BA.debugLine="End Sub";
Debug.ShouldStop(67108864);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p1_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("P1_Click (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,3971);
if (RapidSub.canDelegate("p1_click")) { return __ref.runUserSub(false, "c_principal","p1_click", __ref);}
 BA.debugLineNum = 3971;BA.debugLine="Private Sub P1_Click";
Debug.ShouldStop(4);
 BA.debugLineNum = 3973;BA.debugLine="End Sub";
Debug.ShouldStop(16);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _recalculoxcant(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("recalculoXcant (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,582);
if (RapidSub.canDelegate("recalculoxcant")) { return __ref.runUserSub(false, "c_principal","recalculoxcant", __ref);}
int _promespdes = 0;
RemoteObject _rangosel = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
int _hjh = 0;
RemoteObject _recalculo = RemoteObject.createImmutable(0f);
RemoteObject _recalculototal = RemoteObject.createImmutable(0f);
RemoteObject _rangosel2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
 BA.debugLineNum = 582;BA.debugLine="Sub recalculoXcant";
Debug.ShouldStop(32);
 BA.debugLineNum = 584;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
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._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO WHERE PE_CEDIS = ? and PE_RECCEDIS IS NOT NULL AND PE_RECALCULADO IS NULL ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))}))));__ref.setField("_c",c_principal._c);
 BA.debugLineNum = 585;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 586;BA.debugLine="For promespdes = 0 To c.RowCount -1";
Debug.ShouldStop(512);
{
final int step3 = 1;
final int limit3 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_promespdes = 0 ;
for (;(step3 > 0 && _promespdes <= limit3) || (step3 < 0 && _promespdes >= limit3) ;_promespdes = ((int)(0 + _promespdes + step3))  ) {
Debug.locals.put("promespdes", _promespdes);
 BA.debugLineNum = 587;BA.debugLine="c.Position = promespdes";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _promespdes));
 BA.debugLineNum = 588;BA.debugLine="Dim rangosel As Cursor= B4XPages.MainPage.skmt.";
Debug.ShouldStop(2048);
_rangosel = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_rangosel = 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,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? AND CAT_PD_RANGO <= ? AND CAT_PD_RANGO2 >= ?")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT"))))}))));Debug.locals.put("rangosel", _rangosel);Debug.locals.put("rangosel", _rangosel);
 BA.debugLineNum = 589;BA.debugLine="If rangosel.RowCount > 0 Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean(">",_rangosel.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 590;BA.debugLine="For hjh = 0 To rangosel.RowCount-1";
Debug.ShouldStop(8192);
{
final int step7 = 1;
final int limit7 = RemoteObject.solve(new RemoteObject[] {_rangosel.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_hjh = 0 ;
for (;(step7 > 0 && _hjh <= limit7) || (step7 < 0 && _hjh >= limit7) ;_hjh = ((int)(0 + _hjh + step7))  ) {
Debug.locals.put("hjh", _hjh);
 BA.debugLineNum = 591;BA.debugLine="rangosel.Position = hjh";
Debug.ShouldStop(16384);
_rangosel.runMethod(true,"setPosition",BA.numberCast(int.class, _hjh));
 BA.debugLineNum = 592;BA.debugLine="If rangosel.GetString(\"CAT_PD_TIER\").Contains";
Debug.ShouldStop(32768);
if (_rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_TIER"))).runMethod(true,"contains",(Object)(BA.NumberToString(c_principal._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))).<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 593;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
Debug.ShouldStop(65536);
c_principal.__c.runVoidMethod ("LogImpl","03538955",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),0);
 BA.debugLineNum = 594;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))";
Debug.ShouldStop(131072);
c_principal.__c.runVoidMethod ("LogImpl","03538956",_rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),0);
 BA.debugLineNum = 595;BA.debugLine="Private recalculo As Float = c.GetString(\"PE";
Debug.ShouldStop(262144);
_recalculo = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, _rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))))}, "*",0, 0)),RemoteObject.createImmutable(100)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))}, "-",1, 0));Debug.locals.put("recalculo", _recalculo);Debug.locals.put("recalculo", _recalculo);
 BA.debugLineNum = 596;BA.debugLine="LogColor(recalculo,Colors.Blue)";
Debug.ShouldStop(524288);
c_principal.__c.runVoidMethod ("LogImpl","03538958",BA.NumberToString(_recalculo),c_principal.__c.getField(false,"Colors").getField(true,"Blue"));
 BA.debugLineNum = 597;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
Debug.ShouldStop(1048576);
c_principal.__c.runVoidMethod ("LogImpl","03538959",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),0);
 BA.debugLineNum = 598;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\")";
Debug.ShouldStop(2097152);
c_principal.__c.runVoidMethod ("LogImpl","03538960",c_principal.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, _rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))))}, "*",0, 0)),RemoteObject.createImmutable(100)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))),0);
 BA.debugLineNum = 599;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))";
Debug.ShouldStop(4194304);
c_principal.__c.runVoidMethod ("LogImpl","03538961",_rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),0);
 BA.debugLineNum = 600;BA.debugLine="Private recalculototal As Float =c.GetString";
Debug.ShouldStop(8388608);
_recalculototal = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),_recalculo}, "*",0, 0));Debug.locals.put("recalculototal", _recalculototal);Debug.locals.put("recalculototal", _recalculototal);
 BA.debugLineNum = 601;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE";
Debug.ShouldStop(16777216);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = PE_CANT, PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? and PE_FOLIO = ? ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {7},new Object[] {c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))),c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculototal)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))),_rangosel.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_COD_PROMO"))),__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"))),c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))})))));
 };
 }
}Debug.locals.put("hjh", _hjh);
;
 }else {
 BA.debugLineNum = 605;BA.debugLine="Dim rangosel2 As Cursor= B4XPages.MainPage.skm";
Debug.ShouldStop(268435456);
_rangosel2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_rangosel2 = 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,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? and ? > cat_pd_rango2")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),BA.NumberToString(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT"))))}))));Debug.locals.put("rangosel2", _rangosel2);Debug.locals.put("rangosel2", _rangosel2);
 BA.debugLineNum = 607;BA.debugLine="If rangosel2.RowCount > 0 Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean(">",_rangosel2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 609;BA.debugLine="For hjh = 0 To rangosel2.RowCount-1";
Debug.ShouldStop(1);
{
final int step24 = 1;
final int limit24 = RemoteObject.solve(new RemoteObject[] {_rangosel2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_hjh = 0 ;
for (;(step24 > 0 && _hjh <= limit24) || (step24 < 0 && _hjh >= limit24) ;_hjh = ((int)(0 + _hjh + step24))  ) {
Debug.locals.put("hjh", _hjh);
 BA.debugLineNum = 610;BA.debugLine="rangosel2.Position = hjh";
Debug.ShouldStop(2);
_rangosel2.runMethod(true,"setPosition",BA.numberCast(int.class, _hjh));
 BA.debugLineNum = 611;BA.debugLine="If rangosel2.GetString(\"CAT_PD_TIER\").Contai";
Debug.ShouldStop(4);
if (_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_TIER"))).runMethod(true,"contains",(Object)(BA.NumberToString(c_principal._subs.runMethod(true,"_traetipocliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))).<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 612;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
Debug.ShouldStop(8);
c_principal.__c.runVoidMethod ("LogImpl","03538974",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),0);
 BA.debugLineNum = 613;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")";
Debug.ShouldStop(16);
c_principal.__c.runVoidMethod ("LogImpl","03538975",_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),0);
 BA.debugLineNum = 614;BA.debugLine="Private recalculo As Float = c.GetString(\"P";
Debug.ShouldStop(32);
_recalculo = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, _rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))))}, "*",0, 0)),RemoteObject.createImmutable(100)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))))}, "-",1, 0));Debug.locals.put("recalculo", _recalculo);Debug.locals.put("recalculo", _recalculo);
 BA.debugLineNum = 615;BA.debugLine="LogColor(recalculo,Colors.Blue)";
Debug.ShouldStop(64);
c_principal.__c.runVoidMethod ("LogImpl","03538977",BA.NumberToString(_recalculo),c_principal.__c.getField(false,"Colors").getField(true,"Blue"));
 BA.debugLineNum = 616;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
Debug.ShouldStop(128);
c_principal.__c.runVoidMethod ("LogImpl","03538978",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))),0);
 BA.debugLineNum = 617;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\"";
Debug.ShouldStop(256);
c_principal.__c.runVoidMethod ("LogImpl","03538979",c_principal.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),BA.numberCast(double.class, _rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))))}, "*",0, 0)),RemoteObject.createImmutable(100)}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))),0);
 BA.debugLineNum = 618;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")";
Debug.ShouldStop(512);
c_principal.__c.runVoidMethod ("LogImpl","03538980",_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_DESCUENTO"))),0);
 BA.debugLineNum = 619;BA.debugLine="Private recalculototal As Float = rangosel2";
Debug.ShouldStop(1024);
_recalculototal = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_RANGO2")))),_recalculo}, "*",0, 0));Debug.locals.put("recalculototal", _recalculototal);Debug.locals.put("recalculototal", _recalculototal);
 BA.debugLineNum = 622;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDAT";
Debug.ShouldStop(8192);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = ? , PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? AND PE_FOLIO = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {8},new Object[] {c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculo)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))),c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _recalculototal)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))),_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_COD_PROMO"))),_rangosel2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PD_RANGO2"))),__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"))),c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))})))));
 };
 }
}Debug.locals.put("hjh", _hjh);
;
 }else {
 BA.debugLineNum = 626;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE";
Debug.ShouldStop(131072);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL, PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? AND PE_FOLIO = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {4},new Object[] {__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"))),c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))})))));
 };
 BA.debugLineNum = 628;BA.debugLine="rangosel2.Close";
Debug.ShouldStop(524288);
_rangosel2.runVoidMethod ("Close");
 };
 BA.debugLineNum = 630;BA.debugLine="rangosel.Close";
Debug.ShouldStop(2097152);
_rangosel.runVoidMethod ("Close");
 }
}Debug.locals.put("promespdes", _promespdes);
;
 };
 BA.debugLineNum = 633;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE PEDI";
Debug.ShouldStop(16777216);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL, PE_RECALCULADO = 1 WHERE PE_CEDIS <> ? AND PE_RECALCULADO IS NULL ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))})))));
 BA.debugLineNum = 634;BA.debugLine="End Sub";
Debug.ShouldStop(33554432);
return RemoteObject.createImmutable("");
}
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",3,__ref.getField(false, "ba"),__ref,3297);
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 _s3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _total1 = RemoteObject.createImmutable("");
RemoteObject _s5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _total4 = RemoteObject.createImmutable("");
RemoteObject _s6 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _total3 = RemoteObject.createImmutable("");
RemoteObject _ru_o = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _total2 = RemoteObject.createImmutable("");
int _i2 = 0;
RemoteObject _rutor = RemoteObject.createImmutable("");
RemoteObject _ru_s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _rusu = RemoteObject.createImmutable("");
RemoteObject _cuantos_obj = RemoteObject.createImmutable("");
RemoteObject _s7 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _totalstick = RemoteObject.createImmutable(0);
int _sfsdf = 0;
RemoteObject _s8 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _totaltotaltot = RemoteObject.createImmutable(0);
RemoteObject _s0 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
 BA.debugLineNum = 3297;BA.debugLine="Sub resdia_Click";
Debug.ShouldStop(1);
 BA.debugLineNum = 3299;BA.debugLine="Btn_Ubicar.Visible=False";
Debug.ShouldStop(4);
__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3300;BA.debugLine="SCROLL_RESDIA.Panel.RemoveAllViews";
Debug.ShouldStop(8);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runVoidMethod ("RemoveAllViews");
 BA.debugLineNum = 3301;BA.debugLine="SCROLL_RESDIA.Visible = True";
Debug.ShouldStop(16);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3302;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"RESDIA\")";
Debug.ShouldStop(32);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("RESDIA")),__ref.getField(false, "ba"));
 BA.debugLineNum = 3303;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel4.Height";
Debug.ShouldStop(64);
__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 3304;BA.debugLine="Panel4.Visible = True";
Debug.ShouldStop(128);
__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3306;BA.debugLine="NUEVO.Visible =False";
Debug.ShouldStop(512);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3307;BA.debugLine="BUSCA.Visible=False";
Debug.ShouldStop(1024);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3308;BA.debugLine="connecta.Visible=False";
Debug.ShouldStop(2048);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3309;BA.debugLine="Subir.Visible=False";
Debug.ShouldStop(4096);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3310;BA.debugLine="cargar.Visible=False";
Debug.ShouldStop(8192);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3311;BA.debugLine="Resumen.Visible= False";
Debug.ShouldStop(16384);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3313;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select COUNT";
Debug.ShouldStop(65536);
__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 = 3314;BA.debugLine="d.Position = 0";
Debug.ShouldStop(131072);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3315;BA.debugLine="l_encuesta.Text = d.GetString(\"CUANTOS\")";
Debug.ShouldStop(262144);
__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 = 3316;BA.debugLine="d.Close";
Debug.ShouldStop(524288);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3318;BA.debugLine="L_MARCAS.CLEAR";
Debug.ShouldStop(2097152);
__ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runVoidMethod ("Clear");
 BA.debugLineNum = 3319;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select disti";
Debug.ShouldStop(4194304);
__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 = 3320;BA.debugLine="If D.RowCount>0 Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3321;BA.debugLine="For i=0 To D.RowCount -1";
Debug.ShouldStop(16777216);
{
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 = 3322;BA.debugLine="D.Position=i";
Debug.ShouldStop(33554432);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3323;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select  HE";
Debug.ShouldStop(67108864);
__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 = 3324;BA.debugLine="c.Position = 0";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3325;BA.debugLine="Dim label1 As Label";
Debug.ShouldStop(268435456);
_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1);
 BA.debugLineNum = 3326;BA.debugLine="label1 = L_MARCAS.TwoLinesLayout.Label";
Debug.ShouldStop(536870912);
_label1 = __ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1);
 BA.debugLineNum = 3327;BA.debugLine="label1.TextSize = 13";
Debug.ShouldStop(1073741824);
_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 13));
 BA.debugLineNum = 3328;BA.debugLine="label1.TextColor = Colors.Black";
Debug.ShouldStop(-2147483648);
_label1.runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black"));
 BA.debugLineNum = 3329;BA.debugLine="Dim Label2 As Label";
Debug.ShouldStop(1);
c_principal._label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label2",c_principal._label2);
 BA.debugLineNum = 3330;BA.debugLine="Label2 = L_MARCAS.TwoLinesLayout.SecondLabel";
Debug.ShouldStop(2);
__ref.setField ("_label2" /*RemoteObject*/ ,__ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel"));
 BA.debugLineNum = 3331;BA.debugLine="Label2.TextSize = 13";
Debug.ShouldStop(4);
__ref.getField(false,"_label2" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 13));
 BA.debugLineNum = 3332;BA.debugLine="Label2.TextColor = Colors.Black";
Debug.ShouldStop(8);
__ref.getField(false,"_label2" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black"));
 BA.debugLineNum = 3333;BA.debugLine="L_MARCAS.AddTwoLines(d.GetString(\"CLIENTE\"),\"TE";
Debug.ShouldStop(16);
__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 = 3334;BA.debugLine="c.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 3337;BA.debugLine="d.Close";
Debug.ShouldStop(256);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3339;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"Select  sum";
Debug.ShouldStop(1024);
__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)((RemoteObject.concat(RemoteObject.createImmutable("Select  sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_TIPO = ? )")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("RTEC")}))));
 BA.debugLineNum = 3340;BA.debugLine="c.Position = 0";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3341;BA.debugLine="l_monto_k.Text = c.GetString(\"MONTO_DIA\")";
Debug.ShouldStop(4096);
__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 = 3342;BA.debugLine="If l_monto_k.Text = \"null\" Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_monto_k" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { 
 BA.debugLineNum = 3343;BA.debugLine="l_monto_k.Text = \"0\"";
Debug.ShouldStop(16384);
__ref.getField(false,"_l_monto_k" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 };
 BA.debugLineNum = 3345;BA.debugLine="c.Close";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3347;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"Select  sum";
Debug.ShouldStop(262144);
__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)((RemoteObject.concat(RemoteObject.createImmutable("Select  sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where CAT_GP_TIPO = ? )")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PING")}))));
 BA.debugLineNum = 3348;BA.debugLine="c.Position = 0";
Debug.ShouldStop(524288);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3349;BA.debugLine="l_monto_kp.Text = c.GetString(\"MONTO_DIA\")";
Debug.ShouldStop(1048576);
__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 = 3350;BA.debugLine="If l_monto_kp.Text = \"null\" Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_monto_kp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { 
 BA.debugLineNum = 3351;BA.debugLine="l_monto_kp.Text = \"0\"";
Debug.ShouldStop(4194304);
__ref.getField(false,"_l_monto_kp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 };
 BA.debugLineNum = 3353;BA.debugLine="c.Close";
Debug.ShouldStop(16777216);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3363;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select  sum(P";
Debug.ShouldStop(4);
__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 = 3364;BA.debugLine="c.Position = 0";
Debug.ShouldStop(8);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3365;BA.debugLine="l_monto_ks.Text = c.GetString(\"MONTO_DIA\")";
Debug.ShouldStop(16);
__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA")))));
 BA.debugLineNum = 3366;BA.debugLine="If l_monto_ks.Text = \"null\" Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { 
 BA.debugLineNum = 3367;BA.debugLine="l_monto_ks.Text = \"0\"";
Debug.ShouldStop(64);
__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 };
 BA.debugLineNum = 3369;BA.debugLine="c.Close";
Debug.ShouldStop(256);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3394;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(2);
_s3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s3 = 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 distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s3", _s3);Debug.locals.put("s3", _s3);
 BA.debugLineNum = 3396;BA.debugLine="If s3.RowCount > 0 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean(">",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3397;BA.debugLine="Private total1 As String = 0";
Debug.ShouldStop(16);
_total1 = BA.NumberToString(0);Debug.locals.put("total1", _total1);Debug.locals.put("total1", _total1);
 BA.debugLineNum = 3398;BA.debugLine="For i = 0 To s3.RowCount - 1";
Debug.ShouldStop(32);
{
final int step61 = 1;
final int limit61 = RemoteObject.solve(new RemoteObject[] {_s3.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step61 > 0 && _i <= limit61) || (step61 < 0 && _i >= limit61) ;_i = ((int)(0 + _i + step61))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3399;BA.debugLine="s3.Position = i";
Debug.ShouldStop(64);
_s3.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3401;BA.debugLine="total1 = total1 + Subs.calculaTotalConPromoXRan";
Debug.ShouldStop(256);
_total1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total1),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total1", _total1);
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 3405;BA.debugLine="L_REAL.Text = NumberFormat2( total1,0,2,2,False)";
Debug.ShouldStop(4096);
__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))));
 }else {
 BA.debugLineNum = 3407;BA.debugLine="L_REAL.Text = 0";
Debug.ShouldStop(16384);
__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3411;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(262144);
_s5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s5 = 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 distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s5", _s5);Debug.locals.put("s5", _s5);
 BA.debugLineNum = 3413;BA.debugLine="If s5.RowCount > 0 Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean(">",_s5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3414;BA.debugLine="Private total4 As String = 0";
Debug.ShouldStop(2097152);
_total4 = BA.NumberToString(0);Debug.locals.put("total4", _total4);Debug.locals.put("total4", _total4);
 BA.debugLineNum = 3415;BA.debugLine="For i = 0 To s5.RowCount - 1";
Debug.ShouldStop(4194304);
{
final int step72 = 1;
final int limit72 = RemoteObject.solve(new RemoteObject[] {_s5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step72 > 0 && _i <= limit72) || (step72 < 0 && _i >= limit72) ;_i = ((int)(0 + _i + step72))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3416;BA.debugLine="s5.Position = i";
Debug.ShouldStop(8388608);
_s5.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3418;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan";
Debug.ShouldStop(33554432);
_total4 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total4),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total4", _total4);
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 3422;BA.debugLine="l_preacordada.Text = NumberFormat2(total4,0,2,2,";
Debug.ShouldStop(536870912);
__ref.getField(false,"_l_preacordada" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total4)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))));
 }else {
 BA.debugLineNum = 3424;BA.debugLine="l_preacordada.Text = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_l_preacordada" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3427;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(4);
_s6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s6 = 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 distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s6", _s6);Debug.locals.put("s6", _s6);
 BA.debugLineNum = 3429;BA.debugLine="If s6.RowCount > 0 Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean(">",_s6.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3430;BA.debugLine="Private total3 As String = 0";
Debug.ShouldStop(32);
_total3 = BA.NumberToString(0);Debug.locals.put("total3", _total3);Debug.locals.put("total3", _total3);
 BA.debugLineNum = 3431;BA.debugLine="For i = 0 To s6.RowCount - 1";
Debug.ShouldStop(64);
{
final int step83 = 1;
final int limit83 = RemoteObject.solve(new RemoteObject[] {_s6.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step83 > 0 && _i <= limit83) || (step83 < 0 && _i >= limit83) ;_i = ((int)(0 + _i + step83))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3432;BA.debugLine="s6.Position = i";
Debug.ShouldStop(128);
_s6.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3434;BA.debugLine="total3 = total3 + Subs.calculaTotalConPromoXRan";
Debug.ShouldStop(512);
_total3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total3),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total3", _total3);
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 3438;BA.debugLine="l_prevtotal.Text = NumberFormat2(total3,0,2,2,Fa";
Debug.ShouldStop(8192);
__ref.getField(false,"_l_prevtotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total3)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))));
 }else {
 BA.debugLineNum = 3440;BA.debugLine="l_prevtotal.Text = 0";
Debug.ShouldStop(32768);
__ref.getField(false,"_l_prevtotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3457;BA.debugLine="Private ru_o As Cursor = B4XPages.MainPage.skmt.E";
Debug.ShouldStop(1);
_ru_o = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_ru_o = 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,"ExecQuery2",(Object)(BA.ObjectToString("SELECT distinct pe_cliente, pe_ruta FROM PEDIDO LEFT JOIN RUTA_SUPLENCIA ON PE_RUTA = RS_RUTA WHERE RS_RUTA IS NULL")),(Object)((c_principal.__c.getField(false,"Null")))));Debug.locals.put("ru_o", _ru_o);Debug.locals.put("ru_o", _ru_o);
 BA.debugLineNum = 3459;BA.debugLine="Log(\"#####   \" & ru_o.RowCount)";
Debug.ShouldStop(4);
c_principal.__c.runVoidMethod ("LogImpl","04784290",RemoteObject.concat(RemoteObject.createImmutable("#####   "),_ru_o.runMethod(true,"getRowCount")),0);
 BA.debugLineNum = 3460;BA.debugLine="Private total2 As String = 0";
Debug.ShouldStop(8);
_total2 = BA.NumberToString(0);Debug.locals.put("total2", _total2);Debug.locals.put("total2", _total2);
 BA.debugLineNum = 3461;BA.debugLine="If ru_o.RowCount > 0 Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean(">",_ru_o.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3462;BA.debugLine="For i2 = 0 To ru_o.RowCount - 1";
Debug.ShouldStop(32);
{
final int step95 = 1;
final int limit95 = RemoteObject.solve(new RemoteObject[] {_ru_o.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i2 = 0 ;
for (;(step95 > 0 && _i2 <= limit95) || (step95 < 0 && _i2 >= limit95) ;_i2 = ((int)(0 + _i2 + step95))  ) {
Debug.locals.put("i2", _i2);
 BA.debugLineNum = 3463;BA.debugLine="ru_o.Position = i2";
Debug.ShouldStop(64);
_ru_o.runMethod(true,"setPosition",BA.numberCast(int.class, _i2));
 BA.debugLineNum = 3465;BA.debugLine="Private rutOr As String = ru_o.GetString(\"PE_RU";
Debug.ShouldStop(256);
_rutor = _ru_o.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")));Debug.locals.put("rutOr", _rutor);Debug.locals.put("rutOr", _rutor);
 BA.debugLineNum = 3467;BA.debugLine="total2 = total2 + Subs.calculaTotalConPromoXRan";
Debug.ShouldStop(1024);
_total2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total2),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_ru_o.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total2", _total2);
 }
}Debug.locals.put("i2", _i2);
;
 };
 BA.debugLineNum = 3471;BA.debugLine="l_ru_pri.Text = NumberFormat2(total2,0,2,2,False)";
Debug.ShouldStop(16384);
__ref.getField(false,"_l_ru_pri" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total2)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))));
 BA.debugLineNum = 3474;BA.debugLine="Private ru_s As Cursor = B4XPages.MainPage.skmt.E";
Debug.ShouldStop(131072);
_ru_s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_ru_s = 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,"ExecQuery2",(Object)(BA.ObjectToString("SELECT IFNULL(PE_RUTA, 0) As PE_RUTA, IFNULL(SUM(PE_COSTO_TOT), 0) As TOTAL_CLIE FROM PEDIDO LEFT JOIN RUTA_SUPLENCIA ON PE_RUTA = RS_RUTA WHERE RS_RUTA Is Not Null")),(Object)((c_principal.__c.getField(false,"Null")))));Debug.locals.put("ru_s", _ru_s);Debug.locals.put("ru_s", _ru_s);
 BA.debugLineNum = 3475;BA.debugLine="ru_s.Position = 0";
Debug.ShouldStop(262144);
_ru_s.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3476;BA.debugLine="If ru_s.GetString(\"PE_RUTA\") = 0 Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",_ru_s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA"))),BA.NumberToString(0))) { 
 }else {
 BA.debugLineNum = 3479;BA.debugLine="Private RuSu As String = ru_s.GetString(\"PE_RUTA";
Debug.ShouldStop(4194304);
_rusu = _ru_s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")));Debug.locals.put("RuSu", _rusu);Debug.locals.put("RuSu", _rusu);
 BA.debugLineNum = 3481;BA.debugLine="ru_s.Position = 0";
Debug.ShouldStop(16777216);
_ru_s.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3482;BA.debugLine="l_ru_sup.Text = NumberFormat2(ru_s.GetDouble(\"TO";
Debug.ShouldStop(33554432);
__ref.getField(false,"_l_ru_sup" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(_ru_s.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))));
 };
 BA.debugLineNum = 3484;BA.debugLine="ru_s.Close";
Debug.ShouldStop(134217728);
_ru_s.runVoidMethod ("Close");
 BA.debugLineNum = 3486;BA.debugLine="Dim cuantos_obj As String";
Debug.ShouldStop(536870912);
_cuantos_obj = RemoteObject.createImmutable("");Debug.locals.put("cuantos_obj", _cuantos_obj);
 BA.debugLineNum = 3487;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select  count";
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  count(*) AS TOTAL from HIST_MARCAS_CUOTAS   "))));
 BA.debugLineNum = 3488;BA.debugLine="c.Position = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3489;BA.debugLine="cuantos_obj = c.GetString(\"TOTAL\")";
Debug.ShouldStop(1);
_cuantos_obj = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")));Debug.locals.put("cuantos_obj", _cuantos_obj);
 BA.debugLineNum = 3490;BA.debugLine="c.Close";
Debug.ShouldStop(2);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3492;BA.debugLine="If cuantos_obj > 0 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cuantos_obj),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3493;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"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,"ExecQuery",(Object)(RemoteObject.createImmutable("Select  SUM(HMC_TOTAL) AS TOTAL from HIST_MARCAS_CUOTAS   "))));
 BA.debugLineNum = 3494;BA.debugLine="c.Position = 0";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3495;BA.debugLine="If  c.GetString(\"TOTAL\") > 0 Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3496;BA.debugLine="L_NES.Text = Round(c.GetString(\"TOTAL\") / 25)";
Debug.ShouldStop(128);
__ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))),RemoteObject.createImmutable(25)}, "/",0, 0)))));
 }else {
 BA.debugLineNum = 3498;BA.debugLine="L_NES.Text = c.GetString(\"TOTAL\")";
Debug.ShouldStop(512);
__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 = 3500;BA.debugLine="c.Close";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 3503;BA.debugLine="Log(L_NES.Text)";
Debug.ShouldStop(16384);
c_principal.__c.runVoidMethod ("LogImpl","04784334",__ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"getText"),0);
 BA.debugLineNum = 3504;BA.debugLine="Log(L_REAL.Text)";
Debug.ShouldStop(32768);
c_principal.__c.runVoidMethod ("LogImpl","04784335",__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"getText"),0);
 BA.debugLineNum = 3508;BA.debugLine="L_ALCANCE.Text = Round2((L_NES.Text / L_REAL.Text";
Debug.ShouldStop(524288);
__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 = 3509;BA.debugLine="L_VPLAN.Text = l_porvisitar.Text";
Debug.ShouldStop(1048576);
__ref.getField(false,"_l_vplan" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText")));
 BA.debugLineNum = 3510;BA.debugLine="L_VREAL.Text = L_CUANTOST.text";
Debug.ShouldStop(2097152);
__ref.getField(false,"_l_vreal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")));
 BA.debugLineNum = 3511;BA.debugLine="L_EFEC_VIS.Text = Round2(L_VREAL.text / L_VPLAN.T";
Debug.ShouldStop(4194304);
__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 = 3512;BA.debugLine="L_VISITCC.Text = l_cuantosc.text";
Debug.ShouldStop(8388608);
__ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText")));
 BA.debugLineNum = 3513;BA.debugLine="L_EFEC_PV.Text = Round2(L_VISITCC.Text / L_VREAL.";
Debug.ShouldStop(16777216);
__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 = 3514;BA.debugLine="L_EFEC_PURA.Text = Round2(L_VISITCC.Text / L_VPLA";
Debug.ShouldStop(33554432);
__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 = 3515;BA.debugLine="l_preventa.Text = Subs.calculaTotalConPromoXRango";
Debug.ShouldStop(67108864);
__ref.getField(false,"_l_preventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal._subs.runMethod(true,"_calculatotalconpromoxrango2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_principal._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))));
 BA.debugLineNum = 3516;BA.debugLine="l_futura.Text = Subs.calculaTotalConPromoXRango1(";
Debug.ShouldStop(134217728);
__ref.getField(false,"_l_futura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_principal._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))));
 BA.debugLineNum = 3517;BA.debugLine="L_LIN_TICK.Text = LPT";
Debug.ShouldStop(268435456);
__ref.getField(false,"_l_lin_tick" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_lpt" /*RemoteObject*/ )));
 BA.debugLineNum = 3518;BA.debugLine="If l_monto_ks.Text <> \"0\" Then";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { 
 BA.debugLineNum = 3519;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select  COU";
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,"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 = 3520;BA.debugLine="c.Position = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3521;BA.debugLine="L_CTE_PROMO.Text = c.GetString(\"CUANTOS\")";
Debug.ShouldStop(1);
__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 = 3522;BA.debugLine="c.Close";
Debug.ShouldStop(2);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3523;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum";
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)((RemoteObject.concat(RemoteObject.createImmutable("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where  CAT_GP_TIPOPROD = ?) ")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PRIORITARIO")}))));
 BA.debugLineNum = 3524;BA.debugLine="d.Position = 0";
Debug.ShouldStop(8);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3533;BA.debugLine="L_PRIO.Text = d.GetString(\"MONTO_DIA\")";
Debug.ShouldStop(4096);
__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 = 3534;BA.debugLine="d.Close";
Debug.ShouldStop(8192);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3536;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum";
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,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where  CAT_GP_TIPOPROD = ?) ")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("ESTRATEGICO")}))));
 BA.debugLineNum = 3537;BA.debugLine="d.Position = 0";
Debug.ShouldStop(65536);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3538;BA.debugLine="L_SECUND.Text =d.GetString(\"MONTO_DIA\")";
Debug.ShouldStop(131072);
__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 = 3539;BA.debugLine="d.Close";
Debug.ShouldStop(262144);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3541;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum";
Debug.ShouldStop(1048576);
__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)((RemoteObject.concat(RemoteObject.createImmutable("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traetablaprods" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_tipo_venta" /*RemoteObject*/ )))))),RemoteObject.createImmutable(" where  CAT_GP_TIPOPROD = ?) ")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("COMPLEMENTARIO")}))));
 BA.debugLineNum = 3542;BA.debugLine="d.Position = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3543;BA.debugLine="L_COMP.Text =d.GetString(\"MONTO_DIA\")";
Debug.ShouldStop(4194304);
__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 = 3544;BA.debugLine="d.Close";
Debug.ShouldStop(8388608);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else {
 BA.debugLineNum = 3546;BA.debugLine="L_PRIO.Text = \"0\"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_l_prio" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 BA.debugLineNum = 3547;BA.debugLine="L_SECUND.Text = \"0\"";
Debug.ShouldStop(67108864);
__ref.getField(false,"_l_secund" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 BA.debugLineNum = 3548;BA.debugLine="L_COMP.Text = \"0\"";
Debug.ShouldStop(134217728);
__ref.getField(false,"_l_comp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0"));
 };
 BA.debugLineNum = 3551;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select  COUNT";
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  COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID "))));
 BA.debugLineNum = 3552;BA.debugLine="c.Position = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3553;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then";
Debug.ShouldStop(1);
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 = 3554;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select  sum(";
Debug.ShouldStop(2);
__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 = 3555;BA.debugLine="d.Position = 0";
Debug.ShouldStop(4);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3556;BA.debugLine="L_CTE_PROMO.Text = d.GetString(\"CUANTOS\")";
Debug.ShouldStop(8);
__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 = 3557;BA.debugLine="d.Close";
Debug.ShouldStop(16);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3558;BA.debugLine="L_REDEN_PROMO.TEXT = Round2(L_VISITCC.Text / L_C";
Debug.ShouldStop(32);
__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 = 3560;BA.debugLine="L_CTE_PROMO.Text = 0";
Debug.ShouldStop(128);
__ref.getField(false,"_l_cte_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3561;BA.debugLine="L_REDEN_PROMO.Text = 0";
Debug.ShouldStop(256);
__ref.getField(false,"_l_reden_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3563;BA.debugLine="c.Close";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3564;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select  COUNT";
Debug.ShouldStop(2048);
__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 = 3565;BA.debugLine="d.Position = 0";
Debug.ShouldStop(4096);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3566;BA.debugLine="L_LIN_TICK.Text = Round2(d.GetString(\"CUANTOS\") /";
Debug.ShouldStop(8192);
__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 = 3567;BA.debugLine="d.Close";
Debug.ShouldStop(16384);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3569;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select  count";
Debug.ShouldStop(65536);
__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 = 3570;BA.debugLine="d.Position = 0";
Debug.ShouldStop(131072);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3571;BA.debugLine="If d.GetString(\"CUANTOS\") > 0 Then";
Debug.ShouldStop(262144);
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 = 3579;BA.debugLine="l_monto_c1.Text = 4000";
Debug.ShouldStop(67108864);
__ref.getField(false,"_l_monto_c1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(4000));
 BA.debugLineNum = 3580;BA.debugLine="l_monto_c2.Text = 2000";
Debug.ShouldStop(134217728);
__ref.getField(false,"_l_monto_c2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(2000));
 BA.debugLineNum = 3581;BA.debugLine="l_monto_c3.Text = 1000";
Debug.ShouldStop(268435456);
__ref.getField(false,"_l_monto_c3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(1000));
 };
 BA.debugLineNum = 3583;BA.debugLine="d.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 3588;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(8);
_s3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s3 = 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 distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s3", _s3);Debug.locals.put("s3", _s3);
 BA.debugLineNum = 3590;BA.debugLine="If s3.RowCount > 0 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean(">",_s3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3591;BA.debugLine="Private total1 As String = 0";
Debug.ShouldStop(64);
_total1 = BA.NumberToString(0);Debug.locals.put("total1", _total1);Debug.locals.put("total1", _total1);
 BA.debugLineNum = 3592;BA.debugLine="For i = 0 To s3.RowCount - 1";
Debug.ShouldStop(128);
{
final int step189 = 1;
final int limit189 = RemoteObject.solve(new RemoteObject[] {_s3.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step189 > 0 && _i <= limit189) || (step189 < 0 && _i >= limit189) ;_i = ((int)(0 + _i + step189))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3593;BA.debugLine="s3.Position = i";
Debug.ShouldStop(256);
_s3.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3595;BA.debugLine="total1 = total1 + Subs.calculaTotalConPromoXRan";
Debug.ShouldStop(1024);
_total1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total1),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total1", _total1);
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 3599;BA.debugLine="L_REAL.Text = NumberFormat2( total1,0,2,2,False)";
Debug.ShouldStop(16384);
__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))));
 }else {
 BA.debugLineNum = 3601;BA.debugLine="L_REAL.Text = 0";
Debug.ShouldStop(65536);
__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3605;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(1048576);
_s5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s5 = 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 distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s5", _s5);Debug.locals.put("s5", _s5);
 BA.debugLineNum = 3607;BA.debugLine="If s5.RowCount > 0 Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean(">",_s5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3608;BA.debugLine="Private total4 As String = 0";
Debug.ShouldStop(8388608);
_total4 = BA.NumberToString(0);Debug.locals.put("total4", _total4);Debug.locals.put("total4", _total4);
 BA.debugLineNum = 3609;BA.debugLine="For i = 0 To s5.RowCount - 1";
Debug.ShouldStop(16777216);
{
final int step200 = 1;
final int limit200 = RemoteObject.solve(new RemoteObject[] {_s5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step200 > 0 && _i <= limit200) || (step200 < 0 && _i >= limit200) ;_i = ((int)(0 + _i + step200))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3610;BA.debugLine="s5.Position = i";
Debug.ShouldStop(33554432);
_s5.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3612;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan";
Debug.ShouldStop(134217728);
_total4 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total4),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango1" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total4", _total4);
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 3616;BA.debugLine="l_preacordada.Text = NumberFormat2(total4,0,2,2,";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_l_preacordada" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total4)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))));
 }else {
 BA.debugLineNum = 3618;BA.debugLine="l_preacordada.Text = 0";
Debug.ShouldStop(2);
__ref.getField(false,"_l_preacordada" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3621;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(16);
_s6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s6 = 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 distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s6", _s6);Debug.locals.put("s6", _s6);
 BA.debugLineNum = 3623;BA.debugLine="If s6.RowCount > 0 Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean(">",_s6.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3624;BA.debugLine="Private total3 As String = 0";
Debug.ShouldStop(128);
_total3 = BA.NumberToString(0);Debug.locals.put("total3", _total3);Debug.locals.put("total3", _total3);
 BA.debugLineNum = 3625;BA.debugLine="For i = 0 To s6.RowCount - 1";
Debug.ShouldStop(256);
{
final int step211 = 1;
final int limit211 = RemoteObject.solve(new RemoteObject[] {_s6.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step211 > 0 && _i <= limit211) || (step211 < 0 && _i >= limit211) ;_i = ((int)(0 + _i + step211))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3626;BA.debugLine="s6.Position = i";
Debug.ShouldStop(512);
_s6.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3628;BA.debugLine="total3 = total3 + Subs.calculaTotalConPromoXRan";
Debug.ShouldStop(2048);
_total3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total3),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total3", _total3);
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 3632;BA.debugLine="l_prevtotal.Text = NumberFormat2(total3,0,2,2,Fa";
Debug.ShouldStop(32768);
__ref.getField(false,"_l_prevtotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total3)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))));
 }else {
 BA.debugLineNum = 3634;BA.debugLine="l_prevtotal.Text = 0";
Debug.ShouldStop(131072);
__ref.getField(false,"_l_prevtotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3638;BA.debugLine="Private s7 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(2097152);
_s7 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s7 = 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(PE_CANT),0) AS PE_CANT, PE_PROID FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO') GROUP BY PE_PROID"))));Debug.locals.put("s7", _s7);Debug.locals.put("s7", _s7);
 BA.debugLineNum = 3639;BA.debugLine="If s7.RowCount > 0 Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean(">",_s7.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3640;BA.debugLine="Dim totalstick As Int = 0";
Debug.ShouldStop(8388608);
_totalstick = BA.numberCast(int.class, 0);Debug.locals.put("totalstick", _totalstick);Debug.locals.put("totalstick", _totalstick);
 BA.debugLineNum = 3641;BA.debugLine="For sfsdf = 0 To s7.RowCount -1";
Debug.ShouldStop(16777216);
{
final int step222 = 1;
final int limit222 = RemoteObject.solve(new RemoteObject[] {_s7.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_sfsdf = 0 ;
for (;(step222 > 0 && _sfsdf <= limit222) || (step222 < 0 && _sfsdf >= limit222) ;_sfsdf = ((int)(0 + _sfsdf + step222))  ) {
Debug.locals.put("sfsdf", _sfsdf);
 BA.debugLineNum = 3642;BA.debugLine="s7.Position= sfsdf";
Debug.ShouldStop(33554432);
_s7.runMethod(true,"setPosition",BA.numberCast(int.class, _sfsdf));
 BA.debugLineNum = 3643;BA.debugLine="Log(\"ENTRE AQUI\")";
Debug.ShouldStop(67108864);
c_principal.__c.runVoidMethod ("LogImpl","04784474",RemoteObject.createImmutable("ENTRE AQUI"),0);
 BA.debugLineNum = 3644;BA.debugLine="Dim s8 As Cursor = B4XPages.MainPage.skmt.ExecQ";
Debug.ShouldStop(134217728);
_s8 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s8 = 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.concat(RemoteObject.createImmutable("SELECT CAT_GP_CONVERSION3 FROM CAT_GUNAPROD WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_s7.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("s8", _s8);Debug.locals.put("s8", _s8);
 BA.debugLineNum = 3645;BA.debugLine="s8.Position = 0";
Debug.ShouldStop(268435456);
_s8.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3646;BA.debugLine="totalstick = totalstick + (s7.GetString(\"PE_CAN";
Debug.ShouldStop(536870912);
_totalstick = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalstick,(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _s7.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _s8.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CONVERSION3"))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("totalstick", _totalstick);
 }
}Debug.locals.put("sfsdf", _sfsdf);
;
 BA.debugLineNum = 3648;BA.debugLine="Dim totaltotaltot As Int = totalstick/200";
Debug.ShouldStop(-2147483648);
_totaltotaltot = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalstick,RemoteObject.createImmutable(200)}, "/",0, 0));Debug.locals.put("totaltotaltot", _totaltotaltot);Debug.locals.put("totaltotaltot", _totaltotaltot);
 BA.debugLineNum = 3649;BA.debugLine="l_ru_pri.Text = totaltotaltot";
Debug.ShouldStop(1);
__ref.getField(false,"_l_ru_pri" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_totaltotaltot));
 }else {
 BA.debugLineNum = 3651;BA.debugLine="l_ru_pri.Text = 0";
Debug.ShouldStop(4);
__ref.getField(false,"_l_ru_pri" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3654;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(32);
_s0 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s0 = 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(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP')"))));Debug.locals.put("s0", _s0);Debug.locals.put("s0", _s0);
 BA.debugLineNum = 3655;BA.debugLine="If s0.RowCount > 0 Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean(">",_s0.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3657;BA.debugLine="s0.Position = 0";
Debug.ShouldStop(256);
_s0.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3658;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))";
Debug.ShouldStop(512);
c_principal.__c.runVoidMethod ("LogImpl","04784489",_s0.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0);
 BA.debugLineNum = 3659;BA.debugLine="L_REAL.Text = s0.GetString(\"PE_CANT\")";
Debug.ShouldStop(1024);
__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s0.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))));
 }else {
 BA.debugLineNum = 3661;BA.debugLine="L_REAL.Text = 0";
Debug.ShouldStop(4096);
__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3664;BA.debugLine="L_NES.Text = 0";
Debug.ShouldStop(32768);
__ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3665;BA.debugLine="l_ru_sup.Text = 0";
Debug.ShouldStop(65536);
__ref.getField(false,"_l_ru_sup" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3666;BA.debugLine="L_ALCANCE.Text = 0";
Debug.ShouldStop(131072);
__ref.getField(false,"_l_alcance" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3667;BA.debugLine="L_VPLAN.Text = 0";
Debug.ShouldStop(262144);
__ref.getField(false,"_l_vplan" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3668;BA.debugLine="L_VREAL.Text = 0";
Debug.ShouldStop(524288);
__ref.getField(false,"_l_vreal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3669;BA.debugLine="L_EFEC_VIS.Text = 0";
Debug.ShouldStop(1048576);
__ref.getField(false,"_l_efec_vis" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3670;BA.debugLine="L_VISITCC.Text = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3671;BA.debugLine="L_EFEC_PV.Text = 0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_l_efec_pv" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3672;BA.debugLine="L_EFEC_PURA.Text = 0";
Debug.ShouldStop(8388608);
__ref.getField(false,"_l_efec_pura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3673;BA.debugLine="l_preventa.Text = 0";
Debug.ShouldStop(16777216);
__ref.getField(false,"_l_preventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3674;BA.debugLine="l_futura.Text = 0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_l_futura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3675;BA.debugLine="Label13.Text = 0";
Debug.ShouldStop(67108864);
__ref.getField(false,"_label13" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3676;BA.debugLine="Label19.Text = 0";
Debug.ShouldStop(134217728);
__ref.getField(false,"_label19" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3677;BA.debugLine="Label21.Text = 0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_label21" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3680;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(-2147483648);
_s0 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s0 = 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 count(distinct(PE_CLIENTE)) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO')"))));Debug.locals.put("s0", _s0);Debug.locals.put("s0", _s0);
 BA.debugLineNum = 3681;BA.debugLine="If s0.RowCount > 0 Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean(">",_s0.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3682;BA.debugLine="s0.Position = 0";
Debug.ShouldStop(2);
_s0.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3683;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))";
Debug.ShouldStop(4);
c_principal.__c.runVoidMethod ("LogImpl","04784514",_s0.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0);
 BA.debugLineNum = 3684;BA.debugLine="Label33.Text = s0.GetString(\"PE_CANT\")";
Debug.ShouldStop(8);
__ref.getField(false,"_label33" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s0.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))));
 }else {
 BA.debugLineNum = 3686;BA.debugLine="Label33.Text = 0";
Debug.ShouldStop(32);
__ref.getField(false,"_label33" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3689;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(256);
_s5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s5 = 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 distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s5", _s5);Debug.locals.put("s5", _s5);
 BA.debugLineNum = 3691;BA.debugLine="If s5.RowCount > 0 Then";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean(">",_s5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3692;BA.debugLine="Private total4 As String = 0";
Debug.ShouldStop(2048);
_total4 = BA.NumberToString(0);Debug.locals.put("total4", _total4);Debug.locals.put("total4", _total4);
 BA.debugLineNum = 3693;BA.debugLine="For i = 0 To s5.RowCount - 1";
Debug.ShouldStop(4096);
{
final int step267 = 1;
final int limit267 = RemoteObject.solve(new RemoteObject[] {_s5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step267 > 0 && _i <= limit267) || (step267 < 0 && _i >= limit267) ;_i = ((int)(0 + _i + step267))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3694;BA.debugLine="s5.Position = i";
Debug.ShouldStop(8192);
_s5.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3696;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan";
Debug.ShouldStop(32768);
_total4 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total4),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango5" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total4", _total4);
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 3700;BA.debugLine="Label35.Text = NumberFormat2(total4,0,2,2,False)";
Debug.ShouldStop(524288);
__ref.getField(false,"_label35" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total4)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))));
 }else {
 BA.debugLineNum = 3702;BA.debugLine="Label35.Text = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_label35" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3705;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(16777216);
_s0 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s0 = 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 count(distinct(PE_CLIENTE)) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP')"))));Debug.locals.put("s0", _s0);Debug.locals.put("s0", _s0);
 BA.debugLineNum = 3706;BA.debugLine="If s0.RowCount > 0 Then";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean(">",_s0.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3707;BA.debugLine="s0.Position = 0";
Debug.ShouldStop(67108864);
_s0.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3708;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))";
Debug.ShouldStop(134217728);
c_principal.__c.runVoidMethod ("LogImpl","04784539",_s0.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0);
 BA.debugLineNum = 3709;BA.debugLine="Label43.Text = s0.GetString(\"PE_CANT\")";
Debug.ShouldStop(268435456);
__ref.getField(false,"_label43" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_s0.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))));
 }else {
 BA.debugLineNum = 3711;BA.debugLine="Label43.Text = 0";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_label43" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3714;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(2);
_s5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s5 = 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 distinct(pe_cliente) FROM PEDIDO"))));Debug.locals.put("s5", _s5);Debug.locals.put("s5", _s5);
 BA.debugLineNum = 3716;BA.debugLine="If s5.RowCount > 0 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean(">",_s5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3717;BA.debugLine="Private total4 As String = 0";
Debug.ShouldStop(16);
_total4 = BA.NumberToString(0);Debug.locals.put("total4", _total4);Debug.locals.put("total4", _total4);
 BA.debugLineNum = 3718;BA.debugLine="For i = 0 To s5.RowCount - 1";
Debug.ShouldStop(32);
{
final int step286 = 1;
final int limit286 = RemoteObject.solve(new RemoteObject[] {_s5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step286 > 0 && _i <= limit286) || (step286 < 0 && _i >= limit286) ;_i = ((int)(0 + _i + step286))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 3719;BA.debugLine="s5.Position = i";
Debug.ShouldStop(64);
_s5.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 3721;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan";
Debug.ShouldStop(256);
_total4 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total4),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_calculatotalconpromoxrango6" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_s5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))))))}, "+",1, 0));Debug.locals.put("total4", _total4);
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 3725;BA.debugLine="Label51.Text = NumberFormat2(total4,0,2,2,False)";
Debug.ShouldStop(4096);
__ref.getField(false,"_label51" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total4)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))));
 }else {
 BA.debugLineNum = 3727;BA.debugLine="Label51.Text = 0";
Debug.ShouldStop(16384);
__ref.getField(false,"_label51" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3730;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(131072);
_s6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_s6 = 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(COB_VOLUMEN,0) AS COB_VOLUMEN, IFNULL(COB_MARCAE,0) AS COB_MARCAE, IFNULL(COB_PORTAFOLIO,0) AS COB_PORTAFOLIO, IFNULL(COB_OBJPP,0) AS COB_OBJPP, IFNULL(COB_GEV,0) as COB_GEV FROM CAT_OBJETIVO_BAT"))));Debug.locals.put("s6", _s6);Debug.locals.put("s6", _s6);
 BA.debugLineNum = 3731;BA.debugLine="If s6.RowCount > 0 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean(">",_s6.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3732;BA.debugLine="s6.Position = 0";
Debug.ShouldStop(524288);
_s6.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 3733;BA.debugLine="L_NES.Text = NumberFormat2(s6.GetString(\"COB_VOL";
Debug.ShouldStop(1048576);
__ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _s6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COB_VOLUMEN"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_principal.__c.getField(true,"False")))));
 BA.debugLineNum = 3734;BA.debugLine="L_EFEC_PURA.Text = NumberFormat2(s6.GetString(\"C";
Debug.ShouldStop(2097152);
__ref.getField(false,"_l_efec_pura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _s6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COB_MARCAE"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_principal.__c.getField(true,"False")))));
 BA.debugLineNum = 3735;BA.debugLine="L_VISITCC.Text = NumberFormat2(s6.GetString(\"COB";
Debug.ShouldStop(4194304);
__ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _s6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COB_PORTAFOLIO"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_principal.__c.getField(true,"False")))));
 BA.debugLineNum = 3736;BA.debugLine="l_ru_sup.Text = NumberFormat2(s6.GetString(\"COB_";
Debug.ShouldStop(8388608);
__ref.getField(false,"_l_ru_sup" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _s6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COB_OBJPP"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_principal.__c.getField(true,"False")))));
 BA.debugLineNum = 3737;BA.debugLine="l_futura.Text = NumberFormat2(s6.GetString(\"COB_";
Debug.ShouldStop(16777216);
__ref.getField(false,"_l_futura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _s6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COB_GEV"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_principal.__c.getField(true,"False")))));
 }else {
 BA.debugLineNum = 3739;BA.debugLine="L_NES.Text = 0";
Debug.ShouldStop(67108864);
__ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3740;BA.debugLine="L_EFEC_PURA.Text = 0";
Debug.ShouldStop(134217728);
__ref.getField(false,"_l_efec_pura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3741;BA.debugLine="L_VISITCC.Text = 0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3742;BA.debugLine="l_ru_sup.Text = 0";
Debug.ShouldStop(536870912);
__ref.getField(false,"_l_ru_sup" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 3743;BA.debugLine="l_futura.Text = 0";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_l_futura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 };
 BA.debugLineNum = 3746;BA.debugLine="End Sub";
Debug.ShouldStop(2);
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",3,__ref.getField(false, "ba"),__ref,3278);
if (RapidSub.canDelegate("resumen_click")) { return __ref.runUserSub(false, "c_principal","resumen_click", __ref);}
 BA.debugLineNum = 3278;BA.debugLine="Sub Resumen_Click";
Debug.ShouldStop(8192);
 BA.debugLineNum = 3279;BA.debugLine="P_RESUMEN.Visible = True";
Debug.ShouldStop(16384);
__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3287;BA.debugLine="End Sub";
Debug.ShouldStop(4194304);
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",3,__ref.getField(false, "ba"),__ref,636);
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 _fotomostrar1 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _fotoenvio = null;
RemoteObject _h = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper");
RemoteObject _eventob = RemoteObject.createImmutable("");
RemoteObject _clienteb = RemoteObject.createImmutable("");
RemoteObject _finb = RemoteObject.createImmutable("");
RemoteObject _nombrecliente = RemoteObject.createImmutable("");
RemoteObject _rutaactual = RemoteObject.createImmutable("");
RemoteObject _x = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _x1 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _x2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
 BA.debugLineNum = 636;BA.debugLine="Sub Subir_Click";
Debug.ShouldStop(134217728);
 BA.debugLineNum = 637;BA.debugLine="checaPedido";
Debug.ShouldStop(268435456);
__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_checapedido" /*RemoteObject*/ );
 BA.debugLineNum = 638;BA.debugLine="CARGA = \"SUBIR\"";
Debug.ShouldStop(536870912);
__ref.setField ("_carga" /*RemoteObject*/ ,BA.ObjectToString("SUBIR"));
 BA.debugLineNum = 639;BA.debugLine="P1.Visible = True";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 640;BA.debugLine="P1.BringToFront";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_p1" /*RemoteObject*/ ).runVoidMethod ("BringToFront");
 BA.debugLineNum = 642;BA.debugLine="NUEVO.Visible =False";
Debug.ShouldStop(2);
__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 643;BA.debugLine="BUSCA.Visible=False";
Debug.ShouldStop(4);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 644;BA.debugLine="connecta.Visible=False";
Debug.ShouldStop(8);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 645;BA.debugLine="Subir.Visible=False";
Debug.ShouldStop(16);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 646;BA.debugLine="cargar.Visible=False";
Debug.ShouldStop(32);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 647;BA.debugLine="L_P_1.Visible = False";
Debug.ShouldStop(64);
__ref.getField(false,"_l_p_1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 648;BA.debugLine="S_CC.Visible = False";
Debug.ShouldStop(128);
__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 649;BA.debugLine="L_P_3.Visible = False";
Debug.ShouldStop(256);
__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 650;BA.debugLine="S_CH.Visible = False";
Debug.ShouldStop(512);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 651;BA.debugLine="PB1.Visible = False";
Debug.ShouldStop(1024);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 652;BA.debugLine="Resumen.Visible= False";
Debug.ShouldStop(2048);
__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 653;BA.debugLine="l_visitartotal.Visible = False";
Debug.ShouldStop(4096);
__ref.getField(false,"_l_visitartotal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 654;BA.debugLine="de.Visible = False";
Debug.ShouldStop(8192);
__ref.getField(false,"_de" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 655;BA.debugLine="l_faltan.Visible = False";
Debug.ShouldStop(16384);
__ref.getField(false,"_l_faltan" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 656;BA.debugLine="l_visitas.Visible = False";
Debug.ShouldStop(32768);
__ref.getField(false,"_l_visitas" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 658;BA.debugLine="p_principal.Visible = False";
Debug.ShouldStop(131072);
__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 659;BA.debugLine="Subs.panelVisible(P1, 0, 0)";
Debug.ShouldStop(262144);
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 = 660;BA.debugLine="Subs.centraPanel(P1, Root.Width)";
Debug.ShouldStop(524288);
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 = 661;BA.debugLine="Subs.centraPanelV(P1, Root.Height)";
Debug.ShouldStop(1048576);
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 = 662;BA.debugLine="B4XPages.MainPage.reqManager.trackInit";
Debug.ShouldStop(2097152);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_trackinit" /*RemoteObject*/ );
 BA.debugLineNum = 664;BA.debugLine="L_P_2.Text = \"Envio de Pedidos\"";
Debug.ShouldStop(8388608);
__ref.getField(false,"_l_p_2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Envio de Pedidos"));
 BA.debugLineNum = 665;BA.debugLine="L_P_3.Text = \"Envio de Pedidos\"";
Debug.ShouldStop(16777216);
__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Envio de Pedidos"));
 BA.debugLineNum = 666;BA.debugLine="S_CH.Text = \"EN PROCESO\"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO"));
 BA.debugLineNum = 667;BA.debugLine="S_CP.Text = \"EN PROCESO\"";
Debug.ShouldStop(67108864);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO"));
 BA.debugLineNum = 668;BA.debugLine="B_OK_PAS.Text = \"ENVIANDO\"";
Debug.ShouldStop(134217728);
__ref.getField(false,"_b_ok_pas" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ENVIANDO"));
 BA.debugLineNum = 669;BA.debugLine="PB1.Progress = 0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0));
 BA.debugLineNum = 670;BA.debugLine="PB2.Progress = 0";
Debug.ShouldStop(536870912);
__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0));
 BA.debugLineNum = 676;BA.debugLine="PASO = 1";
Debug.ShouldStop(8);
__ref.setField ("_paso" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 678;BA.debugLine="If PASO =1 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_paso" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 679;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
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 pedido_cliente where PC_CLIENTE not In (select PE_CLIENTE from pedido)")));
 BA.debugLineNum = 680;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar";
Debug.ShouldStop(128);
__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 = 681;BA.debugLine="c.Position = 0";
Debug.ShouldStop(256);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 682;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(512);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 683;BA.debugLine="c.Close";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 684;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HGDAT";
Debug.ShouldStop(2048);
__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 = 685;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 686;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(8192);
{
final int step41 = 1;
final int limit41 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step41 > 0 && _i <= limit41) || (step41 < 0 && _i >= limit41) ;_i = ((int)(0 + _i + step41))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 687;BA.debugLine="c.Position=i";
Debug.ShouldStop(16384);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 688;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(32768);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 689;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(65536);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 690;BA.debugLine="cmd.Name = \"UPDATE_GUNA_ACTUAL2_GPS\"";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("UPDATE_GUNA_ACTUAL2_GPS"));
 BA.debugLineNum = 691;BA.debugLine="cmd.Parameters = Array As Object(NumberFormat2";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_montoactual" /*RemoteObject*/ ))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))),(__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("hglat")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("hglon")))),(__ref.getField(false,"_batterystatus" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, 0))),(__ref.getField(true,"_lpt" /*RemoteObject*/ )),(__ref.getField(true,"_steyin" /*RemoteObject*/ )),(__ref.getField(true,"_steyout" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 692;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(524288);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_visitas"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 695;BA.debugLine="c.Close";
Debug.ShouldStop(4194304);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 698;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT PC_CL";
Debug.ShouldStop(33554432);
__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 "))));
 BA.debugLineNum = 699;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT";
Debug.ShouldStop(67108864);
__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 "))));
 BA.debugLineNum = 700;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 701;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(268435456);
{
final int step54 = 1;
final int limit54 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step54 > 0 && _i <= limit54) || (step54 < 0 && _i >= limit54) ;_i = ((int)(0 + _i + step54))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 702;BA.debugLine="c.Position=i";
Debug.ShouldStop(536870912);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 703;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(1073741824);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 704;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 705;BA.debugLine="cmd.Name = \"insert_pedidos_GV3\"";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedidos_GV3"));
 BA.debugLineNum = 706;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
Debug.ShouldStop(2);
__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*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__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 = 707;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(4);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedidos"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 710;BA.debugLine="c.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 711;BA.debugLine="d.Position=0";
Debug.ShouldStop(64);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 712;BA.debugLine="cuantos_pedidosc = D.GetString(\"CUANTOS_PEDIDOSC";
Debug.ShouldStop(128);
__ref.setField ("_cuantos_pedidosc" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_PEDIDOSC"))));
 BA.debugLineNum = 713;BA.debugLine="d.Close";
Debug.ShouldStop(256);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 717;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT CODIG";
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 CODIGOKMTS, CODIGOB, LAT, LON FROM HIST_CODIGO_BARRAS"))));
 BA.debugLineNum = 718;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 719;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(16384);
{
final int step69 = 1;
final int limit69 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step69 > 0 && _i <= limit69) || (step69 < 0 && _i >= limit69) ;_i = ((int)(0 + _i + step69))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 720;BA.debugLine="c.Position=i";
Debug.ShouldStop(32768);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 721;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(65536);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 722;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 723;BA.debugLine="cmd.Name = \"insert_QR_2_GV2\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_QR_2_GV2"));
 BA.debugLineNum = 724;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CODIGOKMTS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CODIGOB")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LON")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LAT")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 725;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(1048576);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_QR2"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 728;BA.debugLine="c.Close";
Debug.ShouldStop(8388608);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 731;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO";
Debug.ShouldStop(67108864);
__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 * FROM PLAN_LEALTAD WHERE DESCARGADO IS NULL"))));
 BA.debugLineNum = 732;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 733;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(268435456);
{
final int step81 = 1;
final int limit81 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step81 > 0 && _i <= limit81) || (step81 < 0 && _i >= limit81) ;_i = ((int)(0 + _i + step81))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 734;BA.debugLine="c.Position=i";
Debug.ShouldStop(536870912);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 735;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(1073741824);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 736;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 737;BA.debugLine="cmd.Name = \"insert_plan_lealtad_GUNA\"";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_plan_lealtad_GUNA"));
 BA.debugLineNum = 738;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
Debug.ShouldStop(2);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PL_BANDERA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PL_CLIENTE")))),(c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba")))}));
 BA.debugLineNum = 739;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(4);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insPlanLealtad"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 742;BA.debugLine="c.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 745;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO";
Debug.ShouldStop(256);
__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 * FROM COMENTARIOS WHERE DESCARGADO IS NULL"))));
 BA.debugLineNum = 746;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 747;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(1024);
{
final int step93 = 1;
final int limit93 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step93 > 0 && _i <= limit93) || (step93 < 0 && _i >= limit93) ;_i = ((int)(0 + _i + step93))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 748;BA.debugLine="c.Position=i";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 749;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(4096);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 750;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(8192);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 751;BA.debugLine="cmd.Name = \"insert_coments_GUNA2\"";
Debug.ShouldStop(16384);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_coments_GUNA2"));
 BA.debugLineNum = 752;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
Debug.ShouldStop(32768);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COMENTARTIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("comentario_tmp"))))}));
 BA.debugLineNum = 753;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(65536);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("INS_coment"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 756;BA.debugLine="c.Close";
Debug.ShouldStop(524288);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 758;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT * FROM CLIENTES";
Debug.ShouldStop(2097152);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM CLIENTES_NUEVOS"))));
 BA.debugLineNum = 759;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 = 760;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(8388608);
{
final int step105 = 1;
final int limit105 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step105 > 0 && _i <= limit105) || (step105 < 0 && _i >= limit105) ;_i = ((int)(0 + _i + step105))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 761;BA.debugLine="c.Position = i";
Debug.ShouldStop(16777216);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 762;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTim";
Debug.ShouldStop(33554432);
_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 = 763;BA.debugLine="If dia = 2  Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 2))) { 
 BA.debugLineNum = 764;BA.debugLine="Dim dialetra As String = \"LUNES\"";
Debug.ShouldStop(134217728);
_dialetra = BA.ObjectToString("LUNES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 765;BA.debugLine="Else If dia = 3  Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 3))) { 
 BA.debugLineNum = 766;BA.debugLine="Dim dialetra As String = \"MARTES\"";
Debug.ShouldStop(536870912);
_dialetra = BA.ObjectToString("MARTES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 767;BA.debugLine="Else If dia = 4  Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 4))) { 
 BA.debugLineNum = 768;BA.debugLine="Dim dialetra As String = \"MIERCOLES\"";
Debug.ShouldStop(-2147483648);
_dialetra = BA.ObjectToString("MIERCOLES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 769;BA.debugLine="Else If dia = 5  Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 5))) { 
 BA.debugLineNum = 770;BA.debugLine="Dim dialetra As String = \"JUEVES\"";
Debug.ShouldStop(2);
_dialetra = BA.ObjectToString("JUEVES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 771;BA.debugLine="Else If dia = 6  Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 6))) { 
 BA.debugLineNum = 772;BA.debugLine="Dim dialetra As String = \"VIERNES\"";
Debug.ShouldStop(8);
_dialetra = BA.ObjectToString("VIERNES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }else 
{ BA.debugLineNum = 773;BA.debugLine="Else If dia = 7  Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 7))) { 
 BA.debugLineNum = 774;BA.debugLine="Dim dialetra As String = \"SABADO\"";
Debug.ShouldStop(32);
_dialetra = BA.ObjectToString("SABADO");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra);
 }}}}}}
;
 BA.debugLineNum = 776;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(128);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 777;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 778;BA.debugLine="cmd.Name = \"insert_clientesnuevos_GUNA2\"";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_clientesnuevos_GUNA2"));
 BA.debugLineNum = 779;BA.debugLine="Log(c.GetString(\"CN_ID\")&\"    ,\"& c.GetString(";
Debug.ShouldStop(1024);
c_principal.__c.runVoidMethod ("LogImpl","03604623",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"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CALLE1"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CALLE2")))),0);
 BA.debugLineNum = 780;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"";
Debug.ShouldStop(2048);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {21},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")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CALLE1")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CALLE2")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NUMEROINT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NUMEROEXT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_REFERENCIA"))))}));
 BA.debugLineNum = 781;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(4096);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 784;BA.debugLine="c.Close";
Debug.ShouldStop(32768);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 786;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.ExecQu";
Debug.ShouldStop(131072);
_fotomostrar1 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_fotomostrar1 = 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 kmt_info3 where foto is not NULL"))));Debug.locals.put("fotomostrar1", _fotomostrar1);Debug.locals.put("fotomostrar1", _fotomostrar1);
 BA.debugLineNum = 787;BA.debugLine="If fotomostrar1.RowCount>0 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean(">",_fotomostrar1.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 788;BA.debugLine="For i=0 To fotomostrar1.RowCount -1";
Debug.ShouldStop(524288);
{
final int step132 = 1;
final int limit132 = RemoteObject.solve(new RemoteObject[] {_fotomostrar1.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step132 > 0 && _i <= limit132) || (step132 < 0 && _i >= limit132) ;_i = ((int)(0 + _i + step132))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 789;BA.debugLine="fotomostrar1.Position=i";
Debug.ShouldStop(1048576);
_fotomostrar1.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 790;BA.debugLine="Dim fotoenvio() As Byte = fotomostrar1.GetBlob";
Debug.ShouldStop(2097152);
_fotoenvio = _fotomostrar1.runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("foto")));Debug.locals.put("fotoenvio", _fotoenvio);Debug.locals.put("fotoenvio", _fotoenvio);
 BA.debugLineNum = 791;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(4194304);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 792;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 793;BA.debugLine="cmd.Name = \"UPDATE_FOTO_GUNA\"";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("UPDATE_FOTO_GUNA"));
 BA.debugLineNum = 794;BA.debugLine="cmd.Parameters = Array As Object(fotoenvio,fot";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(_fotoenvio),(_fotomostrar1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))),(c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba")))}));
 BA.debugLineNum = 795;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(67108864);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("INS_coment"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 798;BA.debugLine="fotomostrar1.Close";
Debug.ShouldStop(536870912);
_fotomostrar1.runVoidMethod ("Close");
 BA.debugLineNum = 800;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_C";
Debug.ShouldStop(-2147483648);
__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_CL_NUM_SERIEFISICO,CAT_CL_CODIGO ,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_FOTO FROM kmt_info3 where CAT_CL_NUM_SERIEFISICO IS NOT NULL and gestion <> '0'"))));
 BA.debugLineNum = 801;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 = 802;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(2);
{
final int step145 = 1;
final int limit145 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step145 > 0 && _i <= limit145) || (step145 < 0 && _i >= limit145) ;_i = ((int)(0 + _i + step145))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 803;BA.debugLine="c.Position=i";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 806;BA.debugLine="foto1 = c.GetBlob(\"CAT_CL_FOTO\")";
Debug.ShouldStop(32);
__ref.setField ("_foto1" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("CAT_CL_FOTO"))));
 BA.debugLineNum = 807;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(64);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 808;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(128);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 809;BA.debugLine="cmd.Name = \"insert_QR_GV2\"";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_QR_GV2"));
 BA.debugLineNum = 810;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_foto1" /*RemoteObject*/ ))}));
 BA.debugLineNum = 811;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(1024);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_QR"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 814;BA.debugLine="c.Close";
Debug.ShouldStop(8192);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 817;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_C";
Debug.ShouldStop(65536);
__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_CL_ATIENDE1, CAT_CL_CODIGO from kmt_info3 where CAT_CL_CODIGO IN (SELECT CLIENTE FROM ATIENDE)"))));
 BA.debugLineNum = 818;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 = 819;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(262144);
{
final int step158 = 1;
final int limit158 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step158 > 0 && _i <= limit158) || (step158 < 0 && _i >= limit158) ;_i = ((int)(0 + _i + step158))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 820;BA.debugLine="c.Position=i";
Debug.ShouldStop(524288);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 821;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(1048576);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 822;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(2097152);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 823;BA.debugLine="cmd.Name = \"update_atiende_guna\"";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_atiende_guna"));
 BA.debugLineNum = 824;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))),(__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("CAT_CL_CODIGO"))))))}));
 BA.debugLineNum = 825;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(16777216);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("up_coordenadas"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 828;BA.debugLine="c.Close";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 832;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select * fro";
Debug.ShouldStop(-2147483648);
__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 * from CODIGOS_CREDITO where BANDERA = 1"))));
 BA.debugLineNum = 833;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 = 834;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(2);
{
final int step170 = 1;
final int limit170 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step170 > 0 && _i <= limit170) || (step170 < 0 && _i >= limit170) ;_i = ((int)(0 + _i + step170))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 835;BA.debugLine="c.Position=i";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 836;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(8);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 837;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 838;BA.debugLine="cmd.Name = \"update_ventacredito_guna\"";
Debug.ShouldStop(32);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_ventacredito_guna"));
 BA.debugLineNum = 839;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[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("BANDERA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(__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("CLIENTE"))))))}));
 BA.debugLineNum = 840;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(128);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("up_coordenadas"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 843;BA.debugLine="c.Close";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 846;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_C";
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 CAT_CL_TELEFONO, CAT_CL_CODIGO from kmt_info3 where CAT_CL_CODIGO IN (SELECT CLIENTE FROM ATIENDE)"))));
 BA.debugLineNum = 847;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 848;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(32768);
{
final int step182 = 1;
final int limit182 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step182 > 0 && _i <= limit182) || (step182 < 0 && _i >= limit182) ;_i = ((int)(0 + _i + step182))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 849;BA.debugLine="c.Position=i";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 850;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(131072);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 851;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 852;BA.debugLine="cmd.Name = \"update_telefono_guna\"";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_telefono_guna"));
 BA.debugLineNum = 853;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))),(__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("CAT_CL_CODIGO"))))))}));
 BA.debugLineNum = 854;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(2097152);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("up_coordenadas"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 857;BA.debugLine="c.Close";
Debug.ShouldStop(16777216);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 860;BA.debugLine="Private h As ResultSet = B4XPages.MainPage.skmt.";
Debug.ShouldStop(134217728);
_h = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper");
_h = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select * from bitacoraGPS")))));Debug.locals.put("h", _h);Debug.locals.put("h", _h);
 BA.debugLineNum = 861;BA.debugLine="Do While h.nextrow";
Debug.ShouldStop(268435456);
while (_h.runMethod(true,"NextRow").<Boolean>get().booleanValue()) {
 BA.debugLineNum = 862;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 863;BA.debugLine="Private eventob As String = h.GetString(\"evento";
Debug.ShouldStop(1073741824);
_eventob = _h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("eventob")));Debug.locals.put("eventob", _eventob);Debug.locals.put("eventob", _eventob);
 BA.debugLineNum = 864;BA.debugLine="cmd.Name = \"mandaBitacora3_GUNA\"";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("mandaBitacora3_GUNA"));
 BA.debugLineNum = 866;BA.debugLine="Private clienteb As String = h.GetString(\"clien";
Debug.ShouldStop(2);
_clienteb = _h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("clienteb")));Debug.locals.put("clienteb", _clienteb);Debug.locals.put("clienteb", _clienteb);
 BA.debugLineNum = 867;BA.debugLine="Private finb As String = h.GetString(\"finb\")";
Debug.ShouldStop(4);
_finb = _h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("finb")));Debug.locals.put("finb", _finb);Debug.locals.put("finb", _finb);
 BA.debugLineNum = 868;BA.debugLine="Private nombreCliente As String =Subs. traeNomb";
Debug.ShouldStop(8);
_nombrecliente = c_principal._subs.runMethod(true,"_traenombrecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("clienteb")))));Debug.locals.put("nombreCliente", _nombrecliente);Debug.locals.put("nombreCliente", _nombrecliente);
 BA.debugLineNum = 869;BA.debugLine="If eventob = \"Llega a almacen\" Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Llega a almacen"))) { 
 BA.debugLineNum = 870;BA.debugLine="nombreCliente = \"BOLETA\"";
Debug.ShouldStop(32);
_nombrecliente = BA.ObjectToString("BOLETA");Debug.locals.put("nombreCliente", _nombrecliente);
 BA.debugLineNum = 871;BA.debugLine="clienteb = \"\"";
Debug.ShouldStop(64);
_clienteb = BA.ObjectToString("");Debug.locals.put("clienteb", _clienteb);
 BA.debugLineNum = 872;BA.debugLine="finb = h.GetString(\"iniciob\")";
Debug.ShouldStop(128);
_finb = _h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("iniciob")));Debug.locals.put("finb", _finb);
 };
 BA.debugLineNum = 876;BA.debugLine="If eventob = \"Salida almacen\" Then nombreClient";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Salida almacen"))) { 
_nombrecliente = BA.ObjectToString("CHECKLIST");Debug.locals.put("nombreCliente", _nombrecliente);};
 BA.debugLineNum = 877;BA.debugLine="If eventob = \"Fin Día\" Then nombreCliente = \"FI";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Fin Día"))) { 
_nombrecliente = BA.ObjectToString("FIN DIA");Debug.locals.put("nombreCliente", _nombrecliente);};
 BA.debugLineNum = 878;BA.debugLine="If eventob = \"Carga día\" Then nombreCliente = \"";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Carga día"))) { 
_nombrecliente = BA.ObjectToString("CARGA DIA");Debug.locals.put("nombreCliente", _nombrecliente);};
 BA.debugLineNum = 879;BA.debugLine="If eventob = \"Carga día suplencia\" Then nombreC";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",_eventob,BA.ObjectToString("Carga día suplencia"))) { 
_nombrecliente = c_principal._subs.runMethod(true,"_traerutassup" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("nombreCliente", _nombrecliente);};
 BA.debugLineNum = 883;BA.debugLine="cmd.Parameters = Array As Object(h.GetString(\"a";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {15},new Object[] {(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("almacenb")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("usuariob")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("rutab")))),(_eventob),(_clienteb),(_nombrecliente),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("iniciob")))),(_finb),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("latitudb")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("longitudb")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("precision")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("motivonoventa")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("motivonovisita")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fechab")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("BAN_GEOB"))))}));
 BA.debugLineNum = 884;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
Debug.ShouldStop(524288);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("mandaBitacora"))));
 }
;
 BA.debugLineNum = 886;BA.debugLine="Log(\"MANDAMOS BITACORA\")";
Debug.ShouldStop(2097152);
c_principal.__c.runVoidMethod ("LogImpl","03604730",RemoteObject.createImmutable("MANDAMOS BITACORA"),0);
 BA.debugLineNum = 888;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT HE_CL";
Debug.ShouldStop(8388608);
__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 HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON, HE_FOTO FROM HIST_ENCUESTA"))));
 BA.debugLineNum = 889;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 = 890;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(33554432);
{
final int step215 = 1;
final int limit215 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step215 > 0 && _i <= limit215) || (step215 < 0 && _i >= limit215) ;_i = ((int)(0 + _i + step215))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 891;BA.debugLine="c.Position=i";
Debug.ShouldStop(67108864);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 892;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(134217728);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 893;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(268435456);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 894;BA.debugLine="cmd.Name = \"insert_encuesta2_GUNA\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_encuesta2_GUNA"));
 BA.debugLineNum = 896;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_RES")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_TIPO")))),(c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_LAT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_LON")))),RemoteObject.createImmutable(("")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("HE_FOTO"))))}));
 BA.debugLineNum = 897;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(1);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_encuesta"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 900;BA.debugLine="c.Close";
Debug.ShouldStop(8);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 903;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_C";
Debug.ShouldStop(64);
__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 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 FROM PEDIDO WHERE (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));
 BA.debugLineNum = 904;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT";
Debug.ShouldStop(128);
__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 = 905;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 906;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(512);
{
final int step228 = 1;
final int limit228 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step228 > 0 && _i <= limit228) || (step228 < 0 && _i >= limit228) ;_i = ((int)(0 + _i + step228))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 907;BA.debugLine="c.Position=i";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 908;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(2048);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 909;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 910;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
Debug.ShouldStop(8192);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2"));
 BA.debugLineNum = 911;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
Debug.ShouldStop(16384);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__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")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__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")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__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")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))}));
 BA.debugLineNum = 912;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(32768);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedido"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 915;BA.debugLine="c.Close";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 916;BA.debugLine="d.Position=0";
Debug.ShouldStop(524288);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 918;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")";
Debug.ShouldStop(2097152);
__ref.setField ("_cuantos_pedido" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_PEDIDO"))));
 BA.debugLineNum = 919;BA.debugLine="d.Close";
Debug.ShouldStop(4194304);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 922;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_R";
Debug.ShouldStop(33554432);
__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 PE_RECALCULO,PE_RECALCULOTOT,ifnull(PE_RECCEDIS,'') as PE_RECCEDIS,PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,ifnull(PE_CANT,0) as PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, IFNULL(PE_RECCANT,0) AS PE_RECCANT FROM PEDIDO WHERE PE_RECALCULO <> ? or PE_RECALCULO <> ? or PE_RECALCULO IS NOT NULL")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(""),RemoteObject.createImmutable("null")}))));
 BA.debugLineNum = 923;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery($\"SELECT COUN";
Debug.ShouldStop(67108864);
__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.concat(RemoteObject.createImmutable("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO where PE_RUTA = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("'"))))));
 BA.debugLineNum = 924;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 925;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(268435456);
{
final int step244 = 1;
final int limit244 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step244 > 0 && _i <= limit244) || (step244 < 0 && _i >= limit244) ;_i = ((int)(0 + _i + step244))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 926;BA.debugLine="c.Position=i";
Debug.ShouldStop(536870912);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 927;BA.debugLine="If c.GetString(\"PE_RECCEDIS\") = \"\" Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCEDIS"))),BA.ObjectToString(""))) { 
 BA.debugLineNum = 928;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(-2147483648);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 929;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 930;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
Debug.ShouldStop(2);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2"));
 BA.debugLineNum = 931;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(";
Debug.ShouldStop(4);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__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_RECALCULOTOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__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")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__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")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))}));
 BA.debugLineNum = 932;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
Debug.ShouldStop(8);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedido"))));
 }else {
 BA.debugLineNum = 934;BA.debugLine="If c.GetString(\"PE_RECCANT\") = c.GetString(\"P";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))) { 
 BA.debugLineNum = 935;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(64);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 936;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(128);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 937;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2"));
 BA.debugLineNum = 938;BA.debugLine="cmd.Parameters = Array As Object(C.GetString";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__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")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__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")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))}));
 BA.debugLineNum = 939;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(";
Debug.ShouldStop(1024);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedido"))));
 }else {
 BA.debugLineNum = 942;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(8192);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 943;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16384);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 944;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
Debug.ShouldStop(32768);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2"));
 BA.debugLineNum = 945;BA.debugLine="cmd.Parameters = Array As Object(C.GetString";
Debug.ShouldStop(65536);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULOTOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECALCULO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RECCANT")))),(__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")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__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")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))}));
 BA.debugLineNum = 946;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(";
Debug.ShouldStop(131072);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedido"))));
 BA.debugLineNum = 948;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(524288);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 949;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 950;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
Debug.ShouldStop(2097152);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_GV2"));
 BA.debugLineNum = 951;BA.debugLine="cmd.Parameters = Array As Object(C.GetString";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {(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_RECCANT"))))}, "-",1, 0)),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))),(__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_RECCANT"))))}, "-",1, 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")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__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")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))}));
 BA.debugLineNum = 952;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(";
Debug.ShouldStop(8388608);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedido"))));
 };
 };
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 957;BA.debugLine="c.Close";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 958;BA.debugLine="d.Position=0";
Debug.ShouldStop(536870912);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 959;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")";
Debug.ShouldStop(1073741824);
__ref.setField ("_cuantos_pedido" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_PEDIDO"))));
 BA.debugLineNum = 960;BA.debugLine="d.Close";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 982;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select *";
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 * from cuestionario")))));
 BA.debugLineNum = 983;BA.debugLine="Private rutaActual As String = Subs.traeRuta";
Debug.ShouldStop(4194304);
_rutaactual = c_principal._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("rutaActual", _rutaactual);Debug.locals.put("rutaActual", _rutaactual);
 BA.debugLineNum = 984;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 985;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(16777216);
{
final int step281 = 1;
final int limit281 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step281 > 0 && _i <= limit281) || (step281 < 0 && _i >= limit281) ;_i = ((int)(0 + _i + step281))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 986;BA.debugLine="c.Position = i";
Debug.ShouldStop(33554432);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 987;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(67108864);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 988;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(134217728);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 989;BA.debugLine="cmd.Name = \"insert_CUESTIONARIO_GUNA\"";
Debug.ShouldStop(268435456);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_CUESTIONARIO_GUNA"));
 BA.debugLineNum = 990;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("Q_IDCLIENTE")))),(_rutaactual),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("Q_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("Q_IDPREGUNTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("Q_PREGUNTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("Q_IDRESPUESTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("Q_RESPUESTA"))))}));
 BA.debugLineNum = 991;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(1073741824);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_cuestionario"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 994;BA.debugLine="c.Close";
Debug.ShouldStop(2);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 997;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT NV_CL";
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,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON FROM NOVENTA"))));
 BA.debugLineNum = 998;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT";
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,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))));
 BA.debugLineNum = 999;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 = 1000;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(128);
{
final int step294 = 1;
final int limit294 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step294 > 0 && _i <= limit294) || (step294 < 0 && _i >= limit294) ;_i = ((int)(0 + _i + step294))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1001;BA.debugLine="c.Position=i";
Debug.ShouldStop(256);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1002;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(512);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 1003;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1004;BA.debugLine="cmd.Name = \"insert_noventa_GV2\"";
Debug.ShouldStop(2048);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_noventa_GV2"));
 BA.debugLineNum = 1005;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
Debug.ShouldStop(4096);
__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*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 1006;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(8192);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 1009;BA.debugLine="c.Close";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1010;BA.debugLine="d.Position=0";
Debug.ShouldStop(131072);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1011;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")";
Debug.ShouldStop(262144);
__ref.setField ("_cuantos_noventa" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_NOVENTA"))));
 BA.debugLineNum = 1012;BA.debugLine="d.Close";
Debug.ShouldStop(524288);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1030;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HGCLI";
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,"ExecQuery",(Object)(RemoteObject.createImmutable("Select HGCLIENTE, HGDATE, HGLAT, HGLON from HIST_GEOCERCA"))));
 BA.debugLineNum = 1031;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 = 1032;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(128);
{
final int step309 = 1;
final int limit309 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step309 > 0 && _i <= limit309) || (step309 < 0 && _i >= limit309) ;_i = ((int)(0 + _i + step309))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1033;BA.debugLine="c.Position=i";
Debug.ShouldStop(256);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1034;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(512);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 1035;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1036;BA.debugLine="cmd.Name = \"insert_geocerca_GV2\"";
Debug.ShouldStop(2048);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_geocerca_GV2"));
 BA.debugLineNum = 1037;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HGCLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HGDATE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HGLAT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HGLON"))))}));
 BA.debugLineNum = 1038;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(8192);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_hist_geo"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 1041;BA.debugLine="c.Close";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1044;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HFCLI";
Debug.ShouldStop(524288);
__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 HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN from HIST_FACE"))));
 BA.debugLineNum = 1045;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1046;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(2097152);
{
final int step321 = 1;
final int limit321 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step321 > 0 && _i <= limit321) || (step321 < 0 && _i >= limit321) ;_i = ((int)(0 + _i + step321))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1047;BA.debugLine="c.Position=i";
Debug.ShouldStop(4194304);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1048;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(8388608);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 1049;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1050;BA.debugLine="cmd.Name = \"insert_face_like_GV2\"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_face_like_GV2"));
 BA.debugLineNum = 1051;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
Debug.ShouldStop(67108864);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HFCLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HFALIAS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HFRUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HFALMACEN"))))}));
 BA.debugLineNum = 1052;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
Debug.ShouldStop(134217728);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_hist_face"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 1055;BA.debugLine="c.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1058;BA.debugLine="t1.Initialize(\"T1\", 30000) ' 1000 = 1 second";
Debug.ShouldStop(2);
__ref.getField(false,"_t1" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("T1")),(Object)(BA.numberCast(long.class, 30000)));
 BA.debugLineNum = 1059;BA.debugLine="t1.Enabled = True";
Debug.ShouldStop(4);
__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1060;BA.debugLine="Dim sDate,sTime As String";
Debug.ShouldStop(8);
c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate);
c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime);
 BA.debugLineNum = 1061;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(16);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 1062;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(32);
__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 = 1063;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(64);
__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 = 1064;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(128);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 1065;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1066;BA.debugLine="cmd.Name =\"insert_drop_GV2_3\"";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_GV2_3"));
 BA.debugLineNum = 1067;BA.debugLine="cmd.Parameters = Array As Object(usuario,l_ruta.";
Debug.ShouldStop(1024);
__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")),(c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_montoactual" /*RemoteObject*/ ))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False")))),RemoteObject.createImmutable(("ENVIO")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName"))}));
 BA.debugLineNum = 1068;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
Debug.ShouldStop(2048);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_drop"))));
 BA.debugLineNum = 1069;BA.debugLine="img2.Visible =False";
Debug.ShouldStop(4096);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1070;BA.debugLine="PORCENTAJE = Round(100/ (cuantos_noventa + cuant";
Debug.ShouldStop(8192);
__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 = 1071;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS";
Debug.ShouldStop(16384);
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 = 1074;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec";
Debug.ShouldStop(131072);
_x = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_x = 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 CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9 from ENCUESTA_MODULO1"))));Debug.locals.put("x", _x);Debug.locals.put("x", _x);
 BA.debugLineNum = 1075;BA.debugLine="If x.RowCount>0 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean(">",_x.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1076;BA.debugLine="For i=0 To x.RowCount -1";
Debug.ShouldStop(524288);
{
final int step348 = 1;
final int limit348 = RemoteObject.solve(new RemoteObject[] {_x.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step348 > 0 && _i <= limit348) || (step348 < 0 && _i >= limit348) ;_i = ((int)(0 + _i + step348))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1077;BA.debugLine="x.Position=i";
Debug.ShouldStop(1048576);
_x.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1078;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(2097152);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 1079;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1080;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO1\"";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_ENCUESTA_MODULO1"));
 BA.debugLineNum = 1081;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ALMACEN")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P1")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P2")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P3")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P4")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P5")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P6")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P7")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P8")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P9"))))}));
 BA.debugLineNum = 1082;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
Debug.ShouldStop(33554432);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insert_ENCUESTA_MODULO1"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 1085;BA.debugLine="x.Close";
Debug.ShouldStop(268435456);
_x.runVoidMethod ("Close");
 BA.debugLineNum = 1087;BA.debugLine="Private x1 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(1073741824);
_x1 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_x1 = 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 CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6 from ENCUESTA_MODULO2"))));Debug.locals.put("x1", _x1);Debug.locals.put("x1", _x1);
 BA.debugLineNum = 1088;BA.debugLine="If x1.RowCount>0 Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean(">",_x1.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1089;BA.debugLine="For i=0 To x1.RowCount -1";
Debug.ShouldStop(1);
{
final int step360 = 1;
final int limit360 = RemoteObject.solve(new RemoteObject[] {_x1.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step360 > 0 && _i <= limit360) || (step360 < 0 && _i >= limit360) ;_i = ((int)(0 + _i + step360))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1090;BA.debugLine="x1.Position=i";
Debug.ShouldStop(2);
_x1.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1091;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(4);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 1092;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(8);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1093;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO2\"";
Debug.ShouldStop(16);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_ENCUESTA_MODULO2"));
 BA.debugLineNum = 1094;BA.debugLine="cmd.Parameters = Array As Object(x1.GetString(\"";
Debug.ShouldStop(32);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ALMACEN")))),(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P1")))),(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P2")))),(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P3")))),(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P4")))),(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P5")))),(_x1.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P6"))))}));
 BA.debugLineNum = 1095;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
Debug.ShouldStop(64);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insert_ENCUESTA_MODULO2"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 1098;BA.debugLine="x1.Close";
Debug.ShouldStop(512);
_x1.runVoidMethod ("Close");
 BA.debugLineNum = 1099;BA.debugLine="Private x2 As Cursor = B4XPages.MainPage.skmt.Exe";
Debug.ShouldStop(1024);
_x2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_x2 = 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 CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 from ENCUESTA_MODULO3"))));Debug.locals.put("x2", _x2);Debug.locals.put("x2", _x2);
 BA.debugLineNum = 1100;BA.debugLine="If x2.RowCount>0 Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean(">",_x2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1101;BA.debugLine="For i=0 To x2.RowCount -1";
Debug.ShouldStop(4096);
{
final int step372 = 1;
final int limit372 = RemoteObject.solve(new RemoteObject[] {_x2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step372 > 0 && _i <= limit372) || (step372 < 0 && _i >= limit372) ;_i = ((int)(0 + _i + step372))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1102;BA.debugLine="x2.Position=i";
Debug.ShouldStop(8192);
_x2.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1104;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(32768);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 1105;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(65536);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1106;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO3\"";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_ENCUESTA_MODULO3"));
 BA.debugLineNum = 1107;BA.debugLine="cmd.Parameters = Array As Object(x2.GetString(\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {13},new Object[] {(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ALMACEN")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P1")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P2")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P3")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P4")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P5")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P6")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P7")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P8")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P9")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P10")))),(_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P11"))))}));
 BA.debugLineNum = 1108;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
Debug.ShouldStop(524288);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insert_ENCUESTA_MODULO3"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 1111;BA.debugLine="x2.Close";
Debug.ShouldStop(4194304);
_x2.runVoidMethod ("Close");
 BA.debugLineNum = 1112;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec";
Debug.ShouldStop(8388608);
_x = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_x = 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 CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8 from ENCUESTA_MODULO4"))));Debug.locals.put("x", _x);Debug.locals.put("x", _x);
 BA.debugLineNum = 1113;BA.debugLine="If x.RowCount>0 Then";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean(">",_x.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1114;BA.debugLine="For i=0 To x.RowCount -1";
Debug.ShouldStop(33554432);
{
final int step384 = 1;
final int limit384 = RemoteObject.solve(new RemoteObject[] {_x.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step384 > 0 && _i <= limit384) || (step384 < 0 && _i >= limit384) ;_i = ((int)(0 + _i + step384))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1115;BA.debugLine="x.Position=i";
Debug.ShouldStop(67108864);
_x.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1116;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(134217728);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 1117;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(268435456);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1118;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO4\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_ENCUESTA_MODULO4"));
 BA.debugLineNum = 1119;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ALMACEN")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P1")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P2")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P3")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P4")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P5")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P6")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P7")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P8"))))}));
 BA.debugLineNum = 1120;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
Debug.ShouldStop(-2147483648);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insert_ENCUESTA_MODULO4"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 1123;BA.debugLine="x.Close";
Debug.ShouldStop(4);
_x.runVoidMethod ("Close");
 BA.debugLineNum = 1124;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec";
Debug.ShouldStop(8);
_x = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_x = 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 CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9 from ENCUESTA_MODULO5"))));Debug.locals.put("x", _x);Debug.locals.put("x", _x);
 BA.debugLineNum = 1125;BA.debugLine="If x.RowCount>0 Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean(">",_x.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1126;BA.debugLine="For i=0 To x.RowCount -1";
Debug.ShouldStop(32);
{
final int step396 = 1;
final int limit396 = RemoteObject.solve(new RemoteObject[] {_x.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step396 > 0 && _i <= limit396) || (step396 < 0 && _i >= limit396) ;_i = ((int)(0 + _i + step396))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1127;BA.debugLine="x.Position=i";
Debug.ShouldStop(64);
_x.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1128;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(128);
c_principal._cmd = RemoteObject.createNew ("gunav2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 1129;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1130;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO5\"";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_ENCUESTA_MODULO5"));
 BA.debugLineNum = 1131;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ALMACEN")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P1")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P2")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P3")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P4")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P5")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P6")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P7")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P8")))),(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("P9"))))}));
 BA.debugLineNum = 1132;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
Debug.ShouldStop(2048);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insert_ENCUESTA_MODULO5"))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 1135;BA.debugLine="x.Close";
Debug.ShouldStop(16384);
_x.runVoidMethod ("Close");
 BA.debugLineNum = 1136;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
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",3,__ref.getField(false, "ba"),__ref,3090);
if (RapidSub.canDelegate("t1_tick")) { return __ref.runUserSub(false, "c_principal","t1_tick", __ref);}
 BA.debugLineNum = 3090;BA.debugLine="Sub t1_tick";
Debug.ShouldStop(131072);
 BA.debugLineNum = 3092;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 3093;BA.debugLine="cmd.Name = \"select_cuantos_pedido_GV2\"";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_pedido_GV2"));
 BA.debugLineNum = 3094;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
Debug.ShouldStop(2097152);
__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 = 3095;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
Debug.ShouldStop(4194304);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 3097;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 3098;BA.debugLine="cmd.Name = \"select_cuantos_noventa_GV2\"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_noventa_GV2"));
 BA.debugLineNum = 3099;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
Debug.ShouldStop(67108864);
__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 = 3100;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
Debug.ShouldStop(134217728);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 3102;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 3103;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc_GV2\"";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_pedidoc_GV2"));
 BA.debugLineNum = 3104;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
Debug.ShouldStop(-2147483648);
__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 = 3105;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
Debug.ShouldStop(1);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (gunav2.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 = 3107;BA.debugLine="If PB2.Progress = 0 Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 3108;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-1)\"";
Debug.ShouldStop(8);
__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ENVIAR DATOS (K-1)"));
 };
 BA.debugLineNum = 3110;BA.debugLine="Log(\"TIMER DISABLED\")";
Debug.ShouldStop(32);
c_principal.__c.runVoidMethod ("LogImpl","04325396",RemoteObject.createImmutable("TIMER DISABLED"),0);
 BA.debugLineNum = 3111;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(64);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3112;BA.debugLine="t1.Enabled = False";
Debug.ShouldStop(128);
__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3115;BA.debugLine="End Sub";
Debug.ShouldStop(1024);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _t2_tick(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("t2_tick (c_principal) ","c_principal",3,__ref.getField(false, "ba"),__ref,2959);
if (RapidSub.canDelegate("t2_tick")) { return __ref.runUserSub(false, "c_principal","t2_tick", __ref);}
 BA.debugLineNum = 2959;BA.debugLine="Sub t2_tick";
Debug.ShouldStop(16384);
 BA.debugLineNum = 2961;BA.debugLine="Log(\"-------->  BORRAMOS\")";
Debug.ShouldStop(65536);
c_principal.__c.runVoidMethod ("LogImpl","04128770",RemoteObject.createImmutable("-------->  BORRAMOS"),0);
 BA.debugLineNum = 2962;BA.debugLine="If B4XPages.MainPage.productos.lv_catalogos.IsIni";
Debug.ShouldStop(131072);
if (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_productos" /*RemoteObject*/ ).getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"IsInitialized").<Boolean>get().booleanValue()) { 
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_productos" /*RemoteObject*/ ).getField(false,"_lv_catalogos" /*RemoteObject*/ ).runVoidMethod ("Clear");};
 BA.debugLineNum = 2963;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 pedido_cliente")));
 BA.debugLineNum = 2964;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 pedido")));
 BA.debugLineNum = 2965;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 noventa")));
 BA.debugLineNum = 2966;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 COMENTARIOS")));
 BA.debugLineNum = 2967;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_PROMOS_DESCUENTOS")));
 BA.debugLineNum = 2968;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 TELEFONO")));
 BA.debugLineNum = 2969;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 ATIENDE")));
 BA.debugLineNum = 2970;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 PLAN_LEALTAD")));
 BA.debugLineNum = 2971;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 clie_act")));
 BA.debugLineNum = 2972;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 kmt_info3")));
 BA.debugLineNum = 2973;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 CLIENTES_NUEVOS")));
 BA.debugLineNum = 2974;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_GIRO\")";
Debug.ShouldStop(536870912);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_GIRO")));
 BA.debugLineNum = 2975;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 cat_gunaprod")));
 BA.debugLineNum = 2976;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 cat_gunaprod2")));
 BA.debugLineNum = 2977;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_DETALLES_PAQ")));
 BA.debugLineNum = 2978;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
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 HIST_VENTAS")));
 BA.debugLineNum = 2979;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 HIST_VERIFICACION")));
 BA.debugLineNum = 2980;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_ENCUESTA")));
 BA.debugLineNum = 2981;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_ENCUESTA2")));
 BA.debugLineNum = 2982;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_STAY_OUT")));
 BA.debugLineNum = 2983;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
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 HIST_GPS")));
 BA.debugLineNum = 2984;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 CODIGOS_CREDITO")));
 BA.debugLineNum = 2985;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
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 HIST_FACE")));
 BA.debugLineNum = 2986;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"INSERT INTO";
Debug.ShouldStop(512);
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 = 2987;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
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 HIST_CODIGO_BARRAS")));
 BA.debugLineNum = 2988;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
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 ENCUESTA_MODULO1")));
 BA.debugLineNum = 2989;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 ENCUESTA_MODULO2")));
 BA.debugLineNum = 2990;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 ENCUESTA_MODULO3")));
 BA.debugLineNum = 2991;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 ENCUESTA_MODULO4")));
 BA.debugLineNum = 2992;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 ENCUESTA_MODULO5")));
 BA.debugLineNum = 2993;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 BITACORAGPS")));
 BA.debugLineNum = 2994;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 RUTA_SUPLENCIA")));
 BA.debugLineNum = 2995;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 TICKET_IMPRESO")));
 BA.debugLineNum = 2996;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
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("String",new int[] {1},new Object[] {RemoteObject.createImmutable("CARGA_DIA")})))));
 BA.debugLineNum = 2997;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
Debug.ShouldStop(1048576);
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("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTAFUTURA")})))));
 BA.debugLineNum = 2998;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
Debug.ShouldStop(2097152);
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("String",new int[] {1},new Object[] {RemoteObject.createImmutable("pasword")})))));
 BA.debugLineNum = 2999;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
Debug.ShouldStop(4194304);
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("String",new int[] {1},new Object[] {RemoteObject.createImmutable("LATITUD")})))));
 BA.debugLineNum = 3000;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
Debug.ShouldStop(8388608);
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("String",new int[] {1},new Object[] {RemoteObject.createImmutable("LONGITUD")})))));
 BA.debugLineNum = 3001;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
Debug.ShouldStop(16777216);
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("String",new int[] {1},new Object[] {RemoteObject.createImmutable("RUTA")})))));
 BA.debugLineNum = 3004;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS";
Debug.ShouldStop(134217728);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GPS SET HABILITADO = (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))})))));
 BA.debugLineNum = 3005;BA.debugLine="Subs.deleteFolder(Starter.fFileProvider.SharedFol";
Debug.ShouldStop(268435456);
c_principal._subs.runVoidMethod ("_deletefolder" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_principal._starter._ffileprovider /*RemoteObject*/ .getField(true,"_sharedfolder" /*RemoteObject*/ )));
 BA.debugLineNum = 3007;BA.debugLine="E_RUTA2.Visible = False";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3009;BA.debugLine="b_abordo.Visible = False";
Debug.ShouldStop(1);
__ref.getField(false,"_b_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3010;BA.debugLine="cargar.Visible = False";
Debug.ShouldStop(2);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3011;BA.debugLine="Subir.Visible = False";
Debug.ShouldStop(4);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3012;BA.debugLine="connecta.Visible = True";
Debug.ShouldStop(8);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 3018;BA.debugLine="t2.Enabled = False";
Debug.ShouldStop(512);
__ref.getField(false,"_t2" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 3019;BA.debugLine="e_ruta.Text = \"\"";
Debug.ShouldStop(1024);
__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 3020;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(2048);
__ref.runClassMethod (gunav2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 BA.debugLineNum = 3021;BA.debugLine="End Sub";
Debug.ShouldStop(4096);
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",3,__ref.getField(false, "ba"),__ref,3756);
if (RapidSub.canDelegate("tickets_dia_click")) { return __ref.runUserSub(false, "c_principal","tickets_dia_click", __ref);}
 BA.debugLineNum = 3756;BA.debugLine="Sub tickets_dia_Click";
Debug.ShouldStop(2048);
 BA.debugLineNum = 3757;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")";
Debug.ShouldStop(4096);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("TicketsDia")));
 BA.debugLineNum = 3758;BA.debugLine="End Sub";
Debug.ShouldStop(8192);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}