package reparto_mazapa.keymon.lat;

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

public class c_principal_subs_1 {


public static RemoteObject  _b_check_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_check_Click (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,2079);
if (RapidSub.canDelegate("b_check_click")) { return __ref.runUserSub(false, "c_principal","b_check_click", __ref);}
 BA.debugLineNum = 2079;BA.debugLine="Private Sub b_check_Click";
Debug.ShouldStop(1073741824);
 BA.debugLineNum = 2081;BA.debugLine="B4XPages.ShowPage(\"checklist\")";
Debug.ShouldStop(1);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("checklist")));
 BA.debugLineNum = 2083;BA.debugLine="End Sub";
Debug.ShouldStop(4);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_clieprod_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_CLIEPROD_Click (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,1823);
if (RapidSub.canDelegate("b_clieprod_click")) { return __ref.runUserSub(false, "c_principal","b_clieprod_click", __ref);}
RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
int _i = 0;
RemoteObject _vc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cuenta0 = RemoteObject.createImmutable("");
RemoteObject _arti = RemoteObject.createImmutable("");
int _a = 0;
RemoteObject _vc2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cuenta1 = RemoteObject.createImmutable("");
RemoteObject _arti1 = RemoteObject.createImmutable("");
int _h = 0;
RemoteObject _preu = RemoteObject.createImmutable(0f);
RemoteObject _vc3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _vc4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cuenta2 = RemoteObject.createImmutable("");
RemoteObject _arti2 = RemoteObject.createImmutable("");
int _k = 0;
RemoteObject _vc5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _c4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cuenta3 = RemoteObject.createImmutable("");
RemoteObject _arti3 = RemoteObject.createImmutable("");
int _x = 0;
RemoteObject _totalmonto = RemoteObject.createImmutable("");
RemoteObject _totalcantidad = RemoteObject.createImmutable("");
 BA.debugLineNum = 1823;BA.debugLine="Sub B_CLIEPROD_Click";
Debug.ShouldStop(1073741824);
 BA.debugLineNum = 1824;BA.debugLine="If b_check.Visible = True Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"True"))) { 
 BA.debugLineNum = 1825;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten";
Debug.ShouldStop(1);
c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Favor de hacer el checklist.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 1827;BA.debugLine="BUSCA.Visible = False";
Debug.ShouldStop(4);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1828;BA.debugLine="connecta.Visible = False";
Debug.ShouldStop(8);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1829;BA.debugLine="trabajar.Visible = False";
Debug.ShouldStop(16);
__ref.getField(false,"_trabajar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1830;BA.debugLine="B_CLIEPROD.Visible = False";
Debug.ShouldStop(32);
__ref.getField(false,"_b_clieprod" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1831;BA.debugLine="Panel1.Visible = True";
Debug.ShouldStop(64);
__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1832;BA.debugLine="Panel1.BringToFront";
Debug.ShouldStop(128);
__ref.getField(false,"_panel1" /*RemoteObject*/ ).runVoidMethod ("BringToFront");
 BA.debugLineNum = 1833;BA.debugLine="Btn_Ubicar_Ru.Visible=False";
Debug.ShouldStop(256);
__ref.getField(false,"_btn_ubicar_ru" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1834;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from kmt_info";
Debug.ShouldStop(512);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from kmt_info WHERE gestion <> 0 order by HORAENT"))));
 BA.debugLineNum = 1835;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)";
Debug.ShouldStop(1024);
c_principal._subs.runVoidMethod ("_setdivider" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_listview1" /*RemoteObject*/ )),(Object)(c_principal.__c.getField(false,"Colors").getField(true,"LightGray")),(Object)(BA.numberCast(int.class, 2)));
 BA.debugLineNum = 1836;BA.debugLine="ListView1.Clear";
Debug.ShouldStop(2048);
__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear");
 BA.debugLineNum = 1837;BA.debugLine="Dim label1 As Label";
Debug.ShouldStop(4096);
_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1);
 BA.debugLineNum = 1838;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label";
Debug.ShouldStop(8192);
_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1);
 BA.debugLineNum = 1839;BA.debugLine="label1.TextSize = 10";
Debug.ShouldStop(16384);
_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 10));
 BA.debugLineNum = 1840;BA.debugLine="label1.TextColor = Colors.Black";
Debug.ShouldStop(32768);
_label1.runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black"));
 BA.debugLineNum = 1841;BA.debugLine="Dim label2 As Label";
Debug.ShouldStop(65536);
_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2);
 BA.debugLineNum = 1842;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel";
Debug.ShouldStop(131072);
_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2);
 BA.debugLineNum = 1843;BA.debugLine="label2.TextSize = 10";
Debug.ShouldStop(262144);
_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 10));
 BA.debugLineNum = 1844;BA.debugLine="label2.TextColor = Colors.Black";
Debug.ShouldStop(524288);
_label2.runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black"));
 BA.debugLineNum = 1846;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1847;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(4194304);
{
final int step23 = 1;
final int limit23 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step23 > 0 && _i <= limit23) || (step23 < 0 && _i >= limit23) ;_i = ((int)(0 + _i + step23))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1848;BA.debugLine="c.Position=i";
Debug.ShouldStop(8388608);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1849;BA.debugLine="If c.GetString(\"gestion\") = \"2\" Then";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("gestion"))),BA.ObjectToString("2"))) { 
 BA.debugLineNum = 1850;BA.debugLine="ESTATUS = \"ENTREGADO\"";
Debug.ShouldStop(33554432);
__ref.setField ("_estatus" /*RemoteObject*/ ,BA.ObjectToString("ENTREGADO"));
 BA.debugLineNum = 1851;BA.debugLine="Log(\"entrega\")";
Debug.ShouldStop(67108864);
c_principal.__c.runVoidMethod ("LogImpl","37667740",RemoteObject.createImmutable("entrega"),0);
 }else 
{ BA.debugLineNum = 1852;BA.debugLine="ELSE IF c.GetString(\"gestion\") = \"3\" Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("gestion"))),BA.ObjectToString("3"))) { 
 BA.debugLineNum = 1853;BA.debugLine="Log(\"no entrega\")";
Debug.ShouldStop(268435456);
c_principal.__c.runVoidMethod ("LogImpl","37667742",RemoteObject.createImmutable("no entrega"),0);
 BA.debugLineNum = 1854;BA.debugLine="ESTATUS = \"RECHAZADO\"";
Debug.ShouldStop(536870912);
__ref.setField ("_estatus" /*RemoteObject*/ ,BA.ObjectToString("RECHAZADO"));
 }else {
 BA.debugLineNum = 1856;BA.debugLine="ESTATUS = \"SIN ESTATUS\"";
Debug.ShouldStop(-2147483648);
__ref.setField ("_estatus" /*RemoteObject*/ ,BA.ObjectToString("SIN ESTATUS"));
 }}
;
 BA.debugLineNum = 1861;BA.debugLine="If ESTATUS = \"ENTREGADO\" Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_estatus" /*RemoteObject*/ ),BA.ObjectToString("ENTREGADO"))) { 
 BA.debugLineNum = 1862;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery";
Debug.ShouldStop(32);
_vc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc", _vc);Debug.locals.put("vc", _vc);
 BA.debugLineNum = 1864;BA.debugLine="Private cuenta0 As String = 0";
Debug.ShouldStop(128);
_cuenta0 = BA.NumberToString(0);Debug.locals.put("cuenta0", _cuenta0);Debug.locals.put("cuenta0", _cuenta0);
 BA.debugLineNum = 1865;BA.debugLine="Private arti As String = 0";
Debug.ShouldStop(256);
_arti = BA.NumberToString(0);Debug.locals.put("arti", _arti);Debug.locals.put("arti", _arti);
 BA.debugLineNum = 1866;BA.debugLine="If vc.RowCount > 0 Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean(">",_vc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1867;BA.debugLine="For a = 0 To vc.RowCount - 1";
Debug.ShouldStop(1024);
{
final int step39 = 1;
final int limit39 = RemoteObject.solve(new RemoteObject[] {_vc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_a = 0 ;
for (;(step39 > 0 && _a <= limit39) || (step39 < 0 && _a >= limit39) ;_a = ((int)(0 + _a + step39))  ) {
Debug.locals.put("a", _a);
 BA.debugLineNum = 1868;BA.debugLine="vc.Position = a";
Debug.ShouldStop(2048);
_vc.runMethod(true,"setPosition",BA.numberCast(int.class, _a));
 BA.debugLineNum = 1870;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - v";
Debug.ShouldStop(8192);
_arti = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti", _arti);
 BA.debugLineNum = 1871;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CAN";
Debug.ShouldStop(16384);
_cuenta0 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("cuenta0", _cuenta0);
 }
}Debug.locals.put("a", _a);
;
 };
 BA.debugLineNum = 1876;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer";
Debug.ShouldStop(524288);
_vc2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("' AND BCAJAS = 1"))))));Debug.locals.put("vc2", _vc2);Debug.locals.put("vc2", _vc2);
 BA.debugLineNum = 1877;BA.debugLine="Private Cuenta1 As String = 0";
Debug.ShouldStop(1048576);
_cuenta1 = BA.NumberToString(0);Debug.locals.put("Cuenta1", _cuenta1);Debug.locals.put("Cuenta1", _cuenta1);
 BA.debugLineNum = 1878;BA.debugLine="Private arti1 As String = 0";
Debug.ShouldStop(2097152);
_arti1 = BA.NumberToString(0);Debug.locals.put("arti1", _arti1);Debug.locals.put("arti1", _arti1);
 BA.debugLineNum = 1879;BA.debugLine="If vc2.RowCount > 0 Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean(">",_vc2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1880;BA.debugLine="For h = 0 To vc2.RowCount - 1";
Debug.ShouldStop(8388608);
{
final int step49 = 1;
final int limit49 = RemoteObject.solve(new RemoteObject[] {_vc2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_h = 0 ;
for (;(step49 > 0 && _h <= limit49) || (step49 < 0 && _h >= limit49) ;_h = ((int)(0 + _h + step49))  ) {
Debug.locals.put("h", _h);
 BA.debugLineNum = 1881;BA.debugLine="vc2.Position = h";
Debug.ShouldStop(16777216);
_vc2.runMethod(true,"setPosition",BA.numberCast(int.class, _h));
 BA.debugLineNum = 1882;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt";
Debug.ShouldStop(33554432);
_preu = BA.numberCast(float.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))));Debug.locals.put("preu", _preu);Debug.locals.put("preu", _preu);
 BA.debugLineNum = 1883;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu";
Debug.ShouldStop(67108864);
_vc3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc3", _vc3);Debug.locals.put("vc3", _vc3);
 BA.debugLineNum = 1884;BA.debugLine="If vc3.RowCount > 0 Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean(">",_vc3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1885;BA.debugLine="vc3.Position = 0";
Debug.ShouldStop(268435456);
_vc3.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1886;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC";
Debug.ShouldStop(536870912);
_cuenta1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta1),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC")))),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _vc3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONVERSION"))))}, "/",0, 0))}, "-",1, 0)),_preu}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta1", _cuenta1);
 BA.debugLineNum = 1887;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\")";
Debug.ShouldStop(1073741824);
_arti1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti1),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti1", _arti1);
 };
 }
}Debug.locals.put("h", _h);
;
 };
 BA.debugLineNum = 1893;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer";
Debug.ShouldStop(16);
_vc4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("' AND BCAJAS = 0 and HVD_CODPROMO <> '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc4", _vc4);Debug.locals.put("vc4", _vc4);
 BA.debugLineNum = 1894;BA.debugLine="Private Cuenta2 As String = 0";
Debug.ShouldStop(32);
_cuenta2 = BA.NumberToString(0);Debug.locals.put("Cuenta2", _cuenta2);Debug.locals.put("Cuenta2", _cuenta2);
 BA.debugLineNum = 1895;BA.debugLine="Private arti2 As String = 0";
Debug.ShouldStop(64);
_arti2 = BA.NumberToString(0);Debug.locals.put("arti2", _arti2);Debug.locals.put("arti2", _arti2);
 BA.debugLineNum = 1896;BA.debugLine="If vc4.RowCount > 0 Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean(">",_vc4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1898;BA.debugLine="For k = 0 To vc4.RowCount - 1";
Debug.ShouldStop(512);
{
final int step64 = 1;
final int limit64 = RemoteObject.solve(new RemoteObject[] {_vc4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_k = 0 ;
for (;(step64 > 0 && _k <= limit64) || (step64 < 0 && _k >= limit64) ;_k = ((int)(0 + _k + step64))  ) {
Debug.locals.put("k", _k);
 BA.debugLineNum = 1899;BA.debugLine="vc4.Position = k";
Debug.ShouldStop(1024);
_vc4.runMethod(true,"setPosition",BA.numberCast(int.class, _k));
 BA.debugLineNum = 1900;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("!",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))))) { 
 BA.debugLineNum = 1901;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("=",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(0))) { 
 BA.debugLineNum = 1902;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO";
Debug.ShouldStop(8192);
_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2);
 BA.debugLineNum = 1903;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")";
Debug.ShouldStop(16384);
_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "+",1, 0));Debug.locals.put("arti2", _arti2);
 }else {
 BA.debugLineNum = 1905;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec";
Debug.ShouldStop(65536);
_vc5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc5", _vc5);Debug.locals.put("vc5", _vc5);
 BA.debugLineNum = 1906;BA.debugLine="If vc5.RowCount > 0 Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean(">",_vc5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1907;BA.debugLine="vc5.Position= 0";
Debug.ShouldStop(262144);
_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1909;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_";
Debug.ShouldStop(1048576);
_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _vc5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2);
 BA.debugLineNum = 1910;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\"";
Debug.ShouldStop(2097152);
_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti2", _arti2);
 };
 };
 };
 }
}Debug.locals.put("k", _k);
;
 };
 BA.debugLineNum = 1919;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery";
Debug.ShouldStop(1073741824);
_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4);
 BA.debugLineNum = 1920;BA.debugLine="Private Cuenta3 As String = 0";
Debug.ShouldStop(-2147483648);
_cuenta3 = BA.NumberToString(0);Debug.locals.put("Cuenta3", _cuenta3);Debug.locals.put("Cuenta3", _cuenta3);
 BA.debugLineNum = 1921;BA.debugLine="Private arti3 As String = 0";
Debug.ShouldStop(1);
_arti3 = BA.NumberToString(0);Debug.locals.put("arti3", _arti3);Debug.locals.put("arti3", _arti3);
 BA.debugLineNum = 1922;BA.debugLine="If c4.RowCount > 0 Then";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1923;BA.debugLine="For x = 0 To c4.RowCount -1";
Debug.ShouldStop(4);
{
final int step85 = 1;
final int limit85 = RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_x = 0 ;
for (;(step85 > 0 && _x <= limit85) || (step85 < 0 && _x >= limit85) ;_x = ((int)(0 + _x + step85))  ) {
Debug.locals.put("x", _x);
 BA.debugLineNum = 1924;BA.debugLine="c4.Position = x";
Debug.ShouldStop(8);
_c4.runMethod(true,"setPosition",BA.numberCast(int.class, _x));
 BA.debugLineNum = 1925;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")";
Debug.ShouldStop(16);
_arti3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "+",1, 0));Debug.locals.put("arti3", _arti3);
 BA.debugLineNum = 1926;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_";
Debug.ShouldStop(32);
_cuenta3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta3", _cuenta3);
 }
}Debug.locals.put("x", _x);
;
 };
 BA.debugLineNum = 1931;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen";
Debug.ShouldStop(1024);
_totalmonto = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),BA.numberCast(double.class, _cuenta1),BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _cuenta3)}, "+++",3, 0));Debug.locals.put("TOTALMONTO", _totalmonto);Debug.locals.put("TOTALMONTO", _totalmonto);
 BA.debugLineNum = 1932;BA.debugLine="Private TOTALcantidad As String = arti + arti";
Debug.ShouldStop(2048);
_totalcantidad = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),BA.numberCast(double.class, _arti1),BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _arti3)}, "+++",3, 0));Debug.locals.put("TOTALcantidad", _totalcantidad);Debug.locals.put("TOTALcantidad", _totalcantidad);
 BA.debugLineNum = 1934;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD";
Debug.ShouldStop(8192);
__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))),RemoteObject.createImmutable(" - "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Articulos :"),_totalcantidad,RemoteObject.createImmutable(" Monto :"),c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _totalmonto)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"True"))),RemoteObject.createImmutable("   "),__ref.getField(true,"_estatus" /*RemoteObject*/ )))));
 BA.debugLineNum = 1935;BA.debugLine="Log(\"si entre2\")";
Debug.ShouldStop(16384);
c_principal.__c.runVoidMethod ("LogImpl","37667824",RemoteObject.createImmutable("si entre2"),0);
 }else 
{ BA.debugLineNum = 1937;BA.debugLine="Else If ESTATUS = \"RECHAZADO\" Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_estatus" /*RemoteObject*/ ),BA.ObjectToString("RECHAZADO"))) { 
 BA.debugLineNum = 1939;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery";
Debug.ShouldStop(262144);
_vc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO, HVD_COSTO_TOT from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc", _vc);Debug.locals.put("vc", _vc);
 BA.debugLineNum = 1941;BA.debugLine="Private cuenta0 As String = 0";
Debug.ShouldStop(1048576);
_cuenta0 = BA.NumberToString(0);Debug.locals.put("cuenta0", _cuenta0);Debug.locals.put("cuenta0", _cuenta0);
 BA.debugLineNum = 1942;BA.debugLine="Private arti As String = 0";
Debug.ShouldStop(2097152);
_arti = BA.NumberToString(0);Debug.locals.put("arti", _arti);Debug.locals.put("arti", _arti);
 BA.debugLineNum = 1943;BA.debugLine="If vc.RowCount > 0 Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean(">",_vc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1944;BA.debugLine="For a = 0 To vc.RowCount - 1";
Debug.ShouldStop(8388608);
{
final int step100 = 1;
final int limit100 = RemoteObject.solve(new RemoteObject[] {_vc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_a = 0 ;
for (;(step100 > 0 && _a <= limit100) || (step100 < 0 && _a >= limit100) ;_a = ((int)(0 + _a + step100))  ) {
Debug.locals.put("a", _a);
 BA.debugLineNum = 1945;BA.debugLine="vc.Position = a";
Debug.ShouldStop(16777216);
_vc.runMethod(true,"setPosition",BA.numberCast(int.class, _a));
 BA.debugLineNum = 1946;BA.debugLine="Dim preu As Float = NumberFormat2(vc.GetStr";
Debug.ShouldStop(33554432);
_preu = BA.numberCast(float.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0)),(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"))));Debug.locals.put("preu", _preu);Debug.locals.put("preu", _preu);
 BA.debugLineNum = 1948;BA.debugLine="arti = arti + (vc.GetString(\"HVD_RECHAZOCAN";
Debug.ShouldStop(134217728);
_arti = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),BA.numberCast(double.class, (_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))))}, "+",1, 0));Debug.locals.put("arti", _arti);
 BA.debugLineNum = 1949;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_REC";
Debug.ShouldStop(268435456);
_cuenta0 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, (_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))),_preu}, "*",0, 0))}, "+",1, 0));Debug.locals.put("cuenta0", _cuenta0);
 }
}Debug.locals.put("a", _a);
;
 };
 BA.debugLineNum = 1954;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer";
Debug.ShouldStop(2);
_vc2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("' AND BCAJAS = 1"))))));Debug.locals.put("vc2", _vc2);Debug.locals.put("vc2", _vc2);
 BA.debugLineNum = 1955;BA.debugLine="Private Cuenta1 As String = 0";
Debug.ShouldStop(4);
_cuenta1 = BA.NumberToString(0);Debug.locals.put("Cuenta1", _cuenta1);Debug.locals.put("Cuenta1", _cuenta1);
 BA.debugLineNum = 1956;BA.debugLine="Private arti1 As String = 0";
Debug.ShouldStop(8);
_arti1 = BA.NumberToString(0);Debug.locals.put("arti1", _arti1);Debug.locals.put("arti1", _arti1);
 BA.debugLineNum = 1957;BA.debugLine="If vc2.RowCount > 0 Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean(">",_vc2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1958;BA.debugLine="For h = 0 To vc2.RowCount - 1";
Debug.ShouldStop(32);
{
final int step111 = 1;
final int limit111 = RemoteObject.solve(new RemoteObject[] {_vc2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_h = 0 ;
for (;(step111 > 0 && _h <= limit111) || (step111 < 0 && _h >= limit111) ;_h = ((int)(0 + _h + step111))  ) {
Debug.locals.put("h", _h);
 BA.debugLineNum = 1959;BA.debugLine="vc2.Position = h";
Debug.ShouldStop(64);
_vc2.runMethod(true,"setPosition",BA.numberCast(int.class, _h));
 BA.debugLineNum = 1960;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt";
Debug.ShouldStop(128);
_preu = BA.numberCast(float.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"False"))));Debug.locals.put("preu", _preu);Debug.locals.put("preu", _preu);
 BA.debugLineNum = 1961;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu";
Debug.ShouldStop(256);
_vc3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc3", _vc3);Debug.locals.put("vc3", _vc3);
 BA.debugLineNum = 1962;BA.debugLine="If vc3.RowCount > 0 Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean(">",_vc3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1963;BA.debugLine="vc3.Position = 0";
Debug.ShouldStop(1024);
_vc3.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1964;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"HVD_R";
Debug.ShouldStop(2048);
_cuenta1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta1),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _vc3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONVERSION"))))}, "/",0, 0)),_preu}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta1", _cuenta1);
 BA.debugLineNum = 1965;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_RECHAZ";
Debug.ShouldStop(4096);
_arti1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti1),BA.numberCast(double.class, (_vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))))}, "+",1, 0));Debug.locals.put("arti1", _arti1);
 };
 }
}Debug.locals.put("h", _h);
;
 };
 BA.debugLineNum = 1971;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer";
Debug.ShouldStop(262144);
_vc4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("' AND BCAJAS = 0 and HVD_CODPROMO <> '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc4", _vc4);Debug.locals.put("vc4", _vc4);
 BA.debugLineNum = 1972;BA.debugLine="Private Cuenta2 As String = 0";
Debug.ShouldStop(524288);
_cuenta2 = BA.NumberToString(0);Debug.locals.put("Cuenta2", _cuenta2);Debug.locals.put("Cuenta2", _cuenta2);
 BA.debugLineNum = 1973;BA.debugLine="Private arti2 As String = 0";
Debug.ShouldStop(1048576);
_arti2 = BA.NumberToString(0);Debug.locals.put("arti2", _arti2);Debug.locals.put("arti2", _arti2);
 BA.debugLineNum = 1974;BA.debugLine="If vc4.RowCount > 0 Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean(">",_vc4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1976;BA.debugLine="For k = 0 To vc4.RowCount - 1";
Debug.ShouldStop(8388608);
{
final int step126 = 1;
final int limit126 = RemoteObject.solve(new RemoteObject[] {_vc4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_k = 0 ;
for (;(step126 > 0 && _k <= limit126) || (step126 < 0 && _k >= limit126) ;_k = ((int)(0 + _k + step126))  ) {
Debug.locals.put("k", _k);
 BA.debugLineNum = 1977;BA.debugLine="vc4.Position = k";
Debug.ShouldStop(16777216);
_vc4.runMethod(true,"setPosition",BA.numberCast(int.class, _k));
 BA.debugLineNum = 1978;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("!",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))))) { 
 BA.debugLineNum = 1979;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(0))) { 
 BA.debugLineNum = 1980;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO";
Debug.ShouldStop(134217728);
_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2);
 BA.debugLineNum = 1981;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_RECHAZ";
Debug.ShouldStop(268435456);
_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "+",1, 0));Debug.locals.put("arti2", _arti2);
 }else {
 BA.debugLineNum = 1983;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec";
Debug.ShouldStop(1073741824);
_vc5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc5", _vc5);Debug.locals.put("vc5", _vc5);
 BA.debugLineNum = 1984;BA.debugLine="If vc5.RowCount > 0 Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean(">",_vc5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1985;BA.debugLine="vc5.Position= 0";
Debug.ShouldStop(1);
_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1987;BA.debugLine="Cuenta2 = Cuenta2 +(( vc4.GetString(\"HVD";
Debug.ShouldStop(4);
_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, (_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))),BA.numberCast(double.class, _vc5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2);
 BA.debugLineNum = 1988;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_RECHA";
Debug.ShouldStop(8);
_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),BA.numberCast(double.class, (_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))))}, "+",1, 0));Debug.locals.put("arti2", _arti2);
 };
 };
 };
 }
}Debug.locals.put("k", _k);
;
 };
 BA.debugLineNum = 1997;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery";
Debug.ShouldStop(4096);
_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4);
 BA.debugLineNum = 1998;BA.debugLine="Private Cuenta3 As String = 0";
Debug.ShouldStop(8192);
_cuenta3 = BA.NumberToString(0);Debug.locals.put("Cuenta3", _cuenta3);Debug.locals.put("Cuenta3", _cuenta3);
 BA.debugLineNum = 1999;BA.debugLine="Private arti3 As String = 0";
Debug.ShouldStop(16384);
_arti3 = BA.NumberToString(0);Debug.locals.put("arti3", _arti3);Debug.locals.put("arti3", _arti3);
 BA.debugLineNum = 2000;BA.debugLine="If c4.RowCount > 0 Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2001;BA.debugLine="For x = 0 To c4.RowCount -1";
Debug.ShouldStop(65536);
{
final int step147 = 1;
final int limit147 = RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_x = 0 ;
for (;(step147 > 0 && _x <= limit147) || (step147 < 0 && _x >= limit147) ;_x = ((int)(0 + _x + step147))  ) {
Debug.locals.put("x", _x);
 BA.debugLineNum = 2002;BA.debugLine="c4.Position = x";
Debug.ShouldStop(131072);
_c4.runMethod(true,"setPosition",BA.numberCast(int.class, _x));
 BA.debugLineNum = 2003;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")";
Debug.ShouldStop(262144);
_arti3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "+",1, 0));Debug.locals.put("arti3", _arti3);
 BA.debugLineNum = 2004;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_";
Debug.ShouldStop(524288);
_cuenta3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta3", _cuenta3);
 }
}Debug.locals.put("x", _x);
;
 };
 BA.debugLineNum = 2009;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen";
Debug.ShouldStop(16777216);
_totalmonto = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),BA.numberCast(double.class, _cuenta1),BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _cuenta3)}, "+++",3, 0));Debug.locals.put("TOTALMONTO", _totalmonto);Debug.locals.put("TOTALMONTO", _totalmonto);
 BA.debugLineNum = 2010;BA.debugLine="Private TOTALcantidad As String = arti + arti";
Debug.ShouldStop(33554432);
_totalcantidad = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),BA.numberCast(double.class, _arti1),BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _arti3)}, "+++",3, 0));Debug.locals.put("TOTALcantidad", _totalcantidad);Debug.locals.put("TOTALcantidad", _totalcantidad);
 BA.debugLineNum = 2012;BA.debugLine="Log(\"si entre\")";
Debug.ShouldStop(134217728);
c_principal.__c.runVoidMethod ("LogImpl","37667901",RemoteObject.createImmutable("si entre"),0);
 BA.debugLineNum = 2013;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD";
Debug.ShouldStop(268435456);
__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))),RemoteObject.createImmutable(" - "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Articulos :"),_totalcantidad,RemoteObject.createImmutable(" Monto :"),c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _totalmonto)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"True"))),RemoteObject.createImmutable("   "),__ref.getField(true,"_estatus" /*RemoteObject*/ )))));
 }}
;
 }
}Debug.locals.put("i", _i);
;
 };
 };
 BA.debugLineNum = 2048;BA.debugLine="End Sub";
Debug.ShouldStop(-2147483648);
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",5,__ref.getField(false, "ba"),__ref,1764);
if (RapidSub.canDelegate("b_mapa_click")) { return __ref.runUserSub(false, "c_principal","b_mapa_click", __ref);}
 BA.debugLineNum = 1764;BA.debugLine="Sub b_mapa_Click";
Debug.ShouldStop(8);
 BA.debugLineNum = 1766;BA.debugLine="B4XPages.ShowPage(\"mapas\")";
Debug.ShouldStop(32);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("mapas")));
 BA.debugLineNum = 1767;BA.debugLine="End Sub";
Debug.ShouldStop(64);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_rechazos_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_rechazos_Click (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,2096);
if (RapidSub.canDelegate("b_rechazos_click")) { return __ref.runUserSub(false, "c_principal","b_rechazos_click", __ref);}
RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
int _i = 0;
RemoteObject _itemtext = RemoteObject.createImmutable("");
RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _resta = RemoteObject.createImmutable("");
 BA.debugLineNum = 2096;BA.debugLine="Private Sub b_rechazos_Click";
Debug.ShouldStop(32768);
 BA.debugLineNum = 2097;BA.debugLine="Dim label1 As Label";
Debug.ShouldStop(65536);
_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1);
 BA.debugLineNum = 2098;BA.debugLine="label1 = lv_prod_Prin.SingleLineLayout.Label";
Debug.ShouldStop(131072);
_label1 = __ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1);
 BA.debugLineNum = 2099;BA.debugLine="label1.TextSize = 14";
Debug.ShouldStop(262144);
_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 14));
 BA.debugLineNum = 2100;BA.debugLine="p_prod.Width = Root.Width";
Debug.ShouldStop(524288);
__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 2101;BA.debugLine="p_prod.Height = Root.Height";
Debug.ShouldStop(1048576);
__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 2102;BA.debugLine="b_regreso.Left = (p_prod.Width - b_regreso.Width)";
Debug.ShouldStop(2097152);
__ref.getField(false,"_b_regreso" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_b_regreso" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0)));
 BA.debugLineNum = 2103;BA.debugLine="b_regreso.Top = p_prod.Height - b_regreso.Height";
Debug.ShouldStop(4194304);
__ref.getField(false,"_b_regreso" /*RemoteObject*/ ).runMethod(true,"setTop",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(false,"_b_regreso" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "-",1, 1));
 BA.debugLineNum = 2105;BA.debugLine="p_prod.Visible = True";
Debug.ShouldStop(16777216);
__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2106;BA.debugLine="p_prod.BringToFront";
Debug.ShouldStop(33554432);
__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runVoidMethod ("BringToFront");
 BA.debugLineNum = 2111;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel";
Debug.ShouldStop(1073741824);
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 HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))));__ref.setField("_c",c_principal._c);
 BA.debugLineNum = 2113;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C";
Debug.ShouldStop(1);
__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label").runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black"));
 BA.debugLineNum = 2114;BA.debugLine="lv_prod_Prin.Clear";
Debug.ShouldStop(2);
__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runVoidMethod ("Clear");
 BA.debugLineNum = 2115;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2116;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(8);
{
final int step14 = 1;
final int limit14 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step14 > 0 && _i <= limit14) || (step14 < 0 && _i >= limit14) ;_i = ((int)(0 + _i + step14))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 2117;BA.debugLine="c.Position = i";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 2118;BA.debugLine="Dim itemText As String";
Debug.ShouldStop(32);
_itemtext = RemoteObject.createImmutable("");Debug.locals.put("itemText", _itemtext);
 BA.debugLineNum = 2120;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s";
Debug.ShouldStop(128);
_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c3 = 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 Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3);
 BA.debugLineNum = 2121;BA.debugLine="Private resta As String = 0";
Debug.ShouldStop(256);
_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta);Debug.locals.put("resta", _resta);
 BA.debugLineNum = 2123;BA.debugLine="If c3.RowCount > 0 Then";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2124;BA.debugLine="c3.Position = 0";
Debug.ShouldStop(2048);
_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2125;BA.debugLine="resta =  c3.GetString(\"PE_CANT\")";
Debug.ShouldStop(4096);
_resta = _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("resta", _resta);
 }else {
 BA.debugLineNum = 2127;BA.debugLine="resta = 0";
Debug.ShouldStop(16384);
_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta);
 };
 BA.debugLineNum = 2129;BA.debugLine="If ( c.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean("k",(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),BA.numberCast(double.class, _resta)}, "-",1, 0)),BA.numberCast(double.class, 0))) { 
 }else {
 BA.debugLineNum = 2132;BA.debugLine="itemText = $\"${c.GetString(\"HVD_PRONOMBRE\")} $";
Debug.ShouldStop(524288);
_itemtext = (RemoteObject.concat(RemoteObject.createImmutable(""),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))))),RemoteObject.createImmutable(" "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Inventario: "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),BA.numberCast(double.class, _resta)}, "-",1, 0))))),RemoteObject.createImmutable("")));Debug.locals.put("itemText", _itemtext);
 BA.debugLineNum = 2133;BA.debugLine="lv_prod_Prin.AddSingleLine(itemText)";
Debug.ShouldStop(1048576);
__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(_itemtext)));
 };
 }
}Debug.locals.put("i", _i);
;
 }else {
 BA.debugLineNum = 2139;BA.debugLine="lv_prod_Prin.AddSingleLine(\"No hay datos disponi";
Debug.ShouldStop(67108864);
__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("No hay datos disponibles."))));
 };
 BA.debugLineNum = 2141;BA.debugLine="c.Close";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2142;BA.debugLine="End Sub";
Debug.ShouldStop(536870912);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_regresa_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_REGRESA_Click (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,2050);
if (RapidSub.canDelegate("b_regresa_click")) { return __ref.runUserSub(false, "c_principal","b_regresa_click", __ref);}
 BA.debugLineNum = 2050;BA.debugLine="Sub B_REGRESA_Click";
Debug.ShouldStop(2);
 BA.debugLineNum = 2051;BA.debugLine="Log(\"B_REGRESA_Click\")";
Debug.ShouldStop(4);
c_principal.__c.runVoidMethod ("LogImpl","37733249",RemoteObject.createImmutable("B_REGRESA_Click"),0);
 BA.debugLineNum = 2052;BA.debugLine="BUSCA.Visible = False";
Debug.ShouldStop(8);
__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2053;BA.debugLine="connecta.Visible = True";
Debug.ShouldStop(16);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2054;BA.debugLine="trabajar.Visible = True";
Debug.ShouldStop(32);
__ref.getField(false,"_trabajar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2055;BA.debugLine="B_CLIEPROD.Visible = True";
Debug.ShouldStop(64);
__ref.getField(false,"_b_clieprod" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2056;BA.debugLine="Panel1.Visible = False";
Debug.ShouldStop(128);
__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2057;BA.debugLine="Btn_Ubicar_Ru.Visible=True";
Debug.ShouldStop(256);
__ref.getField(false,"_btn_ubicar_ru" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 2058;BA.debugLine="End Sub";
Debug.ShouldStop(512);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_regreso_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_regreso_Click (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,2144);
if (RapidSub.canDelegate("b_regreso_click")) { return __ref.runUserSub(false, "c_principal","b_regreso_click", __ref);}
 BA.debugLineNum = 2144;BA.debugLine="Private Sub b_regreso_Click";
Debug.ShouldStop(-2147483648);
 BA.debugLineNum = 2145;BA.debugLine="p_prod.Visible = False";
Debug.ShouldStop(1);
__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 2146;BA.debugLine="End Sub";
Debug.ShouldStop(2);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_tabulador_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_tabulador_Click (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,2071);
if (RapidSub.canDelegate("b_tabulador_click")) { return __ref.runUserSub(false, "c_principal","b_tabulador_click", __ref);}
 BA.debugLineNum = 2071;BA.debugLine="Private Sub b_tabulador_Click";
Debug.ShouldStop(4194304);
 BA.debugLineNum = 2072;BA.debugLine="If b_check.Visible = True Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"True"))) { 
 BA.debugLineNum = 2073;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten";
Debug.ShouldStop(16777216);
c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Favor de hacer el checklist.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 2075;BA.debugLine="B4XPages.ShowPage(\"tabulador\")";
Debug.ShouldStop(67108864);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("tabulador")));
 };
 BA.debugLineNum = 2077;BA.debugLine="End Sub";
Debug.ShouldStop(268435456);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_venta_emp_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_venta_emp_Click (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,2152);
if (RapidSub.canDelegate("b_venta_emp_click")) { return __ref.runUserSub(false, "c_principal","b_venta_emp_click", __ref);}
 BA.debugLineNum = 2152;BA.debugLine="Private Sub b_venta_emp_Click";
Debug.ShouldStop(128);
 BA.debugLineNum = 2153;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")";
Debug.ShouldStop(256);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA")));
 BA.debugLineNum = 2154;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V";
Debug.ShouldStop(512);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("63403"))})))));
 BA.debugLineNum = 2155;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
Debug.ShouldStop(1024);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente")));
 BA.debugLineNum = 2156;BA.debugLine="End Sub";
Debug.ShouldStop(2048);
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",5,__ref.getField(false, "ba"),__ref,171);
if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_principal","b4xpage_appear", __ref);}
int _i = 0;
RemoteObject _monto_rec_dia = RemoteObject.createImmutable("");
RemoteObject _rc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
int _i3 = 0;
RemoteObject _vc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
int _i4 = 0;
RemoteObject _entmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map");
RemoteObject _rechmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map");
RemoteObject _vendmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map");
RemoteObject _cancelrecha = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
int _h54 = 0;
RemoteObject _r5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _rescant = RemoteObject.createImmutable("");
int _j4 = 0;
RemoteObject _r6 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _totalcantped = RemoteObject.createImmutable("");
RemoteObject _rescant2 = RemoteObject.createImmutable(0);
int _j5 = 0;
RemoteObject _r5r = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _rescantr = RemoteObject.createImmutable("");
int _j4r = 0;
RemoteObject _r6r = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _rescant2r = RemoteObject.createImmutable("");
int _j5r = 0;
RemoteObject _r55 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _rescant3 = RemoteObject.createImmutable(0);
int _r75 = 0;
RemoteObject _rescant4 = RemoteObject.createImmutable(0);
RemoteObject _rescant5 = RemoteObject.createImmutable(0);
RemoteObject _rescant6 = RemoteObject.createImmutable(0);
RemoteObject _rescant7 = RemoteObject.createImmutable(0);
 BA.debugLineNum = 171;BA.debugLine="Sub B4XPage_Appear";
Debug.ShouldStop(1024);
 BA.debugLineNum = 172;BA.debugLine="lVersionName.Text = \"Version: \" & Application.Ver";
Debug.ShouldStop(2048);
__ref.getField(false,"_lversionname" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Version: "),c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName"))));
 BA.debugLineNum = 173;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL";
Debug.ShouldStop(4096);
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 * FROM NOVENTA"))));__ref.setField("_c",c_principal._c);
 BA.debugLineNum = 174;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 = 175;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g";
Debug.ShouldStop(16384);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info set gestion = 2  WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA WHERE NV_MOTIVO = 'ENTREGA')")));
 };
 BA.debugLineNum = 177;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL";
Debug.ShouldStop(65536);
c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
c_principal._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT NV_CLIENTE FROM NOVENTA"))));__ref.setField("_c",c_principal._c);
 BA.debugLineNum = 178;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 = 179;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g";
Debug.ShouldStop(262144);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info set gestion = 3  WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA WHERE NV_MOTIVO <> 'ENTREGA' AND NV_MOTIVO <> 'ENTREGA')")));
 };
 BA.debugLineNum = 182;BA.debugLine="b_check.visible = False";
Debug.ShouldStop(2097152);
__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 183;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)";
Debug.ShouldStop(4194304);
c_principal._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 196;BA.debugLine="If EJECUTANDO = 0 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ejecutando" /*RemoteObject*/ ),BA.NumberToString(0))) { 
 BA.debugLineNum = 197;BA.debugLine="Listo1 = 0";
Debug.ShouldStop(16);
__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 198;BA.debugLine="Listo2 = 0";
Debug.ShouldStop(32);
__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 199;BA.debugLine="Listo3 = 0";
Debug.ShouldStop(64);
__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 200;BA.debugLine="Listo4 = 0";
Debug.ShouldStop(128);
__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 201;BA.debugLine="Listo5 = 0";
Debug.ShouldStop(256);
__ref.setField ("_listo5" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 202;BA.debugLine="inve = 0";
Debug.ShouldStop(512);
__ref.setField ("_inve" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 203;BA.debugLine="img2.Visible =False";
Debug.ShouldStop(1024);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 };
 BA.debugLineNum = 205;BA.debugLine="l_ruta.Text = 0";
Debug.ShouldStop(4096);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 207;BA.debugLine="f=Starter.skmt.ExecQuery(\"select rutaa from rutaa";
Debug.ShouldStop(16384);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select rutaa from rutaa"))));
 BA.debugLineNum = 208;BA.debugLine="If f.RowCount > 0 Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 209;BA.debugLine="f.Position = 0";
Debug.ShouldStop(65536);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 210;BA.debugLine="l_ruta.Text = f.GetString(\"RUTAA\")";
Debug.ShouldStop(131072);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")))));
 };
 BA.debugLineNum = 212;BA.debugLine="f.Close";
Debug.ShouldStop(524288);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 213;BA.debugLine="If l_ruta.Text = 0 Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { 
 BA.debugLineNum = 214;BA.debugLine="l_ruta.Text = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 215;BA.debugLine="l_rutasP.Text = 0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_l_rutasp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 }else {
 BA.debugLineNum = 217;BA.debugLine="f=Starter.skmt.ExecQuery(\"select distinct CAT_CL";
Debug.ShouldStop(16777216);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct CAT_CL_RUTA from kmt_info WHERE CAT_CL_RUTA <> 1000 order by CAT_CL_RUTA"))));
 BA.debugLineNum = 219;BA.debugLine="l_rutasP.Text = \"\"";
Debug.ShouldStop(67108864);
__ref.getField(false,"_l_rutasp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 220;BA.debugLine="For i = 0 To f.RowCount - 1";
Debug.ShouldStop(134217728);
{
final int step34 = 1;
final int limit34 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step34 > 0 && _i <= limit34) || (step34 < 0 && _i >= limit34) ;_i = ((int)(0 + _i + step34))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 221;BA.debugLine="f.Position = i";
Debug.ShouldStop(268435456);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 222;BA.debugLine="If i = 0 Then";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(_i),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 223;BA.debugLine="l_rutasP.Text = f.GetString(\"CAT_CL_RUTA\")";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_l_rutasp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))));
 }else {
 BA.debugLineNum = 225;BA.debugLine="l_rutasP.Text = l_rutasP.Text & \", \" & f.GetSt";
Debug.ShouldStop(1);
__ref.getField(false,"_l_rutasp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_l_rutasp" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable(", "),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))))));
 };
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 228;BA.debugLine="f.Close";
Debug.ShouldStop(8);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 230;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 = 231;BA.debugLine="fecha=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(64);
__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 = 232;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN";
Debug.ShouldStop(128);
__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOS from kmt_info"))));
 BA.debugLineNum = 233;BA.debugLine="b.Position=0";
Debug.ShouldStop(256);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 234;BA.debugLine="If b.RowCount > 0 Then Cuantos = b.GetString(\"CUA";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))));};
 BA.debugLineNum = 235;BA.debugLine="d=Starter.skmt.ExecQuery(\"selecT count(DISTINCT C";
Debug.ShouldStop(1024);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("selecT count(DISTINCT CAT_CL_CODIGO) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000"))));
 BA.debugLineNum = 236;BA.debugLine="D.Position=0";
Debug.ShouldStop(2048);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 237;BA.debugLine="b.Close";
Debug.ShouldStop(4096);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 238;BA.debugLine="e=Starter.skmt.ExecQuery(\"select count(DISTINCT C";
Debug.ShouldStop(8192);
__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(DISTINCT CAT_CL_CODIGO) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000"))));
 BA.debugLineNum = 239;BA.debugLine="e.Position=0";
Debug.ShouldStop(16384);
__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 250;BA.debugLine="cargar.Visible = False";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 251;BA.debugLine="Subir.Visible = False";
Debug.ShouldStop(67108864);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 252;BA.debugLine="connecta.Visible = True";
Debug.ShouldStop(134217728);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 254;BA.debugLine="If Cuantos = 0 Then";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos" /*RemoteObject*/ ),BA.NumberToString(0))) { 
 BA.debugLineNum = 255;BA.debugLine="l_aLiquidar.Text = 0";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_l_aliquidar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 256;BA.debugLine="l_cuantosc.Text = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 257;BA.debugLine="l_cuantosn.Text = 0";
Debug.ShouldStop(1);
__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 258;BA.debugLine="drop = 0";
Debug.ShouldStop(2);
__ref.setField ("_drop" /*RemoteObject*/ ,BA.numberCast(double.class, 0));
 BA.debugLineNum = 259;BA.debugLine="l_montoSalida.Text = 0";
Debug.ShouldStop(4);
__ref.getField(false,"_l_montosalida" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 260;BA.debugLine="efectiva = 0";
Debug.ShouldStop(8);
__ref.setField ("_efectiva" /*RemoteObject*/ ,BA.numberCast(double.class, 0));
 BA.debugLineNum = 263;BA.debugLine="L_MONTOE.Text = 0";
Debug.ShouldStop(64);
__ref.getField(false,"_l_montoe" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 264;BA.debugLine="l_ctast.Text = 0";
Debug.ShouldStop(128);
__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 265;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
__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 = 266;BA.debugLine="l_porvisitar.Text = 0";
Debug.ShouldStop(512);
__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 267;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
__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 = 268;BA.debugLine="d.Close";
Debug.ShouldStop(2048);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 269;BA.debugLine="e.Close";
Debug.ShouldStop(4096);
__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else {
 BA.debugLineNum = 271;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(hvd_costo_t";
Debug.ShouldStop(16384);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(hvd_costo_tot) as MONTO_DIA  from hist_ventas where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_ESTATUS = 1 "))));
 BA.debugLineNum = 272;BA.debugLine="f1=Starter.skmt.ExecQuery(\"select sum(hvd_costo_";
Debug.ShouldStop(32768);
__ref.getField(false,"_f1" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(hvd_costo_tot) as MONTO_TOTAL_DIA from hist_ventas2 where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_RECHAZO = 0"))));
 BA.debugLineNum = 273;BA.debugLine="f2=Starter.skmt.ExecQuery(\"select sum(REP_COSTO_";
Debug.ShouldStop(65536);
__ref.getField(false,"_f2" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(REP_COSTO_TOT) as MONTO_REC_DIA FROM REPARTO where REP_cliente in (Select cat_cl_codigo from kmt_info)"))));
 BA.debugLineNum = 275;BA.debugLine="b=Starter.skmt.ExecQuery(\"select count(DISTINCT";
Debug.ShouldStop(262144);
__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(DISTINCT NV_CLIENTE) as CUANTOS from noventa where nv_motivo <> 'ENTREGA' and NV_CLIENTE <> 63403"))));
 BA.debugLineNum = 277;BA.debugLine="L=Starter.skmt.ExecQuery(\"select count(DISTINCT";
Debug.ShouldStop(1048576);
__ref.getField(false,"_l" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(DISTINCT NV_CLIENTE) as CLIENTES_DIA from noventa where nv_motivo = 'ENTREGA' and NV_CLIENTE <> 63403"))));
 BA.debugLineNum = 278;BA.debugLine="f2.Position=0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_f2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 281;BA.debugLine="Private MONTO_REC_DIA = 0";
Debug.ShouldStop(16777216);
_monto_rec_dia = BA.NumberToString(0);Debug.locals.put("MONTO_REC_DIA", _monto_rec_dia);Debug.locals.put("MONTO_REC_DIA", _monto_rec_dia);
 BA.debugLineNum = 282;BA.debugLine="If f2.GetString(\"MONTO_REC_DIA\") <> Null Then MO";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("N",__ref.getField(false,"_f2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_REC_DIA"))))) { 
_monto_rec_dia = __ref.getField(false,"_f2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_REC_DIA")));Debug.locals.put("MONTO_REC_DIA", _monto_rec_dia);};
 BA.debugLineNum = 293;BA.debugLine="C.Position = 0";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 294;BA.debugLine="b.Position = 0";
Debug.ShouldStop(32);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 295;BA.debugLine="L.Position = 0";
Debug.ShouldStop(64);
__ref.getField(false,"_l" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 296;BA.debugLine="f1.Position = 0";
Debug.ShouldStop(128);
__ref.getField(false,"_f1" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 297;BA.debugLine="l_aLiquidar.Text = 0";
Debug.ShouldStop(256);
__ref.getField(false,"_l_aliquidar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 298;BA.debugLine="If f1.RowCount > 0 Then l_aLiquidar.Text = to_nu";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_f1" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
__ref.getField(false,"_l_aliquidar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_to_number_vb" /*RemoteObject*/ ,(Object)((__ref.getField(false,"_f1" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_TOTAL_DIA"))))))));};
 BA.debugLineNum = 299;BA.debugLine="L_MONTOE.Text = 0";
Debug.ShouldStop(1024);
__ref.getField(false,"_l_montoe" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 301;BA.debugLine="l_cuantosc.Text = 0";
Debug.ShouldStop(4096);
__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 302;BA.debugLine="If L.RowCount > 0 Then l_cuantosc.Text = L.GetSt";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_l" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA")))));};
 BA.debugLineNum = 303;BA.debugLine="l_cuantosn.Text = 0";
Debug.ShouldStop(16384);
__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 304;BA.debugLine="If b.RowCount > 0 Then l_cuantosn.Text = b.GetSt";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
__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 = 306;BA.debugLine="If f1.GetString(\"MONTO_TOTAL_DIA\") <> Null Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("N",__ref.getField(false,"_f1" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_TOTAL_DIA"))))) { 
__ref.getField(false,"_l_montosalida" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, __ref.getField(false,"_f1" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_TOTAL_DIA"))))),(Object)(BA.numberCast(int.class, 2)))));};
 BA.debugLineNum = 308;BA.debugLine="l_ctast.Text = 0";
Debug.ShouldStop(524288);
__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 309;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
__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 = 310;BA.debugLine="l_porvisitar.Text = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 311;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
__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 = 312;BA.debugLine="c.Close";
Debug.ShouldStop(8388608);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 313;BA.debugLine="b.Close";
Debug.ShouldStop(16777216);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 324;BA.debugLine="c.Close";
Debug.ShouldStop(8);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 326;BA.debugLine="c=Starter.skmt.ExecQuery(\"select  ID_ALMACEN from";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select  ID_ALMACEN from CAT_ALMACEN"))));
 BA.debugLineNum = 327;BA.debugLine="C.Position =0";
Debug.ShouldStop(64);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 328;BA.debugLine="ALMACEN = 0";
Debug.ShouldStop(128);
__ref.setField ("_almacen" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 329;BA.debugLine="If C.RowCount > 0 Then ALMACEN = C.GetString(\"ID_";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))));};
 BA.debugLineNum = 330;BA.debugLine="B4XPages.MainPage.almacen = ALMACEN";
Debug.ShouldStop(512);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_almacen" /*RemoteObject*/ ,__ref.getField(true,"_almacen" /*RemoteObject*/ ));
 BA.debugLineNum = 331;BA.debugLine="C.Close";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 332;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HGDATE, HGLAT, H";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HGDATE, HGLAT, HGLON from HIST_GPS"))));
 BA.debugLineNum = 334;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 = 335;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(16384);
{
final int step108 = 1;
final int limit108 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step108 > 0 && _i <= limit108) || (step108 < 0 && _i >= limit108) ;_i = ((int)(0 + _i + step108))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 336;BA.debugLine="c.Position=i";
Debug.ShouldStop(32768);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 337;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(65536);
c_principal._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 338;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 339;BA.debugLine="cmd.Name = \"insert_gps_actual_REP\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_gps_actual_REP"));
 BA.debugLineNum = 340;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"h";
Debug.ShouldStop(524288);
__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("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")))),(__ref.getField(true,"_usuario" /*RemoteObject*/ ))}));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 344;BA.debugLine="bu.Initialize";
Debug.ShouldStop(8388608);
__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.batteryutilities.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"));
 BA.debugLineNum = 345;BA.debugLine="batterystatus = bu.BatteryInformation";
Debug.ShouldStop(16777216);
__ref.setField ("_batterystatus" /*RemoteObject*/ ,__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.batteryutilities.class, "_getbatteryinformation" /*RemoteObject*/ ));
 BA.debugLineNum = 347;BA.debugLine="B4XPages.MainPage.batt = batterystatus(0)";
Debug.ShouldStop(67108864);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_batt" /*RemoteObject*/ ,__ref.getField(false,"_batterystatus" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, 0)));
 BA.debugLineNum = 348;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa"))));
 BA.debugLineNum = 349;BA.debugLine="c.Position = 0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 350;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(536870912);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 351;BA.debugLine="c.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 352;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTAA";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA"))));
 BA.debugLineNum = 353;BA.debugLine="c.Position = 0";
Debug.ShouldStop(1);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 354;BA.debugLine="RUTA_T = 0";
Debug.ShouldStop(2);
__ref.setField ("_ruta_t" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 355;BA.debugLine="If c.RowCount > 0 Then RUTA_T = c.GetString(\"RUTA";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
__ref.setField ("_ruta_t" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))));};
 BA.debugLineNum = 356;BA.debugLine="B4XPages.MainPage.rutaPreventa = RUTA_T";
Debug.ShouldStop(8);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_rutapreventa" /*RemoteObject*/ ,__ref.getField(true,"_ruta_t" /*RemoteObject*/ ));
 BA.debugLineNum = 357;BA.debugLine="c.Close";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 358;BA.debugLine="reqs.Initialize";
Debug.ShouldStop(32);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 360;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s";
Debug.ShouldStop(128);
_rc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_rc = 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 REPARTO where REP_RECHAZO = \"1\" and REP_CANT > 0")))));Debug.locals.put("rc", _rc);Debug.locals.put("rc", _rc);
 BA.debugLineNum = 362;BA.debugLine="If rc.RowCount > 0 Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean(">",_rc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 363;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from RECHAZOS";
Debug.ShouldStop(1024);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("delete from RECHAZOS"))));
 BA.debugLineNum = 364;BA.debugLine="For i3=0 To rc.RowCount -1 'Copiamos los rechazo";
Debug.ShouldStop(2048);
{
final int step133 = 1;
final int limit133 = RemoteObject.solve(new RemoteObject[] {_rc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i3 = 0 ;
for (;(step133 > 0 && _i3 <= limit133) || (step133 < 0 && _i3 >= limit133) ;_i3 = ((int)(0 + _i3 + step133))  ) {
Debug.locals.put("i3", _i3);
 BA.debugLineNum = 365;BA.debugLine="rc.Position = i3";
Debug.ShouldStop(4096);
_rc.runMethod(true,"setPosition",BA.numberCast(int.class, _i3));
 BA.debugLineNum = 368;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into RECHAZO";
Debug.ShouldStop(32768);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into RECHAZOS(R_FECHA, R_CLIENTE, R_CLI_ORIG, R_PRODID, R_CANT, R_RECHAZO, R_PRECIO) select REP_FECHA, REP_CLIENTE, REP_CLI_ORIG, REP_PRODID, REP_CANT, REP_RECHAZO, REP_PRECIO from REPARTO where REP_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLIENTE")))))),RemoteObject.createImmutable("' and REP_CLI_ORIG = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLI_ORIG")))))),RemoteObject.createImmutable("' and REP_PRODID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRODID")))))),RemoteObject.createImmutable("' and REP_RECHAZO = '1' and REP_CANT > 0")))));
 }
}Debug.locals.put("i3", _i3);
;
 };
 BA.debugLineNum = 371;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s";
Debug.ShouldStop(262144);
_vc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select * from REPARTO where REP_RECHAZO = \"0\" and REP_CANT > 0")))));Debug.locals.put("vc", _vc);Debug.locals.put("vc", _vc);
 BA.debugLineNum = 373;BA.debugLine="If vc.RowCount > 0 Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean(">",_vc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 374;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from VENTAS\"$";
Debug.ShouldStop(2097152);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("delete from VENTAS"))));
 BA.debugLineNum = 375;BA.debugLine="For i4=0 To vc.RowCount -1 'Copiamos las ventas";
Debug.ShouldStop(4194304);
{
final int step141 = 1;
final int limit141 = RemoteObject.solve(new RemoteObject[] {_vc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i4 = 0 ;
for (;(step141 > 0 && _i4 <= limit141) || (step141 < 0 && _i4 >= limit141) ;_i4 = ((int)(0 + _i4 + step141))  ) {
Debug.locals.put("i4", _i4);
 BA.debugLineNum = 376;BA.debugLine="vc.Position = i4";
Debug.ShouldStop(8388608);
_vc.runMethod(true,"setPosition",BA.numberCast(int.class, _i4));
 BA.debugLineNum = 379;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into VENTAS(";
Debug.ShouldStop(67108864);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into VENTAS(V_FECHA, V_CLIENTE, V_CLI_ORIG, V_PRODID, V_CANT, V_RECHAZO, V_PRECIO) select REP_FECHA, REP_CLIENTE, REP_CLI_ORIG, REP_PRODID, REP_CANT, REP_RECHAZO, REP_PRECIO from REPARTO where REP_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLIENTE")))))),RemoteObject.createImmutable("' and REP_CLI_ORIG = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLI_ORIG")))))),RemoteObject.createImmutable("' and REP_PRODID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRODID")))))),RemoteObject.createImmutable("' and REP_RECHAZO = '0' and REP_CANT > 0")))));
 }
}Debug.locals.put("i4", _i4);
;
 };
 BA.debugLineNum = 382;BA.debugLine="Starter.ENVIA_ULTIMA_GPS";
Debug.ShouldStop(536870912);
c_principal._starter.runVoidMethod ("_envia_ultima_gps" /*RemoteObject*/ );
 BA.debugLineNum = 387;BA.debugLine="Dim entMap As Map = Subs.traeEntregados";
Debug.ShouldStop(4);
_entmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");
_entmap = c_principal._subs.runMethod(false,"_traeentregados" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("entMap", _entmap);Debug.locals.put("entMap", _entmap);
 BA.debugLineNum = 388;BA.debugLine="Dim rechMap As Map = Subs.traeRechazados";
Debug.ShouldStop(8);
_rechmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");
_rechmap = c_principal._subs.runMethod(false,"_traerechazados" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("rechMap", _rechmap);Debug.locals.put("rechMap", _rechmap);
 BA.debugLineNum = 389;BA.debugLine="Dim vendMap As Map = Subs.traeVendidos";
Debug.ShouldStop(16);
_vendmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");
_vendmap = c_principal._subs.runMethod(false,"_traevendidos" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("vendMap", _vendmap);Debug.locals.put("vendMap", _vendmap);
 BA.debugLineNum = 390;BA.debugLine="l_aLiquidar.Text = entMap.Get(\"monto\") + vendMap.";
Debug.ShouldStop(32);
__ref.getField(false,"_l_aliquidar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _entmap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto"))))),BA.numberCast(double.class, _vendmap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))}, "+",1, 0)));
 BA.debugLineNum = 392;BA.debugLine="Dim cancelrecha As Cursor = Starter.skmt.ExecQuer";
Debug.ShouldStop(128);
_cancelrecha = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_cancelrecha = 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 ifnull(HVD_RECHAZOCANT,0), HVD_RECHAZO, CONSECUTIVO FROM HIST_VENTAS"))));Debug.locals.put("cancelrecha", _cancelrecha);Debug.locals.put("cancelrecha", _cancelrecha);
 BA.debugLineNum = 393;BA.debugLine="If cancelrecha.RowCount > 0 Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean(">",_cancelrecha.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 394;BA.debugLine="For h54 = 0 To cancelrecha.RowCount - 1";
Debug.ShouldStop(512);
{
final int step153 = 1;
final int limit153 = RemoteObject.solve(new RemoteObject[] {_cancelrecha.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_h54 = 0 ;
for (;(step153 > 0 && _h54 <= limit153) || (step153 < 0 && _h54 >= limit153) ;_h54 = ((int)(0 + _h54 + step153))  ) {
Debug.locals.put("h54", _h54);
 BA.debugLineNum = 395;BA.debugLine="cancelrecha.Position = h54";
Debug.ShouldStop(1024);
_cancelrecha.runMethod(true,"setPosition",BA.numberCast(int.class, _h54));
 BA.debugLineNum = 396;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update HIST_VENTAS";
Debug.ShouldStop(2048);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update HIST_VENTAS set HVD_RECHAZO = '0'  WHERE CONSECUTIVO = ? and (HVD_RECHAZOCANT = 0 OR HVD_RECHAZOCANT IS NULL)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_cancelrecha.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))})))));
 }
}Debug.locals.put("h54", _h54);
;
 };
 BA.debugLineNum = 399;BA.debugLine="cancelrecha.Close";
Debug.ShouldStop(16384);
_cancelrecha.runVoidMethod ("Close");
 BA.debugLineNum = 403;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
Debug.ShouldStop(262144);
_r5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r5 = 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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ORDER BY HVD_CLIENTE, HVD_PROID ")))));Debug.locals.put("r5", _r5);Debug.locals.put("r5", _r5);
 BA.debugLineNum = 405;BA.debugLine="Private rescant As String = 0";
Debug.ShouldStop(1048576);
_rescant = BA.NumberToString(0);Debug.locals.put("rescant", _rescant);Debug.locals.put("rescant", _rescant);
 BA.debugLineNum = 406;BA.debugLine="If r5.RowCount > 0 Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean(">",_r5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 407;BA.debugLine="For j4 = 0 To r5.RowCount -1";
Debug.ShouldStop(4194304);
{
final int step162 = 1;
final int limit162 = RemoteObject.solve(new RemoteObject[] {_r5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_j4 = 0 ;
for (;(step162 > 0 && _j4 <= limit162) || (step162 < 0 && _j4 >= limit162) ;_j4 = ((int)(0 + _j4 + step162))  ) {
Debug.locals.put("j4", _j4);
 BA.debugLineNum = 408;BA.debugLine="r5.Position = j4";
Debug.ShouldStop(8388608);
_r5.runMethod(true,"setPosition",BA.numberCast(int.class, _j4));
 BA.debugLineNum = 409;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($";
Debug.ShouldStop(16777216);
_r6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r6 = 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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("' "))))));Debug.locals.put("r6", _r6);Debug.locals.put("r6", _r6);
 BA.debugLineNum = 410;BA.debugLine="Dim totalcantped As String";
Debug.ShouldStop(33554432);
_totalcantped = RemoteObject.createImmutable("");Debug.locals.put("totalcantped", _totalcantped);
 BA.debugLineNum = 411;BA.debugLine="If r6.RowCount > 0 Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean(">",_r6.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 412;BA.debugLine="r6.Position = 0";
Debug.ShouldStop(134217728);
_r6.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 413;BA.debugLine="totalcantped = r6.GetString(\"PE_CANT\")";
Debug.ShouldStop(268435456);
_totalcantped = _r6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("totalcantped", _totalcantped);
 }else {
 BA.debugLineNum = 416;BA.debugLine="totalcantped = 0";
Debug.ShouldStop(-2147483648);
_totalcantped = BA.NumberToString(0);Debug.locals.put("totalcantped", _totalcantped);
 };
 BA.debugLineNum = 419;BA.debugLine="Log(r5.GetString(\"HVD_CLIENTE\")&\"----    ID";
Debug.ShouldStop(4);
c_principal.__c.runVoidMethod ("LogImpl","36488312",RemoteObject.concat(_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE"))),RemoteObject.createImmutable("----    ID    "),_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),RemoteObject.createImmutable("   /////   "),_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),RemoteObject.createImmutable(" - "),_totalcantped,RemoteObject.createImmutable("  $$$$$$$$$$$$   "),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, (_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))))}, "/",0, 0)),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _totalcantped)}, "-",1, 0)))}, "*",0, 0))),0);
 BA.debugLineNum = 420;BA.debugLine="rescant = rescant + ((r5.GetString(\"HVD_COSTO_T";
Debug.ShouldStop(8);
_rescant = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _rescant),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, (_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))))}, "/",0, 0)),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _totalcantped)}, "-",1, 0)))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("rescant", _rescant);
 BA.debugLineNum = 422;BA.debugLine="r6.Close";
Debug.ShouldStop(32);
_r6.runVoidMethod ("Close");
 }
}Debug.locals.put("j4", _j4);
;
 };
 BA.debugLineNum = 425;BA.debugLine="If rescant = \"NaN\" Then rescant = 0";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_rescant,BA.ObjectToString("NaN"))) { 
_rescant = BA.NumberToString(0);Debug.locals.put("rescant", _rescant);};
 BA.debugLineNum = 426;BA.debugLine="LogColor(rescant,Colors.Red)";
Debug.ShouldStop(512);
c_principal.__c.runVoidMethod ("LogImpl","36488319",_rescant,c_principal.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 427;BA.debugLine="r5.Close";
Debug.ShouldStop(1024);
_r5.runVoidMethod ("Close");
 BA.debugLineNum = 431;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
Debug.ShouldStop(16384);
_r5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r5 = 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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))));Debug.locals.put("r5", _r5);Debug.locals.put("r5", _r5);
 BA.debugLineNum = 435;BA.debugLine="Private rescant2 As Double = 0";
Debug.ShouldStop(262144);
_rescant2 = BA.numberCast(double.class, 0);Debug.locals.put("rescant2", _rescant2);Debug.locals.put("rescant2", _rescant2);
 BA.debugLineNum = 436;BA.debugLine="If r5.RowCount > 0 Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean(">",_r5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 437;BA.debugLine="For j5 = 0 To r5.RowCount -1";
Debug.ShouldStop(1048576);
{
final int step183 = 1;
final int limit183 = RemoteObject.solve(new RemoteObject[] {_r5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_j5 = 0 ;
for (;(step183 > 0 && _j5 <= limit183) || (step183 < 0 && _j5 >= limit183) ;_j5 = ((int)(0 + _j5 + step183))  ) {
Debug.locals.put("j5", _j5);
 BA.debugLineNum = 438;BA.debugLine="r5.Position = j5";
Debug.ShouldStop(2097152);
_r5.runMethod(true,"setPosition",BA.numberCast(int.class, _j5));
 BA.debugLineNum = 439;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($";
Debug.ShouldStop(4194304);
_r6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r6 = 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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'  AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("r6", _r6);Debug.locals.put("r6", _r6);
 BA.debugLineNum = 440;BA.debugLine="r6.Position = 0";
Debug.ShouldStop(8388608);
_r6.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 442;BA.debugLine="rescant2 = rescant2 + ((r5.GetString(\"HVD_COSTO";
Debug.ShouldStop(33554432);
_rescant2 = RemoteObject.solve(new RemoteObject[] {_rescant2,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, (_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC")))))}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _r6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "-",1, 0)),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0);Debug.locals.put("rescant2", _rescant2);
 BA.debugLineNum = 443;BA.debugLine="rescant2 = NumberFormat2(rescant2, 0, 2, 2, Fal";
Debug.ShouldStop(67108864);
_rescant2 = BA.numberCast(double.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)(_rescant2),(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"))));Debug.locals.put("rescant2", _rescant2);
 BA.debugLineNum = 444;BA.debugLine="r6.Close";
Debug.ShouldStop(134217728);
_r6.runVoidMethod ("Close");
 }
}Debug.locals.put("j5", _j5);
;
 };
 BA.debugLineNum = 447;BA.debugLine="If rescant2 = \"NaN\" Then rescant2 = 0";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",_rescant2,BA.numberCast(double.class, "NaN"))) { 
_rescant2 = BA.numberCast(double.class, 0);Debug.locals.put("rescant2", _rescant2);};
 BA.debugLineNum = 448;BA.debugLine="Log(rescant2)";
Debug.ShouldStop(-2147483648);
c_principal.__c.runVoidMethod ("LogImpl","36488341",BA.NumberToString(_rescant2),0);
 BA.debugLineNum = 449;BA.debugLine="r5.Close";
Debug.ShouldStop(1);
_r5.runVoidMethod ("Close");
 BA.debugLineNum = 454;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\"";
Debug.ShouldStop(32);
_r5r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r5r = 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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ")))));Debug.locals.put("r5r", _r5r);Debug.locals.put("r5r", _r5r);
 BA.debugLineNum = 456;BA.debugLine="Private rescantr As String = 0";
Debug.ShouldStop(128);
_rescantr = BA.NumberToString(0);Debug.locals.put("rescantr", _rescantr);Debug.locals.put("rescantr", _rescantr);
 BA.debugLineNum = 457;BA.debugLine="If r5r.RowCount > 0 Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean(">",_r5r.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 458;BA.debugLine="For j4r = 0 To r5r.RowCount -1";
Debug.ShouldStop(512);
{
final int step198 = 1;
final int limit198 = RemoteObject.solve(new RemoteObject[] {_r5r.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_j4r = 0 ;
for (;(step198 > 0 && _j4r <= limit198) || (step198 < 0 && _j4r >= limit198) ;_j4r = ((int)(0 + _j4r + step198))  ) {
Debug.locals.put("j4r", _j4r);
 BA.debugLineNum = 459;BA.debugLine="r5r.Position = j4r";
Debug.ShouldStop(1024);
_r5r.runMethod(true,"setPosition",BA.numberCast(int.class, _j4r));
 BA.debugLineNum = 460;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(2048);
_r6r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r6r = 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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("' "))))));Debug.locals.put("r6r", _r6r);Debug.locals.put("r6r", _r6r);
 BA.debugLineNum = 461;BA.debugLine="r6r.Position = 0";
Debug.ShouldStop(4096);
_r6r.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 464;BA.debugLine="rescantr = rescantr + ((r5r.GetString(\"HVD_COST";
Debug.ShouldStop(32768);
_rescantr = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _rescantr),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, (_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))))}, "/",0, 0)),BA.numberCast(double.class, (_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("rescantr", _rescantr);
 BA.debugLineNum = 465;BA.debugLine="r6r.Close";
Debug.ShouldStop(65536);
_r6r.runVoidMethod ("Close");
 }
}Debug.locals.put("j4r", _j4r);
;
 };
 BA.debugLineNum = 468;BA.debugLine="If rescantr = \"NaN\" Then rescantr = 0";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",_rescantr,BA.ObjectToString("NaN"))) { 
_rescantr = BA.NumberToString(0);Debug.locals.put("rescantr", _rescantr);};
 BA.debugLineNum = 470;BA.debugLine="r5r.Close";
Debug.ShouldStop(2097152);
_r5r.runVoidMethod ("Close");
 BA.debugLineNum = 472;BA.debugLine="Log(rescantr)";
Debug.ShouldStop(8388608);
c_principal.__c.runVoidMethod ("LogImpl","36488365",_rescantr,0);
 BA.debugLineNum = 474;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\"";
Debug.ShouldStop(33554432);
_r5r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r5r = 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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))));Debug.locals.put("r5r", _r5r);Debug.locals.put("r5r", _r5r);
 BA.debugLineNum = 478;BA.debugLine="Private rescant2r As String = 0";
Debug.ShouldStop(536870912);
_rescant2r = BA.NumberToString(0);Debug.locals.put("rescant2r", _rescant2r);Debug.locals.put("rescant2r", _rescant2r);
 BA.debugLineNum = 479;BA.debugLine="If r5r.RowCount > 0 Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean(">",_r5r.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 480;BA.debugLine="For j5r = 0 To r5r.RowCount -1";
Debug.ShouldStop(-2147483648);
{
final int step212 = 1;
final int limit212 = RemoteObject.solve(new RemoteObject[] {_r5r.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_j5r = 0 ;
for (;(step212 > 0 && _j5r <= limit212) || (step212 < 0 && _j5r >= limit212) ;_j5r = ((int)(0 + _j5r + step212))  ) {
Debug.locals.put("j5r", _j5r);
 BA.debugLineNum = 481;BA.debugLine="r5r.Position = j5r";
Debug.ShouldStop(1);
_r5r.runMethod(true,"setPosition",BA.numberCast(int.class, _j5r));
 BA.debugLineNum = 482;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(2);
_r6r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r6r = 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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'  AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("r6r", _r6r);Debug.locals.put("r6r", _r6r);
 BA.debugLineNum = 483;BA.debugLine="r6r.Position = 0";
Debug.ShouldStop(4);
_r6r.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 485;BA.debugLine="rescant2r = rescant2r + ((r5r.GetString(\"HVD_CO";
Debug.ShouldStop(16);
_rescant2r = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _rescant2r),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, (_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC")))))}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, (_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("rescant2r", _rescant2r);
 BA.debugLineNum = 486;BA.debugLine="r6r.Close";
Debug.ShouldStop(32);
_r6r.runVoidMethod ("Close");
 }
}Debug.locals.put("j5r", _j5r);
;
 };
 BA.debugLineNum = 489;BA.debugLine="If rescant2r = \"NaN\" Then rescant2r = 0";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_rescant2r,BA.ObjectToString("NaN"))) { 
_rescant2r = BA.NumberToString(0);Debug.locals.put("rescant2r", _rescant2r);};
 BA.debugLineNum = 491;BA.debugLine="r5r.Close";
Debug.ShouldStop(1024);
_r5r.runVoidMethod ("Close");
 BA.debugLineNum = 492;BA.debugLine="Log(rescant2r)";
Debug.ShouldStop(2048);
c_principal.__c.runVoidMethod ("LogImpl","36488385",_rescant2r,0);
 BA.debugLineNum = 493;BA.debugLine="Log(rescant2r+rescantr)";
Debug.ShouldStop(4096);
c_principal.__c.runVoidMethod ("LogImpl","36488386",BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _rescant2r),BA.numberCast(double.class, _rescantr)}, "+",1, 0)),0);
 BA.debugLineNum = 509;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\"";
Debug.ShouldStop(268435456);
_r55 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r55 = 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 HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '0' ")))));Debug.locals.put("r55", _r55);Debug.locals.put("r55", _r55);
 BA.debugLineNum = 510;BA.debugLine="Private rescant3 As Double";
Debug.ShouldStop(536870912);
_rescant3 = RemoteObject.createImmutable(0);Debug.locals.put("rescant3", _rescant3);
 BA.debugLineNum = 511;BA.debugLine="If r55.RowCount > 0 Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean(">",_r55.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 512;BA.debugLine="For r75 = 0 To r55.RowCount -1";
Debug.ShouldStop(-2147483648);
{
final int step227 = 1;
final int limit227 = RemoteObject.solve(new RemoteObject[] {_r55.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_r75 = 0 ;
for (;(step227 > 0 && _r75 <= limit227) || (step227 < 0 && _r75 >= limit227) ;_r75 = ((int)(0 + _r75 + step227))  ) {
Debug.locals.put("r75", _r75);
 BA.debugLineNum = 513;BA.debugLine="r55.Position = r75";
Debug.ShouldStop(1);
_r55.runMethod(true,"setPosition",BA.numberCast(int.class, _r75));
 BA.debugLineNum = 514;BA.debugLine="rescant3 = rescant3 + r55.GetString(\"HVD_COSTO_";
Debug.ShouldStop(2);
_rescant3 = RemoteObject.solve(new RemoteObject[] {_rescant3,BA.numberCast(double.class, _r55.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))))}, "+",1, 0);Debug.locals.put("rescant3", _rescant3);
 BA.debugLineNum = 515;BA.debugLine="rescant3 = NumberFormat2(rescant3, 0, 2, 2, Fal";
Debug.ShouldStop(4);
_rescant3 = BA.numberCast(double.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)(_rescant3),(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"))));Debug.locals.put("rescant3", _rescant3);
 }
}Debug.locals.put("r75", _r75);
;
 };
 BA.debugLineNum = 519;BA.debugLine="Log(rescant3)";
Debug.ShouldStop(64);
c_principal.__c.runVoidMethod ("LogImpl","36488412",BA.NumberToString(_rescant3),0);
 BA.debugLineNum = 520;BA.debugLine="r55.Close";
Debug.ShouldStop(128);
_r55.runVoidMethod ("Close");
 BA.debugLineNum = 525;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
Debug.ShouldStop(4096);
_r5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r5 = 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 IFNULL(SUM(HVD_COSTO_TOT),0) AS HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '1' ")))));Debug.locals.put("r5", _r5);Debug.locals.put("r5", _r5);
 BA.debugLineNum = 526;BA.debugLine="Private rescant4 As Double";
Debug.ShouldStop(8192);
_rescant4 = RemoteObject.createImmutable(0);Debug.locals.put("rescant4", _rescant4);
 BA.debugLineNum = 527;BA.debugLine="If r5.RowCount > 0 Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean(">",_r5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 528;BA.debugLine="r5.Position = 0";
Debug.ShouldStop(32768);
_r5.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 529;BA.debugLine="rescant4 = r5.GetString(\"HVD_COSTO_TOT\")";
Debug.ShouldStop(65536);
_rescant4 = BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))));Debug.locals.put("rescant4", _rescant4);
 };
 BA.debugLineNum = 531;BA.debugLine="Log(rescant4)";
Debug.ShouldStop(262144);
c_principal.__c.runVoidMethod ("LogImpl","36488424",BA.NumberToString(_rescant4),0);
 BA.debugLineNum = 532;BA.debugLine="r5.Close";
Debug.ShouldStop(524288);
_r5.runVoidMethod ("Close");
 BA.debugLineNum = 534;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
Debug.ShouldStop(2097152);
_r5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r5 = 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 IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT from PEDIDO ")))));Debug.locals.put("r5", _r5);Debug.locals.put("r5", _r5);
 BA.debugLineNum = 535;BA.debugLine="Private rescant5 As Double";
Debug.ShouldStop(4194304);
_rescant5 = RemoteObject.createImmutable(0);Debug.locals.put("rescant5", _rescant5);
 BA.debugLineNum = 536;BA.debugLine="If r5.RowCount > 0 Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean(">",_r5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 537;BA.debugLine="r5.Position = 0";
Debug.ShouldStop(16777216);
_r5.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 538;BA.debugLine="rescant5 = r5.GetString(\"PE_COSTO_TOT\")";
Debug.ShouldStop(33554432);
_rescant5 = BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))));Debug.locals.put("rescant5", _rescant5);
 };
 BA.debugLineNum = 540;BA.debugLine="Log(rescant5)";
Debug.ShouldStop(134217728);
c_principal.__c.runVoidMethod ("LogImpl","36488433",BA.NumberToString(_rescant5),0);
 BA.debugLineNum = 541;BA.debugLine="r5.Close";
Debug.ShouldStop(268435456);
_r5.runVoidMethod ("Close");
 BA.debugLineNum = 546;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
Debug.ShouldStop(2);
_r5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r5 = 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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ")))));Debug.locals.put("r5", _r5);Debug.locals.put("r5", _r5);
 BA.debugLineNum = 547;BA.debugLine="Private rescant6 As Double";
Debug.ShouldStop(4);
_rescant6 = RemoteObject.createImmutable(0);Debug.locals.put("rescant6", _rescant6);
 BA.debugLineNum = 548;BA.debugLine="If r5.RowCount > 0 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean(">",_r5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 549;BA.debugLine="For j4 = 0 To r5.RowCount -1";
Debug.ShouldStop(16);
{
final int step254 = 1;
final int limit254 = RemoteObject.solve(new RemoteObject[] {_r5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_j4 = 0 ;
for (;(step254 > 0 && _j4 <= limit254) || (step254 < 0 && _j4 >= limit254) ;_j4 = ((int)(0 + _j4 + step254))  ) {
Debug.locals.put("j4", _j4);
 BA.debugLineNum = 550;BA.debugLine="r5.Position = j4";
Debug.ShouldStop(32);
_r5.runMethod(true,"setPosition",BA.numberCast(int.class, _j4));
 BA.debugLineNum = 551;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($";
Debug.ShouldStop(64);
_r6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r6 = 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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("' "))))));Debug.locals.put("r6", _r6);Debug.locals.put("r6", _r6);
 BA.debugLineNum = 552;BA.debugLine="r6.Position = 0";
Debug.ShouldStop(128);
_r6.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 555;BA.debugLine="rescant6 = rescant6 + ((r5.GetString(\"HVD_COSTO";
Debug.ShouldStop(1024);
_rescant6 = RemoteObject.solve(new RemoteObject[] {_rescant6,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, (_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))))}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "*",0, 0))}, "+",1, 0);Debug.locals.put("rescant6", _rescant6);
 BA.debugLineNum = 557;BA.debugLine="r6.Close";
Debug.ShouldStop(4096);
_r6.runVoidMethod ("Close");
 }
}Debug.locals.put("j4", _j4);
;
 };
 BA.debugLineNum = 560;BA.debugLine="If rescant6 = \"NaN\" Then rescant6 = 0";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",_rescant6,BA.numberCast(double.class, "NaN"))) { 
_rescant6 = BA.numberCast(double.class, 0);Debug.locals.put("rescant6", _rescant6);};
 BA.debugLineNum = 561;BA.debugLine="LogColor(rescant6,Colors.Red)";
Debug.ShouldStop(65536);
c_principal.__c.runVoidMethod ("LogImpl","36488454",BA.NumberToString(_rescant6),c_principal.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 562;BA.debugLine="r5.Close";
Debug.ShouldStop(131072);
_r5.runVoidMethod ("Close");
 BA.debugLineNum = 564;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s";
Debug.ShouldStop(524288);
_r5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r5 = 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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))));Debug.locals.put("r5", _r5);Debug.locals.put("r5", _r5);
 BA.debugLineNum = 565;BA.debugLine="Private rescant7 As Double";
Debug.ShouldStop(1048576);
_rescant7 = RemoteObject.createImmutable(0);Debug.locals.put("rescant7", _rescant7);
 BA.debugLineNum = 566;BA.debugLine="If r5.RowCount > 0 Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean(">",_r5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 567;BA.debugLine="For j5 = 0 To r5.RowCount -1";
Debug.ShouldStop(4194304);
{
final int step268 = 1;
final int limit268 = RemoteObject.solve(new RemoteObject[] {_r5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_j5 = 0 ;
for (;(step268 > 0 && _j5 <= limit268) || (step268 < 0 && _j5 >= limit268) ;_j5 = ((int)(0 + _j5 + step268))  ) {
Debug.locals.put("j5", _j5);
 BA.debugLineNum = 568;BA.debugLine="r5.Position = j5";
Debug.ShouldStop(8388608);
_r5.runMethod(true,"setPosition",BA.numberCast(int.class, _j5));
 BA.debugLineNum = 569;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($";
Debug.ShouldStop(16777216);
_r6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_r6 = 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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'  AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("r6", _r6);Debug.locals.put("r6", _r6);
 BA.debugLineNum = 570;BA.debugLine="r6.Position = 0";
Debug.ShouldStop(33554432);
_r6.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 572;BA.debugLine="rescant7 = rescant7 + ((r5.GetString(\"HVD_COSTO";
Debug.ShouldStop(134217728);
_rescant7 = RemoteObject.solve(new RemoteObject[] {_rescant7,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, (_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC")))))}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0);Debug.locals.put("rescant7", _rescant7);
 BA.debugLineNum = 573;BA.debugLine="r6.Close";
Debug.ShouldStop(268435456);
_r6.runVoidMethod ("Close");
 }
}Debug.locals.put("j5", _j5);
;
 };
 BA.debugLineNum = 576;BA.debugLine="If rescant7 = \"NaN\" Then rescant7 = 0";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",_rescant7,BA.numberCast(double.class, "NaN"))) { 
_rescant7 = BA.numberCast(double.class, 0);Debug.locals.put("rescant7", _rescant7);};
 BA.debugLineNum = 577;BA.debugLine="Log(rescant7)";
Debug.ShouldStop(1);
c_principal.__c.runVoidMethod ("LogImpl","36488470",BA.NumberToString(_rescant7),0);
 BA.debugLineNum = 578;BA.debugLine="r5.Close";
Debug.ShouldStop(2);
_r5.runVoidMethod ("Close");
 BA.debugLineNum = 581;BA.debugLine="l_rechazo.text = NumberFormat2((rescant + rescant";
Debug.ShouldStop(16);
__ref.getField(false,"_l_rechazo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _rescant),_rescant2}, "+",1, 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")))));
 BA.debugLineNum = 582;BA.debugLine="L_MONTOE.Text = NumberFormat2((rescant3 + rescant";
Debug.ShouldStop(32);
__ref.getField(false,"_l_montoe" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {_rescant3,_rescant4,_rescant5,_rescant6,_rescant7}, "++++",4, 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")))));
 BA.debugLineNum = 585;BA.debugLine="B4XPages.MainPage.clientesVisitados = L_MONTOE.Te";
Debug.ShouldStop(256);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientesvisitados" /*RemoteObject*/ ,__ref.getField(false,"_l_montoe" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 586;BA.debugLine="B4XPages.MainPage.clientesVenta = l_cuantosc.Text";
Debug.ShouldStop(512);
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 = 587;BA.debugLine="B4XPages.MainPage.clientesRechazo = l_cuantosn.Te";
Debug.ShouldStop(1024);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientesrechazo" /*RemoteObject*/ ,__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 588;BA.debugLine="B4XPages.MainPage.clientestotal = l_porvisitar.Te";
Debug.ShouldStop(2048);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientestotal" /*RemoteObject*/ ,__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 589;BA.debugLine="B4XPages.MainPage.montoActual = Round2(l_montoSal";
Debug.ShouldStop(4096);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_montoactual" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_montosalida" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, _rechmap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))}, "-",1, 0)),(Object)(BA.numberCast(int.class, 2)))));
 BA.debugLineNum = 590;BA.debugLine="B4XPages.MainPage.porVisitar = l_ctast.text";
Debug.ShouldStop(8192);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_porvisitar" /*RemoteObject*/ ,__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 591;BA.debugLine="B4XPages.MainPage.entregas = l_cuantosc.text";
Debug.ShouldStop(16384);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_entregas" /*RemoteObject*/ ,__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 592;BA.debugLine="B4XPages.MainPage.rechazos = l_cuantosn.text";
Debug.ShouldStop(32768);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_rechazos" /*RemoteObject*/ ,__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 593;BA.debugLine="B4XPages.MainPage.montoEntregado = L_MONTOE.text";
Debug.ShouldStop(65536);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_montoentregado" /*RemoteObject*/ ,__ref.getField(false,"_l_montoe" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 594;BA.debugLine="B4XPages.MainPage.montoRechazado = l_rechazo.text";
Debug.ShouldStop(131072);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_montorechazado" /*RemoteObject*/ ,__ref.getField(false,"_l_rechazo" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 596;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve";
Debug.ShouldStop(524288);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )));
 BA.debugLineNum = 599;BA.debugLine="If l_ctast.Text = 0 And l_porvisitar.Text <> 0 Th";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0)) && RemoteObject.solveBoolean("!",__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { 
 BA.debugLineNum = 600;BA.debugLine="Label9.Visible = True";
Debug.ShouldStop(8388608);
__ref.getField(false,"_label9" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 601;BA.debugLine="L_MONTOE.Visible = True";
Debug.ShouldStop(16777216);
__ref.getField(false,"_l_montoe" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 604;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from HIST_VEN";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))));
 BA.debugLineNum = 605;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 606;BA.debugLine="b_venta_emp.Visible = True";
Debug.ShouldStop(536870912);
__ref.getField(false,"_b_venta_emp" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 }else {
 BA.debugLineNum = 608;BA.debugLine="b_venta_emp.Visible = False";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_b_venta_emp" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 };
 }else {
 BA.debugLineNum = 611;BA.debugLine="Label9.Visible = False";
Debug.ShouldStop(4);
__ref.getField(false,"_label9" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 612;BA.debugLine="L_MONTOE.Visible = False";
Debug.ShouldStop(8);
__ref.getField(false,"_l_montoe" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 613;BA.debugLine="b_venta_emp.Visible = False";
Debug.ShouldStop(16);
__ref.getField(false,"_b_venta_emp" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 };
 BA.debugLineNum = 625;BA.debugLine="End Sub";
Debug.ShouldStop(65536);
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",5,__ref.getField(false, "ba"),__ref,1708);
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(reparto_mazapa.keymon.lat.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;
reparto_mazapa.keymon.lat.c_principal parent;

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_CloseRequest (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,1708);
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 = 1710;BA.debugLine="If Panel1.visible Then";
Debug.ShouldStop(8192);
if (true) break;

case 1:
//if
this.state = 10;
if (__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"getVisible").<Boolean>get().booleanValue()) { 
this.state = 3;
}else 
{ BA.debugLineNum = 1713;BA.debugLine="Else If p_prod.Visible Then";
Debug.ShouldStop(65536);
if (__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"getVisible").<Boolean>get().booleanValue()) { 
this.state = 5;
}else 
{ BA.debugLineNum = 1715;BA.debugLine="Else If pEnvioInfo.Visible Then";
Debug.ShouldStop(262144);
if (__ref.getField(false,"_penvioinfo" /*RemoteObject*/ ).runMethod(true,"getVisible").<Boolean>get().booleanValue()) { 
this.state = 7;
}else {
this.state = 9;
}}}
if (true) break;

case 3:
//C
this.state = 10;
 BA.debugLineNum = 1711;BA.debugLine="Log(\"PANEL1 VISIBLE\")";
Debug.ShouldStop(16384);
parent.__c.runVoidMethod ("LogImpl","37208963",RemoteObject.createImmutable("PANEL1 VISIBLE"),0);
 BA.debugLineNum = 1712;BA.debugLine="B_REGRESA_Click";
Debug.ShouldStop(32768);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_b_regresa_click" /*RemoteObject*/ );
 if (true) break;

case 5:
//C
this.state = 10;
 BA.debugLineNum = 1714;BA.debugLine="p_prod.Visible = False";
Debug.ShouldStop(131072);
__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 if (true) break;

case 7:
//C
this.state = 10;
 BA.debugLineNum = 1716;BA.debugLine="Return False";
Debug.ShouldStop(524288);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 if (true) break;

case 9:
//C
this.state = 10;
 BA.debugLineNum = 1718;BA.debugLine="B4XPages.ShowPage(\"Login\")";
Debug.ShouldStop(2097152);
parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Login")));
 if (true) break;

case 10:
//C
this.state = -1;
;
 BA.debugLineNum = 1721;BA.debugLine="Return False";
Debug.ShouldStop(16777216);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 BA.debugLineNum = 1722;BA.debugLine="End Sub";
Debug.ShouldStop(33554432);
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",5,__ref.getField(false, "ba"),__ref,109);
if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_principal","b4xpage_created", __ref, _root1);}
Debug.locals.put("Root1", _root1);
 BA.debugLineNum = 109;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)";
Debug.ShouldStop(4096);
 BA.debugLineNum = 110;BA.debugLine="Root = Root1";
Debug.ShouldStop(8192);
__ref.setField ("_root" /*RemoteObject*/ ,_root1);
 BA.debugLineNum = 112;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 = 113;BA.debugLine="EJECUTANDO=1";
Debug.ShouldStop(65536);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 114;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve";
Debug.ShouldStop(131072);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )));
 BA.debugLineNum = 117;BA.debugLine="img2.Visible =False";
Debug.ShouldStop(1048576);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 118;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(2097152);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 119;BA.debugLine="fecha=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(4194304);
__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 = 121;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN";
Debug.ShouldStop(16777216);
__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOS from pedido_cliente"))));
 BA.debugLineNum = 122;BA.debugLine="b.Position=0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 123;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")";
Debug.ShouldStop(67108864);
__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))));
 BA.debugLineNum = 124;BA.debugLine="d=Starter.skmt.ExecQuery(\"select DISTINCT count(*";
Debug.ShouldStop(134217728);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select DISTINCT count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND  CAT_CL_RUTA <> 1000"))));
 BA.debugLineNum = 125;BA.debugLine="D.Position=0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 126;BA.debugLine="b.Close";
Debug.ShouldStop(536870912);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 127;BA.debugLine="e=Starter.skmt.ExecQuery(\"select DISTINCT count(*";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select DISTINCT count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000"))));
 BA.debugLineNum = 128;BA.debugLine="e.Position=0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 129;BA.debugLine="If Cuantos = 0 Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos" /*RemoteObject*/ ),BA.NumberToString(0))) { 
 BA.debugLineNum = 130;BA.debugLine="l_aLiquidar.Text = 0";
Debug.ShouldStop(2);
__ref.getField(false,"_l_aliquidar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 131;BA.debugLine="l_cuantosc.Text = 0";
Debug.ShouldStop(4);
__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 132;BA.debugLine="l_cuantosn.Text = 0";
Debug.ShouldStop(8);
__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 133;BA.debugLine="drop = 0";
Debug.ShouldStop(16);
__ref.setField ("_drop" /*RemoteObject*/ ,BA.numberCast(double.class, 0));
 BA.debugLineNum = 134;BA.debugLine="l_montoSalida.Text = 0";
Debug.ShouldStop(32);
__ref.getField(false,"_l_montosalida" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0));
 BA.debugLineNum = 135;BA.debugLine="efectiva = 0";
Debug.ShouldStop(64);
__ref.setField ("_efectiva" /*RemoteObject*/ ,BA.numberCast(double.class, 0));
 BA.debugLineNum = 137;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")";
Debug.ShouldStop(256);
__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 = 138;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")";
Debug.ShouldStop(512);
__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 = 157;BA.debugLine="b=Starter.skmt.ExecQuery(\"select id_almacen from";
Debug.ShouldStop(268435456);
__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select id_almacen from CAT_ALMACEN"))));
 BA.debugLineNum = 158;BA.debugLine="If b.RowCount > 0 Then";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 160;BA.debugLine="b.Position = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 162;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(2);
c_principal._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 163;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 164;BA.debugLine="cmd.Name = \"select_coords_almacen_MAZAPA\"";
Debug.ShouldStop(8);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_coords_almacen_MAZAPA"));
 BA.debugLineNum = 165;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"ID";
Debug.ShouldStop(16);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))))}));
 BA.debugLineNum = 166;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen";
Debug.ShouldStop(32);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("coords_almacen"))));
 };
 BA.debugLineNum = 168;BA.debugLine="B4XPages.MainPage.usuario=Subs.dameUsuarioDeDB";
Debug.ShouldStop(128);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_usuario" /*RemoteObject*/ ,c_principal._subs.runMethod(true,"_dameusuariodedb" /*RemoteObject*/ ,__ref.getField(false, "ba")));
 BA.debugLineNum = 169;BA.debugLine="End Sub";
Debug.ShouldStop(256);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _benvioinfo_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("bEnvioInfo_Click (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,1703);
if (RapidSub.canDelegate("benvioinfo_click")) { return __ref.runUserSub(false, "c_principal","benvioinfo_click", __ref);}
 BA.debugLineNum = 1703;BA.debugLine="Private Sub bEnvioInfo_Click";
Debug.ShouldStop(64);
 BA.debugLineNum = 1704;BA.debugLine="bEnvioInfo.Enabled = False";
Debug.ShouldStop(128);
__ref.getField(false,"_benvioinfo" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1705;BA.debugLine="pEnvioInfo.Visible = False";
Debug.ShouldStop(256);
__ref.getField(false,"_penvioinfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1706;BA.debugLine="End Sub";
Debug.ShouldStop(512);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _btn_ubicar_ru_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Btn_Ubicar_Ru_Click (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,2061);
if (RapidSub.canDelegate("btn_ubicar_ru_click")) { return __ref.runUserSub(false, "c_principal","btn_ubicar_ru_click", __ref);}
 BA.debugLineNum = 2061;BA.debugLine="Sub Btn_Ubicar_Ru_Click";
Debug.ShouldStop(4096);
 BA.debugLineNum = 2062;BA.debugLine="If b_check.Visible = True Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"True"))) { 
 BA.debugLineNum = 2063;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten";
Debug.ShouldStop(16384);
c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Favor de hacer el checklist.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 2066;BA.debugLine="StartActivity(MAPA_RUTAS)";
Debug.ShouldStop(131072);
c_principal.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_principal._mapa_rutas.getObject())));
 };
 BA.debugLineNum = 2068;BA.debugLine="End Sub";
Debug.ShouldStop(524288);
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",5,__ref.getField(false, "ba"),__ref,1755);
if (RapidSub.canDelegate("busca_click")) { return __ref.runUserSub(false, "c_principal","busca_click", __ref);}
 BA.debugLineNum = 1755;BA.debugLine="Sub BUSCA_Click";
Debug.ShouldStop(67108864);
 BA.debugLineNum = 1756;BA.debugLine="If b_check.Visible = True Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"True"))) { 
 BA.debugLineNum = 1757;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten";
Debug.ShouldStop(268435456);
c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Favor de hacer el checklist.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 1760;BA.debugLine="B4XPages.ShowPage(\"Buscar\")";
Debug.ShouldStop(-2147483648);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Buscar")));
 };
 BA.debugLineNum = 1762;BA.debugLine="End Sub";
Debug.ShouldStop(2);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _cargadedia(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("cargadedia (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,1132);
if (RapidSub.canDelegate("cargadedia")) { return __ref.runUserSub(false, "c_principal","cargadedia", __ref);}
 BA.debugLineNum = 1132;BA.debugLine="Sub cargadedia";
Debug.ShouldStop(2048);
 BA.debugLineNum = 1133;BA.debugLine="imei = \"\" 'p.GetDeviceId";
Debug.ShouldStop(4096);
__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString(""));
 BA.debugLineNum = 1134;BA.debugLine="conn = \"1\"";
Debug.ShouldStop(8192);
__ref.setField ("_conn" /*RemoteObject*/ ,BA.ObjectToString("1"));
 BA.debugLineNum = 1135;BA.debugLine="ime.HideKeyboard";
Debug.ShouldStop(16384);
__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba"));
 BA.debugLineNum = 1140;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(524288);
c_principal._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 1141;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1142;BA.debugLine="cmd.Name = \"select_ruta_re_REPG_MAZAPA7\"";
Debug.ShouldStop(2097152);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_ruta_re_REPG_MAZAPA7"));
 BA.debugLineNum = 1143;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta.";
Debug.ShouldStop(4194304);
__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,"_imei" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1145;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")";
Debug.ShouldStop(16777216);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("ruta"))));
 BA.debugLineNum = 1146;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)";
Debug.ShouldStop(33554432);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Validando Conexión.")),(Object)(c_principal.__c.getField(true,"True")));
 BA.debugLineNum = 1147;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")";
Debug.ShouldStop(67108864);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTAA")));
 BA.debugLineNum = 1148;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTAA(RUT";
Debug.ShouldStop(134217728);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTAA(RUTAA) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})))));
 BA.debugLineNum = 1149;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT";
Debug.ShouldStop(268435456);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_rutapreventa" /*RemoteObject*/ ,__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 1150;BA.debugLine="End Sub";
Debug.ShouldStop(536870912);
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",5,__ref.getField(false, "ba"),__ref,973);
if (RapidSub.canDelegate("cargar_click")) { return __ref.runUserSub(false, "c_principal","cargar_click", __ref);}
RemoteObject _pedidodiaanterior = RemoteObject.createImmutable(false);
RemoteObject _fecha2 = null;
RemoteObject _fecha3 = null;
RemoteObject _dia = RemoteObject.createImmutable("");
RemoteObject _dia2 = RemoteObject.createImmutable("");
 BA.debugLineNum = 973;BA.debugLine="Sub cargar_Click";
Debug.ShouldStop(4096);
 BA.debugLineNum = 974;BA.debugLine="Dim pedidodiaanterior As Boolean = False";
Debug.ShouldStop(8192);
_pedidodiaanterior = c_principal.__c.getField(true,"False");Debug.locals.put("pedidodiaanterior", _pedidodiaanterior);Debug.locals.put("pedidodiaanterior", _pedidodiaanterior);
 BA.debugLineNum = 975;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select";
Debug.ShouldStop(16384);
c_principal._cp = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
c_principal._cp = 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 NOVENTA"))));__ref.setField("_cp",c_principal._cp);
 BA.debugLineNum = 976;BA.debugLine="If cp.RowCount > 0 Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_cp" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 977;BA.debugLine="cp.Position = 0";
Debug.ShouldStop(65536);
__ref.getField(false,"_cp" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 978;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA";
Debug.ShouldStop(131072);
c_principal._fecha = __ref.getField(false,"_cp" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_FECHA")));__ref.setField("_fecha",c_principal._fecha);
 BA.debugLineNum = 979;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))";
Debug.ShouldStop(262144);
c_principal.__c.runVoidMethod ("LogImpl","36946822",__ref.getField(false,"_cp" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_FECHA"))),0);
 BA.debugLineNum = 980;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)";
Debug.ShouldStop(524288);
_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 = 981;BA.debugLine="Log(fecha2(0))";
Debug.ShouldStop(1048576);
c_principal.__c.runVoidMethod ("LogImpl","36946824",_fecha2.getArrayElement(true,BA.numberCast(int.class, 0)),0);
 BA.debugLineNum = 982;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2(";
Debug.ShouldStop(2097152);
_fecha3 = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("/")),(Object)(_fecha2.getArrayElement(true,BA.numberCast(int.class, 0))));Debug.locals.put("fecha3", _fecha3);Debug.locals.put("fecha3", _fecha3);
 BA.debugLineNum = 983;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\"";
Debug.ShouldStop(4194304);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyyyMMdd"));
 BA.debugLineNum = 984;BA.debugLine="DateTime.TimeFormat = \"\"";
Debug.ShouldStop(8388608);
c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString(""));
 BA.debugLineNum = 985;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1";
Debug.ShouldStop(16777216);
_dia = RemoteObject.concat(_fecha3.getArrayElement(true,BA.numberCast(int.class, 2)),_fecha3.getArrayElement(true,BA.numberCast(int.class, 0)),_fecha3.getArrayElement(true,BA.numberCast(int.class, 1)));Debug.locals.put("dia", _dia);Debug.locals.put("dia", _dia);
 BA.debugLineNum = 986;BA.debugLine="Log(dia)";
Debug.ShouldStop(33554432);
c_principal.__c.runVoidMethod ("LogImpl","36946829",_dia,0);
 BA.debugLineNum = 987;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)";
Debug.ShouldStop(67108864);
_dia2 = c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("dia2", _dia2);Debug.locals.put("dia2", _dia2);
 BA.debugLineNum = 988;BA.debugLine="Log(dia & \" , \" & dia2)";
Debug.ShouldStop(134217728);
c_principal.__c.runVoidMethod ("LogImpl","36946831",RemoteObject.concat(_dia,RemoteObject.createImmutable(" , "),_dia2),0);
 BA.debugLineNum = 989;BA.debugLine="If dia < dia2 Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _dia),BA.numberCast(double.class, _dia2))) { 
 BA.debugLineNum = 990;BA.debugLine="pedidodiaanterior = True";
Debug.ShouldStop(536870912);
_pedidodiaanterior = c_principal.__c.getField(true,"True");Debug.locals.put("pedidodiaanterior", _pedidodiaanterior);
 };
 };
 BA.debugLineNum = 993;BA.debugLine="If Not (pedidodiaanterior) Then";
Debug.ShouldStop(1);
if (c_principal.__c.runMethod(true,"Not",(Object)(_pedidodiaanterior)).<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 995;BA.debugLine="Log(\"CUMPLE\")";
Debug.ShouldStop(4);
c_principal.__c.runVoidMethod ("LogImpl","36946838",RemoteObject.createImmutable("CUMPLE"),0);
 BA.debugLineNum = 996;BA.debugLine="EJECUTANDO = 1";
Debug.ShouldStop(8);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 997;BA.debugLine="reqs.Initialize";
Debug.ShouldStop(16);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 998;BA.debugLine="TOPE = 0";
Debug.ShouldStop(32);
__ref.setField ("_tope" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 999;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve";
Debug.ShouldStop(64);
c_principal.__c.runVoidMethod ("LogImpl","36946842",(RemoteObject.concat(RemoteObject.createImmutable("ReqServer = "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),c_principal.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 1000;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv";
Debug.ShouldStop(128);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )));
 BA.debugLineNum = 1002;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(512);
c_principal._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.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_drop_rep_MAZAPA2\"";
Debug.ShouldStop(2048);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_rep_MAZAPA2"));
 BA.debugLineNum = 1005;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuari";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(c_principal._subs.runMethod(true,"_dameusuariodedb" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText")),(c_principal._subs.runMethod(false,"_traeentregados" /*RemoteObject*/ ,__ref.getField(false, "ba")).getObject()),(c_principal._subs.runMethod(false,"_traerechazados" /*RemoteObject*/ ,__ref.getField(false, "ba")).getObject()),RemoteObject.createImmutable(("CARGA")),(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName"))}));
 BA.debugLineNum = 1006;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")";
Debug.ShouldStop(8192);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_drop"))));
 BA.debugLineNum = 1009;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\"";
Debug.ShouldStop(65536);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info")));
 BA.debugLineNum = 1010;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul";
Debug.ShouldStop(131072);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cod_result")));
 BA.debugLineNum = 1011;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest";
Debug.ShouldStop(262144);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from hist_gest")));
 BA.debugLineNum = 1012;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL";
Debug.ShouldStop(524288);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ")));
 BA.debugLineNum = 1013;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos";
Debug.ShouldStop(1048576);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from telefonos")));
 BA.debugLineNum = 1015;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP";
Debug.ShouldStop(4194304);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PUNTEO_GPS")));
 BA.debugLineNum = 1016;BA.debugLine="If l_ruta.Text = \"0\" Then '";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { 
 BA.debugLineNum = 1017;BA.debugLine="Log(\"*********************  No hay ruta, BORRAM";
Debug.ShouldStop(16777216);
c_principal.__c.runVoidMethod ("LogImpl","36946860",RemoteObject.createImmutable("*********************  No hay ruta, BORRAMOS TODO"),0);
 BA.debugLineNum = 1018;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna";
Debug.ShouldStop(33554432);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod")));
 BA.debugLineNum = 1019;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna";
Debug.ShouldStop(67108864);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod3")));
 BA.debugLineNum = 1020;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\"";
Debug.ShouldStop(134217728);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from REPARTO")));
 BA.debugLineNum = 1021;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN";
Debug.ShouldStop(268435456);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS")));
 BA.debugLineNum = 1022;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN";
Debug.ShouldStop(536870912);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS2")));
 BA.debugLineNum = 1023;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\"";
Debug.ShouldStop(1073741824);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from NOVENTA")));
 }else {
 BA.debugLineNum = 1025;BA.debugLine="Log(\"*********************  Hay ruta, NO BORRAM";
Debug.ShouldStop(1);
c_principal.__c.runVoidMethod ("LogImpl","36946868",RemoteObject.createImmutable("*********************  Hay ruta, NO BORRAMOS TODO"),0);
 };
 BA.debugLineNum = 1029;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa"))));
 BA.debugLineNum = 1030;BA.debugLine="c.Position = 0";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1031;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(64);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 1033;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1034;BA.debugLine="cmd.Name = \"select_punteo_MAZAPA_re_REPG\"";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_punteo_MAZAPA_re_REPG"));
 BA.debugLineNum = 1035;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1036;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")";
Debug.ShouldStop(2048);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("punteo"))));
 BA.debugLineNum = 1037;BA.debugLine="Log($\"Pedimos Punteo\"$)";
Debug.ShouldStop(4096);
c_principal.__c.runVoidMethod ("LogImpl","36946880",(RemoteObject.createImmutable("Pedimos Punteo")),0);
 BA.debugLineNum = 1038;BA.debugLine="reqs.Add(\"punteo\")";
Debug.ShouldStop(8192);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("punteo"))));
 BA.debugLineNum = 1041;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(65536);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1042;BA.debugLine="cmd.Name = \"select_almacen_MAZAPA_re_REPG2\"";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_almacen_MAZAPA_re_REPG2"));
 BA.debugLineNum = 1043;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 = 1044;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")";
Debug.ShouldStop(524288);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprod"))));
 BA.debugLineNum = 1045;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te";
Debug.ShouldStop(1048576);
c_principal.__c.runVoidMethod ("LogImpl","36946888",(RemoteObject.concat(RemoteObject.createImmutable("Pedimos gunaprod - "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_almacen" /*RemoteObject*/ )))),RemoteObject.createImmutable(", "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 1046;BA.debugLine="reqs.Add(\"gunaprod\")";
Debug.ShouldStop(2097152);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("gunaprod"))));
 BA.debugLineNum = 1050;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1051;BA.debugLine="cmd.Name = \"select_cliente_MAZAPA_re_REPG\"";
Debug.ShouldStop(67108864);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cliente_MAZAPA_re_REPG"));
 BA.debugLineNum = 1052;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(134217728);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1053;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")";
Debug.ShouldStop(268435456);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("kmt_datos"))));
 BA.debugLineNum = 1054;BA.debugLine="Log($\"Pedimos kmt_datos\"$)";
Debug.ShouldStop(536870912);
c_principal.__c.runVoidMethod ("LogImpl","36946897",(RemoteObject.createImmutable("Pedimos kmt_datos")),0);
 BA.debugLineNum = 1055;BA.debugLine="reqs.Add(\"kmt_datos\")";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("kmt_datos"))));
 BA.debugLineNum = 1057;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1058;BA.debugLine="cmd.Name = \"select_ventad_MAZAPA_re_REPG\"";
Debug.ShouldStop(2);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_ventad_MAZAPA_re_REPG"));
 BA.debugLineNum = 1059;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
Debug.ShouldStop(4);
__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 = 1060;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")";
Debug.ShouldStop(8);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_datos"))));
 BA.debugLineNum = 1061;BA.debugLine="Log($\"Pedimos hist_datos\"$)";
Debug.ShouldStop(16);
c_principal.__c.runVoidMethod ("LogImpl","36946904",(RemoteObject.createImmutable("Pedimos hist_datos")),0);
 BA.debugLineNum = 1062;BA.debugLine="reqs.Add(\"hist_datos\")";
Debug.ShouldStop(32);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("hist_datos"))));
 BA.debugLineNum = 1064;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(128);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1065;BA.debugLine="cmd.Name = \"select_coords_almacen_MAZAPA\"";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_coords_almacen_MAZAPA"));
 BA.debugLineNum = 1066;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 = 1067;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen";
Debug.ShouldStop(1024);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("coords_almacen"))));
 BA.debugLineNum = 1069;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1070;BA.debugLine="cmd.Name = \"select_cat_gunaprod3_MAZAPA\"";
Debug.ShouldStop(8192);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod3_MAZAPA"));
 BA.debugLineNum = 1071;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
Debug.ShouldStop(16384);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 1072;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod3\")";
Debug.ShouldStop(32768);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprod3"))));
 BA.debugLineNum = 1074;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1075;BA.debugLine="cmd.Name = \"select_pagares_MAZAPA\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_pagares_MAZAPA"));
 BA.debugLineNum = 1076;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text,ALM";
Debug.ShouldStop(524288);
__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 = 1077;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"PAGARES\")";
Debug.ShouldStop(1048576);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("PAGARES"))));
 BA.debugLineNum = 1109;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA";
Debug.ShouldStop(1048576);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))));
 BA.debugLineNum = 1110;BA.debugLine="d.Position=0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1111;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")";
Debug.ShouldStop(4194304);
__ref.setField ("_cuantos_noventa" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_NOVENTA"))));
 BA.debugLineNum = 1112;BA.debugLine="d.Close";
Debug.ShouldStop(8388608);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1113;BA.debugLine="cargar.Visible = False";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1114;BA.debugLine="Subir.Visible = False";
Debug.ShouldStop(33554432);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1115;BA.debugLine="connecta.Visible = True";
Debug.ShouldStop(67108864);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1116;BA.debugLine="inv.Visible = False";
Debug.ShouldStop(134217728);
__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1117;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est";
Debug.ShouldStop(268435456);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Se actualizarán los datos, este proceso podria tardar hasta un minuto, gracias")),(Object)(c_principal.__c.getField(true,"True")));
 BA.debugLineNum = 1118;BA.debugLine="ProgressDialogShow2(\"Descargando rutas, espere u";
Debug.ShouldStop(536870912);
c_principal.__c.runVoidMethod ("ProgressDialogShow2",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence("Descargando rutas, espere un momento.")),(Object)(c_principal.__c.getField(true,"False")));
 BA.debugLineNum = 1119;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"";
Debug.ShouldStop(1073741824);
if (c_principal.__c.runMethod(true,"Not",(Object)(__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_isconnectedtointernet" /*RemoteObject*/ ))).<Boolean>get().booleanValue()) { 
c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No hay conexión a Internet")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Revisa tu conexión"))),__ref.getField(false, "ba"));};
 BA.debugLineNum = 1121;BA.debugLine="Starter.skmt.ExecNonQuery2(\"DELETE FROM CAT_VARI";
Debug.ShouldStop(1);
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("String",new int[] {1},new Object[] {RemoteObject.createImmutable("CARGA_DIA")})))));
 BA.debugLineNum = 1122;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI";
Debug.ShouldStop(2);
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(("CARGA_DIA")),RemoteObject.createImmutable((1))})))));
 }else {
 BA.debugLineNum = 1126;BA.debugLine="Log(\"XXXX\")";
Debug.ShouldStop(32);
c_principal.__c.runVoidMethod ("LogImpl","36946969",RemoteObject.createImmutable("XXXX"),0);
 BA.debugLineNum = 1127;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten";
Debug.ShouldStop(64);
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 = 1130;BA.debugLine="End Sub";
Debug.ShouldStop(512);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _checachek(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("checachek (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,627);
if (RapidSub.canDelegate("checachek")) { return __ref.runUserSub(false, "c_principal","checachek", __ref);}
 BA.debugLineNum = 627;BA.debugLine="Sub checachek";
Debug.ShouldStop(262144);
 BA.debugLineNum = 628;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT CHECADO FROM";
Debug.ShouldStop(524288);
__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CHECADO FROM CHECADO_CHECK"))));
 BA.debugLineNum = 629;BA.debugLine="If b.RowCount > 0 Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 630;BA.debugLine="b.Position = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 631;BA.debugLine="If b.GetString(\"CHECADO\") = 0 Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CHECADO"))),BA.NumberToString(0))) { 
 BA.debugLineNum = 632;BA.debugLine="b_check.Visible = True";
Debug.ShouldStop(8388608);
__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 }else 
{ BA.debugLineNum = 633;BA.debugLine="Else If b.GetString(\"CHECADO\") = 1 Then";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CHECADO"))),BA.NumberToString(1))) { 
 BA.debugLineNum = 634;BA.debugLine="b_check.Visible =False";
Debug.ShouldStop(33554432);
__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 }}
;
 BA.debugLineNum = 636;BA.debugLine="b.Close";
Debug.ShouldStop(134217728);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 638;BA.debugLine="End Sub";
Debug.ShouldStop(536870912);
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 reqManager As DBRequestManager";
c_principal._reqmanager = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager");__ref.setField("_reqmanager",c_principal._reqmanager);
 //BA.debugLineNum = 5;BA.debugLine="Dim conectado As String";
c_principal._conectado = RemoteObject.createImmutable("");__ref.setField("_conectado",c_principal._conectado);
 //BA.debugLineNum = 6;BA.debugLine="Dim t1 As Timer";
c_principal._t1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer");__ref.setField("_t1",c_principal._t1);
 //BA.debugLineNum = 7;BA.debugLine="Dim sb As StringBuilder";
c_principal._sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");__ref.setField("_sb",c_principal._sb);
 //BA.debugLineNum = 8;BA.debugLine="Dim PHONE As Phone";
c_principal._phone = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_phone",c_principal._phone);
 //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 = 10;BA.debugLine="Dim c As Cursor";
c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_principal._c);
 //BA.debugLineNum = 11;BA.debugLine="Dim d As Cursor";
c_principal._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_principal._d);
 //BA.debugLineNum = 12;BA.debugLine="Dim b As Cursor";
c_principal._b = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_b",c_principal._b);
 //BA.debugLineNum = 13;BA.debugLine="Dim e As Cursor";
c_principal._e = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_e",c_principal._e);
 //BA.debugLineNum = 14;BA.debugLine="Dim f As Cursor";
c_principal._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",c_principal._f);
 //BA.debugLineNum = 15;BA.debugLine="Dim f1 As Cursor";
c_principal._f1 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f1",c_principal._f1);
 //BA.debugLineNum = 16;BA.debugLine="Dim f2 As Cursor";
c_principal._f2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f2",c_principal._f2);
 //BA.debugLineNum = 17;BA.debugLine="Dim f3 As Cursor";
c_principal._f3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f3",c_principal._f3);
 //BA.debugLineNum = 18;BA.debugLine="Dim F4 As Cursor";
c_principal._f4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f4",c_principal._f4);
 //BA.debugLineNum = 19;BA.debugLine="Dim lv As ListView";
c_principal._lv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv",c_principal._lv);
 //BA.debugLineNum = 20;BA.debugLine="Dim cargar As Button";
c_principal._cargar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_cargar",c_principal._cargar);
 //BA.debugLineNum = 21;BA.debugLine="Dim pendiente As Button";
c_principal._pendiente = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_pendiente",c_principal._pendiente);
 //BA.debugLineNum = 22;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 = 23;BA.debugLine="Dim usuario As String";
c_principal._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_principal._usuario);
 //BA.debugLineNum = 24;BA.debugLine="Dim connecta As Button";
c_principal._connecta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_connecta",c_principal._connecta);
 //BA.debugLineNum = 25;BA.debugLine="Dim conn As String";
c_principal._conn = RemoteObject.createImmutable("");__ref.setField("_conn",c_principal._conn);
 //BA.debugLineNum = 26;BA.debugLine="Dim Subir As Button";
c_principal._subir = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_subir",c_principal._subir);
 //BA.debugLineNum = 27;BA.debugLine="Dim cmd As DBCommand";
c_principal._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 //BA.debugLineNum = 28;BA.debugLine="Dim TOPE As Int";
c_principal._tope = RemoteObject.createImmutable(0);__ref.setField("_tope",c_principal._tope);
 //BA.debugLineNum = 29;BA.debugLine="Dim COUNT_CLIE As Int";
c_principal._count_clie = RemoteObject.createImmutable(0);__ref.setField("_count_clie",c_principal._count_clie);
 //BA.debugLineNum = 30;BA.debugLine="Dim fecha As String";
c_principal._fecha = RemoteObject.createImmutable("");__ref.setField("_fecha",c_principal._fecha);
 //BA.debugLineNum = 31;BA.debugLine="Dim drop As Double";
c_principal._drop = RemoteObject.createImmutable(0);__ref.setField("_drop",c_principal._drop);
 //BA.debugLineNum = 32;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 As Cursor";
c_principal._l = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_l",c_principal._l);
 //BA.debugLineNum = 34;BA.debugLine="Dim l_aLiquidar As Label";
c_principal._l_aliquidar = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_aliquidar",c_principal._l_aliquidar);
 //BA.debugLineNum = 35;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 = 36;BA.debugLine="Dim l_montoSalida As Label";
c_principal._l_montosalida = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montosalida",c_principal._l_montosalida);
 //BA.debugLineNum = 38;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 = 39;BA.debugLine="Dim BUSCA As Button";
c_principal._busca = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_busca",c_principal._busca);
 //BA.debugLineNum = 40;BA.debugLine="Dim Cuantos As String";
c_principal._cuantos = RemoteObject.createImmutable("");__ref.setField("_cuantos",c_principal._cuantos);
 //BA.debugLineNum = 41;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 = 42;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 = 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 = 63;BA.debugLine="Private inv As Button";
c_principal._inv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_inv",c_principal._inv);
 //BA.debugLineNum = 65;BA.debugLine="Private L_MONTOE As Label";
c_principal._l_montoe = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montoe",c_principal._l_montoe);
 //BA.debugLineNum = 66;BA.debugLine="Private B_CLIEPROD As Button";
c_principal._b_clieprod = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_clieprod",c_principal._b_clieprod);
 //BA.debugLineNum = 67;BA.debugLine="Private ListView1 As ListView";
c_principal._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_principal._listview1);
 //BA.debugLineNum = 68;BA.debugLine="Private B_REGRESA As Button";
c_principal._b_regresa = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_regresa",c_principal._b_regresa);
 //BA.debugLineNum = 69;BA.debugLine="Private Panel1 As Panel";
c_principal._panel1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel1",c_principal._panel1);
 //BA.debugLineNum = 70;BA.debugLine="Dim ESTATUS As String";
c_principal._estatus = RemoteObject.createImmutable("");__ref.setField("_estatus",c_principal._estatus);
 //BA.debugLineNum = 71;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 = 72;BA.debugLine="Private bu As BatteryUtilities";
c_principal._bu = RemoteObject.createNew ("reparto_mazapa.keymon.lat.batteryutilities");__ref.setField("_bu",c_principal._bu);
 //BA.debugLineNum = 73;BA.debugLine="Dim RUTA_T As String";
c_principal._ruta_t = RemoteObject.createImmutable("");__ref.setField("_ruta_t",c_principal._ruta_t);
 //BA.debugLineNum = 74;BA.debugLine="Dim reqs As List";
c_principal._reqs = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_reqs",c_principal._reqs);
 //BA.debugLineNum = 76;BA.debugLine="Private Btn_Ubicar_Ru As Button";
c_principal._btn_ubicar_ru = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_btn_ubicar_ru",c_principal._btn_ubicar_ru);
 //BA.debugLineNum = 77;BA.debugLine="Dim cargo As String";
c_principal._cargo = RemoteObject.createImmutable("");__ref.setField("_cargo",c_principal._cargo);
 //BA.debugLineNum = 78;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 = 79;BA.debugLine="Dim ime As IME";
c_principal._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",c_principal._ime);
 //BA.debugLineNum = 80;BA.debugLine="Private b_tabulador As Button";
c_principal._b_tabulador = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_tabulador",c_principal._b_tabulador);
 //BA.debugLineNum = 82;BA.debugLine="Private l_rutasP As Label";
c_principal._l_rutasp = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_rutasp",c_principal._l_rutasp);
 //BA.debugLineNum = 83;BA.debugLine="Private l_rechazo As Label";
c_principal._l_rechazo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_rechazo",c_principal._l_rechazo);
 //BA.debugLineNum = 84;BA.debugLine="Private Label9 As Label";
c_principal._label9 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label9",c_principal._label9);
 //BA.debugLineNum = 85;BA.debugLine="Dim cp As Cursor";
c_principal._cp = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_cp",c_principal._cp);
 //BA.debugLineNum = 86;BA.debugLine="Private b_check As Button";
c_principal._b_check = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_check",c_principal._b_check);
 //BA.debugLineNum = 87;BA.debugLine="Private b_rechazos As Button";
c_principal._b_rechazos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_rechazos",c_principal._b_rechazos);
 //BA.debugLineNum = 88;BA.debugLine="Private p_prod As Panel";
c_principal._p_prod = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_prod",c_principal._p_prod);
 //BA.debugLineNum = 89;BA.debugLine="Private b_regreso As Button";
c_principal._b_regreso = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_regreso",c_principal._b_regreso);
 //BA.debugLineNum = 90;BA.debugLine="Private lv_prod_Prin As ListView";
c_principal._lv_prod_prin = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_prod_prin",c_principal._lv_prod_prin);
 //BA.debugLineNum = 91;BA.debugLine="Private b_venta_emp As Button";
c_principal._b_venta_emp = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_venta_emp",c_principal._b_venta_emp);
 //BA.debugLineNum = 92;BA.debugLine="Dim successfulRequests As Int = 0";
c_principal._successfulrequests = BA.numberCast(int.class, 0);__ref.setField("_successfulrequests",c_principal._successfulrequests);
 //BA.debugLineNum = 93;BA.debugLine="Dim totalRegistros As Int = 0";
c_principal._totalregistros = BA.numberCast(int.class, 0);__ref.setField("_totalregistros",c_principal._totalregistros);
 //BA.debugLineNum = 94;BA.debugLine="Dim totalRegistrosTotales As Int = 0";
c_principal._totalregistrostotales = BA.numberCast(int.class, 0);__ref.setField("_totalregistrostotales",c_principal._totalregistrostotales);
 //BA.debugLineNum = 95;BA.debugLine="Dim todosRequest As Int = 0";
c_principal._todosrequest = BA.numberCast(int.class, 0);__ref.setField("_todosrequest",c_principal._todosrequest);
 //BA.debugLineNum = 96;BA.debugLine="Private pEnvioInfo As Panel";
c_principal._penvioinfo = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_penvioinfo",c_principal._penvioinfo);
 //BA.debugLineNum = 97;BA.debugLine="Private bEnvioInfo As Button";
c_principal._benvioinfo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_benvioinfo",c_principal._benvioinfo);
 //BA.debugLineNum = 98;BA.debugLine="Private pbEnvioInfo As ProgressBar";
c_principal._pbenvioinfo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ProgressBarWrapper");__ref.setField("_pbenvioinfo",c_principal._pbenvioinfo);
 //BA.debugLineNum = 99;BA.debugLine="Private lEnviaInfo As Label";
c_principal._lenviainfo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lenviainfo",c_principal._lenviainfo);
 //BA.debugLineNum = 100;BA.debugLine="Private lVersionName As Label";
c_principal._lversionname = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lversionname",c_principal._lversionname);
 //BA.debugLineNum = 101;BA.debugLine="End Sub";
return RemoteObject.createImmutable("");
}
public static RemoteObject  _connecta_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("connecta_Click (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,1724);
if (RapidSub.canDelegate("connecta_click")) { return __ref.runUserSub(false, "c_principal","connecta_click", __ref);}
RemoteObject _rut = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _rutaquetraje = RemoteObject.createImmutable("");
 BA.debugLineNum = 1724;BA.debugLine="Sub connecta_Click";
Debug.ShouldStop(134217728);
 BA.debugLineNum = 1725;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
Debug.ShouldStop(268435456);
c_principal.__c.runVoidMethod ("LogImpl","37274497",(RemoteObject.concat(RemoteObject.createImmutable("ReqServer = "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),c_principal.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 1726;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N";
Debug.ShouldStop(536870912);
if (c_principal.__c.runMethod(true,"Not",(Object)(__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_isconnectedtointernet" /*RemoteObject*/ ))).<Boolean>get().booleanValue()) { 
c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No hay conexión a conexión a Internet")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Revisa tu conexión"))),__ref.getField(false, "ba"));};
 BA.debugLineNum = 1727;BA.debugLine="If e_ruta.Text <> \"\" Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { 
 BA.debugLineNum = 1729;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELE";
Debug.ShouldStop(1);
_rut = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_rut = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA"))));Debug.locals.put("rut", _rut);Debug.locals.put("rut", _rut);
 BA.debugLineNum = 1730;BA.debugLine="If rut.RowCount = 0 Then";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",_rut.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1731;BA.debugLine="cargadedia";
Debug.ShouldStop(4);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_cargadedia" /*RemoteObject*/ );
 BA.debugLineNum = 1732;BA.debugLine="Log(1.1)";
Debug.ShouldStop(8);
c_principal.__c.runVoidMethod ("LogImpl","37274504",BA.NumberToString(1.1),0);
 }else {
 BA.debugLineNum = 1734;BA.debugLine="rut.Position = 0";
Debug.ShouldStop(32);
_rut.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1735;BA.debugLine="Dim rutaquetraje As String= rut.GetString(\"RUTA";
Debug.ShouldStop(64);
_rutaquetraje = _rut.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")));Debug.locals.put("rutaquetraje", _rutaquetraje);Debug.locals.put("rutaquetraje", _rutaquetraje);
 BA.debugLineNum = 1736;BA.debugLine="If rutaquetraje = e_ruta.Text Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",_rutaquetraje,__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))) { 
 BA.debugLineNum = 1737;BA.debugLine="cargadedia";
Debug.ShouldStop(256);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_cargadedia" /*RemoteObject*/ );
 BA.debugLineNum = 1738;BA.debugLine="Log(2.1)";
Debug.ShouldStop(512);
c_principal.__c.runVoidMethod ("LogImpl","37274510",BA.NumberToString(2.1),0);
 }else {
 BA.debugLineNum = 1740;BA.debugLine="Log(2.2)";
Debug.ShouldStop(2048);
c_principal.__c.runVoidMethod ("LogImpl","37274512",BA.NumberToString(2.2),0);
 BA.debugLineNum = 1741;BA.debugLine="MsgboxAsync(\"Cargaste una ruta diferente. Por";
Debug.ShouldStop(4096);
c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Cargaste una ruta diferente. Por favor haz FIN DIA e intenta nuevamente.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 };
 };
 };
 BA.debugLineNum = 1753;BA.debugLine="End Sub";
Debug.ShouldStop(16777216);
return RemoteObject.createImmutable("");
}
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",5,__ref.getField(false, "ba"),__ref,2162);
if (RapidSub.canDelegate("connecta_longclick")) { return __ref.runUserSub(false, "c_principal","connecta_longclick", __ref);}
int _i = 0;
 BA.debugLineNum = 2162;BA.debugLine="Private Sub connecta_LongClick";
Debug.ShouldStop(131072);
 BA.debugLineNum = 2163;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARIO";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO"))));
 BA.debugLineNum = 2164;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 2165;BA.debugLine="Log($\"Procesando REPARTO_GEO: ${c.RowCount} regi";
Debug.ShouldStop(1048576);
c_principal.__c.runVoidMethod ("LogImpl","38388611",(RemoteObject.concat(RemoteObject.createImmutable("Procesando REPARTO_GEO: "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(" registros"))),0);
 BA.debugLineNum = 2166;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
Debug.ShouldStop(2097152);
__ref.setField ("_totalregistros" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistros" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 2167;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
Debug.ShouldStop(4194304);
__ref.setField ("_totalregistrostotales" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 2168;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
Debug.ShouldStop(8388608);
c_principal.__c.runVoidMethod ("LogImpl","38388614",(RemoteObject.concat(RemoteObject.createImmutable("Total acumulado: "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalregistros" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 2170;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(33554432);
{
final int step7 = 1;
final int limit7 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step7 > 0 && _i <= limit7) || (step7 < 0 && _i >= limit7) ;_i = ((int)(0 + _i + step7))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 2171;BA.debugLine="c.Position=i";
Debug.ShouldStop(67108864);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 2172;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(134217728);
c_principal._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd);
 BA.debugLineNum = 2173;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(268435456);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 2174;BA.debugLine="cmd.Name = \"insert_REPARTO_MAZAPA\"";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_REPARTO_MAZAPA"));
 BA.debugLineNum = 2175;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA_PUNTEO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LATITUD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LONGITUD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTA_REPARTO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTA_PREV")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA_PREVENTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MOTIVO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COMENTARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TIPO"))))}));
 BA.debugLineNum = 2176;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("ins_REPARTOPendientes_head_"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))))),RemoteObject.createImmutable(""))))));
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 2179;BA.debugLine="c.Close";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2180;BA.debugLine="End Sub";
Debug.ShouldStop(8);
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",5,__ref.getField(false, "ba"),__ref,1769);
if (RapidSub.canDelegate("e_ruta_enterpressed")) { return __ref.runUserSub(false, "c_principal","e_ruta_enterpressed", __ref);}
 BA.debugLineNum = 1769;BA.debugLine="Sub e_ruta_EnterPressed";
Debug.ShouldStop(256);
 BA.debugLineNum = 1770;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("FIN DIA"))) { 
 BA.debugLineNum = 1771;BA.debugLine="RES =  Msgbox2(\"Seguro que desea hacer el cierre";
Debug.ShouldStop(1024);
__ref.setField ("_res" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea hacer el cierre todos los datos se borraran?")),(Object)(BA.ObjectToCharSequence("Cierre")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba"))));
 BA.debugLineNum = 1772;BA.debugLine="If RES = DialogResponse.POSITIVE Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_res" /*RemoteObject*/ ),BA.NumberToString(c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
 BA.debugLineNum = 1773;BA.debugLine="e_ruta.Text = \"\"";
Debug.ShouldStop(4096);
__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 1774;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HABI";
Debug.ShouldStop(8192);
c_principal._starter._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((1))})))));
 BA.debugLineNum = 1775;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from GPS\")";
Debug.ShouldStop(16384);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from GPS")));
 BA.debugLineNum = 1776;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PICK_CIE";
Debug.ShouldStop(32768);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PICK_CIEGO")));
 BA.debugLineNum = 1777;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO_";
Debug.ShouldStop(65536);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from REPARTO_GEO")));
 BA.debugLineNum = 1778;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c";
Debug.ShouldStop(131072);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente")));
 BA.debugLineNum = 1779;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECADO_";
Debug.ShouldStop(262144);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CHECADO_CHECK")));
 BA.debugLineNum = 1780;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECKLIS";
Debug.ShouldStop(524288);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CHECKLIST2")));
 BA.debugLineNum = 1781;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido\")";
Debug.ShouldStop(1048576);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido")));
 BA.debugLineNum = 1782;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from noventa\"";
Debug.ShouldStop(2097152);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from noventa")));
 BA.debugLineNum = 1783;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from clie_act";
Debug.ShouldStop(4194304);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from clie_act")));
 BA.debugLineNum = 1784;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info";
Debug.ShouldStop(8388608);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info")));
 BA.debugLineNum = 1785;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna";
Debug.ShouldStop(16777216);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod")));
 BA.debugLineNum = 1786;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna";
Debug.ShouldStop(33554432);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod3")));
 BA.debugLineNum = 1787;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETA";
Debug.ShouldStop(67108864);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ")));
 BA.debugLineNum = 1788;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN";
Debug.ShouldStop(134217728);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS")));
 BA.debugLineNum = 1789;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\"";
Debug.ShouldStop(268435456);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from REPARTO")));
 BA.debugLineNum = 1790;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO";
Debug.ShouldStop(536870912);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM TABULADOR_MONEDAS")));
 BA.debugLineNum = 1791;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO";
Debug.ShouldStop(1073741824);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM TABULADOR_BILLETES")));
 BA.debugLineNum = 1792;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")";
Debug.ShouldStop(-2147483648);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTAA")));
 BA.debugLineNum = 1793;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(1);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 };
 BA.debugLineNum = 1796;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints";
Debug.ShouldStop(8);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from waypoints")));
 };
 BA.debugLineNum = 1798;BA.debugLine="End Sub";
Debug.ShouldStop(32);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static void  _envioinfo(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("envioinfo (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,696);
if (RapidSub.canDelegate("envioinfo")) { __ref.runUserSub(false, "c_principal","envioinfo", __ref); return;}
ResumableSub_envioinfo rsub = new ResumableSub_envioinfo(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_envioinfo extends BA.ResumableSub {
public ResumableSub_envioinfo(reparto_mazapa.keymon.lat.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;
reparto_mazapa.keymon.lat.c_principal parent;
int _i = 0;
RemoteObject _folio = RemoteObject.createImmutable("");
RemoteObject _fechatabulador = null;
RemoteObject _fechatabulador2 = null;
RemoteObject _fechatabulador3 = RemoteObject.createImmutable("");
RemoteObject _d4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _d5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _restacant = RemoteObject.createImmutable("");
RemoteObject _fecha1 = null;
RemoteObject _fecha2 = null;
RemoteObject _fecha3 = RemoteObject.createImmutable("");
RemoteObject _hora = null;
RemoteObject _sdate = RemoteObject.createImmutable("");
RemoteObject _stime = RemoteObject.createImmutable("");
int step13;
int limit13;
int step33;
int limit33;
int step49;
int limit49;
int step66;
int limit66;
int step83;
int limit83;
int step100;
int limit100;
int step116;
int limit116;
int step138;
int limit138;
int step160;
int limit160;
int step210;
int limit210;

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

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

case 0:
//C
this.state = 1;
Debug.locals.put("_ref", __ref);
 BA.debugLineNum = 697;BA.debugLine="successfulRequests = 0";
Debug.ShouldStop(16777216);
__ref.setField ("_successfulrequests" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 698;BA.debugLine="totalRegistros = 0";
Debug.ShouldStop(33554432);
__ref.setField ("_totalregistros" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 699;BA.debugLine="totalRegistrosTotales = 0";
Debug.ShouldStop(67108864);
__ref.setField ("_totalregistrostotales" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 700;BA.debugLine="todosRequest = -1";
Debug.ShouldStop(134217728);
__ref.setField ("_todosrequest" /*RemoteObject*/ ,BA.numberCast(int.class, -(double) (0 + 1)));
 BA.debugLineNum = 701;BA.debugLine="bEnvioInfo.Enabled = False";
Debug.ShouldStop(268435456);
__ref.getField(false,"_benvioinfo" /*RemoteObject*/ ).runMethod(true,"setEnabled",parent.__c.getField(true,"False"));
 BA.debugLineNum = 703;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT NV_CLIENTE,NV_";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO FROM NOVENTA"))));
 BA.debugLineNum = 704;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUAN";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))));
 BA.debugLineNum = 705;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(1);
if (true) break;

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

case 3:
//C
this.state = 4;
 BA.debugLineNum = 706;BA.debugLine="Log($\"Procesando NOVENTA: ${c.RowCount} registro";
Debug.ShouldStop(2);
parent.__c.runVoidMethod ("LogImpl","36881290",(RemoteObject.concat(RemoteObject.createImmutable("Procesando NOVENTA: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(" registros"))),0);
 BA.debugLineNum = 707;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
Debug.ShouldStop(4);
__ref.setField ("_totalregistros" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistros" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 708;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
Debug.ShouldStop(8);
__ref.setField ("_totalregistrostotales" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 709;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
Debug.ShouldStop(16);
parent.__c.runVoidMethod ("LogImpl","36881293",(RemoteObject.concat(RemoteObject.createImmutable("Total acumulado: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalregistros" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 711;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(64);
if (true) break;

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

case 87:
//C
this.state = 7;
if ((step13 > 0 && _i <= limit13) || (step13 < 0 && _i >= limit13)) this.state = 6;
if (true) break;

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

case 6:
//C
this.state = 88;
 BA.debugLineNum = 712;BA.debugLine="c.Position=i";
Debug.ShouldStop(128);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 713;BA.debugLine="foto1 = c.GetBlob(\"NV_FOTO\")";
Debug.ShouldStop(256);
__ref.setField ("_foto1" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("NV_FOTO"))));
 BA.debugLineNum = 714;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(512);
parent._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",parent._cmd);
 BA.debugLineNum = 715;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 716;BA.debugLine="cmd.Name = \"insert_reparto_noventa_MAZAPA_REPG\"";
Debug.ShouldStop(2048);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_reparto_noventa_MAZAPA_REPG"));
 BA.debugLineNum = 717;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"N";
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 = 718;BA.debugLine="reqManager.ExecuteCommand(cmd ,  \"inst_noventa\"";
Debug.ShouldStop(8192);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_noventa"))));
 if (true) break;
if (true) break;

case 7:
//C
this.state = 8;
Debug.locals.put("i", _i);
;
 BA.debugLineNum = 720;BA.debugLine="c.Close";
Debug.ShouldStop(32768);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 if (true) break;

case 8:
//C
this.state = 9;
;
 BA.debugLineNum = 722;BA.debugLine="d.Position=0";
Debug.ShouldStop(131072);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 723;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 = 724;BA.debugLine="d.Close";
Debug.ShouldStop(524288);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 727;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT HVD_CLIENTE,HVD_";
Debug.ShouldStop(4194304);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID, HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_PARCIAL FROM hist_ventas WHERE HVD_RECHAZO = 1 OR HVD_PARCIAL = 1"))));
 BA.debugLineNum = 728;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(8388608);
if (true) break;

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

case 11:
//C
this.state = 12;
 BA.debugLineNum = 729;BA.debugLine="Log($\"Procesando HIST_VENTAS (rechazos/parciales";
Debug.ShouldStop(16777216);
parent.__c.runVoidMethod ("LogImpl","36881313",(RemoteObject.concat(RemoteObject.createImmutable("Procesando HIST_VENTAS (rechazos/parciales): "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(" registros"))),0);
 BA.debugLineNum = 730;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
Debug.ShouldStop(33554432);
__ref.setField ("_totalregistros" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistros" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 731;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
Debug.ShouldStop(67108864);
__ref.setField ("_totalregistrostotales" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 732;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
Debug.ShouldStop(134217728);
parent.__c.runVoidMethod ("LogImpl","36881316",(RemoteObject.concat(RemoteObject.createImmutable("Total acumulado: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalregistros" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 734;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(536870912);
if (true) break;

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

case 89:
//C
this.state = 15;
if ((step33 > 0 && _i <= limit33) || (step33 < 0 && _i >= limit33)) this.state = 14;
if (true) break;

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

case 14:
//C
this.state = 90;
 BA.debugLineNum = 735;BA.debugLine="c.Position=i";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 736;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(-2147483648);
parent._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",parent._cmd);
 BA.debugLineNum = 737;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 738;BA.debugLine="cmd.Name = \"insert_rep_hist_ventas_MAZAPA_REPG\"";
Debug.ShouldStop(2);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_rep_hist_ventas_MAZAPA_REPG"));
 BA.debugLineNum = 739;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"H";
Debug.ShouldStop(4);
__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("HVD_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_TICKET")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_REGISTRO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PARCIAL")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}));
 BA.debugLineNum = 740;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\")";
Debug.ShouldStop(8);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_noventa"))));
 if (true) break;
if (true) break;

case 15:
//C
this.state = 16;
Debug.locals.put("i", _i);
;
 BA.debugLineNum = 742;BA.debugLine="c.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 if (true) break;

case 16:
//C
this.state = 17;
;
 BA.debugLineNum = 746;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT PE_TIPO, PE_RUTA";
Debug.ShouldStop(512);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PE_TIPO, PE_RUTA, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_CLIENTEOR, PE_CAJAS, PE_BCAJAS, CONSECUTIVO, FECHA_PREV, RUTA_REP, PE_REGALO FROM PEDIDO"))));
 BA.debugLineNum = 747;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(1024);
if (true) break;

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

case 19:
//C
this.state = 20;
 BA.debugLineNum = 748;BA.debugLine="Log($\"Procesando PEDIDO: ${c.RowCount} registros";
Debug.ShouldStop(2048);
parent.__c.runVoidMethod ("LogImpl","36881332",(RemoteObject.concat(RemoteObject.createImmutable("Procesando PEDIDO: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(" registros"))),0);
 BA.debugLineNum = 749;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
Debug.ShouldStop(4096);
__ref.setField ("_totalregistros" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistros" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 750;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
Debug.ShouldStop(8192);
__ref.setField ("_totalregistrostotales" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 751;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
Debug.ShouldStop(16384);
parent.__c.runVoidMethod ("LogImpl","36881335",(RemoteObject.concat(RemoteObject.createImmutable("Total acumulado: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalregistros" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 753;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(65536);
if (true) break;

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

case 91:
//C
this.state = 23;
if ((step49 > 0 && _i <= limit49) || (step49 < 0 && _i >= limit49)) this.state = 22;
if (true) break;

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

case 22:
//C
this.state = 92;
 BA.debugLineNum = 754;BA.debugLine="c.Position=i";
Debug.ShouldStop(131072);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 755;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(262144);
parent._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",parent._cmd);
 BA.debugLineNum = 756;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(524288);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 757;BA.debugLine="cmd.Name = \"insert_pedido_REP_MAZAPA\"";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_REP_MAZAPA"));
 BA.debugLineNum = 758;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"P";
Debug.ShouldStop(2097152);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {18},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_TIPO")))),(__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_CEDIS")))),(__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_CLIENTEOR")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CAJAS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_BCAJAS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA_PREV")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTA_REP")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_REGALO"))))}));
 BA.debugLineNum = 759;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedido_MAZ";
Debug.ShouldStop(4194304);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedido_MAZAPA"))));
 if (true) break;
if (true) break;

case 23:
//C
this.state = 24;
Debug.locals.put("i", _i);
;
 BA.debugLineNum = 761;BA.debugLine="c.Close";
Debug.ShouldStop(16777216);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 if (true) break;

case 24:
//C
this.state = 25;
;
 BA.debugLineNum = 765;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * from reparto";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * from reparto"))));
 BA.debugLineNum = 766;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(536870912);
if (true) break;

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

case 27:
//C
this.state = 28;
 BA.debugLineNum = 767;BA.debugLine="Log($\"Procesando REPARTO: ${c.RowCount} registro";
Debug.ShouldStop(1073741824);
parent.__c.runVoidMethod ("LogImpl","36881351",(RemoteObject.concat(RemoteObject.createImmutable("Procesando REPARTO: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(" registros"))),0);
 BA.debugLineNum = 768;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
Debug.ShouldStop(-2147483648);
__ref.setField ("_totalregistros" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistros" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 769;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
Debug.ShouldStop(1);
__ref.setField ("_totalregistrostotales" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 770;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
Debug.ShouldStop(2);
parent.__c.runVoidMethod ("LogImpl","36881354",(RemoteObject.concat(RemoteObject.createImmutable("Total acumulado: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalregistros" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 772;BA.debugLine="Private folio As String = Subs.hmsKMT";
Debug.ShouldStop(8);
_folio = parent._subs.runMethod(true,"_hmskmt" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("folio", _folio);Debug.locals.put("folio", _folio);
 BA.debugLineNum = 773;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(16);
if (true) break;

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

case 93:
//C
this.state = 31;
if ((step66 > 0 && _i <= limit66) || (step66 < 0 && _i >= limit66)) this.state = 30;
if (true) break;

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

case 30:
//C
this.state = 94;
 BA.debugLineNum = 774;BA.debugLine="c.Position=i";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 775;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(64);
parent._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",parent._cmd);
 BA.debugLineNum = 776;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(128);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 777;BA.debugLine="cmd.Name = \"insertReparto_MAZAPA\"";
Debug.ShouldStop(256);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insertReparto_MAZAPA"));
 BA.debugLineNum = 778;BA.debugLine="cmd.Parameters = Array As Object(folio, C.GetSt";
Debug.ShouldStop(512);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {13},new Object[] {(_folio),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLI_ORIG")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRODID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRODREGISTRO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRECIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_COSTO_TOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_RECHAZO")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 779;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_reparto\")";
Debug.ShouldStop(1024);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_reparto"))));
 if (true) break;
if (true) break;

case 31:
//C
this.state = 32;
Debug.locals.put("i", _i);
;
 BA.debugLineNum = 781;BA.debugLine="c.Close";
Debug.ShouldStop(4096);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 if (true) break;

case 32:
//C
this.state = 33;
;
 BA.debugLineNum = 785;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * from rechazo";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * from rechazos"))));
 BA.debugLineNum = 786;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(131072);
if (true) break;

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

case 35:
//C
this.state = 36;
 BA.debugLineNum = 787;BA.debugLine="Log($\"Procesando RECHAZOS: ${c.RowCount} registr";
Debug.ShouldStop(262144);
parent.__c.runVoidMethod ("LogImpl","36881371",(RemoteObject.concat(RemoteObject.createImmutable("Procesando RECHAZOS: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(" registros"))),0);
 BA.debugLineNum = 788;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
Debug.ShouldStop(524288);
__ref.setField ("_totalregistros" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistros" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 789;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
Debug.ShouldStop(1048576);
__ref.setField ("_totalregistrostotales" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 790;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
Debug.ShouldStop(2097152);
parent.__c.runVoidMethod ("LogImpl","36881374",(RemoteObject.concat(RemoteObject.createImmutable("Total acumulado: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalregistros" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 792;BA.debugLine="Private folio As String = Subs.hmsKMT";
Debug.ShouldStop(8388608);
_folio = parent._subs.runMethod(true,"_hmskmt" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("folio", _folio);Debug.locals.put("folio", _folio);
 BA.debugLineNum = 793;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(16777216);
if (true) break;

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

case 95:
//C
this.state = 39;
if ((step83 > 0 && _i <= limit83) || (step83 < 0 && _i >= limit83)) this.state = 38;
if (true) break;

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

case 38:
//C
this.state = 96;
 BA.debugLineNum = 794;BA.debugLine="c.Position=i";
Debug.ShouldStop(33554432);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 795;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(67108864);
parent._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",parent._cmd);
 BA.debugLineNum = 796;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(134217728);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 797;BA.debugLine="cmd.Name = \"insertRechazos_MAZAPA\"";
Debug.ShouldStop(268435456);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insertRechazos_MAZAPA"));
 BA.debugLineNum = 798;BA.debugLine="cmd.Parameters = Array As Object(folio, C.GetSt";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(_folio),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("R_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("R_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("R_CLI_ORIG")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("R_PRODID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("R_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("R_RECHAZO")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 799;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_rechazos\")";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_rechazos"))));
 if (true) break;
if (true) break;

case 39:
//C
this.state = 40;
Debug.locals.put("i", _i);
;
 BA.debugLineNum = 801;BA.debugLine="c.Close";
Debug.ShouldStop(1);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 if (true) break;

case 40:
//C
this.state = 41;
;
 BA.debugLineNum = 805;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * from ventas\"";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * from ventas"))));
 BA.debugLineNum = 806;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(32);
if (true) break;

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

case 43:
//C
this.state = 44;
 BA.debugLineNum = 807;BA.debugLine="Log($\"Procesando VENTAS: ${c.RowCount} registros";
Debug.ShouldStop(64);
parent.__c.runVoidMethod ("LogImpl","36881391",(RemoteObject.concat(RemoteObject.createImmutable("Procesando VENTAS: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(" registros"))),0);
 BA.debugLineNum = 808;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
Debug.ShouldStop(128);
__ref.setField ("_totalregistros" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistros" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 809;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
Debug.ShouldStop(256);
__ref.setField ("_totalregistrostotales" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 810;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
Debug.ShouldStop(512);
parent.__c.runVoidMethod ("LogImpl","36881394",(RemoteObject.concat(RemoteObject.createImmutable("Total acumulado: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalregistros" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 812;BA.debugLine="Private folio As String = Subs.hmsKMT";
Debug.ShouldStop(2048);
_folio = parent._subs.runMethod(true,"_hmskmt" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("folio", _folio);Debug.locals.put("folio", _folio);
 BA.debugLineNum = 813;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(4096);
if (true) break;

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

case 97:
//C
this.state = 47;
if ((step100 > 0 && _i <= limit100) || (step100 < 0 && _i >= limit100)) this.state = 46;
if (true) break;

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

case 46:
//C
this.state = 98;
 BA.debugLineNum = 814;BA.debugLine="c.Position=i";
Debug.ShouldStop(8192);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 815;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(16384);
parent._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",parent._cmd);
 BA.debugLineNum = 816;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(32768);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 817;BA.debugLine="cmd.Name = \"insertVentas_MAZAPA\"";
Debug.ShouldStop(65536);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insertVentas_MAZAPA"));
 BA.debugLineNum = 818;BA.debugLine="cmd.Parameters = Array As Object(folio, C.GetSt";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(_folio),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("V_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("V_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("V_CLI_ORIG")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("V_PRODID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("V_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("V_RECHAZO")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 819;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_ventas\")";
Debug.ShouldStop(262144);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_ventas"))));
 if (true) break;
if (true) break;

case 47:
//C
this.state = 48;
Debug.locals.put("i", _i);
;
 BA.debugLineNum = 821;BA.debugLine="c.Close";
Debug.ShouldStop(1048576);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 if (true) break;

case 48:
//C
this.state = 49;
;
 BA.debugLineNum = 825;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARIO";
Debug.ShouldStop(16777216);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO"))));
 BA.debugLineNum = 826;BA.debugLine="If c.RowCount>0 Then";
Debug.ShouldStop(33554432);
if (true) break;

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

case 51:
//C
this.state = 52;
 BA.debugLineNum = 827;BA.debugLine="Log($\"Procesando REPARTO_GEO: ${c.RowCount} regi";
Debug.ShouldStop(67108864);
parent.__c.runVoidMethod ("LogImpl","36881411",(RemoteObject.concat(RemoteObject.createImmutable("Procesando REPARTO_GEO: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(" registros"))),0);
 BA.debugLineNum = 828;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
Debug.ShouldStop(134217728);
__ref.setField ("_totalregistros" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistros" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 829;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
Debug.ShouldStop(268435456);
__ref.setField ("_totalregistrostotales" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 830;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
Debug.ShouldStop(536870912);
parent.__c.runVoidMethod ("LogImpl","36881414",(RemoteObject.concat(RemoteObject.createImmutable("Total acumulado: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalregistros" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 832;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(-2147483648);
if (true) break;

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

case 99:
//C
this.state = 55;
if ((step116 > 0 && _i <= limit116) || (step116 < 0 && _i >= limit116)) this.state = 54;
if (true) break;

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

case 54:
//C
this.state = 100;
 BA.debugLineNum = 833;BA.debugLine="c.Position=i";
Debug.ShouldStop(1);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 834;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(2);
parent._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",parent._cmd);
 BA.debugLineNum = 835;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 836;BA.debugLine="cmd.Name = \"insert_REPARTO_MAZAPA\"";
Debug.ShouldStop(8);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_REPARTO_MAZAPA"));
 BA.debugLineNum = 837;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C";
Debug.ShouldStop(16);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA_PUNTEO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LATITUD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LONGITUD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTA_REPARTO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTA_PREV")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA_PREVENTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MOTIVO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COMENTARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TIPO"))))}));
 BA.debugLineNum = 838;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe";
Debug.ShouldStop(32);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("ins_REPARTOPendientes_head_"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")))))),RemoteObject.createImmutable(""))))));
 if (true) break;
if (true) break;

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

case 56:
//C
this.state = 57;
;
 BA.debugLineNum = 841;BA.debugLine="c.Close";
Debug.ShouldStop(256);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 844;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT VEINTE, DIEZ,";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS"))));
 BA.debugLineNum = 845;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT";
Debug.ShouldStop(4096);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA"))));
 BA.debugLineNum = 846;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO";
Debug.ShouldStop(8192);
__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT ID_ALMACEN FROM CAT_ALMACEN"))));
 BA.debugLineNum = 847;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM";
Debug.ShouldStop(16384);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_FECHA FROM HIST_VENTAS"))));
 BA.debugLineNum = 848;BA.debugLine="d.Position = 0";
Debug.ShouldStop(32768);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 849;BA.debugLine="b.Position = 0";
Debug.ShouldStop(65536);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 850;BA.debugLine="f.Position = 0";
Debug.ShouldStop(131072);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 851;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(262144);
if (true) break;

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

case 59:
//C
this.state = 60;
 BA.debugLineNum = 852;BA.debugLine="Log($\"Procesando TABULADOR_MONEDAS: ${c.RowCount";
Debug.ShouldStop(524288);
parent.__c.runVoidMethod ("LogImpl","36881436",(RemoteObject.concat(RemoteObject.createImmutable("Procesando TABULADOR_MONEDAS: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(" registros"))),0);
 BA.debugLineNum = 853;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
Debug.ShouldStop(1048576);
__ref.setField ("_totalregistros" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistros" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 854;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
Debug.ShouldStop(2097152);
__ref.setField ("_totalregistrostotales" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 855;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
Debug.ShouldStop(4194304);
parent.__c.runVoidMethod ("LogImpl","36881439",(RemoteObject.concat(RemoteObject.createImmutable("Total acumulado: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalregistros" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 857;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(16777216);
if (true) break;

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

case 101:
//C
this.state = 63;
if ((step138 > 0 && _i <= limit138) || (step138 < 0 && _i >= limit138)) this.state = 62;
if (true) break;

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

case 62:
//C
this.state = 102;
 BA.debugLineNum = 858;BA.debugLine="c.Position=i";
Debug.ShouldStop(33554432);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 859;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(67108864);
parent._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",parent._cmd);
 BA.debugLineNum = 860;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\"";
Debug.ShouldStop(134217728);
_fechatabulador = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fechatabulador", _fechatabulador);Debug.locals.put("fechatabulador", _fechatabulador);
 BA.debugLineNum = 861;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\"";
Debug.ShouldStop(268435456);
_fechatabulador2 = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("-")),(Object)(_fechatabulador.getArrayElement(true,BA.numberCast(int.class, 0))));Debug.locals.put("fechatabulador2", _fechatabulador2);Debug.locals.put("fechatabulador2", _fechatabulador2);
 BA.debugLineNum = 862;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2";
Debug.ShouldStop(536870912);
_fechatabulador3 = RemoteObject.concat(_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 1)),RemoteObject.createImmutable("/"),_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 2)),RemoteObject.createImmutable("/"),_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 0)));Debug.locals.put("fechatabulador3", _fechatabulador3);Debug.locals.put("fechatabulador3", _fechatabulador3);
 BA.debugLineNum = 863;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 864;BA.debugLine="cmd.Name = \"insert_tabulador_monedas_MAZAPA\"";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_tabulador_monedas_MAZAPA"));
 BA.debugLineNum = 865;BA.debugLine="cmd.Parameters = Array As Object(d.GetString(\"R";
Debug.ShouldStop(1);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")))),(__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("VEINTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("DIEZ")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CINCO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("DOS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PESO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CENTAVO")))),(_fechatabulador3)}));
 BA.debugLineNum = 866;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_";
Debug.ShouldStop(2);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_tabulador_mon"))));
 if (true) break;
if (true) break;

case 63:
//C
this.state = 64;
Debug.locals.put("i", _i);
;
 BA.debugLineNum = 868;BA.debugLine="c.Close";
Debug.ShouldStop(8);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 869;BA.debugLine="d.Close";
Debug.ShouldStop(16);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 870;BA.debugLine="b.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 871;BA.debugLine="f.Close";
Debug.ShouldStop(64);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 if (true) break;

case 64:
//C
this.state = 65;
;
 BA.debugLineNum = 875;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT IFNULL(HVD_REC";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RUTA, HVD_CLIENTE, HVD_PROID, HVD_FECHA, HVD_CODPROMO, HVD_NUM_TICKET, HVD_CANT, CONSECUTIVO, BCAJAS_OR AS BCAJAS, CANTC_OR AS CANTC FROM HIST_VENTAS"))));
 BA.debugLineNum = 876;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(2048);
if (true) break;

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

case 67:
//C
this.state = 68;
 BA.debugLineNum = 877;BA.debugLine="Log($\"Procesando HIST_VENTAS (actualización): ${";
Debug.ShouldStop(4096);
parent.__c.runVoidMethod ("LogImpl","36881461",(RemoteObject.concat(RemoteObject.createImmutable("Procesando HIST_VENTAS (actualización): "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(" registros"))),0);
 BA.debugLineNum = 878;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
Debug.ShouldStop(8192);
__ref.setField ("_totalregistros" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistros" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 879;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
Debug.ShouldStop(16384);
__ref.setField ("_totalregistrostotales" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 880;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
Debug.ShouldStop(32768);
parent.__c.runVoidMethod ("LogImpl","36881464",(RemoteObject.concat(RemoteObject.createImmutable("Total acumulado: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalregistros" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 882;BA.debugLine="For i=0 To c.RowCount -1";
Debug.ShouldStop(131072);
if (true) break;

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

case 103:
//C
this.state = 77;
if ((step160 > 0 && _i <= limit160) || (step160 < 0 && _i >= limit160)) this.state = 70;
if (true) break;

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

case 70:
//C
this.state = 71;
 BA.debugLineNum = 883;BA.debugLine="c.Position = i";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 884;BA.debugLine="Log(c.GetString(\"HVD_CLIENTE\"))";
Debug.ShouldStop(524288);
parent.__c.runVoidMethod ("LogImpl","36881468",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE"))),0);
 BA.debugLineNum = 885;BA.debugLine="Private d4 As Cursor = Starter.skmt.ExecQuery($";
Debug.ShouldStop(1048576);
_d4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_d4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("d4", _d4);Debug.locals.put("d4", _d4);
 BA.debugLineNum = 886;BA.debugLine="d4.Position = 0";
Debug.ShouldStop(2097152);
_d4.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 887;BA.debugLine="Log(d4.GetString(\"CAT_CL_RUTA\"))";
Debug.ShouldStop(4194304);
parent.__c.runVoidMethod ("LogImpl","36881471",_d4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),0);
 BA.debugLineNum = 888;BA.debugLine="Private d5 As Cursor =  Starter.skmt.ExecQuery(";
Debug.ShouldStop(8388608);
_d5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_d5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("d5", _d5);Debug.locals.put("d5", _d5);
 BA.debugLineNum = 889;BA.debugLine="d5.Position = 0";
Debug.ShouldStop(16777216);
_d5.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 890;BA.debugLine="Private restacant As String = d5.GetString(\"PE_";
Debug.ShouldStop(33554432);
_restacant = _d5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("restacant", _restacant);Debug.locals.put("restacant", _restacant);
 BA.debugLineNum = 891;BA.debugLine="d5.Close";
Debug.ShouldStop(67108864);
_d5.runVoidMethod ("Close");
 BA.debugLineNum = 893;BA.debugLine="Dim fecha1() As String = Regex.Split(\" \", c.Get";
Debug.ShouldStop(268435456);
_fecha1 = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fecha1", _fecha1);Debug.locals.put("fecha1", _fecha1);
 BA.debugLineNum = 894;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha";
Debug.ShouldStop(536870912);
_fecha2 = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("-")),(Object)(_fecha1.getArrayElement(true,BA.numberCast(int.class, 0))));Debug.locals.put("fecha2", _fecha2);Debug.locals.put("fecha2", _fecha2);
 BA.debugLineNum = 895;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&";
Debug.ShouldStop(1073741824);
_fecha3 = RemoteObject.concat(_fecha2.getArrayElement(true,BA.numberCast(int.class, 2)),RemoteObject.createImmutable("/"),_fecha2.getArrayElement(true,BA.numberCast(int.class, 1)),RemoteObject.createImmutable("/"),_fecha2.getArrayElement(true,BA.numberCast(int.class, 0)));Debug.locals.put("fecha3", _fecha3);Debug.locals.put("fecha3", _fecha3);
 BA.debugLineNum = 896;BA.debugLine="Log(fecha3)";
Debug.ShouldStop(-2147483648);
parent.__c.runVoidMethod ("LogImpl","36881480",_fecha3,0);
 BA.debugLineNum = 897;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha1";
Debug.ShouldStop(1);
_hora = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\.")),(Object)(_fecha1.getArrayElement(true,BA.numberCast(int.class, 1))));Debug.locals.put("hora", _hora);Debug.locals.put("hora", _hora);
 BA.debugLineNum = 898;BA.debugLine="Log(hora(0))";
Debug.ShouldStop(2);
parent.__c.runVoidMethod ("LogImpl","36881482",_hora.getArrayElement(true,BA.numberCast(int.class, 0)),0);
 BA.debugLineNum = 900;BA.debugLine="Dim sDate, sTime As String";
Debug.ShouldStop(8);
_sdate = RemoteObject.createImmutable("");Debug.locals.put("sDate", _sdate);
_stime = RemoteObject.createImmutable("");Debug.locals.put("sTime", _stime);
 BA.debugLineNum = 901;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
Debug.ShouldStop(16);
parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy"));
 BA.debugLineNum = 902;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
Debug.ShouldStop(32);
parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss"));
 BA.debugLineNum = 903;BA.debugLine="sDate = DateTime.Date(DateTime.Now)";
Debug.ShouldStop(64);
_sdate = parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sDate", _sdate);
 BA.debugLineNum = 904;BA.debugLine="sTime = DateTime.Time(DateTime.Now)";
Debug.ShouldStop(128);
_stime = parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime);
 BA.debugLineNum = 905;BA.debugLine="If c.GetString(\"HVD_RECHAZOCANT\") <> \"0\" Then";
Debug.ShouldStop(256);
if (true) break;

case 71:
//if
this.state = 76;
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),BA.ObjectToString("0"))) { 
this.state = 73;
}else {
this.state = 75;
}if (true) break;

case 73:
//C
this.state = 76;
 BA.debugLineNum = 906;BA.debugLine="Log((c.GetString(\"HVD_RECHAZOCANT\")-restacant)";
Debug.ShouldStop(512);
parent.__c.runVoidMethod ("LogImpl","36881490",BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _restacant)}, "-",1, 0))),0);
 BA.debugLineNum = 907;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 908;BA.debugLine="cmd.Name = \"update_HVD_MAZAPArep2\"";
Debug.ShouldStop(2048);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_HVD_MAZAPArep2"));
 BA.debugLineNum = 909;BA.debugLine="cmd.Parameters = Array As String(c.GetString(\"";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,(RemoteObject.createNewArray("String",new int[] {14},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("BCAJAS"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))),RemoteObject.concat(_sdate,RemoteObject.createImmutable(" "),_stime),BA.NumberToString(1),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),RemoteObject.concat(_fecha3,RemoteObject.createImmutable(" "),_hora.getArrayElement(true,BA.numberCast(int.class, 0))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RUTA"))),__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("HVD_CODPROMO"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_TICKET"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))})));
 BA.debugLineNum = 910;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")";
Debug.ShouldStop(8192);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("update_hvd"))));
 if (true) break;

case 75:
//C
this.state = 76;
 BA.debugLineNum = 912;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(32768);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 913;BA.debugLine="cmd.Name = \"update_HVD_MAZAPArep2\"";
Debug.ShouldStop(65536);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_HVD_MAZAPArep2"));
 BA.debugLineNum = 914;BA.debugLine="Log( c.GetString(\"CANTC\")& c.GetString(\"HVD_CL";
Debug.ShouldStop(131072);
parent.__c.runVoidMethod ("LogImpl","36881498",RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),_fecha3,RemoteObject.createImmutable(" "),_hora.getArrayElement(true,BA.numberCast(int.class, 0)),_d4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),__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("HVD_CODPROMO"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_TICKET"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),0);
 BA.debugLineNum = 915;BA.debugLine="cmd.Parameters = Array As String(\"\",c.GetStrin";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,(RemoteObject.createNewArray("String",new int[] {14},new Object[] {BA.ObjectToString(""),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("BCAJAS"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))),BA.ObjectToString(""),BA.ObjectToString(""),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),RemoteObject.concat(_fecha3,RemoteObject.createImmutable(" "),_hora.getArrayElement(true,BA.numberCast(int.class, 0))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RUTA"))),__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("HVD_CODPROMO"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_TICKET"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))})));
 BA.debugLineNum = 916;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")";
Debug.ShouldStop(524288);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("update_hvd"))));
 if (true) break;

case 76:
//C
this.state = 104;
;
 BA.debugLineNum = 918;BA.debugLine="d4.Close";
Debug.ShouldStop(2097152);
_d4.runVoidMethod ("Close");
 if (true) break;
if (true) break;

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

case 78:
//C
this.state = 79;
;
 BA.debugLineNum = 921;BA.debugLine="c.Close";
Debug.ShouldStop(16777216);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 924;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT MIL, QUINIENTO";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES"))));
 BA.debugLineNum = 925;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT";
Debug.ShouldStop(268435456);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA"))));
 BA.debugLineNum = 926;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO";
Debug.ShouldStop(536870912);
__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT ID_ALMACEN FROM CAT_ALMACEN"))));
 BA.debugLineNum = 927;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_FECHA FROM HIST_VENTAS"))));
 BA.debugLineNum = 928;BA.debugLine="d.Position = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 929;BA.debugLine="b.Position = 0";
Debug.ShouldStop(1);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 930;BA.debugLine="f.Position = 0";
Debug.ShouldStop(2);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 931;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(4);
if (true) break;

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

case 81:
//C
this.state = 82;
 BA.debugLineNum = 932;BA.debugLine="Log($\"Procesando TABULADOR_BILLETES: ${c.RowCoun";
Debug.ShouldStop(8);
parent.__c.runVoidMethod ("LogImpl","36881516",(RemoteObject.concat(RemoteObject.createImmutable("Procesando TABULADOR_BILLETES: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(" registros"))),0);
 BA.debugLineNum = 933;BA.debugLine="totalRegistros = totalRegistros + c.RowCount";
Debug.ShouldStop(16);
__ref.setField ("_totalregistros" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistros" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 934;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +";
Debug.ShouldStop(32);
__ref.setField ("_totalregistrostotales" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")}, "+",1, 1));
 BA.debugLineNum = 935;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)";
Debug.ShouldStop(64);
parent.__c.runVoidMethod ("LogImpl","36881519",(RemoteObject.concat(RemoteObject.createImmutable("Total acumulado: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalregistros" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 937;BA.debugLine="For i = 0 To c.RowCount - 1";
Debug.ShouldStop(256);
if (true) break;

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

case 105:
//C
this.state = 85;
if ((step210 > 0 && _i <= limit210) || (step210 < 0 && _i >= limit210)) this.state = 84;
if (true) break;

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

case 84:
//C
this.state = 106;
 BA.debugLineNum = 938;BA.debugLine="c.Position=i";
Debug.ShouldStop(512);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 939;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(1024);
parent._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",parent._cmd);
 BA.debugLineNum = 940;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\"";
Debug.ShouldStop(2048);
_fechatabulador = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fechatabulador", _fechatabulador);Debug.locals.put("fechatabulador", _fechatabulador);
 BA.debugLineNum = 941;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\"";
Debug.ShouldStop(4096);
_fechatabulador2 = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("-")),(Object)(_fechatabulador.getArrayElement(true,BA.numberCast(int.class, 0))));Debug.locals.put("fechatabulador2", _fechatabulador2);Debug.locals.put("fechatabulador2", _fechatabulador2);
 BA.debugLineNum = 942;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2";
Debug.ShouldStop(8192);
_fechatabulador3 = RemoteObject.concat(_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 1)),RemoteObject.createImmutable("/"),_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 2)),RemoteObject.createImmutable("/"),_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 0)));Debug.locals.put("fechatabulador3", _fechatabulador3);Debug.locals.put("fechatabulador3", _fechatabulador3);
 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_tabulador_billetes_MAZAPA\"";
Debug.ShouldStop(32768);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_tabulador_billetes_MAZAPA"));
 BA.debugLineNum = 945;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"I";
Debug.ShouldStop(65536);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MIL")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("QUINIENTOS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("DOCIENTOS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CIEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CINCUENTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("VEINTE")))),(_fechatabulador3)}));
 BA.debugLineNum = 946;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_";
Debug.ShouldStop(131072);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_tabulador_bill"))));
 if (true) break;
if (true) break;

case 85:
//C
this.state = 86;
Debug.locals.put("i", _i);
;
 BA.debugLineNum = 948;BA.debugLine="c.Close";
Debug.ShouldStop(524288);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 949;BA.debugLine="d.Close";
Debug.ShouldStop(1048576);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 950;BA.debugLine="b.Close";
Debug.ShouldStop(2097152);
__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 951;BA.debugLine="f.Close";
Debug.ShouldStop(4194304);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 if (true) break;

case 86:
//C
this.state = -1;
;
 BA.debugLineNum = 955;BA.debugLine="Dim cmd As DBCommand";
Debug.ShouldStop(67108864);
parent._cmd = RemoteObject.createNew ("reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",parent._cmd);
 BA.debugLineNum = 956;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(134217728);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 957;BA.debugLine="cmd.Name = \"insert_drop_rep_MAZAPA2\"";
Debug.ShouldStop(268435456);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_rep_MAZAPA2"));
 BA.debugLineNum = 958;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuario";
Debug.ShouldStop(536870912);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(parent._subs.runMethod(true,"_dameusuariodedb" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText")),(parent._subs.runMethod(false,"_traeentregados" /*RemoteObject*/ ,__ref.getField(false, "ba")).getObject()),(parent._subs.runMethod(false,"_traerechazados" /*RemoteObject*/ ,__ref.getField(false, "ba")).getObject()),RemoteObject.createImmutable(("ENVIO")),(parent.__c.getField(false,"Application").runMethod(true,"getVersionName"))}));
 BA.debugLineNum = 959;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_drop"))));
 BA.debugLineNum = 961;BA.debugLine="Log($\"PROCESO COMPLETADO - TOTAL DE REGISTROS PRO";
Debug.ShouldStop(1);
parent.__c.runVoidMethod ("LogImpl","36881545",(RemoteObject.concat(RemoteObject.createImmutable("PROCESO COMPLETADO - TOTAL DE REGISTROS PROCESADOS: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalregistros" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 962;BA.debugLine="ToastMessageShow(\"Se Actualizaron los datos, Este";
Debug.ShouldStop(2);
parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Se Actualizaron los datos, Este proceso podria tardar hasta un minuto, gracias "),__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")))),(Object)(parent.__c.getField(true,"True")));
 BA.debugLineNum = 964;BA.debugLine="Wait For AllRequestsComplete ' Espera a que todos";
Debug.ShouldStop(8);
parent.__c.runVoidMethod ("WaitFor","allrequestscomplete", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "envioinfo"), null);
this.state = 107;
return;
case 107:
//C
this.state = -1;
;
 BA.debugLineNum = 966;BA.debugLine="Log($\"Total registros procesados: ${totalRegistro";
Debug.ShouldStop(32);
parent.__c.runVoidMethod ("LogImpl","36881550",(RemoteObject.concat(RemoteObject.createImmutable("Total registros procesados: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalregistros" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 967;BA.debugLine="Log($\"Requests exitosos: ${successfulRequests}\"$)";
Debug.ShouldStop(64);
parent.__c.runVoidMethod ("LogImpl","36881551",(RemoteObject.concat(RemoteObject.createImmutable("Requests exitosos: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_successfulrequests" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 968;BA.debugLine="LogColor(\"Esto es totalRegistrosTotales: ---->\" &";
Debug.ShouldStop(128);
parent.__c.runVoidMethod ("LogImpl","36881552",RemoteObject.concat(RemoteObject.createImmutable("Esto es totalRegistrosTotales: ---->"),__ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ )),parent.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 971;BA.debugLine="End Sub";
Debug.ShouldStop(1024);
if (true) break;

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static void  _allrequestscomplete(RemoteObject __ref) throws Exception{
}
public static RemoteObject  _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{
try {
		Debug.PushSubsStack("Initialize (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,104);
if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_principal","initialize", __ref, _ba);}
__ref.runVoidMethodAndSync("innerInitializeHelper", _ba);
Debug.locals.put("ba", _ba);
 BA.debugLineNum = 104;BA.debugLine="Public Sub Initialize As Object";
Debug.ShouldStop(128);
 BA.debugLineNum = 105;BA.debugLine="Return Me";
Debug.ShouldStop(256);
if (true) return __ref;
 BA.debugLineNum = 106;BA.debugLine="End Sub";
Debug.ShouldStop(512);
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",5,__ref.getField(false, "ba"),__ref,1800);
if (RapidSub.canDelegate("inv_click")) { return __ref.runUserSub(false, "c_principal","inv_click", __ref);}
 BA.debugLineNum = 1800;BA.debugLine="Sub inv_Click";
Debug.ShouldStop(128);
 BA.debugLineNum = 1801;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este";
Debug.ShouldStop(256);
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 = 1802;BA.debugLine="End Sub";
Debug.ShouldStop(512);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _isconnectedtointernet(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("IsConnectedToInternet (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,640);
if (RapidSub.canDelegate("isconnectedtointernet")) { return __ref.runUserSub(false, "c_principal","isconnectedtointernet", __ref);}
RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.agraham.reflection.Reflection");
 BA.debugLineNum = 640;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore";
Debug.ShouldStop(-2147483648);
 BA.debugLineNum = 641;BA.debugLine="Dim r As Reflector";
Debug.ShouldStop(1);
_r = RemoteObject.createNew ("anywheresoftware.b4a.agraham.reflection.Reflection");Debug.locals.put("r", _r);
 BA.debugLineNum = 642;BA.debugLine="r.Target = r.GetContext";
Debug.ShouldStop(2);
_r.setField ("Target",(_r.runMethod(false,"GetContext",__ref.getField(false, "ba"))));
 BA.debugLineNum = 643;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn";
Debug.ShouldStop(4);
_r.setField ("Target",_r.runMethod(false,"RunMethod2",(Object)(BA.ObjectToString("getSystemService")),(Object)(BA.ObjectToString("connectivity")),(Object)(RemoteObject.createImmutable("java.lang.String"))));
 BA.debugLineNum = 644;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")";
Debug.ShouldStop(8);
_r.setField ("Target",_r.runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getActiveNetworkInfo"))));
 BA.debugLineNum = 645;BA.debugLine="If r.Target <> Null Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("N",_r.getField(false,"Target"))) { 
 BA.debugLineNum = 646;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")";
Debug.ShouldStop(32);
if (true) return BA.ObjectToBoolean(_r.runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("isConnectedOrConnecting"))));
 };
 BA.debugLineNum = 648;BA.debugLine="Return False";
Debug.ShouldStop(128);
if (true) return c_principal.__c.getField(true,"False");
 BA.debugLineNum = 649;BA.debugLine="End Sub";
Debug.ShouldStop(256);
return RemoteObject.createImmutable(false);
}
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",5,__ref.getField(false, "ba"),__ref,1152);
if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_principal","jobdone", __ref, _job);}
RemoteObject _result = RemoteObject.declareNull("reparto_mazapa.keymon.lat.dbrequestmanager._dbresult");
RemoteObject _records = null;
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_bcredito = RemoteObject.createImmutable("");
RemoteObject _cat_cl_secuencia = 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_tipoprod = RemoteObject.createImmutable(0);
RemoteObject _cat_gp_iniciativa = RemoteObject.createImmutable(0);
RemoteObject _cat_dp_precio4 = RemoteObject.createImmutable(0f);
RemoteObject _cat_dp_conversion1 = RemoteObject.createImmutable(0);
RemoteObject _cat_dp_cant_min_venta = RemoteObject.createImmutable(0);
RemoteObject _conversion = RemoteObject.createImmutable("");
RemoteObject _precioconver = 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 _hvd_estatus = RemoteObject.createImmutable("");
RemoteObject _hv_cliente = RemoteObject.createImmutable("");
RemoteObject _hv_long = RemoteObject.createImmutable("");
RemoteObject _hv_lat = RemoteObject.createImmutable("");
RemoteObject _consecutivo = 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 _hvd_codpromo = RemoteObject.createImmutable("");
RemoteObject _hvd_proid = RemoteObject.createImmutable("");
RemoteObject _hvd_num_ticket = RemoteObject.createImmutable("");
RemoteObject _hvd_num_registro = RemoteObject.createImmutable("");
RemoteObject _hvd_rechazo = RemoteObject.createImmutable("");
RemoteObject _hvd_placa = RemoteObject.createImmutable("");
RemoteObject _bcajas = RemoteObject.createImmutable("");
RemoteObject _cantc = RemoteObject.createImmutable("");
RemoteObject _hvd_ruta = RemoteObject.createImmutable("");
RemoteObject _hvd_listaprecio = RemoteObject.createImmutable("");
RemoteObject _tc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cat_va_descripcion = RemoteObject.createImmutable("");
RemoteObject _cat_va_valor = RemoteObject.createImmutable("");
RemoteObject _tmp_monto_pagare = RemoteObject.createImmutable("");
RemoteObject _tmp_cliente = 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 _lat = RemoteObject.createImmutable(0);
RemoteObject _lon = RemoteObject.createImmutable(0);
RemoteObject _k = RemoteObject.createImmutable("");
Debug.locals.put("Job", _job);
 BA.debugLineNum = 1152;BA.debugLine="Sub JobDone(Job As HttpJob)";
Debug.ShouldStop(-2147483648);
 BA.debugLineNum = 1154;BA.debugLine="Log(todosRequest)";
Debug.ShouldStop(2);
c_principal.__c.runVoidMethod ("LogImpl","37077890",BA.NumberToString(__ref.getField(true,"_todosrequest" /*RemoteObject*/ )),0);
 BA.debugLineNum = 1155;BA.debugLine="todosRequest = todosRequest +1";
Debug.ShouldStop(4);
__ref.setField ("_todosrequest" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_todosrequest" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1));
 BA.debugLineNum = 1156;BA.debugLine="Log(todosRequest)";
Debug.ShouldStop(8);
c_principal.__c.runVoidMethod ("LogImpl","37077892",BA.NumberToString(__ref.getField(true,"_todosrequest" /*RemoteObject*/ )),0);
 BA.debugLineNum = 1157;BA.debugLine="If Job.Success = False Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_principal.__c.getField(true,"False"))) { 
 BA.debugLineNum = 1158;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro";
Debug.ShouldStop(32);
c_principal.__c.runVoidMethod ("LogImpl","37077894",RemoteObject.concat(RemoteObject.createImmutable("** "),_job.getField(false,"_tag" /*RemoteObject*/ ),RemoteObject.createImmutable(" Error: "),_job.getField(true,"_errormessage" /*RemoteObject*/ )),c_principal.__c.getField(false,"Colors").getField(true,"Red"));
 }else {
 BA.debugLineNum = 1161;BA.debugLine="LogColor(\"Esto es totalRegistros: \" & totalRegis";
Debug.ShouldStop(256);
c_principal.__c.runVoidMethod ("LogImpl","37077897",RemoteObject.concat(RemoteObject.createImmutable("Esto es totalRegistros: "),__ref.getField(true,"_totalregistros" /*RemoteObject*/ )),c_principal.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 1162;BA.debugLine="successfulRequests = successfulRequests + 1";
Debug.ShouldStop(512);
__ref.setField ("_successfulrequests" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_successfulrequests" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1));
 BA.debugLineNum = 1163;BA.debugLine="totalRegistros = totalRegistros - 1";
Debug.ShouldStop(1024);
__ref.setField ("_totalregistros" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalregistros" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1));
 BA.debugLineNum = 1164;BA.debugLine="Log(\"Esto es successfulRequests: \" & successfulR";
Debug.ShouldStop(2048);
c_principal.__c.runVoidMethod ("LogImpl","37077900",RemoteObject.concat(RemoteObject.createImmutable("Esto es successfulRequests: "),__ref.getField(true,"_successfulrequests" /*RemoteObject*/ )),0);
 BA.debugLineNum = 1165;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
Debug.ShouldStop(4096);
c_principal.__c.runVoidMethod ("LogImpl","37077901",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),c_principal.__c.getField(false,"Colors").getField(true,"Green"));
 BA.debugLineNum = 1166;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1167;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(16384);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1168;BA.debugLine="If result.Tag = \"kmt_datos\" Then 'query tag";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("kmt_datos")))) { 
 BA.debugLineNum = 1169;BA.debugLine="If reqs.IndexOf(\"kmt_datos\") > -1 Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("kmt_datos")))),BA.numberCast(double.class, -(double) (0 + 1)))) { 
 BA.debugLineNum = 1170;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"kmt_datos\"))";
Debug.ShouldStop(131072);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("kmt_datos"))))));
 };
 BA.debugLineNum = 1173;BA.debugLine="Starter.skmt.BeginTransaction";
Debug.ShouldStop(1048576);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("BeginTransaction");
 BA.debugLineNum = 1175;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(4194304);
{
final RemoteObject group19 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen19 = group19.runMethod(true,"getSize").<Integer>get()
;int index19 = 0;
;
for (; index19 < groupLen19;index19++){
_records = (group19.runMethod(false,"Get",index19));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1176;BA.debugLine="Dim CAT_CL_CODIGO As String = records(result.";
Debug.ShouldStop(8388608);
_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 = 1177;BA.debugLine="Dim CAT_CL_RUTA As String = records(result.Co";
Debug.ShouldStop(16777216);
_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 = 1178;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(result.";
Debug.ShouldStop(33554432);
_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 = 1179;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(resul";
Debug.ShouldStop(67108864);
_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 = 1180;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(resul";
Debug.ShouldStop(134217728);
_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 = 1181;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(resul";
Debug.ShouldStop(268435456);
_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 = 1182;BA.debugLine="Dim CAT_CL_EMAIL As String = records(result.C";
Debug.ShouldStop(536870912);
_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 = 1183;BA.debugLine="Dim CAT_CL_CALLE As String = records(result.C";
Debug.ShouldStop(1073741824);
_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 = 1184;BA.debugLine="Dim CAT_CL_NOEXT As String = records(result.C";
Debug.ShouldStop(-2147483648);
_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 = 1185;BA.debugLine="Dim CAT_CL_NOINT As String = records(result.C";
Debug.ShouldStop(1);
_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 = 1186;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(result.";
Debug.ShouldStop(2);
_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 = 1187;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(result.";
Debug.ShouldStop(4);
_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 = 1188;BA.debugLine="Dim CAT_CL_COLONIA As String = records(result";
Debug.ShouldStop(8);
_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 = 1189;BA.debugLine="Dim CAT_CL_MUNI As String = records(result.Co";
Debug.ShouldStop(16);
_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 = 1190;BA.debugLine="Dim CAT_CL_EDO As String = records(result.Col";
Debug.ShouldStop(32);
_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 = 1191;BA.debugLine="Dim CAT_CL_CP As String = records(result.Colu";
Debug.ShouldStop(64);
_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 = 1192;BA.debugLine="Dim CAT_CL_LONG As String = records(result.Co";
Debug.ShouldStop(128);
_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 = 1193;BA.debugLine="Dim CAT_CL_LAT As String = records(result.Col";
Debug.ShouldStop(256);
_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 = 1194;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(resul";
Debug.ShouldStop(512);
_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 = 1195;BA.debugLine="Dim CAT_CL_SECUENCIA As String = records(resu";
Debug.ShouldStop(1024);
_cat_cl_secuencia = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_SECUENCIA")))))));Debug.locals.put("CAT_CL_SECUENCIA", _cat_cl_secuencia);Debug.locals.put("CAT_CL_SECUENCIA", _cat_cl_secuencia);
 BA.debugLineNum = 1197;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_i";
Debug.ShouldStop(4096);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_BCREDITO, gestion,SECUENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {20},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_bcredito),(_cat_cl_secuencia)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1199;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in";
Debug.ShouldStop(16384);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_BCREDITO, gestion,SECUENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {20},new Object[] {RemoteObject.createImmutable((63403)),RemoteObject.createImmutable((1000)),RemoteObject.createImmutable(("VENTA RECHAZO")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("-98.8357694")),RemoteObject.createImmutable(("19.6906052")),RemoteObject.createImmutable(("0")),(RemoteObject.createImmutable("1"))})))));
 BA.debugLineNum = 1201;BA.debugLine="Starter.skmt.TransactionSuccessful";
Debug.ShouldStop(65536);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("TransactionSuccessful");
 BA.debugLineNum = 1202;BA.debugLine="Starter.skmt.EndTransaction";
Debug.ShouldStop(131072);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("EndTransaction");
 BA.debugLineNum = 1203;BA.debugLine="Listo1 = 1";
Debug.ShouldStop(262144);
__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1204;BA.debugLine="If Listo1 = 1  And Listo3 = 1  Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 1205;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True";
Debug.ShouldStop(1048576);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));
 BA.debugLineNum = 1206;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(2097152);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 BA.debugLineNum = 1207;BA.debugLine="img2.Visible = False";
Debug.ShouldStop(4194304);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1208;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(8388608);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 };
 };
 BA.debugLineNum = 1213;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1214;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(536870912);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1215;BA.debugLine="If result.Tag = \"gunaprod3\" Then 'query tag";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprod3")))) { 
 BA.debugLineNum = 1216;BA.debugLine="If reqs.IndexOf(\"gunaprod3\") > -1 Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("gunaprod3")))),BA.numberCast(double.class, -(double) (0 + 1)))) { 
 BA.debugLineNum = 1217;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod3\"))";
Debug.ShouldStop(1);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("gunaprod3"))))));
 BA.debugLineNum = 1218;BA.debugLine="Log(reqs.Size)";
Debug.ShouldStop(2);
c_principal.__c.runVoidMethod ("LogImpl","37077954",BA.NumberToString(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"getSize")),0);
 };
 BA.debugLineNum = 1220;BA.debugLine="Starter.skmt.BeginTransaction";
Debug.ShouldStop(8);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("BeginTransaction");
 BA.debugLineNum = 1221;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(16);
{
final RemoteObject group62 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen62 = group62.runMethod(true,"getSize").<Integer>get()
;int index62 = 0;
;
for (; index62 < groupLen62;index62++){
_records = (group62.runMethod(false,"Get",index62));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1222;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu";
Debug.ShouldStop(32);
_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 = 1223;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result.";
Debug.ShouldStop(64);
_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 = 1224;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co";
Debug.ShouldStop(128);
_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 = 1225;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co";
Debug.ShouldStop(256);
_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 = 1226;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result.";
Debug.ShouldStop(512);
_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 = 1227;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result.";
Debug.ShouldStop(1024);
_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 = 1228;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col";
Debug.ShouldStop(2048);
_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 = 1229;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co";
Debug.ShouldStop(4096);
_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 = 1230;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result";
Debug.ShouldStop(8192);
_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 = 1231;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col";
Debug.ShouldStop(16384);
_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 = 1232;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(result.Co";
Debug.ShouldStop(32768);
_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 = 1234;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(result.C";
Debug.ShouldStop(131072);
_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 = 1235;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(result";
Debug.ShouldStop(262144);
_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 = 1236;BA.debugLine="Dim CAT_DP_PRECIO4 As Float = records(result.";
Debug.ShouldStop(524288);
_cat_dp_precio4 = BA.numberCast(float.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO4")))))));Debug.locals.put("CAT_DP_PRECIO4", _cat_dp_precio4);Debug.locals.put("CAT_DP_PRECIO4", _cat_dp_precio4);
 BA.debugLineNum = 1237;BA.debugLine="Dim CAT_DP_CONVERSION1 As Int = records(resul";
Debug.ShouldStop(1048576);
_cat_dp_conversion1 = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_CONVERSION1")))))));Debug.locals.put("CAT_DP_CONVERSION1", _cat_dp_conversion1);Debug.locals.put("CAT_DP_CONVERSION1", _cat_dp_conversion1);
 BA.debugLineNum = 1238;BA.debugLine="Dim CAT_DP_CANT_MIN_VENTA As Int = records(re";
Debug.ShouldStop(2097152);
_cat_dp_cant_min_venta = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_CANT_MIN_VENTA")))))));Debug.locals.put("CAT_DP_CANT_MIN_VENTA", _cat_dp_cant_min_venta);Debug.locals.put("CAT_DP_CANT_MIN_VENTA", _cat_dp_cant_min_venta);
 BA.debugLineNum = 1241;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G";
Debug.ShouldStop(16777216);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD3(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_GP_INICIATIVA,CAT_DP_PRECIO4,CAT_DP_CONVERSION1,CAT_DP_CANT_MIN_VENTA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {16},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_precio),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_tipoprod),(_cat_gp_iniciativa),(_cat_dp_precio4),(_cat_dp_conversion1),(_cat_dp_cant_min_venta)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1243;BA.debugLine="Starter.skmt.TransactionSuccessful";
Debug.ShouldStop(67108864);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("TransactionSuccessful");
 BA.debugLineNum = 1244;BA.debugLine="Starter.skmt.EndTransaction";
Debug.ShouldStop(134217728);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("EndTransaction");
 BA.debugLineNum = 1245;BA.debugLine="Listo2=1";
Debug.ShouldStop(268435456);
__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1246;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 1247;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True";
Debug.ShouldStop(1073741824);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));
 BA.debugLineNum = 1248;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(-2147483648);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 BA.debugLineNum = 1249;BA.debugLine="img2.Visible = False";
Debug.ShouldStop(1);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1250;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(2);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 };
 };
 BA.debugLineNum = 1255;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1256;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(128);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1257;BA.debugLine="If result.Tag = \"gunaprod\" Then 'query tag";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprod")))) { 
 BA.debugLineNum = 1258;BA.debugLine="If reqs.IndexOf(\"gunaprod\") > -1 Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("gunaprod")))),BA.numberCast(double.class, -(double) (0 + 1)))) { 
 BA.debugLineNum = 1259;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod\"))";
Debug.ShouldStop(1024);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("gunaprod"))))));
 BA.debugLineNum = 1260;BA.debugLine="Log(reqs.Size)";
Debug.ShouldStop(2048);
c_principal.__c.runVoidMethod ("LogImpl","37077996",BA.NumberToString(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"getSize")),0);
 };
 BA.debugLineNum = 1262;BA.debugLine="Starter.skmt.BeginTransaction";
Debug.ShouldStop(8192);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("BeginTransaction");
 BA.debugLineNum = 1263;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(16384);
{
final RemoteObject group100 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen100 = group100.runMethod(true,"getSize").<Integer>get()
;int index100 = 0;
;
for (; index100 < groupLen100;index100++){
_records = (group100.runMethod(false,"Get",index100));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1264;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu";
Debug.ShouldStop(32768);
_cat_gp_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_ID")))))));Debug.locals.put("CAT_GP_ID", _cat_gp_id);Debug.locals.put("CAT_GP_ID", _cat_gp_id);
 BA.debugLineNum = 1265;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result.";
Debug.ShouldStop(65536);
_cat_gp_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_NOMBRE")))))));Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);
 BA.debugLineNum = 1266;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co";
Debug.ShouldStop(131072);
_cat_gp_imp1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMP1")))))));Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);
 BA.debugLineNum = 1267;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co";
Debug.ShouldStop(262144);
_cat_gp_imp2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMP2")))))));Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);
 BA.debugLineNum = 1268;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result.";
Debug.ShouldStop(524288);
_cat_gp_precio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO")))))));Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio);Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio);
 BA.debugLineNum = 1269;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result.";
Debug.ShouldStop(1048576);
_cat_gp_clasif = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_CLASIF")))))));Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);
 BA.debugLineNum = 1270;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col";
Debug.ShouldStop(2097152);
_cat_gp_sts = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_STS")))))));Debug.locals.put("CAT_GP_STS", _cat_gp_sts);Debug.locals.put("CAT_GP_STS", _cat_gp_sts);
 BA.debugLineNum = 1271;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co";
Debug.ShouldStop(4194304);
_cat_gp_tipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_TIPO")))))));Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);
 BA.debugLineNum = 1272;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result";
Debug.ShouldStop(8388608);
_cat_gp_subtipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_SUBTIPO")))))));Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);
 BA.debugLineNum = 1273;BA.debugLine="Dim CONVERSION As String = records(result.Col";
Debug.ShouldStop(16777216);
_conversion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_CONVERSION1")))))));Debug.locals.put("CONVERSION", _conversion);Debug.locals.put("CONVERSION", _conversion);
 BA.debugLineNum = 1274;BA.debugLine="Dim PRECIOCONVER As String = records(result.C";
Debug.ShouldStop(33554432);
_precioconver = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO4")))))));Debug.locals.put("PRECIOCONVER", _precioconver);Debug.locals.put("PRECIOCONVER", _precioconver);
 BA.debugLineNum = 1275;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col";
Debug.ShouldStop(67108864);
_cat_gp_img = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMG")))))));Debug.locals.put("CAT_GP_IMG", _cat_gp_img);Debug.locals.put("CAT_GP_IMG", _cat_gp_img);
 BA.debugLineNum = 1280;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G";
Debug.ShouldStop(-2147483648);
c_principal._starter._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,CONVERSION,PRECIOCONVER) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {13},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),RemoteObject.createImmutable((0)),(_conversion),(_precioconver)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1282;BA.debugLine="Starter.skmt.TransactionSuccessful";
Debug.ShouldStop(2);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("TransactionSuccessful");
 BA.debugLineNum = 1283;BA.debugLine="Starter.skmt.EndTransaction";
Debug.ShouldStop(4);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("EndTransaction");
 BA.debugLineNum = 1284;BA.debugLine="Listo2=1";
Debug.ShouldStop(8);
__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1285;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(16);
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 = 1286;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True";
Debug.ShouldStop(32);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));
 BA.debugLineNum = 1287;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(64);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 BA.debugLineNum = 1288;BA.debugLine="img2.Visible = False";
Debug.ShouldStop(128);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1289;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(256);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 };
 };
 BA.debugLineNum = 1294;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1295;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(16384);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1296;BA.debugLine="If result.Tag = \"gunaprodp\" Then 'query tag";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprodp")))) { 
 BA.debugLineNum = 1297;BA.debugLine="If reqs.IndexOf(\"gunaprodp\") > -1 Then";
Debug.ShouldStop(65536);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("gunaprodp")))),BA.numberCast(double.class, -(double) (0 + 1)))) { 
 BA.debugLineNum = 1298;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprodp\"))";
Debug.ShouldStop(131072);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("gunaprodp"))))));
 BA.debugLineNum = 1299;BA.debugLine="Log(reqs.Size)";
Debug.ShouldStop(262144);
c_principal.__c.runVoidMethod ("LogImpl","37078035",BA.NumberToString(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"getSize")),0);
 };
 BA.debugLineNum = 1301;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(1048576);
{
final RemoteObject group133 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen133 = group133.runMethod(true,"getSize").<Integer>get()
;int index133 = 0;
;
for (; index133 < groupLen133;index133++){
_records = (group133.runMethod(false,"Get",index133));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1302;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu";
Debug.ShouldStop(2097152);
_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 = 1303;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result.";
Debug.ShouldStop(4194304);
_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 = 1304;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co";
Debug.ShouldStop(8388608);
_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 = 1305;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co";
Debug.ShouldStop(16777216);
_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 = 1306;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result.";
Debug.ShouldStop(33554432);
_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 = 1307;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result.";
Debug.ShouldStop(67108864);
_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 = 1308;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col";
Debug.ShouldStop(134217728);
_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 = 1309;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co";
Debug.ShouldStop(268435456);
_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 = 1310;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result";
Debug.ShouldStop(536870912);
_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 = 1311;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col";
Debug.ShouldStop(1073741824);
_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 = 1314;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G";
Debug.ShouldStop(2);
c_principal._starter._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) VALUES (?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},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),RemoteObject.createImmutable((0))})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1316;BA.debugLine="Listo4=1";
Debug.ShouldStop(8);
__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1317;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And";
Debug.ShouldStop(16);
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 = 1318;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True";
Debug.ShouldStop(32);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));
 BA.debugLineNum = 1319;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(64);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 BA.debugLineNum = 1320;BA.debugLine="img2.Visible = False";
Debug.ShouldStop(128);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1321;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(256);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }else 
{ BA.debugLineNum = 1322;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1";
Debug.ShouldStop(512);
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 = 1323;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True";
Debug.ShouldStop(1024);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));
 BA.debugLineNum = 1324;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(2048);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 BA.debugLineNum = 1325;BA.debugLine="img2.Visible = False";
Debug.ShouldStop(4096);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1326;BA.debugLine="EJECUTANDO=0";
Debug.ShouldStop(8192);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }}
;
 };
 };
 BA.debugLineNum = 1331;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1332;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(524288);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1333;BA.debugLine="If result.Tag = \"detallepaq\" Then 'query tag";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("detallepaq")))) { 
 BA.debugLineNum = 1334;BA.debugLine="If reqs.IndexOf(\"detallepaq\") > -1 Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("detallepaq")))),BA.numberCast(double.class, -(double) (0 + 1)))) { 
 BA.debugLineNum = 1335;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"detallepaq\"))";
Debug.ShouldStop(4194304);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("detallepaq"))))));
 BA.debugLineNum = 1336;BA.debugLine="Log(reqs.Size)";
Debug.ShouldStop(8388608);
c_principal.__c.runVoidMethod ("LogImpl","37078072",BA.NumberToString(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"getSize")),0);
 };
 BA.debugLineNum = 1338;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(33554432);
{
final RemoteObject group167 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen167 = group167.runMethod(true,"getSize").<Integer>get()
;int index167 = 0;
;
for (; index167 < groupLen167;index167++){
_records = (group167.runMethod(false,"Get",index167));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1339;BA.debugLine="Dim CAT_DP_ALMACEN  As String = records(resul";
Debug.ShouldStop(67108864);
_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 = 1340;BA.debugLine="Dim CAT_DP_ID As String = records(result.Colu";
Debug.ShouldStop(134217728);
_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 = 1341;BA.debugLine="Dim CAT_DP_IDPROD As String = records(result.";
Debug.ShouldStop(268435456);
_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 = 1342;BA.debugLine="Dim CAT_DP_TIPO As String = records(result.Co";
Debug.ShouldStop(536870912);
_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 = 1343;BA.debugLine="Dim CAT_DP_PZAS As String = records(result.Co";
Debug.ShouldStop(1073741824);
_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 = 1344;BA.debugLine="Dim CAT_DP_USUARIO  As String = records(resul";
Debug.ShouldStop(-2147483648);
_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 = 1345;BA.debugLine="Dim CAT_DP_FECHA As String = records(result.C";
Debug.ShouldStop(1);
_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 = 1346;BA.debugLine="Dim CAT_DP_REGALO  As String = records(result";
Debug.ShouldStop(2);
_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 = 1347;BA.debugLine="Dim CAT_DP_CLASIF  As String = records(result";
Debug.ShouldStop(4);
_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 = 1348;BA.debugLine="Dim CAT_DP_PRECIO As String = records(result.";
Debug.ShouldStop(8);
_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 = 1349;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records";
Debug.ShouldStop(16);
_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 = 1351;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_D";
Debug.ShouldStop(64);
c_principal._starter._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 = 1353;BA.debugLine="Listo3 =1";
Debug.ShouldStop(256);
__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1354;BA.debugLine="If Listo1 = 1 And Listo2 = 1 And Listo3 = 1 An";
Debug.ShouldStop(512);
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 = 1355;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True";
Debug.ShouldStop(1024);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));
 BA.debugLineNum = 1356;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(2048);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 BA.debugLineNum = 1357;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(4096);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1358;BA.debugLine="EJECUTANDO = 0";
Debug.ShouldStop(8192);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }else 
{ BA.debugLineNum = 1359;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1";
Debug.ShouldStop(16384);
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 = 1360;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True";
Debug.ShouldStop(32768);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));
 BA.debugLineNum = 1361;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(65536);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 BA.debugLineNum = 1362;BA.debugLine="img2.Visible = False";
Debug.ShouldStop(131072);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1363;BA.debugLine="EJECUTANDO = 0";
Debug.ShouldStop(262144);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 }}
;
 };
 };
 BA.debugLineNum = 1368;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1369;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(16777216);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1370;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("estatus")))) { 
 BA.debugLineNum = 1371;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(67108864);
{
final RemoteObject group198 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen198 = group198.runMethod(true,"getSize").<Integer>get()
;int index198 = 0;
;
for (; index198 < groupLen198;index198++){
_records = (group198.runMethod(false,"Get",index198));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1372;BA.debugLine="Dim hvd_estatus As String = records(result.Co";
Debug.ShouldStop(134217728);
_hvd_estatus = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_ESTATUS")))))));Debug.locals.put("hvd_estatus", _hvd_estatus);Debug.locals.put("hvd_estatus", _hvd_estatus);
 BA.debugLineNum = 1373;BA.debugLine="If hvd_estatus = \"Liquidado\" Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",_hvd_estatus,BA.ObjectToString("Liquidado"))) { 
 BA.debugLineNum = 1375;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate";
Debug.ShouldStop(1073741824);
c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("La venta ya fue liquidada")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 1377;BA.debugLine="envioinfo";
Debug.ShouldStop(1);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_envioinfo" /*void*/ );
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1383;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1384;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(128);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1385;BA.debugLine="If result.Tag = \"punteo\" Then 'query tag";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("punteo")))) { 
 BA.debugLineNum = 1386;BA.debugLine="If reqs.IndexOf(\"punteo\") > -1 Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("punteo")))),BA.numberCast(double.class, -(double) (0 + 1)))) { 
 BA.debugLineNum = 1387;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))";
Debug.ShouldStop(1024);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("punteo"))))));
 };
 BA.debugLineNum = 1390;BA.debugLine="If reqs.IndexOf(\"punteo\") > 0 Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("punteo")))),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1391;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))";
Debug.ShouldStop(16384);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("punteo"))))));
 BA.debugLineNum = 1392;BA.debugLine="Log(reqs.Size)";
Debug.ShouldStop(32768);
c_principal.__c.runVoidMethod ("LogImpl","37078128",BA.NumberToString(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"getSize")),0);
 };
 BA.debugLineNum = 1394;BA.debugLine="Starter.skmt.BeginTransaction";
Debug.ShouldStop(131072);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("BeginTransaction");
 BA.debugLineNum = 1395;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(262144);
{
final RemoteObject group219 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen219 = group219.runMethod(true,"getSize").<Integer>get()
;int index219 = 0;
;
for (; index219 < groupLen219;index219++){
_records = (group219.runMethod(false,"Get",index219));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1396;BA.debugLine="Dim HV_CLIENTE As String = records(result.Col";
Debug.ShouldStop(524288);
_hv_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HV_CLIENTE")))))));Debug.locals.put("HV_CLIENTE", _hv_cliente);Debug.locals.put("HV_CLIENTE", _hv_cliente);
 BA.debugLineNum = 1397;BA.debugLine="Dim HV_LONG As String = records(result.Column";
Debug.ShouldStop(1048576);
_hv_long = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HV_LONG")))))));Debug.locals.put("HV_LONG", _hv_long);Debug.locals.put("HV_LONG", _hv_long);
 BA.debugLineNum = 1398;BA.debugLine="Dim HV_LAT As String = records(result.Columns";
Debug.ShouldStop(2097152);
_hv_lat = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HV_LAT")))))));Debug.locals.put("HV_LAT", _hv_lat);Debug.locals.put("HV_LAT", _hv_lat);
 BA.debugLineNum = 1400;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PUNTE";
Debug.ShouldStop(8388608);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PUNTEO_GPS(HV_CLIENTE, HV_LONG, HV_LAT) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_hv_cliente),(_hv_long),(_hv_lat)})))));
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1402;BA.debugLine="Starter.skmt.TransactionSuccessful";
Debug.ShouldStop(33554432);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("TransactionSuccessful");
 BA.debugLineNum = 1403;BA.debugLine="Starter.skmt.EndTransaction";
Debug.ShouldStop(67108864);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("EndTransaction");
 };
 };
 BA.debugLineNum = 1407;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1408;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(-2147483648);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1409;BA.debugLine="If result.Tag = \"hist_datos\" Then 'query tag";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_datos")))) { 
 BA.debugLineNum = 1410;BA.debugLine="If reqs.IndexOf(\"hist_datos\") > -1 Then";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("hist_datos")))),BA.numberCast(double.class, -(double) (0 + 1)))) { 
 BA.debugLineNum = 1411;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"hist_datos\"))";
Debug.ShouldStop(4);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("hist_datos"))))));
 };
 BA.debugLineNum = 1416;BA.debugLine="Starter.skmt.BeginTransaction";
Debug.ShouldStop(128);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("BeginTransaction");
 BA.debugLineNum = 1417;BA.debugLine="Dim consecutivo  As Int= 0";
Debug.ShouldStop(256);
_consecutivo = BA.numberCast(int.class, 0);Debug.locals.put("consecutivo", _consecutivo);Debug.locals.put("consecutivo", _consecutivo);
 BA.debugLineNum = 1418;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(512);
{
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 = 1419;BA.debugLine="Dim HVD_CLIENTE As String = records(result.Co";
Debug.ShouldStop(1024);
_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 = 1420;BA.debugLine="Dim HVD_PRONOMBRE As String = records(result.";
Debug.ShouldStop(2048);
_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 = 1421;BA.debugLine="Dim HVD_CANT As String = records(result.Colum";
Debug.ShouldStop(4096);
_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 = 1422;BA.debugLine="Dim HVD_COSTO_TOT As String = records(result.";
Debug.ShouldStop(8192);
_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 = 1423;BA.debugLine="Dim HVD_FECHA As String = records(result.Colu";
Debug.ShouldStop(16384);
_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 = 1424;BA.debugLine="Dim HVD_CODPROMO As String = records(result.C";
Debug.ShouldStop(32768);
_hvd_codpromo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CODPROMO")))))));Debug.locals.put("HVD_CODPROMO", _hvd_codpromo);Debug.locals.put("HVD_CODPROMO", _hvd_codpromo);
 BA.debugLineNum = 1425;BA.debugLine="Dim HVD_PROID As String = records(result.Colu";
Debug.ShouldStop(65536);
_hvd_proid = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_PROID")))))));Debug.locals.put("HVD_PROID", _hvd_proid);Debug.locals.put("HVD_PROID", _hvd_proid);
 BA.debugLineNum = 1426;BA.debugLine="Dim HVD_NUM_TICKET As String = records(result";
Debug.ShouldStop(131072);
_hvd_num_ticket = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_NUM_TICKET")))))));Debug.locals.put("HVD_NUM_TICKET", _hvd_num_ticket);Debug.locals.put("HVD_NUM_TICKET", _hvd_num_ticket);
 BA.debugLineNum = 1427;BA.debugLine="Dim HVD_NUM_REGISTRO As String = records(resu";
Debug.ShouldStop(262144);
_hvd_num_registro = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_NUM_REGISTRO")))))));Debug.locals.put("HVD_NUM_REGISTRO", _hvd_num_registro);Debug.locals.put("HVD_NUM_REGISTRO", _hvd_num_registro);
 BA.debugLineNum = 1428;BA.debugLine="Dim HVD_RECHAZO As String = records(result.Co";
Debug.ShouldStop(524288);
_hvd_rechazo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_RECHAZO")))))));Debug.locals.put("HVD_RECHAZO", _hvd_rechazo);Debug.locals.put("HVD_RECHAZO", _hvd_rechazo);
 BA.debugLineNum = 1429;BA.debugLine="Dim HVD_PLACA As String = records(result.Colu";
Debug.ShouldStop(1048576);
_hvd_placa = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_PLACA")))))));Debug.locals.put("HVD_PLACA", _hvd_placa);Debug.locals.put("HVD_PLACA", _hvd_placa);
 BA.debugLineNum = 1430;BA.debugLine="Dim bcajas As String = records(result.Columns";
Debug.ShouldStop(2097152);
_bcajas = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_BCAJAS")))))));Debug.locals.put("bcajas", _bcajas);Debug.locals.put("bcajas", _bcajas);
 BA.debugLineNum = 1431;BA.debugLine="Dim cantc As String = records(result.Columns.";
Debug.ShouldStop(4194304);
_cantc = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CANTC")))))));Debug.locals.put("cantc", _cantc);Debug.locals.put("cantc", _cantc);
 BA.debugLineNum = 1432;BA.debugLine="Dim HVD_RUTA As String = records(result.Colum";
Debug.ShouldStop(8388608);
_hvd_ruta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_RUTA")))))));Debug.locals.put("HVD_RUTA", _hvd_ruta);Debug.locals.put("HVD_RUTA", _hvd_ruta);
 BA.debugLineNum = 1434;BA.debugLine="Dim HVD_LISTAPRECIO As String = 1";
Debug.ShouldStop(33554432);
_hvd_listaprecio = BA.NumberToString(1);Debug.locals.put("HVD_LISTAPRECIO", _hvd_listaprecio);Debug.locals.put("HVD_LISTAPRECIO", _hvd_listaprecio);
 BA.debugLineNum = 1436;BA.debugLine="consecutivo = consecutivo +1";
Debug.ShouldStop(134217728);
_consecutivo = RemoteObject.solve(new RemoteObject[] {_consecutivo,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("consecutivo", _consecutivo);
 BA.debugLineNum = 1437;BA.debugLine="If l_ruta.Text = \"0\" Then 'Si no hay ruta car";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { 
 BA.debugLineNum = 1439;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST";
Debug.ShouldStop(1073741824);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_VENTAS(HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, PLACA,BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR, HVD_RUTA, HVD_LISTAPRECIO) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?, ?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {18},new Object[] {(_hvd_cliente),(_hvd_pronombre),(_hvd_cant),(_hvd_costo_tot),(_hvd_fecha),(_hvd_codpromo),(_hvd_proid),(_hvd_num_ticket),(_hvd_num_registro),(_hvd_rechazo),(_hvd_placa),(_bcajas),(_cantc),(_consecutivo),(_bcajas),(_cantc),(_hvd_ruta),(_hvd_listaprecio)})))));
 BA.debugLineNum = 1440;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST";
Debug.ShouldStop(-2147483648);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_VENTAS2(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) VALUES (?,?,?,?,?,?,?,?,?,?,0,0)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(_hvd_cliente),(_hvd_pronombre),(_hvd_cant),(_hvd_costo_tot),(_hvd_fecha),(_hvd_codpromo),(_hvd_proid),(_hvd_num_ticket),(_hvd_num_registro),(_hvd_rechazo)})))));
 }else {
 BA.debugLineNum = 1443;BA.debugLine="Private tc As Cursor = Starter.skmt.ExecQuer";
Debug.ShouldStop(4);
_tc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_tc = 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 HVD_CLIENTE from HIST_VENTAS where HVD_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_hvd_cliente))),RemoteObject.createImmutable("' and HVD_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_hvd_proid))),RemoteObject.createImmutable("'"))))));Debug.locals.put("tc", _tc);Debug.locals.put("tc", _tc);
 BA.debugLineNum = 1444;BA.debugLine="If tc.RowCount = 0 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",_tc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1446;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS";
Debug.ShouldStop(32);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, PLACA,BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR, HVD_RUTA, HVD_LISTAPRECIO) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?, ?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {18},new Object[] {(_hvd_cliente),(_hvd_pronombre),(_hvd_cant),(_hvd_costo_tot),(_hvd_fecha),(_hvd_codpromo),(_hvd_proid),(_hvd_num_ticket),(_hvd_num_registro),(_hvd_rechazo),(_hvd_placa),(_bcajas),(_cantc),(_consecutivo),(_bcajas),(_cantc),(_hvd_ruta),(_hvd_listaprecio)})))));
 BA.debugLineNum = 1447;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS";
Debug.ShouldStop(64);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_VENTAS2(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) VALUES (?,?,?,?,?,?,?,?,?,?,0,0)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(_hvd_cliente),(_hvd_pronombre),(_hvd_cant),(_hvd_costo_tot),(_hvd_fecha),(_hvd_codpromo),(_hvd_proid),(_hvd_num_ticket),(_hvd_num_registro),(_hvd_rechazo)})))));
 };
 };
 }
}Debug.locals.put("records", _records);
;
 BA.debugLineNum = 1451;BA.debugLine="Starter.skmt.TransactionSuccessful";
Debug.ShouldStop(1024);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("TransactionSuccessful");
 BA.debugLineNum = 1452;BA.debugLine="Starter.skmt.EndTransaction";
Debug.ShouldStop(2048);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("EndTransaction");
 BA.debugLineNum = 1467;BA.debugLine="Listo3 =1";
Debug.ShouldStop(67108864);
__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(1));
 BA.debugLineNum = 1468;BA.debugLine="If Listo1 = 1  And Listo3 = 1  Then";
Debug.ShouldStop(134217728);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1))) { 
 BA.debugLineNum = 1469;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True";
Debug.ShouldStop(268435456);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));
 BA.debugLineNum = 1470;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(536870912);
__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ );
 BA.debugLineNum = 1471;BA.debugLine="img2.Visible = False";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1472;BA.debugLine="EJECUTANDO = 0";
Debug.ShouldStop(-2147483648);
__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0));
 };
 };
 };
 BA.debugLineNum = 1477;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1478;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(32);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1479;BA.debugLine="If result.Tag = \"variables\" Then 'query tag";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("variables")))) { 
 BA.debugLineNum = 1480;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(128);
{
final RemoteObject group279 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen279 = group279.runMethod(true,"getSize").<Integer>get()
;int index279 = 0;
;
for (; index279 < groupLen279;index279++){
_records = (group279.runMethod(false,"Get",index279));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1481;BA.debugLine="Dim Cat_Va_Descripcion As String = records(re";
Debug.ShouldStop(256);
_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 = 1482;BA.debugLine="Dim Cat_Va_Valor As String = records(result.C";
Debug.ShouldStop(512);
_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 = 1484;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V";
Debug.ShouldStop(2048);
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[] {(_cat_va_descripcion),(_cat_va_valor)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1490;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1491;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(262144);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1492;BA.debugLine="If result.Tag = \"PAGARES\" Then 'query tag";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("PAGARES")))) { 
 BA.debugLineNum = 1493;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(1048576);
{
final RemoteObject group289 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen289 = group289.runMethod(true,"getSize").<Integer>get()
;int index289 = 0;
;
for (; index289 < groupLen289;index289++){
_records = (group289.runMethod(false,"Get",index289));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1495;BA.debugLine="Dim TMP_MONTO_PAGARE As String = records(resu";
Debug.ShouldStop(4194304);
_tmp_monto_pagare = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("TMP_MONTO_PAGARE")))))));Debug.locals.put("TMP_MONTO_PAGARE", _tmp_monto_pagare);Debug.locals.put("TMP_MONTO_PAGARE", _tmp_monto_pagare);
 BA.debugLineNum = 1496;BA.debugLine="Dim TMP_CLIENTE As String = records(result.Co";
Debug.ShouldStop(8388608);
_tmp_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("TMP_CLIENTE")))))));Debug.locals.put("TMP_CLIENTE", _tmp_cliente);Debug.locals.put("TMP_CLIENTE", _tmp_cliente);
 BA.debugLineNum = 1498;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGAR";
Debug.ShouldStop(33554432);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PAGARES(TMP_MONTO_PAGARE, TMP_CLIENTE) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_tmp_monto_pagare),(_tmp_cliente)})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1503;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1504;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(-2147483648);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1505;BA.debugLine="If result.Tag = \"valida_pedido\" Then 'query tag";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_pedido")))) { 
 BA.debugLineNum = 1506;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(2);
{
final RemoteObject group299 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen299 = group299.runMethod(true,"getSize").<Integer>get()
;int index299 = 0;
;
for (; index299 < groupLen299;index299++){
_records = (group299.runMethod(false,"Get",index299));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1507;BA.debugLine="Dim CUANTOSP As Int = records(result.Columns.";
Debug.ShouldStop(4);
_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 = 1508;BA.debugLine="If cuantos_pedido = CUANTOSP Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos_pedido" /*RemoteObject*/ ),BA.NumberToString(_cuantosp))) { 
 BA.debugLineNum = 1510;BA.debugLine="datos_iguales = \"ok\"";
Debug.ShouldStop(32);
__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok"));
 }else {
 BA.debugLineNum = 1512;BA.debugLine="ToastMessageShow(\"No se cargo bien la info P";
Debug.ShouldStop(128);
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")));
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1520;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1521;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(65536);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1522;BA.debugLine="If result.Tag = \"valida_pedidoc\" Then 'query ta";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_pedidoc")))) { 
 BA.debugLineNum = 1523;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(262144);
{
final RemoteObject group312 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen312 = group312.runMethod(true,"getSize").<Integer>get()
;int index312 = 0;
;
for (; index312 < groupLen312;index312++){
_records = (group312.runMethod(false,"Get",index312));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1524;BA.debugLine="Dim CUANTOSC As Int = records(result.Columns.";
Debug.ShouldStop(524288);
_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 = 1525;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos_pedidosc" /*RemoteObject*/ ),BA.NumberToString(_cuantosc))) { 
 BA.debugLineNum = 1527;BA.debugLine="datos_iguales = \"ok\"";
Debug.ShouldStop(4194304);
__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok"));
 }else {
 BA.debugLineNum = 1529;BA.debugLine="ToastMessageShow(\"No se cargo bien la info C";
Debug.ShouldStop(16777216);
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 = 1535;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1536;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(-2147483648);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1537;BA.debugLine="If result.Tag = \"valida_noventa\" Then 'query ta";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_noventa")))) { 
 BA.debugLineNum = 1538;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(2);
{
final RemoteObject group325 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen325 = group325.runMethod(true,"getSize").<Integer>get()
;int index325 = 0;
;
for (; index325 < groupLen325;index325++){
_records = (group325.runMethod(false,"Get",index325));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1539;BA.debugLine="Dim CUANTOSN As Int = records(result.Columns.";
Debug.ShouldStop(4);
_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 = 1540;BA.debugLine="If cuantos_noventa = CUANTOSN Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos_noventa" /*RemoteObject*/ ),BA.NumberToString(_cuantosn))) { 
 BA.debugLineNum = 1542;BA.debugLine="datos_iguales = \"ok\"";
Debug.ShouldStop(32);
__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok"));
 }else {
 BA.debugLineNum = 1544;BA.debugLine="ToastMessageShow(\"No se cargo bien la info N";
Debug.ShouldStop(128);
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 = 1550;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1551;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(16384);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1552;BA.debugLine="If result.Tag = \"insert_pedido\" Then 'query tag";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("insert_pedido")))) { 
 BA.debugLineNum = 1553;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True)";
Debug.ShouldStop(65536);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));
 };
 };
 BA.debugLineNum = 1557;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1558;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(2097152);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1559;BA.debugLine="If result.Tag = \"version\" Then 'query tag";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("version")))) { 
 BA.debugLineNum = 1560;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(8388608);
{
final RemoteObject group344 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen344 = group344.runMethod(true,"getSize").<Integer>get()
;int index344 = 0;
;
for (; index344 < groupLen344;index344++){
_records = (group344.runMethod(false,"Get",index344));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1561;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO";
Debug.ShouldStop(16777216);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION")));
 BA.debugLineNum = 1562;BA.debugLine="Dim CAT_VE_VERSION As String = records(result";
Debug.ShouldStop(33554432);
_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 = 1564;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI";
Debug.ShouldStop(134217728);
c_principal._starter._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 = 1569;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1570;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(2);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1571;BA.debugLine="If result.Tag = \"count_cli\" Then 'query tag";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("count_cli")))) { 
 BA.debugLineNum = 1572;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(8);
{
final RemoteObject group354 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen354 = group354.runMethod(true,"getSize").<Integer>get()
;int index354 = 0;
;
for (; index354 < groupLen354;index354++){
_records = (group354.runMethod(false,"Get",index354));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1573;BA.debugLine="COUNT_CLIE = records(result.Columns.Get(\"COUN";
Debug.ShouldStop(16);
__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 = 1578;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1579;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(1024);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1580;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ruta")))) { 
 BA.debugLineNum = 1581;BA.debugLine="If reqs.IndexOf(\"ruta\") > -1 Then";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("ruta")))),BA.numberCast(double.class, -(double) (0 + 1)))) { 
 BA.debugLineNum = 1582;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"ruta\"))";
Debug.ShouldStop(8192);
__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("ruta"))))));
 };
 BA.debugLineNum = 1585;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(65536);
{
final RemoteObject group365 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen365 = group365.runMethod(true,"getSize").<Integer>get()
;int index365 = 0;
;
for (; index365 < groupLen365;index365++){
_records = (group365.runMethod(false,"Get",index365));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1586;BA.debugLine="Dim VALIDO As String = records(result.Columns";
Debug.ShouldStop(131072);
_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 = 1588;BA.debugLine="If VALIDO = \"OK\" Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",_valido,BA.ObjectToString("OK"))) { 
 BA.debugLineNum = 1589;BA.debugLine="If l_ctast.Text = \"0\" Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { 
 BA.debugLineNum = 1590;BA.debugLine="Subir.Visible = True";
Debug.ShouldStop(2097152);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 }else 
{ BA.debugLineNum = 1591;BA.debugLine="Else If l_ctast.Text <> \"0\" Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { 
 BA.debugLineNum = 1592;BA.debugLine="Subir.Visible = False";
Debug.ShouldStop(8388608);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 }}
;
 BA.debugLineNum = 1594;BA.debugLine="cargar.Visible = True";
Debug.ShouldStop(33554432);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 1595;BA.debugLine="If Subs.dameUsuarioDeDB = \"ROOT\" Then Subir.";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",c_principal._subs.runMethod(true,"_dameusuariodedb" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("ROOT"))) { 
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));};
 BA.debugLineNum = 1596;BA.debugLine="connecta.Visible = False";
Debug.ShouldStop(134217728);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1597;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA";
Debug.ShouldStop(268435456);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTAA")));
 BA.debugLineNum = 1599;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTA";
Debug.ShouldStop(1073741824);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTAA(RUTAA) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})))));
 BA.debugLineNum = 1600;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT";
Debug.ShouldStop(-2147483648);
c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_rutapreventa" /*RemoteObject*/ ,__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"));
 BA.debugLineNum = 1601;BA.debugLine="If conn = \"1\" Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_conn" /*RemoteObject*/ ),BA.ObjectToString("1"))) { 
 BA.debugLineNum = 1602;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se";
Debug.ShouldStop(2);
c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Existe Conexión con el Servidor.")),(Object)(c_principal.__c.getField(true,"True")));
 };
 }else {
 BA.debugLineNum = 1605;BA.debugLine="cargar.Visible = False";
Debug.ShouldStop(16);
__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1606;BA.debugLine="Subir.Visible = False";
Debug.ShouldStop(32);
__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1607;BA.debugLine="inv.Visible = False";
Debug.ShouldStop(64);
__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1608;BA.debugLine="connecta.Visible = False";
Debug.ShouldStop(128);
__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 };
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1614;BA.debugLine="If Job.JobName = \"DBRequest\" Then 'Traemos las c";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1615;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(16384);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1616;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("coords_almacen")))) { 
 BA.debugLineNum = 1617;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(65536);
{
final RemoteObject group394 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen394 = group394.runMethod(true,"getSize").<Integer>get()
;int index394 = 0;
;
for (; index394 < groupLen394;index394++){
_records = (group394.runMethod(false,"Get",index394));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1619;BA.debugLine="Private lat, lon As Double";
Debug.ShouldStop(262144);
_lat = RemoteObject.createImmutable(0);Debug.locals.put("lat", _lat);
_lon = RemoteObject.createImmutable(0);Debug.locals.put("lon", _lon);
 BA.debugLineNum = 1620;BA.debugLine="lat = 0.0";
Debug.ShouldStop(524288);
_lat = BA.numberCast(double.class, 0.0);Debug.locals.put("lat", _lat);
 BA.debugLineNum = 1621;BA.debugLine="lon = 0.0";
Debug.ShouldStop(1048576);
_lon = BA.numberCast(double.class, 0.0);Debug.locals.put("lon", _lon);
 BA.debugLineNum = 1622;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean(".",c_principal.__c.runMethod(true,"IsNumber",(Object)(BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LATITUD")))))))))) && RemoteObject.solveBoolean(".",c_principal.__c.runMethod(true,"IsNumber",(Object)(BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LONGITUD"))))))))))) { 
 BA.debugLineNum = 1623;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT";
Debug.ShouldStop(4194304);
_lat = BA.numberCast(double.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LATITUD")))))));Debug.locals.put("lat", _lat);
 BA.debugLineNum = 1624;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON";
Debug.ShouldStop(8388608);
_lon = BA.numberCast(double.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LONGITUD")))))));Debug.locals.put("lon", _lon);
 };
 BA.debugLineNum = 1626;BA.debugLine="Starter.cedisLocation.Latitude = lat";
Debug.ShouldStop(33554432);
c_principal._starter._cedislocation /*RemoteObject*/ .runMethod(true,"setLatitude",_lat);
 BA.debugLineNum = 1627;BA.debugLine="Starter.cedisLocation.Longitude = lon";
Debug.ShouldStop(67108864);
c_principal._starter._cedislocation /*RemoteObject*/ .runMethod(true,"setLongitude",_lon);
 BA.debugLineNum = 1628;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V";
Debug.ShouldStop(134217728);
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("COORDS_ALMACEN"))})))));
 BA.debugLineNum = 1629;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V";
Debug.ShouldStop(268435456);
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(("COORDS_ALMACEN")),(RemoteObject.concat(_lon,RemoteObject.createImmutable(","),_lat))})))));
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1635;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1636;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(8);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1637;BA.debugLine="If result.Tag = \"ins_reparto\" Then 'query tag";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ins_reparto")))) { 
 BA.debugLineNum = 1638;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(32);
{
final RemoteObject group412 = _result.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen412 = group412.runMethod(true,"getSize").<Integer>get()
;int index412 = 0;
;
for (; index412 < groupLen412;index412++){
_records = (group412.runMethod(false,"Get",index412));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1639;BA.debugLine="For Each k As String In result.Columns.Keys";
Debug.ShouldStop(64);
{
final RemoteObject group413 = _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys");
final int groupLen413 = group413.runMethod(true,"getSize").<Integer>get()
;int index413 = 0;
;
for (; index413 < groupLen413;index413++){
_k = BA.ObjectToString(group413.runMethod(false,"Get",index413));Debug.locals.put("k", _k);
Debug.locals.put("k", _k);
 }
}Debug.locals.put("k", _k);
;
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1646;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1647;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
Debug.ShouldStop(16384);
_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result);
 BA.debugLineNum = 1648;BA.debugLine="If result.Tag = \"ins_rechazos\" Then 'query tag";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ins_rechazos")))) { 
 BA.debugLineNum = 1649;BA.debugLine="For Each records() As Object In result.Rows";
Debug.ShouldStop(65536);
{
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 = 1650;BA.debugLine="For Each k As String In result.Columns.Keys";
Debug.ShouldStop(131072);
{
final RemoteObject group422 = _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys");
final int groupLen422 = group422.runMethod(true,"getSize").<Integer>get()
;int index422 = 0;
;
for (; index422 < groupLen422;index422++){
_k = BA.ObjectToString(group422.runMethod(false,"Get",index422));Debug.locals.put("k", _k);
Debug.locals.put("k", _k);
 }
}Debug.locals.put("k", _k);
;
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1656;BA.debugLine="Job.Release";
Debug.ShouldStop(8388608);
_job.runClassMethod (reparto_mazapa.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ );
 };
 BA.debugLineNum = 1658;BA.debugLine="Job.Release";
Debug.ShouldStop(33554432);
_job.runClassMethod (reparto_mazapa.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ );
 BA.debugLineNum = 1659;BA.debugLine="If reqs.Size = 0 Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1663;BA.debugLine="ProgressDialogHide";
Debug.ShouldStop(1073741824);
c_principal.__c.runVoidMethod ("ProgressDialogHide");
 BA.debugLineNum = 1665;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS C";
Debug.ShouldStop(1);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS FROM CHECADO_CHECK"))));
 BA.debugLineNum = 1666;BA.debugLine="c.Position = 0";
Debug.ShouldStop(2);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1667;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { 
 BA.debugLineNum = 1668;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into CHECADO";
Debug.ShouldStop(8);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into CHECADO_CHECK (CHECADO) VALUES(?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("0")})))));
 }else 
{ BA.debugLineNum = 1670;BA.debugLine="Else If c.GetString(\"CUANTOS\") = 1 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(1))) { 
 }}
;
 BA.debugLineNum = 1673;BA.debugLine="c.Close";
Debug.ShouldStop(256);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 };
 BA.debugLineNum = 1683;BA.debugLine="If totalRegistrosTotales > 0 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean(">",__ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1684;BA.debugLine="pbEnvioInfo.Progress = NumberFormat2(((todosRequ";
Debug.ShouldStop(524288);
__ref.getField(false,"_pbenvioinfo" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_todosrequest" /*RemoteObject*/ ),__ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ )}, "/",0, 0)),RemoteObject.createImmutable(100)}, "*",0, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_principal.__c.getField(true,"False")))));
 BA.debugLineNum = 1686;BA.debugLine="If pbEnvioInfo.Progress >= 100 Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean("g",__ref.getField(false,"_pbenvioinfo" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 100))) { 
 BA.debugLineNum = 1687;BA.debugLine="lEnviaInfo.Text = \"Informacion Enviada \"& CRLF";
Debug.ShouldStop(4194304);
__ref.getField(false,"_lenviainfo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Informacion Enviada "),c_principal.__c.getField(true,"CRLF"),RemoteObject.createImmutable("%100"))));
 }else {
 BA.debugLineNum = 1689;BA.debugLine="lEnviaInfo.Text = \"Enviando Informacion:   %\" &";
Debug.ShouldStop(16777216);
__ref.getField(false,"_lenviainfo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Enviando Informacion:   %"),__ref.getField(false,"_pbenvioinfo" /*RemoteObject*/ ).runMethod(true,"getProgress"))));
 };
 };
 BA.debugLineNum = 1695;BA.debugLine="If todosRequest < totalRegistrosTotales Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("<",__ref.getField(true,"_todosrequest" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_totalregistrostotales" /*RemoteObject*/ )))) { 
 }else {
 BA.debugLineNum = 1698;BA.debugLine="bEnvioInfo.Enabled = True";
Debug.ShouldStop(2);
__ref.getField(false,"_benvioinfo" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"True"));
 };
 BA.debugLineNum = 1701;BA.debugLine="End Sub";
Debug.ShouldStop(16);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _listview1_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{
try {
		Debug.PushSubsStack("ListView1_ItemClick (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,2085);
if (RapidSub.canDelegate("listview1_itemclick")) { return __ref.runUserSub(false, "c_principal","listview1_itemclick", __ref, _position, _value);}
RemoteObject _clieasing = null;
Debug.locals.put("Position", _position);
Debug.locals.put("Value", _value);
 BA.debugLineNum = 2085;BA.debugLine="Private Sub ListView1_ItemClick (Position As Int,";
Debug.ShouldStop(16);
 BA.debugLineNum = 2086;BA.debugLine="Log(Value)";
Debug.ShouldStop(32);
c_principal.__c.runVoidMethod ("LogImpl","37995393",BA.ObjectToString(_value),0);
 BA.debugLineNum = 2088;BA.debugLine="Dim clieasing() As String = Regex.Split(\" \", Valu";
Debug.ShouldStop(128);
_clieasing = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(BA.ObjectToString(_value)));Debug.locals.put("clieasing", _clieasing);Debug.locals.put("clieasing", _clieasing);
 BA.debugLineNum = 2089;BA.debugLine="Log(clieasing(0))";
Debug.ShouldStop(256);
c_principal.__c.runVoidMethod ("LogImpl","37995396",_clieasing.getArrayElement(true,BA.numberCast(int.class, 0)),0);
 BA.debugLineNum = 2091;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")";
Debug.ShouldStop(1024);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA")));
 BA.debugLineNum = 2092;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V";
Debug.ShouldStop(2048);
c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_clieasing.getArrayElement(true,BA.numberCast(int.class, 0)))})))));
 BA.debugLineNum = 2093;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
Debug.ShouldStop(4096);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente")));
 BA.debugLineNum = 2094;BA.debugLine="End Sub";
Debug.ShouldStop(8192);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_prod_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("p_prod_Click (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,2148);
if (RapidSub.canDelegate("p_prod_click")) { return __ref.runUserSub(false, "c_principal","p_prod_click", __ref);}
 BA.debugLineNum = 2148;BA.debugLine="Private Sub p_prod_Click";
Debug.ShouldStop(8);
 BA.debugLineNum = 2150;BA.debugLine="End Sub";
Debug.ShouldStop(32);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _penvioinfo_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("pEnvioInfo_Click (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,2158);
if (RapidSub.canDelegate("penvioinfo_click")) { return __ref.runUserSub(false, "c_principal","penvioinfo_click", __ref);}
 BA.debugLineNum = 2158;BA.debugLine="Private Sub pEnvioInfo_Click";
Debug.ShouldStop(8192);
 BA.debugLineNum = 2160;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
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",5,__ref.getField(false, "ba"),__ref,673);
if (RapidSub.canDelegate("subir_click")) { return __ref.runUserSub(false, "c_principal","subir_click", __ref);}
 BA.debugLineNum = 673;BA.debugLine="Sub Subir_Click";
Debug.ShouldStop(1);
 BA.debugLineNum = 674;BA.debugLine="pEnvioInfo.Width = Root.Width";
Debug.ShouldStop(2);
__ref.getField(false,"_penvioinfo" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 675;BA.debugLine="pEnvioInfo.Height = Root.Height";
Debug.ShouldStop(4);
__ref.getField(false,"_penvioinfo" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 676;BA.debugLine="pEnvioInfo.Left = 0";
Debug.ShouldStop(8);
__ref.getField(false,"_penvioinfo" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, 0));
 BA.debugLineNum = 677;BA.debugLine="pEnvioInfo.Visible = True";
Debug.ShouldStop(16);
__ref.getField(false,"_penvioinfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True"));
 BA.debugLineNum = 678;BA.debugLine="pbEnvioInfo.Width = Root.Width * 0.7";
Debug.ShouldStop(32);
__ref.getField(false,"_pbenvioinfo" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.7)}, "*",0, 0)));
 BA.debugLineNum = 679;BA.debugLine="pbEnvioInfo.Left = Round(Root.Width/2)-(pbEnvioIn";
Debug.ShouldStop(64);
__ref.getField(false,"_pbenvioinfo" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {c_principal.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_pbenvioinfo" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 680;BA.debugLine="Subs.centraBoton(bEnvioInfo, pEnvioInfo.Width)";
Debug.ShouldStop(128);
c_principal._subs.runVoidMethod ("_centraboton" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_benvioinfo" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_penvioinfo" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 681;BA.debugLine="Subs.centraEtiqueta(lEnviaInfo, pEnvioInfo.Width)";
Debug.ShouldStop(256);
c_principal._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_lenviainfo" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_penvioinfo" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 683;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N";
Debug.ShouldStop(1024);
if (c_principal.__c.runMethod(true,"Not",(Object)(__ref.runClassMethod (reparto_mazapa.keymon.lat.c_principal.class, "_isconnectedtointernet" /*RemoteObject*/ ))).<Boolean>get().booleanValue()) { 
c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No hay conexión a conexión a Internet")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Revisa tu conexión"))),__ref.getField(false, "ba"));};
 BA.debugLineNum = 684;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa"))));
 BA.debugLineNum = 685;BA.debugLine="c.Position = 0";
Debug.ShouldStop(4096);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 686;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(8192);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 687;BA.debugLine="c.Close";
Debug.ShouldStop(16384);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 690;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 691;BA.debugLine="cmd.Name = \"select_estatus_MAZAPA\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_estatus_MAZAPA"));
 BA.debugLineNum = 692;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,e_ruta.t";
Debug.ShouldStop(524288);
__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 = 693;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"estatus\")";
Debug.ShouldStop(1048576);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("estatus"))));
 BA.debugLineNum = 694;BA.debugLine="End Sub";
Debug.ShouldStop(2097152);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _t1_tick(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("t1_tick (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,1804);
if (RapidSub.canDelegate("t1_tick")) { return __ref.runUserSub(false, "c_principal","t1_tick", __ref);}
 BA.debugLineNum = 1804;BA.debugLine="Sub t1_tick";
Debug.ShouldStop(2048);
 BA.debugLineNum = 1805;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1806;BA.debugLine="cmd.Name = \"select_cuantos_pedido\"";
Debug.ShouldStop(8192);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_pedido"));
 BA.debugLineNum = 1807;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
Debug.ShouldStop(16384);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 1808;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedido\")";
Debug.ShouldStop(32768);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("valida_pedido"))));
 BA.debugLineNum = 1810;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(131072);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1811;BA.debugLine="cmd.Name = \"select_cuantos_noventa_mards\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_noventa_mards"));
 BA.debugLineNum = 1812;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
Debug.ShouldStop(524288);
__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 = 1813;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_noventa\"";
Debug.ShouldStop(1048576);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("valida_noventa"))));
 BA.debugLineNum = 1815;BA.debugLine="cmd.Initialize";
Debug.ShouldStop(4194304);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1816;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc\"";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_pedidoc"));
 BA.debugLineNum = 1817;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
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,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}));
 BA.debugLineNum = 1818;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedidoc\"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_mazapa.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("valida_pedidoc"))));
 BA.debugLineNum = 1819;BA.debugLine="img2.Visible=False";
Debug.ShouldStop(67108864);
__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1820;BA.debugLine="t1.Enabled = False";
Debug.ShouldStop(134217728);
__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False"));
 BA.debugLineNum = 1821;BA.debugLine="End Sub";
Debug.ShouldStop(268435456);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _to_number_vb(RemoteObject __ref,RemoteObject _valor) throws Exception{
try {
		Debug.PushSubsStack("to_number_vb (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,651);
if (RapidSub.canDelegate("to_number_vb")) { return __ref.runUserSub(false, "c_principal","to_number_vb", __ref, _valor);}
RemoteObject _valstring = RemoteObject.createImmutable(0);
RemoteObject _valstring2 = RemoteObject.createImmutable("");
Debug.locals.put("valor", _valor);
 BA.debugLineNum = 651;BA.debugLine="Sub to_number_vb (valor As Object) As String";
Debug.ShouldStop(1024);
 BA.debugLineNum = 652;BA.debugLine="Dim valstring As Int";
Debug.ShouldStop(2048);
_valstring = RemoteObject.createImmutable(0);Debug.locals.put("valstring", _valstring);
 BA.debugLineNum = 653;BA.debugLine="Dim valstring2 As String = valor";
Debug.ShouldStop(4096);
_valstring2 = BA.ObjectToString(_valor);Debug.locals.put("valstring2", _valstring2);Debug.locals.put("valstring2", _valstring2);
 BA.debugLineNum = 654;BA.debugLine="valstring2.Replace(\":\",\"\")";
Debug.ShouldStop(8192);
_valstring2.runVoidMethod ("replace",(Object)(BA.ObjectToString(":")),(Object)(RemoteObject.createImmutable("")));
 BA.debugLineNum = 655;BA.debugLine="Try";
Debug.ShouldStop(16384);
try { BA.debugLineNum = 656;BA.debugLine="valstring =valstring2.Replace(\":\",\"\")";
Debug.ShouldStop(32768);
_valstring = BA.numberCast(int.class, _valstring2.runMethod(true,"replace",(Object)(BA.ObjectToString(":")),(Object)(RemoteObject.createImmutable(""))));Debug.locals.put("valstring", _valstring);
 BA.debugLineNum = 657;BA.debugLine="Return valstring";
Debug.ShouldStop(65536);
Debug.CheckDeviceExceptions();if (true) return BA.NumberToString(_valstring);
 Debug.CheckDeviceExceptions();
} 
       catch (Exception e8) {
			BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e8.toString()); BA.debugLineNum = 659;BA.debugLine="Return 0";
Debug.ShouldStop(262144);
if (true) return BA.NumberToString(0);
 };
 BA.debugLineNum = 661;BA.debugLine="End Sub";
Debug.ShouldStop(1048576);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _trabajar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("trabajar_Click (c_principal) ","c_principal",5,__ref.getField(false, "ba"),__ref,663);
if (RapidSub.canDelegate("trabajar_click")) { return __ref.runUserSub(false, "c_principal","trabajar_click", __ref);}
 BA.debugLineNum = 663;BA.debugLine="Sub trabajar_Click";
Debug.ShouldStop(4194304);
 BA.debugLineNum = 664;BA.debugLine="If b_check.Visible = True Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"True"))) { 
 BA.debugLineNum = 665;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Atenc";
Debug.ShouldStop(16777216);
c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Favor de hacer el checklist.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 668;BA.debugLine="B4XPages.ShowPage(\"Clientes\")";
Debug.ShouldStop(134217728);
c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes")));
 };
 BA.debugLineNum = 671;BA.debugLine="End Sub";
Debug.ShouldStop(1073741824);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}